Commit a36f97f7 authored by Jetha Chan's avatar Jetha Chan
Browse files

MDL-44512 themes: fix for custom menu submenu arrows on RTL languages

parent 337075d1
......@@ -246,6 +246,22 @@ div#dock {
width: 100%;
}
// Dropdown styling.
.dropdown-menu {
> li > a {
padding: 3px 20px 3px 8px;
}
}
.dir-rtl .dropdown-menu {
> li > a {
padding: 3px 8px 3px 20px;
}
}
.dir-rtl .dropdown-submenu > .dropdown-menu {
.border-radius(6px 0px 6px 6px);
}
// Survey module
.path-mod-survey {
......@@ -270,4 +286,11 @@ div#dock {
}
}
}
}
.nav .caret {
margin-left: 4px;
}
.dir-rtl .nav .caret {
margin-right: 4px;
}
\ No newline at end of file
......@@ -394,23 +394,25 @@
.dropdown-menu {
right:0;
left:auto;
margin-right: 0px;
}
.navbar .nav>li>.dropdown-menu:before {
.navbar .nav > li > .dropdown-menu:before {
right:9px;
left:auto;
}
.navbar .nav>li>.dropdown-menu:after {
.navbar .nav > li > .dropdown-menu:after {
right: 10px;
left:auto;
}
.dropdown-submenu>a:after {
margin-right: -10px;
margin-left: 0;
.dropdown-submenu > a:after {
margin-right: 0;
margin-left: -10px;
float: left;
border-right-color: #ccc;
border-left-color: transparent;
border-width: 5px 5px 5px 0px;
}
.dropdown-submenu>.dropdown-menu {
.dropdown-submenu > .dropdown-menu {
right:100%;
left:auto;
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Supports Markdown
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