Skip to content

Commit 82dbe97

Browse files
author
CodeBrauer
committed
Fix #33 with padding instead box-shadow
1 parent c47ba59 commit 82dbe97

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

dist/wing.css

+8-6
Original file line numberDiff line numberDiff line change
@@ -277,24 +277,26 @@ h6 {
277277

278278
/* Button Outline */
279279

280-
.btn-outline {
281-
box-shadow: inset 0 0 0 3px #fff;
282-
color: #fff;
280+
.btn-outline, .btn-outline-inverted {
281+
padding: 9px 9px;
283282
background: transparent;
284283
transition: all 0.5s ease;
285284
}
286285

286+
.btn-outline {
287+
border: 3px solid #fff;
288+
color: #fff;
289+
}
290+
287291
.btn-outline:hover,
288292
.btn-outline:active {
289293
color: #000;
290294
background: #fff;
291295
}
292296

293297
.btn-outline-inverted {
294-
box-shadow: inset 0 0 0 3px #000;
298+
border: 3px solid #000;
295299
color: #000;
296-
background: transparent;
297-
transition: all 0.5s ease;
298300
}
299301

300302
.btn-outline-inverted:hover,

dist/wing.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/buttons.css

+8-6
Original file line numberDiff line numberDiff line change
@@ -50,24 +50,26 @@
5050

5151
/* Button Outline */
5252

53-
.btn-outline {
54-
box-shadow: inset 0 0 0 3px #fff;
55-
color: #fff;
53+
.btn-outline, .btn-outline-inverted {
54+
padding: 9px 9px;
5655
background: transparent;
5756
transition: all 0.5s ease;
5857
}
5958

59+
.btn-outline {
60+
border: 3px solid #fff;
61+
color: #fff;
62+
}
63+
6064
.btn-outline:hover,
6165
.btn-outline:active {
6266
color: #000;
6367
background: #fff;
6468
}
6569

6670
.btn-outline-inverted {
67-
box-shadow: inset 0 0 0 3px #000;
71+
border: 3px solid #000;
6872
color: #000;
69-
background: transparent;
70-
transition: all 0.5s ease;
7173
}
7274

7375
.btn-outline-inverted:hover,

0 commit comments

Comments
 (0)