From 5e8463842ad4639c8a06ac0c11506c7d5f30b9cc Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Thu, 11 May 2017 15:26:48 +0200 Subject: [PATCH] Adwaita: regenerate the css --- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++++++++--- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 7ec62971ac..deb721db85 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -162,11 +162,21 @@ treeview entry.flat, treeview entry { border-radius: 0; background-image: none; treeview entry.flat:focus, treeview entry:focus { border-color: #215d9c; } -.entry-tag { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; background-color: #0c0d0d; } +.entry-tag { padding: 5px; margin-top: 2px; margin-bottom: 2px; border-style: none; color: #232729; background-color: #898b8b; } -.entry-tag:hover { background-color: #232729; } +:dir(ltr) .entry-tag { margin-left: 8px; margin-right: -5px; } -.entry-tag .button { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; background-color: transparent; } +:dir(rtl) .entry-tag { margin-left: -5px; margin-right: 8px; } + +.entry-tag:hover { background-color: #a3a4a4; } + +:backdrop .entry-tag { color: #252a2c; background-color: #5b5f60; } + +.entry-tag.button { background-color: transparent; color: rgba(35, 39, 41, 0.7); } + +:not(:backdrop) .entry-tag.button:hover { border: 1px solid #898b8b; color: #232729; } + +:not(:backdrop) .entry-tag.button:active { background-color: #898b8b; color: rgba(35, 39, 41, 0.7); } /*********** Buttons * */ @keyframes needs_attention { from { background-image: radial-gradient(farthest-side, #3583d5 0%, rgba(53, 131, 213, 0) 0%); } diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index d1eefc1ff1..95c39ba120 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -162,11 +162,21 @@ treeview entry.flat, treeview entry { border-radius: 0; background-image: none; treeview entry.flat:focus, treeview entry:focus { border-color: #4a90d9; } -.entry-tag { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; background-color: #e6e6e6; } +.entry-tag { padding: 5px; margin-top: 2px; margin-bottom: 2px; border-style: none; color: #ffffff; background-color: #4a90d9; } -.entry-tag:hover { background-color: #ffffff; } +:dir(ltr) .entry-tag { margin-left: 8px; margin-right: -5px; } -.entry-tag .button { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; background-color: transparent; } +:dir(rtl) .entry-tag { margin-left: -5px; margin-right: 8px; } + +.entry-tag:hover { background-color: #74aae2; } + +:backdrop .entry-tag { color: #fcfcfc; background-color: #4a90d9; } + +.entry-tag.button { background-color: transparent; color: rgba(255, 255, 255, 0.7); } + +:not(:backdrop) .entry-tag.button:hover { border: 1px solid #4a90d9; color: #ffffff; } + +:not(:backdrop) .entry-tag.button:active { background-color: #4a90d9; color: rgba(255, 255, 255, 0.7); } /*********** Buttons * */ @keyframes needs_attention { from { background-image: radial-gradient(farthest-side, #4a90d9 0%, rgba(74, 144, 217, 0) 0%); }