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.

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