[libadwaita] Revert "stylesheet: Add .toggle-group style"
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita] Revert "stylesheet: Add .toggle-group style"
- Date: Mon, 13 Sep 2021 11:09:14 +0000 (UTC)
commit 9954a9826165199f6ac0a4296e6096d9309f94b9
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Sep 13 11:09:14 2021 +0000
Revert "stylesheet: Add .toggle-group style"
This reverts commit feeef12a2a3b69206e5aa12667dbcdcd0f2157cd
src/stylesheet/_colors.scss | 2 --
src/stylesheet/_widgets.scss | 1 -
src/stylesheet/meson.build | 1 -
src/stylesheet/widgets/_toggle-group.scss | 51 -------------------------------
src/stylesheet/widgets/_toolbars.scss | 23 +-------------
5 files changed, 1 insertion(+), 77 deletions(-)
---
diff --git a/src/stylesheet/_colors.scss b/src/stylesheet/_colors.scss
index 903d7437..255c0cf4 100644
--- a/src/stylesheet/_colors.scss
+++ b/src/stylesheet/_colors.scss
@@ -57,8 +57,6 @@ $fill_active_color: gtkmix($accent_bg_color, black, 80%);
$slider_color: mix(white, $base_color, 80%);
$slider_hover_color: white;
-$card_bg_color: if($variant == 'light', white, transparentize(white, .8));
-
$scrollbar_bg_color: if($variant == 'light', mix($bg_color, $fg_color, 80%), mix($base_color, $bg_color,
50%));
$scrollbar_slider_color: mix($fg_color, $bg_color, 60%);
$scrollbar_slider_hover_color: mix($fg_color, $bg_color, 80%);
diff --git a/src/stylesheet/_widgets.scss b/src/stylesheet/_widgets.scss
index 684dfcae..fbf00430 100644
--- a/src/stylesheet/_widgets.scss
+++ b/src/stylesheet/_widgets.scss
@@ -32,7 +32,6 @@
@import 'widgets/switch';
@import 'widgets/tab-view';
@import 'widgets/text-selection';
-@import 'widgets/toggle-group';
@import 'widgets/toolbars';
@import 'widgets/tooltip';
@import 'widgets/transition-shadow';
diff --git a/src/stylesheet/meson.build b/src/stylesheet/meson.build
index 5272f690..4dbbfa9b 100644
--- a/src/stylesheet/meson.build
+++ b/src/stylesheet/meson.build
@@ -56,7 +56,6 @@ if not fs.exists('Adwaita-light.css')
'widgets/_switch.scss',
'widgets/_tab-view.scss',
'widgets/_text-selection.scss',
- 'widgets/_toggle-group.scss',
'widgets/_toolbars.scss',
'widgets/_tooltip.scss',
'widgets/_transition-shadow.scss',
diff --git a/src/stylesheet/widgets/_toolbars.scss b/src/stylesheet/widgets/_toolbars.scss
index feba0e60..acbc83c3 100644
--- a/src/stylesheet/widgets/_toolbars.scss
+++ b/src/stylesheet/widgets/_toolbars.scss
@@ -24,16 +24,6 @@
}
}
- .toggle-group {
- button:not(.raised):not(.suggested-action):not(.destructive-action).toggle {
- &.arrow-button,
- &.image-button,
- &.image-text-button {
- @extend %toggle_group_button;
- }
- }
- }
-
menubutton.raised > button:not(.raised):not(.suggested-action):not(.destructive-action) {
&.arrow-button,
&.image-button,
@@ -79,16 +69,6 @@
margin-bottom: 10px;
}
- .toggle-group {
- margin-top: 6px;
- margin-bottom: 6px;
-
- > button {
- margin-top: 0;
- margin-bottom: 0;
- }
- }
-
// Reset styles for popovers
popover {
button:not(.raised):not(.suggested-action):not(.destructive-action) {
@@ -111,8 +91,7 @@
separator:not(.sidebar),
button,
menubutton,
- switch,
- .toggle-group {
+ switch {
margin-top: 0;
margin-bottom: 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]