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