PluginProbe
Polylang / 2.6.2
Polylang v2.6.2
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
← All changes | css/selectmenu.css +11 -110 3.0.32.6.2 View file →
@@ -23,41 +23,22 @@
23 23 .ui-menu .ui-menu-item {
24 24 position: relative;
25 25 margin: 0;
26 26 padding: 3px 1em 3px .4em;
27 - cursor: pointer;
28 27 min-height: 0; /* support: IE7 */
29 28 /* support: IE10, see #8844 */
30 29 list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
31 30 }
32 31
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 32 /* icon support */
46 33 .ui-menu-icons {
47 34 position: relative;
48 35 }
49 36
50 -.ui-menu-icons .ui-menu-item[role] {
37 +.ui-menu-icons .ui-menu-item {
51 38 padding-left: 2em;
52 39 }
53 40
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 41 /* left-aligned */
61 42 .ui-selectmenu-text .ui-icon,
62 43 .ui-menu .ui-icon {
63 44 position: absolute;
@@ -62,18 +43,12 @@
62 43 .ui-menu .ui-icon {
63 44 position: absolute;
64 45 top: 0;
65 46 bottom: 0;
66 - left: .3em;
47 + left: .2em;
67 48 margin: auto 0;
68 49 }
69 50
70 -.rtl .ui-selectmenu-text .ui-icon,
71 -.rtl .ui-menu .ui-icon {
72 - right: .3em;
73 - left: auto;
74 -}
75 -
76 51 /* right-aligned */
77 52 .ui-menu .ui-menu-icon {
78 53 left: auto;
79 54 right: 0;
@@ -108,62 +83,35 @@
108 83 .ui-selectmenu-open {
109 84 display: block;
110 85 }
111 86
112 -.ui-selectmenu-button, /* jQuery UI 1.11.4 - WP < 5.6 */
113 -.ui-selectmenu-button.ui-button {
87 +.ui-selectmenu-button {
114 88 display: inline-block;
115 89 overflow: hidden;
116 90 position: relative;
117 91 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 92 }
126 93
127 94 .ui-selectmenu-button span.ui-icon {
128 95 right: 0.5em;
129 96 left: auto;
97 + margin-top: -10px;
130 98 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;
99 + top: 50%;
136 100 }
137 101
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 102 .ui-selectmenu-button span.ui-selectmenu-text {
146 103 text-align: left;
147 - padding: 0.1em 2.1em 0.2em 2em;
104 + padding: 0.2em 2.1em 0.2em 2em;
148 105 display: block;
149 106 line-height: 23px;
150 107 overflow: hidden;
151 108 text-overflow: ellipsis;
152 109 white-space: nowrap;
153 - margin: 0;
154 110 }
155 111
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 112 .ui-widget-content,
162 113 .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 114 .ui-widget-content .ui-state-default,
167 115 .ui-widget-header .ui-state-default {
168 116 background: #fff;
169 117 border: 1px solid #ddd;
@@ -169,50 +117,14 @@
169 117 border: 1px solid #ddd;
170 118 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07) inset;
171 119 color: #32373c;
172 120 }
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 121
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;
122 +.ui-widget-content .ui-state-hover,
123 +.ui-widget-content .ui-state-focus {
124 + background: #f5f5f5;
187 125 }
188 126
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 127 .ui-selectmenu-button.ui-state-focus {
216 128 border: 1px solid #5b9dd9;
217 129 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
218 130 }
@@ -217,21 +129,10 @@
217 129 box-shadow: 0 0 2px rgba(30, 140, 190, 0.8);
218 130 }
219 131
220 132 .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 */
133 + content: "\f140";
134 + font: 20px/1 'dashicons';
234 135 }
235 136
236 137 .ui-widget-content {
237 138 max-height: 231px;