imce-content.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. /*Body*/
  2. body.imce {
  3. padding: 2px;
  4. background: none;
  5. text-align: left;
  6. height: auto;
  7. }
  8. /*Main container*/
  9. /*reset all tags.*/
  10. #imce-content, #imce-content * {
  11. font: 11px/16px Verdana, sans-serif;
  12. margin: 0;
  13. padding: 0;
  14. color: #444;
  15. background: none;
  16. border: none;
  17. float: none;
  18. list-style: none;
  19. }
  20. #imce-content {
  21. position: relative;
  22. background-color: #fff;
  23. }
  24. #imce-content a {
  25. text-decoration: none;
  26. }
  27. #imce-content label {
  28. font-weight: bold;
  29. }
  30. #imce-content label.option {
  31. font-weight: normal;
  32. }
  33. #imce-content input.form-text, #imce-content input[type=text], #imce-content input.form-file, #imce-content input[type=file], #imce-content select, #imce-content textarea {
  34. border: 1px inset #aaa;
  35. padding: 2px;
  36. background-color: #fff;
  37. margin: 1px;
  38. width: auto;
  39. }
  40. #imce-content input.form-submit, #imce-content input[type=submit], #imce-content button {
  41. border: 2px groove #fff;
  42. padding: 2px 6px 2px 20px;
  43. margin: 2px 0;
  44. background: #e8e8d8 url(submit.png) no-repeat 2px 50%;
  45. -moz-border-radius: 0;
  46. -webkit-border-radius: 0;
  47. border-radius: 0;
  48. }
  49. #imce-content [disabled], #imce-content .disabled {
  50. color: #999;
  51. cursor: default;
  52. text-decoration: none !important;
  53. }
  54. #imce-content input.loading {
  55. background-image: url(loading.gif) !important;
  56. }
  57. #imce-content .form-item {
  58. margin: 4px 0;
  59. }
  60. #imce-content .form-item .description {
  61. font-size: 0.9em;
  62. }
  63. #imce-content strong, #imce-content h4 {
  64. font-weight: bold;
  65. }
  66. #imce-content em {
  67. font-style: italic;
  68. }
  69. #imce-content ul.tips {
  70. margin: 2px 8px;
  71. }
  72. #imce-content ul.tips li {
  73. list-style: circle inside;
  74. line-height: 18px;
  75. }
  76. /*Main sections under imce-content*/
  77. #ops-wrapper {
  78. margin-bottom: 2px;
  79. background: #d0d7e7 url(ops.png) repeat-x;
  80. border: 1px solid #a5b9cd;
  81. }
  82. #browse-wrapper {
  83. overflow: hidden;
  84. height: 260px;
  85. clear: both;
  86. }
  87. #browse-resizer {}
  88. #preview-wrapper {
  89. height: 180px;
  90. overflow: auto;
  91. }
  92. /*columns of browse-wrapper*/
  93. #navigation-wrapper {
  94. width: 25%;
  95. height: 100%;
  96. overflow: auto;
  97. float: left;
  98. position: relative;
  99. }
  100. #navigation-resizer {
  101. height: 100%;
  102. float: left;
  103. }
  104. #sub-browse-wrapper {
  105. height: 100%;
  106. overflow: auto;
  107. position: relative;
  108. }
  109. /*rows of sub-browse wrapper*/
  110. #file-header-wrapper {
  111. height: 25px;
  112. background: url(header.png) repeat-x 0 0;
  113. position: relative;
  114. }
  115. #file-list-wrapper {
  116. padding-bottom: 20px;/*#dir-stat height*/
  117. outline: none;
  118. }
  119. #dir-stat {
  120. position: absolute;
  121. z-index: 1;
  122. bottom: 0;
  123. padding: 2px 5px;
  124. background-color: #e9ecef;
  125. }
  126. #dir-stat, #dir-stat * {
  127. font-size: 0.9em;
  128. }
  129. /*Navigation header*/
  130. #navigation-header {
  131. background: url(header.png) repeat-x 0 0;
  132. position: absolute;
  133. z-index: 1;
  134. width: 100%;
  135. height: 25px;
  136. }
  137. #navigation-header span {
  138. display: inline-block;
  139. padding: 4px 4px 5px 20px;
  140. font-weight: bold;
  141. background: url(tree.png) no-repeat 0 50%;
  142. }
  143. /*Navigation tree (ul)*/
  144. #navigation-tree {
  145. margin-top: 25px;/*navigation-header height*/
  146. }
  147. #navigation-tree ul {
  148. margin-left: 15px;
  149. }
  150. #navigation-tree li {
  151. padding: 2px;
  152. background: transparent url(collapsed.png) no-repeat 3px 6px;
  153. white-space: nowrap;
  154. }
  155. #navigation-tree li.expanded {
  156. background-image: url(expanded.png);
  157. }
  158. #navigation-tree li.leaf {
  159. background-image: url(leaf.png);
  160. }
  161. #navigation-tree li.loading {
  162. background-image: url(loading.gif);
  163. background-position: 0 2px;
  164. }
  165. #navigation-tree li span.expander {
  166. display: inline-block;
  167. width: 12px;
  168. cursor: pointer;
  169. margin-right: 1px;
  170. }
  171. #navigation-tree li a {
  172. display: inline-block;
  173. }
  174. #navigation-tree li a:hover {
  175. text-decoration: underline;
  176. }
  177. #navigation-tree li a.folder {
  178. margin-left: 2px;
  179. padding-left: 18px;
  180. background: transparent url(folder.png) no-repeat 0 50%;
  181. }
  182. #navigation-tree li a.active {
  183. font-weight: bold;
  184. background-image: url(folder-open.png);
  185. background-color: #ecf0f4;
  186. }
  187. #navigation-tree li.root > a.folder {
  188. background-image: url(folder-root.png);
  189. }
  190. /*File list and header. (Accessible by #file-list and #file-header. Both have the classname "files")*/
  191. #file-header, #file-list {
  192. table-layout: fixed;
  193. width: 100%;
  194. }
  195. #file-header td {
  196. padding: 4px;
  197. font-weight: bold;
  198. cursor: default;
  199. }
  200. #file-header td.asc {
  201. color: #f60;
  202. }
  203. #file-header td.asc:after {
  204. content: "\2193";
  205. font-weight: normal;
  206. }
  207. #file-header td.desc {
  208. color: #09f;
  209. }
  210. #file-header td.desc:after {
  211. content: "\2191";
  212. font-weight: normal;
  213. }
  214. #file-list td {
  215. overflow: hidden;
  216. border-top: 1px solid #ccf;
  217. border-bottom: 1px solid #ccf;
  218. padding: 4px;
  219. cursor: default;
  220. }
  221. #file-list td.name, #file-header td.name {
  222. min-width: 12em;
  223. white-space: nowrap;
  224. }
  225. #file-list td.size, #file-header td.size {
  226. width: 6.5em;
  227. text-align: right;
  228. }
  229. #file-list td.width, #file-header td.width {
  230. width: 5em;
  231. text-align: right;
  232. }
  233. #file-list td.height, #file-header td.height {
  234. width: 5em;
  235. }
  236. #file-list td.date, #file-header td.date {
  237. width: 12em;
  238. text-align: center;
  239. }
  240. #file-list tr:hover td {
  241. background-color: #e9ecef;
  242. }
  243. #file-list tr.selected td {
  244. background-color: #07f;
  245. color: #fff;
  246. }
  247. #file-list tr.selected span {
  248. color: #fff;
  249. }
  250. #file-list td.name img {
  251. vertical-align: middle;
  252. margin-right: 3px;
  253. }
  254. /*File operations*/
  255. #op-items {
  256. min-height: 26px;
  257. }
  258. #op-contents {
  259. position: absolute;
  260. z-index: 2;
  261. }
  262. #op-contents .op-content {
  263. display: none;
  264. padding: 16px;
  265. border: 2px solid #344454;
  266. background-color: #f5f5f5;
  267. position: relative;
  268. }
  269. #op-close-link {
  270. display: none;
  271. position: absolute;
  272. z-index: 3;
  273. top: 2px;
  274. right: 2px;
  275. width: 16px;
  276. height: 16px;
  277. background: url(close.png) no-repeat 50% 50%;
  278. }
  279. #ops-list {
  280. }
  281. #ops-list li {
  282. display: block;
  283. float: left;
  284. }
  285. #ops-list a {
  286. display: block;
  287. padding: 5px 8px 5px 20px;
  288. text-decoration: none;
  289. background: url(op.png) no-repeat 2px 50%;
  290. }
  291. #ops-list a:hover {
  292. background-color: #e9ecef;
  293. }
  294. #ops-list li.active a {
  295. background-color: #f9f8f7;
  296. }
  297. #ops-list a span {
  298. display: inline-block;
  299. color: #0e1f43;
  300. padding-left: 1px;
  301. }
  302. #ops-list li.loading a {
  303. background-image: url(loading.gif);
  304. }
  305. /*Custom op styles*/
  306. #op-item-upload a, #imce-content #edit-upload {
  307. background-image: url(upload.png);
  308. }
  309. #op-item-thumb a, #imce-content #edit-thumb {
  310. background-image: url(thumb.png);
  311. }
  312. #op-item-resize a, #imce-content #edit-resize {
  313. background-image: url(resize.png);
  314. }
  315. #op-item-delete a {
  316. background-image: url(delete.png);
  317. }
  318. #op-item-sendto a {
  319. background-image: url(sendto.png);
  320. }
  321. #op-item-help a {
  322. background-image: url(help.png);
  323. }
  324. #op-item-changeview a {
  325. background-image: url(view-box.png);
  326. }
  327. .box-view #op-item-changeview a {
  328. background-image: url(view-list.png);
  329. }
  330. #op-item-help a, #op-item-changeview a {
  331. white-space: nowrap;
  332. overflow: hidden;
  333. width: 1px;
  334. padding: 5px 0 5px 25px;
  335. background-position: 5px 50%;
  336. }
  337. #op-item-help, #op-item-changeview {
  338. float: right !important;
  339. }
  340. /*resizers*/
  341. #imce-content .y-resizer {
  342. height: 5px;
  343. cursor: n-resize;
  344. background: #f4f5f6 url(y-resizer.png) no-repeat 50% 50%;
  345. border-top: 1px solid #e0e3e5;
  346. border-bottom: 1px solid #e0e3e5;
  347. }
  348. #imce-content .x-resizer {
  349. width: 5px;
  350. cursor: e-resize;
  351. background: #f4f5f6 url(x-resizer.png) no-repeat 50% 50%;
  352. border-left: 1px solid #e0e3e5;
  353. border-right: 1px solid #e0e3e5;
  354. }
  355. /*Message box*/
  356. #message-box {
  357. display: none;
  358. position: absolute;
  359. width: 60%;
  360. left: 20%;
  361. top: 32%;
  362. z-index: 10;
  363. padding: 5px;
  364. background-color: #fff;
  365. border: 2px solid #000;
  366. }
  367. #message-box * {
  368. font-size: 1.1em;
  369. font-weight: bold;
  370. color: #000;
  371. }
  372. #imce-content div.message {
  373. background: url(status.png) no-repeat 0 0;
  374. padding-left: 20px;
  375. margin: 2px 0;
  376. }
  377. #imce-content div.error {
  378. background: url(error.png) no-repeat 0 0;
  379. padding-left: 20px;
  380. }
  381. #imce-content div.warning {
  382. background: url(warning.png) no-repeat 0 0;
  383. padding-left: 20px;
  384. }
  385. #log-messages {
  386. height: 60px;
  387. overflow: auto;
  388. border: 1px solid #000;
  389. padding: 2px 4px;
  390. }
  391. #log-messages * {
  392. font-family: monospace;
  393. }
  394. #file-preview {
  395. text-align: center;
  396. }
  397. .imce-hide, .js #forms-wrapper, #help-box {
  398. display: none;
  399. }
  400. /*IE*/
  401. .ie #imce-content input, .ie #imce-content select {
  402. vertical-align: middle;
  403. line-height: 1.2em;
  404. }
  405. .ie-7 #navigation-tree li {
  406. list-style-image: none;
  407. }
  408. .ie-7 #imce-content input.form-submit, .ie-7 #imce-content input[type=submit], .ie-7 #imce-content button {
  409. border-style: outset;
  410. }
  411. .ie-7 #ops-list a span {
  412. cursor: pointer;
  413. }
  414. .ie-7 #file-list-wrapper {
  415. display: inline-block; /* Gives hasLayout */
  416. }
  417. /* File list in box view */
  418. .box-view #file-list tr {
  419. display: block;
  420. float: left;
  421. border: 1px solid #ccf;
  422. margin: 10px;
  423. }
  424. .box-view #file-list td {
  425. border: 0;
  426. }
  427. .box-view #file-list td.name {
  428. min-width: 0;
  429. padding: 5px;
  430. text-align: center;
  431. vertical-align: middle;
  432. }
  433. .box-view #file-list td.name img {
  434. margin: 0;
  435. }
  436. .box-view #file-list td.name span {
  437. display: block;
  438. overflow: hidden;
  439. white-space: nowrap;
  440. }
  441. .box-view #file-list td.size, .box-view #file-list td.date, .box-view #file-list td.width, .box-view #file-list td.height {
  442. display: none;
  443. }