// Menu toggle button on small devices
.toggle-topbar {
position: absolute;
- right: 0;
+ #{$default-opposite}: 0;
top: 0;
a {
// Adding the class "menu-icon" will add the 3-line icon people love and adore.
&.menu-icon {
- right: $topbar-height / 3;
+ #{$default-opposite}: $topbar-height / 3;
top: 50%;
margin-top: -16px;
- padding-left: 40px;
+ padding-#{$default-float}: 40px;
a {
text-indent: -48px;
span {
position: absolute;
- right: 0;
+ #{$default-opposite}: 0;
display: block;
width: 16px;
height: 0;
& > a {
display: block;
width: 100%;
- padding: 12px 0 12px $topbar-height / 3;
color: $topbar-dropdown-link-color;
+ padding: 12px 0 12px 0;
+ padding-#{$default-float}: $topbar-height / 3;
font-size: $topbar-link-font-size;
font-weight: $topbar-link-weight;
background: $topbar-dropdown-bg;
margin-top: -($topbar-dropdown-toggle-size / 2) - 2;
position: absolute;
top: 50%;
- right: 0;
+ #{$default-opposite}: 0;
}
}
.top-bar { background: $topbar-bg; @include clearfix; overflow: visible;
.toggle-topbar { display: none; }
- .title-area { float: left; }
+ .title-area { float: $default-float; }
.name h1 a { width: auto; }
input,
display: inline;
li {
- float: left;
+ float: $default-float;
.js-generated { display: none; }
}
}
border: none;
content: "\00bb";
margin-top: -7px;
- right: 5px;
+ #{$default-opposite}: 5px;
}
}
}
}
.dropdown {
- left: 0;
+ #{$default-float}: 0;
top: auto;
background: transparent;
// Second Level Dropdowns
.dropdown {
- left: 100%;
+ #{$default-float}: 100%;
top: 0;
}
}
& > ul > .divider {
border-bottom: none;
border-top: none;
- border-right: solid 1px lighten($topbar-bg, 10%);
- border-left: solid 1px darken($topbar-bg, 10%);
+ border-#{$default-opposite}: solid 1px lighten($topbar-bg, 10%);
+ border-#{$default-float}: solid 1px darken($topbar-bg, 10%);
clear: none;
height: $topbar-height;
width: 0px;