aboutsummaryrefslogtreecommitdiffstats
path: root/static/styles.css
blob: 0e538e8a5a5cfdf378c308377bcaab8c08afbfd6 (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
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
html {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 16px;
}

body {
  padding: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

textarea {
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 16px;
}

button,
input[type="submit"] {
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  text-shadow: none;
  box-shadow: none;
  padding: 5px 8px;
  border: 0;
  background-color: rgb(63, 122, 248);
  color: white;
}

button.red,
input[type="submit"].red {
  background-color: #d42f2f;
}

button.green,
input[type="submit"].green {
  background-color: #4caf50;
}

button.yellow,
input[type="submit"].yellow {
  background-color: #ff9800;
}

input[type="text"],
input[type*="date"] {
  font-size: 16px;
  color: black;
}

input[type="text"]:disabled,
input[type*="date"]:disabled {
  color: #666;
}

.contrast {
  color: #fa8e35;
}

th, td {
  padding-left: 0;
  padding-right: 5px;
  min-width: 100px;
}

table {
  margin-left: -2px;
}

.vote-table th,
.vote-table td {
  text-align: center;
  padding: 7px 5px;
}

.vote-table th {
  vertical-align: bottom;
}

.vote-table th span {
  display: block;
}

.vote-table th span i {
  font-weight: normal;
}

.vote-table td:first-child {
  text-align: left;
  padding-left: 5px;
}

.vote-table tr:last-child td:first-child {
  padding-left: 0;
}

.vote-table tr td:nth-child(even),
.vote-table tr th:nth-child(even) {
  background-color: #f2f2f2; /* Light grey background */
}

.vote-table tr:nth-child(even),
.vote-table tr:nth-child(even) {
  background-color: #f8f6ff; /* Light grey background */
}

.danger-zone {
  margin-top: 40px;
}

.manage-table th {
  text-align: left;
}

.poll-form td:last-child,
.manage-table td:last-child {
  display: flex;
  flex-flow: row;
  align-items: center;
}

.poll-form td:last-child > *,
.manage-table td:last-child > * {
  flex: 1;
}

.manage-table td:last-child input[type="submit"] {
  max-width: 70px;
}

.display-mode-section {
  margin-bottom: 30px;
}

.display-mode-section input[type="submit"] {
  margin-left: 10px;
}

.vote-list label,
input[type="checkbox"] {
  cursor: pointer;
}

input[type="checkbox"]:disabled {
  cursor: initial;
}

td.checkbox-field {
  text-align: left;
}

td.checkbox-field input[type="checkbox"] {
  flex: initial;
  margin-left: 0;
}