Commit 9664c1936041f18cf814bab51a1a434a1ebf9d07
1 parent
f297dae560
Exists in
master
and in
1 other branch
Sobreescrito estilo de popover.
Showing
1 changed file
with
29 additions
and
4 deletions
Show diff stats
src/assets/scss/bootstrap-override.scss
| ... | ... | @@ -6,9 +6,35 @@ $theme-colors: ( |
| 6 | 6 | light: white |
| 7 | 7 | ); |
| 8 | 8 | |
| 9 | -.popover{ | |
| 10 | - background-color: #2872AE !important; | |
| 11 | - color: white !important; | |
| 9 | +.popover { | |
| 10 | + min-width: 470px !important; | |
| 11 | + max-width: auto !important; | |
| 12 | + border: none !important; | |
| 13 | + border-radius: 1.5rem !important; | |
| 14 | + padding: 0 !important; | |
| 15 | + .popover-body { | |
| 16 | + padding: 0 !important; | |
| 17 | + } | |
| 18 | +} | |
| 19 | + | |
| 20 | +.bs-popover-left .arrow::after, | |
| 21 | +.bs-popover-auto[x-placement^="left"] .arrow::after { | |
| 22 | + border-left-color: #2872ae !important; // Any color here | |
| 23 | +} | |
| 24 | + | |
| 25 | +.bs-popover-right .arrow::after, | |
| 26 | +.bs-popover-auto[x-placement^="right"] .arrow::after { | |
| 27 | + border-right-color: #2872ae !important; // Any color here | |
| 28 | +} | |
| 29 | + | |
| 30 | +.bs-popover-top .arrow::after, | |
| 31 | +.bs-popover-auto[x-placement^="top"] .arrow::after { | |
| 32 | + border-top-color: #2872ae !important; // Any color here | |
| 33 | +} | |
| 34 | + | |
| 35 | +.bs-popover-bottom .arrow::after, | |
| 36 | +.bs-popover-auto[x-placement^="bottom"] .arrow::after { | |
| 37 | + border-bottom-color: #2872ae !important; // Any color here | |
| 12 | 38 | } |
| 13 | 39 | |
| 14 | 40 | .list-group-item.active { |
| ... | ... | @@ -16,5 +42,4 @@ $theme-colors: ( |
| 16 | 42 | border-color: #2872ae !important; |
| 17 | 43 | } |
| 18 | 44 | |
| 19 | - | |
| 20 | 45 | @import "../../../node_modules/bootstrap/scss/bootstrap.scss"; |