Commit 2c8698c0 by Chris

Merge pull request #6970 from edx/clrux/rtl-1629-fix

Adding new logistration Sass partial to RTL compiled
parents 7766ed64 bed9d2f5
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
// base - specific views // base - specific views
@import 'views/verification'; @import 'views/verification';
@import 'views/shoppingcart'; @import 'views/shoppingcart';
@import 'views/login-register';
// applications // applications
@import "discussion/utilities/variables"; @import "discussion/utilities/variables";
......
...@@ -223,15 +223,14 @@ $sm-btn-linkedin: #0077b5; ...@@ -223,15 +223,14 @@ $sm-btn-linkedin: #0077b5;
width: 100%; width: 100%;
margin: 0 0 5px 0; margin: 0 0 5px 0;
&.select-gender { &.select-year_of_birth {
margin-right: 20px; @include margin-left(15px);
} }
&.select-gender, &.select-gender,
&.select-year_of_birth { &.select-year_of_birth {
display: inline-block;
width: calc( 50% - 10px ); width: calc( 50% - 10px );
float: left;
clear: none;
} }
/** FROM _accounts.scss - start **/ /** FROM _accounts.scss - start **/
...@@ -250,6 +249,7 @@ $sm-btn-linkedin: #0077b5; ...@@ -250,6 +249,7 @@ $sm-btn-linkedin: #0077b5;
label { label {
@include transition(color 0.15s ease-in-out 0s); @include transition(color 0.15s ease-in-out 0s);
display: block;
margin: 0 0 6px 0; margin: 0 0 6px 0;
color: tint($black, 20%); color: tint($black, 20%);
font-weight: $font-semibold; font-weight: $font-semibold;
...@@ -263,10 +263,10 @@ $sm-btn-linkedin: #0077b5; ...@@ -263,10 +263,10 @@ $sm-btn-linkedin: #0077b5;
} }
&[for="register-honor_code"] { &[for="register-honor_code"] {
display: block; display: inline-block;
margin: -30px 5% 15px; margin: 5px 5px 0 0;
width: 90%; width: 90%;
text-align: center; vertical-align: top;
} }
a { a {
...@@ -287,6 +287,7 @@ $sm-btn-linkedin: #0077b5; ...@@ -287,6 +287,7 @@ $sm-btn-linkedin: #0077b5;
} }
input, input,
select,
textarea { textarea {
display: block; display: block;
width: 100%; width: 100%;
......
<p class="form-field <%=type%>-<%= name %>"> <div class="form-field <%=type%>-<%= name %>">
<% if ( type !== 'checkbox' ) { %> <% if ( type !== 'checkbox' ) { %>
<label for="<%= form %>-<%= name %>"> <label for="<%= form %>-<%= name %>">
<%= label %> <%= label %>
...@@ -63,4 +63,4 @@ ...@@ -63,4 +63,4 @@
<% if( form === 'login' && name === 'password' ) { %> <% if( form === 'login' && name === 'password' ) { %>
<a href="#" class="forgot-password field-link"><%- gettext("Forgot password?") %></a> <a href="#" class="forgot-password field-link"><%- gettext("Forgot password?") %></a>
<% } %> <% } %>
</p> </div>
Markdown is supported
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