Commit 67d322b9233f3b2d9599eb5c42178bba4571beff
1 parent
37f131a57b
Exists in
master
and in
1 other branch
Estilo de radio button.
Showing
1 changed file
with
23 additions
and
2 deletions
Show diff stats
src/assets/scss/bootstrap-override.scss
| ... | ... | @@ -11,8 +11,8 @@ $theme-colors: ( |
| 11 | 11 | |
| 12 | 12 | .popover { |
| 13 | 13 | transform: translate3d(-480px, 0, -34px) !important; |
| 14 | - min-width: 30vh !important; | |
| 15 | - max-width: 50vh !important; | |
| 14 | + min-width: 485px !important; | |
| 15 | + max-width: 485px !important; | |
| 16 | 16 | border: none !important; |
| 17 | 17 | border-radius: 1.5rem !important; |
| 18 | 18 | padding: 0 !important; |
| ... | ... | @@ -47,4 +47,25 @@ $theme-colors: ( |
| 47 | 47 | border-color: $primary !important; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | +.custom-radio .custom-control-label::before { | |
| 51 | + background-color: $primary !important; | |
| 52 | + border-color: $white !important; | |
| 53 | + border-width: 2px !important; | |
| 54 | +} | |
| 55 | + | |
| 56 | +.custom-control-input { | |
| 57 | + border-color: $white !important; | |
| 58 | + background-color: $primary !important; | |
| 59 | + color: $primary !important; | |
| 60 | + &:checked ~ .custom-control-label::before { | |
| 61 | + border-color: $white !important; | |
| 62 | + color: #fff !important; | |
| 63 | + background-color: $primary !important; | |
| 64 | + } | |
| 65 | + &:focus ~ .custom-control-label::before { | |
| 66 | + border-color: $white !important; | |
| 67 | + box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.7) !important; | |
| 68 | + } | |
| 69 | +} | |
| 70 | + | |
| 50 | 71 | @import "../../../node_modules/bootstrap/scss/bootstrap"; |