aboutsummaryrefslogtreecommitdiff
path: root/public/stylesheets/style_new.css
blob: f6c6b2518c3c46652c9f0b09effe53d5983e897a (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
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
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  display: flex;
  -js-display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

.other {
  color: gray;
  font-style: italic;
  margin-left: 5px;
}

#search {
  z-index: 2;
  background-color: #F44336;
  margin: 0 auto;
  width: 100%;
  position: absolute;
  /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/
  /*box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/
  box-shadow: 0 0.5px 1.5px rgba(0,0,0,0.06), 0 0.5px 1px rgba(0,0,0,0.12);
}

#search .top-bar {
  position: relative;
  margin: 0 auto;
  max-width: 600px;
  padding: 10px;
  display: flex;
}

#search .input-wrapper {
  position: relative;
  flex-grow: 1;
  color: #FFFFFF;
}

#search input[type='text'] {
  display: block;
  background-color: #f6695e;
  color: inherit;
  border-radius: 2px;
  width: 100%;
  display: block;
  outline: none;
  border: 0;
  padding: 16px;
  font-size: 1.1em;
  transition: box-shadow 200ms ease-in-out;
}

#search input[type='text']:focus {
  background-color: #FFFFFF;
  color: #212121;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

#search input[type='text']:focus + button {
  color: #212121;
}

/* WebKit, Blink, Edge */
input::-webkit-input-placeholder {
  color: #FFCDD2;
}
input:focus::-webkit-input-placeholder {
  color: #757575;
}

/* Mozilla Firefox 4 to 18 */
input:-moz-placeholder {
 color: #FFCDD2;
 opacity: 1;
}
input:focus:-moz-placeholder {
 color: #757575;
}

/* Mozilla Firefox 19+ */
input::-moz-placeholder {
 color: #FFCDD2;
 opacity: 1;
}
input:focus::-moz-placeholder {
 color: #757575;
}

/* Internet Explorer 10-11 */
input:-ms-input-placeholder {
 color: #FFCDD2;
}
input:focus:-ms-input-placeholder {
 color: #757575;
}

li:hover {
  background-color: lightgray;
  cursor: pointer;
}

.selected {
  background-color: lightgray;
}

#schedule {
  flex-grow: 1;
  width: 100vw;
  border: 0;
  padding: 0;
}

#search-space-filler {
  height: 73px;
}

.autocomplete-wrapper {
  background-color: white;
}

.autocomplete {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

.autocomplete li {
  list-style: none;
  padding: 10px;
}

#week-selector {
  z-index: 1;
  background-color: #F44336;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  color: white;
}

#week-selector .week-wrapper {
  max-width: 600px;
  padding: 10px !important;
  margin: 0 auto;
  display: flex;
  -js-display: flex;
  padding: 10px 0;
}

#week-selector .current {
  flex-grow: 1;
  text-align: center;
  padding: 5px;
}

#week-selector input[type='button'] {
  background: inherit;
  color: white;
  border: 0px;
  padding: 5px 10px;
  border-radius: 2px;
}

input {
  -webkit-appearance: none;
}

#search .fav {
  position: absolute;
  font-size: 1.8em;
  color: inherit;
  right: 8.5px;
  top: 8.5px;
  border: 0;
  padding: 4px;
  border-radius: 2px;
  background: none;
}

#week-selector input[type='button']:focus, #search #overflow-button:focus, #search .fav:focus {
  outline: none;
  background-color: #D32F2F;
}

#search #overflow-button {
  background: none;
  border: none;
  padding: 3px 9px;
  color: white;
  border-radius: 2px;
}

.hidden {
  display: none !important;
}

ul a {
  color: inherit;
  text-decoration: none;
}