Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
d13ae1fc
Commit
d13ae1fc
authored
6 years ago
by
Andrew Pucci
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Card header color theming (#26573)
Define new variable for card header color
parent
becb6ce3
2 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_card.scss
+1
-0
scss/_card.scss
scss/_variables.scss
+1
-0
scss/_variables.scss
with
2 additions
and
0 deletions
+2
-0
scss/_card.scss
+
1
-
0
View file @
d13ae1fc
...
...
@@ -68,6 +68,7 @@
.card-header
{
padding
:
$card-spacer-y
$card-spacer-x
;
margin-bottom
:
0
;
// Removes the default margin-bottom of <hN>
color
:
$card-cap-color
;
background-color
:
$card-cap-bg
;
border-bottom
:
$card-border-width
solid
$card-border-color
;
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
1
-
0
View file @
d13ae1fc
...
...
@@ -767,6 +767,7 @@ $card-border-radius: $border-radius !default;
$card-border-color
:
rgba
(
$black
,
.125
)
!
default
;
$card-inner-border-radius
:
calc
(
#{
$card-border-radius
}
-
#{
$card-border-width
}
)
!
default
;
$card-cap-bg
:
rgba
(
$black
,
.03
)
!
default
;
$card-cap-color
:
$body-color
!
default
;
$card-bg
:
$white
!
default
;
$card-img-overlay-padding
:
1
.25rem
!
default
;
...
...
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
Menu
Explore
Projects
Groups
Snippets