diff options
author | Horst3180 | 2016-03-23 23:52:01 +0100 |
---|---|---|
committer | Horst3180 | 2016-03-23 23:52:01 +0100 |
commit | fdbb5f32f27a63fa11df81a3e95c59d105e9e18e (patch) | |
tree | 3624540dffbf135125af104db97a55883112f781 /common/gtk-3.0/3.20/sass/_unity.scss | |
parent | bde7177c3b84e2719369b9f0b391fd4f5059aea4 (diff) | |
parent | 2de83c04f6e519abff9e889f59ee9b3411382d16 (diff) | |
download | solarc-theme-fdbb5f32f27a63fa11df81a3e95c59d105e9e18e.tar.gz solarc-theme-fdbb5f32f27a63fa11df81a3e95c59d105e9e18e.tar.xz solarc-theme-fdbb5f32f27a63fa11df81a3e95c59d105e9e18e.zip |
Merge branch 'wip/3.19'
Diffstat (limited to 'common/gtk-3.0/3.20/sass/_unity.scss')
-rw-r--r-- | common/gtk-3.0/3.20/sass/_unity.scss | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/common/gtk-3.0/3.20/sass/_unity.scss b/common/gtk-3.0/3.20/sass/_unity.scss new file mode 100644 index 0000000..00fec8f --- /dev/null +++ b/common/gtk-3.0/3.20/sass/_unity.scss @@ -0,0 +1,59 @@ +// Decorations +UnityDecoration { + -UnityDecoration-extents: 28px 1 1 1; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 0px; + -UnityDecoration-shadow-offset-y: 3px; + -UnityDecoration-active-shadow-color: rgba(0, 0, 0, 0.2); + -UnityDecoration-active-shadow-radius: 12px; + -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, 0.07); + -UnityDecoration-inactive-shadow-radius: 7px; + + -UnityDecoration-glow-size: 10px; + -UnityDecoration-glow-color: $selected_bg_color; + + -UnityDecoration-title-indent: 10px; + -UnityDecoration-title-fade: 35px; + -UnityDecoration-title-alignment: 0.0; + + &.top { + border: 1px solid if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9)); + border-bottom-width: 0; + border-radius: 4px 4px 0 0; + padding: 1px 6px 0 6px; + + background-image: linear-gradient(to bottom, opacify($header_bg, 1)); + color: $header_fg; // The foreground color will be used to paint the text + + box-shadow: inset 0 1px lighten($header_bg, 3%); + + &:backdrop { + border-bottom-width: 0; + //background-image: linear-gradient(to bottom, opacify($header_bg_backdrop, 1)); + color: transparentize($header_fg, 0.3); + } + } + &.left, &.right, &.bottom, + &.left:backdrop, &.right:backdrop, &.bottom:backdrop { + background-image: linear-gradient(to bottom, if($darker=='true' or $variant == 'dark', darken($header_bg, 7%), transparentize(black, 0.9))); + } +} + +// Panel Style +UnityPanelWidget, +.unity-panel { + background-image: linear-gradient(to bottom, opacify($panel_bg, 1)); + color: lighten($panel_fg, 20%); + box-shadow: none; + + &:backdrop { color: lighten($panel_fg, 1%); } +} + +.unity-panel.menubar.menuitem:hover, +.unity-panel.menubar .menuitem *:hover { + border-radius: 0; + color: $selected_fg_color; + background-image: linear-gradient(to bottom, $selected_bg_color); + border-bottom: none; +} |