-
Notifications
You must be signed in to change notification settings - Fork 0
/
house_cost_calculator.css
150 lines (120 loc) · 2.06 KB
/
house_cost_calculator.css
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
.intro {
padding: .2em;
}
/*Form styles*/
fieldset.house-calc {
padding-right: 3em;
margin-right: 1em;
margin-bottom: 1em;
}
fieldset.house-calc.left {
width: 24em;
padding-buttom: 1em;
float: left;
}
fieldset.house-calc.right {
width: 20em;
}
fieldset ol.house-calc {
list-style: none;
}
fieldset li.house-calc {
padding-bottom: .5em;
}
fieldset.left ol li.house-calc>label {
}
input.house-calc {
text-align: right;
}
fieldset li.house-calc>input, fieldset li.house-calc>span {
float: right;
}
span.percent:after {
content: "%";
}
span.dollar:before {
content: "$";
}
span.years:after {
content: "years";
}
input.small-num {
width: 3em;
}
input.large-num {
width: 5em;
}
input.error {
background-color: #FAA;
}
label.error {
color: red;
}
button {
width: 40%;
margin-left: 35%;
}
/*Results page and table styles*/
body {
font-family: Arial,Tahoma,Helvetica,FreeSans,sans-serif;
color: #3A3A3A;
}
table#results-table, td.house-calc, th.house-calc {
border: 1px solid #AAA;
border-collapse: collapse;
padding: 0em .3em;
padding-right: .3em;
padding-left: .3em;
font-size: 90%;
}
th.house-calc {
background-color: #FAE8FF;
}
tbody tr:nth-child(even) td {
background-color: #FFF8F8;
}
tbody tr:hover td {
background-color: #FFF0F0;
}
td.house-calc {
text-align: right;
}
td.house-calc.month {
text-align: center;
}
div.summary {
float: left;
line-height: 150%;
}
div.results-box {
padding: 0 2em 1em 2em;
margin: 0em 1em 1em 0em;
border: 1px solid #E4E4E4;
border-radius: 10px;
width: 20em;
/*background-color: #FFF8F8;*/
}
.summary span {
float: right;
}
a.calc-permalink {
text-decoration: none;
color: inherit;
font-size: smaller;
}
a.calc-permalink:hover {
text-decoration: underline;
}
.column-toggles {
float: left;
width: 25em;
display: none;
}
table#results-table {
clear: both;
}
.toggle {
padding: .2em;
background-color: #FAE8FF;
margin: .3em;
}