[gnome-software] css: style review valutation buttons
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] css: style review valutation buttons
- Date: Thu, 30 Jun 2016 15:26:17 +0000 (UTC)
commit 88a349a762f760535c5456f82f9f0747acb13f54
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Thu Jun 30 17:24:57 2016 +0200
css: style review valutation buttons
set smaller font size and add a separator in between.
src/gtk-style.css | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/src/gtk-style.css b/src/gtk-style.css
index a996ed8..aa0d796 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -185,6 +185,31 @@
all: unset;
}
+.review-row button { font-size: smaller; }
+
+.review-row .vote-buttons button {
+ margin-right: -1px;
+
+ /* restricting transition properties since the hack for the separator*/
+ transition-property: background, box-shadow, border-style, text-shadow;
+}
+
+/* this is the separator between yes and no vote buttons */
+.review-row .vote-buttons button:not(:first-child):not(:hover):not(:active):not(:backdrop) {
+ border-image: linear-gradient(to bottom,
+ transparent 5px,
+ @borders 5px,
+ @borders calc(100% -5px),
+ transparent calc(100% -5px)) 0 0 0 1 stretch;
+}
+ .review-row .vote-buttons button:not(:first-child):backdrop {
+ border-image-source: linear-gradient(to bottom,
+ transparent 5px,
+ @unfocused_borders 5px,
+ @unfocused_borders calc(100% -5px),
+ transparent calc(100% -5px));
+ }
+
.reviewbar {
background-image: none;
background-color: #babdb6;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]