[libadwaita/wip/exalm/style: 2/4] stylesheet: Drop AdwWindow styles
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/style: 2/4] stylesheet: Drop AdwWindow styles
- Date: Wed, 7 Apr 2021 08:35:33 +0000 (UTC)
commit 7cc592e34beeed3ffd7ebca8d2563ca1eca16c1d
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Feb 25 13:02:17 2021 +0500
stylesheet: Drop AdwWindow styles
This is done for all windows now.
Drop the outline style as well, it should be done globally and not here.
Fixes https://gitlab.gnome.org/exalm/libadwaita/-/issues/21
src/stylesheet/_custom.scss | 27 ---------------------------
1 file changed, 27 deletions(-)
---
diff --git a/src/stylesheet/_custom.scss b/src/stylesheet/_custom.scss
index e73f5fb..2537277 100644
--- a/src/stylesheet/_custom.scss
+++ b/src/stylesheet/_custom.scss
@@ -397,33 +397,6 @@ button.list-button:not(:active):not(:checked):not(:hover) {
box-shadow: none;
}
-// Unified window
-
-window.csd.unified:not(.solid-csd):not(.fullscreen) {
- // Remove the sheen on headerbar...
- headerbar {
- box-shadow: inset 0 1px rgba(255, 255, 255, if($variant == 'light', 0.7, 0));
-
- &.selection-mode {
- box-shadow: none;
- }
- }
-
- // ...and add it on the window itself
- > contents > outline {
- // Use a white sheen instead of @borders, as it has to be neutral enough
- // for any content and not just headerbar background
- box-shadow: inset 0 1px rgba(255, 255, 255, if($variant == 'light', 0.34, 0.065));
- }
-
- &:not(.tiled):not(.tiled-top):not(.tiled-bottom):not(.tiled-left):not(.tiled-right):not(.maximized) {
- &,
- > contents > outline {
- border-radius: 8px;
- }
- }
-}
-
// AdwStatusPage
statuspage > scrolledwindow > viewport > box {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]