v1 refactor wip

This commit is contained in:
bordun 2020-02-23 12:34:22 +01:00
parent e57cd32438
commit 9c2a624aa0
109 changed files with 5639 additions and 4272 deletions

View file

@ -1,9 +1,8 @@
@import 'reset';
@import 'scrollbars';
@import 'mixins';
@import 'layout';
@import 'notifications';
@import 'ui';
@import 'editor';
@import 'sidepanel';
@ -59,12 +58,12 @@ body {
font-size:11rem;
line-height:100%;
font-weight: 500;
text-transform: uppercase;
// text-transform: uppercase;
letter-spacing: 1rem;
}
.btn {
background: var(--color-raised);
background: var(--color-foreground);
display: block;
padding:15rem;
position: relative;
@ -72,7 +71,6 @@ body {
text-overflow: ellipsis;
overflow: hidden;
cursor: pointer;
box-shadow: 0 0 0 1rem var(--color-light) inset;
&.small {
padding:8rem;
padding-right: 15rem;
@ -493,98 +491,6 @@ body {
.popup {
position: fixed;
top:0;
left:0;
right:0;
bottom:0;
padding:10%;
align-items:center;
justify-content: center;
z-index:1000000;
transform: translate3d(0,0,0);
display: none;
&.show {
display: flex;
}
&:before {
content: "";
position: absolute;
top:0;
left:0;
right:0;
bottom:0;
background:var(--color-bg);
opacity: .5;
}
.popup-title {
position: relative;
background:var(--color-raised);
border-bottom: 1rem solid var(--color-bg);
box-shadow: 0 0 0 1rem var(--color-light) inset;
height:46rem;
flex-shrink: 0;
display: flex;
padding:0 15rem;
align-items: center;
.title {
flex:1;
overflow: hidden;
text-overflow: ellipsis;
}
i {
margin-right: 5rem;
}
&.closable {
padding-right: 0;
}
.popup-label {
flex:1;
}
.closer {
padding:0 15rem;
height: 100%;
flex-shrink: 0;
display: flex;
align-items: center;
text-align: center;
color:var(--color-text-fade);
cursor: pointer;
i {
pointer-events: none;
}
}
}
.popup-wrapper {
display: flex;
flex-direction: column;
align-items: stretch;
width:auto;
max-width:600rem;
max-height: 100%;
position: relative;
overflow: hidden;
box-shadow: 1rem 0 0 0 var(--color-bg),
0 1rem 0 0 var(--color-bg),
1rem 1rem 0 0 var(--color-bg),
0 1rem 0 0 var(--color-light) inset;
border-left:1rem solid var(--color-bg);
border-top:1rem solid var(--color-bg);
.popup-content {
height:100%;
width:100%;
flex:1;
padding:10rem;
overflow-y:auto;
white-space: normal;
background:var(--color-fg);
box-shadow: 0 0 0 1rem var(--color-light) inset;
text-transform: none;
position: relative;
}
}
}
.error-stack {
> span {