Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /*** |
| 2 | Customized Bootstrap Popover |
||
| 3 | ***/ |
||
| 4 | |||
| 5 | .popover { |
||
| 6 | box-shadow: 5px 5px rgba(#666, 0.1); |
||
| 7 | padding: 0; |
||
| 8 | |||
| 9 | .popover-title { |
||
| 10 | margin: 0 !important; |
||
| 11 | } |
||
| 12 | } |
||
| 13 | |||
| 14 | @mixin popover-variant($name, $color) { |
||
| 15 | .popover.#{name} .popover-title, |
||
| 16 | #{name} .popover .popover-content, |
||
| 17 | .popover.#{name} .popover-content { |
||
| 18 | color: $color; |
||
| 19 | } |
||
| 20 | } |
||
| 21 | |||
| 22 | @include popover-variant("info", $brand-info); |
||
| 23 | @include popover-variant("primary", $brand-primary); |
||
| 24 | @include popover-variant("success", $brand-success); |
||
| 25 | @include popover-variant("warning", $brand-warning); |
||
| 26 | @include popover-variant("danger", $brand-danger); |
||
| 27 | |||
| 28 | /* popover colors*/ |
||
| 29 | .popovers.yellow + .popover { |
||
| 30 | background: yellow; |
||
| 31 | } |
||
| 32 | |||
| 33 | .popovers.yellow + .popover .popover-title { |
||
| 34 | background: yellow; |
||
| 35 | } |
||
| 36 | |||
| 37 | .popovers.yellow + .popover .popover-content { |
||
| 38 | background: yellow; |
||
| 39 | } |