summaryrefslogtreecommitdiff
path: root/src/resources/css
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-01-21 10:37:16 +0100
committerCarlos Soriano <csoriano@gnome.org>2016-01-21 10:40:08 +0100
commitf3ea3f0260f62426947238a28cbef79c1242ab9b (patch)
tree0ba6d6bbd4e4fb33d328f02bebdc89318030f827 /src/resources/css
parente9c6cbf667c8aee57072e0a0fd03fe2379918206 (diff)
downloadnautilus-f3ea3f0260f62426947238a28cbef79c1242ab9b.tar.gz
css: load css that nautilus always need
There is some css that nautilus wants to always use regarding of the theme that is used. An example of this is the recently css added for making the desktop backgrund transparent. Additionally, the "round button" css is also always wanted. For that, create a new css file that will have the css we want to always load and load it in the application initialization. https://bugzilla.gnome.org/show_bug.cgi?id=760790
Diffstat (limited to 'src/resources/css')
-rw-r--r--src/resources/css/Adwaita.css6
-rw-r--r--src/resources/css/nautilus.css9
2 files changed, 10 insertions, 5 deletions
diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css
index aba4a229e..92e8d7776 100644
--- a/src/resources/css/Adwaita.css
+++ b/src/resources/css/Adwaita.css
@@ -35,11 +35,6 @@
color: @theme_unfocused_selected_fg_color;
}
-.nautilus-circular-button {
- border-radius: 20px;
- -gtk-outline-radius: 20px;
-}
-
/* Toolbar */
/* Here we use the .button background-image colors from Adwaita, but ligthen them,
@@ -51,6 +46,7 @@
90% {background-image: linear-gradient(to bottom, @theme_base_color); border-color: @theme_fg_color; }
100% {background-image: linear-gradient(to bottom, #fafafa, #ededed 40%, #e0e0e0); border-color: @borders; }
}
+
.nautilus-operations-button-needs-attention {
animation: needs_attention_keyframes 2s ease-in-out;
}
diff --git a/src/resources/css/nautilus.css b/src/resources/css/nautilus.css
new file mode 100644
index 000000000..c8a8fd087
--- /dev/null
+++ b/src/resources/css/nautilus.css
@@ -0,0 +1,9 @@
+.nautilus-circular-button {
+ border-radius: 20px;
+ -gtk-outline-radius: 20px;
+}
+
+nautilus-desktop-window,
+nautilus-desktop-window notebook {
+ background-color: transparent;
+}