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 -webkit-gradient
(linear
, left top
, left bottom
,
16 color-stop
(0, rgb
(237, 237, 237)),
17 color-stop
(0.38, rgb
(237, 237, 237)),
18 color-stop
(1, rgb
(222, 222, 222)));
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 -webkit-gradient
(linear
, left top
, left bottom
,
48 color-stop
(0, rgb
(237, 237, 237)),
49 color-stop
(0.38, rgb
(237, 237, 237)),
50 color-stop
(1, rgb
(222, 222, 222)));
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 -webkit-gradient
(linear
, left top
, left bottom
,
60 color-stop
(0, rgb
(231, 231, 231)),
61 color-stop
(0.38, rgb
(231, 231, 231)),
62 color-stop
(1, rgb
(215, 215, 215)));
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 {
131 -webkit-margin-after: 2px;
132 -webkit-margin-before: 2px;
135 .dropdown-item.disabled-item {