[libadwaita/wip/exalm/oapcity: 12/14] stylesheet: Fix notebook disabled state
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/oapcity: 12/14] stylesheet: Fix notebook disabled state
- Date: Mon, 25 Oct 2021 13:03:40 +0000 (UTC)
commit bd9b06f114e2ddb2489b0a107aeb65b5a745cf94
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Oct 22 12:11:47 2021 +0500
stylesheet: Fix notebook disabled state
src/stylesheet/widgets/_notebook.scss | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/src/stylesheet/widgets/_notebook.scss b/src/stylesheet/widgets/_notebook.scss
index 6d25a601..d8f900fc 100644
--- a/src/stylesheet/widgets/_notebook.scss
+++ b/src/stylesheet/widgets/_notebook.scss
@@ -132,6 +132,14 @@ notebook {
outline-color: transparent;
}
+ &:disabled {
+ filter: opacity($disabled_opacity);
+
+ label, button {
+ filter: none;
+ }
+ }
+
// colors the button like the label, overridden otherwise
button.flat {
color: gtkalpha(currentColor, 0.3);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]