From 36c05e50f4c97ea442cb4353467849f8898e3dfc Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sat, 16 May 2015 22:50:01 +0200 Subject: initial commit --- gtk-3.0/_unity.scss | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 gtk-3.0/_unity.scss (limited to 'gtk-3.0/_unity.scss') diff --git a/gtk-3.0/_unity.scss b/gtk-3.0/_unity.scss new file mode 100644 index 0000000..0e0830d --- /dev/null +++ b/gtk-3.0/_unity.scss @@ -0,0 +1,56 @@ +// Decorations +UnityDecoration { + -UnityDecoration-extents: 28px 0 0 0; + -UnityDecoration-input-extents: 10px; + + -UnityDecoration-shadow-offset-x: 0px; + -UnityDecoration-shadow-offset-y: 1px; + -UnityDecoration-active-shadow-color: rgba (0, 0, 0, 0.3); + -UnityDecoration-active-shadow-radius: 10px; + -UnityDecoration-inactive-shadow-color: rgba (0, 0, 0, 0.15); + -UnityDecoration-inactive-shadow-radius: 5px; + + -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: none; + 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, lighten(opacify($header_bg, 1), 3%)); + color: transparentize($header_fg, 0.3); + } + } + &.left, &.right, &.bottom, + &.left:backdrop, &.right:backdrop, &.bottom:backdrop { + background-image: none; + } +} + +// Panel Style +UnityPanelWidget, +.unity-panel { + background-image: linear-gradient(to bottom, opacify($panel_bg, 1)); + color: $panel_fg; + box-shadow: none; +} + +.unity-panel.menubar.menuitem:hover, +.unity-panel.menubar .menuitem *:hover { + border-radius: 0; + color: $selected_bg_color; + border-bottom: none; +} -- cgit v1.2.3