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
4dd65f0b
Commit
4dd65f0b
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Custom forms transition
parent
c3da2c8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_custom-forms.scss
+9
-0
scss/_custom-forms.scss
scss/_variables.scss
+2
-0
scss/_variables.scss
with
11 additions
and
0 deletions
+11
-0
scss/_custom-forms.scss
+
9
-
0
View file @
4dd65f0b
...
@@ -325,6 +325,7 @@
...
@@ -325,6 +325,7 @@
border
:
$custom-range-thumb-border
;
border
:
$custom-range-thumb-border
;
@include
border-radius
(
$custom-range-thumb-border-radius
);
@include
border-radius
(
$custom-range-thumb-border-radius
);
@include
box-shadow
(
$custom-range-thumb-box-shadow
);
@include
box-shadow
(
$custom-range-thumb-box-shadow
);
@include
transition
(
$custom-forms-transition
);
appearance
:
none
;
appearance
:
none
;
&
:focus
{
&
:focus
{
...
@@ -355,6 +356,7 @@
...
@@ -355,6 +356,7 @@
border
:
$custom-range-thumb-border
;
border
:
$custom-range-thumb-border
;
@include
border-radius
(
$custom-range-thumb-border-radius
);
@include
border-radius
(
$custom-range-thumb-border-radius
);
@include
box-shadow
(
$custom-range-thumb-box-shadow
);
@include
box-shadow
(
$custom-range-thumb-box-shadow
);
@include
transition
(
$custom-forms-transition
);
appearance
:
none
;
appearance
:
none
;
&
:focus
{
&
:focus
{
...
@@ -385,6 +387,7 @@
...
@@ -385,6 +387,7 @@
border
:
$custom-range-thumb-border
;
border
:
$custom-range-thumb-border
;
@include
border-radius
(
$custom-range-thumb-border-radius
);
@include
border-radius
(
$custom-range-thumb-border-radius
);
@include
box-shadow
(
$custom-range-thumb-box-shadow
);
@include
box-shadow
(
$custom-range-thumb-box-shadow
);
@include
transition
(
$custom-forms-transition
);
appearance
:
none
;
appearance
:
none
;
&
:focus
{
&
:focus
{
...
@@ -419,3 +422,9 @@
...
@@ -419,3 +422,9 @@
@include
border-radius
(
$custom-range-track-border-radius
);
@include
border-radius
(
$custom-range-track-border-radius
);
}
}
}
}
.
custom-control-label
:
:
before
,
.
custom-file-label
,
.
custom-select
{
@include
transition
(
$custom-forms-transition
);
}
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
2
-
0
View file @
4dd65f0b
...
@@ -451,6 +451,8 @@ $input-group-addon-color: $input-color !default;
...
@@ -451,6 +451,8 @@ $input-group-addon-color: $input-color !default;
$input-group-addon-bg
:
$gray-200
!
default
;
$input-group-addon-bg
:
$gray-200
!
default
;
$input-group-addon-border-color
:
$input-border-color
!
default
;
$input-group-addon-border-color
:
$input-border-color
!
default
;
$custom-forms-transition
:
background-color
.15s
ease-in-out
,
border-color
.15s
ease-in-out
,
box-shadow
.15s
ease-in-out
!
default
;
$custom-control-gutter
:
1
.5rem
!
default
;
$custom-control-gutter
:
1
.5rem
!
default
;
$custom-control-spacer-x
:
1rem
!
default
;
$custom-control-spacer-x
:
1rem
!
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