diff --git a/src/scss/themes/default.scss b/src/scss/themes/default.scss index 66fa786e..66ce73a6 100644 --- a/src/scss/themes/default.scss +++ b/src/scss/themes/default.scss @@ -13,6 +13,7 @@ $font-menu: sans-serif; --color-background: #21252b; --color-ui-background: #2c313a; + --color-ui-background-active: #272c34; --color-ui-button: #{$nord1}; --color-accent: #6db5fd; diff --git a/src/scss/themes/nord.scss b/src/scss/themes/nord.scss index f9afb9f6..7b79cedb 100644 --- a/src/scss/themes/nord.scss +++ b/src/scss/themes/nord.scss @@ -2,7 +2,8 @@ :root { --color-background: #{$nord0}; - --color-ui-background: #{$nord1}; + --color-ui-background: #{$nord2}; + --color-ui-background-active: #{$nord1}; --color-ui-button: #{$nord3}; --color-accent: #{$nord8}; } diff --git a/src/scss/themes/orange.scss b/src/scss/themes/orange.scss index bb52f76f..e73c1acd 100644 --- a/src/scss/themes/orange.scss +++ b/src/scss/themes/orange.scss @@ -3,6 +3,7 @@ :root { --color-background: #404040; --color-ui-background: #505050; + --color-ui-background-active: #4A4A4A; --color-ui-button: #606060; --color-accent: #d98533; } diff --git a/src/scss/ui/inspector.scss b/src/scss/ui/inspector.scss index 3c72bc73..9926e9ac 100644 --- a/src/scss/ui/inspector.scss +++ b/src/scss/ui/inspector.scss @@ -36,7 +36,7 @@ osc-inspector-field { line-height: $field-height; height: $field-height; cursor: help; - background: rgba(black, 0.05); + background: var(--color-ui-background-active); border:1rem solid var(--color-background); border-right: none; } @@ -114,7 +114,7 @@ osc-inspector-field .ace_editor { --scrollbar-size: 8rem; .ace_gutter { - background: #282c34; + background: var(--color-ui-background-active); color: #6a6f7a; border-right: 1rem solid var(--color-background); z-index: 10; @@ -347,9 +347,10 @@ osc-inspector-category { height: 100%; left:-($padding); right:-($padding); - background: rgba(black,0.1); + background: var(--color-ui-background-active); border-top:1rem solid var(--color-background); border-bottom:1rem solid var(--color-background); + z-index: -1; } } diff --git a/src/scss/ui/workspaces.scss b/src/scss/ui/workspaces.scss index fc0379bc..30d64e50 100644 --- a/src/scss/ui/workspaces.scss +++ b/src/scss/ui/workspaces.scss @@ -322,10 +322,10 @@ osc-panel-header { position: absolute; left: 0rem; right: 0rem; - bottom: 1rem; - opacity: var(--alpha-fill); - height: 2rem; - background: var(--color-fill); + bottom: 0rem; + // opacity: var(--alpha-fill); + height: 1rem; + background: var(--color-background); z-index: 101; } @@ -370,7 +370,6 @@ osc-panel-content { } } - border-bottom:1rem solid var(--color-background); &:before { bottom: 0; } diff --git a/src/scss/widgets/containers.scss b/src/scss/widgets/containers.scss index 55f4daae..674be1e2 100644 --- a/src/scss/widgets/containers.scss +++ b/src/scss/widgets/containers.scss @@ -246,11 +246,12 @@ background-color: var(--color-ui-background); - height:calc(var(--nav-height) - 1rem); + height:var(--nav-height); flex-shrink:0; display: flex; // padding-bottom: 1rem; position: relative; + border-bottom: 1rem solid var(--color-background); &:before { content:""; @@ -287,6 +288,8 @@ white-space: pre-wrap; text-align: center; + border-right: 1rem solid var(--color-background); + i { pointer-events: none; position: relative; @@ -294,6 +297,7 @@ &.on { z-index: 1;overflow: visible; + background: var(--color-ui-background-active); &:before { content: ""; position: absolute; @@ -319,12 +323,17 @@ flex-direction: column; height: 100%; padding-bottom: 0; + border-bottom: none; // padding-right: 1rem; + border-right: 1rem solid var(--color-background); div { height: 100%; padding: 0 12rem; line-height: normal; + border-right: none; + border-bottom: 1rem solid var(--color-background); + // justify-content: flex-start; // text-align: left;