mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2024-10-18 05:20:35 -04:00
update
This commit is contained in:
parent
6788302102
commit
12793e3100
2 changed files with 49 additions and 50 deletions
|
@ -3680,6 +3680,7 @@ decoration {
|
|||
.background.csd & {
|
||||
border: 1px solid highlight($background);
|
||||
background-clip: border-box;
|
||||
background-color: $background;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4351,58 +4351,56 @@ colorchooser .popover.osd {
|
|||
* Window Decorations *
|
||||
**********************/
|
||||
window {
|
||||
&.csd {
|
||||
transition: $transition-shadow;
|
||||
border-radius: $window-radius;
|
||||
outline-color: highlight($background);
|
||||
outline-offset: -1px;
|
||||
outline-style: solid;
|
||||
outline-width: 1px;
|
||||
transition: $transition-shadow;
|
||||
border-radius: $window-radius;
|
||||
outline-color: highlight($background);
|
||||
outline-offset: -1px;
|
||||
outline-style: solid;
|
||||
outline-width: 1px;
|
||||
|
||||
@if $rimless == 'true' {
|
||||
box-shadow: $shadow-z16, 0 0 36px transparent;
|
||||
} @else {
|
||||
box-shadow: $shadow-z16, 0 0 0 1px $window-border, 0 0 36px transparent;
|
||||
}
|
||||
|
||||
&:backdrop {
|
||||
// the transparent shadow here is to enforce that the shadow extents don't
|
||||
// change when we go to backdrop, to prevent jumping windows.
|
||||
// The biggest shadow should be in the same order then in the active state
|
||||
// or the jumping will happen during the transition.
|
||||
@if $rimless == 'true' {
|
||||
box-shadow: $shadow-z4, 0 0 36px transparent;
|
||||
} @else {
|
||||
box-shadow: $shadow-z4, 0 0 0 1px $window-border, 0 0 36px transparent;
|
||||
}
|
||||
}
|
||||
|
||||
&.popup {
|
||||
border-radius: $menu-radius;
|
||||
}
|
||||
|
||||
&.dialog.message {
|
||||
border-radius: $window-radius;
|
||||
}
|
||||
|
||||
.solid-csd & {
|
||||
margin: 0;
|
||||
padding: 2px;
|
||||
border-radius: 0;
|
||||
background-color: $titlebar;
|
||||
border: 1px solid $solid-border;
|
||||
|
||||
&:backdrop { background-color: $titlebar-backdrop; }
|
||||
}
|
||||
|
||||
&.maximized,
|
||||
&.fullscreen,
|
||||
&.tiled,
|
||||
&.tiled-top,
|
||||
&.tiled-right,
|
||||
&.tiled-bottom,
|
||||
&.tiled-left { border-radius: 0; }
|
||||
@if $rimless == 'true' {
|
||||
box-shadow: $shadow-z16, 0 0 36px transparent;
|
||||
} @else {
|
||||
box-shadow: $shadow-z16, 0 0 0 1px $window-border, 0 0 36px transparent;
|
||||
}
|
||||
|
||||
&:backdrop {
|
||||
// the transparent shadow here is to enforce that the shadow extents don't
|
||||
// change when we go to backdrop, to prevent jumping windows.
|
||||
// The biggest shadow should be in the same order then in the active state
|
||||
// or the jumping will happen during the transition.
|
||||
@if $rimless == 'true' {
|
||||
box-shadow: $shadow-z4, 0 0 36px transparent;
|
||||
} @else {
|
||||
box-shadow: $shadow-z4, 0 0 0 1px $window-border, 0 0 36px transparent;
|
||||
}
|
||||
}
|
||||
|
||||
&.popup {
|
||||
border-radius: $menu-radius;
|
||||
}
|
||||
|
||||
&.dialog.message {
|
||||
border-radius: $window-radius;
|
||||
}
|
||||
|
||||
.solid-csd & {
|
||||
margin: 0;
|
||||
padding: 2px;
|
||||
border-radius: 0;
|
||||
background-color: $titlebar;
|
||||
border: 1px solid $solid-border;
|
||||
|
||||
&:backdrop { background-color: $titlebar-backdrop; }
|
||||
}
|
||||
|
||||
&.maximized,
|
||||
&.fullscreen,
|
||||
&.tiled,
|
||||
&.tiled-top,
|
||||
&.tiled-right,
|
||||
&.tiled-bottom,
|
||||
&.tiled-left { border-radius: 0; }
|
||||
}
|
||||
|
||||
// Windows button
|
||||
|
|
Loading…
Reference in a new issue