1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-14 21:45:08 -05:00
kaiwa/public/css/app/forms.styl

68 lines
1.4 KiB
Stylus
Raw Normal View History

2013-09-18 13:45:40 -04:00
// Forms and Buttons
2013-10-23 08:16:27 -04:00
input[type=text], input[type=email], input[type=search], input[type=password], textarea, .main .status
-webkit-appearance: none
roundall(3px)
padding: 0 10px
background-color: white
2013-10-23 13:57:46 -04:00
border: 1px solid $gray-lighter
font-size: $font-size-small
2013-10-23 13:57:46 -04:00
color: $gray
borderbox()
font-family: $font-family-gotham
-webkit-font-smoothing: antialiased
-webkit-appearance: none
transition: border .2s ease-in 0
-webkit-transition: border .2s ease-in 0
-moz-transition: border .2s ease-in 0
2013-10-23 08:16:27 -04:00
input[type=text], input[type=email], input[type=search], input[type=password], .main .status
height: 35px
textarea
resize: none
input[type=text]:focus,
input[type=email]:focus,
input[type=search]:focus,
input[type=password]:focus,
textarea:focus,
.main .status:focus
outline: none
2013-10-23 13:57:46 -04:00
border: 1px solid lighten($blue, 50%)
label
display: block
margin-bottom: 5px
font-size: 13px
font-weight: $font-weight-bold
2013-10-23 13:57:46 -04:00
color: $gray
2013-09-19 14:37:01 -04:00
a.button
line-height: 35px
button, a.button
display: inline-block
2013-09-19 07:29:42 -04:00
gotham()
roundall(3px)
border: none
height: 35px
min-width: 80px
padding: 0 1em
color: white
2013-10-23 13:57:46 -04:00
background: $blue
font-size: $font-size-small
font-weight: $font-weight-bold
text-decoration: none
text-align: center
cursor: pointer
&:focus
outline: none
&:hover
2013-10-23 13:57:46 -04:00
background: darken($blue, 30%)
2013-10-23 08:29:45 -04:00
.installFirefox, .addContact
margin-left: 5px