Skip to content

Commit

Permalink
Merge branch 'main' into master-xmr-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jun 24, 2020
2 parents b11a493 + 9c320df commit d37e6c1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scss/_variables.scss
Expand Up @@ -914,7 +914,7 @@ $dropdown-border-color: rgba($black, .15) !default;
$dropdown-border-radius: $border-radius !default;
$dropdown-border-width: $border-width !default;
$dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
$dropdown-divider-bg: $gray-200 !default;
$dropdown-divider-bg: $dropdown-border-color !default;
$dropdown-divider-margin-y: $spacer / 2 !default;
$dropdown-box-shadow: $box-shadow !default;

Expand Down
20 changes: 13 additions & 7 deletions site/content/docs/5.0/examples/floating-labels/floating-labels.css
Expand Up @@ -23,13 +23,13 @@ body {
margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
.form-label-group input,
.form-label-group label {
height: 3.125rem;
padding: .75rem;
}

.form-label-group > label {
.form-label-group label {
position: absolute;
top: 0;
left: 0;
Expand All @@ -47,11 +47,11 @@ body {
color: transparent;
}

.form-label-group input::-ms-input-placeholder {
.form-label-group input::-moz-placeholder {
color: transparent;
}

.form-label-group input::-moz-placeholder {
.form-label-group input::-ms-input-placeholder {
color: transparent;
}

Expand Down Expand Up @@ -86,9 +86,15 @@ body {
/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
.form-label-group > label {
display: none;
.form-label-group {
display: flex;
flex-direction: column-reverse;
}

.form-label-group label {
position: static;
}

.form-label-group input::-ms-input-placeholder {
color: #777;
}
Expand Down

0 comments on commit d37e6c1

Please sign in to comment.