Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
201 lines (170 loc) · 3.77 KB
/
Copy pathstyle.css
File metadata and controls
201 lines (170 loc) · 3.77 KB
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
/* WaterWand WebApp CSS */
/* Written by FRC Team 1540: The Flaming Chickens */
.main-body {
overflow-x: scroll;
overflow-y: scroll;
background: rgb(250,250,250);
}
/*
BANNER
*/
.upper-banner {
background-image: url('water.jpg');
text-align: center;
border-bottom: 1px solid black;
}
.transparent-layer {
background: rgba(102, 165, 173, 0.6);
}
.banner-title {
color: white;
font-family: oxygen;
}
/*
HOME PAGE
*/
/* button that resets cache */
.reset-cache {
border: 1px solid black;
position: absolute;
left: 5px;
top: 5px;
}
.excel-export-all {
border: 1px solid black;
position: absolute;
right: 5px;
top: 5px;
background: rgb(0, 113, 66);
color: rgb(247, 247, 247);
}
/* search box on main page */
#search-box {
position: relative;
top: 6px;
width: 77.5vw;
margin-top: 5px;
}
/* the submit button for searching on the home page */
.search-submit {
background-color: #66a5ad;
color: white;
margin-top: 5px;
}
/* div that contains list of locations */
.loc-options {
overflow-x: hidden;
overflow-y: auto;
margin-top: 20px;
height: 500px;
width: 35vw;
margin-left: 5vw;
}
/* the iframe that displays a preview of the indicator */
.indicator-display {
margin-left: 2vw;
width: 55.5vw;
height: 505px;
position: relative;
margin-top: 20px;
border: 1px solid gray;
}
/* table inside of loc-options */
.loc-table {
background: white;
/*height: 70vh;*/
}
/* buttons for selecting locations */
.loc-select {
background-color: #66a5ad;
color: white;
}
/*
LOCATION PAGES
*/
.back {
border: 1px solid black;
position: absolute;
left: 5px;
top: 5px;
}
.excel-export {
border: 1px solid black;
position: absolute;
left: 75px;
top: 5px;
background: rgb(0, 113, 66);
color: rgb(247, 247, 247);
}
/* style for the indicator options */
.option, .option:hover {
background-color: #2c7d84;
/*background: #111111;*/
/*color: white;*/
border: 1px solid black;
color: white;
}
.option:hover {
background-color: #479199;
}
/* style for the selected buttons */
.selected-option, .selected-option:hover {
/*background: #479199;*/
/*color: white;*/
background: #111111;
color: white;
}
.loc-page {
background-color: white;
height: 100%;
}
.iframe-option {
font-size:3vw;
width:20vw;
height:45px;
}
/* allows for scrollbar on indicator tables */
.table-div {
overflow-y: auto;
height: 350px;
}
/* for indicator tables only */
.data-table {
height: 330px;
margin-bottom: 0;
}
/*
WINDOW SIZES
*/
/*This code makes the following style changes only when the screen width is less than or equal to 992px*/
@media screen and (max-width: 575px) {
.loc-options {
width: 95vw;
}
.indicator-display-div {
display: none;
}
}
/*
SCROLLBARS
*/
/* The following adds a scrollbar to the loc-options and table-div divs */
/* inspired by https://stackoverflow.com/questions/7743840/apply-webkit-scrollbar-style-to-specified-element */
div.loc-options::-webkit-scrollbar, div.table-div::-webkit-scrollbar {
width: 12px;
}
div.loc-options::-webkit-scrollbar-track, div.table-div::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
border-radius: 10px;
background: #f1f1f1;
}
div.loc-options::-webkit-scrollbar-thumb, div.table-div::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
background: #cecece;
}
div.loc-options::-webkit-scrollbar-thumb:hover, div.table-div::-webkit-scrollbar-thumb:hover {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
background: #888;
}