aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Flat/flat.rtl.css
diff options
context:
space:
mode:
Diffstat (limited to 'p/themes/Flat/flat.rtl.css')
-rw-r--r--p/themes/Flat/flat.rtl.css27
1 files changed, 20 insertions, 7 deletions
diff --git a/p/themes/Flat/flat.rtl.css b/p/themes/Flat/flat.rtl.css
index b6c95b7a6..dbbb9a6aa 100644
--- a/p/themes/Flat/flat.rtl.css
+++ b/p/themes/Flat/flat.rtl.css
@@ -311,7 +311,7 @@ a.btn {
/*=== Dropdown */
.dropdown-menu {
margin: 0.5rem 0 0;
- padding: 0.5rem 0;
+ padding: 0.5rem 0 0.25rem 0;
background: #fafafa;
font-size: 0.8rem;
border: 1px solid #95a5a6;
@@ -324,7 +324,8 @@ a.btn {
left: 12px;
}
-.dropdown-header {
+.dropdown-header,
+.dropdown-section .dropdown-section-title {
padding: 0 0.5rem 0.5rem;
font-weight: bold;
text-align: right;
@@ -336,16 +337,27 @@ a.btn {
left: 0.5rem;
}
-.dropdown-menu > .item > a,
-.dropdown-menu > .item > span,
-.dropdown-menu > .item > .as-link {
+.dropdown-menu .item > a,
+.dropdown-menu .item > span,
+.dropdown-menu .item > .as-link {
padding: 0 22px;
line-height: 2.5em;
font-size: 0.8rem;
}
-.dropdown-menu > .item > a:hover,
-.dropdown-menu > .item > button:hover {
+.dropdown-menu .dropdown-section .item > a,
+.dropdown-menu .dropdown-section .item > span,
+.dropdown-menu .dropdown-section .item > .as-link {
+ padding-right: 2rem;
+}
+
+.dropdown-menu .dropdown-section .item:last-child {
+ margin-bottom: 0.5rem;
+}
+
+.dropdown-menu .item > a:hover,
+.dropdown-menu .item > button:hover,
+.dropdown-menu .item > label:hover:not(.noHover) {
background: #2980b9;
color: #fff;
}
@@ -368,6 +380,7 @@ a.btn {
}
.item ~ .dropdown-header,
+.dropdown-section ~ .dropdown-section,
.item.separator {
border-top-color: #ddd;
}