| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 position: absolute !important; | 550 position: absolute !important; |
| 551 left: 0; | 551 left: 0; |
| 552 top: 0; | 552 top: 0; |
| 553 right: 0; | 553 right: 0; |
| 554 bottom: 0; | 554 bottom: 0; |
| 555 } | 555 } |
| 556 | 556 |
| 557 .viewport-control-gap-element { | 557 .viewport-control-gap-element { |
| 558 color: transparent; | 558 color: transparent; |
| 559 } | 559 } |
| 560 | |
| 561 .chrome-select { | |
| 562 -webkit-appearance: none; | |
| 563 -webkit-user-select: none; | |
| 564 border: 1px solid rgba(0, 0, 0, 0.25); | |
| 565 border-radius: 2px; | |
| 566 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), | |
| 567 inset 0 1px 2px rgba(255, 255, 255, 0.75); | |
| 568 color: #444; | |
| 569 font: inherit; | |
| 570 margin: 0 1px 0 0; | |
| 571 outline: none; | |
| 572 text-shadow: 0 1px 0 rgb(240, 240, 240); | |
| 573 padding-right: 20px; | |
| 574 padding-left: 6px; | |
| 575 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#ededed, #ededed 38%, #dedede); | |
| 576 background-position: right center; | |
| 577 background-repeat: no-repeat; | |
| 578 min-height: 24px; | |
| 579 } | |
| 580 | |
| 581 .chrome-select:enabled:hover { | |
| 582 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); | |
| 583 border-color: rgba(0, 0, 0, 0.3); | |
| 584 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), | |
| 585 inset 0 1px 2px rgba(255, 255, 255, 0.95); | |
| 586 color: black; | |
| 587 } | |
| 588 | |
| 589 .chrome-select:enabled:active { | |
| 590 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); | |
| 591 box-shadow: none; | |
| 592 text-shadow: none; | |
| 593 } | |
| 594 | |
| 595 .chrome-select:enabled:focus { | |
| 596 /* OVERRIDE */ | |
| 597 -webkit-transition: border-color 200ms; | |
| 598 /* We use border color because it follows the border radius (unlike outline)
. | |
| 599 * This is particularly noticeable on mac. */ | |
| 600 border-color: rgb(77, 144, 254); | |
| 601 outline: none; | |
| 602 } | |
| 603 | |
| 604 body.inactive select.chrome-select, | |
| 605 .chrome-select:disabled { | |
| 606 background-image: -webkit-image-set(url(Images/chromeDisabledSelect.png) 1x,
url(Images/chromeDisabledSelect_2x.png) 2x), linear-gradient(#f1f1f1, #f1f1f1 3
8%, #e6e6e6); | |
| 607 border-color: rgba(80, 80, 80, 0.2); | |
| 608 box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), | |
| 609 inset 0 1px 2px rgba(255, 255, 255, 0.75); | |
| 610 color: #aaa; | |
| 611 } | |
| OLD | NEW |