mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
109 lines
2.1 KiB
Sass
109 lines
2.1 KiB
Sass
@import "../includes/button"
|
|
|
|
form.simple_form
|
|
background: white
|
|
border: 1px solid #ccc
|
|
margin: 0 0 1em
|
|
padding: 0 1em
|
|
label
|
|
text-align: right
|
|
margin-right: 1em
|
|
.required
|
|
label
|
|
font-weight: bold
|
|
border-radius: 5px
|
|
.input
|
|
margin-bottom: 0em
|
|
margin-top: 0em
|
|
overflow: hidden
|
|
padding: 0.5em 0
|
|
label
|
|
display: block
|
|
float: left
|
|
padding: 0.5em 0
|
|
font-weight: bold
|
|
width: 13em
|
|
input
|
|
@include placeholder
|
|
color: rgba(0, 0, 0, 0.4)
|
|
textarea
|
|
height: 10em
|
|
input, textarea
|
|
font-family: "Helvetica Neue", "Arial", sans-serif
|
|
font-size: 1em
|
|
margin: 0 0.5rem 0 0
|
|
border-width: 1px
|
|
border-style: solid
|
|
border-color: #ccc
|
|
padding: 0.5em
|
|
border-radius: 2px
|
|
&:focus
|
|
border-color: #67A #9AF #9AF #67A
|
|
box-shadow: 0 0 4px rgba(0, 128, 255, 0.5), inset 1px 1px 4px rgba(0, 0, 0, 0.1)
|
|
&[type=text], &[type=email], &[type=url]
|
|
width: 15em
|
|
&[type=number]
|
|
width: 3.5em
|
|
text-align: right
|
|
&:-webkit-inner-spin-button, &:-webkit-outer-spin-button
|
|
-webkit-appearance: none
|
|
margin: 0
|
|
|
|
.fragments
|
|
.label label
|
|
width: 13em
|
|
|
|
.fragments-group
|
|
padding-left: 14em
|
|
|
|
input[type=submit], a.button
|
|
@include button(#9C7)
|
|
|
|
.input.boolean
|
|
padding-left: 14em
|
|
label
|
|
text-align: left
|
|
input
|
|
float: left
|
|
margin-top: 0.4em
|
|
margin-right: 0.6em
|
|
|
|
.field_with_errors input
|
|
border-width: 1px
|
|
border-style: solid
|
|
border-color: #933 #FBB #FBB #933
|
|
background: #FFEFEF
|
|
padding: 0.3em
|
|
box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.1)
|
|
|
|
span.error
|
|
display: inline
|
|
margin-left: 1em
|
|
color: #933
|
|
|
|
fieldset
|
|
border: 0
|
|
margin-bottom: 0.5em
|
|
|
|
fieldset.inputs
|
|
padding: 1em 0
|
|
border-bottom: 1px solid #ccc
|
|
fieldset.actions
|
|
padding: 1.5em 0 1em 14em
|
|
.string, .email, .password, .text
|
|
input, textarea
|
|
width: 40%
|
|
|
|
.help
|
|
margin-left: 14em
|
|
margin-top: -0.5em
|
|
p
|
|
font-size: 0.8em
|
|
color: #999
|
|
|
|
a.button
|
|
@include button(#999)
|
|
|
|
a.button.new
|
|
@include button(#359ADD)
|