123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541 |
- /**
- * This file provides the styles for the fullscreen media manager
- * (?do=media).
- *
- * What most templates would probably need to change (depending on
- * their site width) are the 4 min-width's (search for @change).
- */
- /*____________ structure ____________*/
- #mediamanager__page h1 {
- margin-bottom: .5em;
- }
- #mediamanager__page {
- /* min-width must be summary of all 3 panels' min-widths */
- min-width: 50em; /* @change */
- width: 100%;
- text-align: left;
- }
- [dir=rtl] #mediamanager__page {
- text-align: right;
- }
- #mediamanager__page .panel {
- float: left;
- }
- [dir=rtl] #mediamanager__page .panel {
- float: right;
- }
- #mediamanager__page .namespaces {
- width: 20%;
- min-width: 10em; /* @change */
- left:0 !important; /* overrules jQuery UI resizable in rtl */
- }
- #mediamanager__page .filelist {
- width: 50%;
- min-width: 25em; /* @change */
- left:0 !important; /* overrules jQuery UI resizable in rtl */
- }
- #mediamanager__page .file {
- width: 30%;
- min-width: 15em; /* @change */
- }
- #mediamanager__page .tabs li {
- white-space: nowrap;
- }
- #mediamanager__page .panelHeader {
- background-color: var(--ini-background-alt);
- margin: 0 10px 10px 0;
- padding: 10px 10px 8px;
- text-align: left;
- min-height: 20px;
- overflow: hidden;
- }
- [dir=rtl] #mediamanager__page .panelHeader {
- text-align: right;
- margin: 0 0 10px 10px;
- }
- #mediamanager__page .panelContent {
- overflow-y: auto;
- overflow-x: hidden;
- padding: 0;
- margin: 0 10px 10px 0;
- position: relative;
- }
- [dir=rtl] #mediamanager__page .panelContent {
- text-align: right;
- margin: 0 0 10px 10px;
- }
- #mediamanager__page .file .panelHeader,
- #mediamanager__page .file .panelContent {
- margin-right: 0;
- }
- [dir=rtl] #mediamanager__page .file .panelHeader,
- [dir=rtl] #mediamanager__page .file .panelContent {
- margin-left: 0;
- }
- #mediamanager__page .ui-resizable-e {
- width: 6px;
- right: 2px;
- background: transparent url(../../images/resizecol.png) center center no-repeat;
- }
- #mediamanager__page .ui-resizable-e:hover {
- background-color: var(--ini-background-alt);
- }
- [dir=rtl] #mediamanager__page .ui-resizable-w {
- width: 6px;
- left: 2px;
- background: transparent url(../../images/resizecol.png) center center no-repeat;
- }
- [dir=rtl] #mediamanager__page .ui-resizable-w:hover {
- background-color: var(--ini-background-alt);
- }
- #mediamanager__page dd {
- margin: 0;
- }
- #mediamanager__page .panelHeader h3 {
- float: left;
- font-weight: normal;
- font-size: 1em;
- padding: 0;
- margin: 0 0 3px;
- }
- [dir=rtl] #mediamanager__page .panelHeader h3 {
- float : right
- }
- /*____________ namespaces panel ____________*/
- [dir=rtl] #mediamanager__page .namespaces {
- text-align: right;
- }
- /* make it look like a tab (as in _tabs.css) */
- #mediamanager__page .namespaces h2 {
- font-size: 1em;
- display: inline-block;
- padding: .3em .8em;
- margin: 0 0 0 .3em;
- border-radius: .5em .5em 0 0;
- font-weight: normal;
- background-color: var(--ini-background-alt);
- color: var(--ini-text);
- border: 1px solid var(--ini-border);
- border-bottom-color: var(--ini-background-alt);
- line-height: 1.4em;
- position: relative;
- bottom: -1px;
- z-index: 2;
- }
- [dir=rtl] #mediamanager__page .namespaces h2 {
- margin: 0 .3em 0 0;
- position: relative;
- right: 10px;
- }
- #mediamanager__page .namespaces .panelHeader {
- border-top: 1px solid var(--ini-border);
- z-index: 1;
- }
- #mediamanager__page .namespaces ul {
- margin-left: .2em;
- margin-bottom: 0;
- padding: 0;
- list-style: none;
- }
- [dir=rtl] #mediamanager__page .namespaces ul {
- margin-left: 0;
- margin-right: .2em;
- }
- #mediamanager__page .namespaces ul ul {
- margin-left: 1em;
- }
- [dir=rtl] #mediamanager__page .namespaces ul ul {
- margin-left: 0;
- margin-right: 1em;
- }
- #mediamanager__page .namespaces ul ul li {
- margin: 0;
- }
- #mediamanager__page .namespaces ul .selected {
- background-color: __highlight__;
- font-weight: bold;
- }
- /*____________ file list panel ____________*/
- /* file list header */
- #mediamanager__page .panelHeader form.options {
- float: right;
- margin-top: -3px;
- }
- [dir=rtl] #mediamanager__page .panelHeader form.options {
- float : left
- }
- #mediamanager__page .panelHeader ul {
- list-style: none;
- margin: 0;
- padding: 0;
- }
- #mediamanager__page .panelHeader ul li {
- color: var(--ini-text);
- float: left;
- line-height: 1;
- padding-left: 3px;
- }
- [dir=rtl] #mediamanager__page .panelHeader ul li {
- padding-right: 3px;
- padding-left: 0;
- float: right;
- }
- #mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
- padding-left: 30px;
- margin: 0 0 0 5px;
- }
- #mediamanager__page .panelHeader ul li.listType {
- background: url('../../images/icon-list.png') 3px 1px no-repeat;
- }
- #mediamanager__page .panelHeader ul li.sortBy {
- background: url('../../images/icon-sort.png') 3px 1px no-repeat;
- }
- [dir=rtl] #mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
- padding-left: 0;
- padding-right: 30px;
- margin: 0 5px 0 0;
- background-position: right 1px;
- }
- #mediamanager__page .panelHeader form.options .ui-controlgroup-horizontal label{
- font-size: 90%;
- margin-right: -0.4em;
- padding: .3em .5em;
- line-height: 1;
- }
- /* file list content */
- #mediamanager__page .filelist ul {
- padding: 0;
- margin: 0 10px 0 0;
- }
- [dir=rtl] #mediamanager__page .filelist ul {
- margin: 0 0 0 10px;
- }
- #mediamanager__page .filelist ul.rows {
- margin: 0;
- }
- #mediamanager__page .filelist .panelContent ul li:hover {
- background-color: var(--ini-background-alt);
- }
- #mediamanager__page .filelist li dt a {
- vertical-align: middle;
- display: table-cell;
- overflow: hidden;
- }
- /* file list as thumbs */
- #mediamanager__page .filelist .thumbs li {
- width: 100px;
- min-height: 130px;
- display: inline-block;
- /* the right margin should visually be 10px, but because of its inline-block nature the whitespace inbetween is about 4px more */
- margin: 0 6px 10px 0;
- background-color: var(--ini-background-neu);
- color: var(--ini-text);
- padding: 5px;
- vertical-align: top;
- text-align: center;
- position: relative;
- line-height: 1.2;
- }
- [dir=rtl] #mediamanager__page .filelist .thumbs li {
- margin-right: 0;
- margin-left: 6px;
- }
- #mediamanager__page .filelist .thumbs li dt a {
- width: 100px;
- height: 90px;
- }
- #mediamanager__page .filelist .thumbs li dt a img {
- max-width: 90px;
- max-height: 90px;
- }
- #mediamanager__page .filelist .thumbs li .name,
- #mediamanager__page .filelist .thumbs li .size,
- #mediamanager__page .filelist .thumbs li .filesize,
- #mediamanager__page .filelist .thumbs li .date {
- display: block;
- overflow: hidden;
- text-overflow: ellipsis;
- width: 90px;
- white-space: nowrap;
- }
- #mediamanager__page .filelist .thumbs li .name {
- padding: 5px 0;
- font-weight: bold;
- }
- #mediamanager__page .filelist .thumbs li .date {
- font-style: italic;
- white-space: normal;
- }
- /* file list as rows */
- #mediamanager__page .filelist .rows li {
- list-style: none;
- display: block;
- position: relative;
- max-height: 50px;
- margin: 0 0 3px 0;
- background-color: var(--ini-background);
- color: var(--ini-text);
- overflow: hidden;
- }
- #mediamanager__page .filelist .rows li:nth-child(2n+1) {
- background-color: var(--ini-background-neu);
- }
- #mediamanager__page .filelist .rows li dt {
- float: left;
- width: 10%;
- height: 40px;
- text-align: center;
- }
- [dir=rtl] #mediamanager__page .filelist .rows li dt {
- float: right;
- }
- #mediamanager__page .filelist .rows li dt a {
- width: 100px;
- height: 40px;
- }
- #mediamanager__page .filelist .rows li dt a img {
- max-width: 40px;
- max-height: 40px;
- }
- #mediamanager__page .filelist .rows li .name,
- #mediamanager__page .filelist .rows li .size,
- #mediamanager__page .filelist .rows li .filesize,
- #mediamanager__page .filelist .rows li .date {
- overflow: hidden;
- text-overflow: ellipsis;
- float: left;
- margin-left: 1%;
- white-space: nowrap;
- }
- [dir=rtl] #mediamanager__page .filelist .rows li .name,
- [dir=rtl] #mediamanager__page .filelist .rows li .size,
- [dir=rtl] #mediamanager__page .filelist .rows li .filesize,
- [dir=rtl] #mediamanager__page .filelist .rows li .date {
- float: right;
- margin-left: 0;
- margin-right: 1%;
- }
- #mediamanager__page .filelist .rows li .name {
- width: 30%;
- font-weight: bold;
- }
- #mediamanager__page .filelist .rows li .size,
- #mediamanager__page .filelist .rows li .filesize {
- width: 15%;
- }
- #mediamanager__page .filelist .rows li .date {
- width: 20%;
- font-style: italic;
- white-space: normal;
- }
- /* upload form */
- #mediamanager__page div.upload {
- padding-bottom: 0.5em;
- }
- /*____________ file panel ____________*/
- #mediamanager__page .file ul.actions {
- text-align: center;
- margin: 0 0 5px;
- padding: 0;
- list-style: none;
- }
- #mediamanager__page .file ul.actions li {
- display: inline;
- margin: 0;
- }
- #mediamanager__page .file div.image {
- margin-bottom: 5px;
- text-align: center;
- }
- #mediamanager__page .file div.image img {
- width: 100%;
- }
- #mediamanager__page .file dl {
- margin-bottom: 0;
- }
- #mediamanager__page .file dl dt {
- font-weight: bold;
- display: block;
- background-color: var(--ini-background-alt);
- }
- #mediamanager__page .file dl dd {
- display: block;
- background-color: var(--ini-background-neu);
- }
- /* file meta data edit form */
- #mediamanager__page form.meta div.row {
- margin-bottom: 5px;
- }
- #mediamanager__page form.meta label span {
- display: block;
- }
- #mediamanager__page form.meta input {
- width: 50%;
- }
- #mediamanager__page form.meta button {
- width: auto;
- }
- #mediamanager__page form.meta textarea.edit {
- height: 6em;
- width: 95%;
- min-width: 95%;
- max-width: 95%;
- }
- /* file revisions form */
- #mediamanager__page form.changes ul {
- margin-left: 10px;
- padding: 0;
- list-style-type: none;
- }
- [dir=rtl] #mediamanager__page form.changes ul {
- margin-left: 0;
- margin-right: 10px;
- }
- #mediamanager__page form.changes ul li div.li div {
- font-size: 90%;
- color: var(--ini-text-neu);
- padding-left: 18px;
- }
- [dir=rtl] #mediamanager__page form.changes ul li div.li div {
- padding-left: 0;
- padding-right: 18px;
- }
- #mediamanager__page form.changes ul li div.li input {
- position: relative;
- top: 1px;
- }
- /* file diff view */
- #mediamanager__diff table {
- table-layout: fixed;
- border-width: 0;
- }
- #mediamanager__diff td,
- #mediamanager__diff th {
- width: 48%;
- margin: 0 5px 10px 0;
- padding: 0;
- vertical-align: top;
- text-align: left;
- border-color: var(--ini-background);
- }
- [dir=rtl] #mediamanager__diff td,
- [dir=rtl] #mediamanager__diff th {
- margin: 0 0 10px 5px;
- text-align: right;
- }
- #mediamanager__diff th {
- font-weight: normal;
- background-color: var(--ini-background);
- line-height: 1.2;
- }
- #mediamanager__diff th a {
- font-weight: bold;
- }
- #mediamanager__diff th span {
- font-size: 90%;
- }
- #mediamanager__diff dl dd strong{
- background-color: __highlight__;
- color: var(--ini-text);
- font-weight: normal;
- }
- /* image diff views */
- #mediamanager__page .file form.diffView {
- margin-bottom: 10px;
- display: block;
- }
- #mediamanager__diff div.slider {
- margin: 10px;
- width: 95%;
- }
- #mediamanager__diff .imageDiff {
- position: relative;
- }
- #mediamanager__diff .imageDiff .image2 {
- position: absolute;
- top: 0;
- left: 0;
- }
- #mediamanager__diff .imageDiff.opacity .image2 {
- opacity: 0.5;
- }
- #mediamanager__diff .imageDiff.portions .image2 {
- border-right: 1px solid red;
- overflow: hidden;
- }
- #mediamanager__diff .imageDiff.portions img {
- float: left;
- }
- #mediamanager__diff .imageDiff img {
- width: 100%;
- max-width: none;
- }
|