uiToolbar on the way, screen sized windows by default
This commit is contained in:
parent
9eb5dd5060
commit
e530e33900
17 changed files with 252 additions and 51 deletions
|
|
@ -2,6 +2,9 @@ $line-height: 30rem;
|
|||
|
||||
.context-menu {
|
||||
|
||||
--widget-padding: 0rem;
|
||||
--alpha-fill: 0.75;
|
||||
|
||||
position:fixed;
|
||||
z-index: 999999999;
|
||||
background: var(--color-context-menu);
|
||||
|
|
@ -9,7 +12,6 @@ $line-height: 30rem;
|
|||
text-transform: none;
|
||||
color: var(--color-context-menu-text);
|
||||
line-height: $line-height;
|
||||
--widget-padding: 0rem;
|
||||
|
||||
.context-menu {
|
||||
position: absolute;
|
||||
|
|
@ -57,4 +59,10 @@ $line-height: 30rem;
|
|||
position: relative;
|
||||
}
|
||||
}
|
||||
.separator{
|
||||
margin: 2rem 1rem;
|
||||
height: 1rem;
|
||||
background-color: var(--color-ui-background);
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
26
src/scss/ui/toolbar.scss
Normal file
26
src/scss/ui/toolbar.scss
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
osc-toolbar {
|
||||
--size: 34rem;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height:var(--size);
|
||||
width:var(--size);
|
||||
max-width:var(--size);
|
||||
min-width:var(--size);
|
||||
text-align: center;
|
||||
z-index: 999999999;
|
||||
cursor: pointer;
|
||||
&:after {
|
||||
transition: text-shadow .1s, color .1s;
|
||||
content:"\f142";
|
||||
font-family: FontAwesome;
|
||||
line-height: calc(var(--size) + 4rem);
|
||||
}
|
||||
|
||||
&.on {
|
||||
&:after {
|
||||
color: var(--color-widget);
|
||||
text-shadow: 0 0 8rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue