From 9f6a3012a5e3b2a4104653a0e23f07c849457c54 Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 11 Aug 2015 19:05:37 -0400 Subject: [PATCH] this fixes cloud widget for rtl languages --- src/css/cloud-ui.css | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/css/cloud-ui.css b/src/css/cloud-ui.css index b6f941fca..b96ad8811 100644 --- a/src/css/cloud-ui.css +++ b/src/css/cloud-ui.css @@ -15,8 +15,8 @@ #cloudPull[disabled] { visibility: hidden; } -body[dir="ltr"] #cloudPush:after , -body[dir="ltr"] #cloudPull:before { +#cloudPush:after , +#cloudPull:before { font-family: FontAwesome; font-style: normal; font-weight: normal; @@ -55,9 +55,14 @@ body[dir="rtl"] #cloudPull:before { opacity: 0.5; padding: 4px; position: absolute; - right: 0; top: 0; } +body[dir="ltr"] #cloudWidget > #cloudCog { + right: 0; + } +body[dir="rtl"] #cloudWidget > #cloudCog { + left: 0; + } #cloudWidget > #cloudCog:hover { opacity: 1; }