You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

495 lines
10 KiB

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