[gnome-boxes] css: Make the boxes-menu-rows more flat
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] css: Make the boxes-menu-rows more flat
- Date: Mon, 20 Nov 2017 12:38:24 +0000 (UTC)
commit eafad70468838089af43a3b50739adcd11807c77
Author: Felipe Borges <felipeborges gnome org>
Date: Wed Nov 15 15:39:47 2017 +0100
css: Make the boxes-menu-rows more flat
These changes are based on the mockups for the RHEL Developer
Portal integration feature, see:
https://bug786679.bugzilla-attachments.gnome.org/attachment.cgi?id=358234
https://bugzilla.gnome.org/show_bug.cgi?id=790381
data/gtk-style.css | 39 ++-------------------------------------
1 files changed, 2 insertions(+), 37 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index cc97be6..4c4cd96 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -75,50 +75,15 @@
border-style: none;
}
-/* Corner rounding */
-.boxes-menu >.boxes-menu-row:nth-last-child(2) {
- border-radius: 15px 15px 0 0;
- -gtk-outline-radius: 0 0 13px 13px;
-}
-
-.boxes-menu > .boxes-menu-row:last-child {
- border-radius: 0 0 15px 15px;
-}
-
-.label + .boxes-menu-row,
-.boxes-menu-row.button:first-child {
- border-radius: 15px 15px 0 0;
- border-top-style: none;
- -gtk-outline-radius: 13px 13px 0 0;
-}
-
-/* Row styling */
.boxes-menu-row {
- border-style: solid none none none;
- border-width: 1px;
- border-radius: 0;
- border-color: transparent;
- background-color: @boxes_bg2_color;
- background-clip: padding-box;
-}
-
-.boxes-menu-row.button {
- background-image: none;
- font-weight: bold;
- text-shadow: none;
- -gtk-icon-shadow: none;
- box-shadow: none;
- outline-color: alpha(currentColor, 0.15);
+ background: none;
+ border: 1px solid @borders;
}
.boxes-menu-row:hover {
background-color: @theme_bg_color;
}
-.boxes-menu-row:active {
- color: @theme_selected_fg_color;
- background-color: @theme_selected_bg_color;
-}
/* Adds a border to the ISOs lists top undershoot */
.boxes-menu-scrolled.undershoot.top { border-top: 1px solid @borders; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]