Commit b89752c1 authored by webchick's avatar webchick

Issue #2546196 by andriyun, neclimdul, hussainweb, mgifford, Wim Leers, TR,...

Issue #2546196 by andriyun, neclimdul, hussainweb, mgifford, Wim Leers, TR, andypost: Toolbar's orientation-toggling arrows broken by #2173527
parent 3f689d7a
...@@ -145,9 +145,6 @@ ...@@ -145,9 +145,6 @@
.toolbar-icon-help-main.is-active:before { .toolbar-icon-help-main.is-active:before {
background-image: url(../../../misc/icons/000000/questionmark-disc.svg); background-image: url(../../../misc/icons/000000/questionmark-disc.svg);
} }
.toolbar .toolbar-bar .toolbar-icon:before {
min-height: 3em;
}
@media only screen and (min-width: 16.5em) { @media only screen and (min-width: 16.5em) {
.toolbar .toolbar-bar .toolbar-tab > .toolbar-icon { .toolbar .toolbar-bar .toolbar-tab > .toolbar-icon {
...@@ -261,20 +258,18 @@ ...@@ -261,20 +258,18 @@
* Orientation toggle. * Orientation toggle.
*/ */
.toolbar .toolbar-toggle-orientation button { .toolbar .toolbar-toggle-orientation button {
height: 16px; height: 39px;
padding: 0; padding: 0;
text-indent: -999em; text-indent: -999em;
width: 20px; width: 39px;
} }
.toolbar .toolbar-toggle-orientation button:before { .toolbar .toolbar-toggle-orientation button:before {
left: 0; /* LTR */ left: 0;
}
[dir="rtl"] .toolbar .toolbar-toggle-orientation button:before {
left: auto;
right: 0; right: 0;
margin: 0 auto;
} }
[dir="rtl"] .toolbar .toolbar-toggle-orientation .toolbar-icon { [dir="rtl"] .toolbar .toolbar-toggle-orientation .toolbar-icon {
padding-right: 0; padding: 0;
} }
/** /**
* In order to support a hover effect on the SVG images, while also supporting * In order to support a hover effect on the SVG images, while also supporting
...@@ -299,7 +294,7 @@ ...@@ -299,7 +294,7 @@
.toolbar .toolbar-toggle-orientation [value="horizontal"]:before { .toolbar .toolbar-toggle-orientation [value="horizontal"]:before {
background-image: url(../../../misc/icons/bebebe/push-up.svg); background-image: url(../../../misc/icons/bebebe/push-up.svg);
} }
.toolbar .toolbar-toggle-orientation [value="horizontal"]:hover:before { .toolbar .toolbar-toggle-orientation [value="horizontal"]:hover:before,
.toolbar .toolbar-toggle-orientation [value="horizontal"]:focus:before {
background-image: url(../../../misc/icons/787878/push-up.svg); background-image: url(../../../misc/icons/787878/push-up.svg);
} }
...@@ -146,7 +146,8 @@ ...@@ -146,7 +146,8 @@
*/ */
.toolbar .toolbar-toggle-orientation { .toolbar .toolbar-toggle-orientation {
background-color: #f5f5f5; background-color: #f5f5f5;
padding: 0.6667em; padding: 0;
height: 100%;
} }
.toolbar .toolbar-tray-horizontal .toolbar-toggle-orientation { .toolbar .toolbar-tray-horizontal .toolbar-toggle-orientation {
border-left: 1px solid #c9c9c9; /* LTR */ border-left: 1px solid #c9c9c9; /* LTR */
...@@ -157,7 +158,6 @@ ...@@ -157,7 +158,6 @@
} }
.toolbar .toolbar-toggle-orientation > .toolbar-lining { .toolbar .toolbar-toggle-orientation > .toolbar-lining {
float: right; /* LTR */ float: right; /* LTR */
padding: 0.1667em;
} }
[dir="rtl"] .toolbar .toolbar-toggle-orientation > .toolbar-lining { [dir="rtl"] .toolbar .toolbar-toggle-orientation > .toolbar-lining {
float: left; float: left;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment