| 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 position: absolute !important; | 554 position: absolute !important; |
| 555 left: 0; | 555 left: 0; |
| 556 top: 0; | 556 top: 0; |
| 557 right: 0; | 557 right: 0; |
| 558 bottom: 0; | 558 bottom: 0; |
| 559 } | 559 } |
| 560 | 560 |
| 561 .viewport-control-gap-element { | 561 .viewport-control-gap-element { |
| 562 color: transparent; | 562 color: transparent; |
| 563 } | 563 } |
| 564 | |
| 565 .chrome-select { | |
| 566 -webkit-appearance: none; | |
| 567 -webkit-user-select: none; | |
| 568 border: 1px solid rgba(0, 0, 0, 0.25); | |
| 569 border-radius: 2px; | |
| 570 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), | |
| 571 inset 0 1px 2px rgba(255, 255, 255, 0.75); | |
| 572 color: #444; | |
| 573 font: inherit; | |
| 574 margin: 0 1px 0 0; | |
| 575 outline: none; | |
| 576 text-shadow: 0 1px 0 rgb(240, 240, 240); | |
| 577 padding-right: 20px; | |
| 578 padding-left: 6px; | |
| 579 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#ededed, #ededed 38%, #dedede); | |
| 580 background-position: right center; | |
| 581 background-repeat: no-repeat; | |
| 582 min-height: 24px; | |
| 583 } | |
| 584 | |
| 585 .chrome-select:enabled:hover { | |
| 586 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); | |
| 587 border-color: rgba(0, 0, 0, 0.3); | |
| 588 box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), | |
| 589 inset 0 1px 2px rgba(255, 255, 255, 0.95); | |
| 590 color: black; | |
| 591 } | |
| 592 | |
| 593 .chrome-select:enabled:active { | |
| 594 background-image: -webkit-image-set(url(Images/chromeSelect.png) 1x, url(Ima
ges/chromeSelect_2x.png) 2x), linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); | |
| 595 box-shadow: none; | |
| 596 text-shadow: none; | |
| 597 } | |
| 598 | |
| 599 .chrome-select:enabled:focus { | |
| 600 /* OVERRIDE */ | |
| 601 -webkit-transition: border-color 200ms; | |
| 602 /* We use border color because it follows the border radius (unlike outline)
. | |
| 603 * This is particularly noticeable on mac. */ | |
| 604 border-color: rgb(77, 144, 254); | |
| 605 outline: none; | |
| 606 } | |
| 607 | |
| 608 body.inactive select.chrome-select, | |
| 609 .chrome-select:disabled { | |
| 610 background-image: -webkit-image-set(url(Images/chromeDisabledSelect.png) 1x,
url(Images/chromeDisabledSelect_2x.png) 2x), linear-gradient(#f1f1f1, #f1f1f1 3
8%, #e6e6e6); | |
| 611 border-color: rgba(80, 80, 80, 0.2); | |
| 612 box-shadow: 0 1px 0 rgba(80, 80, 80, 0.08), | |
| 613 inset 0 1px 2px rgba(255, 255, 255, 0.75); | |
| 614 color: #aaa; | |
| 615 } | |
| OLD | NEW |