File tree Expand file tree Collapse file tree 4 files changed +34
-2
lines changed Expand file tree Collapse file tree 4 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 8
8
" components/app/app.wp" ,
9
9
" components/action-sheet/action-sheet.wp" ,
10
10
" components/alert/alert.wp" ,
11
+ " components/badge/badge.wp" ,
11
12
" components/button/button.wp" ,
12
13
" components/toolbar/toolbar.wp" ;
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ $alert-wp-buttons-justify-content: flex-end !default;
226
226
flex-wrap : wrap-reverse ;
227
227
228
228
& .vertical .alert-button {
229
- margin-left : 50.5 % ;
229
+ width : 100 % ;
230
230
margin-top : 5px ;
231
231
232
232
& :first-child:not (:only-child ) {
Original file line number Diff line number Diff line change
1
+ @import " ./badge" ;
2
+
3
+ // Windows Badge
4
+ // --------------------------------------------------
5
+
6
+ $badge-wp-border-radius : 0 !default ;
7
+ $badge-wp-background-color : map-get ($colors-wp , primary ) !default ;
8
+
9
+
10
+ ion-badge {
11
+ border-radius : $badge-wp-border-radius ;
12
+ background-color : $badge-wp-background-color ;
13
+ color : color-inverse ($badge-wp-background-color );
14
+ }
15
+
16
+
17
+ // Generate Windows Badge Colors
18
+ // --------------------------------------------------
19
+
20
+ @each $color-name , $color-value in $colors-wp {
21
+
22
+ .badge-#{$color-name } {
23
+ background-color : $color-value ;
24
+ color : color-inverse ($color-value );
25
+ }
26
+
27
+ }
Original file line number Diff line number Diff line change @@ -231,14 +231,18 @@ $button-wp-small-icon-font-size: 1.4em !default;
231
231
border-color : transparent ;
232
232
233
233
& :hover:not (.disable-hover ) {
234
- border-color : transparent ;
234
+ border-color : transparent ;
235
235
}
236
236
}
237
237
238
238
.button-icon-only {
239
239
padding : 0 ;
240
240
}
241
241
242
+ ion-button-effect {
243
+ // wp does not use the button effect
244
+ display : none ;
245
+ }
242
246
243
247
// Generate Windows Button Colors
244
248
// --------------------------------------------------
You can’t perform that action at this time.
0 commit comments