Fixed libreoffice issues

This commit is contained in:
vinceliuice 2022-02-25 22:27:47 +08:00
parent 16a845fb57
commit 00deb5db47
2 changed files with 15 additions and 3 deletions

View file

@ -116,18 +116,19 @@ $list_shadow: if($variant == 'light',
} }
%linked { %linked {
border-radius: 0; @extend %linked_middle;
border-right-style: none;
&:first-child { &:first-child {
border-top-left-radius: $bt_radius; border-top-left-radius: $bt_radius;
border-bottom-left-radius: $bt_radius; border-bottom-left-radius: $bt_radius;
} }
&:last-child { &:last-child {
border-top-right-radius: $bt_radius; border-top-right-radius: $bt_radius;
border-bottom-right-radius: $bt_radius; border-bottom-right-radius: $bt_radius;
border-right-style: solid; border-right-style: solid;
} }
&:only-child { &:only-child {
border-radius: $bt_radius; border-radius: $bt_radius;
border-style: solid; border-style: solid;
@ -894,14 +895,17 @@ button {
padding-left: $container_padding; // label padding padding-left: $container_padding; // label padding
padding-right: $container_padding; // padding-right: $container_padding; //
} }
> image { > image {
padding-left: $container_padding; padding-left: $container_padding;
padding-right: $container_padding; padding-right: $container_padding;
} }
&.text-button { &.text-button {
padding-left: $container_padding + 4px; padding-left: $container_padding + 4px;
padding-right: $container_padding + 4px; padding-right: $container_padding + 4px;
} }
&.image-button { &.image-button {
padding-left: 2px; padding-left: 2px;
padding-right: 2px; padding-right: 2px;
@ -997,7 +1001,6 @@ toolbar.inline-toolbar toolbutton {
// special case, because path-bars are bugged // special case, because path-bars are bugged
@mixin pathbar_linking_rules ($sep_color: $button_border, $button_rules: 'true') { @mixin pathbar_linking_rules ($sep_color: $button_border, $button_rules: 'true') {
@if $button_rules == 'true' { @if $button_rules == 'true' {
> button + button { > button + button {
border-left-style: none; border-left-style: none;

View file

@ -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 // Tilix
// //