ui: code editor help modal, revert checkboxes margin change

This commit is contained in:
jean-emmanuel 2021-12-15 14:22:49 +01:00
parent 1bed4962e4
commit a697eb659d
10 changed files with 97 additions and 12 deletions

View file

@ -13,7 +13,7 @@ $font-menu: sans-serif;
--color-background: #21252b;
--color-ui-background: #2c313a;
--color-ui-background-active: #272c34;
--color-ui-background-secondary: #272c34;
--color-ui-button: #{$nord1};
--color-accent: #6db5fd;

View file

@ -3,7 +3,7 @@
:root {
--color-background: #{$nord0};
--color-ui-background: #{$nord2};
--color-ui-background-active: #{$nord1};
--color-ui-background-secondary: #{$nord1};
--color-ui-button: #{$nord3};
--color-accent: #{$nord8};
}

View file

@ -3,7 +3,7 @@
:root {
--color-background: #404040;
--color-ui-background: #505050;
--color-ui-background-active: #4A4A4A;
--color-ui-background-secondary: #4A4A4A;
--color-ui-button: #606060;
--color-accent: #d98533;
}

View file

@ -36,7 +36,7 @@ osc-inspector-field {
line-height: $field-height;
height: $field-height;
cursor: pointer;
background: var(--color-ui-background-active);
background: var(--color-ui-background-secondary);
border:1rem solid var(--color-background);
border-right: none;
}
@ -47,6 +47,15 @@ osc-inspector-field {
border:1rem solid var(--color-background);
border-bottom : none;
width: 100%;
position: relative;
}
.btn {
position: absolute;
right:3rem;
top:3rem;
background: var(--color-ui-button);
line-height: $field-height - 6;
}
&:after {
content:none;
@ -114,7 +123,7 @@ osc-inspector-field .ace_editor {
--scrollbar-size: 8rem;
.ace_gutter {
background: var(--color-ui-background-active);
background: var(--color-ui-background-secondary);
color: #6a6f7a;
border-right: 1rem solid var(--color-background);
z-index: 10;
@ -347,7 +356,7 @@ osc-inspector-category {
height: 100%;
left:-($padding);
right:-($padding);
background: var(--color-ui-background-active);
background: var(--color-ui-background-secondary);
border-top:1rem solid var(--color-background);
border-bottom:1rem solid var(--color-background);
z-index: -1;
@ -401,7 +410,7 @@ osc-inspector-category {
osc-inspector-checkbox {
--widget-padding: 0;
--widget-padding: 1rem;
--color-fill: var(--color-ui-button);
--alpha-fill: 1;
@ -510,7 +519,7 @@ osc-inspector-color {
--color-fill: var(--color-picker-value);
--alpha-fill: 1;
--widget-padding: 1rem;
--widget-padding: 2rem;
@include pseudo-fill();
&:after {
border: 1rem solid var(--color-ui-button);
@ -614,4 +623,17 @@ osc-inspector-color {
padding-top: 10rem;
}
.kbd {
background: var(--color-ui-button);
padding: 4rem;
display: inline-block;
margin-bottom: 2rem;
}
thead tr {
text-align: left;
font-weight: 500;
height: 30rem;
}
}

View file

@ -99,7 +99,7 @@ osc-settings-field {
label {
width: 100rem;
// text-align: right;
background: rgba(black, 0.05);
background: var(--color-ui-background-secondary);
border:1rem solid var(--color-background);
border-right: none;
// margin-right: 8rem;

View file

@ -172,7 +172,7 @@
padding: 0 $padding;
top: 0;
z-index: 2;
background: var(--color-ui-background-active);
background: var(--color-ui-background-secondary);
border-bottom: 1rem solid var(--color-background);
}

View file

@ -297,7 +297,7 @@
&.on {
z-index: 1;overflow: visible;
background: var(--color-ui-background-active);
background: var(--color-ui-background-secondary);
&:before {
content: "";
position: absolute;