v1 on fire
This commit is contained in:
parent
be693864ab
commit
2edccfbb79
27 changed files with 279 additions and 115 deletions
|
|
@ -143,6 +143,7 @@ osc-inspector-checkbox {
|
|||
color: transparent;
|
||||
margin-top: -1rem;
|
||||
margin-left: 1rem;
|
||||
pointer-events: none;
|
||||
}
|
||||
&.on {
|
||||
position: relative;
|
||||
|
|
@ -220,7 +221,17 @@ osc-inspector-select {
|
|||
width: $field-height;
|
||||
background: var(--color-foreground);
|
||||
margin-left: 4rem;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
appearance:none;
|
||||
|
||||
&::-webkit-color-swatch {
|
||||
border: none;
|
||||
}
|
||||
&::-webkit-color-swatch-wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,9 @@
|
|||
--alpha-fill-on: 0.25;
|
||||
--alpha-fill: var(--alpha-fill-off);
|
||||
|
||||
--alpha-pips: 0.7;
|
||||
|
||||
|
||||
color: var(--color-text);
|
||||
|
||||
|
||||
|
|
@ -66,6 +69,13 @@
|
|||
flex: 1;
|
||||
}
|
||||
|
||||
&.no-interaction {
|
||||
pointer-events: none;
|
||||
> * {
|
||||
pointer-events: none
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -90,6 +90,15 @@
|
|||
|
||||
}
|
||||
|
||||
// @keyframes menu-widget-fade {
|
||||
// 0% {
|
||||
// transform: scale(0)
|
||||
// }
|
||||
// 100% {
|
||||
// transform: scale(1)
|
||||
// }
|
||||
// }
|
||||
|
||||
.menu-container {
|
||||
|
||||
--alpha-fill: 0.75;
|
||||
|
|
@ -114,25 +123,41 @@
|
|||
inner {
|
||||
flex:1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
@include pseudo-stroke();
|
||||
}
|
||||
|
||||
padding: 4rem;
|
||||
.text {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.icon {
|
||||
order: 1;
|
||||
display: block;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 30rem;
|
||||
height: calc(100% - 2rem);
|
||||
font-family: FontAwesome;
|
||||
color: var(--color-stroke);
|
||||
font-size: 120%;
|
||||
border-left: 1rem solid var(--color-stroke);
|
||||
opacity: var(--alpha-stroke);
|
||||
margin: 1rem 0;
|
||||
&:after {
|
||||
content:"\f0d7";
|
||||
font-family: FontAwesome;
|
||||
position: absolute;
|
||||
color: var(--color-stroke);
|
||||
right: calc(var(--widget-padding) + 8rem);
|
||||
margin-top: -1rem;
|
||||
font-size: 120%;
|
||||
opacity: var(--alpha-fill)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
menu {
|
||||
|
||||
// animation: menu-widget-fade .1s forwards;
|
||||
|
|
@ -305,3 +330,80 @@
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.dropdown-container {
|
||||
|
||||
--alpha-fill: 0.75;
|
||||
--widget-padding: 1rem;
|
||||
|
||||
border-radius: 0!important; // border radius breaks it somehow
|
||||
z-index: initial!important;
|
||||
// contain: style size;
|
||||
|
||||
--size: 300rem;
|
||||
--grid-columns: 2;
|
||||
overflow: hidden;
|
||||
|
||||
|
||||
&.on {
|
||||
z-index: 9999999999999!important;
|
||||
contain: layout;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
|
||||
inner {
|
||||
flex:1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: stretch;
|
||||
position: relative;
|
||||
@include pseudo-stroke();
|
||||
}
|
||||
|
||||
.text {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.icon {
|
||||
order: 1;
|
||||
display: block;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 30rem;
|
||||
font-family: FontAwesome;
|
||||
color: var(--color-stroke);
|
||||
font-size: 120%;
|
||||
border-left: 1rem solid var(--color-stroke);
|
||||
opacity: var(--alpha-stroke);
|
||||
&:after {
|
||||
content:"\f0d7";
|
||||
margin-top: -1rem;
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
width: 100%;
|
||||
-webkit-appearance:none;
|
||||
-moz-appearance:none;
|
||||
appearance:none;
|
||||
background: var(--color-foreground);
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
option:first-child{
|
||||
display:none
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
}
|
||||
|
||||
.frame {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,11 @@
|
|||
--alpha-fill-off: 0;
|
||||
--alpha-fill-on: 1;
|
||||
|
||||
will-change: --opacity;
|
||||
|
||||
inner {
|
||||
|
||||
|
||||
--color-fill: var(--color-led);
|
||||
--alpha-fill: calc(var(--alpha-fill-off) + var(--opacity) * (var(--alpha-fill-on) - var(--alpha-fill-off)));
|
||||
|
||||
|
|
@ -17,6 +21,7 @@
|
|||
|
||||
&:before, &:after {
|
||||
border-radius: var(--border-radius);
|
||||
will-change: opacity;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue