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.

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