Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2017-09-03 18:50:19 +0300
committerGleb Mazovetskiy <glex.spb@gmail.com>2017-09-03 18:50:19 +0300
commitb12fdcd48c26cee905c3365626247f452fb941f2 (patch)
tree96dd5cefb67fc380b71ae589672fa415b4903d81 /assets/stylesheets/bootstrap/_custom-forms.scss
parentfb2f045b8ed4a17ec5cacffd19bb5bea7e7fe9fd (diff)
rake update[v4-dev]
Diffstat (limited to 'assets/stylesheets/bootstrap/_custom-forms.scss')
-rw-r--r--assets/stylesheets/bootstrap/_custom-forms.scss17
1 files changed, 9 insertions, 8 deletions
diff --git a/assets/stylesheets/bootstrap/_custom-forms.scss b/assets/stylesheets/bootstrap/_custom-forms.scss
index d1fbf95..1bf268b 100644
--- a/assets/stylesheets/bootstrap/_custom-forms.scss
+++ b/assets/stylesheets/bootstrap/_custom-forms.scss
@@ -139,6 +139,7 @@
color: $custom-select-color;
vertical-align: middle;
background: $custom-select-bg $custom-select-indicator no-repeat right $custom-select-padding-x center;
+ background-clip: padding-box;
background-size: $custom-select-bg-size;
border: $custom-select-border-width solid $custom-select-border-color;
@if $enable-rounded {
@@ -203,7 +204,7 @@
opacity: 0;
&:focus ~ .custom-file-control {
- @include box-shadow($custom-file-focus-box-shadow);
+ box-shadow: $custom-file-focus-box-shadow;
}
}
@@ -214,12 +215,14 @@
left: 0;
z-index: 5;
height: $custom-file-height;
- padding: $custom-file-padding-x $custom-file-padding-y;
+ padding: $custom-file-padding-y $custom-file-padding-x;
+ overflow: hidden;
line-height: $custom-file-line-height;
color: $custom-file-color;
pointer-events: none;
user-select: none;
background-color: $custom-file-bg;
+ background-clip: padding-box;
border: $custom-file-border-width solid $custom-file-border-color;
@include border-radius($custom-file-border-radius);
@include box-shadow($custom-file-box-shadow);
@@ -232,18 +235,16 @@
&::before {
position: absolute;
- top: -$custom-file-border-width;
- right: -$custom-file-border-width;
- bottom: -$custom-file-border-width;
+ top: 0;
+ right: 0;
z-index: 6;
display: block;
height: $custom-file-height;
- padding: $custom-file-padding-x $custom-file-padding-y;
+ padding: $custom-file-padding-y $custom-file-padding-x;
line-height: $custom-file-line-height;
color: $custom-file-button-color;
background-color: $custom-file-button-bg;
- border: $custom-file-border-width solid $custom-file-border-color;
- @include border-radius(0 $custom-file-border-radius $custom-file-border-radius 0);
+ border-left: $custom-file-border-width solid $custom-file-border-color;
}
@each $lang, $text in map-get($custom-file-text, button-label) {