Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/assets/dropzone/css/dropzone.css
Views: 687
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45.dropzone,6.dropzone *,7.dropzone-previews,8.dropzone-previews * {9-webkit-box-sizing: border-box;10-moz-box-sizing: border-box;11box-sizing: border-box;12}13.dropzone {14position: relative;15border: 1px solid rgba(0,0,0,0.08);16background: rgba(0,0,0,0.02);17padding: 1em;18}19.dropzone.dz-clickable {20cursor: pointer;21}22.dropzone.dz-clickable .dz-message,23.dropzone.dz-clickable .dz-message span {24cursor: pointer;25}26.dropzone.dz-clickable * {27cursor: default;28}29.dropzone .dz-message {30opacity: 1;31-ms-filter: none;32filter: none;33}34.dropzone.dz-drag-hover {35border-color: rgba(0,0,0,0.15);36background: rgba(0,0,0,0.04);37}38.dropzone.dz-started .dz-message {39display: none;40}41.dropzone .dz-preview,42.dropzone-previews .dz-preview {43background: rgba(255,255,255,0.8);44position: relative;45display: inline-block;46margin: 17px;47vertical-align: top;48border: 1px solid #acacac;49padding: 6px 6px 6px 6px;50}51.dropzone .dz-preview.dz-file-preview [data-dz-thumbnail],52.dropzone-previews .dz-preview.dz-file-preview [data-dz-thumbnail] {53display: none;54}55.dropzone .dz-preview .dz-details,56.dropzone-previews .dz-preview .dz-details {57width: 100px;58height: 100px;59position: relative;60background: #ebebeb;61padding: 5px;62margin-bottom: 22px;63}64.dropzone .dz-preview .dz-details .dz-filename,65.dropzone-previews .dz-preview .dz-details .dz-filename {66overflow: hidden;67height: 100%;68}69.dropzone .dz-preview .dz-details img,70.dropzone-previews .dz-preview .dz-details img {71position: absolute;72top: 0;73left: 0;74width: 100px;75height: 100px;76}77.dropzone .dz-preview .dz-details .dz-size,78.dropzone-previews .dz-preview .dz-details .dz-size {79position: absolute;80bottom: -28px;81left: 3px;82height: 28px;83line-height: 28px;84}85.dropzone .dz-preview.dz-error .dz-error-mark,86.dropzone-previews .dz-preview.dz-error .dz-error-mark {87display: block;88}89.dropzone .dz-preview.dz-success .dz-success-mark,90.dropzone-previews .dz-preview.dz-success .dz-success-mark {91display: block;92}93.dropzone .dz-preview:hover .dz-details img,94.dropzone-previews .dz-preview:hover .dz-details img {95display: none;96}97.dropzone .dz-preview .dz-success-mark,98.dropzone-previews .dz-preview .dz-success-mark,99.dropzone .dz-preview .dz-error-mark,100.dropzone-previews .dz-preview .dz-error-mark {101display: none;102position: absolute;103width: 40px;104height: 40px;105font-size: 30px;106text-align: center;107right: -10px;108top: -10px;109}110.dropzone .dz-preview .dz-success-mark,111.dropzone-previews .dz-preview .dz-success-mark {112color: #8cc657;113}114.dropzone .dz-preview .dz-error-mark,115.dropzone-previews .dz-preview .dz-error-mark {116color: #ee162d;117}118.dropzone .dz-preview .dz-progress,119.dropzone-previews .dz-preview .dz-progress {120position: absolute;121top: 100px;122left: 6px;123right: 6px;124height: 6px;125background: #d7d7d7;126display: none;127}128.dropzone .dz-preview .dz-progress .dz-upload,129.dropzone-previews .dz-preview .dz-progress .dz-upload {130position: absolute;131top: 0;132bottom: 0;133left: 0;134width: 0%;135background-color: #8cc657;136}137.dropzone .dz-preview.dz-processing .dz-progress,138.dropzone-previews .dz-preview.dz-processing .dz-progress {139display: block;140}141.dropzone .dz-preview .dz-error-message,142.dropzone-previews .dz-preview .dz-error-message {143display: none;144position: absolute;145top: -5px;146left: -20px;147background: rgba(245,245,245,0.8);148padding: 8px 10px;149color: #800;150min-width: 140px;151max-width: 500px;152z-index: 500;153}154.dropzone .dz-preview:hover.dz-error .dz-error-message,155.dropzone-previews .dz-preview:hover.dz-error .dz-error-message {156display: block;157}158.dropzone {159border: 1px solid rgba(0,0,0,0.03);160min-height: 360px;161-webkit-border-radius: 3px;162border-radius: 3px;163background: rgba(0,0,0,0.03);164padding: 23px;165}166.dropzone .dz-default.dz-message {167opacity: 1;168-ms-filter: none;169filter: none;170-webkit-transition: opacity 0.3s ease-in-out;171-moz-transition: opacity 0.3s ease-in-out;172-o-transition: opacity 0.3s ease-in-out;173-ms-transition: opacity 0.3s ease-in-out;174transition: opacity 0.3s ease-in-out;175background-image: url(~!url-loader!dropzone/images/spritemap.png);176background-repeat: no-repeat;177background-position: 0 0;178position: absolute;179width: 428px;180height: 123px;181margin-left: -214px;182margin-top: -61.5px;183top: 50%;184left: 50%;185}186@media all and (-webkit-min-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) {187.dropzone .dz-default.dz-message {188background-image: url(~!url-loader!dropzone/images/[email protected]);189-webkit-background-size: 428px 406px;190-moz-background-size: 428px 406px;191background-size: 428px 406px;192}193}194.dropzone .dz-default.dz-message span {195display: none;196}197.dropzone.dz-square .dz-default.dz-message {198background-position: 0 -123px;199width: 268px;200margin-left: -134px;201height: 174px;202margin-top: -87px;203}204.dropzone.dz-drag-hover .dz-message {205opacity: 0.15;206-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=15)";207filter: alpha(opacity=15);208}209.dropzone.dz-started .dz-message {210display: block;211opacity: 0;212-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";213filter: alpha(opacity=0);214}215.dropzone .dz-preview,216.dropzone-previews .dz-preview {217-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.16);218box-shadow: 1px 1px 4px rgba(0,0,0,0.16);219font-size: 14px;220}221.dropzone .dz-preview.dz-image-preview:hover .dz-details img,222.dropzone-previews .dz-preview.dz-image-preview:hover .dz-details img {223display: block;224opacity: 0.1;225-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";226filter: alpha(opacity=10);227}228.dropzone .dz-preview.dz-success .dz-success-mark,229.dropzone-previews .dz-preview.dz-success .dz-success-mark {230opacity: 1;231-ms-filter: none;232filter: none;233}234.dropzone .dz-preview.dz-error .dz-error-mark,235.dropzone-previews .dz-preview.dz-error .dz-error-mark {236opacity: 1;237-ms-filter: none;238filter: none;239}240.dropzone .dz-preview.dz-error .dz-progress .dz-upload,241.dropzone-previews .dz-preview.dz-error .dz-progress .dz-upload {242background: #ee1e2d;243}244.dropzone .dz-preview .dz-error-mark,245.dropzone-previews .dz-preview .dz-error-mark,246.dropzone .dz-preview .dz-success-mark,247.dropzone-previews .dz-preview .dz-success-mark {248display: block;249opacity: 0;250-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";251filter: alpha(opacity=0);252-webkit-transition: opacity 0.4s ease-in-out;253-moz-transition: opacity 0.4s ease-in-out;254-o-transition: opacity 0.4s ease-in-out;255-ms-transition: opacity 0.4s ease-in-out;256transition: opacity 0.4s ease-in-out;257background-image: url(~!url-loader!dropzone/images/spritemap.png);258background-repeat: no-repeat;259}260@media all and (-webkit-min-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) {261.dropzone .dz-preview .dz-error-mark,262.dropzone-previews .dz-preview .dz-error-mark,263.dropzone .dz-preview .dz-success-mark,264.dropzone-previews .dz-preview .dz-success-mark {265background-image: url(~!url-loader!dropzone/images/[email protected]);266-webkit-background-size: 428px 406px;267-moz-background-size: 428px 406px;268background-size: 428px 406px;269}270}271.dropzone .dz-preview .dz-error-mark span,272.dropzone-previews .dz-preview .dz-error-mark span,273.dropzone .dz-preview .dz-success-mark span,274.dropzone-previews .dz-preview .dz-success-mark span {275display: none;276}277.dropzone .dz-preview .dz-error-mark,278.dropzone-previews .dz-preview .dz-error-mark {279background-position: -268px -123px;280}281.dropzone .dz-preview .dz-success-mark,282.dropzone-previews .dz-preview .dz-success-mark {283background-position: -268px -163px;284}285.dropzone .dz-preview .dz-progress .dz-upload,286.dropzone-previews .dz-preview .dz-progress .dz-upload {287-webkit-animation: loading 0.4s linear infinite;288-moz-animation: loading 0.4s linear infinite;289-o-animation: loading 0.4s linear infinite;290-ms-animation: loading 0.4s linear infinite;291animation: loading 0.4s linear infinite;292-webkit-transition: width 0.3s ease-in-out;293-moz-transition: width 0.3s ease-in-out;294-o-transition: width 0.3s ease-in-out;295-ms-transition: width 0.3s ease-in-out;296transition: width 0.3s ease-in-out;297-webkit-border-radius: 2px;298border-radius: 2px;299position: absolute;300top: 0;301left: 0;302width: 0%;303height: 100%;304background-image: url(~!url-loader!dropzone/images/spritemap.png);305background-repeat: repeat-x;306background-position: 0px -400px;307}308@media all and (-webkit-min-device-pixel-ratio:1.5),(-o-min-device-pixel-ratio:1.5/1),(min-device-pixel-ratio:1.5),(min-resolution:138dpi),(min-resolution:1.5dppx) {309.dropzone .dz-preview .dz-progress .dz-upload,310.dropzone-previews .dz-preview .dz-progress .dz-upload {311background-image: url(~!url-loader!dropzone/images/[email protected]);312-webkit-background-size: 428px 406px;313-moz-background-size: 428px 406px;314background-size: 428px 406px;315}316}317.dropzone .dz-preview.dz-success .dz-progress,318.dropzone-previews .dz-preview.dz-success .dz-progress {319display: block;320opacity: 0;321-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";322filter: alpha(opacity=0);323-webkit-transition: opacity 0.4s ease-in-out;324-moz-transition: opacity 0.4s ease-in-out;325-o-transition: opacity 0.4s ease-in-out;326-ms-transition: opacity 0.4s ease-in-out;327transition: opacity 0.4s ease-in-out;328}329.dropzone .dz-preview .dz-error-message,330.dropzone-previews .dz-preview .dz-error-message {331display: block;332opacity: 0;333-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";334filter: alpha(opacity=0);335-webkit-transition: opacity 0.3s ease-in-out;336-moz-transition: opacity 0.3s ease-in-out;337-o-transition: opacity 0.3s ease-in-out;338-ms-transition: opacity 0.3s ease-in-out;339transition: opacity 0.3s ease-in-out;340}341.dropzone .dz-preview:hover.dz-error .dz-error-message,342.dropzone-previews .dz-preview:hover.dz-error .dz-error-message {343opacity: 1;344-ms-filter: none;345filter: none;346}347.dropzone a.dz-remove,348.dropzone-previews a.dz-remove {349background-image: -webkit-linear-gradient(top, #fafafa, #eee);350background-image: -moz-linear-gradient(top, #fafafa, #eee);351background-image: -o-linear-gradient(top, #fafafa, #eee);352background-image: -ms-linear-gradient(top, #fafafa, #eee);353background-image: linear-gradient(to bottom, #fafafa, #eee);354-webkit-border-radius: 2px;355border-radius: 2px;356border: 1px solid #eee;357text-decoration: none;358display: block;359padding: 4px 5px;360text-align: center;361color: #aaa;362margin-top: 26px;363}364.dropzone a.dz-remove:hover,365.dropzone-previews a.dz-remove:hover {366color: #666;367}368@-moz-keyframes loading {3690% {370background-position: 0 -400px;371}372373100% {374background-position: -7px -400px;375}376}377@-webkit-keyframes loading {3780% {379background-position: 0 -400px;380}381382100% {383background-position: -7px -400px;384}385}386@-o-keyframes loading {3870% {388background-position: 0 -400px;389}390391100% {392background-position: -7px -400px;393}394}395@-ms-keyframes loading {3960% {397background-position: 0 -400px;398}399400100% {401background-position: -7px -400px;402}403}404@keyframes loading {4050% {406background-position: 0 -400px;407}408409100% {410background-position: -7px -400px;411}412}413414415