mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2025-06-02 19:36:13 +00:00
update #1257
This commit is contained in:
parent
126d75ec2d
commit
4ced02d386
@ -2314,6 +2314,8 @@ headerbar {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
color: transparent;
|
||||||
|
-gtk-icon-size: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.close, &.maximize, &.minimize {
|
&.close, &.maximize, &.minimize {
|
||||||
|
@ -1333,4 +1333,65 @@ dialog-host > widget > widget > toolbarview {
|
|||||||
border-top: 1px solid $header_border;
|
border-top: 1px solid $header_border;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
// Chrome
|
||||||
|
//
|
||||||
|
|
||||||
|
$chrome_bg_color: if($variant == 'light', #dedede, #242424);
|
||||||
|
$chrome_fg_color: if($variant == 'light', #242424, #dedede);
|
||||||
|
|
||||||
|
window.background.chromium {
|
||||||
|
box-shadow: 0 12px 20px rgba(black, 0.35),
|
||||||
|
0 0 0 1px rgba(black, 0.75);
|
||||||
|
|
||||||
|
&:backdrop {
|
||||||
|
transition: $shadow_transition;
|
||||||
|
box-shadow: 0 7px 12px rgba(black, 0.15),
|
||||||
|
0 0 0 1px rgba(black, 0.65);
|
||||||
|
}
|
||||||
|
|
||||||
|
&, headerbar {
|
||||||
|
&, &:backdrop {
|
||||||
|
background-color: $chrome_bg_color;
|
||||||
|
color: $chrome_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
headerbar.header-bar.titlebar {
|
||||||
|
padding: 0 $container_padding * 2;
|
||||||
|
color: currentColor;
|
||||||
|
box-shadow: inset 0 1px rgba(white, 0.1);
|
||||||
|
border-radius: $wm_radius $wm_radius 0 0;
|
||||||
|
|
||||||
|
button.titlebutton { // title-buttons
|
||||||
|
// define global titlebutton class sizing
|
||||||
|
min-width: 22px;
|
||||||
|
min-height: 22px;
|
||||||
|
margin: 0 3px; // unset margins
|
||||||
|
padding: 0;
|
||||||
|
color: currentColor; // hide stock icons
|
||||||
|
border: none;
|
||||||
|
border-radius: $circular_radius;
|
||||||
|
background-image: none;
|
||||||
|
background-color: gtkalpha(currentColor, 0.12);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: gtkalpha(currentColor, 0.2);
|
||||||
|
transition-duration: $shorter_duration;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: gtkalpha(currentColor, 0.3);
|
||||||
|
transition-duration: $shorter_duration;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// internal region of toolbar's entry widget
|
||||||
|
> textview.view, textview {
|
||||||
|
background-color: gtkalpha(currentColor, 0.1);
|
||||||
|
color: $chrome_fg_color;
|
||||||
|
}
|
||||||
}
|
}
|
@ -195,7 +195,7 @@ $chrome_menu_fg_color: $fg_color;
|
|||||||
|
|
||||||
window.background.chromium {
|
window.background.chromium {
|
||||||
// checked-tab & toolbar & button widgets
|
// checked-tab & toolbar & button widgets
|
||||||
background-color: $bg_color;
|
background-color: $chrome_bg_color;
|
||||||
color: $text_color;
|
color: $text_color;
|
||||||
|
|
||||||
headerbar.titlebar {
|
headerbar.titlebar {
|
||||||
@ -216,7 +216,7 @@ window.background.chromium {
|
|||||||
min-width: 16px;
|
min-width: 16px;
|
||||||
min-height: 16px;
|
min-height: 16px;
|
||||||
margin: 0; // unset margins
|
margin: 0; // unset margins
|
||||||
padding: 0 0;
|
padding: 0;
|
||||||
background-size: 16px 16px;
|
background-size: 16px 16px;
|
||||||
color: transparent; // hide stock icons
|
color: transparent; // hide stock icons
|
||||||
border: none;
|
border: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user