1
1
@import ' ../../../assets/styles/_globals.scss' ;
2
2
3
- $badge__padding : $spacer 12px !default ;
4
- $badge__background : $bg-color-base !default ;
5
- $badge__border-radius : $border-radius !default ;
6
- $badge__font-size : $font-size-small !default ;
7
- $badge__font-family : $font-family-base !default ;
8
- $badge__font-weight : $font-weight-bold !default ;
9
- $badge__text-transform : uppercase !default ;
10
- $badge__color : $font-color-base !default ;
11
- $badge__color--new : $white !default ;
12
- $badge__background--new : $color-secondary !default ;
13
- $badge__background--sale : $color-primary !default ;
3
+ $badge__margin : 0 0 $spacer !default ;
4
+ $badge__padding : 0 $spacer--medium !default ;
5
+ $badge__border-radius : $border-radius !default ;
6
+ $badge__font-family : $font-family-base !default ;
7
+ $badge__font-size : $font-size-small !default ;
8
+ $badge__font-weight : $font-weight-bold !default ;
9
+ $badge__text-transform : uppercase !default ;
10
+ $badge__line-height : 16px !default ;
11
+ $badge__color : $white !default ;
12
+ $badge__background : $bg-color-dark !default ;
13
+ $badge__color--new : $font-color-base !default ;
14
+ $badge__background--new : $white !default ;
15
+ $badge__justify-content : center !default ;
16
+
14
17
15
18
.a-badge {
16
19
display : inline-flex ;
20
+ justify-content : $badge__justify-content ;
21
+ margin : $badge__margin ;
17
22
padding : $badge__padding ;
18
23
color : $badge__color ;
19
24
font-weight : $badge__font-weight ;
20
25
font-size : $badge__font-size ;
21
26
font-family : $badge__font-family ;
27
+ line-height : $badge__line-height ;
22
28
text-transform : $badge__text-transform ;
23
29
background : $badge__background ;
24
30
border-radius : $badge__border-radius ;
@@ -27,8 +33,4 @@ $badge__background--sale: $color-primary !default;
27
33
color : $badge__color--new ;
28
34
background : $badge__background--new ;
29
35
}
30
-
31
- & --sale {
32
- background : $badge__background--sale ;
33
- }
34
36
}
0 commit comments