From 23e2b8b702b8cebb9b33603fc3b58db8d5143629 Mon Sep 17 00:00:00 2001 From: Chris Rodriguez Date: Wed, 11 Feb 2015 13:34:00 -0500 Subject: [PATCH] Adjusting RTL styles for UX-1628 --- lms/static/sass/shared/_header.scss | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/lms/static/sass/shared/_header.scss b/lms/static/sass/shared/_header.scss index 29cf06b520..709d59e86d 100644 --- a/lms/static/sass/shared/_header.scss +++ b/lms/static/sass/shared/_header.scss @@ -162,7 +162,7 @@ header.global { position: absolute; top: 4px; @include transition(all 0.15s linear 0s); - width: 26px; + width: 19px; } &:hover, &:focus { @@ -299,11 +299,6 @@ header.global { @extend %m-btn-primary; } } - - // logged in - &.authenticated { - - } } } @@ -335,7 +330,6 @@ header.global-new { @extend %ui-depth1; /* Temp. fix until applied globally */ @include box-sizing(border-box); - position: relative; width: 100%; border-bottom: 4px solid $courseware-border-bottom-color; @@ -352,7 +346,7 @@ header.global-new { } h1.logo { - float: left; + @include float(left); margin: -2px 39px 0 10px; position: relative; @@ -361,12 +355,12 @@ header.global-new { } } - .left { - float: left; + .nav-global { + @include float(left); } .guest { - float: right; + @include float(right); } > li { @@ -436,7 +430,7 @@ header.global-new { } .user { - float: right; + @include float(right); margin-top: 4px; > .primary { @@ -452,8 +446,8 @@ header.global-new { &:last-child { > a { - border-radius: 0 4px 4px 0; - border-left: none; + @include border-radius(0, 4px, 4px, 0); + @include border-left(none); padding: 5px 8px 7px 8px; &.shopping-cart { @@ -485,7 +479,7 @@ header.global-new { position: absolute; top: 4px; @include transition(all 0.15s linear 0s); - width: 26px; + width: 19px; } &:hover, &:focus { @@ -568,7 +562,7 @@ header.global-new { %default-header-nav { margin-top: ($baseline/4); list-style: none; - float: left; + @include float(left); li, div { @@ -601,7 +595,7 @@ header.global-new { .nav-courseware { @extend %default-header-nav; - float: right; + @include float(right); div { display: inline-block;