From 4ce96295f6ca9cd70b5f684c121807022c0fa4bb Mon Sep 17 00:00:00 2001 From: Csaba Jakosa Date: Thu, 9 Jun 2016 18:04:47 +0200 Subject: [PATCH] * Fixed #434 (#475) --- gtk-3.20/scss/apps/_nautilus.scss | 28 ++++++++++++++++++++++++++++ gtk-3.20/scss/widgets/_button.scss | 7 +++++++ 2 files changed, 35 insertions(+) diff --git a/gtk-3.20/scss/apps/_nautilus.scss b/gtk-3.20/scss/apps/_nautilus.scss index 4c006dc..5dabffa 100644 --- a/gtk-3.20/scss/apps/_nautilus.scss +++ b/gtk-3.20/scss/apps/_nautilus.scss @@ -63,4 +63,32 @@ } } } + + button.nautilus-circular-button.image-button { + @extend button.circular; + } + + $disk_space_unknown: alpha($fg_color, .5); + $disk_space_used: alpha($selected_bg_color, .8); + $disk_space_free: shade($bg_color, .95); + + .disk-space-display { + border-style: solid; + border-width: 1px; + + &.unknown { + background-color: $disk_space_unknown; + border-color: shade($disk_space_unknown, .9); + } + + &.used { + background-color: $disk_space_used; + border-color: shade($disk_space_used, .9); + } + + &.free { + background-color: $disk_space_free; + border-color: shade($disk_space_free, .9); + } + } } diff --git a/gtk-3.20/scss/widgets/_button.scss b/gtk-3.20/scss/widgets/_button.scss index db849f2..19d1370 100755 --- a/gtk-3.20/scss/widgets/_button.scss +++ b/gtk-3.20/scss/widgets/_button.scss @@ -371,6 +371,13 @@ .linked > & { @include linked_button(shade($bg_color, 1.2)); } .linked.vertical > & { @include linked_vertical_button(shade($bg_color, 1.2)); } + + &.circular { // FIXME: aggregate to buttons + border-radius: 20px; + -gtk-outline-radius: 20px; + + label { padding: 0; } + } } spinbutton {