Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
9d201a8e
Commit
9d201a8e
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Move .bg-* utility classes into separate file
[skip sauce] [skip validator]
parent
6e8f08dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scss/_utilities-background.scss
+24
-0
scss/_utilities-background.scss
scss/_utilities.scss
+0
-26
scss/_utilities.scss
scss/bootstrap.scss
+1
-0
scss/bootstrap.scss
with
25 additions
and
26 deletions
+25
-26
scss/_utilities-background.scss
0 → 100644
+
24
-
0
View file @
9d201a8e
//
// Contextual backgrounds
//
// Inverse
// TODO: redo this as a proper class
.bg-inverse
{
color
:
$gray-lighter
;
background-color
:
$gray-dark
;
}
.bg-faded
{
background-color
:
$gray-lightest
;
}
@include
bg-variant
(
'.bg-primary'
,
$brand-primary
);
@include
bg-variant
(
'.bg-success'
,
$brand-success
);
@include
bg-variant
(
'.bg-info'
,
$brand-info
);
@include
bg-variant
(
'.bg-warning'
,
$brand-warning
);
@include
bg-variant
(
'.bg-danger'
,
$brand-danger
);
This diff is collapsed.
Click to expand it.
scss/_utilities.scss
+
0
-
26
View file @
9d201a8e
...
...
@@ -89,29 +89,3 @@
@include
text-emphasis-variant
(
'.text-warning'
,
$brand-warning
);
@include
text-emphasis-variant
(
'.text-danger'
,
$brand-danger
);
// Contextual backgrounds
// For now we'll leave these alongside the text classes until v4 when we can
// safely shift things around (per SemVer rules).
// Inverse
// Todo: redo this as a proper class
.bg-inverse
{
color
:
$gray-lighter
;
background-color
:
$gray-dark
;
}
.bg-faded
{
background-color
:
$gray-lightest
;
}
@include
bg-variant
(
'.bg-primary'
,
$brand-primary
);
@include
bg-variant
(
'.bg-success'
,
$brand-success
);
@include
bg-variant
(
'.bg-info'
,
$brand-info
);
@include
bg-variant
(
'.bg-warning'
,
$brand-warning
);
@include
bg-variant
(
'.bg-danger'
,
$brand-danger
);
This diff is collapsed.
Click to expand it.
scss/bootstrap.scss
+
1
-
0
View file @
9d201a8e
...
...
@@ -51,5 +51,6 @@
// Utility classes
@import
"utilities"
;
@import
"utilities-background"
;
@import
"utilities-spacing"
;
@import
"utilities-responsive"
;
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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