@@ -12,8 +12,8 @@ input[type="submit"] {
1212 min-height : 2.5em ;
1313 line-height : 1 ;
1414 border : 0 ;
15- border-top-width : 2 px ;
16- border-bottom-width : 2 px ;
15+ border-top-width : 3 px ;
16+ border-bottom-width : 3 px ;
1717 border-style : solid;
1818 border-color : transparent;
1919 border-radius : var ( --radius ) ;
@@ -29,10 +29,44 @@ input[type="submit"] {
2929 align-items : center;
3030}
3131
32- . button . active {
33- border-top-width : 3px ;
34- border-bottom-width : 3px ;
32+ button : hover ,
33+ button : focus ,
34+ . button : hover ,
35+ . button : focus ,
36+ input [type = "button" ]: hover ,
37+ input [type = "button" ]: focus ,
38+ input [type = "reset" ]: hover ,
39+ input [type = "reset" ]: focus ,
40+ input [type = "submit" ]: hover ,
41+ input [type = "submit" ]: focus {
42+ background-color : var ( --gray-03 ) ;
3543 border-bottom-color : rgb ( var ( --accent ) ) ;
44+ color : var ( --white ) ;
45+ outline : 0 ;
46+ }
47+
48+ button : active ,
49+ . button : active ,
50+ input [type = "button" ]: active ,
51+ input [type = "reset" ]: active ,
52+ input [type = "submit" ]: active {
53+ background-color : var ( --gray-04 ) ;
54+ color : var ( --white ) ;
55+ transition : none;
56+ }
57+
58+ button [disabled ],
59+ . button [disabled ],
60+ button [disabled ]: hover ,
61+ . button [disabled ]: hover ,
62+ button [disabled ]: focus ,
63+ . button [disabled ]: focus ,
64+ button [disabled ]: active ,
65+ . button [disabled ]: active {
66+ background-color : var ( --gray-02 ) ;
67+ border-color : transparent;
68+ color : var ( --gray-04 ) ;
69+ cursor : default;
3670}
3771
3872button [class ^= "icon-" ],
@@ -43,6 +77,10 @@ button [class*=" icon-"],
4377 line-height : 1 ;
4478}
4579
80+ . button . active {
81+ border-bottom-color : rgb ( var ( --accent ) ) ;
82+ }
83+
4684. button-small {
4785 font-size : 0.8em ;
4886}
@@ -70,32 +108,6 @@ button [class*=" icon-"],
70108 border-radius : 0 var ( --radius ) var ( --radius ) 0 ;
71109}
72110
73- button : hover ,
74- button : focus ,
75- . button : hover ,
76- . button : focus ,
77- input [type = "button" ]: hover ,
78- input [type = "button" ]: focus ,
79- input [type = "reset" ]: hover ,
80- input [type = "reset" ]: focus ,
81- input [type = "submit" ]: hover ,
82- input [type = "submit" ]: focus {
83- background-color : var ( --gray-03 ) ;
84- border-bottom-color : rgb ( var ( --accent ) ) ;
85- color : var ( --white ) ;
86- outline : 0 ;
87- }
88-
89- button : active ,
90- . button : active ,
91- input [type = "button" ]: active ,
92- input [type = "reset" ]: active ,
93- input [type = "submit" ]: active {
94- background-color : var ( --gray-04 ) ;
95- color : var ( --white ) ;
96- transition : none;
97- }
98-
99111button [class ^= "button-" ],
100112button [class *= " button-" ],
101113. button [class ^= "button-" ],
0 commit comments