update
This commit is contained in:
parent
c7010ae868
commit
3ac56658b7
@ -2036,7 +2036,7 @@ headerbar, .titlebar {
|
|||||||
// Tree Views
|
// Tree Views
|
||||||
//
|
//
|
||||||
.background treeview.view {
|
.background treeview.view {
|
||||||
background-color: $base_color;
|
@extend %view;
|
||||||
|
|
||||||
@at-root * {
|
@at-root * {
|
||||||
-GtkTreeView-horizontal-separator: 4;
|
-GtkTreeView-horizontal-separator: 4;
|
||||||
@ -2132,8 +2132,8 @@ headerbar, .titlebar {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
> header {
|
||||||
button {
|
> button {
|
||||||
$_column_header_color: mix($fg_color,$base_color,80%);
|
$_column_header_color: mix($fg_color,$base_color,80%);
|
||||||
|
|
||||||
min-height: if($variant =='light', 24px, 26px);
|
min-height: if($variant =='light', 24px, 26px);
|
||||||
@ -2145,7 +2145,7 @@ headerbar, .titlebar {
|
|||||||
background-image: none;
|
background-image: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-style: none solid none none;
|
border-style: none solid none none;
|
||||||
border-radius: 3px;
|
border-radius: 0;
|
||||||
border-image: linear-gradient(to bottom,
|
border-image: linear-gradient(to bottom,
|
||||||
$base_color 20%,
|
$base_color 20%,
|
||||||
transparentize(if($variant == 'light', black, white), 0.89) 20%,
|
transparentize(if($variant == 'light', black, white), 0.89) 20%,
|
||||||
@ -2453,9 +2453,8 @@ cursor-handle {
|
|||||||
|
|
||||||
notebook {
|
notebook {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
// margin-top: -1px;
|
|
||||||
|
|
||||||
.background.csd &.frame { border: 1px solid $solid_borders_color; }
|
&.frame { border: 1px solid $solid_borders_color; }
|
||||||
|
|
||||||
> stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
|
> stack:not(:only-child) { // the :not(:only-child) is for "hidden" notebooks
|
||||||
background-color: $base_color;
|
background-color: $base_color;
|
||||||
@ -2465,7 +2464,12 @@ notebook {
|
|||||||
border-radius: 0 0 $wm_radius $wm_radius;
|
border-radius: 0 0 $wm_radius $wm_radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background.csd & > header {
|
> header {
|
||||||
|
padding: 0;
|
||||||
|
background-color: darken($header_bg, 10%);
|
||||||
|
|
||||||
|
// Set box-shadow to make the header frame color more easy to see
|
||||||
|
// Set margin to hide the ugly borders around the header
|
||||||
&.top {
|
&.top {
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
box-shadow: inset 0 1px $solid_borders_color, inset 0 -1px $borders_color;
|
box-shadow: inset 0 1px $solid_borders_color, inset 0 -1px $borders_color;
|
||||||
@ -2476,16 +2480,6 @@ notebook {
|
|||||||
-1px 0 $borders_color;
|
-1px 0 $borders_color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
> header {
|
|
||||||
padding: 0;
|
|
||||||
background-color: darken($header_bg, 10%);
|
|
||||||
|
|
||||||
// Set box-shadow to make the header frame color more easy to see
|
|
||||||
// Set margin to hide the ugly borders around the header
|
|
||||||
&.top {
|
|
||||||
}
|
|
||||||
|
|
||||||
&.bottom {
|
&.bottom {
|
||||||
box-shadow: inset 0 1px $borders_color, inset 0 -1px $solid_borders_color;
|
box-shadow: inset 0 1px $borders_color, inset 0 -1px $solid_borders_color;
|
||||||
@ -2539,13 +2533,12 @@ notebook {
|
|||||||
&.#{$_pos} {
|
&.#{$_pos} {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
tab {
|
> tabs > tab {
|
||||||
padding: $container_padding - 4px $container_padding + 4px;
|
padding: $container_padding - 4px $container_padding + 4px;
|
||||||
min-width: 24px;
|
min-width: 24px;
|
||||||
min-height: 24px;
|
min-height: 24px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
outline-offset: -4px;
|
outline-offset: -4px;
|
||||||
// border-#{$_pos}: none;
|
|
||||||
|
|
||||||
// tab overlap
|
// tab overlap
|
||||||
+ tab {
|
+ tab {
|
||||||
@ -2591,21 +2584,21 @@ notebook {
|
|||||||
|
|
||||||
&.top,
|
&.top,
|
||||||
&.bottom {
|
&.bottom {
|
||||||
tabs > tab {
|
> tabs > tab {
|
||||||
&:first-child { border-left-style: none; }
|
&:first-child { border-left: none; }
|
||||||
&:last-child { border-right-style: none; }
|
&:last-child { border-right: none; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.left,
|
&.left,
|
||||||
&.right {
|
&.right {
|
||||||
tabs > tab {
|
> tabs > tab {
|
||||||
&:first-child { border-top-style: none; }
|
&:first-child { border-top: none; }
|
||||||
&:last-child { border-bottom-style: none; }
|
&:last-child { border-bottom: none; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tabs > tab {
|
> tabs > tab {
|
||||||
@extend %tabs_tab;
|
@extend %tabs_tab;
|
||||||
|
|
||||||
// close button
|
// close button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user