Merge pull request #6966 from edx/clrux/rtl-1628-fix
Adjusting RTL styles for UX-1628
This commit is contained in:
@@ -162,7 +162,7 @@ header.global {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
@include transition(all 0.15s linear 0s);
|
@include transition(all 0.15s linear 0s);
|
||||||
width: 26px;
|
width: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
@@ -299,11 +299,6 @@ header.global {
|
|||||||
@extend %m-btn-primary;
|
@extend %m-btn-primary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// logged in
|
|
||||||
&.authenticated {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -335,7 +330,6 @@ header.global-new {
|
|||||||
@extend %ui-depth1;
|
@extend %ui-depth1;
|
||||||
/* Temp. fix until applied globally */
|
/* Temp. fix until applied globally */
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 4px solid $courseware-border-bottom-color;
|
border-bottom: 4px solid $courseware-border-bottom-color;
|
||||||
@@ -352,7 +346,7 @@ header.global-new {
|
|||||||
}
|
}
|
||||||
|
|
||||||
h1.logo {
|
h1.logo {
|
||||||
float: left;
|
@include float(left);
|
||||||
margin: -2px 39px 0 10px;
|
margin: -2px 39px 0 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@@ -361,12 +355,12 @@ header.global-new {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.left {
|
.nav-global {
|
||||||
float: left;
|
@include float(left);
|
||||||
}
|
}
|
||||||
|
|
||||||
.guest {
|
.guest {
|
||||||
float: right;
|
@include float(right);
|
||||||
}
|
}
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
@@ -436,7 +430,7 @@ header.global-new {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.user {
|
.user {
|
||||||
float: right;
|
@include float(right);
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
|
|
||||||
> .primary {
|
> .primary {
|
||||||
@@ -452,8 +446,8 @@ header.global-new {
|
|||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
> a {
|
> a {
|
||||||
border-radius: 0 4px 4px 0;
|
@include border-radius(0, 4px, 4px, 0);
|
||||||
border-left: none;
|
@include border-left(none);
|
||||||
padding: 5px 8px 7px 8px;
|
padding: 5px 8px 7px 8px;
|
||||||
|
|
||||||
&.shopping-cart {
|
&.shopping-cart {
|
||||||
@@ -485,7 +479,7 @@ header.global-new {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
@include transition(all 0.15s linear 0s);
|
@include transition(all 0.15s linear 0s);
|
||||||
width: 26px;
|
width: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover, &:focus {
|
&:hover, &:focus {
|
||||||
@@ -568,7 +562,7 @@ header.global-new {
|
|||||||
%default-header-nav {
|
%default-header-nav {
|
||||||
margin-top: ($baseline/4);
|
margin-top: ($baseline/4);
|
||||||
list-style: none;
|
list-style: none;
|
||||||
float: left;
|
@include float(left);
|
||||||
|
|
||||||
li,
|
li,
|
||||||
div {
|
div {
|
||||||
@@ -601,7 +595,7 @@ header.global-new {
|
|||||||
|
|
||||||
.nav-courseware {
|
.nav-courseware {
|
||||||
@extend %default-header-nav;
|
@extend %default-header-nav;
|
||||||
float: right;
|
@include float(right);
|
||||||
|
|
||||||
div {
|
div {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
Reference in New Issue
Block a user