Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 1 | /* ********** HERE STARTS general.css ****** */ |
| 2 | |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 3 | html, body { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 4 | margin: 0; |
| 5 | width: 100%; |
| 6 | height: 100%; |
| 7 | background-color: #060606; |
| 8 | color: white; |
| 9 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); |
| 10 | user-select: none !important; |
| 11 | font-family: 'Roboto'; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 12 | } |
| 13 | |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 14 | |
| 15 | /* ********** HERE STARTS graf.css ****** */ |
| 16 | |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 17 | #graf { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 18 | width: 100%; |
| 19 | height: 100%; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 20 | } |
| 21 | |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 22 | span { |
| 23 | position: relative; |
| 24 | z-index: -1; |
| 25 | } |
| 26 | |
| 27 | |
| 28 | /* ********** HERE STARTS dialog.css ****** */ |
| 29 | |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 30 | #dialog { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 31 | position: absolute; |
| 32 | top: 0px; |
| 33 | left: 0px; |
| 34 | width: 300px; |
| 35 | height: 100%; |
| 36 | background-color: white; |
| 37 | color: black; |
| 38 | z-index: 120; |
| 39 | overflow-y: auto; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | #backdrop { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 43 | display: none; |
| 44 | position: absolute; |
| 45 | top: 0; |
| 46 | left: 0; |
| 47 | width: 100%; |
| 48 | height: 100%; |
| 49 | background-color: rgba(0, 0, 0, .5); |
| 50 | z-index: 110; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 51 | } |
| 52 | |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 53 | #dialog-vertex, #dialog-edge { |
| 54 | padding: 8px; |
| 55 | user-select: auto; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 56 | } |
| 57 | |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 58 | #dialog h2 { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 59 | font-weight: bold; |
| 60 | font-size: 20px; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | #dialog h3 { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 64 | font-weight: bold; |
| 65 | font-size: 16px; |
| 66 | margin-bottom: 0; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | #quit-dialog, #quit2-dialog { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 70 | position: absolute; |
| 71 | top: 8px; |
| 72 | right: 8px; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 73 | } |
| 74 | |
| 75 | #min-dialog, #max-dialog { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 76 | position: absolute; |
| 77 | top: 8px; |
| 78 | right: 48px; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | #min-dialog { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 82 | display: none; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 83 | } |
| 84 | |
| 85 | #summary-dialog { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 86 | position: absolute; |
| 87 | top: 0px; |
| 88 | left: 0px; |
| 89 | width: 100%; |
| 90 | height: 100px; |
| 91 | background-color: white; |
| 92 | color: black; |
| 93 | z-index: 120; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 94 | } |
| 95 | |
| 96 | #summary-vertex { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 97 | padding: 8px; |
| 98 | user-select: auto; |
avm99963 | 44d4ea5 | 2018-09-26 17:06:06 +0200 | [diff] [blame] | 99 | } |
| 100 | |
| 101 | #summary-dialog h2 { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 102 | font-weight: bold; |
| 103 | font-size: 20px; |
| 104 | margin: 0; |
| 105 | } |
| 106 | |
| 107 | /* ********** HERE STARTS search-bar.css ****** */ |
| 108 | #circle-mode { |
| 109 | position: absolute; |
| 110 | right: 10px; |
| 111 | bottom: 210px; |
| 112 | z-index: 100; |
| 113 | } |
| 114 | |
| 115 | #settings { |
| 116 | position: absolute; |
| 117 | right: 10px; |
| 118 | bottom: 160px; |
| 119 | z-index: 100; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 120 | } |
| 121 | |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 122 | #search { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 123 | position: absolute; |
| 124 | right: 10px; |
| 125 | bottom: 110px; |
| 126 | z-index: 100; |
Huguet57 | 23a7afe | 2018-07-23 03:29:35 +0200 | [diff] [blame] | 127 | } |
| 128 | |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 129 | #zoomin { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 130 | position: absolute; |
| 131 | right: 10px; |
| 132 | bottom: 60px; |
| 133 | z-index: 100; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 134 | } |
| 135 | |
| 136 | #zoomout { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 137 | position: absolute; |
| 138 | right: 10px; |
| 139 | bottom: 10px; |
| 140 | z-index: 100; |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 141 | } |
| 142 | |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 143 | #zoomin.touch { |
| 144 | display: none; |
| 145 | } |
| 146 | |
| 147 | #zoomout.touch { |
| 148 | display: none; |
| 149 | } |
| 150 | |
| 151 | /* ********** HERE STARTS year-list.css ****** */ |
| 152 | #year-list { |
| 153 | padding: 10px; |
| 154 | padding-top: 0px; |
| 155 | float: right; |
| 156 | position:relative; |
| 157 | z-index:10; |
| 158 | display:none |
| 159 | } |
| 160 | |
| 161 | #year-list-span { |
| 162 | position:relative; |
| 163 | z-index:10; |
| 164 | } |
| 165 | |
| 166 | |
| 167 | /* ********** HERE STARTS search-bar.css ****** */ |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 168 | .md-google-search__metacontainer { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 169 | position: absolute; |
| 170 | top: 10px; |
| 171 | height: 48px; |
| 172 | width: 100%; |
| 173 | z-index: 100; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 174 | } |
| 175 | |
| 176 | .md-google-search__container { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 177 | display: block; |
| 178 | margin-left: auto; |
| 179 | margin-right: auto; |
| 180 | height: 48px; |
| 181 | width: Calc(100% - 66px); |
| 182 | max-width: 720px; |
| 183 | white-space: nowrap; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 184 | } |
| 185 | |
| 186 | .md-google-search { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 187 | height: 48px; |
| 188 | background-color: rgba(245, 245, 245, 1); |
| 189 | border: 1px solid rgba(0, 0, 0, 0); |
| 190 | -webkit-border-radius: 4px; |
| 191 | border-radius: 4px; |
| 192 | max-width: 720px; |
| 193 | position: relative; |
| 194 | -webkit-transition: background-color 100ms ease-in, width 100ms ease-out; |
| 195 | transition: background-color 100ms ease-in, width 100ms ease-out; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 196 | } |
| 197 | |
| 198 | .md-google-search:focus-within { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 199 | border: 1px solid rgba(0, 0, 0, 0.45); |
| 200 | background-color: rgba(255, 255, 255, 1); |
| 201 | -webkit-box-shadow: 0 1px 1px rgba(255, 255, 255, .5); |
| 202 | box-shadow: 0 1px 1px rgba(255, 255, 255, .5); |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 203 | } |
| 204 | |
| 205 | .md-google-search__search-btn { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 206 | float: left; |
| 207 | background: none; |
| 208 | border: none; |
| 209 | opacity: .54; |
| 210 | outline: none; |
| 211 | padding: 0 4px; |
| 212 | line-height: 0; |
| 213 | color: #212121; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 214 | } |
| 215 | |
| 216 | .md-google-search__search-btn svg, .md-google-search__empty-btn svg { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 217 | padding: 7px; |
| 218 | margin: 4px; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 219 | } |
| 220 | |
| 221 | .md-google-search__field-container { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 222 | height: 46px; |
| 223 | padding: 0 11px; |
| 224 | margin-right: 48px; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 225 | } |
| 226 | |
| 227 | .md-google-search__field { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 228 | border: none; |
| 229 | font: normal 16px Roboto, sans-serif; |
| 230 | height: 24px; |
| 231 | outline: none; |
| 232 | padding: 11px 0 11px 16px; |
| 233 | width: 100%; |
| 234 | background: transparent; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 235 | } |
| 236 | |
| 237 | .md-google-search__empty-btn { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 238 | position: absolute; |
| 239 | right: 0; |
| 240 | top: 0; |
| 241 | background: none; |
| 242 | border: none; |
| 243 | opacity: .54; |
| 244 | outline: none; |
| 245 | padding: 0 4px; |
| 246 | line-height: 0; |
| 247 | color: #212121; |
| 248 | cursor: pointer; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 249 | } |
| 250 | |
| 251 | /** |
| 252 | * Search Box Autocomplete |
| 253 | */ |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 254 | .autocomplete-container { |
| 255 | z-index: 110; |
| 256 | position: absolute; |
| 257 | top: 60px; |
| 258 | width: 100%; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 259 | } |
| 260 | |
| 261 | .autocomplete-items { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 262 | display: block; |
| 263 | margin-left: auto; |
| 264 | margin-right: auto; |
| 265 | width: Calc(100% - 66px); |
| 266 | max-width: 720px; |
| 267 | background-color: white; |
| 268 | color: black; |
| 269 | box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.258824), 0 2px 10px 0 |
| 270 | rgba(255, 255, 255, 0.156863) !important; |
avm99963 | 2383317 | 2018-12-28 00:10:54 +0100 | [diff] [blame] | 271 | max-height: 510px; |
| 272 | overflow-y: auto; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 273 | } |
| 274 | |
| 275 | .autocomplete-item { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 276 | font-size: 16px; |
| 277 | padding: 12px 14px; |
| 278 | cursor: pointer; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 279 | } |
| 280 | |
| 281 | .autocomplete-item:hover, .autocomplete-active { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 282 | background: #eee; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 283 | } |
| 284 | |
| 285 | .autocomplete-year { |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 286 | position: relative; |
| 287 | z-index: 120; |
| 288 | |
| 289 | color: #222; |
avm99963 | a00c43e | 2018-09-26 20:16:07 +0200 | [diff] [blame] | 290 | } |
| 291 | |
Adrià Vilanova Martínez | 25cc6ee | 2018-12-28 00:58:00 +0100 | [diff] [blame] | 292 | @media ( max-width : 700px) { |
| 293 | #dialog { |
| 294 | width: Calc(100% - 32px) !important; |
| 295 | height: Calc(100% - 32px) !important; |
| 296 | margin: 16px; |
| 297 | } |
| 298 | #backdrop { |
| 299 | display: block; |
| 300 | } |
| 301 | #min-dialog { |
| 302 | display: block !important; |
| 303 | } |
avm99963 | f0d1521 | 2017-10-08 17:03:22 +0200 | [diff] [blame] | 304 | } |