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
a5da61b4
Commit
a5da61b4
authored
Oct 21, 2014
by
AlasdairSwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-408 Added breakpoint variables to _grid-settings.scss
parent
93246db6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
lms/static/sass/base/_grid-settings.scss
+9
-2
lms/static/sass/views/_login-register.scss
+12
-3
No files found.
lms/static/sass/base/_grid-settings.scss
View file @
a5da61b4
/* Override the default global box-sizing */
$border-box-sizing
:
false
;
\ No newline at end of file
@import
"neat/neat-helpers"
;
// or "neat-helpers" when in Rails
$border-box-sizing
:
false
;
/* Breakpoints */
$mobile
:
new-breakpoint
(
max-width
320px
4
);
$tablet
:
new-breakpoint
(
min-width
321px
max-width
768px
,
8
);
$desktop
:
new-breakpoint
(
min-width
769px
12
);
\ No newline at end of file
lms/static/sass/views/_login-register.scss
View file @
a5da61b4
...
...
@@ -3,8 +3,9 @@
.login-register
{
@include
box-sizing
(
border-box
);
@include
span-columns
(
6
);
@include
shift
(
3
);
@include
span-columns
(
4
);
width
:
100%
;
max-width
:
1200px
;
/* Temp. fix until applied globally */
&
>
{
...
...
@@ -81,10 +82,18 @@
display
:
inline
;
}
@include
media
(
$tablet
)
{
@include
span-columns
(
6
);
@include
shift
(
1
);
}
@include
media
(
$desktop
)
{
@include
span-columns
(
6
);
@include
shift
(
3
);
}
}
/*// individual fields
.field {
...
...
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