ui: more 3d for raised widgets

This commit is contained in:
jean-emmanuel 2017-07-16 22:42:05 +02:00
parent 49f3c51b0a
commit 9d53643312
8 changed files with 32 additions and 13 deletions

View file

@ -149,7 +149,7 @@
white-space: nowrap;
border-top:1rem solid var(--color-fg);
resize: none;
font-size: 12rem!important;
font-size: 12rem!important;
}
.error label{
border-right: 1rem solid rgba(red, .75);

View file

@ -100,7 +100,7 @@ body {
left: 0;
right: 0;
bottom: 0;
opacity: 0.35;
opacity: 0.4;
background: radial-gradient( ellipse at center, transparent, var(--color-bg));
}
&:before {

View file

@ -103,7 +103,7 @@
left: 0;
right: 0;
bottom: 0;
opacity: 0.35;
opacity: 0.4;
background: radial-gradient( ellipse at center, transparent, var(--color-bg));
}
&:before {

View file

@ -10,7 +10,7 @@
left: 0;
right: 0;
bottom: 0;
opacity: 0.35;
opacity: 0.4;
background: radial-gradient( ellipse at center, transparent, var(--color-bg));
}
}

View file

@ -59,7 +59,8 @@
display: flex;
flex-direction: column;
justify-content: center;
box-shadow: 0 0 0 1rem var(--color-light) inset;
box-shadow: 0 0 0 1rem var(--color-light) inset,
0 1rem 0 0 var(--color-light) inset;
&:before {
content:"";
@ -83,7 +84,7 @@
left: 0;
right: 0;
bottom: 0;
opacity: 0.35;
opacity: 0.4;
background: radial-gradient( ellipse at center, transparent, var(--color-bg));
}
&:before {
@ -167,6 +168,8 @@
position: relative;
overflow: hidden;
cursor: pointer;
box-shadow: 0 0 0 1rem var(--color-light) inset;
select {
display: block;
width: 100%;
@ -174,7 +177,6 @@
display: flex;
vertical-align: middle;
background:transparent;
border: 1rem solid var(--color-light);
padding: 0 20rem 0 10rem;
-webkit-appearance:none;
appearance:none;

View file

@ -18,7 +18,8 @@
content:"";
flex:1;
opacity: 1;
box-shadow: 0 0 0 1rem var(--color-light) inset;
box-shadow: 0 0 0 1rem var(--color-light) inset,
0 1rem 0 0 var(--color-light) inset;
border-radius: inherit;
}
@ -30,7 +31,7 @@
left: 0;
right: 0;
bottom: 0;
opacity: 0.35;
opacity: 0.4;
background: radial-gradient( ellipse at center, transparent, var(--color-bg));
}
@ -83,9 +84,10 @@
box-shadow: 0 0 0 1rem var(--color-light), 0 0 0 1rem var(--color-bg) inset;
z-index: 1;
border-radius: inherit;
opacity: 0.7;
opacity: 0.9;
}
.toggle.on:after {
opacity: 0.7;
background: var(--color-custom);
}
.toggle:before {