Skip to content

Commit

Permalink
added info radio
Browse files Browse the repository at this point in the history
  • Loading branch information
dew326 authored and GrabowskiM committed Oct 17, 2023
1 parent f814e5d commit 93ba0a2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions src/bundle/Resources/public/scss/_inputs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,40 @@
}
}
}

&--info {
&:hover {
border-color: $ibexa-color-info;
}

&:focus,
&.ibexa-input--text.form-control:focus,
&.ibexa-input--date.form-control:focus {
border-color: $ibexa-color-info;
box-shadow: 0 0 calculateRem(3px) 0 rgba($ibexa-color-info, 0.75);
}

&.ibexa-input {
&--radio {
&:checked {
border-color: $ibexa-color-info;
box-shadow: inset 0 0 0 calculateRem(4px) $ibexa-color-info;
background-color: $ibexa-color-info;

&:disabled {
border-color: $ibexa-color-info-300;
box-shadow: inset 0 0 0 calculateRem(4px) $ibexa-color-info-300;
}

&:focus {
&::after {
box-shadow: 0 0 calculateRem(3px) 0 rgba($ibexa-color-info, 0.75);
}
}
}
}
}
}
}

.ibexa-toggle {
Expand Down

0 comments on commit 93ba0a2

Please sign in to comment.