[themes] correct scroll's shadow
This commit is contained in:
parent
4c11525cd5
commit
2389aa2af7
|
@ -79,6 +79,7 @@
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
&: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;
|
||||||
|
@ -119,6 +120,30 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//&:not(:where(.style-off-tabs *)) { IE doesn't support "where" pseudo selector
|
||||||
|
:not(.style-off-tabs) > & {
|
||||||
|
&.short {
|
||||||
|
li {
|
||||||
|
&:after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
background: @border-toolbar-active-panel-top;
|
||||||
|
height: 1px;
|
||||||
|
bottom: 0;
|
||||||
|
left: 1px;
|
||||||
|
right: 1px;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.active {
|
||||||
|
&:after {
|
||||||
|
background: @background-toolbar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.scroll {
|
.scroll {
|
||||||
line-height: @height-tabs;
|
line-height: @height-tabs;
|
||||||
min-width: 20px;
|
min-width: 20px;
|
||||||
|
@ -140,7 +165,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: 18px 37px 0 10px @background-toolbar, 5px 0 20px 5px @header-background-color;
|
box-shadow: 18px 37px 0 10px @border-toolbar-active-panel-top, 5px 0 20px 5px @header-background-color;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(135deg);
|
transform: rotate(135deg);
|
||||||
|
@ -149,7 +174,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: -10px 37px 0 10px @background-toolbar, -5px 0 20px 5px @header-background-color;
|
box-shadow: -10px 37px 0 10px @border-toolbar-active-panel-top, -5px 0 20px 5px @header-background-color;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
transform: rotate(-45deg);
|
transform: rotate(-45deg);
|
||||||
|
@ -411,6 +436,7 @@
|
||||||
|
|
||||||
li {
|
li {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
//transition: opacity .1s;
|
//transition: opacity .1s;
|
||||||
//transition: bottom .1s;
|
//transition: bottom .1s;
|
||||||
|
|
Loading…
Reference in a new issue