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
1 | @import "../../../node_modules/bootstrap/scss/functions"; | 1 | @import "../../../node_modules/bootstrap/scss/functions"; |
2 | @import "../../../node_modules/bootstrap/scss/variables"; | 2 | @import "../../../node_modules/bootstrap/scss/variables"; |
3 | 3 | ||
4 | $theme-colors: ( | 4 | $theme-colors: ( |
5 | primary: #2872ae, | 5 | primary: #2872ae, |
6 | light: white | 6 | light: white |
7 | ); | 7 | ); |
8 | 8 | ||
9 | .popover{ | 9 | .popover { |
10 | background-color: #2872AE !important; | 10 | min-width: 470px !important; |
11 | color: white !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 | .list-group-item.active { | 40 | .list-group-item.active { |
15 | background-color: #2872ae !important; | 41 | background-color: #2872ae !important; |
16 | border-color: #2872ae !important; | 42 | border-color: #2872ae !important; |
17 | } | 43 | } |
18 | 44 | ||
19 | |||
20 | @import "../../../node_modules/bootstrap/scss/bootstrap.scss"; | 45 | @import "../../../node_modules/bootstrap/scss/bootstrap.scss"; |