dropzone-rtl.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  1. /*
  2. * The MIT License
  3. * Copyright (c) 2012 Matias Meno <m@tias.me>
  4. */
  5. @-webkit-keyframes passing-through {
  6. 0% {
  7. opacity: 0;
  8. -webkit-transform: translateY(40px);
  9. transform: translateY(40px); }
  10. 30%, 70% {
  11. opacity: 1;
  12. -webkit-transform: translateY(0px);
  13. transform: translateY(0px); }
  14. 100% {
  15. opacity: 0;
  16. -webkit-transform: translateY(-40px);
  17. transform: translateY(-40px); } }
  18. @keyframes passing-through {
  19. 0% {
  20. opacity: 0;
  21. -webkit-transform: translateY(40px);
  22. transform: translateY(40px); }
  23. 30%, 70% {
  24. opacity: 1;
  25. -webkit-transform: translateY(0px);
  26. transform: translateY(0px); }
  27. 100% {
  28. opacity: 0;
  29. -webkit-transform: translateY(-40px);
  30. transform: translateY(-40px); } }
  31. @-webkit-keyframes slide-in {
  32. 0% {
  33. opacity: 0;
  34. -webkit-transform: translateY(40px);
  35. transform: translateY(40px); }
  36. 30% {
  37. opacity: 1;
  38. -webkit-transform: translateY(0px);
  39. transform: translateY(0px); } }
  40. @keyframes slide-in {
  41. 0% {
  42. opacity: 0;
  43. -webkit-transform: translateY(40px);
  44. transform: translateY(40px); }
  45. 30% {
  46. opacity: 1;
  47. -webkit-transform: translateY(0px);
  48. transform: translateY(0px); } }
  49. @-webkit-keyframes pulse {
  50. 0% {
  51. -webkit-transform: scale(1);
  52. transform: scale(1); }
  53. 10% {
  54. -webkit-transform: scale(1.1);
  55. transform: scale(1.1); }
  56. 20% {
  57. -webkit-transform: scale(1);
  58. transform: scale(1); } }
  59. @keyframes pulse {
  60. 0% {
  61. -webkit-transform: scale(1);
  62. transform: scale(1); }
  63. 10% {
  64. -webkit-transform: scale(1.1);
  65. transform: scale(1.1); }
  66. 20% {
  67. -webkit-transform: scale(1);
  68. transform: scale(1); } }
  69. .dropzone, .dropzone * {
  70. -webkit-box-sizing: border-box;
  71. box-sizing: border-box; }
  72. .dropzone {
  73. min-height: 150px;
  74. border: 2px solid rgba(0, 0, 0, 0.3);
  75. background: white;
  76. padding: 20px 20px; }
  77. .dropzone.dz-clickable {
  78. cursor: pointer; }
  79. .dropzone.dz-clickable * {
  80. cursor: default; }
  81. .dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {
  82. cursor: pointer; }
  83. .dropzone.dz-started .dz-message {
  84. display: none; }
  85. .dropzone.dz-drag-hover {
  86. border-style: solid; }
  87. .dropzone.dz-drag-hover .dz-message {
  88. opacity: 0.5; }
  89. .dropzone .dz-message {
  90. text-align: center;
  91. margin: 2em 0; }
  92. .dropzone .dz-preview {
  93. position: relative;
  94. display: inline-block;
  95. vertical-align: top;
  96. margin: 16px;
  97. min-height: 100px; }
  98. .dropzone .dz-preview:hover {
  99. z-index: 1000; }
  100. .dropzone .dz-preview:hover .dz-details {
  101. opacity: 1; }
  102. .dropzone .dz-preview.dz-file-preview .dz-image {
  103. border-radius: 20px;
  104. background: #999;
  105. background: -webkit-gradient(linear, right top, right bottom, from(#eee), to(#ddd));
  106. background: linear-gradient(to bottom, #eee, #ddd); }
  107. .dropzone .dz-preview.dz-file-preview .dz-details {
  108. opacity: 1; }
  109. .dropzone .dz-preview.dz-image-preview {
  110. background: white; }
  111. .dropzone .dz-preview.dz-image-preview .dz-details {
  112. -webkit-transition: opacity 0.2s linear;
  113. transition: opacity 0.2s linear; }
  114. .dropzone .dz-preview .dz-remove {
  115. font-size: 14px;
  116. text-align: center;
  117. display: block;
  118. cursor: pointer;
  119. border: none; }
  120. .dropzone .dz-preview .dz-remove:hover {
  121. text-decoration: underline; }
  122. .dropzone .dz-preview:hover .dz-details {
  123. opacity: 1; }
  124. .dropzone .dz-preview .dz-details {
  125. z-index: 20;
  126. position: absolute;
  127. top: 0;
  128. right: 0;
  129. opacity: 0;
  130. font-size: 13px;
  131. min-width: 100%;
  132. max-width: 100%;
  133. padding: 2em 1em;
  134. text-align: center;
  135. color: rgba(0, 0, 0, 0.9);
  136. line-height: 150%; }
  137. .dropzone .dz-preview .dz-details .dz-size {
  138. margin-bottom: 1em;
  139. font-size: 16px; }
  140. .dropzone .dz-preview .dz-details .dz-filename {
  141. white-space: nowrap; }
  142. .dropzone .dz-preview .dz-details .dz-filename:hover span {
  143. border: 1px solid rgba(200, 200, 200, 0.8);
  144. background-color: rgba(255, 255, 255, 0.8); }
  145. .dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
  146. overflow: hidden;
  147. text-overflow: ellipsis; }
  148. .dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
  149. border: 1px solid transparent; }
  150. .dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span {
  151. background-color: rgba(255, 255, 255, 0.4);
  152. padding: 0 0.4em;
  153. border-radius: 3px; }
  154. .dropzone .dz-preview:hover .dz-image img {
  155. -webkit-transform: scale(1.05, 1.05);
  156. transform: scale(1.05, 1.05);
  157. -webkit-filter: blur(8px);
  158. filter: blur(8px); }
  159. .dropzone .dz-preview .dz-image {
  160. border-radius: 20px;
  161. overflow: hidden;
  162. width: 120px;
  163. height: 120px;
  164. position: relative;
  165. display: block;
  166. z-index: 10; }
  167. .dropzone .dz-preview .dz-image img {
  168. display: block; }
  169. .dropzone .dz-preview.dz-success .dz-success-mark {
  170. -webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
  171. animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
  172. .dropzone .dz-preview.dz-error .dz-error-mark {
  173. opacity: 1;
  174. -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
  175. animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
  176. .dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
  177. pointer-events: none;
  178. opacity: 0;
  179. z-index: 500;
  180. position: absolute;
  181. display: block;
  182. top: 50%;
  183. right: 50%;
  184. margin-right: -27px;
  185. margin-top: -27px; }
  186. .dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg {
  187. display: block;
  188. width: 54px;
  189. height: 54px; }
  190. .dropzone .dz-preview.dz-processing .dz-progress {
  191. opacity: 1;
  192. -webkit-transition: all 0.2s linear;
  193. transition: all 0.2s linear; }
  194. .dropzone .dz-preview.dz-complete .dz-progress {
  195. opacity: 0;
  196. -webkit-transition: opacity 0.4s ease-in;
  197. transition: opacity 0.4s ease-in; }
  198. .dropzone .dz-preview:not(.dz-processing) .dz-progress {
  199. -webkit-animation: pulse 6s ease infinite;
  200. animation: pulse 6s ease infinite; }
  201. .dropzone .dz-preview .dz-progress {
  202. opacity: 1;
  203. z-index: 1000;
  204. pointer-events: none;
  205. position: absolute;
  206. height: 16px;
  207. right: 50%;
  208. top: 50%;
  209. margin-top: -8px;
  210. width: 80px;
  211. margin-right: -40px;
  212. background: rgba(255, 255, 255, 0.9);
  213. -webkit-transform: scale(1);
  214. border-radius: 8px;
  215. overflow: hidden; }
  216. .dropzone .dz-preview .dz-progress .dz-upload {
  217. background: #333;
  218. background: -webkit-gradient(linear, right top, right bottom, from(#666), to(#444));
  219. background: linear-gradient(to bottom, #666, #444);
  220. position: absolute;
  221. top: 0;
  222. right: 0;
  223. bottom: 0;
  224. width: 0;
  225. -webkit-transition: width 300ms ease-in-out;
  226. transition: width 300ms ease-in-out; }
  227. .dropzone .dz-preview.dz-error .dz-error-message {
  228. display: block; }
  229. .dropzone .dz-preview.dz-error:hover .dz-error-message {
  230. opacity: 1;
  231. pointer-events: auto; }
  232. .dropzone .dz-preview .dz-error-message {
  233. pointer-events: none;
  234. z-index: 1000;
  235. position: absolute;
  236. display: block;
  237. display: none;
  238. opacity: 0;
  239. -webkit-transition: opacity 0.3s ease;
  240. transition: opacity 0.3s ease;
  241. border-radius: 8px;
  242. font-size: 13px;
  243. top: 130px;
  244. right: -10px;
  245. width: 140px;
  246. background: #be2626;
  247. background: -webkit-gradient(linear, right top, right bottom, from(#be2626), to(#a92222));
  248. background: linear-gradient(to bottom, #be2626, #a92222);
  249. padding: 0.5em 1.2em;
  250. color: white; }
  251. .dropzone .dz-preview .dz-error-message:after {
  252. content: '';
  253. position: absolute;
  254. top: -6px;
  255. right: 64px;
  256. width: 0;
  257. height: 0;
  258. border-right: 6px solid transparent;
  259. border-left: 6px solid transparent;
  260. border-bottom: 6px solid #be2626; }
  261. /* THEME COLORs
  262. ========================================================================== */
  263. /* Looks good on chrome default color profile */
  264. /* looks good in sRGB but washed up on chrome default
  265. $color-primary: #826bb0;
  266. $color-success: #31cb55;
  267. $color-info: #5e93ec;
  268. $color-warning: #eec559;
  269. $color-danger: #dc4b92;
  270. $color-fusion: darken(desaturate(adjust-hue($color-primary, 5), 80%), 25%); */
  271. /* Color Polarity
  272. ========================================================================== */
  273. /* PAINTBUCKET MIXER
  274. ========================================================================== */
  275. /* the grays */
  276. /* the sapphires */
  277. /* the emeralds */
  278. /* the amethyths */
  279. /* the topaz */
  280. /* the rubies */
  281. /* the graphites */
  282. /* Define universal border difition (div outlines, etc)
  283. ========================================================================== */
  284. /* MOBILE BREAKPOINT & GUTTERS (contains some bootstrap responsive overrides)
  285. ========================================================================== */
  286. /* define when mobile menu activates, here we are declearing (lg) so it targets the one after it */
  287. /* bootstrap reference xs: 0, sm: 544px, md: 768px, lg: 992px, xl: 1200px*/
  288. /* global var used for spacing*/
  289. /* Uniform Padding variable */
  290. /* Heads up! This is a global scoped variable - changing may impact the whole template */
  291. /* BOOTSTRAP OVERRIDES (bootstrap variables)
  292. ========================================================================== */
  293. /* usage: theme-colors("primary"); */
  294. /* forms */
  295. /*$input-height: calc(2.25rem + 1px); //I had to add this because the input gruops was having improper height for some reason... */
  296. /* links */
  297. /* checkbox */
  298. /*$custom-file-height-inner: calc(2.25rem - 1px);*/
  299. /* not part of bootstrap variable */
  300. /* custom checkbox */
  301. /* custom range */
  302. /* select */
  303. /* badge */
  304. /* cards */
  305. /*border radius*/
  306. /* alert */
  307. /* toast */
  308. /* breadcrumb */
  309. /* input button */
  310. /* nav link */
  311. /* nav, tabs, pills */
  312. /* tables */
  313. /* dropdowns */
  314. /* dropdowns sizes */
  315. /* popovers */
  316. /* tooltips */
  317. /* modal */
  318. /* reference guide
  319. http://www.standardista.com/px-to-rem-conversion-if-root-font-size-is-16px/
  320. 8px = 0.5rem
  321. 9px = 0.5625rem
  322. 10px = 0.625rem
  323. 11px = 0.6875rem
  324. 12px = 0.75rem
  325. 13px = 0.8125rem
  326. 14px = 0.875rem
  327. 15px = 0.9375rem
  328. 16px = 1rem (base)
  329. 17px = 1.0625rem
  330. 18px = 1.125rem
  331. 19px = 1.1875rem
  332. 20px = 1.25rem
  333. 21px = 1.3125rem
  334. 22px = 1.375rem
  335. 24px = 1.5rem
  336. 25px = 1.5625rem
  337. 26px = 1.625rem
  338. 28px = 1.75rem
  339. 30px = 1.875rem
  340. 32px = 2rem
  341. 34px = 2.125rem
  342. 36px = 2.25rem
  343. 38px = 2.375rem
  344. 40px = 2.5rem
  345. */
  346. /* Fonts */
  347. /* carousel */
  348. /* BASE VARS
  349. ========================================================================== */
  350. /* font vars below will auto change to rem values using function rem($value)*/
  351. /* 11px */
  352. /* 12px */
  353. /* 12.5px */
  354. /* 14px */
  355. /* 15px */
  356. /* 16px */
  357. /* 28px */
  358. /* Font Family
  359. ========================================================================== */
  360. /*hint: you can also try the font called 'Poppins' by replacing the font 'Roboto' */
  361. /* ANIMATIONS
  362. ========================================================================== */
  363. /* this addresses all animation related to nav hide to nav minify */
  364. /* Z-INDEX declearation
  365. ========================================================================== */
  366. /* we adjust bootstrap z-index to be higher than our higest z-index*/
  367. /* CUSTOM ICON PREFIX
  368. ========================================================================== */
  369. /* PRINT CSS (landscape or portrait)
  370. ========================================================================== */
  371. /* landscape or portrait */
  372. /* auto, letter */
  373. /* Common Element Variables
  374. ========================================================================== */
  375. /* Z-index decleartion "birds eye view"
  376. ========================================================================== */
  377. /* Components
  378. ========================================================================== */
  379. /* PAGE HEADER STUFF
  380. ========================================================================== */
  381. /* colors */
  382. /* height */
  383. /* logo */
  384. /* try not to go beywond the width of $main_nav_width value */
  385. /* you may need to change this depending on your logo design */
  386. /* adjust this as you see fit : left, right, center */
  387. /* icon font size (not button) */
  388. /* search input box */
  389. /* suggestion: #ccced0*/
  390. /* btn */
  391. /* dropdown: app list */
  392. /* badge */
  393. /* COMPONENTS & MODS */
  394. /* NAVIGATION STUFF
  395. Guide:
  396. aside.page-sidebar ($nav-width, $nav-background)
  397. .page-logo
  398. .primary-nav
  399. .info-card
  400. ul.nav-menu
  401. li
  402. a (parent level-0..., $nav-link-color, $nav-link-hover-color, $nav-link-hover-bg-color, $nav-link-hover-left-border-color)
  403. icon
  404. span
  405. collapse-sign
  406. ul.nav-menu-sub-one
  407. li
  408. a ($nav-level-1... $nav-sub-link-height)
  409. span
  410. collapse-sign
  411. ul.nav-menu-sub-two
  412. li
  413. a ($nav-level-2... $nav-sub-link-height)
  414. span
  415. p.nav-title ($nav-title-*...)
  416. ========================================================================== */
  417. /* main navigation */
  418. /* left panel */
  419. /* nav parent level-0 */
  420. /* nav icon sizes */
  421. /* badge default */
  422. /* all child */
  423. /* nav title */
  424. /* nav Minify */
  425. /* when the menu pops on hover */
  426. /* navigation Width */
  427. /* partial visibility of the menu */
  428. /* top navigation */
  429. /* nav Info Card (appears below the logo) */
  430. /* width is auto */
  431. /* nav DL labels for all child */
  432. /* will be pulled to left as a negative value */
  433. /* MISC Settings
  434. ========================================================================== */
  435. /* List Table */
  436. /* PAGE SETTINGS
  437. ========================================================================== */
  438. /* PAGE BREADCRUMB
  439. ========================================================================== */
  440. /* PAGE COMPONENT PANELS
  441. ========================================================================== */
  442. /* PAGE COMPONENT PROGRESSBARS
  443. ========================================================================== */
  444. /* PAGE COMPONENT MESSENGER
  445. ========================================================================== */
  446. /* FOOTER
  447. ========================================================================== */
  448. /* GLOBALS
  449. ========================================================================== */
  450. /* ACCESSIBILITIES */
  451. /* SHORTCUT BUTTON (appears on bottom right of the page) */
  452. .dropzone {
  453. border: 2px dashed #dedede;
  454. border-radius: 5px;
  455. background: #f5f5f5;
  456. display: -webkit-box;
  457. display: -ms-flexbox;
  458. display: flex;
  459. -ms-flex-wrap: wrap;
  460. flex-wrap: wrap;
  461. padding: 0.5rem; }
  462. .dropzone i {
  463. font-size: 3rem; }
  464. .dropzone .dz-message {
  465. color: rgba(0, 0, 0, 0.54);
  466. font-weight: 500;
  467. font-size: initial;
  468. text-transform: uppercase;
  469. width: 100%; }
  470. .dropzone .dz-preview .dz-image {
  471. display: -webkit-box;
  472. display: -ms-flexbox;
  473. display: flex;
  474. -webkit-box-align: center;
  475. -ms-flex-align: center;
  476. align-items: center;
  477. -webkit-box-pack: center;
  478. -ms-flex-pack: center;
  479. justify-content: center;
  480. border-radius: 0; }
  481. .dropzone .dz-preview .dz-image img {
  482. border-radius: 4px; }
  483. .dropzone .dz-preview.dz-image-preview {
  484. background: transparent; }
  485. .dropzone .dz-message {
  486. font-weight: normal;
  487. text-transform: none;
  488. color: inherit; }
  489. .dropzone.dz-drag-hover {
  490. border-style: dashed;
  491. border-color: #886ab5; }
  492. .dropzone .dz-preview.dz-file-preview .dz-image {
  493. border-radius: 4px; }