/
demo.scss
99 lines (81 loc) · 1.37 KB
/
demo.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
@import "../../../mixins";
// Clear Floated Elements
.clearfix:after {
clear: both;
content: ' ';
display: block;
font-size: 0;
line-height: 0;
visibility: hidden;
width: 0;
height: 0;
}
// This is just for the example page
body {
color: #333;
}
#buttons {
margin: 50px auto;
width: 995px;
h2 {
font: 300 22px "helvetica neue", sans-serif;
margin: 0 0 4px 0;
}
p {
color: #777;
font: normal 14px "helvetica neue", sans-serif;
margin: 0 0 24px 0;
}
.button-set {
@extend .clearfix;
margin: 0 0 40px 0;
p {
border-bottom: 1px solid #ddd;
font: bold 14px "helvetica neue", sans-serif;
padding: 0 0 4px 0;
}
section {
float: left;
margin-right: 25px;
text-align: center;
width: 315px;
&:last-child {
margin-right: 0;
}
}
}
}
// Style the buttons
.simple {
button.default {
@include button();
}
button.color-2 {
@include button(#f10);
}
button.color-3 {
@include button(#29c13b);
}
}
.shiny {
button.default {
@include button(shiny);
}
button.color-2 {
@include button(shiny, #f10);
}
button.color-3 {
@include button(shiny, #29c13b);
}
}
.pill {
button.default {
@include button(pill);
}
button.color-2 {
@include button(pill, #f10);
}
button.color-3 {
@include button(pill, #29c13b);
}
}