@@ -170,6 +170,7 @@ label.switch-control
170
170
text-shadow 0px 1px 0 black
171
171
else
172
172
text-shadow 0px 1px 0 black ,1px 1px 0 rgba (100 ,100 ,100 ,.5 )
173
+ transform scale (1.02 ) translateY (- 1px )
173
174
transition none
174
175
button :disabled:hover ::before , input [type = "submit" ]:disabled:hover ::before , input [type = "button" ]:disabled:hover ::before
175
176
background-image linear-gradient (to bottom , rgba (255 ,255 ,255 ,.05 ) 0% , rgba (255 ,255 ,255 ,.1 ) 80% )
@@ -190,7 +191,7 @@ button:disabled, input[type="submit"]:disabled, input[type="button"]:disabled
190
191
// border-bottom 1px solid dark_theme_color
191
192
// border-right 1px solid dark_theme_color
192
193
border-bottom-color #8 8 8
193
- transform translateY (2 px )
194
+ transform translateY (1 px )
194
195
border-radius 8px / 4px
195
196
opacity .9
196
197
// bottom "darken" fx
@@ -210,16 +211,15 @@ input[type="submit"]::after, button::after, .button::after
210
211
background-image linear-gradient (to bottom , rgba (0 ,0 ,0 ,.1 ) 0% , rgba (0 ,0 ,0 ,.25 ) 100% )
211
212
opacity .75
212
213
height 4px
213
- // XXX this is stealing clicks! (...but it looks so good ;/)
214
214
// - top gloss fx
215
- // input[type="submit"]:active::before, button:active::before, .button:active::before
216
- // height 53%!important
217
- // opacity .7
218
- // input[type="submit"]:hover::before, button:hover::before, .button:hover::before
219
- // background-image linear-gradient(to bottom, rgba(255,255,255,.33) 0%, rgba(255,255,255,.28) 100%)
220
- // opacity .9
221
- // height 48%
222
- // transition opacity .08s ease-out, height .02s ease-out
215
+ input [type = "submit" ]:active ::before , button :active ::before , .button :active ::before
216
+ height 53% ! important
217
+ opacity .5 ! important
218
+ input [type = "submit" ]:hover ::before , button :hover ::before , .button :hover ::before
219
+ background-image linear-gradient (to bottom , rgba (255 ,255 ,255 ,.33 ) 0% , rgba (255 ,255 ,255 ,.28 ) 100% )
220
+ opacity .9
221
+ height 48%
222
+ transition opacity .08s ease-out , height .02s ease-out
223
223
input [type = "submit" ]::before , button ::before , .button ::before
224
224
position absolute
225
225
content ''
@@ -263,6 +263,6 @@ input[type="submit"]::before, button::before, .button::before
263
263
font-weight 500
264
264
padding 6px 15px
265
265
text-align center
266
- border-radius 6 px / 5 px
266
+ border-radius 3 px
267
267
// }}}
268
268
// vim: fdm=marker
0 commit comments