Commit a0feb211 by Brian Talbot

Merge pull request #7770 from edx/talbs/rc/2015-04-22/fix-breakpoints

Fix: edx.org and Open edX breakpoint clash - ECOM-1457
parents d50ed75f ded6c4db
@import "neat/neat-helpers"; // or "neat-helpers" when in Rails @import "neat/neat-helpers";
/* Change the grid settings */ // Change the grid settings
$max-width: 1200px; $max-width: 1200px;
/* Override the default global box-sizing */
// Override the default global box-sizing
$border-box-sizing: false; $border-box-sizing: false;
/* Grid width variables */
$large-min-width: 769px;
// Grid width variables
$large-min-width: 769px;
/* Breakpoints */ // breakpoints
$bp-tiny: new-breakpoint(max-width 320px 4); $bp-tiny: new-breakpoint(max-width 320px 4);
$bp-small: new-breakpoint(min-width 321px max-width 540px, 4); $bp-small: new-breakpoint(min-width 321px max-width 540px, 4);
$bp-medium: new-breakpoint(min-width 541px max-width 768px, 8); $bp-medium: new-breakpoint(min-width 541px max-width 768px, 8);
$bp-large: new-breakpoint(min-width $large-min-width max-width 979px, 12); $bp-large: new-breakpoint(min-width $large-min-width max-width 979px, 12);
$bp-huge: new-breakpoint(min-width 980px 12); $bp-huge: new-breakpoint(min-width 980px 12);
// edX-centric breakpoints (to be temporarily used with edx.org features only)
$edx-bp-tiny: new-breakpoint(max-width 320px 4);
$edx-bp-small: new-breakpoint(min-width 321px max-width 540px, 4);
$edx-bp-medium: new-breakpoint(min-width 541px max-width 768px, 8);
$edx-bp-large: new-breakpoint(min-width $large-min-width 12);
$edx-bp-huge: new-breakpoint(min-width 980px 12);
...@@ -445,10 +445,10 @@ $edx-footer-bg-color: rgb(252,252,252); ...@@ -445,10 +445,10 @@ $edx-footer-bg-color: rgb(252,252,252);
@include span-columns(12); @include span-columns(12);
} }
@include media( $bp-medium ) { @include media( $edx-bp-medium ) {
} }
@include media( $bp-large ) { @include media( $edx-bp-large ) {
.footer-about { .footer-about {
@include span-columns(6); @include span-columns(6);
} }
......
...@@ -765,7 +765,7 @@ header.global-new { ...@@ -765,7 +765,7 @@ header.global-new {
} }
} }
@include media( $bp-large ) { @include media( $edx-bp-large ) {
.wrapper-header { .wrapper-header {
width: 100%; width: 100%;
min-width: 800px; min-width: 800px;
...@@ -828,7 +828,7 @@ header.global-new { ...@@ -828,7 +828,7 @@ header.global-new {
} }
} }
@include media( $bp-huge ) { @include media( $edx-bp-huge ) {
.wrapper-header { .wrapper-header {
padding: 17px 0; padding: 17px 0;
} }
......
...@@ -1431,7 +1431,7 @@ ...@@ -1431,7 +1431,7 @@
} }
} }
@include media( $bp-large ) { @include media( $edx-bp-large ) {
.contribution-options { .contribution-options {
.field { .field {
width: auto; width: auto;
...@@ -1454,7 +1454,7 @@ ...@@ -1454,7 +1454,7 @@
} }
} }
@include media( $bp-huge ) { @include media( $edx-bp-huge ) {
.register-choice { .register-choice {
.list-actions { .list-actions {
float: right; float: right;
......
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