From ad446f11dcd713bd036f8da2a02f5861757b1ad6 Mon Sep 17 00:00:00 2001 From: Danielle Fore Date: Wed, 24 Jan 2024 13:49:16 -0800 Subject: [PATCH] Remove Settings widgets --- src/gtk-4.0/widgets/_index.scss | 1 - src/gtk-4.0/widgets/_settingspages.scss | 54 ------------------------- src/gtk-4.0/widgets/_sidebars.scss | 24 ----------- 3 files changed, 79 deletions(-) delete mode 100644 src/gtk-4.0/widgets/_settingspages.scss diff --git a/src/gtk-4.0/widgets/_index.scss b/src/gtk-4.0/widgets/_index.scss index 32dfef5e..b44c7fab 100644 --- a/src/gtk-4.0/widgets/_index.scss +++ b/src/gtk-4.0/widgets/_index.scss @@ -78,7 +78,6 @@ selection { @import '_scrollbars.scss'; @import '_searchbars.scss'; @import '_separators.scss'; -@import '_settingspages.scss'; @import '_shortcuts.scss'; @import '_sidebars.scss'; @import '_spinbuttons.scss'; diff --git a/src/gtk-4.0/widgets/_settingspages.scss b/src/gtk-4.0/widgets/_settingspages.scss deleted file mode 100644 index daf79192..00000000 --- a/src/gtk-4.0/widgets/_settingspages.scss +++ /dev/null @@ -1,54 +0,0 @@ -simplesettingspage { - > scrolledwindow > viewport > box { - padding: rem(12px); - } - - .header-area { - margin-bottom: rem(24px); - - > image { - -gtk-icon-size: rem(48px); - - &:dir(ltr) { - // Match square icon canvas whitespace at 48px - margin-left: rem(-4px); - margin-right: rem(7px); - } - - &:dir(rtl) { - margin-left: rem(7px); - margin-right: rem(-4px); - } - } - - label.title-2 { - font-weight: 600; - font-size: 2rem; - } - - label:not(.title-2) { - font-size: 0.95rem; - opacity: 0.85; - } - - switch { - slider { - // Match font size for title - min-height: 2rem; - min-width: 2rem; - } - - &:dir(ltr) { - margin-left: rem(12px); - } - - &:dir(rtl) { - margin-right: rem(12px); - } - } - } - - .buttonbox { - margin-top: rem(24px); - } -} diff --git a/src/gtk-4.0/widgets/_sidebars.scss b/src/gtk-4.0/widgets/_sidebars.scss index 8de320a5..11654dd6 100644 --- a/src/gtk-4.0/widgets/_sidebars.scss +++ b/src/gtk-4.0/widgets/_sidebars.scss @@ -70,30 +70,6 @@ placessidebar viewport.frame { } } -settingssidebar list { - min-width: rem(200px); - - row, - > .title-4 { - padding: rem(6px); - } - - row { - overlay { - // IconSize.LARGE + padding - min-width: calc(32px + #{rem(6px)}); - } - - overlay:dir(ltr) { - margin-right: rem(6px); - } - - overlay:dir(rtl) { - margin-left: rem(6px); - } - } -} - treeview.sidebar { .view { @extend %sidebar-row;