File tree Expand file tree Collapse file tree 3 files changed +46
-1
lines changed
Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -152,4 +152,22 @@ $table-padding: 10px !default;
152152 @at-root a #{&} {
153153 text-decoration : none ;
154154 }
155- }
155+ }
156+
157+ @mixin badge-variant ($bg ) {
158+ background-color : $bg ;
159+
160+ @at-root a #{&} {
161+ & :focus ,
162+ & .focus {
163+ outline : 0 ;
164+ }
165+ }
166+ }
167+
168+ .badge-primary {
169+ @include badge-variant (blue );
170+ }
171+ .badge-secondary {
172+ @include badge-variant (yellow );
173+ }
Original file line number Diff line number Diff line change @@ -92,3 +92,14 @@ body .second {
9292a .badge {
9393 text-decoration : none; }
9494
95+
96+ .badge-primary {
97+ background-color : blue; }
98+ a .badge-primary : focus , a .badge-primary .focus {
99+ outline : 0 ; }
100+
101+ .badge-secondary {
102+ background-color : yellow; }
103+ a .badge-secondary : focus , a .badge-secondary .focus {
104+ outline : 0 ; }
105+
Original file line number Diff line number Diff line change @@ -118,3 +118,19 @@ tbody {
118118a .badge {
119119text-decoration : none; }
120120
121+ /* line 168, inputs/at_root.scss */
122+ .badge-primary {
123+ background-color : blue; }
124+ /* line 160, inputs/at_root.scss */
125+ /* line 161, inputs/at_root.scss */
126+ a .badge-primary : focus , a .badge-primary .focus {
127+ outline : 0 ; }
128+
129+ /* line 171, inputs/at_root.scss */
130+ .badge-secondary {
131+ background-color : yellow; }
132+ /* line 160, inputs/at_root.scss */
133+ /* line 161, inputs/at_root.scss */
134+ a .badge-secondary : focus , a .badge-secondary .focus {
135+ outline : 0 ; }
136+
You can’t perform that action at this time.
0 commit comments