forked from nutritionix/nutrition-label
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nutritionLabel-stable-ver-6.0.2.css
254 lines (231 loc) · 5.91 KB
/
nutritionLabel-stable-ver-6.0.2.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/*
******************************************************************************************************************+
* NUTRITIONIX.com |
* |
* This plugin allows you to create a fully customizable nutrition label |
* |
* @authors majin22 (js) and genesis23rd (css and html) |
* @copyright Copyright (c) 2012 Nutritionix. |
* @license This Nutritionix jQuery Nutrition Label is dual licensed under the MIT and GPL licenses. |
* @link http://www.nutritionix.com |
* @github http://github.com/nutritionix/nutrition-label |
* @current version 6.0.3 |
* @stable version 6.0.2 |
* @supported browser Firefox, Chrome, IE8+ |
* |
******************************************************************************************************************+
*/
@import url("http://fonts.googleapis.com/css?family=Archivo+Black");
.nutritionLabel input.unitQuantityBox.ui-input-text {
margin-top: 0;
border-radius: 0;
height: auto;
box-sizing: content-box;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
}
.nutritionLabel input.unitQuantityBox.ui-shadow-inset {
box-shadow: none;
}
.nutritionLabel {
font-size: 90%;
margin-bottom: 1.1em;
padding: .68em;
color: #333;
font-family: Arial, Helvetica, sans-serif;
border: 2px solid #000;
line-height: normal;
}
.nutritionLabel .title {
line-height: .83em;
font-size: 2.7em;
padding-bottom: 4px;
font-family: 'Archivo Black';
white-space: nowrap;
letter-spacing: -2px;
}
.nutritionLabel .m {
font-size: .9em;
}
.nutritionLabel .serving {
font-size: 1.1em;
line-height: 1.28em;
padding-bottom: 2px;
}
.nutritionLabel .name {
font-size: 1.1em;
line-height: 1.3em;
/*padding-top: 5px; */
}
.nutritionLabel .name.inline {
padding-top: .2em;
padding-top: .25em \9;
}
.nutritionLabel .dvCalorieDiet,
.nutritionLabel #calcDisclaimer {
font-size: .9em;
}
.nutritionLabel .line {
border-top: 1px solid #333;
padding: 1px 0
}
.nutritionLabel .line.last {
border-bottom: 1px solid #333;
}
.nutritionLabel .line.indent {
margin-left: 15px;
}
.nutritionLabel .dv {
float: right;
}
.nutritionLabel .dv:before {
content: '\0000a0';
}
.nutritionLabel .bar1 { height: 10px; line-height:0; font-size:1px; background: #333;}
.nutritionLabel .bar2 { height: 5px; line-height:0; font-size:1px; background: #333;}
.nutritionLabel .dvCalorieDiet {
color: #777;
}
.nutritionLabel .calorieNote {
padding: .60em 0 0 .70em;
}
.nutritionLabel .star {
margin-left: -7px;
}
.nutritionLabel .tblCalorieDiet th {
font-size: .7em;
border-bottom: 1px solid #333;
text-align: left;
color: #777;
}
.nutritionLabel .tblCalorieDiet {
width: 100%;
}
.nutritionLabel .tblCalorieDiet td {
padding: 0;
line-height: normal;
font-size: .7em;
color: #777;
}
.nutritionLabel .ar { text-align: right; }
.nutritionLabel .fr { float: right; }
.nutritionLabel .fl { float: left; }
.nutritionLabel #calcDisclaimer {
color: #777;
}
.notApplicable{
color: gray;
font-weight: bold;
font-size: 1.2em;
cursor: default;
margin-top: .2em;
}
.naTooltip{
position: absolute;
display: none;
border: 1px solid black;
padding: 2px;
text-align: center;
height: 18px;
width: 120px;
background-color: #ffc;
z-index: 10000;
}
.nutritionLabel .spaceAbove {
height: 10px;
}
.nutritionLabel .setter {
width: 12px;
padding: 3px 0 0 0;
position: absolute;
left: 0;
top: 0;
z-index: 100;
}
.nutritionLabel .setter a {
display: block;
width: 9px;
height: 7px;
font-size: 1px;
line-height: 0em;
}
.nutritionLabel a.unitQuantityUp {
padding-bottom: 1px;
background: transparent url("images/up.png") left top no-repeat;
z-index: 9999;
}
.nutritionLabel a.unitQuantityDown {
padding-top: 1px;
background: transparent url("images/down.png") left bottom no-repeat;
z-index: 9999;
}
.nutritionLabel input.unitQuantityBox {
width:25px;
height: 15px;
padding:2px;
font-size: .9em !important;
margin-left: 15px;
margin-bottom: 0;
line-height: 15px \9;
}
.nutritionLabel input.unitQuantityBox.arrowsAreHidden {
margin-left: 0;
}
.nutritionLabel .rel {
position: relative;
}
.nutritionLabel .servingSizeField {
float: left;
margin-top: .2em;
margin-bottom: .2em;
margin-right: .4em;
}
.nutritionLabel .servingUnit {
float: left;
padding: 0;
margin-top: .3em;
margin-bottom: .2em;
}
.nutritionLabel .servingWeightGrams {
padding: 0 0 0 .3em;
margin-top: .3em;
margin-bottom: .2em;
}
.nutritionLabel .servingSizeText {
padding-right: .3em;
margin-top: .3em;
}
.nutritionLabel .servingUnitQuantity {
margin-top: .3em;
padding-right: .3em;
}
.cf:before,
.cf:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.cf:after {
clear: both;
}
/**
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/
.cf {
*zoom: 1;
}
.nutritionLabel .servingSizeText {
display: inline-block;
}
.ingredientListDiv.scroll {
overflow-y: scroll !important;
}
#calcDisclaimer.scroll {
overflow-y: scroll !important;
}
#calcDisclaimer {
line-height: normal;
}
.nutritionLabel .ingredientListDiv {
padding-top: 10px;
}