themes: Don't handle box.linked special

We don't reverse the css nodes anymore in RTL layouts.
This commit is contained in:
Timm Bäder 2018-06-18 19:39:32 +02:00
parent 34f556fc3e
commit 64313f4a4b
2 changed files with 4 additions and 30 deletions

View File

@ -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
// cant 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 {

View File

@ -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 {
// cant 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 {