1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
5 * This is the stylesheet used by the network drop-down control.
9 -webkit-appearance: none
;
10 -webkit-box-align: start
;
11 -webkit-padding-end: 20px;
12 -webkit-padding-start: 1px;
13 -webkit-user-select: none
;
14 background-image: url
(../../../../../ui/webui/resources/images/select.png),
15 linear-gradient
(to bottom
,
17 rgb
(237, 237, 237) 38%,
19 background-position: center right
;
20 background-repeat: no-repeat
;
21 border: 1px solid rgba
(0, 0, 0, 0.25);
23 box-shadow: 0 1px 0 rgba
(0, 0, 0, 0.08),
24 inset
0 1px 2px rgba
(255, 255, 255, 0.75);
35 text-overflow: ellipsis
;
36 text-shadow: 0 1px 0 rgb
(240, 240, 240);
41 html
[dir
=rtl
] .dropdown-title
{
42 background-position: center left
;
45 .dropdown-title:enabled:hover {
46 background-image: url
(../../../../../ui/webui/resources/images/select.png),
47 linear-gradient
(to bottom
,
49 rgb
(237, 237, 237) 38%,
51 border-color: rgba
(0, 0, 0, 0.3);
52 box-shadow: 0 1px 0 rgba
(0, 0, 0, 0.12),
53 inset
0 1px 2px rgba
(255, 255, 255, 0.95);
57 .dropdown-title:enabled:active {
58 background-image: url
(../../../../../ui/webui/resources/images/select.png),
59 linear-gradient
(to bottom
,
61 rgb
(231, 231, 231) 38%,
67 .dropdown-title:focus {
68 -webkit-transition: border-color
200ms;
69 border-color: rgb
(77, 144, 254);
73 html
[highlight
=strong
] .dropdown-title:focus
{
74 box-shadow: 0 0 23px rgb
(77, 144, 254);
85 text-overflow: ellipsis
;
90 border: 1px solid rgb
(124, 145, 191);
102 .dropdown-item-container {
103 -webkit-padding-start: 5px;
104 display: -webkit-box
;
108 .dropdown-item-container.hover {
109 background: rgb
(220, 228, 250);
122 text-overflow: ellipsis
;
130 .dropdown-divider hr {
135 .dropdown-item.disabled-item {