theme.css 11 KB

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