_unity.scss (2058B)
1 @import "panel"; 2 3 /**************** 4 ! Unity styles * 5 *****************/ 6 7 @include exports("unity") { 8 UnityDecoration { 9 -UnityDecoration-extents: 28px 1px 1px 1px; 10 -UnityDecoration-input-extents: 10px; 11 12 -UnityDecoration-shadow-offset-x: 1px; 13 -UnityDecoration-shadow-offset-y: 1px; 14 -UnityDecoration-active-shadow-color: rgba(0, 0, 0, .7); 15 -UnityDecoration-active-shadow-radius: 8px; 16 -UnityDecoration-inactive-shadow-color: rgba(0, 0, 0, .5); 17 -UnityDecoration-inactive-shadow-radius: 5px; 18 19 -UnityDecoration-glow-size: 10px; 20 -UnityDecoration-glow-color: $selected_bg_color; 21 22 -UnityDecoration-title-indent: 10px; 23 -UnityDecoration-title-fade: 35px; 24 -UnityDecoration-title-alignment: 0; 25 26 27 &.top { 28 border: 1px solid $wm_border_focused; 29 border-bottom: 0; 30 border-radius: 2px 2px 0 0; 31 padding: 1px ($spacing * 2) 0; 32 background-color: $titlebar_bg_color; 33 color: mix($titlebar_fg_color, $titlebar_bg_color, .1); 34 text-shadow: none; 35 36 &:backdrop { 37 border: 1px solid $wm_border_unfocused; 38 color: mix($titlebar_fg_color, $titlebar_bg_color, .4); 39 } 40 } 41 42 &.left, &.right, &.bottom { 43 background-color: $wm_border_focused; 44 45 &:backdrop { background-color: $wm_border_unfocused; } 46 } 47 } 48 49 UnityPanelWidget, .unity-panel { 50 @extend %panel; 51 52 border: 0; 53 } 54 55 .unity-panel { 56 &.menuitem, .menuitem { 57 border-width: 0 1px; 58 color: $panel_fg_color; 59 60 &:hover, *:hover { 61 border-color: mix($panel_bg_color, $panel_fg_color, .21); 62 background-color: mix($panel_bg_color, $panel_fg_color, .21); 63 background-image: none; 64 color: shade($panel_fg_color, 1.08); 65 } 66 } 67 } 68 69 SheetStyleDialog.unity-force-quit { background-color: $bg_color; } 70 }