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
68062cfe
Commit
68062cfe
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Allow configuration of caret spacing and vertical alignment (#27994)
parent
2b96e9ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_variables.scss
+2
-0
scss/_variables.scss
scss/mixins/_caret.scss
+4
-4
scss/mixins/_caret.scss
with
6 additions
and
4 deletions
+6
-4
scss/_variables.scss
+
2
-
0
View file @
68062cfe
...
@@ -254,6 +254,8 @@ $component-active-color: $white !default;
...
@@ -254,6 +254,8 @@ $component-active-color: $white !default;
$component-active-bg
:
theme-color
(
"primary"
)
!
default
;
$component-active-bg
:
theme-color
(
"primary"
)
!
default
;
$caret-width
:
.3em
!
default
;
$caret-width
:
.3em
!
default
;
$caret-vertical-align
:
$caret-width
*
.85
!
default
;
$caret-spacing
:
$caret-width
*
.85
!
default
;
$transition-base
:
all
.2s
ease-in-out
!
default
;
$transition-base
:
all
.2s
ease-in-out
!
default
;
$transition-fade
:
opacity
.15s
linear
!
default
;
$transition-fade
:
opacity
.15s
linear
!
default
;
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_caret.scss
+
4
-
4
View file @
68062cfe
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
@if
$enable-caret
{
@if
$enable-caret
{
&
::after
{
&
::after
{
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
$caret-
width
*
.85
;
margin-left
:
$caret-
spacing
;
vertical-align
:
$caret-
width
*
.85
;
vertical-align
:
$caret-
vertical-align
;
content
:
""
;
content
:
""
;
@if
$direction
==
down
{
@if
$direction
==
down
{
@include
caret-down
;
@include
caret-down
;
...
@@ -48,8 +48,8 @@
...
@@ -48,8 +48,8 @@
&
::before
{
&
::before
{
display
:
inline-block
;
display
:
inline-block
;
margin-right
:
$caret-
width
*
.85
;
margin-right
:
$caret-
spacing
;
vertical-align
:
$caret-
width
*
.85
;
vertical-align
:
$caret-
vertical-align
;
content
:
""
;
content
:
""
;
@include
caret-left
;
@include
caret-left
;
}
}
...
...
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