[gnome-shell/wip/sass: 44/51] theme: menu separators, message tray icons
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass: 44/51] theme: menu separators, message tray icons
- Date: Mon, 12 Jan 2015 23:39:08 +0000 (UTC)
commit 6c6b8491f61d51ee1617bfa9790b9d54e7e24a8c
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Nov 10 12:46:23 2014 +0100
theme: menu separators, message tray icons
- menu separators not vertcally centered unfortunately
- MT items not horizontally centered unfortunately
data/theme/_common.scss | 16 ++++++++++++++--
data/theme/gnome-shell.css | 17 ++++++++++++++---
2 files changed, 28 insertions(+), 5 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index 7378534..9ffe758 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -223,6 +223,16 @@ StScrollBar {
-arrow-rise: 11px;
-arrow-box-shadow: 0 1px 3px red; //dreaming. bug #689995
}
+
+ .popup-separator-menu-item {
+ -margin-horizontal: 24px;
+ height: 1px; //not really the whole box
+ padding: 0; //not really centered
+ background-color: transparent;
+ border-color: lighten($borders_color,10%);
+ border-bottom-width: 1px;
+ border-bottom-style: solid;
+ }
/* fallback menu
@@ -677,6 +687,7 @@ StScrollBar {
background-repeat: repeat;
height: 72px;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
+ padding: 4px;
.message-tray-summary { height: 72px; }
.message-tray-menu-button {
@@ -727,8 +738,9 @@ StScrollBar {
}
//Message tray items
.summary-source {
- border-radius: 4px;
- padding: 6px;
+ border-radius: 0;
+ -st-natural-width: 60px; //FIXME left aligned rather than centered
+ padding: 9px;
transition-duration: 100ms;
}
.summary-source-button {
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 82dede5..92d0478 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1176,6 +1176,15 @@ StScrollBar {
-arrow-rise: 11px;
-arrow-box-shadow: 0 1px 3px red; }
+.popup-separator-menu-item {
+ -margin-horizontal: 24px;
+ height: 1px;
+ padding: 0;
+ background-color: transparent;
+ border-color: #343a3a;
+ border-bottom-width: 1px;
+ border-bottom-style: solid; }
+
/* fallback menu
- odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
app menu inside the main app window itself rather than the top bar
@@ -1568,7 +1577,8 @@ StScrollBar {
background: #212424 url("noise-texture.png");
background-repeat: repeat;
height: 72px;
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5); }
+ box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
+ padding: 4px; }
#message-tray .message-tray-summary {
height: 72px; }
#message-tray .message-tray-menu-button StIcon {
@@ -1614,8 +1624,9 @@ StScrollBar {
spacing: 6px; }
.summary-source {
- border-radius: 4px;
- padding: 6px;
+ border-radius: 0;
+ -st-natural-width: 60px;
+ padding: 9px;
transition-duration: 100ms; }
.summary-source-button:hover .summary-source, .summary-source-button:selected .summary-source,
.summary-source-button:focus .summary-source {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]