- cleaning...

- loading spinner !
- stuff i can't remember
This commit is contained in:
jean-emmanuel 2015-08-26 22:37:24 +02:00 • committed by bordun
parent 385c52f732
commit a238d56e61
6 changed files with 509 additions and 344 deletions

View file

@ -40,10 +40,44 @@ $sidepanel-size:300px;
}
$scrollbar-margin:5px;
::-webkit-scrollbar {
width: 20px;
height:20px;opacity:1;
}
::-webkit-scrollbar-track-piece {
background: rgba(0,0,0,.2);
&:vertical {
border-left:$scrollbar-margin solid $color-fg;
}
&:horizontal {
border-top:$scrollbar-margin solid $color-fg;
}
}
::-webkit-scrollbar-corner {
background: none;
}
::-webkit-scrollbar-thumb {
background:$bg-button;
width:10px!important;
opacity:1;
&:vertical {
border-left:$scrollbar-margin solid $color-fg;
}
&:horizontal {
border-top:$scrollbar-margin solid $color-fg;
}
}
* ::selection{
background:rgba(0,0,0,0);
* {
-webkit-user-select: none;
}
.inspector *{
-webkit-user-select: initial;
}
.inspector *::selection{
background:$color-accent!important;
@ -53,6 +87,13 @@ input:focus::selection{
}
html, body {
height:100%;
overflow:hidden;
@ -219,7 +260,15 @@ body {
white-space: pre;
word-wrap: break-word;
width:100%;
max-height: 300px;
overflow-y: auto;
&::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb {
border-color:$color-border!important
}
&::-webkit-scrollbar-thumb{
background:$color-bg!important;
opacity:0.6!important;
}
}
}
}
@ -387,24 +436,58 @@ a {
}
.spinner {
position: absolute;
top:50%;
left:50%;
margin:-15px 0 0 -15px;
height:30px;
width:30px;
border-radius: 50%;
border:2px solid rgba(0,0,0,.2);
border-top-color:$color-accent;
animation: spin .5s linear infinite;
}
@keyframes spin {
0% {transform: rotate(0deg);}
100% {transform: rotate(360deg);}
}
// WIDGETS
.widget {
display:inline-block;
height:100%;
overflow: visible;
position:relative;
font-size:13px;
// box-shadow: 0 0 0 1px $color-border;
padding-top:35px;
padding-bottom: 8px;
//padding-bottom: 8px;
vertical-align:top;
overflow: hidden;
// overflow: hidden;
margin-right: 10px;
&:last-child {
margin-right: 0
}
.title {
z-index: 1;
padding:10px 10px;
position:absolute;
top:0px;
@ -496,7 +579,7 @@ width:400px;
.stack-wrapper {
height:100%;
//height:100%;
}
.stack-wrapper .widget {
@ -515,6 +598,11 @@ width:400px;
border-right:0;
border-left:0;
margin-top: 10px;
&:after {
content:"";
display:block;
clear:both;
}
}
.stack .fader {
width:100%;
@ -534,6 +622,9 @@ width:400px;
height:70px;
padding: 0 0 0 10px;
position: static;
input {
bottom:0
}
}
.stack .widget .title {
width:30%;
@ -587,8 +678,8 @@ width:400px;
.xy-wrapper {
width:400px;
padding: 10px 0px 140px;
height:540px;
padding: 10px 0px 90px;
height:490px;
overflow: hidden;
.value {
margin-top:10px;