@@ -170,6 +170,7 @@ label.switch-control
170170 text-shadow 0px 1px 0 black
171171 else
172172 text-shadow 0px 1px 0 black ,1px 1px 0 rgba (100 ,100 ,100 ,.5 )
173+ transform scale (1.02 ) translateY (- 1px )
173174 transition none
174175button :disabled:hover ::before , input [type = "submit" ]:disabled:hover ::before , input [type = "button" ]:disabled:hover ::before
175176 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
190191 // border-bottom 1px solid dark_theme_color
191192 // border-right 1px solid dark_theme_color
192193 border-bottom-color #8 8 8
193- transform translateY (2 px )
194+ transform translateY (1 px )
194195 border-radius 8px / 4px
195196 opacity .9
196197// bottom "darken" fx
@@ -210,16 +211,15 @@ input[type="submit"]::after, button::after, .button::after
210211 background-image linear-gradient (to bottom , rgba (0 ,0 ,0 ,.1 ) 0% , rgba (0 ,0 ,0 ,.25 ) 100% )
211212 opacity .75
212213 height 4px
213- // XXX this is stealing clicks! (...but it looks so good ;/)
214214// - 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
223223input [type = "submit" ]::before , button ::before , .button ::before
224224 position absolute
225225 content ''
@@ -263,6 +263,6 @@ input[type="submit"]::before, button::before, .button::before
263263 font-weight 500
264264 padding 6px 15px
265265 text-align center
266- border-radius 6 px / 5 px
266+ border-radius 3 px
267267// }}}
268268// vim: fdm=marker
0 commit comments