diff --git a/src/css/popup.css b/src/css/popup.css index b893460..315849b 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -83,23 +83,40 @@ body.tScopeSite .scopeRel:not(.disabled) { color: #a00; } +html.ltr #buttonMtxSwitches + .dropdown-menu { + left: -80%; + } +html.rtl #buttonMtxSwitches + .dropdown-menu { + right: -80%; + } #mtxSwitches > li { color: #888; } #mtxSwitches > li.switchTrue { color: #000; } -#mtxSwitches > li > span:before { +html.ltr #mtxSwitches > li > span:before { content: '\f204'; font: 120% FontAwesome; padding-right: 0.5em; } -#mtxSwitches > li.switchTrue > span:before { +html.ltr #mtxSwitches > li.switchTrue > span:before { color: #000; content: '\f205'; font: 120% FontAwesome; padding-right: 0.5em; } +html.rtl #mtxSwitches > li > span:after { + content: '\f204'; + font: 120% FontAwesome; + padding-left: 0.5em; + } +html.rtl #mtxSwitches > li.switchTrue > span:after { + color: #000; + content: '\f205'; + font: 120% FontAwesome; + padding-left: 0.5em; + } .dropdown-menu { diff --git a/src/popup.html b/src/popup.html index 8c3cb9a..c4a3201 100644 --- a/src/popup.html +++ b/src/popup.html @@ -29,7 +29,7 @@ -
+