forked from dcbradley/building-access
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
233 lines (204 loc) · 4.11 KB
/
style.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
.slotinfo {
font-size: 0.6rem;
line-height: 0.7rem;
}
.slot-summary {
font-size: 0.6rem;
}
.pending_approval {
color: #ff9900;
}
.approval_denied {
color: red;
}
.approval_incomplete {
color: blue;
}
.used_slot {
background-color: #F3F3F3;
margin-bottom: 0.5rem;
}
.disabled {
color: #a0a0a0;
}
.approved_panel {
font-size: 0.7rem;
padding: 2em;
}
@media (min-width: 576px) {
.approved_panel {
float: right;
}
}
.approved_panel table {
width: auto;
}
.approved_panel table, .approved_panel th, .approved_panel td {
border: 1px solid black;
}
.field-title {
font-weight: bold;
margin-bottom: 0;
padding-bottom: 0;
line-height: 1em;
}
.field-input {
margin-top: 0;
padding-top: 0;
margin-bottom: 1em;
line-height: 1em;
}
.radio-group {
line-height: 1em;
}
input[type="time"], input[type="date"] {
font-family: "Courier New", Courier, monospace;
}
.info {
font-weight: bold;
}
@media (max-width: 576px) {
.shrink-font-sm { font-size: 0.65rem; }
.card-md, .card-md .card-body {
border: 0;
padding: 0;
margin: 0;
}
}
.contact_table, .contact_table th, .contact_table td {
border: 1px solid black;
}
.contact_table {
margin-bottom: 1em;
}
table.record th { text-align: left; vertical-align: text-top; }
table.record td { vertical-align: text-top; }
table.records { border-collapse: collapse; }
.records, .records th, .records td { border: 1px solid black; }
table.records tr.record:nth-child(odd) { background-color: #E0E0E0; }
table.records tr.record:nth-child(even) { background-color: #FFFFFF; }
.clicksort { cursor: pointer; }
.clicksort.sorting { cursor: progress; }
.centered {
text-align: center;
}
.label {
font-weight: bold;
}
.admin-only {
background-color: rgb(255,255,255,0.1) !important;
}
.nowrap {
white-space: nowrap;
}
/* max width 20em */
.mw20 {
max-width: 20em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
vertical-align: top;
}
.close-up {
display: block;
margin-top: 0;
padding-top: 0;
}
.sort_data {
display: none;
}
textarea {
max-width: 100%;
}
caption {
caption-side: top;
}
.active_tool {
color: red !important;
}
.autocomplete {
/*the container must be positioned relative:*/
position: relative;
display: inline-block;
}
.autocomplete-items {
position: absolute;
border: 1px solid #d4d4d4;
border-bottom: none;
border-top: none;
z-index: 99;
/*position the autocomplete items to be the same width as the container:*/
top: 100%;
left: 0;
right: 0;
}
.autocomplete-items div {
padding: 10px;
cursor: pointer;
background-color: #fff;
border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
/*when hovering an item:*/
background-color: #e9e9e9;
}
.autocomplete-active {
/*when navigating through the items using the arrow keys:*/
background-color: DodgerBlue !important;
color: #ffffff;
}
h1 {
margin-bottom: 1em;
}
.no-bullets li {
list-style-type: none;
}
/* brighten navbar links, because some people have reported problems seeing them */
.navbar-dark .navbar-nav .nav-link {
color: rgba(255,255,255,.75);
}
.navbar-dark .navbar-nav .nav-link:hover {
color: rgba(255,255,255,1.0);
}
.usage-entry {
display: inline-block;
margin-right: 3em;
min-width: 25em;
}
.floor-usage-entry {
display: block;
background-color: #D0D0D0;
margin-bottom: 0.2em;
}
.floor-usage-entry .usage-entry {
display: inline-block;
}
.record.conflict {
color: red;
}
.building-input {
margin-left: 1em;
}
@media only screen and (min-width: 976px) {
#safety-monitor-panel {
max-width: 30em;
float: right;
margin-left: 1em;
}
}
#safety-monitor-panel {
margin-bottom: 1em;
}
#safety-monitor-panel .safety-monitor-row {
font-size: 0.75rem;
}
table.records tr.record.approval_row {
cursor: pointer;
}
table.records tr.record.approval_row:hover:not(.selected) {
background-color: #E0E0F0;
}
table.records tr.record.approval_row.selected {
background-color: #C0C0D0;
}