diff options
author | Horst3180 | 2015-11-02 21:17:26 +0100 |
---|---|---|
committer | Horst3180 | 2015-11-02 21:17:26 +0100 |
commit | 280a1c8a02c81ed539ca8a79cda0f940a3814bc2 (patch) | |
tree | 10569c3af403331a71a5bb7d754767deb0546f14 | |
parent | 8542d2ca75bf1419d709ba9a36cdec9285d6b782 (diff) | |
download | solarc-theme-280a1c8a02c81ed539ca8a79cda0f940a3814bc2.tar.gz solarc-theme-280a1c8a02c81ed539ca8a79cda0f940a3814bc2.tar.xz solarc-theme-280a1c8a02c81ed539ca8a79cda0f940a3814bc2.zip |
cinnamon: fix notification-button padding
-rw-r--r-- | common/cinnamon/cinnamon-dark.css | 14 | ||||
-rw-r--r-- | common/cinnamon/cinnamon.css | 14 | ||||
-rw-r--r-- | common/cinnamon/sass/_common.scss | 7 |
3 files changed, 22 insertions, 13 deletions
diff --git a/common/cinnamon/cinnamon-dark.css b/common/cinnamon/cinnamon-dark.css index 6213045..e6f1d6b 100644 --- a/common/cinnamon/cinnamon-dark.css +++ b/common/cinnamon/cinnamon-dark.css @@ -7,7 +7,7 @@ stage { .label-shadow { color: transparent; } -.popup-menu #notification .notification-button, .popup-menu #notification .notification-icon-button, .sound-button { +.notification-button, .notification-icon-button, .sound-button { min-height: 20px; padding: 5px 32px; transition-duration: 0; @@ -17,31 +17,31 @@ stage { background-color: #444a58; border: 1px solid #2b2e39; box-shadow: inset 0 2px 4px rgba(68, 74, 88, 0.05); } - .popup-menu #notification .notification-button:focus, .popup-menu #notification .notification-icon-button:focus, .sound-button:focus { + .notification-button:focus, .notification-icon-button:focus, .sound-button:focus { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #D3DAE3; background-color: #444a58; border: 1px solid #5294E2; box-shadow: inset 0 2px 4px rgba(68, 74, 88, 0.05); } - .popup-menu #notification .notification-button:hover, .popup-menu #notification .notification-icon-button:hover, .sound-button:hover { + .notification-button:hover, .notification-icon-button:hover, .sound-button:hover { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #D3DAE3; background-color: #505666; border: 1px solid #2b2e39; box-shadow: inset 0 2px 4px rgba(80, 86, 102, 0.05); } - .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .sound-button:hover:focus { + .notification-button:hover:focus, .notification-icon-button:hover:focus, .sound-button:hover:focus { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #D3DAE3; background-color: #444a58; border: 1px solid #5294E2; box-shadow: inset 0 2px 4px rgba(68, 74, 88, 0.05); } - .popup-menu #notification .notification-button:active, .popup-menu #notification .notification-icon-button:active, .sound-button:active, .popup-menu #notification .notification-button:active:focus, .popup-menu #notification .notification-icon-button:active:focus, .sound-button:active:focus { + .notification-button:active, .notification-icon-button:active, .sound-button:active, .notification-button:active:focus, .notification-icon-button:active:focus, .sound-button:active:focus { text-shadow: 0 1px rgba(64, 69, 82, 0); color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; box-shadow: inset 0 2px 4px #5294E2; } - .popup-menu #notification .notification-button:insensitive, .popup-menu #notification .notification-icon-button:insensitive, .sound-button:insensitive { + .notification-button:insensitive, .notification-icon-button:insensitive, .sound-button:insensitive { text-shadow: 0 1px rgba(64, 69, 82, 0); color: rgba(211, 218, 227, 0.45); border: 1px solid rgba(43, 46, 57, 0.55); @@ -605,6 +605,8 @@ StScrollBar { .popup-menu #notification { color: #D3DAE3; border-image: url("dark-assets/misc/message.svg") 9 9 9 9; } + .notification-button, .notification-icon-button { + padding: 5px; } #notification.multi-line-notification { padding-bottom: 13px; color: #BAC3CF; } diff --git a/common/cinnamon/cinnamon.css b/common/cinnamon/cinnamon.css index 27a783e..5715774 100644 --- a/common/cinnamon/cinnamon.css +++ b/common/cinnamon/cinnamon.css @@ -7,7 +7,7 @@ stage { .label-shadow { color: transparent; } -.popup-menu #notification .notification-button, .popup-menu #notification .notification-icon-button, .sound-button { +.notification-button, .notification-icon-button, .sound-button { min-height: 20px; padding: 5px 32px; transition-duration: 0; @@ -17,31 +17,31 @@ stage { background-color: #fbfbfc; border: 1px solid #cfd6e6; box-shadow: inset 0 2px 4px rgba(251, 251, 252, 0.05); } - .popup-menu #notification .notification-button:focus, .popup-menu #notification .notification-icon-button:focus, .sound-button:focus { + .notification-button:focus, .notification-icon-button:focus, .sound-button:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; box-shadow: inset 0 2px 4px rgba(251, 251, 252, 0.05); } - .popup-menu #notification .notification-button:hover, .popup-menu #notification .notification-icon-button:hover, .sound-button:hover { + .notification-button:hover, .notification-icon-button:hover, .sound-button:hover { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5c616c; background-color: white; border: 1px solid #cfd6e6; box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05); } - .popup-menu #notification .notification-button:hover:focus, .popup-menu #notification .notification-icon-button:hover:focus, .sound-button:hover:focus { + .notification-button:hover:focus, .notification-icon-button:hover:focus, .sound-button:hover:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #5c616c; background-color: #fbfbfc; border: 1px solid #5294E2; box-shadow: inset 0 2px 4px rgba(251, 251, 252, 0.05); } - .popup-menu #notification .notification-button:active, .popup-menu #notification .notification-icon-button:active, .sound-button:active, .popup-menu #notification .notification-button:active:focus, .popup-menu #notification .notification-icon-button:active:focus, .sound-button:active:focus { + .notification-button:active, .notification-icon-button:active, .sound-button:active, .notification-button:active:focus, .notification-icon-button:active:focus, .sound-button:active:focus { text-shadow: 0 1px rgba(255, 255, 255, 0); color: #ffffff; background-color: #5294E2; border: 1px solid #5294E2; box-shadow: inset 0 2px 4px #5294E2; } - .popup-menu #notification .notification-button:insensitive, .popup-menu #notification .notification-icon-button:insensitive, .sound-button:insensitive { + .notification-button:insensitive, .notification-icon-button:insensitive, .sound-button:insensitive { text-shadow: 0 1px rgba(255, 255, 255, 0); color: rgba(92, 97, 108, 0.55); border: 1px solid rgba(207, 214, 230, 0.55); @@ -605,6 +605,8 @@ StScrollBar { .popup-menu #notification { color: #5c616c; border-image: url("light-assets/misc/message.svg") 9 9 9 9; } + .notification-button, .notification-icon-button { + padding: 5px; } #notification.multi-line-notification { padding-bottom: 13px; color: #BAC3CF; } diff --git a/common/cinnamon/sass/_common.scss b/common/cinnamon/sass/_common.scss index 30ffa1f..8d7051f 100644 --- a/common/cinnamon/sass/_common.scss +++ b/common/cinnamon/sass/_common.scss @@ -712,7 +712,12 @@ StScrollBar { color: $fg_color; border-image: url("#{$asset_path}/misc/message.svg") 9 9 9 9; - .notification-button, .notification-icon-button { @extend %button; } + @at-root { + .notification-button, .notification-icon-button { + @extend %button; + padding: 5px; + } + } StEntry { @extend %entry; } } |