You are here

imce-content.css in IMCE 6.2

Same filename and directory in other branches
  1. 6 css/imce-content.css
  2. 7 css/imce-content.css
/*Body*/
body.imce {
  padding: 2px;
  background: none;
  text-align: left;
  height: auto;
}

/*Main container*/
/*reset all tags.*/
#imce-content, #imce-content * {
  font: 11px/16px Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #444;
  background: none;
  border: none;
  float: none;
  list-style: none;
}
#imce-content {
  position: relative;
  background-color: #fff;
}
#imce-content a {
  text-decoration: none;
}
#imce-content label {
  font-weight: bold;
}
#imce-content label.option {
  font-weight: normal;
}
#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 {
  border: 1px inset #aaa;
  padding: 2px;
  background-color: #fff;
  margin: 1px;
  width: auto;
}
#imce-content input.form-submit, #imce-content input[type=submit], #imce-content button {
  border: 2px groove #fff;
  padding: 2px 6px 2px 20px;
  margin: 2px 0;
  background: #e8e8d8 url(submit.png) no-repeat 2px 50%;
}
#imce-content [disabled], #imce-content .disabled {
  color: #999;
  cursor: default;
  text-decoration: none !important;
}
#imce-content input.loading {
  background-image: url(loading.gif) !important;
}
#imce-content .form-item {
  margin: 4px 0;
}
#imce-content .form-item .description {
  font-size: 0.9em;
}
#imce-content strong, #imce-content h4 {
  font-weight: bold;
}
#imce-content em {
  font-style: italic;
}
#imce-content ul.tips {
  margin: 2px 8px;
}
#imce-content ul.tips li {
  list-style: circle inside;
  line-height: 18px;
}

/*Main sections under imce-content*/
#ops-wrapper {
  margin-bottom: 2px;
  background: #d0d7e7 url(ops.png) repeat-x;
  border: 1px solid #a5b9cd;
}
#browse-wrapper {
  overflow: hidden;
  height: 260px;
  clear: both;
}
#browse-resizer {}
#preview-wrapper {
  height: 180px;
  overflow: auto;
}

/*columns of browse-wrapper*/
#navigation-wrapper {
  width: 25%;
  height: 100%;
  overflow: auto;
  float: left;
  position: relative;
}
#navigation-resizer {
  height: 100%;
  float: left;
}
#sub-browse-wrapper {
  height: 100%;
  overflow: auto;
  position: relative;
}

/*rows of sub-browse wrapper*/
#file-header-wrapper {
  height: 25px;
  background: url(header.png) repeat-x 0 0;
  position: relative;
}
#file-list-wrapper {
  padding-bottom: 20px;/*#dir-stat height*/
  outline: none;
}
#dir-stat {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 2px 5px;
  background-color: #e9ecef;
}

#dir-stat, #dir-stat * {
  font-size: 0.9em;
}

/*Navigation header*/
#navigation-header {
  background: url(header.png) repeat-x 0 0;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 25px;
}
#navigation-header span {
  display: inline-block;
  padding: 4px 4px 5px 20px;
  font-weight: bold;
  background: url(tree.png) no-repeat 0 50%;
}

/*Navigation tree (ul)*/
#navigation-tree {
  margin-top: 25px;/*navigation-header height*/
}
#navigation-tree ul {
  margin-left: 15px;
}
#navigation-tree li {
  padding: 2px;
  background: transparent url(collapsed.png) no-repeat 3px 6px;
  white-space: nowrap;
}
#navigation-tree li.expanded {
  background-image: url(expanded.png);
}
#navigation-tree li.leaf {
  background-image: url(leaf.png);
}
#navigation-tree li.loading {
  background-image: url(loading.gif);
  background-position: 0 2px;
}
#navigation-tree li span.expander {
  display: inline-block;
  width: 12px;
  cursor: pointer;
  margin-right: 1px;
}
#navigation-tree li a {
  display: inline-block;
}
#navigation-tree li a:hover {
  text-decoration: underline;
}
#navigation-tree li a.folder {
  margin-left: 2px;
  padding-left: 18px;
  background: transparent url(folder.png) no-repeat 0 50%;
}
#navigation-tree li a.active {
  font-weight: bold;
  background-image: url(folder-open.png);
  background-color: #ecf0f4;
}
#navigation-tree li.root > a.folder {
  background-image: url(folder-root.png);
}

/*File list and header. (Accessible by #file-list and #file-header. Both have the classname "files")*/
#file-header, #file-list {
  table-layout: fixed;
  width: 100%;
}
#file-header td {
  padding: 4px;
  font-weight: bold;
  cursor: default;
}
#file-header td.asc {
  color: #f60;
}
#file-header td.asc:after {
  content: "\2193";
  font-weight: normal;
}
#file-header td.desc {
  color: #09f;
}
#file-header td.desc:after {
  content: "\2191";
  font-weight: normal;
}
#file-list td {
  overflow: hidden;
  border-top: 1px solid #ccf;
  border-bottom: 1px solid #ccf;
  padding: 4px;
  cursor: default;
}
#file-list td.name, #file-header td.name {
  min-width: 12em;
  white-space: nowrap;
}
#file-list td.size, #file-header td.size {
  width: 6.5em;
  text-align: right;
}
#file-list td.width, #file-header td.width {
  width: 5em;
  text-align: right;
}
#file-list td.height, #file-header td.height {
  width: 5em;
}
#file-list td.date, #file-header td.date {
  width: 12em;
  text-align: center;
}
#file-list tr:hover td {
  background-color: #e9ecef;
}
#file-list tr.selected td {
  background-color: #07f;
  color: #fff;
}
#file-list tr.selected span {
  color: #fff;
}
#file-list td.name img {
  vertical-align: middle;
  margin-right: 3px;
}


/*File operations*/
#op-items {
  min-height: 26px;
}
#op-contents {
  position: absolute;
  z-index: 2;
}
#op-contents .op-content {
  display: none;
  padding: 16px;
  border: 2px solid #344454;
  background-color: #f5f5f5;
  position: relative;
}
#op-close-link {
  display: none;
  position: absolute;
  z-index: 3;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: url(close.png) no-repeat 50% 50%;
}
#ops-list {
}
#ops-list li {
  display: block;
  float: left;
}
#ops-list a {
  display: block;
  padding: 5px 8px 5px 20px;
  text-decoration: none;
  background: url(op.png) no-repeat 2px 50%;
}
#ops-list a:hover {
  background-color: #e9ecef;
}
#ops-list li.active a {
  background-color: #f9f8f7;
}
#ops-list a span {
  display: inline-block;
  color: #0e1f43;
  padding-left: 1px;
}
#ops-list li.loading a {
  background-image: url(loading.gif);
}

/*Custom op styles*/
#op-item-upload a, #imce-content #edit-upload {
  background-image: url(upload.png);
}
#op-item-thumb a, #imce-content #edit-thumb {
  background-image: url(thumb.png);
}
#op-item-resize a, #imce-content #edit-resize {
  background-image: url(resize.png);
}
#op-item-delete a {
  background-image: url(delete.png);
}
#op-item-sendto a {
  background-image: url(sendto.png);
}
#op-item-help a {
  background-image: url(help.png);
}
#op-item-changeview a {
  background-image: url(view-box.png);
}
.box-view #op-item-changeview a {
  background-image: url(view-list.png);
}
#op-item-help a, #op-item-changeview a {
  white-space: nowrap;
  overflow: hidden;
  width: 1px;
  padding: 5px 0 5px 25px;
  background-position: 5px 50%;
}
#op-item-help, #op-item-changeview {
  float: right !important;
}

/*resizers*/
#imce-content .y-resizer {
  height: 5px;
  cursor: n-resize;
  background: #f4f5f6 url(y-resizer.png) no-repeat 50% 50%;
  border-top: 1px solid #e0e3e5;
  border-bottom: 1px solid #e0e3e5;
}
#imce-content .x-resizer {
  width: 5px;
  cursor: e-resize;
  background: #f4f5f6 url(x-resizer.png) no-repeat 50% 50%;
  border-left: 1px solid #e0e3e5;
  border-right: 1px solid #e0e3e5;
}

/*Message box*/
#message-box {
  display: none;
  position: absolute;
  width: 60%;
  left: 20%;
  top: 32%;
  z-index: 10;
  padding: 5px;
  background-color: #fff;
  border: 2px solid #000;
}
#message-box  * {
  font-size: 1.1em;
  font-weight: bold;
  color: #000;
}
#imce-content div.message {
  background: url(status.png) no-repeat 0 0;
  padding-left: 20px;
  margin: 2px 0;
}
#imce-content div.error {
  background: url(error.png) no-repeat 0 0;
  padding-left: 20px;
}
#imce-content div.warning {
  background: url(warning.png) no-repeat 0 0;
  padding-left: 20px;
}
#log-messages {
  height: 60px;
  overflow: auto;
  border: 1px solid #000;
  padding: 2px 4px;
}
#log-messages * {
  font-family: monospace;
}

#file-preview {
  text-align: center;
}
.imce-hide, .js #forms-wrapper, #help-box {
  display: none;
}

/*IE*/
.ie #imce-content input, .ie #imce-content select {
  vertical-align: middle;
  line-height: 1.2em;
}
.ie-7 #navigation-tree li {
  list-style-image: none;
}
.ie-7 #imce-content input.form-submit, .ie-7 #imce-content input[type=submit], .ie-7 #imce-content button {
  border-style: outset;
}
.ie-7 #ops-list a span {
  cursor: pointer;
}
.ie-7 #file-list-wrapper {
  display: inline-block; /* Gives hasLayout */
}

/* File list in box view */
.box-view #file-list tr {
  display: block;
  float: left;
  border: 1px solid #ccf;
  margin: 10px;
}
.box-view #file-list td {
  border: 0;
}
.box-view #file-list td.name {
  min-width: 0;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}
.box-view #file-list td.name img {
  margin: 0;
}
.box-view #file-list td.name span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.box-view #file-list td.size, .box-view #file-list td.date, .box-view #file-list td.width, .box-view #file-list td.height {
  display: none;
}

File

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