theme.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. /**
  2. * MacOS X like theme for elFinder.
  3. * Required jquery ui "smoothness" theme.
  4. *
  5. * @author Dmitry (dio) Levashov
  6. **/
  7. /* input textarea */
  8. .elfinder input,
  9. .elfinder textarea {
  10. color: #000;
  11. background-color: #FFF;
  12. border-color: #ccc;
  13. }
  14. /* dialogs */
  15. .std42-dialog, .std42-dialog .ui-widget-content {
  16. background-color: #ededed;
  17. background-image: none;
  18. background-clip: content-box;
  19. }
  20. .std42-dialog.elfinder-bg-translucent {
  21. background-color: #fff;
  22. background-color: rgba(255, 255, 255, 0.9);
  23. }
  24. .std42-dialog.elfinder-bg-translucent .ui-widget-content {
  25. background-color: transparent;
  26. }
  27. .elfinder-quicklook-title {
  28. color: #fff;
  29. }
  30. .elfinder-quicklook-titlebar-icon {
  31. background-color: transparent;
  32. background-image: none;
  33. }
  34. .elfinder-quicklook-titlebar-icon .ui-icon {
  35. background-color: #d4d4d4;
  36. border-color: #8a8a8a;
  37. }
  38. .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover .ui-icon,
  39. .elfinder-mobile .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon,
  40. .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close:hover,
  41. .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close {
  42. background-color: #ff6252;
  43. border-color: #e5695d;
  44. background-image: url("../img/ui-icons_ffffff_256x240.png");
  45. }
  46. .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize:hover .ui-icon,
  47. .elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize .ui-icon,
  48. .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-minimize:hover,
  49. .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-minimize {
  50. background-color: #ffbc00;
  51. border-color: #e3a40b;
  52. background-image: url("../img/ui-icons_ffffff_256x240.png");
  53. }
  54. .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full:hover .ui-icon,
  55. .elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full .ui-icon,
  56. .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-full:hover,
  57. .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-full {
  58. background-color: #26c82f;
  59. border-color: #13ae10;
  60. background-image: url("../img/ui-icons_ffffff_256x240.png");
  61. }
  62. .std42-dialog .elfinder-help,
  63. .std42-dialog .elfinder-help .ui-widget-content {
  64. background: #fff;
  65. }
  66. /* navbar */
  67. .elfinder .elfinder-navbar {
  68. background: #dde4eb;
  69. }
  70. .elfinder-navbar .ui-state-hover {
  71. color: #000;
  72. background-color: #edf1f4;
  73. border-color: #bdcbd8;
  74. }
  75. .elfinder-navbar .ui-state-active {
  76. background: #3875d7;
  77. border-color: #3875d7;
  78. color: #fff;
  79. }
  80. .elfinder-navbar .ui-droppable-hover,
  81. .elfinder-navbar .elfinder-droppable-active {
  82. background: #A7C6E5;
  83. }
  84. /* disabled elfinder */
  85. .elfinder-disabled .elfinder-navbar .ui-state-active {
  86. background: #dadada;
  87. border-color: #aaa;
  88. color: #777;
  89. }
  90. /* workzone */
  91. .elfinder-workzone {
  92. background: #fff;
  93. }
  94. /* current directory */
  95. /* Is in trash */
  96. .elfinder-cwd-wrapper.elfinder-cwd-wrapper-trash {
  97. background-color: #f0f0f0;
  98. }
  99. /* selected file in "icons" view */
  100. .elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-hover,
  101. .elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-active {
  102. background: #ccc;
  103. }
  104. /* type badge in "icons" view */
  105. /* default */
  106. .elfinder-cwd-icon:before {
  107. color: white;
  108. background-color: #798da7;
  109. }
  110. /* type */
  111. .elfinder-cwd-icon-text:before {
  112. background-color: #6f99e6
  113. }
  114. .elfinder-cwd-icon-image:before {
  115. background-color: #2ea26c
  116. }
  117. .elfinder-cwd-icon-audio:before {
  118. background-color: #7bad2a
  119. }
  120. .elfinder-cwd-icon-video:before {
  121. background-color: #322aad
  122. }
  123. /* subtype */
  124. .elfinder-cwd-icon-x-empty:before,
  125. .elfinder-cwd-icon-plain:before {
  126. background-color: #719be6
  127. }
  128. .elfinder-cwd-icon-rtf:before,
  129. .elfinder-cwd-icon-rtfd:before {
  130. background-color: #83aae7
  131. }
  132. .elfinder-cwd-icon-pdf:before {
  133. background-color: #db7424
  134. }
  135. .elfinder-cwd-icon-html:before {
  136. background-color: #82bc12
  137. }
  138. .elfinder-cwd-icon-xml:before,
  139. .elfinder-cwd-icon-css:before {
  140. background-color: #7c7c7c
  141. }
  142. .elfinder-cwd-icon-x-shockwave-flash:before {
  143. background-color: #f43a36
  144. }
  145. .elfinder-cwd-icon-zip:before,
  146. .elfinder-cwd-icon-x-zip:before,
  147. .elfinder-cwd-icon-x-xz:before,
  148. .elfinder-cwd-icon-x-7z-compressed:before,
  149. .elfinder-cwd-icon-x-gzip:before,
  150. .elfinder-cwd-icon-x-tar:before,
  151. .elfinder-cwd-icon-x-bzip:before,
  152. .elfinder-cwd-icon-x-bzip2:before,
  153. .elfinder-cwd-icon-x-rar:before,
  154. .elfinder-cwd-icon-x-rar-compressed:before {
  155. background-color: #97638e
  156. }
  157. .elfinder-cwd-icon-javascript:before,
  158. .elfinder-cwd-icon-x-javascript:before,
  159. .elfinder-cwd-icon-x-perl:before,
  160. .elfinder-cwd-icon-x-python:before,
  161. .elfinder-cwd-icon-x-ruby:before,
  162. .elfinder-cwd-icon-x-sh:before,
  163. .elfinder-cwd-icon-x-shellscript:before,
  164. .elfinder-cwd-icon-x-c:before,
  165. .elfinder-cwd-icon-x-csrc:before,
  166. .elfinder-cwd-icon-x-chdr:before,
  167. .elfinder-cwd-icon-x-c--:before,
  168. .elfinder-cwd-icon-x-c--src:before,
  169. .elfinder-cwd-icon-x-c--hdr:before,
  170. .elfinder-cwd-icon-x-java:before,
  171. .elfinder-cwd-icon-x-java-source:before,
  172. .elfinder-cwd-icon-x-php:before {
  173. background-color: #7c607c
  174. }
  175. .elfinder-cwd-icon-msword:before,
  176. .elfinder-cwd-icon-vnd-ms-office:before,
  177. .elfinder-cwd-icon-vnd-ms-word:before,
  178. .elfinder-cwd-icon-vnd-ms-word-document-macroEnabled-12:before,
  179. .elfinder-cwd-icon-vnd-ms-word-template-macroEnabled-12:before,
  180. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-wordprocessingml-document:before,
  181. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-wordprocessingml-template:before {
  182. background-color: #2b569a
  183. }
  184. .elfinder-cwd-icon-ms-excel:before,
  185. .elfinder-cwd-icon-vnd-ms-excel:before,
  186. .elfinder-cwd-icon-vnd-ms-excel-addin-macroEnabled-12:before,
  187. .elfinder-cwd-icon-vnd-ms-excel-sheet-binary-macroEnabled-12:before,
  188. .elfinder-cwd-icon-vnd-ms-excel-sheet-macroEnabled-12:before,
  189. .elfinder-cwd-icon-vnd-ms-excel-template-macroEnabled-12:before,
  190. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-spreadsheetml-sheet:before,
  191. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-spreadsheetml-template:before {
  192. background-color: #107b10
  193. }
  194. .elfinder-cwd-icon-vnd-ms-powerpoint:before,
  195. .elfinder-cwd-icon-vnd-ms-powerpoint-addin-macroEnabled-12:before,
  196. .elfinder-cwd-icon-vnd-ms-powerpoint-presentation-macroEnabled-12:before,
  197. .elfinder-cwd-icon-vnd-ms-powerpoint-slide-macroEnabled-12:before,
  198. .elfinder-cwd-icon-vnd-ms-powerpoint-slideshow-macroEnabled-12:before,
  199. .elfinder-cwd-icon-vnd-ms-powerpoint-template-macroEnabled-12:before,
  200. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-presentation:before,
  201. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-slide:before,
  202. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-slideshow:before,
  203. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-template:before {
  204. background-color: #d24625
  205. }
  206. .elfinder-cwd-icon-vnd-oasis-opendocument-chart:before,
  207. .elfinder-cwd-icon-vnd-oasis-opendocument-database:before,
  208. .elfinder-cwd-icon-vnd-oasis-opendocument-formula:before,
  209. .elfinder-cwd-icon-vnd-oasis-opendocument-graphics:before,
  210. .elfinder-cwd-icon-vnd-oasis-opendocument-graphics-template:before,
  211. .elfinder-cwd-icon-vnd-oasis-opendocument-image:before,
  212. .elfinder-cwd-icon-vnd-oasis-opendocument-presentation:before,
  213. .elfinder-cwd-icon-vnd-oasis-opendocument-presentation-template:before,
  214. .elfinder-cwd-icon-vnd-oasis-opendocument-spreadsheet:before,
  215. .elfinder-cwd-icon-vnd-oasis-opendocument-spreadsheet-template:before,
  216. .elfinder-cwd-icon-vnd-oasis-opendocument-text:before,
  217. .elfinder-cwd-icon-vnd-oasis-opendocument-text-master:before,
  218. .elfinder-cwd-icon-vnd-oasis-opendocument-text-template:before,
  219. .elfinder-cwd-icon-vnd-oasis-opendocument-text-web:before,
  220. .elfinder-cwd-icon-vnd-openofficeorg-extension:before {
  221. background-color: #00a500
  222. }
  223. .elfinder-cwd-icon-postscript:before {
  224. background-color: #ff5722
  225. }
  226. /* list view*/
  227. .elfinder-cwd table thead td.ui-state-hover {
  228. background: #ddd;
  229. }
  230. .elfinder-cwd table tr:nth-child(odd) {
  231. background-color: #edf3fe;
  232. }
  233. .elfinder-cwd table tr {
  234. border: 1px solid transparent;
  235. border-top: 1px solid #fff;
  236. }
  237. .elfinder-cwd .elfinder-droppable-active td {
  238. background: #A7C6E5;
  239. }
  240. .elfinder-cwd.elfinder-table-header-sticky table {
  241. border-top-color: #fff;
  242. }
  243. .elfinder-droppable-active .elfinder-cwd.elfinder-table-header-sticky table {
  244. border-top-color: #A7C6E5;
  245. }
  246. /* common selected background/color */
  247. .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
  248. .elfinder-cwd table td.ui-state-hover,
  249. .elfinder-button-menu .ui-state-hover {
  250. background: #3875d7;
  251. color: #fff;
  252. }
  253. /* disabled elfinder */
  254. .elfinder-disabled .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
  255. .elfinder-disabled .elfinder-cwd table td.ui-state-hover {
  256. background: #dadada;
  257. }
  258. /* statusbar */
  259. .elfinder .elfinder-statusbar {
  260. color: #555;
  261. }
  262. .elfinder .elfinder-statusbar a {
  263. text-decoration: none;
  264. color: #555;
  265. }
  266. /* contextmenu */
  267. .elfinder-contextmenu .ui-state-active {
  268. background: #6293df;
  269. color: #fff;
  270. }
  271. .elfinder-contextmenu .ui-state-hover {
  272. background: #3875d7;
  273. color: #fff;
  274. }
  275. .elfinder-contextmenu .ui-state-hover .elfinder-contextmenu-arrow {
  276. background-image: url('../img/arrows-active.png');
  277. }
  278. /* dialog */
  279. .elfinder .ui-dialog input:text.ui-state-hover,
  280. .elfinder .ui-dialog textarea.ui-state-hover {
  281. background-image: none;
  282. background-color: inherit;
  283. }
  284. /* edit dialog */
  285. .elfinder-dialog-edit select.elfinder-edit-changed {
  286. border-bottom: 2px solid #13ae10;
  287. }
  288. /* tooltip */
  289. .ui-widget-content.elfinder-ui-tooltip {
  290. background-color: #fff;
  291. }
  292. .elfinder-ui-tooltip.ui-widget-shadow,
  293. .elfinder .elfinder-ui-tooltip.ui-widget-shadow {
  294. box-shadow: 2px 6px 4px -4px #cecdcd;
  295. }