You are here

imce.css in IMCE 8

Same filename and directory in other branches
  1. 8.2 css/imce.css
.imce-page {
  margin: 0;
  padding: 0;
  font: 12px/16px verdana;
  color: #000;
}
.imce-page *,
.imce-page *:before,
.imce-page *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.imce-page a {
  color: #009;
  border: 0;
}
.imce-page a:hover,
.imce-page a:focus {
  color: #00c;
}

#imce-fm {
  position: relative;
  border: 1px solid #ccc;
  padding: 2px;
  outline: 0;
  background: #fff;
}

#imce-toolbar {
  background: #ececec;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 0 #fff inset;
  margin-bottom: 4px;
}

#imce-body {
  height: 300px;
  overflow: hidden;
}

#imce-body-resizer {
  height: 5px;
  cursor: n-resize;
  overflow: hidden;
  text-align: center;
}

#imce-body-resizer:before {
  content: '\22ef';
  display: inline-block;
  vertical-align: text-top;
  line-height: 0px;
  font-size: 13px;
}

#imce-preview {
  height: 90px;
  overflow: auto;
  border: 1px solid #ccc;
}

/* Inside imce-body */
#imce-tree {
  float: left;
  width: 23%;
  height: 100%;
  overflow: auto;
  outline: 0;
  -webkit-overflow-scrolling: touch;/*Enable momentum scrolling on touch in webkit*/
  border: 1px solid #ccc;
}
#imce-tree-resizer {
  float: left;
  width: 5px;
  height: 100%;
  cursor: e-resize;
  position: relative;
  overflow: hidden;
}
#imce-content {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ccc;
  position: relative;
  outline: 0;
}
#imce-tree:focus,
#imce-content:focus {
  border-color: #aaa;
}
#imce-tree-resizer:before {
  content: '\22ee';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  line-height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  text-align: center;
  font-size: 13px;
}

/* Item preview */
.imce-item-preview {
  text-align: center;
}
.imce-preview-info > * {
  display: inline-block;
  word-wrap: break-word;
  padding: 2px 8px;
  margin: -1px 1px 3px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  background: linear-gradient(180deg, #f9f9f9, #eee);
}
.imce-preview-image > img {
  cursor: pointer;
}

/* Form elements */
.imce-form-item {
  margin: 0 0 0.7em 0;
}
.imce-layer button::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.imce-layer input,
.imce-layer textarea,
.imce-layer select,
.imce-layer button {
  border: 1px solid #bbb;
  color: #333;
  background-color: #fff;
  padding: 3px 2px;
  font: inherit;
  margin: 0;
}
.imce-layer textarea {
  padding: 0;
}
.imce-layer input[type="number"] {
  width: 7em;
}
.imce-layer input[type="checkbox"],
.imce-layer input[type="radio"] {
  border: none;
  background: none;
  margin: 5px 5px 5px 0;
  vertical-align: middle;
}
.imce-layer input[type="submit"],
.imce-layer input[type="button"],
.imce-layer button {
  background-color: #ddd;
  border: 1px solid #999;
  padding: 3px 10px;
}
.imce-layer input[type="submit"]:hover,
.imce-layer input[type="button"]:hover,
.imce-layer button:hover {
  background-color: #e5e5e5;
}
.imce-layer input[type="submit"]:active,
.imce-layer input[type="button"]:active,
.imce-layer button:active {
  background-color: #eee;
}
.imce-layer input[disabled],
.imce-layer input[disabled]:hover,
.imce-layer input[disabled]:active,
.imce-layer button[disabled],
.imce-layer button[disabled]:hover,
.imce-layer button[disabled]:active {
  background-color: #ededed;
  color: #666;
  text-shadow: 1px 1px 0 #fff;
}
.imce-layer label {
  display: block;
  cursor: default;
  font-weight: normal;
}


/* Branch */
.imce-branch {
  margin: 2px;
  white-space: nowrap;
}
/* Branch toggle */
.imce-branch-toggle {
  display: inline-block;
  vertical-align: bottom;
  width: 16px;
  height: 16px;
  text-align: center;
  cursor: default;
}
.busy > .imce-branch-toggle {
  background: url(images/loading.gif) no-repeat 50% 50%;
}
.imce-branch-toggle:before {
  content: '+';
  display: inline-block;
  vertical-align: bottom;
  text-align: center;
  font: bold 9px/8px courier new;
  width: 9px;
  height: 9px;
  border: 1px solid #777;
  border-radius: 1px;
  margin-bottom: 3px;
}
.expanded > .imce-branch-toggle:before {
  content: '-';
}
.leaf > .imce-branch-toggle:before,
.busy > .imce-branch-toggle::before {
  content: none;
}
/* Branch name */
.imce-branch-name {
  display: inline-block;
  vertical-align: bottom;
  margin: 0 1px;
  padding: 1px 3px 1px 1px;
  cursor: pointer;
  border-radius: 1px;
}
.imce-branch-name:hover {
  background-color: #dbe9fc;
}
.active > .imce-branch-name {
  background-color: #b7d3f8;
}
.disabled > .imce-branch-name {
  cursor: default;
  color: #999;
}
/* Branch icon */
.imce-branch-name:before {
  content: "\e609";
  color: #666;
  margin: 0 3px 0 0;
}
.active > .imce-branch-name:before {
  content: "\e60a";
  color: #222;
}

/* Subtree */
.imce-subtree {
  margin: 0 0 0 15px;
}

/* Content item */
.imce-item {
  border-bottom: 1px solid #d5dcea;
  cursor: default;
  padding: 0 8px 0 4px;
  overflow: hidden;
}
.imce-item:hover {
  background-color: #e4e9f2;
}
.imce-item.selected {
  background-color: #6bb6ff;
  background-image: linear-gradient(180deg, #65b5ff, #6fbaff);
}
.imce-item.disabled {
  opacity: 0.6;
}
/* Item children */
.imce-item > * {
  white-space: nowrap;
  overflow: hidden;
  padding: 4px 2px;
  float: right;
  text-align: right;
}

/* Item icon */
.imce-item-icon {
  float: left;
}
/* Item name */
.imce-item-name {
  float: none;
  text-align: left;
}
/* Item size */
.imce-item-size {
  width: 14%;
  max-width: 6.4em;
}
/* Item width */
.imce-item-width {
  width: 10%;
  max-width: 4.4em;
}
/* Item height */
.imce-item-height {
  width: 10%;
  max-width: 4.4em;
}
/* Item date */
.imce-item-date {
  width: 18%;
  max-width: 6.8em;
}

/* Specific item icons */
.imce-item-icon:before {
  content: "\e601";
}
.imce-item-thumbnail:before {
  display: none !important;
}
.folder > .imce-item-icon:before {
  content: "\e609";
  color: #666;
}
.file-zip > .imce-item-icon:before,
.file-rar > .imce-item-icon:before,
.file-gz > .imce-item-icon:before {
  content: "\e606";
}
.file-doc > .imce-item-icon:before,
.file-docx > .imce-item-icon:before {
  content: "\e61c";
}
.file-xls > .imce-item-icon:before,
.file-xlsx > .imce-item-icon:before {
  content: "\e61d";
}
.file-pdf > .imce-item-icon:before {
  content: "\e61b";
}
.file-swf > .imce-item-icon:before,
.file-fla > .imce-item-icon:before,
.file-avi > .imce-item-icon:before,
.file-mpg > .imce-item-icon:before,
.file-mov > .imce-item-icon:before,
.file-flv > .imce-item-icon:before,
.file-wmv > .imce-item-icon:before,
.file-mp4 > .imce-item-icon:before {
  content: "\e605";
}
.file-txt > .imce-item-icon:before,
.file-ini > .imce-item-icon:before {
  content: "\e602";
}
.file-mp3 > .imce-item-icon:before,
.file-wav > .imce-item-icon:before,
.file-wma > .imce-item-icon:before {
  content: "\e604";
}
.file-jpg > .imce-item-icon:before,
.file-jpeg > .imce-item-icon:before,
.file-bmp > .imce-item-icon:before,
.file-tif > .imce-item-icon:before,
.file-tiff > .imce-item-icon:before,
.file-png > .imce-item-icon:before,
.file-gif > .imce-item-icon:before {
  content: "\e603";
}

/* Content header */
.imce-content-header {
  position: relative;
  left: 0;
  top: 0;
}

.imce-content-header .imce-item {
  background: #f1f1f1;
  box-shadow: 1px 1px 0 #fff inset;
  border-bottom-color: #ccc;
}

.imce-content-header .sorted {
  color: #00c;
}
.imce-content-header .asc:after {
  content: '\25b2';
}
.imce-content-header .desc:after {
  content: '\25bc';
}
.imce-content-header .imce-item-icon {
  width: 20px;
  text-align: center;
}
.imce-content-header .imce-item-icon:before {
  content: "";
}

/* Content status */
.imce-content-status {
  position: absolute;
  left: 0;
  bottom: 0;
}
.imce-content-status > * {
  display: inline-block;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-width: 1px 1px 0 0;
  padding: 2px 8px;
  font-size: 0.9em;
}

/* Folder content */
.imce-folder-content {
  padding-bottom: 20px;
}

/* Layer */
.imce-layer {
  position: absolute;
  display: none;
  z-index: 10;
  background: #fff;
}

/* Message */
.imce-message-popup {
  left: 20%;
  top: 25%;
  width: 60%;
  max-width: 500px;
  max-height: 50%;
  overflow: auto;
  z-index: 20;
  box-shadow: 0 1px 5px #999;
  border: 2px solid #555;
  border-radius: 3px;
}
.imce-message {
  position: relative;
  font-size: 1.2em;
  padding: 4px 8px 4px 24px;
  margin: 4px;
  word-wrap: break-word;
}
.imce-message:before {
  content: '\e613';
  position: absolute;
  top: 0;
  left: 0;
  margin: 4px;
  color: #00ce35;
}
.imce-message.warning:before {
  content: '\e611';
  color: #fe8f00;
}
.imce-message.error:before {
  content: '\e621';
  color: #f03;
}
.imce-ajax-error {
  white-space: pre-wrap;
  margin: 0;
}

/* Toolbar button popup */
.imce-tbb-popup {
  padding: 10px;
  border: 2px solid #555;
  border-radius: 3px;
  box-shadow: 0 1px 5px #999;
}

/* Toolbar button */
.imce-tbb {
  cursor: default;
  padding: 6px 7px;
  float: left;
  display: inline-block;
}
.imce-tbb:hover {
  background-color: #fafafa;
}
.imce-tbb:active,
.imce-tbb.active {
  background-color: #fff;
}
.imce-tbb.disabled {
  opacity: 0.5;
}
.imce-tbb-title {
  display: inline-block;
  vertical-align: bottom;
  margin-left: 3px;
  text-shadow: 0 1px 0 #f5f5f5;
}

/*Newdir*/
.imce-newfolder-form button {
  margin-left: -1px;
}

/* Upload */
.imce-upload-form .imce-form-actions {
  margin-top: 0.5em;
}
.imce-upload-form.uq .imce-form-file,
.imce-upload-form.auto-start .imce-form-actions {
  display: none;
}
/* Upload queue */
.imce-uq-button {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: default;
  padding: 6px 16px;
  background-color: #d1f8cd;
  border: 1px solid #a6dca1;
  text-align: center;
}
.imce-uq-button:before {
  margin-right: 5px;
}
.imce-uq-button:hover {
  background-color: #def9db;
}
.imce-uq-button:active {
  background-color: #e7fbe4;
}
.imce-uq-button input {
  position: absolute;
  opacity: 0;
  top: 0;
  left: -5px;
  width: 110%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  font: 50em monospace;
}
/* Upload queue items */
.imce-uq-items {
  width: 20em;
  max-height: 20em;
  overflow: auto;
  overflow-x: hidden;
  margin: 7px 0 0;
}
.imce-uq-items:empty {
  margin: 0;
}
.imce-uqi {
  position: relative;
  background: #eaeaea;
  background: linear-gradient(180deg, #eee, #e5e5e5);
  font-size: 0.9em;
  padding: 7px;
  margin-bottom: 7px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 0 #fff inset;
}
.imce-uqi-cancel {
  position: absolute;
  right: 5px;
  top: 5px;
  line-height: 8px;
  color: #890017;
  cursor: pointer;
}
.imce-uqi-cancel:hover {
  color: #f00;
}
.imce-uqi-cancel:before {
  content: 'X';
}
.imce-uqi-info {
  width: 84%;
}
.imce-uqi-info span {
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
}
.imce-uqi-name {
  width: 72%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.imce-uqi-size {
  width: 28%;
  text-align: right;
}
.imce-uqi-progress {
  width: 84%;
  float: left;
  clear: left;
  background: #ddd;
  border: 1px solid #fff;
  box-shadow: 1px 1px 1px #666 inset;
  margin-top: 2px;
}
.imce-uqi-bar {
  width: 1px;
  height: 10px;
  background: #007cee;
  background: linear-gradient(90deg, #0084ff, #006dd2);
  box-shadow: 1px 1px 1px #666 inset;
}
.imce-uqi-percent {
  text-align: right;
}

/* Thumbnail grid style*/
.thumbnail-grid .imce-content-header .imce-item {
  text-align: center;
  display: flex;
}

.thumbnail-grid .imce-content-header .imce-item > *{
  float: none;
  text-align: left;
  display: inline-block;
  width: auto;
  order: 2;
}

.thumbnail-grid .imce-content-header .imce-item .imce-item-name {
  order: 1;
  top: 0;
  margin-left: auto;
}

.thumbnail-grid .imce-content-header .imce-item .imce-item-size {
  margin-right: auto;
}

.thumbnail-grid .imce-content-header .imce-item .imce-item-name::before{
  content: "Sort by:   ";
  color: black;
  margin-right: 3px;
}

.thumbnail-grid .imce-folder-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  justify-items: center;
}

.thumbnail-grid .imce-folder-content .imce-item {
  width: 100%;
}

.thumbnail-grid .imce-folder-content .imce-item > * {
  float: none;
  text-align: left;
  width: auto;
  padding: 1px 2px;
}

.thumbnail-grid .imce-folder-content .imce-item .imce-item-height{
  display: inline-block;
}

.thumbnail-grid .imce-folder-content .imce-item .imce-item-height::after{
  content: " X ";
}

.thumbnail-grid .imce-folder-content .imce-item .imce-item-width{
  display: inline-block;
}

File

css/imce.css
View source
  1. .imce-page {
  2. margin: 0;
  3. padding: 0;
  4. font: 12px/16px verdana;
  5. color: #000;
  6. }
  7. .imce-page *,
  8. .imce-page *:before,
  9. .imce-page *:after {
  10. -webkit-box-sizing: border-box;
  11. -moz-box-sizing: border-box;
  12. box-sizing: border-box;
  13. }
  14. .imce-page a {
  15. color: #009;
  16. border: 0;
  17. }
  18. .imce-page a:hover,
  19. .imce-page a:focus {
  20. color: #00c;
  21. }
  22. #imce-fm {
  23. position: relative;
  24. border: 1px solid #ccc;
  25. padding: 2px;
  26. outline: 0;
  27. background: #fff;
  28. }
  29. #imce-toolbar {
  30. background: #ececec;
  31. overflow: hidden;
  32. border: 1px solid #ccc;
  33. box-shadow: 1px 1px 0 #fff inset;
  34. margin-bottom: 4px;
  35. }
  36. #imce-body {
  37. height: 300px;
  38. overflow: hidden;
  39. }
  40. #imce-body-resizer {
  41. height: 5px;
  42. cursor: n-resize;
  43. overflow: hidden;
  44. text-align: center;
  45. }
  46. #imce-body-resizer:before {
  47. content: '\22ef';
  48. display: inline-block;
  49. vertical-align: text-top;
  50. line-height: 0px;
  51. font-size: 13px;
  52. }
  53. #imce-preview {
  54. height: 90px;
  55. overflow: auto;
  56. border: 1px solid #ccc;
  57. }
  58. /* Inside imce-body */
  59. #imce-tree {
  60. float: left;
  61. width: 23%;
  62. height: 100%;
  63. overflow: auto;
  64. outline: 0;
  65. -webkit-overflow-scrolling: touch;/*Enable momentum scrolling on touch in webkit*/
  66. border: 1px solid #ccc;
  67. }
  68. #imce-tree-resizer {
  69. float: left;
  70. width: 5px;
  71. height: 100%;
  72. cursor: e-resize;
  73. position: relative;
  74. overflow: hidden;
  75. }
  76. #imce-content {
  77. height: 100%;
  78. overflow: auto;
  79. -webkit-overflow-scrolling: touch;
  80. border: 1px solid #ccc;
  81. position: relative;
  82. outline: 0;
  83. }
  84. #imce-tree:focus,
  85. #imce-content:focus {
  86. border-color: #aaa;
  87. }
  88. #imce-tree-resizer:before {
  89. content: '\22ee';
  90. position: absolute;
  91. top: 50%;
  92. left: 50%;
  93. width: 16px;
  94. line-height: 16px;
  95. margin-top: -8px;
  96. margin-left: -8px;
  97. text-align: center;
  98. font-size: 13px;
  99. }
  100. /* Item preview */
  101. .imce-item-preview {
  102. text-align: center;
  103. }
  104. .imce-preview-info > * {
  105. display: inline-block;
  106. word-wrap: break-word;
  107. padding: 2px 8px;
  108. margin: -1px 1px 3px;
  109. border: 1px solid #ccc;
  110. background: #f5f5f5;
  111. background: linear-gradient(180deg, #f9f9f9, #eee);
  112. }
  113. .imce-preview-image > img {
  114. cursor: pointer;
  115. }
  116. /* Form elements */
  117. .imce-form-item {
  118. margin: 0 0 0.7em 0;
  119. }
  120. .imce-layer button::-moz-focus-inner {
  121. border: 0;
  122. padding: 0;
  123. }
  124. .imce-layer input,
  125. .imce-layer textarea,
  126. .imce-layer select,
  127. .imce-layer button {
  128. border: 1px solid #bbb;
  129. color: #333;
  130. background-color: #fff;
  131. padding: 3px 2px;
  132. font: inherit;
  133. margin: 0;
  134. }
  135. .imce-layer textarea {
  136. padding: 0;
  137. }
  138. .imce-layer input[type="number"] {
  139. width: 7em;
  140. }
  141. .imce-layer input[type="checkbox"],
  142. .imce-layer input[type="radio"] {
  143. border: none;
  144. background: none;
  145. margin: 5px 5px 5px 0;
  146. vertical-align: middle;
  147. }
  148. .imce-layer input[type="submit"],
  149. .imce-layer input[type="button"],
  150. .imce-layer button {
  151. background-color: #ddd;
  152. border: 1px solid #999;
  153. padding: 3px 10px;
  154. }
  155. .imce-layer input[type="submit"]:hover,
  156. .imce-layer input[type="button"]:hover,
  157. .imce-layer button:hover {
  158. background-color: #e5e5e5;
  159. }
  160. .imce-layer input[type="submit"]:active,
  161. .imce-layer input[type="button"]:active,
  162. .imce-layer button:active {
  163. background-color: #eee;
  164. }
  165. .imce-layer input[disabled],
  166. .imce-layer input[disabled]:hover,
  167. .imce-layer input[disabled]:active,
  168. .imce-layer button[disabled],
  169. .imce-layer button[disabled]:hover,
  170. .imce-layer button[disabled]:active {
  171. background-color: #ededed;
  172. color: #666;
  173. text-shadow: 1px 1px 0 #fff;
  174. }
  175. .imce-layer label {
  176. display: block;
  177. cursor: default;
  178. font-weight: normal;
  179. }
  180. /* Branch */
  181. .imce-branch {
  182. margin: 2px;
  183. white-space: nowrap;
  184. }
  185. /* Branch toggle */
  186. .imce-branch-toggle {
  187. display: inline-block;
  188. vertical-align: bottom;
  189. width: 16px;
  190. height: 16px;
  191. text-align: center;
  192. cursor: default;
  193. }
  194. .busy > .imce-branch-toggle {
  195. background: url(images/loading.gif) no-repeat 50% 50%;
  196. }
  197. .imce-branch-toggle:before {
  198. content: '+';
  199. display: inline-block;
  200. vertical-align: bottom;
  201. text-align: center;
  202. font: bold 9px/8px courier new;
  203. width: 9px;
  204. height: 9px;
  205. border: 1px solid #777;
  206. border-radius: 1px;
  207. margin-bottom: 3px;
  208. }
  209. .expanded > .imce-branch-toggle:before {
  210. content: '-';
  211. }
  212. .leaf > .imce-branch-toggle:before,
  213. .busy > .imce-branch-toggle::before {
  214. content: none;
  215. }
  216. /* Branch name */
  217. .imce-branch-name {
  218. display: inline-block;
  219. vertical-align: bottom;
  220. margin: 0 1px;
  221. padding: 1px 3px 1px 1px;
  222. cursor: pointer;
  223. border-radius: 1px;
  224. }
  225. .imce-branch-name:hover {
  226. background-color: #dbe9fc;
  227. }
  228. .active > .imce-branch-name {
  229. background-color: #b7d3f8;
  230. }
  231. .disabled > .imce-branch-name {
  232. cursor: default;
  233. color: #999;
  234. }
  235. /* Branch icon */
  236. .imce-branch-name:before {
  237. content: "\e609";
  238. color: #666;
  239. margin: 0 3px 0 0;
  240. }
  241. .active > .imce-branch-name:before {
  242. content: "\e60a";
  243. color: #222;
  244. }
  245. /* Subtree */
  246. .imce-subtree {
  247. margin: 0 0 0 15px;
  248. }
  249. /* Content item */
  250. .imce-item {
  251. border-bottom: 1px solid #d5dcea;
  252. cursor: default;
  253. padding: 0 8px 0 4px;
  254. overflow: hidden;
  255. }
  256. .imce-item:hover {
  257. background-color: #e4e9f2;
  258. }
  259. .imce-item.selected {
  260. background-color: #6bb6ff;
  261. background-image: linear-gradient(180deg, #65b5ff, #6fbaff);
  262. }
  263. .imce-item.disabled {
  264. opacity: 0.6;
  265. }
  266. /* Item children */
  267. .imce-item > * {
  268. white-space: nowrap;
  269. overflow: hidden;
  270. padding: 4px 2px;
  271. float: right;
  272. text-align: right;
  273. }
  274. /* Item icon */
  275. .imce-item-icon {
  276. float: left;
  277. }
  278. /* Item name */
  279. .imce-item-name {
  280. float: none;
  281. text-align: left;
  282. }
  283. /* Item size */
  284. .imce-item-size {
  285. width: 14%;
  286. max-width: 6.4em;
  287. }
  288. /* Item width */
  289. .imce-item-width {
  290. width: 10%;
  291. max-width: 4.4em;
  292. }
  293. /* Item height */
  294. .imce-item-height {
  295. width: 10%;
  296. max-width: 4.4em;
  297. }
  298. /* Item date */
  299. .imce-item-date {
  300. width: 18%;
  301. max-width: 6.8em;
  302. }
  303. /* Specific item icons */
  304. .imce-item-icon:before {
  305. content: "\e601";
  306. }
  307. .imce-item-thumbnail:before {
  308. display: none !important;
  309. }
  310. .folder > .imce-item-icon:before {
  311. content: "\e609";
  312. color: #666;
  313. }
  314. .file-zip > .imce-item-icon:before,
  315. .file-rar > .imce-item-icon:before,
  316. .file-gz > .imce-item-icon:before {
  317. content: "\e606";
  318. }
  319. .file-doc > .imce-item-icon:before,
  320. .file-docx > .imce-item-icon:before {
  321. content: "\e61c";
  322. }
  323. .file-xls > .imce-item-icon:before,
  324. .file-xlsx > .imce-item-icon:before {
  325. content: "\e61d";
  326. }
  327. .file-pdf > .imce-item-icon:before {
  328. content: "\e61b";
  329. }
  330. .file-swf > .imce-item-icon:before,
  331. .file-fla > .imce-item-icon:before,
  332. .file-avi > .imce-item-icon:before,
  333. .file-mpg > .imce-item-icon:before,
  334. .file-mov > .imce-item-icon:before,
  335. .file-flv > .imce-item-icon:before,
  336. .file-wmv > .imce-item-icon:before,
  337. .file-mp4 > .imce-item-icon:before {
  338. content: "\e605";
  339. }
  340. .file-txt > .imce-item-icon:before,
  341. .file-ini > .imce-item-icon:before {
  342. content: "\e602";
  343. }
  344. .file-mp3 > .imce-item-icon:before,
  345. .file-wav > .imce-item-icon:before,
  346. .file-wma > .imce-item-icon:before {
  347. content: "\e604";
  348. }
  349. .file-jpg > .imce-item-icon:before,
  350. .file-jpeg > .imce-item-icon:before,
  351. .file-bmp > .imce-item-icon:before,
  352. .file-tif > .imce-item-icon:before,
  353. .file-tiff > .imce-item-icon:before,
  354. .file-png > .imce-item-icon:before,
  355. .file-gif > .imce-item-icon:before {
  356. content: "\e603";
  357. }
  358. /* Content header */
  359. .imce-content-header {
  360. position: relative;
  361. left: 0;
  362. top: 0;
  363. }
  364. .imce-content-header .imce-item {
  365. background: #f1f1f1;
  366. box-shadow: 1px 1px 0 #fff inset;
  367. border-bottom-color: #ccc;
  368. }
  369. .imce-content-header .sorted {
  370. color: #00c;
  371. }
  372. .imce-content-header .asc:after {
  373. content: '\25b2';
  374. }
  375. .imce-content-header .desc:after {
  376. content: '\25bc';
  377. }
  378. .imce-content-header .imce-item-icon {
  379. width: 20px;
  380. text-align: center;
  381. }
  382. .imce-content-header .imce-item-icon:before {
  383. content: "";
  384. }
  385. /* Content status */
  386. .imce-content-status {
  387. position: absolute;
  388. left: 0;
  389. bottom: 0;
  390. }
  391. .imce-content-status > * {
  392. display: inline-block;
  393. background: #f5f5f5;
  394. border: 1px solid #ccc;
  395. border-width: 1px 1px 0 0;
  396. padding: 2px 8px;
  397. font-size: 0.9em;
  398. }
  399. /* Folder content */
  400. .imce-folder-content {
  401. padding-bottom: 20px;
  402. }
  403. /* Layer */
  404. .imce-layer {
  405. position: absolute;
  406. display: none;
  407. z-index: 10;
  408. background: #fff;
  409. }
  410. /* Message */
  411. .imce-message-popup {
  412. left: 20%;
  413. top: 25%;
  414. width: 60%;
  415. max-width: 500px;
  416. max-height: 50%;
  417. overflow: auto;
  418. z-index: 20;
  419. box-shadow: 0 1px 5px #999;
  420. border: 2px solid #555;
  421. border-radius: 3px;
  422. }
  423. .imce-message {
  424. position: relative;
  425. font-size: 1.2em;
  426. padding: 4px 8px 4px 24px;
  427. margin: 4px;
  428. word-wrap: break-word;
  429. }
  430. .imce-message:before {
  431. content: '\e613';
  432. position: absolute;
  433. top: 0;
  434. left: 0;
  435. margin: 4px;
  436. color: #00ce35;
  437. }
  438. .imce-message.warning:before {
  439. content: '\e611';
  440. color: #fe8f00;
  441. }
  442. .imce-message.error:before {
  443. content: '\e621';
  444. color: #f03;
  445. }
  446. .imce-ajax-error {
  447. white-space: pre-wrap;
  448. margin: 0;
  449. }
  450. /* Toolbar button popup */
  451. .imce-tbb-popup {
  452. padding: 10px;
  453. border: 2px solid #555;
  454. border-radius: 3px;
  455. box-shadow: 0 1px 5px #999;
  456. }
  457. /* Toolbar button */
  458. .imce-tbb {
  459. cursor: default;
  460. padding: 6px 7px;
  461. float: left;
  462. display: inline-block;
  463. }
  464. .imce-tbb:hover {
  465. background-color: #fafafa;
  466. }
  467. .imce-tbb:active,
  468. .imce-tbb.active {
  469. background-color: #fff;
  470. }
  471. .imce-tbb.disabled {
  472. opacity: 0.5;
  473. }
  474. .imce-tbb-title {
  475. display: inline-block;
  476. vertical-align: bottom;
  477. margin-left: 3px;
  478. text-shadow: 0 1px 0 #f5f5f5;
  479. }
  480. /*Newdir*/
  481. .imce-newfolder-form button {
  482. margin-left: -1px;
  483. }
  484. /* Upload */
  485. .imce-upload-form .imce-form-actions {
  486. margin-top: 0.5em;
  487. }
  488. .imce-upload-form.uq .imce-form-file,
  489. .imce-upload-form.auto-start .imce-form-actions {
  490. display: none;
  491. }
  492. /* Upload queue */
  493. .imce-uq-button {
  494. display: block;
  495. position: relative;
  496. overflow: hidden;
  497. cursor: default;
  498. padding: 6px 16px;
  499. background-color: #d1f8cd;
  500. border: 1px solid #a6dca1;
  501. text-align: center;
  502. }
  503. .imce-uq-button:before {
  504. margin-right: 5px;
  505. }
  506. .imce-uq-button:hover {
  507. background-color: #def9db;
  508. }
  509. .imce-uq-button:active {
  510. background-color: #e7fbe4;
  511. }
  512. .imce-uq-button input {
  513. position: absolute;
  514. opacity: 0;
  515. top: 0;
  516. left: -5px;
  517. width: 110%;
  518. height: 100%;
  519. padding: 0;
  520. margin: 0;
  521. border: 0;
  522. font: 50em monospace;
  523. }
  524. /* Upload queue items */
  525. .imce-uq-items {
  526. width: 20em;
  527. max-height: 20em;
  528. overflow: auto;
  529. overflow-x: hidden;
  530. margin: 7px 0 0;
  531. }
  532. .imce-uq-items:empty {
  533. margin: 0;
  534. }
  535. .imce-uqi {
  536. position: relative;
  537. background: #eaeaea;
  538. background: linear-gradient(180deg, #eee, #e5e5e5);
  539. font-size: 0.9em;
  540. padding: 7px;
  541. margin-bottom: 7px;
  542. border: 1px solid #ccc;
  543. box-shadow: 1px 1px 0 #fff inset;
  544. }
  545. .imce-uqi-cancel {
  546. position: absolute;
  547. right: 5px;
  548. top: 5px;
  549. line-height: 8px;
  550. color: #890017;
  551. cursor: pointer;
  552. }
  553. .imce-uqi-cancel:hover {
  554. color: #f00;
  555. }
  556. .imce-uqi-cancel:before {
  557. content: 'X';
  558. }
  559. .imce-uqi-info {
  560. width: 84%;
  561. }
  562. .imce-uqi-info span {
  563. display: inline-block;
  564. vertical-align: bottom;
  565. white-space: nowrap;
  566. }
  567. .imce-uqi-name {
  568. width: 72%;
  569. white-space: nowrap;
  570. overflow: hidden;
  571. text-overflow: ellipsis;
  572. }
  573. .imce-uqi-size {
  574. width: 28%;
  575. text-align: right;
  576. }
  577. .imce-uqi-progress {
  578. width: 84%;
  579. float: left;
  580. clear: left;
  581. background: #ddd;
  582. border: 1px solid #fff;
  583. box-shadow: 1px 1px 1px #666 inset;
  584. margin-top: 2px;
  585. }
  586. .imce-uqi-bar {
  587. width: 1px;
  588. height: 10px;
  589. background: #007cee;
  590. background: linear-gradient(90deg, #0084ff, #006dd2);
  591. box-shadow: 1px 1px 1px #666 inset;
  592. }
  593. .imce-uqi-percent {
  594. text-align: right;
  595. }
  596. /* Thumbnail grid style*/
  597. .thumbnail-grid .imce-content-header .imce-item {
  598. text-align: center;
  599. display: flex;
  600. }
  601. .thumbnail-grid .imce-content-header .imce-item > *{
  602. float: none;
  603. text-align: left;
  604. display: inline-block;
  605. width: auto;
  606. order: 2;
  607. }
  608. .thumbnail-grid .imce-content-header .imce-item .imce-item-name {
  609. order: 1;
  610. top: 0;
  611. margin-left: auto;
  612. }
  613. .thumbnail-grid .imce-content-header .imce-item .imce-item-size {
  614. margin-right: auto;
  615. }
  616. .thumbnail-grid .imce-content-header .imce-item .imce-item-name::before{
  617. content: "Sort by: ";
  618. color: black;
  619. margin-right: 3px;
  620. }
  621. .thumbnail-grid .imce-folder-content {
  622. display: grid;
  623. grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  624. justify-items: center;
  625. }
  626. .thumbnail-grid .imce-folder-content .imce-item {
  627. width: 100%;
  628. }
  629. .thumbnail-grid .imce-folder-content .imce-item > * {
  630. float: none;
  631. text-align: left;
  632. width: auto;
  633. padding: 1px 2px;
  634. }
  635. .thumbnail-grid .imce-folder-content .imce-item .imce-item-height{
  636. display: inline-block;
  637. }
  638. .thumbnail-grid .imce-folder-content .imce-item .imce-item-height::after{
  639. content: " X ";
  640. }
  641. .thumbnail-grid .imce-folder-content .imce-item .imce-item-width{
  642. display: inline-block;
  643. }