Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 179 | espaco | 1 | body { |
| 2 | .ui-badge { |
||
| 3 | background: $badgeBg; |
||
| 4 | color: $badgeTextColor; |
||
| 5 | font-size: $badgeFontSize; |
||
| 6 | font-weight: $badgeFontWeight; |
||
| 7 | min-width: $badgeMinWidth; |
||
| 8 | height: $badgeHeight; |
||
| 9 | line-height: $badgeHeight; |
||
| 10 | |||
| 11 | &:not(.ui-widget) { |
||
| 12 | display: inline-block; |
||
| 13 | border-radius: 50%; |
||
| 14 | text-align: center; |
||
| 15 | } |
||
| 16 | |||
| 17 | &.ui-badge-secondary { |
||
| 18 | background: $secondaryButtonBg; |
||
| 19 | color: $secondaryButtonTextColor; |
||
| 20 | } |
||
| 21 | |||
| 22 | &.ui-badge-success { |
||
| 23 | background: $successButtonBg; |
||
| 24 | color: $successButtonTextColor; |
||
| 25 | } |
||
| 26 | |||
| 27 | &.ui-badge-info { |
||
| 28 | background: $infoButtonBg; |
||
| 29 | color: $infoButtonTextColor; |
||
| 30 | } |
||
| 31 | |||
| 32 | &.ui-badge-warning { |
||
| 33 | background: $warningButtonBg; |
||
| 34 | color: $warningButtonTextColor; |
||
| 35 | } |
||
| 36 | |||
| 37 | &.ui-badge-danger { |
||
| 38 | background: $dangerButtonBg; |
||
| 39 | color: $dangerButtonTextColor; |
||
| 40 | } |
||
| 41 | |||
| 42 | &.ui-badge-lg { |
||
| 43 | font-size: 1.5 * $badgeFontSize; |
||
| 44 | min-width: 1.5 * $badgeMinWidth; |
||
| 45 | height: 1.5 * $badgeHeight; |
||
| 46 | line-height: 1.5 * $badgeHeight; |
||
| 47 | } |
||
| 48 | |||
| 49 | &.ui-badge-xl { |
||
| 50 | font-size: 2 * $badgeFontSize; |
||
| 51 | min-width: 2 * $badgeMinWidth; |
||
| 52 | height: 2 * $badgeHeight; |
||
| 53 | line-height: 2 * $badgeHeight; |
||
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 57 | .ui-overlay-badge { |
||
| 58 | position: relative; |
||
| 59 | display: inline-block; |
||
| 60 | |||
| 61 | .ui-badge { |
||
| 62 | position: absolute; |
||
| 63 | top: 0; |
||
| 64 | right: 0; |
||
| 65 | transform: translate(50%, -50%); |
||
| 66 | margin: 0; |
||
| 67 | } |
||
| 68 | } |
||
| 69 | } |