fix: form input style

This commit is contained in:
a.bouhuolia
2021-08-04 00:00:07 +02:00
parent 4bf2861599
commit e394806306
3 changed files with 30 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ label.bp3-label {
background: #e9ecef;
}
.bp3-input-group.bp3-intent-danger & {
&.bp3-intent-danger {
box-shadow: 0 0 0 transparent;
border-color: #db3737;
@@ -62,6 +62,23 @@ label.bp3-label {
}
}
.bp3-input-group{
&.bp3-intent-danger{
.bp3-input{
box-shadow: 0 0 0 transparent;
border-color: #db3737;
&:focus,
&.bp3-active {
box-shadow: 0 0 0 1px #db3737;
border-color: #db3737;
}
}
}
}
.#{$ns}-form-group {
margin-bottom: 20px;