File tree 1 file changed +44
-0
lines changed
packages/components/src/toolbar
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 9
9
10
10
flex-shrink : 0 ;
11
11
}
12
+
13
+ // We should extract this to a separate component.
14
+ .components-tab-button {
15
+ padding : 3px ;
16
+ color : $dark-gray-500 ;
17
+ height : $icon-button-size ;
18
+ font-weight : 500 ;
19
+
20
+ & .is-pressed ,
21
+ & .is-pressed :hover {
22
+ color : $white ;
23
+ }
24
+
25
+ & :disabled {
26
+ cursor : default ;
27
+ }
28
+
29
+ & > span {
30
+ border : $border-width solid transparent ;
31
+ padding : 0 6px ;
32
+ box-sizing : content-box ;
33
+ height : 28px ;
34
+ line-height : 28px ;
35
+ }
36
+
37
+ & :hover > span ,
38
+ & :focus > span {
39
+ color : $dark-gray-500 ;
40
+ }
41
+
42
+ & :not (:disabled ) {
43
+ & .is-pressed > span ,
44
+ & :hover > span ,
45
+ & :focus > span {
46
+ border : $border-width solid $dark-gray-500 ;
47
+ }
48
+ }
49
+
50
+ & .is-pressed > span ,
51
+ & .is-pressed :hover > span {
52
+ background-color : $dark-gray-500 ;
53
+ color : $white ;
54
+ }
55
+ }
You can’t perform that action at this time.
0 commit comments