You are here

imce-content.css in IMCE 7

Same filename and directory in other branches
  1. 6.2 css/imce-content.css
  2. 6 css/imce-content.css
/*Body*/
body.imce {
  padding: 2px;
  background: none;
  text-align: left;
  height: auto;
  min-width: 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%;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}
#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;
  background: url(preview-bg.png);
}

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