_media_fullscreen.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  1. /**
  2. * This file provides the styles for the fullscreen media manager
  3. * (?do=media).
  4. *
  5. * What most templates would probably need to change (depending on
  6. * their site width) are the 4 min-width's (search for @change).
  7. */
  8. /*____________ structure ____________*/
  9. #mediamanager__page h1 {
  10. margin-bottom: .5em;
  11. }
  12. #mediamanager__page {
  13. /* min-width must be summary of all 3 panels' min-widths */
  14. min-width: 50em; /* @change */
  15. width: 100%;
  16. text-align: left;
  17. }
  18. [dir=rtl] #mediamanager__page {
  19. text-align: right;
  20. }
  21. #mediamanager__page .panel {
  22. float: left;
  23. }
  24. [dir=rtl] #mediamanager__page .panel {
  25. float: right;
  26. }
  27. #mediamanager__page .namespaces {
  28. width: 20%;
  29. min-width: 10em; /* @change */
  30. left:0 !important; /* overrules jQuery UI resizable in rtl */
  31. }
  32. #mediamanager__page .filelist {
  33. width: 50%;
  34. min-width: 25em; /* @change */
  35. left:0 !important; /* overrules jQuery UI resizable in rtl */
  36. }
  37. #mediamanager__page .file {
  38. width: 30%;
  39. min-width: 15em; /* @change */
  40. }
  41. #mediamanager__page .tabs li {
  42. white-space: nowrap;
  43. }
  44. #mediamanager__page .panelHeader {
  45. background-color: @ini_background_alt;
  46. margin: 0 10px 10px 0;
  47. padding: 10px 10px 8px;
  48. text-align: left;
  49. min-height: 20px;
  50. overflow: hidden;
  51. }
  52. [dir=rtl] #mediamanager__page .panelHeader {
  53. text-align: right;
  54. margin: 0 0 10px 10px;
  55. }
  56. #mediamanager__page .panelContent {
  57. overflow-y: auto;
  58. overflow-x: hidden;
  59. padding: 0;
  60. margin: 0 10px 10px 0;
  61. position: relative;
  62. }
  63. [dir=rtl] #mediamanager__page .panelContent {
  64. text-align: right;
  65. margin: 0 0 10px 10px;
  66. }
  67. #mediamanager__page .file .panelHeader,
  68. #mediamanager__page .file .panelContent {
  69. margin-right: 0;
  70. }
  71. [dir=rtl] #mediamanager__page .file .panelHeader,
  72. [dir=rtl] #mediamanager__page .file .panelContent {
  73. margin-left: 0;
  74. }
  75. #mediamanager__page .ui-resizable-e {
  76. width: 6px;
  77. right: 2px;
  78. background: transparent url(../../images/resizecol.png) center center no-repeat;
  79. }
  80. #mediamanager__page .ui-resizable-e:hover {
  81. background-color: @ini_background_alt;
  82. }
  83. [dir=rtl] #mediamanager__page .ui-resizable-w {
  84. width: 6px;
  85. left: 2px;
  86. background: transparent url(../../images/resizecol.png) center center no-repeat;
  87. }
  88. [dir=rtl] #mediamanager__page .ui-resizable-w:hover {
  89. background-color: @ini_background_alt;
  90. }
  91. #mediamanager__page dd {
  92. margin: 0;
  93. }
  94. #mediamanager__page .panelHeader h3 {
  95. float: left;
  96. font-weight: normal;
  97. font-size: 1em;
  98. padding: 0;
  99. margin: 0 0 3px;
  100. }
  101. [dir=rtl] #mediamanager__page .panelHeader h3 {
  102. float : right
  103. }
  104. /*____________ namespaces panel ____________*/
  105. [dir=rtl] #mediamanager__page .namespaces {
  106. text-align: right;
  107. }
  108. /* make it look like a tab (as in _tabs.css) */
  109. #mediamanager__page .namespaces h2 {
  110. font-size: 1em;
  111. display: inline-block;
  112. padding: .3em .8em;
  113. margin: 0 0 0 .3em;
  114. border-radius: .5em .5em 0 0;
  115. font-weight: normal;
  116. background-color: @ini_background_alt;
  117. color: @ini_text;
  118. border: 1px solid @ini_border;
  119. border-bottom-color: @ini_background_alt;
  120. line-height: 1.4em;
  121. position: relative;
  122. bottom: -1px;
  123. z-index: 2;
  124. }
  125. [dir=rtl] #mediamanager__page .namespaces h2 {
  126. margin: 0 .3em 0 0;
  127. position: relative;
  128. right: 10px;
  129. }
  130. #mediamanager__page .namespaces .panelHeader {
  131. border-top: 1px solid @ini_border;
  132. z-index: 1;
  133. }
  134. #mediamanager__page .namespaces ul {
  135. margin-left: .2em;
  136. margin-bottom: 0;
  137. padding: 0;
  138. list-style: none;
  139. }
  140. [dir=rtl] #mediamanager__page .namespaces ul {
  141. margin-left: 0;
  142. margin-right: .2em;
  143. }
  144. #mediamanager__page .namespaces ul ul {
  145. margin-left: 1em;
  146. }
  147. [dir=rtl] #mediamanager__page .namespaces ul ul {
  148. margin-left: 0;
  149. margin-right: 1em;
  150. }
  151. #mediamanager__page .namespaces ul ul li {
  152. margin: 0;
  153. }
  154. #mediamanager__page .namespaces ul .selected {
  155. background-color: __highlight__;
  156. font-weight: bold;
  157. }
  158. /*____________ file list panel ____________*/
  159. /* file list header */
  160. #mediamanager__page .panelHeader form.options {
  161. float: right;
  162. margin-top: -3px;
  163. }
  164. [dir=rtl] #mediamanager__page .panelHeader form.options {
  165. float : left
  166. }
  167. #mediamanager__page .panelHeader ul {
  168. list-style: none;
  169. margin: 0;
  170. padding: 0;
  171. }
  172. #mediamanager__page .panelHeader ul li {
  173. color: @ini_text;
  174. float: left;
  175. line-height: 1;
  176. padding-left: 3px;
  177. }
  178. [dir=rtl] #mediamanager__page .panelHeader ul li {
  179. padding-right: 3px;
  180. padding-left: 0;
  181. float: right;
  182. }
  183. #mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
  184. padding-left: 30px;
  185. margin: 0 0 0 5px;
  186. }
  187. #mediamanager__page .panelHeader ul li.listType {
  188. background: url('../../images/icon-list.png') 3px 1px no-repeat;
  189. }
  190. #mediamanager__page .panelHeader ul li.sortBy {
  191. background: url('../../images/icon-sort.png') 3px 1px no-repeat;
  192. }
  193. [dir=rtl] #mediamanager__page .panelHeader ul li.ui-controlgroup-horizontal {
  194. padding-left: 0;
  195. padding-right: 30px;
  196. margin: 0 5px 0 0;
  197. background-position: right 1px;
  198. }
  199. #mediamanager__page .panelHeader form.options .ui-controlgroup-horizontal label{
  200. font-size: 90%;
  201. margin-right: -0.4em;
  202. padding: .3em .5em;
  203. line-height: 1;
  204. }
  205. /* file list content */
  206. #mediamanager__page .filelist ul {
  207. padding: 0;
  208. margin: 0 10px 0 0;
  209. }
  210. [dir=rtl] #mediamanager__page .filelist ul {
  211. margin: 0 0 0 10px;
  212. }
  213. #mediamanager__page .filelist ul.rows {
  214. margin: 0;
  215. }
  216. #mediamanager__page .filelist .panelContent ul li:hover {
  217. background-color: @ini_background_alt;
  218. }
  219. #mediamanager__page .filelist li dt a {
  220. vertical-align: middle;
  221. display: table-cell;
  222. overflow: hidden;
  223. }
  224. /* file list as thumbs */
  225. #mediamanager__page .filelist .thumbs li {
  226. width: 100px;
  227. min-height: 130px;
  228. display: inline-block;
  229. /* the right margin should visually be 10px, but because of its inline-block nature the whitespace inbetween is about 4px more */
  230. margin: 0 6px 10px 0;
  231. background-color: @ini_background_neu;
  232. color: @ini_text;
  233. padding: 5px;
  234. vertical-align: top;
  235. text-align: center;
  236. position: relative;
  237. line-height: 1.2;
  238. }
  239. [dir=rtl] #mediamanager__page .filelist .thumbs li {
  240. margin-right: 0;
  241. margin-left: 6px;
  242. }
  243. #mediamanager__page .filelist .thumbs li dt a {
  244. width: 100px;
  245. height: 90px;
  246. }
  247. #mediamanager__page .filelist .thumbs li dt a img {
  248. max-width: 90px;
  249. max-height: 90px;
  250. }
  251. #mediamanager__page .filelist .thumbs li .name,
  252. #mediamanager__page .filelist .thumbs li .size,
  253. #mediamanager__page .filelist .thumbs li .filesize,
  254. #mediamanager__page .filelist .thumbs li .date {
  255. display: block;
  256. overflow: hidden;
  257. text-overflow: ellipsis;
  258. width: 90px;
  259. white-space: nowrap;
  260. }
  261. #mediamanager__page .filelist .thumbs li .name {
  262. padding: 5px 0;
  263. font-weight: bold;
  264. }
  265. #mediamanager__page .filelist .thumbs li .date {
  266. font-style: italic;
  267. white-space: normal;
  268. }
  269. /* file list as rows */
  270. #mediamanager__page .filelist .rows li {
  271. list-style: none;
  272. display: block;
  273. position: relative;
  274. max-height: 50px;
  275. margin: 0 0 3px 0;
  276. background-color: @ini_background;
  277. color: @ini_text;
  278. overflow: hidden;
  279. }
  280. #mediamanager__page .filelist .rows li:nth-child(2n+1) {
  281. background-color: @ini_background_neu;
  282. }
  283. #mediamanager__page .filelist .rows li dt {
  284. float: left;
  285. width: 10%;
  286. height: 40px;
  287. text-align: center;
  288. }
  289. [dir=rtl] #mediamanager__page .filelist .rows li dt {
  290. float: right;
  291. }
  292. #mediamanager__page .filelist .rows li dt a {
  293. width: 100px;
  294. height: 40px;
  295. }
  296. #mediamanager__page .filelist .rows li dt a img {
  297. max-width: 40px;
  298. max-height: 40px;
  299. }
  300. #mediamanager__page .filelist .rows li .name,
  301. #mediamanager__page .filelist .rows li .size,
  302. #mediamanager__page .filelist .rows li .filesize,
  303. #mediamanager__page .filelist .rows li .date {
  304. overflow: hidden;
  305. text-overflow: ellipsis;
  306. float: left;
  307. margin-left: 1%;
  308. white-space: nowrap;
  309. }
  310. [dir=rtl] #mediamanager__page .filelist .rows li .name,
  311. [dir=rtl] #mediamanager__page .filelist .rows li .size,
  312. [dir=rtl] #mediamanager__page .filelist .rows li .filesize,
  313. [dir=rtl] #mediamanager__page .filelist .rows li .date {
  314. float: right;
  315. margin-left: 0;
  316. margin-right: 1%;
  317. }
  318. #mediamanager__page .filelist .rows li .name {
  319. width: 30%;
  320. font-weight: bold;
  321. }
  322. #mediamanager__page .filelist .rows li .size,
  323. #mediamanager__page .filelist .rows li .filesize {
  324. width: 15%;
  325. }
  326. #mediamanager__page .filelist .rows li .date {
  327. width: 20%;
  328. font-style: italic;
  329. white-space: normal;
  330. }
  331. /* upload form */
  332. #mediamanager__page div.upload {
  333. padding-bottom: 0.5em;
  334. }
  335. /*____________ file panel ____________*/
  336. #mediamanager__page .file ul.actions {
  337. text-align: center;
  338. margin: 0 0 5px;
  339. padding: 0;
  340. list-style: none;
  341. }
  342. #mediamanager__page .file ul.actions li {
  343. display: inline;
  344. margin: 0;
  345. }
  346. #mediamanager__page .file div.image {
  347. margin-bottom: 5px;
  348. text-align: center;
  349. }
  350. #mediamanager__page .file div.image img {
  351. width: 100%;
  352. }
  353. #mediamanager__page .file dl {
  354. margin-bottom: 0;
  355. }
  356. #mediamanager__page .file dl dt {
  357. font-weight: bold;
  358. display: block;
  359. background-color: @ini_background_alt;
  360. }
  361. #mediamanager__page .file dl dd {
  362. display: block;
  363. background-color: @ini_background_neu;
  364. }
  365. /* file meta data edit form */
  366. #mediamanager__page form.meta div.row {
  367. margin-bottom: 5px;
  368. }
  369. #mediamanager__page form.meta label span {
  370. display: block;
  371. }
  372. #mediamanager__page form.meta input {
  373. width: 50%;
  374. }
  375. #mediamanager__page form.meta button {
  376. width: auto;
  377. }
  378. #mediamanager__page form.meta textarea.edit {
  379. height: 6em;
  380. width: 95%;
  381. min-width: 95%;
  382. max-width: 95%;
  383. }
  384. /* file revisions form */
  385. #mediamanager__page form.changes ul {
  386. margin-left: 10px;
  387. padding: 0;
  388. list-style-type: none;
  389. }
  390. [dir=rtl] #mediamanager__page form.changes ul {
  391. margin-left: 0;
  392. margin-right: 10px;
  393. }
  394. #mediamanager__page form.changes ul li div.li div {
  395. font-size: 90%;
  396. color: @ini_text_neu;
  397. padding-left: 18px;
  398. }
  399. [dir=rtl] #mediamanager__page form.changes ul li div.li div {
  400. padding-left: 0;
  401. padding-right: 18px;
  402. }
  403. #mediamanager__page form.changes ul li div.li input {
  404. position: relative;
  405. top: 1px;
  406. }
  407. /* file diff view */
  408. #mediamanager__diff table {
  409. table-layout: fixed;
  410. border-width: 0;
  411. }
  412. #mediamanager__diff td,
  413. #mediamanager__diff th {
  414. width: 48%;
  415. margin: 0 5px 10px 0;
  416. padding: 0;
  417. vertical-align: top;
  418. text-align: left;
  419. border-color: @ini_background;
  420. }
  421. [dir=rtl] #mediamanager__diff td,
  422. [dir=rtl] #mediamanager__diff th {
  423. margin: 0 0 10px 5px;
  424. text-align: right;
  425. }
  426. #mediamanager__diff th {
  427. font-weight: normal;
  428. background-color: @ini_background;
  429. line-height: 1.2;
  430. }
  431. #mediamanager__diff th a {
  432. font-weight: bold;
  433. }
  434. #mediamanager__diff th span {
  435. font-size: 90%;
  436. }
  437. #mediamanager__diff dl dd strong{
  438. background-color: __highlight__;
  439. color: @ini_text;
  440. font-weight: normal;
  441. }
  442. /* image diff views */
  443. #mediamanager__page .file form.diffView {
  444. margin-bottom: 10px;
  445. display: block;
  446. }
  447. #mediamanager__diff div.slider {
  448. margin: 10px;
  449. width: 95%;
  450. }
  451. #mediamanager__diff .imageDiff {
  452. position: relative;
  453. }
  454. #mediamanager__diff .imageDiff .image2 {
  455. position: absolute;
  456. top: 0;
  457. left: 0;
  458. }
  459. #mediamanager__diff .imageDiff.opacity .image2 {
  460. opacity: 0.5;
  461. }
  462. #mediamanager__diff .imageDiff.portions .image2 {
  463. border-right: 1px solid red;
  464. overflow: hidden;
  465. }
  466. #mediamanager__diff .imageDiff.portions img {
  467. float: left;
  468. }
  469. #mediamanager__diff .imageDiff img {
  470. width: 100%;
  471. max-width: none;
  472. }