mirror of
https://github.com/cupcakearmy/fantus.git
synced 2024-12-23 00:36:25 +00:00
39 lines
700 B
Stylus
39 lines
700 B
Stylus
|
@require './utils.styl'
|
||
|
|
||
|
textarea
|
||
|
resize: vertical
|
||
|
max-height: 8em
|
||
|
min-height: 2em
|
||
|
|
||
|
input, textarea, label.file
|
||
|
display: inline-block
|
||
|
width: 100%
|
||
|
padding: .25em 0
|
||
|
margin: 0
|
||
|
margin-bottom: 1em
|
||
|
background: none
|
||
|
outline: none
|
||
|
border: none
|
||
|
color: inherit
|
||
|
border-bottom: 2px solid
|
||
|
cursor: pointer
|
||
|
|
||
|
underline()
|
||
|
|
||
|
&::placeholder
|
||
|
color: #bbb
|
||
|
|
||
|
&[type="submit"], &[type="button"], &.file
|
||
|
padding: .5em 1em
|
||
|
width: initial
|
||
|
border: 2px solid
|
||
|
margin-bottom: 0
|
||
|
margin-top: .5em
|
||
|
|
||
|
&[type="file"]
|
||
|
display: none
|
||
|
|
||
|
label
|
||
|
&>small
|
||
|
// font-size: 1em
|
||
|
font-weight: bold
|