ui progress

This commit is contained in:
bordun 2020-02-25 18:45:25 +01:00
parent 76c7e7b8a6
commit c67c2b4c50
37 changed files with 773 additions and 788 deletions

View file

@ -62,33 +62,6 @@ body {
letter-spacing: 1rem;
}
.btn {
background: var(--color-foreground);
display: block;
padding:15rem;
position: relative;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
cursor: pointer;
&.small {
padding:8rem;
padding-right: 15rem;
}
&.tiny {
padding:6rem;
}
&.warning {
background:firebrick;
}
&.disabled {
pointer-events: none;
color:var(--color-text-fade);
}
&.align-center {
text-align: center
}
}
@ -99,122 +72,6 @@ body {
#lobby {
background: var(--color-bg);
position: absolute;
top:0;
left:0;
right: 0;
bottom:0;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
overflow-y: auto;
padding:20rem;
.main {
width:600rem;
max-width: 100%;
max-height:100%;
display: flex;
flex-direction: column;
opacity: 0;
transition: opacity .1s;
&.show {
opacity: 1;
overflow: auto;
}
}
.list {
overflow: auto;
background: var(--color-fg);
border-top:2rem solid var(--color-bg);
text-transform: none;
font-weight: 500;
flex: 1 1 auto;
a {
&:focus {
&:after {
content:"";
position: absolute;
top:0;
left:0;
bottom:0;
right:0;
background: var(--color-accent);
opacity: 0.1;
}
}
}
}
.header {
padding:22rem 20rem 20rem;
white-space: nowrap;
text-overflow: ellipsis;
flex-grow: 0;
background-color: var(--color-fg);
color:var(--color-accent);
letter-spacing: 1rem;
font-size: 12rem;
background:var(--color-raised);
box-shadow: 0 0 0 1rem var(--color-light) inset;
}
.footer {
background: var(--color-fg);
white-space: nowrap;
text-overflow: ellipsis;
flex-grow: 0;
border-top:2rem solid var(--color-bg);
a {
background:var(--color-raised);
&:focus {
&:after {
content:"";
position: absolute;
top:0;
left:0;
bottom:0;
right:0;
background: var(--color-accent);
opacity: 0.1;
}
}
}
}
a {
display: block;
overflow: hidden;
padding:17rem;
padding-right:39rem;
position: relative;
white-space: nowrap;
text-overflow: ellipsis;
background: none;
border-bottom:1rem solid var(--color-bg);
em {
pointer-events: none;
}
&:last-child {
border-bottom:0;
}
span {
position: absolute;
right:0rem;
top:0rem;
padding:17rem;
color:var(--color-text-fader);
z-index: 1;
&:hover {
color:var(--color-accent);
}
i {
pointer-events: none;
}
}
}
}
#launcher {
overflow: initial;
@ -523,93 +380,4 @@ body {
background-repeat: no-repeat;
}
.file-browser {
width: 540px;
height: 360px;
max-width: 100%;
display: flex;
flex-direction: column;
flex: 1;
.ariane {
height: 40rem;
flex-shrink: 0;
line-height: 40rem;
padding-left: 10rem;
}
.file-list {
overflow-y: auto;
flex:1;
background: var(--color-bg);
padding: 0 10rem;
}
.file {
position: relative;
height: 40rem;
line-height: 40rem;
input {
position: absolute;
width:100%;
height: 100%;
opacity: 0;
cursor: pointer;
}
.label {
position: absolute;
width:100%;
height: 100%;
pointer-events: none;
white-space: nowrap;
span {
display: block;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
}
}
input:checked + .label {
color: var(--color-custom);
&:before {
content:"";
position: absolute;
left:-10rem;
right:-10rem;
height: 100%;
background: var(--color-custom);
opacity: 0.1;
}
}
}
.file-actions {
display: flex;
flex-direction: row;
align-items: flex-end;
justify-content: flex-end;
height: 40rem;
flex-shrink: 0;
margin-top: 10rem;
div {
margin-left: 10rem;
text-transform: uppercase;
text-overflow: clip;
}
i {
pointer-events: none;
}
.save-as {
flex:1;
height: 40rem;
line-height: 40rem;
border: 0;
padding: 0 10rem;
font-size: 120%;
top: -1rem;
position: relative;
background: var(--color-bg);
&[disabled] {
pointer-events: none;
}
}
}
}
@import 'themes/default';