From 280a1c8a02c81ed539ca8a79cda0f940a3814bc2 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 2 Nov 2015 21:17:26 +0100 Subject: cinnamon: fix notification-button padding --- common/cinnamon/cinnamon.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'common/cinnamon/cinnamon.css') 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; } -- cgit v1.2.3