theme.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  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. .elfinder-quicklook-info-progress {
  86. background-color: gray;
  87. }
  88. .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover .ui-icon,
  89. .elfinder-mobile .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon,
  90. .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close:hover,
  91. .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close {
  92. background-color: #ff6252;
  93. border-color: #e5695d;
  94. background-image: url("../img/ui-icons_ffffff_256x240.png");
  95. }
  96. .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize:hover .ui-icon,
  97. .elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize .ui-icon,
  98. .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-minimize:hover,
  99. .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-minimize {
  100. background-color: #ffbc00;
  101. border-color: #e3a40b;
  102. background-image: url("../img/ui-icons_ffffff_256x240.png");
  103. }
  104. .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full:hover .ui-icon,
  105. .elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full .ui-icon,
  106. .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-full:hover,
  107. .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-full {
  108. background-color: #26c82f;
  109. border-color: #13ae10;
  110. background-image: url("../img/ui-icons_ffffff_256x240.png");
  111. }
  112. .std42-dialog .elfinder-help,
  113. .std42-dialog .elfinder-help .ui-widget-content {
  114. background: #fff;
  115. }
  116. /* navbar */
  117. .elfinder .elfinder-navbar {
  118. background: #dde4eb;
  119. }
  120. .elfinder-navbar .ui-state-hover {
  121. color: #000;
  122. background-color: #edf1f4;
  123. border-color: #bdcbd8;
  124. }
  125. .elfinder-navbar .ui-droppable-hover {
  126. background: transparent;
  127. }
  128. .elfinder-navbar .ui-state-active {
  129. background: #3875d7;
  130. border-color: #3875d7;
  131. color: #fff;
  132. }
  133. .elfinder-navbar .elfinder-droppable-active {
  134. background: #A7C6E5;
  135. }
  136. /* disabled elfinder */
  137. .elfinder-disabled .elfinder-navbar .ui-state-active {
  138. background: #dadada;
  139. border-color: #aaa;
  140. color: #777;
  141. }
  142. /* workzone */
  143. .elfinder-workzone {
  144. background: #fff;
  145. }
  146. /* current directory */
  147. /* Is in trash */
  148. .elfinder-cwd-wrapper.elfinder-cwd-wrapper-trash {
  149. background-color: #f0f0f0;
  150. }
  151. /* selected file in "icons" view */
  152. .elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-hover,
  153. .elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-active {
  154. background: #ccc;
  155. }
  156. /* type badge in "icons" view */
  157. /* default */
  158. .elfinder-cwd-icon:before {
  159. color: white;
  160. background-color: #798da7;
  161. }
  162. /* type */
  163. .elfinder-cwd-icon-text:before {
  164. background-color: #6f99e6
  165. }
  166. .elfinder-cwd-icon-image:before {
  167. background-color: #2ea26c
  168. }
  169. .elfinder-cwd-icon-audio:before {
  170. background-color: #7bad2a
  171. }
  172. .elfinder-cwd-icon-video:before {
  173. background-color: #322aad
  174. }
  175. /* subtype */
  176. .elfinder-cwd-icon-x-empty:before,
  177. .elfinder-cwd-icon-plain:before {
  178. background-color: #719be6
  179. }
  180. .elfinder-cwd-icon-rtf:before,
  181. .elfinder-cwd-icon-rtfd:before {
  182. background-color: #83aae7
  183. }
  184. .elfinder-cwd-icon-pdf:before {
  185. background-color: #db7424
  186. }
  187. .elfinder-cwd-icon-html:before {
  188. background-color: #82bc12
  189. }
  190. .elfinder-cwd-icon-xml:before,
  191. .elfinder-cwd-icon-css:before {
  192. background-color: #7c7c7c
  193. }
  194. .elfinder-cwd-icon-x-shockwave-flash:before {
  195. background-color: #f43a36
  196. }
  197. .elfinder-cwd-icon-zip:before,
  198. .elfinder-cwd-icon-x-zip:before,
  199. .elfinder-cwd-icon-x-xz:before,
  200. .elfinder-cwd-icon-x-7z-compressed:before,
  201. .elfinder-cwd-icon-x-gzip:before,
  202. .elfinder-cwd-icon-x-tar:before,
  203. .elfinder-cwd-icon-x-bzip:before,
  204. .elfinder-cwd-icon-x-bzip2:before,
  205. .elfinder-cwd-icon-x-rar:before,
  206. .elfinder-cwd-icon-x-rar-compressed:before {
  207. background-color: #97638e
  208. }
  209. .elfinder-cwd-icon-javascript:before,
  210. .elfinder-cwd-icon-x-javascript:before,
  211. .elfinder-cwd-icon-x-perl:before,
  212. .elfinder-cwd-icon-x-python:before,
  213. .elfinder-cwd-icon-x-ruby:before,
  214. .elfinder-cwd-icon-x-sh:before,
  215. .elfinder-cwd-icon-x-shellscript:before,
  216. .elfinder-cwd-icon-x-c:before,
  217. .elfinder-cwd-icon-x-csrc:before,
  218. .elfinder-cwd-icon-x-chdr:before,
  219. .elfinder-cwd-icon-x-c--:before,
  220. .elfinder-cwd-icon-x-c--src:before,
  221. .elfinder-cwd-icon-x-c--hdr:before,
  222. .elfinder-cwd-icon-x-java:before,
  223. .elfinder-cwd-icon-x-java-source:before,
  224. .elfinder-cwd-icon-x-php:before {
  225. background-color: #7c607c
  226. }
  227. .elfinder-cwd-icon-msword:before,
  228. .elfinder-cwd-icon-vnd-ms-office:before,
  229. .elfinder-cwd-icon-vnd-ms-word:before,
  230. .elfinder-cwd-icon-vnd-ms-word-document-macroEnabled-12:before,
  231. .elfinder-cwd-icon-vnd-ms-word-template-macroEnabled-12:before,
  232. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-wordprocessingml-document:before,
  233. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-wordprocessingml-template:before {
  234. background-color: #2b569a
  235. }
  236. .elfinder-cwd-icon-ms-excel:before,
  237. .elfinder-cwd-icon-vnd-ms-excel:before,
  238. .elfinder-cwd-icon-vnd-ms-excel-addin-macroEnabled-12:before,
  239. .elfinder-cwd-icon-vnd-ms-excel-sheet-binary-macroEnabled-12:before,
  240. .elfinder-cwd-icon-vnd-ms-excel-sheet-macroEnabled-12:before,
  241. .elfinder-cwd-icon-vnd-ms-excel-template-macroEnabled-12:before,
  242. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-spreadsheetml-sheet:before,
  243. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-spreadsheetml-template:before {
  244. background-color: #107b10
  245. }
  246. .elfinder-cwd-icon-vnd-ms-powerpoint:before,
  247. .elfinder-cwd-icon-vnd-ms-powerpoint-addin-macroEnabled-12:before,
  248. .elfinder-cwd-icon-vnd-ms-powerpoint-presentation-macroEnabled-12:before,
  249. .elfinder-cwd-icon-vnd-ms-powerpoint-slide-macroEnabled-12:before,
  250. .elfinder-cwd-icon-vnd-ms-powerpoint-slideshow-macroEnabled-12:before,
  251. .elfinder-cwd-icon-vnd-ms-powerpoint-template-macroEnabled-12:before,
  252. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-presentation:before,
  253. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-slide:before,
  254. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-slideshow:before,
  255. .elfinder-cwd-icon-vnd-openxmlformats-officedocument-presentationml-template:before {
  256. background-color: #d24625
  257. }
  258. .elfinder-cwd-icon-vnd-oasis-opendocument-chart:before,
  259. .elfinder-cwd-icon-vnd-oasis-opendocument-database:before,
  260. .elfinder-cwd-icon-vnd-oasis-opendocument-formula:before,
  261. .elfinder-cwd-icon-vnd-oasis-opendocument-graphics:before,
  262. .elfinder-cwd-icon-vnd-oasis-opendocument-graphics-template:before,
  263. .elfinder-cwd-icon-vnd-oasis-opendocument-image:before,
  264. .elfinder-cwd-icon-vnd-oasis-opendocument-presentation:before,
  265. .elfinder-cwd-icon-vnd-oasis-opendocument-presentation-template:before,
  266. .elfinder-cwd-icon-vnd-oasis-opendocument-spreadsheet:before,
  267. .elfinder-cwd-icon-vnd-oasis-opendocument-spreadsheet-template:before,
  268. .elfinder-cwd-icon-vnd-oasis-opendocument-text:before,
  269. .elfinder-cwd-icon-vnd-oasis-opendocument-text-master:before,
  270. .elfinder-cwd-icon-vnd-oasis-opendocument-text-template:before,
  271. .elfinder-cwd-icon-vnd-oasis-opendocument-text-web:before,
  272. .elfinder-cwd-icon-vnd-openofficeorg-extension:before {
  273. background-color: #00a500
  274. }
  275. .elfinder-cwd-icon-postscript:before {
  276. background-color: #ff5722
  277. }
  278. /* list view*/
  279. .elfinder-cwd table thead td.ui-state-hover {
  280. background: #ddd;
  281. }
  282. .elfinder-cwd table tr:nth-child(odd) {
  283. background-color: #edf3fe;
  284. }
  285. .elfinder-cwd table tr {
  286. border: 1px solid transparent;
  287. border-top: 1px solid #fff;
  288. }
  289. .elfinder-cwd .elfinder-droppable-active td {
  290. background: #A7C6E5;
  291. }
  292. .elfinder-cwd.elfinder-table-header-sticky table {
  293. border-top-color: #fff;
  294. }
  295. .elfinder-droppable-active .elfinder-cwd.elfinder-table-header-sticky table {
  296. border-top-color: #A7C6E5;
  297. }
  298. /* common selected background/color */
  299. .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
  300. .elfinder-cwd table td.ui-state-hover,
  301. .elfinder-button-menu .ui-state-hover {
  302. background: #3875d7;
  303. color: #fff;
  304. }
  305. /* disabled elfinder */
  306. .elfinder-disabled .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover,
  307. .elfinder-disabled .elfinder-cwd table td.ui-state-hover {
  308. background: #dadada;
  309. }
  310. /* statusbar */
  311. .elfinder .elfinder-statusbar {
  312. color: #555;
  313. }
  314. .elfinder .elfinder-statusbar a {
  315. text-decoration: none;
  316. color: #555;
  317. }
  318. /* contextmenu */
  319. .elfinder-contextmenu .ui-state-active {
  320. background: #6293df;
  321. color: #fff;
  322. }
  323. .elfinder-contextmenu .ui-state-hover {
  324. background: #3875d7;
  325. color: #fff;
  326. }
  327. .elfinder-contextmenu .ui-state-hover .elfinder-contextmenu-arrow {
  328. background-image: url('../img/arrows-active.png');
  329. }
  330. /* dialog */
  331. .elfinder .ui-dialog input:text.ui-state-hover,
  332. .elfinder .ui-dialog textarea.ui-state-hover {
  333. background-image: none;
  334. background-color: inherit;
  335. }
  336. .elfinder-notify-cancel .elfinder-notify-button {
  337. background-color: #707070;
  338. background-image: url("../img/ui-icons_ffffff_256x240.png");
  339. }
  340. .elfinder-notify-cancel .elfinder-notify-button.ui-state-hover {
  341. background-color: #aaa;
  342. }
  343. /* edit dialog */
  344. .elfinder-dialog-edit select.elfinder-edit-changed {
  345. border-bottom: 2px solid #13ae10;
  346. }
  347. /* tooltip */
  348. .ui-widget-content.elfinder-ui-tooltip {
  349. background-color: #fff;
  350. }
  351. .elfinder-ui-tooltip.ui-widget-shadow,
  352. .elfinder .elfinder-ui-tooltip.ui-widget-shadow {
  353. box-shadow: 2px 6px 4px -4px #cecdcd;
  354. }
  355. /* progressbar */
  356. .elfinder-ui-progressbar {
  357. background-color: #419bf3;
  358. }