-
Notifications
You must be signed in to change notification settings - Fork 16
/
_skintastic.sass
95 lines (95 loc) · 2.37 KB
/
_skintastic.sass
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
form
:background #eee
// <li> Field wrappers
li
:padding 10px 0px
// <li> Check/Radio wrappers
li
:padding 0
//--------------------------------------------------------
// Fieldsets
//--------------------------------------------------------
fieldset
:margin-top 20px
// Be sure to override styling for nested fieldsets
li
fieldset
:padding 0
//--------------------------------------------------------
// Legend & Labels
//--------------------------------------------------------
legend, label
// Set color manually to override IE's stupid rules for legends
:color #333
label, .label
:padding-bottom 5px
// required * <--styling
abbr
:color #f00
label
:line-height 1.4em
:font-size 13px
legend
span
:font-size 1.4em
// Set lineheight for dumb IE
:line-height 1em
&.label
:font-size 1em
//--------------------------------------------------------
// Inputs
//--------------------------------------------------------
select
:padding 3px
input, textarea, select
:font-family inherit
:font-size 14px
textarea, input
:border 1px solid #999
:padding 6px 8px
:line-height 100%
//--------------------------------------------------------
// Date Time Styling
//--------------------------------------------------------
.date, .time, .datetime
li
:margin 0 0.3em 0 0
//--------------------------------------------------------
// Feedback (Requirements, Errors and Hints)
// Add horizontal margin/padding with care as it can
// break the layout on floats!
//--------------------------------------------------------
#errorExplanation
li
:margin-left 15px
form p, .errors
:padding 3px 0px
.required
input,textarea,select
:background-color #fff
.error
input,textarea,select
:background-color #fcc
:border 1px solid #f66
.optional
input,textarea,select
:background-color #fff
.errors
:color #a00
li
:margin-left 1.2em
p.inline-errors
:color #f00
p.inline-hints
:color #777
//--------------------------------------------------------
// Submit Buttons
//--------------------------------------------------------
.buttons
:padding-top 8px
:padding-bottom 8px
:margin-top 8px
li
:padding-right 0.5em
input
:border 1px solid #999