From 00deb5db47350b6e15bb9aa1f8a49093a31284f6 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Fri, 25 Feb 2022 22:27:47 +0800 Subject: [PATCH] Fixed libreoffice issues --- src/sass/gtk/_common-3.0.scss | 9 ++++++--- src/sass/gtk/apps/_misc.scss | 9 +++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/sass/gtk/_common-3.0.scss b/src/sass/gtk/_common-3.0.scss index 73306bf..7d2812f 100644 --- a/src/sass/gtk/_common-3.0.scss +++ b/src/sass/gtk/_common-3.0.scss @@ -116,18 +116,19 @@ $list_shadow: if($variant == 'light', } %linked { - border-radius: 0; - border-right-style: none; + @extend %linked_middle; &:first-child { border-top-left-radius: $bt_radius; border-bottom-left-radius: $bt_radius; } + &:last-child { border-top-right-radius: $bt_radius; border-bottom-right-radius: $bt_radius; border-right-style: solid; } + &:only-child { border-radius: $bt_radius; border-style: solid; @@ -894,14 +895,17 @@ button { padding-left: $container_padding; // label padding padding-right: $container_padding; // } + > image { padding-left: $container_padding; padding-right: $container_padding; } + &.text-button { padding-left: $container_padding + 4px; padding-right: $container_padding + 4px; } + &.image-button { padding-left: 2px; padding-right: 2px; @@ -997,7 +1001,6 @@ toolbar.inline-toolbar toolbutton { // special case, because path-bars are bugged @mixin pathbar_linking_rules ($sep_color: $button_border, $button_rules: 'true') { - @if $button_rules == 'true' { > button + button { border-left-style: none; diff --git a/src/sass/gtk/apps/_misc.scss b/src/sass/gtk/apps/_misc.scss index 1d401a9..df25e21 100644 --- a/src/sass/gtk/apps/_misc.scss +++ b/src/sass/gtk/apps/_misc.scss @@ -294,6 +294,15 @@ window.background:not(.solid-csd) { } } +#combobox.linked { + > button.combo { + &, &:checked { + border-radius: 0 $bt_radius $bt_radius 0; + border-right: 1px solid $borders_color; + } + } +} + // // Tilix //