Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a0feb211
Commit
a0feb211
authored
Apr 22, 2015
by
Brian Talbot
Browse files
Options
Browse Files
Download
Plain Diff
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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
12 deletions
+20
-12
lms/static/sass/base/_grid-settings.scss
+14
-6
lms/static/sass/shared/_footer.scss
+2
-2
lms/static/sass/shared/_header.scss
+2
-2
lms/static/sass/views/_verification.scss
+2
-2
No files found.
lms/static/sass/base/_grid-settings.scss
View file @
a0feb211
@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
);
lms/static/sass/shared/_footer.scss
View file @
a0feb211
...
@@ -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
);
}
}
...
...
lms/static/sass/shared/_header.scss
View file @
a0feb211
...
@@ -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
;
}
}
...
...
lms/static/sass/views/_verification.scss
View file @
a0feb211
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment