Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
bootstrap
Commits
a748e251
Commit
a748e251
authored
Sep 01, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17259 from twbs/v4gc
v4: Conditional predefined grid classes
parents
c053f23f
7633d4c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
scss/_grid.scss
scss/_grid.scss
+8
-4
scss/_variables.scss
scss/_variables.scss
+1
-0
No files found.
scss/_grid.scss
View file @
a748e251
...
@@ -23,8 +23,10 @@
...
@@ -23,8 +23,10 @@
//
//
// Rows contain and clear the floats of your columns.
// Rows contain and clear the floats of your columns.
.row
{
@if
$enable-grid-classes
{
@include
make-row
();
.row
{
@include
make-row
();
}
}
}
...
@@ -32,14 +34,16 @@
...
@@ -32,14 +34,16 @@
//
//
// Common styles for small and large grid columns
// Common styles for small and large grid columns
@include
make-grid-columns
();
@if
$enable-grid-classes
{
@include
make-grid-columns
();
}
// Flex variation
// Flex variation
//
//
// Custom styles for additional flex alignment options.
// Custom styles for additional flex alignment options.
@if
$enable-flex
{
@if
$enable-flex
and
$enable-grid-classes
{
// Flex column reordering
// Flex column reordering
...
...
scss/_variables.scss
View file @
a748e251
...
@@ -49,6 +49,7 @@ $enable-shadows: false !default;
...
@@ -49,6 +49,7 @@ $enable-shadows: false !default;
$enable-gradients
:
false
!
default
;
$enable-gradients
:
false
!
default
;
$enable-transitions
:
false
!
default
;
$enable-transitions
:
false
!
default
;
$enable-hover-media-query
:
false
!
default
;
$enable-hover-media-query
:
false
!
default
;
$enable-grid-classes
:
true
!
default
;
// Spacing
// Spacing
...
...
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