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.

447 lines
9.0 KiB

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