diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-07-18 18:20:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-07-18 18:20:40 +0100 |
commit | a8ddb5d8e40547675e7eeee73a1685d98e9dcf1d (patch) | |
tree | 01c147bff11033474dd0b25e9847f5fe8a204bf1 /Redcore-daylight/gtk-3.0/scss/widgets/_window.scss | |
parent | 51afec664aa937c421d042b0e48e7e9fc4c5d217 (diff) |
rebase Redcore gtk theme on Numix
Diffstat (limited to 'Redcore-daylight/gtk-3.0/scss/widgets/_window.scss')
-rw-r--r-- | Redcore-daylight/gtk-3.0/scss/widgets/_window.scss | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Redcore-daylight/gtk-3.0/scss/widgets/_window.scss b/Redcore-daylight/gtk-3.0/scss/widgets/_window.scss new file mode 100644 index 0000000..7742fbb --- /dev/null +++ b/Redcore-daylight/gtk-3.0/scss/widgets/_window.scss @@ -0,0 +1,60 @@ +/************** + ! Window frame +***************/ + +@include exports("window") { + %window { + box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22), + 0 0 0 1px $wm_border_focused; + + &:backdrop { + box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .23), + 0 0 0 1px $wm_border_unfocused; + } + } + + .window-frame { + @extend %window; + + border: 0; + border-radius: $roundness $roundness 0 0; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + /* this is used for the resize cursor area */ + margin: $spacing * 3; + + &.tiled { border-radius: 0; } + + &.solid-csd { + border-radius: $roundness $roundness 0 0; + margin: 1px; + background-color: mix(shade($titlebar_bg_color, 0.7), $titlebar_fg_color, 0.21); + box-shadow: none; + } + + &.csd { + &.popup { + @extend %window; + + border-radius: 0; + } + + &.tooltip { + border-radius: $roundness; + box-shadow: none; + } + + &.message-dialog { + @extend %window; + + border-radius: $roundness; + } + } + + &.ssd { + // Fixed gtk-3.18 Unity bug (https://github.com/numixproject/numix-gtk-theme/issues/270) + box-shadow: 0 0 0 1px $wm_border_focused; + + &.maximized { border-radius: 0; } + } + } +} |