From 230bf87babc3f7cfdf44ae400f9e437d01bb6c94 Mon Sep 17 00:00:00 2001 From: Max Pozdeev Date: Sun, 20 Sep 2020 18:29:31 +0300 Subject: [PATCH] more RTL fixes in css --- src/content/themes/default/style.css | 4 ++-- src/content/themes/default/style_rtl.css | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/content/themes/default/style.css b/src/content/themes/default/style.css index 90c6cae..e2dcd76 100644 --- a/src/content/themes/default/style.css +++ b/src/content/themes/default/style.css @@ -335,7 +335,7 @@ a.mtt-back-button { font-size:0.8rem; } user-select:none; } .mtt-menu-container ul { list-style: none; padding:0; margin:0; } -.mtt-menu-container li { margin:1px 0px; cursor:default; color:#000; white-space:nowrap; padding-top:0.20rem; padding-bottom:0.20rem; padding-left:28px; padding-right:18px; position:relative; } +.mtt-menu-container li { margin:1px 0px; cursor:default; color:#000; white-space:nowrap; padding-top:0.20rem; padding-bottom:0.20rem; padding-left:28px; padding-right:28px; position:relative; } .mtt-menu-container li:hover, .mtt-menu-container li.mtt-menu-item-active { background-color:#5a8df0; color:white; } @@ -346,7 +346,7 @@ a.mtt-back-button { font-size:0.8rem; } .mtt-menu-container .menu-icon { width:16px; height:16px; position:absolute; left:6px; top:50%; margin-top:-8px; } li.mtt-item-checked .menu-icon { background:url(images/checkmark.svg) no-repeat; } li.mtt-menu-indicator .submenu-icon { - position:absolute; right:2px; top:50%; margin-top:-8px; + position:absolute; right:6px; top:50%; margin-top:-8px; width:16px; height:16px; background:url(images/arr-right.svg) no-repeat; } li.mtt-item-hidden { display:none; } diff --git a/src/content/themes/default/style_rtl.css b/src/content/themes/default/style_rtl.css index f218577..7306a6d 100644 --- a/src/content/themes/default/style_rtl.css +++ b/src/content/themes/default/style_rtl.css @@ -25,6 +25,11 @@ h2 { padding-left:10px; padding-right:0px; } .duedate:before { content:'\20\2190\20'; } .task-date-completed { margin-left:0; margin-right:5px; } +#tagcloudcancel { float:left; } + #taskedit-date { float:left; } #page_taskedit .form-row-short { float:right; margin-left:12px; margin-right:0; } -.alltags-cell { padding-left:0; padding-right:5px; } \ No newline at end of file +.alltags-cell { padding-left:0; padding-right:5px; } + +.mtt-menu-container .menu-icon { left:auto; right:6px; } +li.mtt-menu-indicator .submenu-icon { left:6px; right:auto; transform:rotate(180deg); } \ No newline at end of file