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
e3c0b3d3
Commit
e3c0b3d3
authored
6 years ago
by
Martijn Cuppens
Committed by
Mark Otto
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
#27112
: fix border focus border color
parent
d1de8737
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_custom-forms.scss
+1
-5
scss/_custom-forms.scss
scss/mixins/_forms.scss
+1
-2
scss/mixins/_forms.scss
with
2 additions
and
7 deletions
+2
-7
scss/_custom-forms.scss
+
1
-
5
View file @
e3c0b3d3
...
...
@@ -258,10 +258,6 @@
&
:focus
~
.custom-file-label
{
border-color
:
$custom-file-focus-border-color
;
box-shadow
:
$custom-file-focus-box-shadow
;
&
::after
{
border-color
:
$custom-file-focus-border-color
;
}
}
&
:disabled
~
.custom-file-label
{
...
...
@@ -303,7 +299,7 @@
color
:
$custom-file-button-color
;
content
:
"Browse"
;
@include
gradient-bg
(
$custom-file-button-bg
);
border-left
:
$custom-file-border-width
solid
$custom-file-border-color
;
border-left
:
inherit
;
@include
border-radius
(
0
$custom-file-border-radius
$custom-file-border-radius
0
);
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_forms.scss
+
1
-
2
View file @
e3c0b3d3
...
...
@@ -180,8 +180,6 @@
&.
is-
#{
$state
}
{
~
.custom-file-label
{
border-color
:
$color
;
&
::after
{
border-color
:
inherit
;
}
}
~
.
#{
$state
}
-feedback
,
...
...
@@ -191,6 +189,7 @@
&
:focus
{
~
.custom-file-label
{
border-color
:
$color
;
box-shadow
:
0
0
0
$input-focus-width
rgba
(
$color
,
.25
);
}
}
...
...
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