blob: 2736a7fad365cb7ff11a7094f84ff740434f5158 (
plain)
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
|
/* Box sizing */
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
/* */
html {
overflow-y: scroll;
}
body { margin: 0; }
@media screen and (min-width: 700px) {
.g-Page {
width: 700px;
margin: 0 auto;
}
}
@media screen and (max-width: 700px) {
.g-Page { width: 100%; }
}
.g-Header {
position: fixed;
top: 0;
width: inherit;
}
.g-Aliments { margin-top: 110px; }
.g-Line {
height: 50px;
display: flex;
align-items: center;
}
.g-Line.g-Title {
height: 60px;
}
.g-Line.g-Title > * {
border: 0;
background-color: #333333;
color: white;
cursor: pointer;
height: 60px;
font-size: 17px;
padding: 0 15px;
text-align: left;
transition: background-color 0.2s ease-in-out;
}
.g-Line.g-Title > .g-Header--Sorted {
background-color: #505050;
}
.g-Line.g-Search {
width: 100%;
padding: 0 15px;
border: none;
box-shadow: 0px 4px 2px -2px rgba(0, 0, 0, 0.2);
font-size: 14px;
}
.g-Line > * { padding: 15px; }
.g-Line > *:nth-child(1) { width: 40%; }
.g-Line > *:nth-child(2) { width: 20%; }
.g-Line > *:nth-child(3) { width: 20%; }
.g-Line > *:nth-child(4) { width: 20%; }
.g-Aliment:nth-child(2n+1) { background-color: #F6F6F6; }
.g-Number {
text-align: right;
}
.g-Number--Low { color: green; }
.g-Number--Middle { color: orange; }
.g-Number--High { color: red; }
|