diff options
author | Mario <mario@mariovavti.com> | 2021-02-15 18:41:44 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-02-15 18:41:44 +0000 |
commit | e8c2e17bc901ab139377e759f5ef931f8649b8c1 (patch) | |
tree | bebbeae1760c0cb5b5dea88fb268153a38938fab /vendor/twbs/bootstrap/scss/_input-group.scss | |
parent | 6fae291cc8ec69a74d0c1673186b3d8f319378d4 (diff) | |
download | volse-hubzilla-e8c2e17bc901ab139377e759f5ef931f8649b8c1.tar.gz volse-hubzilla-e8c2e17bc901ab139377e759f5ef931f8649b8c1.tar.bz2 volse-hubzilla-e8c2e17bc901ab139377e759f5ef931f8649b8c1.zip |
compser update twbs/bootstrap
Diffstat (limited to 'vendor/twbs/bootstrap/scss/_input-group.scss')
-rw-r--r-- | vendor/twbs/bootstrap/scss/_input-group.scss | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/vendor/twbs/bootstrap/scss/_input-group.scss b/vendor/twbs/bootstrap/scss/_input-group.scss index cad8ea367..d72ebeaba 100644 --- a/vendor/twbs/bootstrap/scss/_input-group.scss +++ b/vendor/twbs/bootstrap/scss/_input-group.scss @@ -42,7 +42,6 @@ > .form-control, > .custom-select { - &:not(:last-child) { @include border-right-radius(0); } &:not(:first-child) { @include border-left-radius(0); } } @@ -53,9 +52,24 @@ align-items: center; &:not(:last-child) .custom-file-label, - &:not(:last-child) .custom-file-label::after { @include border-right-radius(0); } &:not(:first-child) .custom-file-label { @include border-left-radius(0); } } + + &:not(.has-validation) { + > .form-control:not(:last-child), + > .custom-select:not(:last-child), + > .custom-file:not(:last-child) .custom-file-label::after { + @include border-right-radius(0); + } + } + + &.has-validation { + > .form-control:nth-last-child(n + 3), + > .custom-select:nth-last-child(n + 3), + > .custom-file:nth-last-child(n + 3) .custom-file-label::after { + @include border-right-radius(0); + } + } } @@ -175,8 +189,10 @@ .input-group > .input-group-prepend > .btn, .input-group > .input-group-prepend > .input-group-text, -.input-group > .input-group-append:not(:last-child) > .btn, -.input-group > .input-group-append:not(:last-child) > .input-group-text, +.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .btn, +.input-group:not(.has-validation) > .input-group-append:not(:last-child) > .input-group-text, +.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .btn, +.input-group.has-validation > .input-group-append:nth-last-child(n + 3) > .input-group-text, .input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group > .input-group-append:last-child > .input-group-text:not(:last-child) { @include border-right-radius(0); |