[themes] top border for toolbar in "contrast" theme

This commit is contained in:
Maxim Kadushkin 2022-10-05 11:29:39 +03:00
parent 527633324b
commit 4c11525cd5

View file

@ -40,6 +40,8 @@
.extra { .extra {
background-color: @header-background-color-ie; background-color: @header-background-color-ie;
background-color: @header-background-color; background-color: @header-background-color;
box-shadow: inset 0 -1px 0 0 @border-toolbar-active-panel-top;
} }
//&::after { //&::after {
@ -62,6 +64,8 @@
display: flex; display: flex;
flex-shrink: 1; flex-shrink: 1;
box-shadow: inset 0 -1px 0 0 @border-toolbar-active-panel-top;
> ul { > ul {
padding: 4px 0 0; padding: 4px 0 0;
margin: 0; margin: 0;
@ -78,11 +82,15 @@
&:hover { &:hover {
background-color: @highlight-header-button-hover-ie; background-color: @highlight-header-button-hover-ie;
background-color: @highlight-header-button-hover; background-color: @highlight-header-button-hover;
box-shadow: inset 0 -1px 0 0 @border-toolbar-active-panel-top;
} }
&.active { &.active {
background-color: @background-toolbar-ie; background-color: @background-toolbar-ie;
background-color: @background-toolbar; background-color: @background-toolbar;
box-shadow: inset -1px 0px 0 0 @border-toolbar-active-panel-top, inset 1px 1px 0 0 @border-toolbar-active-panel-top;
} }
@ -132,7 +140,7 @@
&.left{ &.left{
box-shadow: 5px 0 20px 5px @header-background-color-ie; box-shadow: 5px 0 20px 5px @header-background-color-ie;
box-shadow: 5px 0 20px 5px @header-background-color; box-shadow: 18px 37px 0 10px @background-toolbar, 5px 0 20px 5px @header-background-color;
&:after { &:after {
transform: rotate(135deg); transform: rotate(135deg);
@ -141,7 +149,7 @@
} }
&.right{ &.right{
box-shadow: -5px 0 20px 5px @header-background-color-ie; box-shadow: -5px 0 20px 5px @header-background-color-ie;
box-shadow: -5px 0 20px 5px @header-background-color; box-shadow: -10px 37px 0 10px @background-toolbar, -5px 0 20px 5px @header-background-color;
&:after { &:after {
transform: rotate(-45deg); transform: rotate(-45deg);
@ -417,6 +425,7 @@
&.active { &.active {
background-color: transparent; background-color: transparent;
box-shadow: none;
//> a { //> a {
// padding: 0 12px; // padding: 0 12px;
//} //}
@ -428,6 +437,7 @@
&:hover:not(.active) { &:hover:not(.active) {
background-color: rgba(0, 0, 0, .05); background-color: rgba(0, 0, 0, .05);
box-shadow: none;
.theme-type-dark & { .theme-type-dark & {
background-color: rgba(255, 255, 255, .05); background-color: rgba(255, 255, 255, .05);