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
a6ae1cc5
Commit
a6ae1cc5
authored
7 years ago
by
Mark Otto
Committed by
Mark Otto
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Move alert theme-color() levels to variables
Closes
#24341
parent
be3aa437
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_alert.scss
+1
-1
scss/_alert.scss
scss/_variables.scss
+4
-0
scss/_variables.scss
with
5 additions
and
1 deletion
+5
-1
scss/_alert.scss
+
1
-
1
View file @
a6ae1cc5
...
@@ -46,6 +46,6 @@
...
@@ -46,6 +46,6 @@
@each
$color
,
$value
in
$theme-colors
{
@each
$color
,
$value
in
$theme-colors
{
.alert-
#{
$color
}
{
.alert-
#{
$color
}
{
@include
alert-variant
(
theme-color-level
(
$color
,
-10
)
,
theme-color-level
(
$color
,
-9
)
,
theme-color-level
(
$color
,
6
));
@include
alert-variant
(
theme-color-level
(
$color
,
$alert-bg-level
)
,
theme-color-level
(
$color
,
$alert-border-level
)
,
theme-color-level
(
$color
,
$alert-color-level
));
}
}
}
}
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
4
-
0
View file @
a6ae1cc5
...
@@ -764,6 +764,10 @@ $alert-border-radius: $border-radius !default;
...
@@ -764,6 +764,10 @@ $alert-border-radius: $border-radius !default;
$alert-link-font-weight
:
$font-weight-bold
!
default
;
$alert-link-font-weight
:
$font-weight-bold
!
default
;
$alert-border-width
:
$border-width
!
default
;
$alert-border-width
:
$border-width
!
default
;
$alert-bg-level
:
-10
!
default
;
$alert-border-level
:
-9
!
default
;
$alert-color-level
:
6
!
default
;
// Progress bars
// Progress bars
...
...
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