summaryrefslogtreecommitdiff
path: root/public/app.css
blob: 53dbc25cfda6e09484bb2897b325bf5613dff687 (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
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
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.5;
  font-size: 15px;
}

h1 {
  margin: 0 0 10px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.9);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
}

.modal.visible {
  pointer-events: auto;
  opacity: 1;
}

.inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%) translateZ(0);
  background: white;
  box-shadow: 0 1px 1px #888;
  padding: 20px;
}

.modal .close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: white;
  cursor: pointer;
}

input[type=date], input[type=time] {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

input, input[type=submit], button {
  border: 1px solid #888;
  color: black;
  background: white;
  font-size: 15px;
  line-height: 1;
  padding: 5px;
  margin: 5px;
}

input[type=submit], button {
  border-color: black;
  border-radius: 4px;
  cursor: pointer;
}

form.create .clear {
  display: none;
}
form.update .clear {
  color: #888;
  padding-left: 5px;
  text-decoration: underline;
  cursor: pointer;
}

.desktop input[type=submit]:hover, button:hover {
  color: white;
  background: black;
}
.error {
  color: red;
}

.remove {
  color: #888;
  cursor: pointer;
}

.menu {
  width: 100%;
}
.menu li {
  list-style-type: none;
  display: inline-block;
  padding: 5px;
}

.meal div {
  display: inline-block;
  min-width: 100px;
  padding: 5px;
}