mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
wrap box-shadows in mixin in custom forms. fixes #17242
This commit is contained in:
parent
096ed52e06
commit
7d194a9bd3
@ -146,7 +146,7 @@
|
|||||||
&:focus {
|
&:focus {
|
||||||
border-color: #51a7e8;
|
border-color: #51a7e8;
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
|
@include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hides the default caret in IE11
|
// Hides the default caret in IE11
|
||||||
@ -197,7 +197,7 @@
|
|||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: .075rem solid #ddd;
|
border: .075rem solid #ddd;
|
||||||
border-radius: .25rem;
|
border-radius: .25rem;
|
||||||
box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05);
|
@include box-shadow(inset 0 .2rem .4rem rgba(0,0,0,.05));
|
||||||
}
|
}
|
||||||
.file-custom:after {
|
.file-custom:after {
|
||||||
content: "Choose file...";
|
content: "Choose file...";
|
||||||
@ -221,5 +221,5 @@
|
|||||||
|
|
||||||
// Focus state
|
// Focus state
|
||||||
.file input:focus ~ .file-custom {
|
.file input:focus ~ .file-custom {
|
||||||
box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;
|
@include box-shadow(0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user