This repository was archived by the owner on Apr 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +33
-7
lines changed
assets/stylesheets/blocks Expand file tree Collapse file tree 3 files changed +33
-7
lines changed Original file line number Diff line number Diff line change 1
1
@import " scss/buttons" ;
2
2
@import " scss/utilities" ;
3
3
4
+ .button ,
4
5
.button-block-small ,
5
6
.button-block ,
6
7
.button-danger-disabled ,
85
86
@include button-small ;
86
87
}
87
88
89
+ .button-base {
90
+ @include button-base ;
91
+ }
92
+
88
93
.button-outline {
89
94
@include button ;
90
95
@include button-outline ;
Original file line number Diff line number Diff line change 13
13
}
14
14
}
15
15
16
- @mixin button {
17
- background-color : #eee ;
18
- background-image : linear-gradient (#fcfcfc , #eee );
16
+ @mixin button-base {
17
+ border : 1px solid transparent ;
19
18
border-radius : 3px ;
20
- border : 1px solid #d5d5d5 ;
21
- color : #333 ;
22
- cursor : pointer ;
23
19
display : inline-block ;
24
20
font-size : 13px ;
25
- font-weight : bold ;
26
21
line-height : 20px ;
27
22
padding : 6px 12px ;
28
23
position : relative ;
24
+ }
25
+
26
+ @mixin button {
27
+ @include button-base ;
28
+ background-color : #eee ;
29
+ background-image : linear-gradient (#fcfcfc , #eee );
30
+ border-color : #d5d5d5 ;
31
+ color : #333 ;
32
+ cursor : pointer ;
33
+ font-weight : bold ;
29
34
user-select : none ;
30
35
vertical-align : middle ;
31
36
white-space : nowrap ;
Original file line number Diff line number Diff line change @@ -62,6 +62,22 @@ article.article
62
62
@include button;
63
63
@include button-outline;
64
64
}
65
+ . article-section
66
+ . article-section-heading
67
+ | @mixin button-base
68
+ . article-example
69
+ . buttons
70
+ button .button
71
+ | .button
72
+ a .button-base [href =" #" ]
73
+ | .button-base
74
+ . markdown
75
+ pre
76
+ code
77
+ |
78
+ .button-base {
79
+ @include button-base;
80
+ }
65
81
. article-section
66
82
. article-section-heading
67
83
| @mixin button-small
You can’t perform that action at this time.
0 commit comments