forked from AuroraMiddleware/gtk
themes: Don't handle box.linked special
We don't reverse the css nodes anymore in RTL layouts.
This commit is contained in:
parent
34f556fc3e
commit
64313f4a4b
@ -949,23 +949,10 @@ toolbar.inline-toolbar toolbutton:backdrop {
|
||||
border-right-style: solid;
|
||||
}
|
||||
|
||||
// .linked assumes Box, which reverses nodes in RTL, so 1st child is always left
|
||||
// 1st/last child are at text start/end
|
||||
%linked {
|
||||
@extend %linked_middle;
|
||||
|
||||
&:first-child { @extend %linked_left; }
|
||||
&:last-child { @extend %linked_right; }
|
||||
|
||||
&:only-child {
|
||||
border-radius: 3px;
|
||||
border-style: solid;
|
||||
}
|
||||
}
|
||||
|
||||
// Other widgets use widget child order, so 1st/last child are at text start/end
|
||||
%linked_flippable {
|
||||
@extend %linked_middle;
|
||||
|
||||
&:dir(ltr) {
|
||||
&:first-child { @extend %linked_left; }
|
||||
&:last-child { @extend %linked_right; }
|
||||
@ -1717,7 +1704,7 @@ headerbar { // headerbar border rounding
|
||||
// can’t simply remove .linked from the widget as that might break other themes.
|
||||
// Note also we select on filechooser to avoid interfering with NautilusPathBar.
|
||||
filechooser .path-bar.linked > button {
|
||||
@extend %linked_flippable;
|
||||
@extend %linked;
|
||||
}
|
||||
|
||||
.path-bar button {
|
||||
|
@ -757,23 +757,10 @@ toolbar.inline-toolbar toolbutton:backdrop {
|
||||
border-right-style: solid;
|
||||
}
|
||||
|
||||
// .linked assumes Box, which reverses nodes in RTL, so 1st child is always left
|
||||
// 1st/last child are at text start/end
|
||||
%linked {
|
||||
@extend %linked_middle;
|
||||
|
||||
&:first-child { @extend %linked_left; }
|
||||
&:last-child { @extend %linked_right; }
|
||||
|
||||
&:only-child {
|
||||
border-radius: 3px;
|
||||
border-style: solid;
|
||||
}
|
||||
}
|
||||
|
||||
// Other widgets use widget child order, so 1st/last child are at text start/end
|
||||
%linked_flippable {
|
||||
@extend %linked_middle;
|
||||
|
||||
&:dir(ltr) {
|
||||
&:first-child { @extend %linked_left; }
|
||||
&:last-child { @extend %linked_right; }
|
||||
@ -1319,7 +1306,7 @@ headerbar {
|
||||
// can’t simply remove .linked from the widget as that might break other themes.
|
||||
// Note also we select on filechooser to avoid interfering with NautilusPathBar.
|
||||
filechooser .path-bar.linked > button {
|
||||
@extend %linked_flippable;
|
||||
@extend %linked;
|
||||
}
|
||||
|
||||
.path-bar button {
|
||||
|
Loading…
Reference in New Issue
Block a user