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
e3ec1633
Unverified
Commit
e3ec1633
authored
2 years ago
by
Maciej Kubień
Committed by
GitHub
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fixed form switch when `enable-rounded` is `false`
parent
e59b776b
github/fork/maciek-szn/switch
1 merge request
!38277
Fixed form switch when `enable-rounded` is `false`
Pipeline
#1184
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_variables-dark.scss
+1
-5
scss/_variables-dark.scss
with
1 addition
and
5 deletions
+1
-5
scss/_variables-dark.scss
+
1
-
5
View file @
e3ec1633
...
...
@@ -63,11 +63,7 @@ $form-select-indicator-color-dark: $body-color-dark !default;
$form-select-indicator-dark
:
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='
#{
$form-select-indicator-color-dark
}
' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/></svg>")
!
default
;
$form-switch-color-dark
:
rgba
(
$white
,
.25
)
!
default
;
@if
$enable-rounded
{
$form-switch-bg-image-dark
:
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='
#{
$form-switch-color-dark
}
'/></svg>")
!
default
;
}
@else
{
$form-switch-bg-image-dark
:
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><rect x='-3' y='-3' width='6' height='6' fill='
#{
$form-switch-color-dark
}
'/></svg>")
!
default
;
}
$form-switch-bg-image-dark
:
if
(
$enable-rounded
,
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='
#{
$form-switch-color-dark
}
'/></svg>")
,
url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><rect x='-3' y='-3' width='6' height='6' fill='
#{
$form-switch-color-dark
}
'/></svg>")
)
!
default
;
// scss-docs-start form-validation-colors-dark
$form-valid-color-dark
:
$green-300
!
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