PluginProbe
Polylang / 3.0.6
Polylang v3.0.6
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / css / selectmenu.css

selectmenu.css in Polylang 3.0.6, at css/selectmenu.css

240 lines 6.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Greatly modified version of the jquery-ui.css */
2
3 .ui-widget-overlay {
4 position: fixed;
5 top: 0;
6 left: 0;
7 width: 100%;
8 height: 100%;
9 }
10
11 .ui-menu {
12 list-style: none;
13 padding: 0;
14 margin: 0;
15 display: block;
16 outline: none;
17 }
18
19 .ui-menu .ui-menu {
20 position: absolute;
21 }
22
23 .ui-menu .ui-menu-item {
24 position: relative;
25 margin: 0;
26 padding: 3px 1em 3px .4em;
27 cursor: pointer;
28 min-height: 0; /* support: IE7 */
29 /* support: IE10, see #8844 */
30 list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
31 }
32
33 /* for jQuery UI 1.12 which introduces a wrapper */
34 .ui-menu .ui-menu-item:not([role]) {
35 padding: 0;
36 }
37
38 .ui-menu-item-wrapper {
39 padding: 3px 1em 3px 2em;
40 }
41 .rtl .ui-menu .ui-menu-item {
42 text-align: right;
43 }
44
45 /* icon support */
46 .ui-menu-icons {
47 position: relative;
48 }
49
50 .ui-menu-icons .ui-menu-item[role] {
51 padding-left: 2em;
52 }
53
54 .rtl .ui-menu-item-wrapper, /* for jQuery UI 1.12 which introduces a wrapper */
55 .rtl .ui-menu-icons .ui-menu-item[role] {
56 padding-left: 1em;
57 padding-right: 2em;
58 }
59
60 /* left-aligned */
61 .ui-selectmenu-text .ui-icon,
62 .ui-menu .ui-icon {
63 position: absolute;
64 top: 0;
65 bottom: 0;
66 left: .3em;
67 margin: auto 0;
68 }
69
70 .rtl .ui-selectmenu-text .ui-icon,
71 .rtl .ui-menu .ui-icon {
72 right: .3em;
73 left: auto;
74 }
75
76 /* right-aligned */
77 .ui-menu .ui-menu-icon {
78 left: auto;
79 right: 0;
80 }
81
82 .ui-selectmenu-menu {
83 padding: 0;
84 margin: 0;
85 position: absolute;
86 top: 0;
87 left: 0;
88 display: none;
89 }
90
91 .ui-selectmenu-menu .ui-menu {
92 overflow: auto;
93 /* Support: IE7 */
94 overflow-x: hidden;
95 padding-bottom: 1px;
96 }
97
98 .ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
99 font-size: 1em;
100 font-weight: bold;
101 line-height: 23px;
102 padding: 2px 0.4em;
103 margin: 0.5em 0 0 0;
104 height: auto;
105 border: 0;
106 }
107
108 .ui-selectmenu-open {
109 display: block;
110 }
111
112 .ui-selectmenu-button, /* jQuery UI 1.11.4 - WP < 5.6 */
113 .ui-selectmenu-button.ui-button {
114 display: inline-block;
115 overflow: hidden;
116 position: relative;
117 text-decoration: none;
118 box-sizing: border-box; /* To keep width calculation in percent since WP 5.6 */
119 text-align: left;
120 white-space: nowrap;
121 vertical-align: top;
122 padding: 0;
123 line-height: normal; /* Override WC Bookings styles with WP < 5.6 */
124 height: 28px; /* Override WC Bookings styles with WP < 5.6 */
125 }
126
127 .ui-selectmenu-button span.ui-icon {
128 right: 0.5em;
129 left: auto;
130 position: absolute;
131 top: 26%;
132 width: 16px;
133 height: 16px;
134 text-indent: 0; /* due to text-indent for jquery ui-dialog in wizard */
135 background: none;
136 }
137
138 .rtl .ui-selectmenu-button span.ui-icon {
139 left: 0.5em;
140 right: auto;
141 }
142
143
144 .ui-selectmenu-button.ui-widget span.ui-selectmenu-text, /* Override WC Bookings styles with WP < 5.6 */
145 .ui-selectmenu-button span.ui-selectmenu-text {
146 text-align: left;
147 padding: 0.1em 2.1em 0.2em 2em;
148 display: block;
149 line-height: 23px;
150 overflow: hidden;
151 text-overflow: ellipsis;
152 white-space: nowrap;
153 margin: 0;
154 }
155
156 .rtl .ui-selectmenu-button span.ui-selectmenu-text {
157 text-align: right;
158 padding: 0.2em 2em 0.2em 2.1em;
159 }
160
161 .ui-widget-content,
162 .ui-state-default,
163 .ui-selectmenu-button.ui-state-default, /* Override WC Bookings styles with WP < 5.6 */
164 .ui-button.ui-selectmenu-button-closed, /* To be compatible jQuery UI 1.12.1 since WordPress 5.6 */
165 .ui-button.ui-selectmenu-button-open, /* To be compatible jQuery UI 1.12.1 since WordPress 5.6 */
166 .ui-widget-content .ui-state-default,
167 .ui-widget-header .ui-state-default {
168 background: #fff;
169 border: 1px solid #ddd;
170 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
171 color: #32373c;
172 }
173 /* Override to have same styles as WP form styles since WordPress 5.4 */
174 .toplevel_page_mlang .ui-selectmenu-button.ui-state-default,
175 .toplevel_page_mlang .ui-selectmenu-button.ui-selectmenu-button-closed, /* To be compatible jQuery UI 1.12.1 since WordPress 5.6 */
176 .toplevel_page_mlang .ui-selectmenu-button.ui-selectmenu-button-open{ /* To be compatible jQuery UI 1.12.1 since WordPress 5.6 */
177 box-shadow: 0 0 0 transparent;
178 border-radius: 4px;
179 border: 1px solid #7e8993;
180 }
181
182 /* From this line and below: override WooCommerce bookings plugin styles which overrides default WordPress styles */
183 .pll-selectmenu-menu .ui-widget,
184 .pll-selectmenu-button.ui-widget {
185 font-size: 13px;
186 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
187 }
188
189 .toplevel_page_mlang .ui-button.ui-selectmenu-button:focus{
190 color: #016087; /* Same color as WordPress focused select HTML tag */
191 border-color: #007cba;
192 box-shadow: 0 0 0 1px #007cba;
193 outline: 2px solid transparent;
194 background: #fff; /* Override bookings plugin styles which overrides default WordPress styles */
195 }
196
197 .toplevel_page_mlang .ui-menu-item,
198 .toplevel_page_mlang .ui-widget-content .ui-state-hover,
199 .toplevel_page_mlang .ui-widget-content .ui-state-focus,
200 .toplevel_page_mlang .ui-widget-content .ui-state-active {
201 color: #016087; /* Same color as option in a WordPress focused select HTML tag */
202 margin: 0;
203 }
204
205 .ui-selectmenu-open .ui-widget-content .ui-state-hover, /* Override WC Bookings styles with WP < 5.6 */
206 .ui-selectmenu-open .ui-widget-content .ui-state-focus, /* Override WC Bookings styles with WP < 5.6 */
207 .ui-selectmenu-open .ui-widget-content .ui-state-active, /* Override WC Bookings styles with WP < 5.6 */
208 .pll-selectmenu-menu .ui-widget-content .ui-state-hover,
209 .pll-selectmenu-menu .ui-widget-content .ui-state-focus,
210 .pll-selectmenu-menu .ui-widget-content .ui-state-active { /* To be compatible jQuery UI 1.12.1 since WordPress 5.6 */
211 background: #d5d5d5;
212 border: 0;
213 }
214
215 .ui-selectmenu-button.ui-state-focus {
216 border: 1px solid #5b9dd9;
217 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
218 }
219
220 .ui-icon-triangle-1-s:before {
221 content: "";
222 background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 0px top 55%;
223 background-size: 16px 16px;
224 box-sizing: border-box;
225 position: absolute;
226 width: 16px;
227 height: 16px;
228 }
229
230 .pll-selectmenu-button.ui-button:hover,
231 .pll-wizard .ui-button:hover,
232 .pll-wizard .ui-button:focus {
233 background: #fff; /* To override jQuery ui-dialog styles provided by WordPress */
234 }
235
236 .ui-widget-content {
237 max-height: 231px;
238 box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
239 }
240