LaravelTest
468 строк · 11.5 Кб
1@-webkit-keyframes passing-through {20% {3opacity: 0;4-webkit-transform: translateY(40px);5-moz-transform: translateY(40px);6-ms-transform: translateY(40px);7-o-transform: translateY(40px);8transform: translateY(40px);9}1030%, 70% {11opacity: 1;12-webkit-transform: translateY(0px);13-moz-transform: translateY(0px);14-ms-transform: translateY(0px);15-o-transform: translateY(0px);16transform: translateY(0px);17}18100% {19opacity: 0;20-webkit-transform: translateY(-40px);21-moz-transform: translateY(-40px);22-ms-transform: translateY(-40px);23-o-transform: translateY(-40px);24transform: translateY(-40px);25}26}
27@-moz-keyframes passing-through {280% {29opacity: 0;30-webkit-transform: translateY(40px);31-moz-transform: translateY(40px);32-ms-transform: translateY(40px);33-o-transform: translateY(40px);34transform: translateY(40px);35}3630%, 70% {37opacity: 1;38-webkit-transform: translateY(0px);39-moz-transform: translateY(0px);40-ms-transform: translateY(0px);41-o-transform: translateY(0px);42transform: translateY(0px);43}44100% {45opacity: 0;46-webkit-transform: translateY(-40px);47-moz-transform: translateY(-40px);48-ms-transform: translateY(-40px);49-o-transform: translateY(-40px);50transform: translateY(-40px);51}52}
53@keyframes passing-through {540% {55opacity: 0;56-webkit-transform: translateY(40px);57-moz-transform: translateY(40px);58-ms-transform: translateY(40px);59-o-transform: translateY(40px);60transform: translateY(40px);61}6230%, 70% {63opacity: 1;64-webkit-transform: translateY(0px);65-moz-transform: translateY(0px);66-ms-transform: translateY(0px);67-o-transform: translateY(0px);68transform: translateY(0px);69}70100% {71opacity: 0;72-webkit-transform: translateY(-40px);73-moz-transform: translateY(-40px);74-ms-transform: translateY(-40px);75-o-transform: translateY(-40px);76transform: translateY(-40px);77}78}
79@-webkit-keyframes slide-in {800% {81opacity: 0;82-webkit-transform: translateY(40px);83-moz-transform: translateY(40px);84-ms-transform: translateY(40px);85-o-transform: translateY(40px);86transform: translateY(40px);87}8830% {89opacity: 1;90-webkit-transform: translateY(0px);91-moz-transform: translateY(0px);92-ms-transform: translateY(0px);93-o-transform: translateY(0px);94transform: translateY(0px);95}96}
97@-moz-keyframes slide-in {980% {99opacity: 0;100-webkit-transform: translateY(40px);101-moz-transform: translateY(40px);102-ms-transform: translateY(40px);103-o-transform: translateY(40px);104transform: translateY(40px);105}10630% {107opacity: 1;108-webkit-transform: translateY(0px);109-moz-transform: translateY(0px);110-ms-transform: translateY(0px);111-o-transform: translateY(0px);112transform: translateY(0px);113}114}
115@keyframes slide-in {1160% {117opacity: 0;118-webkit-transform: translateY(40px);119-moz-transform: translateY(40px);120-ms-transform: translateY(40px);121-o-transform: translateY(40px);122transform: translateY(40px);123}12430% {125opacity: 1;126-webkit-transform: translateY(0px);127-moz-transform: translateY(0px);128-ms-transform: translateY(0px);129-o-transform: translateY(0px);130transform: translateY(0px);131}132}
133@-webkit-keyframes pulse {1340% {135-webkit-transform: scale(1);136-moz-transform: scale(1);137-ms-transform: scale(1);138-o-transform: scale(1);139transform: scale(1);140}14110% {142-webkit-transform: scale(1.1);143-moz-transform: scale(1.1);144-ms-transform: scale(1.1);145-o-transform: scale(1.1);146transform: scale(1.1);147}14820% {149-webkit-transform: scale(1);150-moz-transform: scale(1);151-ms-transform: scale(1);152-o-transform: scale(1);153transform: scale(1);154}155}
156@-moz-keyframes pulse {1570% {158-webkit-transform: scale(1);159-moz-transform: scale(1);160-ms-transform: scale(1);161-o-transform: scale(1);162transform: scale(1);163}16410% {165-webkit-transform: scale(1.1);166-moz-transform: scale(1.1);167-ms-transform: scale(1.1);168-o-transform: scale(1.1);169transform: scale(1.1);170}17120% {172-webkit-transform: scale(1);173-moz-transform: scale(1);174-ms-transform: scale(1);175-o-transform: scale(1);176transform: scale(1);177}178}
179@keyframes pulse {1800% {181-webkit-transform: scale(1);182-moz-transform: scale(1);183-ms-transform: scale(1);184-o-transform: scale(1);185transform: scale(1);186}18710% {188-webkit-transform: scale(1.1);189-moz-transform: scale(1.1);190-ms-transform: scale(1.1);191-o-transform: scale(1.1);192transform: scale(1.1);193}19420% {195-webkit-transform: scale(1);196-moz-transform: scale(1);197-ms-transform: scale(1);198-o-transform: scale(1);199transform: scale(1);200}201}
202.dropzone, .dropzone * {203box-sizing: border-box;204}
205
206.dropzone {207min-height: 150px;208border: 2px solid rgba(0, 0, 0, 0.3);209background: white;210padding: 20px 20px;211}
212.dropzone.dz-clickable {213cursor: pointer;214}
215.dropzone.dz-clickable * {216cursor: default;217}
218.dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {219cursor: pointer;220}
221.dropzone.dz-started .dz-message {222display: none;223}
224.dropzone.dz-drag-hover {225border-style: solid;226}
227.dropzone.dz-drag-hover .dz-message {228opacity: 0.5;229}
230.dropzone .dz-message {231text-align: center;232margin: 2em 0;233}
234.dropzone .dz-message .dz-button {235background: none;236color: inherit;237border: none;238padding: 0;239font: inherit;240cursor: pointer;241outline: inherit;242}
243.dropzone .dz-preview {244position: relative;245display: inline-block;246vertical-align: top;247margin: 16px;248min-height: 100px;249}
250.dropzone .dz-preview:hover {251z-index: 1000;252}
253.dropzone .dz-preview:hover .dz-details {254opacity: 1;255}
256.dropzone .dz-preview.dz-file-preview .dz-image {257border-radius: 20px;258background: #999;259background: linear-gradient(to bottom, #eee, #ddd);260}
261.dropzone .dz-preview.dz-file-preview .dz-details {262opacity: 1;263}
264.dropzone .dz-preview.dz-image-preview {265background: white;266}
267.dropzone .dz-preview.dz-image-preview .dz-details {268-webkit-transition: opacity 0.2s linear;269-moz-transition: opacity 0.2s linear;270-ms-transition: opacity 0.2s linear;271-o-transition: opacity 0.2s linear;272transition: opacity 0.2s linear;273}
274.dropzone .dz-preview .dz-remove {275font-size: 14px;276text-align: center;277display: block;278cursor: pointer;279border: none;280}
281.dropzone .dz-preview .dz-remove:hover {282text-decoration: underline;283}
284.dropzone .dz-preview:hover .dz-details {285opacity: 1;286}
287.dropzone .dz-preview .dz-details {288z-index: 20;289position: absolute;290top: 0;291left: 0;292opacity: 0;293font-size: 13px;294min-width: 100%;295max-width: 100%;296padding: 2em 1em;297text-align: center;298color: rgba(0, 0, 0, 0.9);299line-height: 150%;300}
301.dropzone .dz-preview .dz-details .dz-size {302margin-bottom: 1em;303font-size: 16px;304}
305.dropzone .dz-preview .dz-details .dz-filename {306white-space: nowrap;307}
308.dropzone .dz-preview .dz-details .dz-filename:hover span {309border: 1px solid rgba(200, 200, 200, 0.8);310background-color: rgba(255, 255, 255, 0.8);311}
312.dropzone .dz-preview .dz-details .dz-filename:not(:hover) {313overflow: hidden;314text-overflow: ellipsis;315}
316.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {317border: 1px solid transparent;318}
319.dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span {320background-color: rgba(255, 255, 255, 0.4);321padding: 0 0.4em;322border-radius: 3px;323}
324.dropzone .dz-preview:hover .dz-image img {325-webkit-transform: scale(1.05, 1.05);326-moz-transform: scale(1.05, 1.05);327-ms-transform: scale(1.05, 1.05);328-o-transform: scale(1.05, 1.05);329transform: scale(1.05, 1.05);330-webkit-filter: blur(8px);331filter: blur(8px);332}
333.dropzone .dz-preview .dz-image {334border-radius: 20px;335overflow: hidden;336width: 120px;337height: 120px;338position: relative;339display: block;340z-index: 10;341}
342.dropzone .dz-preview .dz-image img {343display: block;344}
345.dropzone .dz-preview.dz-success .dz-success-mark {346-webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);347-moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);348-ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);349-o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);350animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);351}
352.dropzone .dz-preview.dz-error .dz-error-mark {353opacity: 1;354-webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);355-moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);356-ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);357-o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);358animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);359}
360.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {361pointer-events: none;362opacity: 0;363z-index: 500;364position: absolute;365display: block;366top: 50%;367left: 50%;368margin-left: -27px;369margin-top: -27px;370}
371.dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg {372display: block;373width: 54px;374height: 54px;375}
376.dropzone .dz-preview.dz-processing .dz-progress {377opacity: 1;378-webkit-transition: all 0.2s linear;379-moz-transition: all 0.2s linear;380-ms-transition: all 0.2s linear;381-o-transition: all 0.2s linear;382transition: all 0.2s linear;383}
384.dropzone .dz-preview.dz-complete .dz-progress {385opacity: 0;386-webkit-transition: opacity 0.4s ease-in;387-moz-transition: opacity 0.4s ease-in;388-ms-transition: opacity 0.4s ease-in;389-o-transition: opacity 0.4s ease-in;390transition: opacity 0.4s ease-in;391}
392.dropzone .dz-preview:not(.dz-processing) .dz-progress {393-webkit-animation: pulse 6s ease infinite;394-moz-animation: pulse 6s ease infinite;395-ms-animation: pulse 6s ease infinite;396-o-animation: pulse 6s ease infinite;397animation: pulse 6s ease infinite;398}
399.dropzone .dz-preview .dz-progress {400opacity: 1;401z-index: 1000;402pointer-events: none;403position: absolute;404height: 16px;405left: 50%;406top: 50%;407margin-top: -8px;408width: 80px;409margin-left: -40px;410background: rgba(255, 255, 255, 0.9);411-webkit-transform: scale(1);412border-radius: 8px;413overflow: hidden;414}
415.dropzone .dz-preview .dz-progress .dz-upload {416background: #333;417background: linear-gradient(to bottom, #666, #444);418position: absolute;419top: 0;420left: 0;421bottom: 0;422width: 0;423-webkit-transition: width 300ms ease-in-out;424-moz-transition: width 300ms ease-in-out;425-ms-transition: width 300ms ease-in-out;426-o-transition: width 300ms ease-in-out;427transition: width 300ms ease-in-out;428}
429.dropzone .dz-preview.dz-error .dz-error-message {430display: block;431}
432.dropzone .dz-preview.dz-error:hover .dz-error-message {433opacity: 1;434pointer-events: auto;435}
436.dropzone .dz-preview .dz-error-message {437pointer-events: none;438z-index: 1000;439position: absolute;440display: block;441display: none;442opacity: 0;443-webkit-transition: opacity 0.3s ease;444-moz-transition: opacity 0.3s ease;445-ms-transition: opacity 0.3s ease;446-o-transition: opacity 0.3s ease;447transition: opacity 0.3s ease;448border-radius: 8px;449font-size: 13px;450top: 130px;451left: -10px;452width: 140px;453background: #be2626;454background: linear-gradient(to bottom, #be2626, #a92222);455padding: 0.5em 1.2em;456color: white;457}
458.dropzone .dz-preview .dz-error-message:after {459content: "";460position: absolute;461top: -6px;462left: 64px;463width: 0;464height: 0;465border-left: 6px solid transparent;466border-right: 6px solid transparent;467border-bottom: 6px solid #be2626;468}