new layout

This commit is contained in:
Riku Rouvila
2015-01-24 01:56:12 +02:00
parent 2d6696b9d2
commit 2c8e31c271
4 changed files with 80 additions and 102 deletions

32
src/styles/_input.styl Normal file
View File

@@ -0,0 +1,32 @@
.input
width 100%
height 45px
padding 1em
box-sizing border-box
font-size inherit
border 2px solid rgba(0, 0, 0, 0.3)
border-radius 5px
background transparent
color rgba(0, 0, 0, 0.5)
outline 0
&:focus
border 2px solid rgba(0, 0, 0, 0.4)
color rgba(0, 0, 0, 0.6)
.input::-webkit-input-placeholder
color rgba(0, 0, 0, 0.3)
.input:-moz-placeholder
color rgba(0, 0, 0, 0.3)
opacity 1
.input::-moz-placeholder
color rgba(0, 0, 0, 0.3)
opacity 1
.input:-ms-input-placeholder
color rgba(0, 0, 0, 0.3)
.input.has-error
border-color rgba(226, 33, 112, 0.6)
color rgb(226, 33, 112)