This repository was archived by the owner on Apr 15, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +36
-7
lines changed Expand file tree Collapse file tree 3 files changed +36
-7
lines changed Original file line number Diff line number Diff line change 126
126
vertical-align : middle ;
127
127
position : relative ;
128
128
129
- .k-button {
130
- @include border-radius ( 0 ) ;
129
+ .k-item {
130
+ position : relative ;
131
131
}
132
- .k-button ~ .k-button {
132
+ .k-item ~ .k-item {
133
133
margin-left : - $button-border-width ;
134
134
}
135
135
136
+ .k-button {
137
+ @include border-radius ( 0 );
138
+ }
139
+
136
140
.k-button :hover ,
137
141
.k-button.k-state-hover ,
138
142
.k-button.k-state-active {
139
143
z-index : 2 ;
140
144
}
141
145
142
146
.k-group-start ,
143
- .k-button :first-child {
147
+ .k-item :first-child .k-button {
144
148
@include border-left-radius ();
145
149
}
146
150
.k-group-end ,
147
- .k-button :last-child {
151
+ .k-item :last-child .k-button {
148
152
@include border-right-radius ();
149
153
}
150
154
.k-group-start.k-group-end ,
151
- .k-button :first-child:last-child {
155
+ .k-item :first-child:last-child .k-button {
152
156
@include border-radius ();
153
157
}
154
158
168
172
.k-button-group-stretched {
169
173
display : flex ;
170
174
171
- > .k-button {
175
+ .k-item > .k-button {
172
176
display : inline-block ;
173
177
flex : 1 1 0 ;
174
178
overflow : hidden ;
Original file line number Diff line number Diff line change 235
235
color : $accent ;
236
236
}
237
237
238
+
239
+ // Badge
240
+ .k-badge {
241
+ background-color : $accent ;
242
+ color : $accent-contrast ;
243
+ }
244
+
238
245
}
Original file line number Diff line number Diff line change 115
115
.k-flip-h.k-flip-v { transform : scale (-1 , -1 ); }
116
116
117
117
118
+ // Badge
119
+ .k-badge {
120
+ height : 2em ;
121
+ min-width : .9em ;
122
+ position : absolute ;
123
+ top : -1em ;
124
+ right : -1em ;
125
+ font-size : .6rem ;
126
+ line-height : 2em ;
127
+ margin-left : .5em ;
128
+ padding : 0 .55em ;
129
+ border-radius : 5em ;
130
+ text-align : center ;
131
+ overflow : hidden ;
132
+ z-index : 5 ;
133
+ }
134
+
135
+
118
136
// Dirty indicator
119
137
.k-dirty {
120
138
margin : 0 ;
You can’t perform that action at this time.
0 commit comments