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
2ccb5492
Commit
2ccb5492
authored
7 years ago
by
Catalin Zalog
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
style: align some vars (#25785)
parent
817b80d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_variables.scss
+38
-38
scss/_variables.scss
with
38 additions
and
38 deletions
+38
-38
scss/_variables.scss
+
38
-
38
View file @
2ccb5492
...
...
@@ -88,11 +88,11 @@ $theme-colors: map-merge((
$theme-color-interval
:
8%
!
default
;
// The yiq lightness value that determines when the lightness of color changes from "dark" to "light". Acceptable values are between 0 and 255.
$yiq-contrasted-threshold
:
150
!
default
;
$yiq-contrasted-threshold
:
150
!
default
;
// Customize the light and dark text colors for use in our YIQ color contrast function.
$yiq-text-dark
:
$gray-900
!
default
;
$yiq-text-light
:
$white
!
default
;
$yiq-text-dark
:
$gray-900
!
default
;
$yiq-text-light
:
$white
!
default
;
// Options
//
...
...
@@ -456,7 +456,7 @@ $custom-control-indicator-bg-size: 50% 50% !default;
$custom-control-indicator-box-shadow
:
inset
0
.25rem
.25rem
rgba
(
$black
,
.1
)
!
default
;
$custom-control-indicator-disabled-bg
:
$gray-200
!
default
;
$custom-control-label-disabled-color
:
$gray-600
!
default
;
$custom-control-label-disabled-color
:
$gray-600
!
default
;
$custom-control-indicator-checked-color
:
$component-active-color
!
default
;
$custom-control-indicator-checked-bg
:
$component-active-bg
!
default
;
...
...
@@ -472,16 +472,16 @@ $custom-control-indicator-active-box-shadow: none !default;
$custom-checkbox-indicator-border-radius
:
$border-radius
!
default
;
$custom-checkbox-indicator-icon-checked
:
str-replace
(
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='
#{
$custom-control-indicator-checked-color
}
' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")
,
"#"
,
"%23"
)
!
default
;
$custom-checkbox-indicator-indeterminate-bg
:
$component-active-bg
!
default
;
$custom-checkbox-indicator-indeterminate-color
:
$custom-control-indicator-checked-color
!
default
;
$custom-checkbox-indicator-icon-indeterminate
:
str-replace
(
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='
#{
$custom-checkbox-indicator-indeterminate-color
}
' d='M0 2h4'/%3E%3C/svg%3E")
,
"#"
,
"%23"
)
!
default
;
$custom-checkbox-indicator-indeterminate-box-shadow
:
none
!
default
;
$custom-checkbox-indicator-indeterminate-bg
:
$component-active-bg
!
default
;
$custom-checkbox-indicator-indeterminate-color
:
$custom-control-indicator-checked-color
!
default
;
$custom-checkbox-indicator-icon-indeterminate
:
str-replace
(
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='
#{
$custom-checkbox-indicator-indeterminate-color
}
' d='M0 2h4'/%3E%3C/svg%3E")
,
"#"
,
"%23"
)
!
default
;
$custom-checkbox-indicator-indeterminate-box-shadow
:
none
!
default
;
$custom-radio-indicator-border-radius
:
50%
!
default
;
$custom-radio-indicator-icon-checked
:
str-replace
(
url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='
#{
$custom-control-indicator-checked-color
}
'/%3E%3C/svg%3E")
,
"#"
,
"%23"
)
!
default
;
$custom-select-padding-y
:
.375rem
!
default
;
$custom-select-padding-x
:
.75rem
!
default
;
$custom-select-padding-x
:
.75rem
!
default
;
$custom-select-height
:
$input-height
!
default
;
$custom-select-indicator-padding
:
1rem
!
default
;
// Extra padding to account for the presence of the background-image based indicator
$custom-select-line-height
:
$input-btn-line-height
!
default
;
...
...
@@ -701,19 +701,19 @@ $card-columns-margin: $card-spacer-y !default;
// Tooltips
$tooltip-font-size
:
$font-size-sm
!
default
;
$tooltip-max-width
:
200px
!
default
;
$tooltip-color
:
$white
!
default
;
$tooltip-bg
:
$black
!
default
;
$tooltip-border-radius
:
$border-radius
!
default
;
$tooltip-opacity
:
.9
!
default
;
$tooltip-padding-y
:
.25rem
!
default
;
$tooltip-padding-x
:
.5rem
!
default
;
$tooltip-margin
:
0
!
default
;
$tooltip-font-size
:
$font-size-sm
!
default
;
$tooltip-max-width
:
200px
!
default
;
$tooltip-color
:
$white
!
default
;
$tooltip-bg
:
$black
!
default
;
$tooltip-border-radius
:
$border-radius
!
default
;
$tooltip-opacity
:
.9
!
default
;
$tooltip-padding-y
:
.25rem
!
default
;
$tooltip-padding-x
:
.5rem
!
default
;
$tooltip-margin
:
0
!
default
;
$tooltip-arrow-width
:
.8rem
!
default
;
$tooltip-arrow-height
:
.4rem
!
default
;
$tooltip-arrow-color
:
$tooltip-bg
!
default
;
$tooltip-arrow-width
:
.8rem
!
default
;
$tooltip-arrow-height
:
.4rem
!
default
;
$tooltip-arrow-color
:
$tooltip-bg
!
default
;
// Popovers
...
...
@@ -759,27 +759,27 @@ $badge-pill-border-radius: 10rem !default;
// Modals
// Padding applied to the modal body
$modal-inner-padding
:
1rem
!
default
;
$modal-inner-padding
:
1rem
!
default
;
$modal-dialog-margin
:
.5rem
!
default
;
$modal-dialog-margin-y-sm-up
:
1
.75rem
!
default
;
$modal-dialog-margin
:
.5rem
!
default
;
$modal-dialog-margin-y-sm-up
:
1
.75rem
!
default
;
$modal-title-line-height
:
$line-height-base
!
default
;
$modal-content-bg
:
$white
!
default
;
$modal-content-border-color
:
rgba
(
$black
,
.2
)
!
default
;
$modal-content-border-width
:
$border-width
!
default
;
$modal-content-border-radius
:
$border-radius-lg
!
default
;
$modal-content-box-shadow-xs
:
0
.25rem
.5rem
rgba
(
$black
,
.5
)
!
default
;
$modal-content-box-shadow-sm-up
:
0
.5rem
1rem
rgba
(
$black
,
.5
)
!
default
;
$modal-backdrop-bg
:
$black
!
default
;
$modal-backdrop-opacity
:
.5
!
default
;
$modal-header-border-color
:
$gray-200
!
default
;
$modal-footer-border-color
:
$modal-header-border-color
!
default
;
$modal-header-border-width
:
$modal-content-border-width
!
default
;
$modal-footer-border-width
:
$modal-header-border-width
!
default
;
$modal-header-padding
:
1rem
!
default
;
$modal-content-bg
:
$white
!
default
;
$modal-content-border-color
:
rgba
(
$black
,
.2
)
!
default
;
$modal-content-border-width
:
$border-width
!
default
;
$modal-content-border-radius
:
$border-radius-lg
!
default
;
$modal-content-box-shadow-xs
:
0
.25rem
.5rem
rgba
(
$black
,
.5
)
!
default
;
$modal-content-box-shadow-sm-up
:
0
.5rem
1rem
rgba
(
$black
,
.5
)
!
default
;
$modal-backdrop-bg
:
$black
!
default
;
$modal-backdrop-opacity
:
.5
!
default
;
$modal-header-border-color
:
$gray-200
!
default
;
$modal-footer-border-color
:
$modal-header-border-color
!
default
;
$modal-header-border-width
:
$modal-content-border-width
!
default
;
$modal-footer-border-width
:
$modal-header-border-width
!
default
;
$modal-header-padding
:
1rem
!
default
;
$modal-lg
:
800px
!
default
;
$modal-md
:
500px
!
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