Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame] | 1 | /** |
| 2 | * Copyright 2015 Google Inc. All Rights Reserved. |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | body { |
| 18 | margin: 0; |
| 19 | } |
| 20 | |
| 21 | /* Disable ugly boxes around images in IE10 */ |
| 22 | a img{ |
| 23 | border: 0px; |
| 24 | } |
| 25 | |
| 26 | ::-moz-selection { |
| 27 | background-color: #6ab344; |
| 28 | color: #fff; |
| 29 | } |
| 30 | |
| 31 | ::selection { |
| 32 | background-color: #6ab344; |
| 33 | color: #fff; |
| 34 | } |
| 35 | |
| 36 | .android-search-box .mdl-textfield__input { |
| 37 | color: rgba(0, 0, 0, 0.87); |
| 38 | } |
| 39 | |
| 40 | .android-header .mdl-menu__container { |
| 41 | z-index: 50; |
| 42 | margin: 0 !important; |
| 43 | } |
| 44 | |
| 45 | |
| 46 | .mdl-textfield--expandable { |
| 47 | width: auto; |
| 48 | } |
| 49 | |
| 50 | .android-fab { |
| 51 | position: absolute; |
| 52 | right: 20%; |
| 53 | bottom: -26px; |
| 54 | z-index: 3; |
| 55 | background: #64ffda !important; |
| 56 | color: black !important; |
| 57 | } |
| 58 | |
| 59 | .android-mobile-title { |
| 60 | display: none !important; |
| 61 | } |
| 62 | |
| 63 | |
| 64 | .android-logo-image { |
| 65 | height: 28px; |
| 66 | width: 140px; |
| 67 | } |
| 68 | |
| 69 | |
| 70 | .android-header { |
| 71 | overflow: visible; |
| 72 | background-color: white; |
| 73 | } |
| 74 | |
| 75 | .android-header .material-icons { |
| 76 | color: #767777 !important; |
| 77 | } |
| 78 | |
| 79 | .android-header .mdl-layout__drawer-button { |
| 80 | background: transparent; |
| 81 | color: #767777; |
| 82 | } |
| 83 | |
| 84 | .android-header .mdl-navigation__link { |
| 85 | color: #757575; |
| 86 | font-weight: 700; |
| 87 | font-size: 14px; |
| 88 | } |
| 89 | |
| 90 | .android-navigation-container { |
| 91 | /* Simple hack to make the overflow happen to the left instead... */ |
| 92 | direction: rtl; |
| 93 | -webkit-order: 1; |
| 94 | -ms-flex-order: 1; |
| 95 | order: 1; |
| 96 | width: 500px; |
| 97 | transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1), |
| 98 | width 0.2s cubic-bezier(0.4, 0, 0.2, 1); |
| 99 | } |
| 100 | |
| 101 | .android-navigation { |
| 102 | /* ... and now make sure the content is actually LTR */ |
| 103 | direction: ltr; |
| 104 | -webkit-justify-content: flex-end; |
| 105 | -ms-flex-pack: end; |
| 106 | justify-content: flex-end; |
| 107 | width: 800px; |
| 108 | } |
| 109 | |
| 110 | .android-search-box.is-focused + .android-navigation-container { |
| 111 | opacity: 0; |
| 112 | width: 100px; |
| 113 | } |
| 114 | |
| 115 | |
| 116 | .android-navigation .mdl-navigation__link { |
| 117 | display: inline-block; |
| 118 | height: 60px; |
| 119 | line-height: 68px; |
| 120 | background-color: transparent !important; |
| 121 | border-bottom: 4px solid transparent; |
| 122 | } |
| 123 | |
| 124 | .android-navigation .mdl-navigation__link:hover { |
| 125 | border-bottom: 4px solid #8bc34a; |
| 126 | } |
| 127 | |
| 128 | .android-search-box { |
| 129 | -webkit-order: 2; |
| 130 | -ms-flex-order: 2; |
| 131 | order: 2; |
| 132 | margin-left: 16px; |
| 133 | margin-right: 16px; |
| 134 | } |
| 135 | |
| 136 | .android-more-button { |
| 137 | -webkit-order: 3; |
| 138 | -ms-flex-order: 3; |
| 139 | order: 3; |
| 140 | } |
| 141 | |
| 142 | |
| 143 | .android-drawer { |
| 144 | border-right: none; |
| 145 | } |
| 146 | |
| 147 | .android-drawer-separator { |
| 148 | height: 1px; |
| 149 | background-color: #dcdcdc; |
| 150 | margin: 8px 0; |
| 151 | } |
| 152 | |
| 153 | .android-drawer .mdl-navigation__link.mdl-navigation__link { |
| 154 | font-size: 14px; |
| 155 | color: #757575; |
| 156 | } |
| 157 | |
| 158 | .android-drawer span.mdl-navigation__link.mdl-navigation__link { |
| 159 | color: #8bc34a; |
| 160 | } |
| 161 | |
| 162 | .android-drawer .mdl-layout-title { |
| 163 | position: relative; |
| 164 | background: #6ab344; |
| 165 | height: 160px; |
| 166 | } |
| 167 | |
| 168 | .android-drawer .android-logo-image { |
| 169 | position: absolute; |
| 170 | bottom: 16px; |
| 171 | } |
| 172 | |
| 173 | .android-be-together-section { |
| 174 | position: relative; |
| 175 | height: 800px; |
| 176 | width: auto; |
| 177 | background-color: #f3f3f3; |
| 178 | background: url('images/slide01.jpg') center 30% no-repeat; |
| 179 | background-size: cover; |
| 180 | } |
| 181 | |
| 182 | .logo-font { |
| 183 | font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif; |
| 184 | line-height: 1; |
| 185 | color: #767777; |
| 186 | font-weight: 500; |
| 187 | } |
| 188 | |
| 189 | .android-slogan { |
| 190 | font-size: 60px; |
| 191 | padding-top: 160px; |
| 192 | } |
| 193 | |
| 194 | .android-sub-slogan { |
| 195 | font-size: 21px; |
| 196 | padding-top: 24px; |
| 197 | } |
| 198 | |
| 199 | .android-create-character { |
| 200 | font-size: 21px; |
| 201 | padding-top: 400px; |
| 202 | } |
| 203 | |
| 204 | .android-create-character a { |
| 205 | text-decoration: none; |
| 206 | color: #767777; |
| 207 | font-weight: 300; |
| 208 | } |
| 209 | |
| 210 | .android-screen-section { |
| 211 | position: relative; |
| 212 | padding-top: 60px; |
| 213 | padding-bottom: 80px; |
| 214 | } |
| 215 | |
| 216 | .android-screens { |
| 217 | text-align: right; |
| 218 | width: 100%; |
| 219 | white-space: nowrap; |
| 220 | overflow-x: auto; |
| 221 | } |
| 222 | |
| 223 | .android-screen { |
| 224 | text-align: center; |
| 225 | } |
| 226 | |
| 227 | .android-screen .android-link { |
| 228 | margin-top: 16px; |
| 229 | display: block; |
| 230 | z-index: 2; |
| 231 | } |
| 232 | |
| 233 | .android-image-link { |
| 234 | text-decoration: none; |
| 235 | } |
| 236 | |
| 237 | .android-wear { |
| 238 | display: inline-block; |
| 239 | width: 160px; |
| 240 | margin-right: 32px; |
| 241 | } |
| 242 | |
| 243 | .android-wear .android-screen-image { |
| 244 | width: 40%; |
| 245 | z-index: 1; |
| 246 | } |
| 247 | |
| 248 | |
| 249 | .android-phone { |
| 250 | display: inline-block; |
| 251 | width: 64px; |
| 252 | margin-right: 48px; |
| 253 | } |
| 254 | |
| 255 | .android-phone .android-screen-image { |
| 256 | width: 100%; |
| 257 | z-index: 1; |
| 258 | } |
| 259 | |
| 260 | |
| 261 | .android-tablet { |
| 262 | display: inline-block; |
| 263 | width: 110px; |
| 264 | margin-right: 64px; |
| 265 | } |
| 266 | |
| 267 | .android-tablet .android-screen-image { |
| 268 | width: 100%; |
| 269 | z-index: 1; |
| 270 | } |
| 271 | |
| 272 | .android-tablet .android-link { |
| 273 | display: block; |
| 274 | z-index: 2; |
| 275 | } |
| 276 | |
| 277 | |
| 278 | .android-tv { |
| 279 | display: inline-block; |
| 280 | width: 300px; |
| 281 | margin-right: 80px; |
| 282 | } |
| 283 | |
| 284 | .android-tv .android-screen-image { |
| 285 | width: 100%; |
| 286 | z-index: 1; |
| 287 | } |
| 288 | |
| 289 | |
| 290 | .android-auto { |
| 291 | display: inline-block; |
| 292 | width: 300px; |
| 293 | overflow: hidden; |
| 294 | } |
| 295 | |
| 296 | .android-auto .android-screen-image { |
| 297 | display: block; |
| 298 | height: 300px; |
| 299 | z-index: 1; |
| 300 | } |
| 301 | |
| 302 | |
| 303 | .android-wear-section { |
| 304 | position: relative; |
| 305 | background: url('images/wear.png') center top no-repeat; |
| 306 | background-size: cover; |
| 307 | height: 800px; |
| 308 | } |
| 309 | |
| 310 | .android-wear-band { |
| 311 | position: absolute; |
| 312 | bottom: 0; |
| 313 | width: 100%; |
| 314 | text-align: center; |
| 315 | background-color: #37474f; |
| 316 | } |
| 317 | |
| 318 | .android-wear-band-text { |
| 319 | max-width: 800px; |
| 320 | margin-left: 25%; |
| 321 | padding: 24px; |
| 322 | text-align: left; |
| 323 | color: white; |
| 324 | } |
| 325 | |
| 326 | .android-wear-band-text p { |
| 327 | padding-top: 8px; |
| 328 | } |
| 329 | |
| 330 | .android-link { |
| 331 | text-decoration: none; |
| 332 | color: #8bc34a !important; |
| 333 | } |
| 334 | |
| 335 | .android-link:hover { |
| 336 | color: #7cb342 !important; |
| 337 | } |
| 338 | |
| 339 | .android-link .material-icons { |
| 340 | position: relative; |
| 341 | top: -1px; |
| 342 | vertical-align: middle; |
| 343 | } |
| 344 | |
| 345 | .android-alt-link { |
| 346 | text-decoration: none; |
| 347 | color: #64ffda !important; |
| 348 | font-size: 16px; |
| 349 | } |
| 350 | |
| 351 | .android-alt-link:hover { |
| 352 | color: #00bfa5 !important; |
| 353 | } |
| 354 | |
| 355 | .android-alt-link .material-icons { |
| 356 | position: relative; |
| 357 | top: 6px; |
| 358 | } |
| 359 | |
| 360 | .android-customized-section { |
| 361 | text-align: center; |
| 362 | } |
| 363 | |
| 364 | .android-customized-section-text { |
| 365 | max-width: 500px; |
| 366 | margin-left: auto; |
| 367 | margin-right: auto; |
| 368 | padding: 80px 16px 0 16px; |
| 369 | } |
| 370 | |
| 371 | .android-customized-section-text p { |
| 372 | padding-top: 16px; |
| 373 | } |
| 374 | |
| 375 | .android-customized-section-image { |
| 376 | background: url('images/devices.jpg') center top no-repeat; |
| 377 | background-size: cover; |
| 378 | height: 400px; |
| 379 | } |
| 380 | |
| 381 | .android-more-section { |
| 382 | padding: 80px 0; |
| 383 | max-width: 1044px; |
| 384 | margin-left: auto; |
| 385 | margin-right: auto; |
| 386 | } |
| 387 | |
| 388 | .android-more-section .android-section-title { |
| 389 | margin-left: 12px; |
| 390 | padding-bottom: 24px; |
| 391 | } |
| 392 | |
| 393 | .android-card-container { |
| 394 | } |
| 395 | |
| 396 | .android-card-container .mdl-card__media { |
| 397 | overflow: hidden; |
| 398 | background: transparent; |
| 399 | } |
| 400 | |
| 401 | .android-card-container .mdl-card__media img { |
| 402 | width: 100%; |
| 403 | } |
| 404 | |
| 405 | .android-card-container .mdl-card__title { |
| 406 | background: transparent; |
| 407 | height: auto; |
| 408 | } |
| 409 | |
| 410 | .android-card-container .mdl-card__title-text { |
| 411 | color: black; |
| 412 | height: auto; |
| 413 | } |
| 414 | |
| 415 | .android-card-container .mdl-card__supporting-text { |
| 416 | height: auto; |
| 417 | color: black; |
| 418 | padding-bottom: 56px; |
| 419 | } |
| 420 | |
| 421 | .android-card-container .mdl-card__actions { |
| 422 | position: absolute; |
| 423 | bottom: 0; |
| 424 | } |
| 425 | |
| 426 | .android-card-container .mdl-card__actions a { |
| 427 | border-top: none; |
| 428 | font-size: 16px; |
| 429 | } |
| 430 | |
| 431 | .android-footer { |
| 432 | background-color: #fafafa; |
| 433 | position: relative; |
| 434 | } |
| 435 | |
| 436 | .android-footer a:hover { |
| 437 | color: #8bc34a; |
| 438 | } |
| 439 | |
| 440 | .android-footer .mdl-mega-footer--top-section::after { |
| 441 | border-bottom: none; |
| 442 | } |
| 443 | |
| 444 | .android-footer .mdl-mega-footer--middle-section::after { |
| 445 | border-bottom: none; |
| 446 | } |
| 447 | |
| 448 | .android-footer .mdl-mega-footer--bottom-section { |
| 449 | position: relative; |
| 450 | } |
| 451 | |
| 452 | .android-footer .mdl-mega-footer--bottom-section a { |
| 453 | margin-right: 2em; |
| 454 | } |
| 455 | |
| 456 | .android-footer .mdl-mega-footer--right-section a .material-icons { |
| 457 | position: relative; |
| 458 | top: 6px; |
| 459 | } |
| 460 | |
| 461 | |
| 462 | .android-link-menu:hover { |
| 463 | cursor: pointer; |
| 464 | } |
| 465 | |
| 466 | |
| 467 | /**** Mobile layout ****/ |
| 468 | @media (max-width: 900px) { |
| 469 | .android-navigation-container { |
| 470 | display: none; |
| 471 | } |
| 472 | |
| 473 | .android-title { |
| 474 | display: none !important; |
| 475 | } |
| 476 | |
| 477 | .android-mobile-title { |
| 478 | display: block !important; |
| 479 | position: absolute; |
| 480 | left: calc(50% - 70px); |
| 481 | top: 12px; |
| 482 | transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1); |
| 483 | } |
| 484 | |
| 485 | /* WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10 break |
| 486 | consecutive "+" operators in some cases. Therefore, we need to use both |
| 487 | here to cover all the bases. */ |
| 488 | .android.android-search-box.is-focused ~ .android-mobile-title, |
| 489 | .android-search-box.is-focused + .android-navigation-container + .android-mobile-title { |
| 490 | opacity: 0; |
| 491 | } |
| 492 | |
| 493 | .android-more-button { |
| 494 | display: none; |
| 495 | } |
| 496 | |
| 497 | .android-search-box.is-focused { |
| 498 | width: calc(100% - 48px); |
| 499 | } |
| 500 | |
| 501 | .android-search-box .mdl-textfield__expandable-holder { |
| 502 | width: 100%; |
| 503 | } |
| 504 | |
| 505 | .android-be-together-section { |
| 506 | height: 350px; |
| 507 | } |
| 508 | |
| 509 | .android-slogan { |
| 510 | font-size: 26px; |
| 511 | margin: 0 16px; |
| 512 | padding-top: 24px; |
| 513 | } |
| 514 | |
| 515 | .android-sub-slogan { |
| 516 | font-size: 16px; |
| 517 | margin: 0 16px; |
| 518 | padding-top: 8px; |
| 519 | } |
| 520 | |
| 521 | .android-create-character { |
| 522 | padding-top: 200px; |
| 523 | font-size: 16px; |
| 524 | } |
| 525 | |
| 526 | .android-create-character img { |
| 527 | height: 12px; |
| 528 | } |
| 529 | |
| 530 | .android-fab { |
| 531 | display: none; |
| 532 | } |
| 533 | |
| 534 | .android-wear-band-text { |
| 535 | margin-left: 0; |
| 536 | padding: 16px; |
| 537 | } |
| 538 | |
| 539 | .android-footer .mdl-mega-footer--bottom-section { |
| 540 | display: none; |
| 541 | } |
| 542 | } |