[gnome-shell/wip/aggregate-menu: 62/69] theme: Restrict the aggregate menu to 320px
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 62/69] theme: Restrict the aggregate menu to 320px
- Date: Fri, 26 Jul 2013 04:37:12 +0000 (UTC)
commit c23c35fe7845a30c26c10e4881330212ba0cced4
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Jul 1 14:19:12 2013 -0400
theme: Restrict the aggregate menu to 320px
Like in the designs. This also requires that we don't put a min-width
on sliders, as 15em is smaller than 320px.
data/theme/gnome-shell.css | 5 ++++-
js/ui/panel.js | 1 +
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 2318299..98e299a 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -127,7 +127,6 @@ StScrollBar StButton#vhandle:active {
.slider {
height: 1em;
- min-width: 15em;
-slider-height: 0.3em;
-slider-background-color: #333333;
-slider-border-color: #5f5f5f;
@@ -623,6 +622,10 @@ StScrollBar StButton#vhandle:active {
icon-size: 1.09em;
}
+.aggregate-menu {
+ width: 320px;
+}
+
.system-switch-user-submenu-icon {
icon-size: 24px;
border: 1px solid #8b8b8b;
diff --git a/js/ui/panel.js b/js/ui/panel.js
index c74602f..eac083e 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -853,6 +853,7 @@ const AggregateMenu = new Lang.Class({
_init: function() {
this.parent(0.0, _("Settings Menu"), false);
+ this.menu.actor.add_style_class_name('aggregate-menu');
this._indicators = new St.BoxLayout({ style_class: 'panel-status-indicators-box' });
this.actor.add_child(this._indicators);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]