progresses on sharing #192 Progresses on #192 Progresses on #192 Little API update Build assets Former-commit-id: 68e70132ea857eb65638c0496c030be1c181ed1c [formerly d67b74280b7f12c3e20de6abe31fcfc26e8f43ef] [formerly 8fe91e003c9616da23f0e673ad4bb89d792a41c8 [formerly 868434360592aa0280e0d631840750d53a564cd3]] Former-commit-id: 7d22ff468e580601d0c3e0921734b587b92484f8 [formerly 55f9d830636f9bbf15e0453d1ee7de6ee5d5191e] Former-commit-id: ad411a5979521dda9ea9683d86e4c8ae7b3c9e6f
209 lines
3.1 KiB
CSS
209 lines
3.1 KiB
CSS
.prompt {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
background: #fff;
|
|
border: 1px solid rgba(0, 0, 0, 0.075);
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
padding: 2em;
|
|
max-width: 25em;
|
|
width: 90%;
|
|
max-height: 95%;
|
|
z-index: 99999;
|
|
animation: .1s show forwards;
|
|
}
|
|
|
|
.overlay {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
z-index: 9999;
|
|
animation: .1s show forwards;
|
|
}
|
|
|
|
.prompt h3 {
|
|
margin: 0;
|
|
font-weight: 500;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
.prompt p {
|
|
font-size: .9em;
|
|
color: rgba(0, 0, 0, 0.8);
|
|
margin: .5em 0 1em;
|
|
}
|
|
|
|
.prompt input:not([type="submit"]) {
|
|
width: 100%;
|
|
border: 1px solid #dadada;
|
|
line-height: 1;
|
|
padding: .3em;
|
|
margin: .3em 0;
|
|
}
|
|
|
|
.prompt code {
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.prompt div:last-of-type {
|
|
margin-top: 1em;
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.prompt .cancel {
|
|
background-color: #ECEFF1;
|
|
color: #37474F;
|
|
}
|
|
|
|
.prompt .cancel:hover {
|
|
background-color: #e9eaeb;
|
|
}
|
|
|
|
.prompt.success i,
|
|
.prompt.error i {
|
|
color: #F44336;
|
|
display: block;
|
|
margin: 0 auto .15em;
|
|
text-align: center;
|
|
font-size: 5em;
|
|
}
|
|
|
|
.prompt.success h3,
|
|
.prompt.error h3 {
|
|
text-align: center;
|
|
}
|
|
|
|
.prompt.error button:not(.cancel) {
|
|
background-color: #F44336
|
|
}
|
|
|
|
.prompt.success i {
|
|
color: #8BC34A;
|
|
}
|
|
|
|
.prompt.success button {
|
|
background-color: #8BC34A;
|
|
}
|
|
|
|
|
|
/* * * * * * * * * * * * * * * *
|
|
* PROMPT - MOVE *
|
|
* * * * * * * * * * * * * * * */
|
|
|
|
.file-list {
|
|
max-height: 50vh;
|
|
overflow: auto;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.file-list li {
|
|
width: 100%;
|
|
user-select: none;
|
|
border-radius: .2em;
|
|
padding: .3em;
|
|
}
|
|
|
|
.file-list li[aria-selected=true] {
|
|
background: #2196f3 !important;
|
|
color: #fff !important;
|
|
transition: .1s ease all;
|
|
}
|
|
|
|
.file-list li:hover {
|
|
background-color: #e9eaeb;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.file-list li:before {
|
|
content: "folder";
|
|
color: #6f6f6f;
|
|
vertical-align: middle;
|
|
line-height: 1.4;
|
|
font-family: 'Material Icons';
|
|
font-size: 1.75em;
|
|
margin-right: .25em;
|
|
}
|
|
|
|
.file-list li[aria-selected=true]:before {
|
|
color: white;
|
|
}
|
|
|
|
.prompt#download {
|
|
max-width: 15em;
|
|
}
|
|
|
|
.prompt#download button {
|
|
width: 100%;
|
|
display: block;
|
|
margin: 0 0 1em;
|
|
background-color: #ECEFF1;
|
|
color: #37474F;
|
|
}
|
|
|
|
.prompt#download button:last-of-type {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.help {
|
|
max-width: 24em;
|
|
}
|
|
|
|
.help ul {
|
|
padding: 0;
|
|
margin: 1em 0;
|
|
list-style: none;
|
|
}
|
|
|
|
@keyframes show {
|
|
0% {
|
|
display: none;
|
|
opacity: 0;
|
|
}
|
|
1% {
|
|
display: block;
|
|
opacity: 0;
|
|
}
|
|
100% {
|
|
display: block;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.prompt#share ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.prompt#share ul li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.prompt#share ul li a {
|
|
color: #2196F3;
|
|
cursor: pointer;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.prompt#share ul li .action i {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.prompt#share ul li input,
|
|
.prompt#share ul li select {
|
|
padding: .2em;
|
|
margin-right: .5em;
|
|
border: 1px solid #dadada;
|
|
}
|