mirror of
https://github.com/danbee/danbarberphoto
synced 2025-03-04 08:49:07 +00:00
104 lines
2.7 KiB
Sass
104 lines
2.7 KiB
Sass
@import "../includes/v_linear_grad"
|
|
@import "../includes/round_corners"
|
|
@import "../includes/transition"
|
|
@import "../includes/box_shadow"
|
|
@import "../includes/button"
|
|
|
|
form.formtastic
|
|
background: white
|
|
border: 1px solid #ccc
|
|
margin: 0 0 1em
|
|
padding: 0 1em
|
|
@include box-shadow("0 2px 2px rgba(0, 0, 0, 0.05)")
|
|
label
|
|
text-align: right
|
|
margin-right: 1em
|
|
.required
|
|
label
|
|
font-weight: bold
|
|
@include round-corners(5px)
|
|
ol, ul
|
|
margin-bottom: 0.5em
|
|
.input
|
|
margin-bottom: 0em
|
|
margin-top: 0em
|
|
overflow: hidden
|
|
padding: 0.5em 0
|
|
.label
|
|
width: 13em
|
|
textarea
|
|
height: 10em
|
|
input, textarea
|
|
font-family: "Helvetica Neue", "Arial", sans-serif
|
|
font-size: 1em
|
|
margin-right: 5px
|
|
border-width: 1px
|
|
border-style: solid
|
|
border-color: #999 #DDD #DDD #999
|
|
padding: 0.3em
|
|
@include round-corners(2px)
|
|
@include box-shadow("inset 1px 1px 4px rgba(0, 0, 0, 0.1)")
|
|
&:focus
|
|
border-color: #67A #9AF #9AF #67A
|
|
@include 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]
|
|
width: 15em
|
|
&[type=number]
|
|
width: 3.5em
|
|
text-align: right
|
|
&:-webkit-inner-spin-button, &:-webkit-outer-spin-button
|
|
-webkit-appearance: none
|
|
margin: 0
|
|
|
|
input[type=submit], a.button
|
|
@include button
|
|
&[name=commit]
|
|
background-color: #9C7
|
|
border-color: #370
|
|
color: white
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5)
|
|
@include box-shadow("0 1px 0 rgba(0, 0, 0, 0.25), inset -1px -1px 0 rgba(255, 255, 255, 0.2), inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 6px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3)")
|
|
&:hover, &:focus
|
|
background-color: #8B6
|
|
|
|
.error input
|
|
border-width: 1px
|
|
border-style: solid
|
|
border-color: #933 #FBB #FBB #933
|
|
background: #FFEFEF
|
|
padding: 3px
|
|
box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.1)
|
|
|
|
.inline-errors
|
|
display: inline
|
|
margin-left: 1em
|
|
color: #933
|
|
|
|
fieldset.inputs
|
|
padding: 1em 0
|
|
border-bottom: 1px solid #ccc
|
|
fieldset.buttons
|
|
padding: 1.5em 0 1em
|
|
.stringish, .text
|
|
input, textarea
|
|
width: 40%
|
|
|
|
.help
|
|
margin-left: 14em
|
|
margin-top: -0.5em
|
|
p
|
|
font-size: 0.8em
|
|
color: #999
|
|
|
|
a.button
|
|
@include button
|
|
|
|
a.button.new
|
|
background-color: #7AC
|
|
border-color: #047
|
|
color: white
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5)
|
|
@include box-shadow("0 1px 0 rgba(0, 0, 0, 0.25), inset -1px -1px 0 rgba(255, 255, 255, 0.2), inset 1px 1px 0 rgba(255, 255, 255, 0.3), inset 0 0 6px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.3)")
|
|
&:hover, &:focus
|
|
background-color: #69B
|