author | ymh <ymh.work@gmail.com> |
Fri, 05 Sep 2025 18:52:52 +0200 | |
changeset 22 | 8c2e4d02f4ef |
parent 21 | 48c4eec2b7e6 |
permissions | -rw-r--r-- |
16 | 1 |
/*! This file is auto-generated */ |
5 | 2 |
/* General Widgets Styles */ |
3 |
||
4 |
.widget { |
|
5 |
margin: 0 auto 10px; |
|
6 |
position: relative; |
|
7 |
box-sizing: border-box; |
|
8 |
} |
|
9 |
||
16 | 10 |
.widget.open { |
11 |
z-index: 99; |
|
12 |
} |
|
13 |
.widget.open:focus-within { |
|
14 |
z-index: 100; |
|
15 |
} |
|
16 |
||
5 | 17 |
.widget-top { |
18 |
font-size: 13px; |
|
19 |
font-weight: 600; |
|
18 | 20 |
background: #f6f7f7; |
5 | 21 |
} |
22 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
23 |
.widget-top .widget-action { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
24 |
border: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
25 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
26 |
padding: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
27 |
background: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
28 |
cursor: pointer; |
5 | 29 |
} |
30 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
31 |
.widget-title h3, |
5 | 32 |
.widget-title h4 { |
33 |
margin: 0; |
|
34 |
padding: 15px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
35 |
font-size: 1em; |
5 | 36 |
line-height: 1; |
37 |
overflow: hidden; |
|
38 |
white-space: nowrap; |
|
39 |
text-overflow: ellipsis; |
|
40 |
-webkit-user-select: none; |
|
41 |
user-select: none; |
|
42 |
} |
|
43 |
||
44 |
.widgets-holder-wrap .widget-inside { |
|
45 |
border-top: none; |
|
19 | 46 |
padding: 1px 15px 15px; |
16 | 47 |
line-height: 1.23076923; |
5 | 48 |
} |
49 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
50 |
.widget.widget-dirty .widget-control-close-wrapper { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
51 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
52 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
53 |
|
5 | 54 |
.in-widget-title, |
55 |
#widgets-right a.widget-control-edit, |
|
56 |
#available-widgets .widget-description { |
|
18 | 57 |
color: #646970; |
5 | 58 |
} |
59 |
||
60 |
.deleting .widget-title, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
61 |
.deleting .widget-top .widget-action .toggle-indicator:before { |
18 | 62 |
color: #a7aaad; |
5 | 63 |
} |
64 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
65 |
/* Media Widgets */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
66 |
.wp-core-ui .media-widget-control.selected .placeholder, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
67 |
.wp-core-ui .media-widget-control.selected .not-selected, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
68 |
.wp-core-ui .media-widget-control .selected { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
69 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
70 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
71 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
72 |
.media-widget-control.selected .selected { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
73 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
74 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
75 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
76 |
.media-widget-buttons { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
77 |
text-align: right; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
78 |
margin-top: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
79 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
80 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
81 |
.media-widget-control .media-widget-buttons .button { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
82 |
width: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
83 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
84 |
margin-top: 12px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
85 |
white-space: normal; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
86 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
87 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
88 |
.media-widget-buttons .button:first-child { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
89 |
margin-left: 8px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
90 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
91 |
|
9 | 92 |
.media-widget-control .attachment-media-view .button-add-media, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
93 |
.media-widget-control .placeholder { |
18 | 94 |
border: 1px dashed #c3c4c7; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
95 |
box-sizing: border-box; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
96 |
cursor: pointer; |
9 | 97 |
line-height: 1.6; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
98 |
padding: 9px 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
99 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
100 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
101 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
102 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
103 |
|
9 | 104 |
.media-widget-control .attachment-media-view .button-add-media { |
105 |
cursor: pointer; |
|
18 | 106 |
background-color: #f0f0f1; |
107 |
color: #2c3338; |
|
9 | 108 |
} |
109 |
||
110 |
.media-widget-control .attachment-media-view .button-add-media:hover { |
|
18 | 111 |
background-color: #fff; |
9 | 112 |
} |
113 |
||
114 |
.media-widget-control .attachment-media-view .button-add-media:focus { |
|
18 | 115 |
background-color: #fff; |
9 | 116 |
border-style: solid; |
18 | 117 |
border-color: #4f94d4; |
118 |
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
|
9 | 119 |
/* Only visible in Windows High Contrast mode */ |
120 |
outline: 2px solid transparent; |
|
121 |
outline-offset: -2px; |
|
122 |
} |
|
123 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
124 |
.media-widget-control .media-widget-preview { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
125 |
background: transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
126 |
text-align: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
127 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
128 |
.media-widget-control .media-widget-preview .notice { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
129 |
text-align: initial; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
130 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
131 |
.media-frame .media-widget-embed-notice p code, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
132 |
.media-widget-control .notice p code { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
133 |
padding: 0 0 0 3px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
134 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
135 |
.media-frame .media-widget-embed-notice { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
136 |
margin-top: 16px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
137 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
138 |
.media-widget-control .media-widget-preview img { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
139 |
max-width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
140 |
vertical-align: middle; |
18 | 141 |
background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7); |
16 | 142 |
background-position: 100% 0, 10px 10px; |
143 |
background-size: 20px 20px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
144 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
145 |
.media-widget-control .media-widget-preview .wp-video-shortcode { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
146 |
background: #000; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
147 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
148 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
149 |
.media-frame.media-widget .media-toolbar-secondary { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
150 |
min-width: 300px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
151 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
152 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
153 |
.media-frame.media-widget .image-details .embed-media-settings .setting.align, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
154 |
.media-frame.media-widget .attachment-display-settings .setting.align, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
155 |
.media-frame.media-widget .embed-media-settings .setting.align, |
16 | 156 |
.media-frame.media-widget .embed-media-settings .legend-inline, |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
157 |
.media-frame.media-widget .embed-link-settings .setting.link-text, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
158 |
.media-frame.media-widget .replace-attachment, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
159 |
.media-frame.media-widget .checkbox-setting.autoplay { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
160 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
161 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
162 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
163 |
.media-widget-video-preview { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
164 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
165 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
166 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
167 |
.media-widget-video-link { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
168 |
display: inline-block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
169 |
min-height: 132px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
170 |
width: 100%; |
18 | 171 |
background: #000; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
172 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
173 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
174 |
.media-widget-video-link .dashicons { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
175 |
font: normal 60px/1 'dashicons'; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
176 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
177 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
178 |
top: -90px; |
18 | 179 |
color: #fff; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
180 |
text-decoration: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
181 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
182 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
183 |
.media-widget-video-link.no-poster .dashicons { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
184 |
top: 30px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
185 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
186 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
187 |
.media-frame #embed-url-field.invalid, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
188 |
.media-widget-image-link > .link:invalid { |
18 | 189 |
border: 1px solid #d63638; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
190 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
191 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
192 |
.media-widget-image-link { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
193 |
margin: 1em 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
194 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
195 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
196 |
.media-widget-gallery-preview { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
197 |
display: flex; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
198 |
justify-content: flex-start; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
199 |
flex-wrap: wrap; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
200 |
margin: -1.79104477%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
201 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
202 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
203 |
.media-widget-preview.media_gallery, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
204 |
.media-widget-preview.media_image { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
205 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
206 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
207 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
208 |
.media-widget-preview .placeholder { |
18 | 209 |
background: #f0f0f1; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
210 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
211 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
212 |
.media-widget-gallery-preview .gallery-item { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
213 |
box-sizing: border-box; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
214 |
width: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
215 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
216 |
background: transparent; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
217 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
218 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
219 |
.media-widget-gallery-preview .gallery-item .gallery-icon { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
220 |
margin: 4.5%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
221 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
222 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
223 |
/* |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
224 |
* Use targeted nth-last-child selectors to control the size of each image |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
225 |
* based on how many gallery items are present in the grid. |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
226 |
* See: https://alistapart.com/article/quantity-queries-for-css |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
227 |
*/ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
228 |
.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
229 |
.media-widget-gallery-preview .gallery-item:nth-last-child(3):first-child ~ .gallery-item, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
230 |
.media-widget-gallery-preview .gallery-item:nth-last-child(n+5), |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
231 |
.media-widget-gallery-preview .gallery-item:nth-last-child(n+5) ~ .gallery-item, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
232 |
.media-widget-gallery-preview .gallery-item:nth-last-child(n+6), |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
233 |
.media-widget-gallery-preview .gallery-item:nth-last-child(n+6) ~ .gallery-item { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
234 |
max-width: 33.33%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
235 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
236 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
237 |
.media-widget-gallery-preview .gallery-item img { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
238 |
height: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
239 |
vertical-align: bottom; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
240 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
241 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
242 |
.media-widget-gallery-preview .gallery-icon { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
243 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
244 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
245 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
246 |
.media-widget-gallery-preview .gallery-icon-placeholder { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
247 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
248 |
top: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
249 |
bottom: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
250 |
width: 100%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
251 |
box-sizing: border-box; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
252 |
display: flex; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
253 |
align-items: center; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
254 |
justify-content: center; |
9 | 255 |
background-color: rgba(0, 0, 0, 0.5); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
256 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
257 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
258 |
.media-widget-gallery-preview .gallery-icon-placeholder-text { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
259 |
font-weight: 600; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
260 |
font-size: 2em; |
18 | 261 |
color: #fff; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
262 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
263 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
264 |
|
5 | 265 |
/* Widget Dragging Helpers */ |
266 |
.widget.ui-draggable-dragging { |
|
267 |
min-width: 100%; |
|
268 |
} |
|
269 |
||
270 |
.widget.ui-sortable-helper { |
|
271 |
opacity: 0.8; |
|
272 |
} |
|
273 |
||
274 |
.widget-placeholder { |
|
18 | 275 |
border: 1px dashed #c3c4c7; |
5 | 276 |
margin: 0 auto 10px; |
277 |
height: 45px; |
|
278 |
width: 100%; |
|
279 |
box-sizing: border-box; |
|
280 |
} |
|
281 |
||
282 |
#widgets-right .widget-placeholder { |
|
283 |
margin-top: 0; |
|
284 |
} |
|
285 |
||
286 |
#widgets-right .closed .widget-placeholder { |
|
287 |
height: 0; |
|
288 |
border: 0; |
|
289 |
margin-top: -10px; |
|
290 |
} |
|
291 |
||
292 |
/* Widget Sidebars */ |
|
293 |
.sidebar-name { |
|
294 |
position: relative; |
|
295 |
box-sizing: border-box; |
|
296 |
} |
|
297 |
||
298 |
.js .sidebar-name { |
|
299 |
cursor: pointer; |
|
300 |
} |
|
301 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
302 |
.sidebar-name .handlediv { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
303 |
float: left; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
304 |
width: 38px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
305 |
height: 38px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
306 |
border: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
307 |
margin: 0; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
308 |
padding: 8px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
309 |
background: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
310 |
cursor: pointer; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
311 |
outline: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
312 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
313 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
314 |
#widgets-right .sidebar-name .handlediv { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
315 |
margin: 5px 0 0 3px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
316 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
317 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
318 |
.sidebar-name .handlediv:focus { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
319 |
box-shadow: none; |
16 | 320 |
/* Only visible in Windows High Contrast mode */ |
321 |
outline: 1px solid transparent; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
322 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
323 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
324 |
#widgets-left .sidebar-name .toggle-indicator { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
325 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
326 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
327 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
328 |
#widgets-left .widgets-holder-wrap.closed .sidebar-name .toggle-indicator, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
329 |
#widgets-left .sidebar-name:hover .toggle-indicator, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
330 |
#widgets-left .sidebar-name .handlediv:focus .toggle-indicator { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
331 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
332 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
333 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
334 |
.sidebar-name .toggle-indicator:before { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
335 |
padding: 1px 0 1px 2px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
336 |
border-radius: 50%; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
337 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
338 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
339 |
.sidebar-name .handlediv:focus .toggle-indicator:before { |
21
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
340 |
box-shadow: 0 0 0 2px #2271b1; |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
341 |
/* Only visible in Windows High Contrast mode */ |
48c4eec2b7e6
Add CLAUDE.md documentation and sync WordPress core files
ymh <ymh.work@gmail.com>
parents:
19
diff
changeset
|
342 |
outline: 2px solid transparent; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
343 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
344 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
345 |
.sidebar-name h2, |
5 | 346 |
.sidebar-name h3 { |
347 |
margin: 0; |
|
348 |
padding: 8px 10px; |
|
349 |
overflow: hidden; |
|
19 | 350 |
white-space: normal; |
351 |
line-height: 1.5; |
|
5 | 352 |
} |
353 |
||
354 |
.widgets-holder-wrap .description { |
|
355 |
padding: 0 0 15px; |
|
356 |
margin: 0; |
|
357 |
font-style: normal; |
|
18 | 358 |
color: #646970; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
359 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
360 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
361 |
.widget-holder .description, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
362 |
.inactive-sidebar .description { |
18 | 363 |
color: #50575e; |
5 | 364 |
} |
365 |
||
366 |
#widgets-right .widgets-holder-wrap .description { |
|
367 |
padding-right: 7px; |
|
368 |
padding-left: 7px; |
|
369 |
} |
|
370 |
||
371 |
/* Widgets 2-col Layout */ |
|
372 |
div.widget-liquid-left { |
|
373 |
margin: 0; |
|
374 |
width: 38%; |
|
375 |
float: right; |
|
376 |
} |
|
377 |
||
378 |
div.widget-liquid-right { |
|
379 |
float: left; |
|
380 |
width: 58%; |
|
381 |
} |
|
382 |
||
383 |
/* Widgets Left - Available Widgets */ |
|
384 |
||
385 |
div#widgets-left { |
|
386 |
padding-top: 12px; |
|
387 |
} |
|
388 |
||
389 |
div#widgets-left .closed .sidebar-name, |
|
390 |
div#widgets-left .inactive-sidebar.closed .sidebar-name { |
|
391 |
margin-bottom: 10px; |
|
392 |
} |
|
393 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
394 |
div#widgets-left .sidebar-name h2, |
5 | 395 |
div#widgets-left .sidebar-name h3 { |
396 |
padding: 10px 0; |
|
397 |
margin: 0 0 0 10px; |
|
398 |
} |
|
399 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
400 |
#widgets-left .widgets-holder-wrap, |
5 | 401 |
div#widgets-left .widget-holder { |
402 |
background: transparent; |
|
403 |
border: none; |
|
404 |
} |
|
405 |
||
406 |
#widgets-left .widgets-holder-wrap { |
|
407 |
border: none; |
|
408 |
box-shadow: none; |
|
409 |
} |
|
410 |
||
411 |
#available-widgets .widget { |
|
412 |
margin: 0; |
|
413 |
} |
|
414 |
||
415 |
#available-widgets .widget:nth-child(odd) { |
|
416 |
clear: both; |
|
417 |
} |
|
418 |
||
419 |
#available-widgets .widget .widget-description { |
|
420 |
display: block; |
|
421 |
padding: 10px 15px; |
|
422 |
font-size: 12px; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
423 |
overflow-wrap: break-word; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
424 |
word-wrap: break-word; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
425 |
-ms-word-break: break-all; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
426 |
word-break: break-word; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
427 |
hyphens: auto; |
5 | 428 |
} |
429 |
||
430 |
#available-widgets #widget-list { |
|
431 |
position: relative; |
|
432 |
} |
|
433 |
||
434 |
/* Inactive Sidebars */ |
|
435 |
#widgets-left .inactive-sidebar { |
|
436 |
clear: both; |
|
437 |
width: 100%; |
|
438 |
background: transparent; |
|
439 |
padding: 0; |
|
19 | 440 |
margin: 0 0 20px; |
5 | 441 |
border: none; |
442 |
box-shadow: none; |
|
443 |
} |
|
444 |
||
445 |
#widgets-left .inactive-sidebar.first { |
|
446 |
margin-top: 40px; |
|
447 |
} |
|
448 |
||
449 |
/* Not sure what this is for... */ |
|
450 |
div#widgets-left .inactive-sidebar .widget.expanded { |
|
451 |
right: auto; |
|
452 |
} |
|
453 |
||
454 |
.widget-title-action { |
|
455 |
float: left; |
|
456 |
position: relative; |
|
457 |
} |
|
458 |
||
459 |
div#widgets-left .inactive-sidebar .widgets-sortables { |
|
460 |
min-height: 42px; |
|
461 |
padding: 0; |
|
462 |
background: transparent; |
|
463 |
margin: 0; |
|
464 |
position: relative; |
|
465 |
} |
|
466 |
||
467 |
/* Widgets Right */ |
|
468 |
||
469 |
div#widgets-right .sidebars-column-1, |
|
470 |
div#widgets-right .sidebars-column-2 { |
|
471 |
max-width: 450px; |
|
472 |
} |
|
473 |
||
474 |
div#widgets-right .widgets-holder-wrap { |
|
19 | 475 |
margin: 10px 0 0; |
5 | 476 |
} |
477 |
||
478 |
div#widgets-right .sidebar-description { |
|
479 |
min-height: 20px; |
|
480 |
margin-top: -5px; |
|
481 |
} |
|
482 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
483 |
div#widgets-right .sidebar-name h2, |
5 | 484 |
div#widgets-right .sidebar-name h3 { |
19 | 485 |
padding: 15px 7px 15px 15px; |
5 | 486 |
} |
487 |
||
488 |
div#widgets-right .widget-top { |
|
489 |
padding: 0; |
|
490 |
} |
|
491 |
||
492 |
div#widgets-right .widgets-sortables { |
|
493 |
padding: 0 8px; |
|
494 |
margin-bottom: 9px; |
|
495 |
position: relative; |
|
496 |
min-height: 123px; |
|
497 |
} |
|
498 |
||
499 |
div#widgets-right .closed .widgets-sortables { |
|
500 |
min-height: 0; |
|
501 |
margin-bottom: 0; |
|
502 |
} |
|
503 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
504 |
.sidebar-name .spinner, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
505 |
.remove-inactive-widgets .spinner { |
5 | 506 |
float: none; |
507 |
position: relative; |
|
508 |
top: -2px; |
|
509 |
margin: -5px 5px; |
|
510 |
} |
|
511 |
||
19 | 512 |
.sidebar-name .spinner { |
513 |
position: absolute; |
|
514 |
top: 18px; |
|
515 |
left: 30px; |
|
516 |
} |
|
517 |
||
5 | 518 |
/* Dragging a widget over a closed sidebar */ |
519 |
#widgets-right .widgets-holder-wrap.widget-hover { |
|
18 | 520 |
border-color: #787c82; |
9 | 521 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); |
5 | 522 |
} |
523 |
||
524 |
/* Accessibility Mode */ |
|
9 | 525 |
.widget-access-link { |
526 |
float: left; |
|
527 |
margin: -5px 10px 10px 0; |
|
528 |
} |
|
529 |
||
5 | 530 |
.widgets_access #widgets-left .widget .widget-top { |
531 |
cursor: auto; |
|
532 |
} |
|
533 |
||
534 |
.widgets_access #wpwrap .widgets-holder-wrap.closed .sidebar-description, |
|
535 |
.widgets_access #wpwrap .widgets-holder-wrap.closed .widget, |
|
536 |
.widgets_access #wpwrap .widget-control-edit { |
|
537 |
display: block; |
|
538 |
} |
|
539 |
||
540 |
.widgets_access #widgets-left .widget .widget-top:hover, |
|
541 |
.widgets_access #widgets-right .widget .widget-top:hover { |
|
18 | 542 |
border-color: #dcdcde; |
5 | 543 |
} |
544 |
||
545 |
#available-widgets .widget-control-edit .edit, |
|
9 | 546 |
#available-widgets .widget-action .edit, |
5 | 547 |
#widgets-left .inactive-sidebar .widget-control-edit .add, |
9 | 548 |
#widgets-left .inactive-sidebar .widget-action .add, |
549 |
#widgets-right .widget-control-edit .add, |
|
550 |
#widgets-right .widget-action .add { |
|
5 | 551 |
display: none; |
552 |
} |
|
553 |
||
554 |
.widget-control-edit { |
|
555 |
display: block; |
|
18 | 556 |
color: #646970; |
557 |
background: #f0f0f1; |
|
5 | 558 |
padding: 0 15px; |
16 | 559 |
line-height: 3.30769230; |
18 | 560 |
border-right: 1px solid #dcdcde; |
5 | 561 |
} |
562 |
||
563 |
#widgets-left .widget-control-edit:hover, |
|
564 |
#widgets-right .widget-control-edit:hover { |
|
565 |
color: #fff; |
|
18 | 566 |
background: #3c434a; |
5 | 567 |
border-right: 0; |
18 | 568 |
outline: 1px solid #3c434a; |
5 | 569 |
} |
570 |
||
571 |
.widgets-holder-wrap .sidebar-name, |
|
572 |
.widgets-holder-wrap .sidebar-description { |
|
573 |
-webkit-user-select: none; |
|
574 |
user-select: none; |
|
575 |
} |
|
576 |
||
577 |
.editwidget { |
|
578 |
margin: 0 auto; |
|
579 |
} |
|
580 |
||
581 |
.editwidget .widget-inside { |
|
582 |
display: block; |
|
583 |
padding: 0 15px; |
|
584 |
} |
|
585 |
||
586 |
.editwidget .widget-control-actions { |
|
587 |
margin-top: 20px; |
|
588 |
} |
|
589 |
||
590 |
.js .widgets-holder-wrap.closed .widget, |
|
591 |
.js .widgets-holder-wrap.closed .sidebar-description, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
592 |
.js .widgets-holder-wrap.closed .remove-inactive-widgets, |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
593 |
.js .widgets-holder-wrap.closed .description, |
5 | 594 |
.js .closed br.clear { |
595 |
display: none; |
|
596 |
} |
|
597 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
598 |
.js .widgets-holder-wrap.closed .widget.ui-sortable-helper { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
599 |
display: block; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
600 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
601 |
|
5 | 602 |
/* Hide Widget Settings by Default */ |
603 |
.widget-inside, |
|
604 |
.widget-description { |
|
605 |
display: none; |
|
606 |
} |
|
607 |
||
608 |
.widget-inside { |
|
609 |
background: #fff; |
|
610 |
} |
|
611 |
||
16 | 612 |
.widget-inside select { |
613 |
max-width: 100%; |
|
614 |
} |
|
615 |
||
5 | 616 |
/* Dragging widgets over the available widget area show's a "Deactivate" message */ |
617 |
#removing-widget { |
|
618 |
display: none; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
619 |
font-weight: 400; |
5 | 620 |
padding-right: 15px; |
621 |
font-size: 12px; |
|
622 |
line-height: 1; |
|
18 | 623 |
color: #000; |
5 | 624 |
} |
625 |
||
626 |
.js #removing-widget { |
|
18 | 627 |
color: #72aee6; |
5 | 628 |
} |
629 |
||
630 |
.widget-control-noform, |
|
631 |
#access-off, |
|
632 |
.widgets_access .widget-action, |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
633 |
.widgets_access .handlediv, |
5 | 634 |
.widgets_access #access-on, |
635 |
.widgets_access .widget-holder .description, |
|
636 |
.no-js .widget-holder .description { |
|
637 |
display: none; |
|
638 |
} |
|
639 |
||
640 |
.widgets_access .widget-holder, |
|
641 |
.widgets_access #widget-list { |
|
642 |
padding-top: 10px; |
|
643 |
} |
|
644 |
||
645 |
.widgets_access #access-off { |
|
646 |
display: inline; |
|
647 |
} |
|
648 |
||
649 |
.widgets_access .sidebar-name, |
|
650 |
.widgets_access .widget .widget-top { |
|
651 |
cursor: default; |
|
652 |
} |
|
653 |
||
654 |
||
655 |
/* Widgets Area Chooser */ |
|
656 |
.widget-liquid-left #widgets-left.chooser #available-widgets .widget, |
|
657 |
.widget-liquid-left #widgets-left.chooser .inactive-sidebar { |
|
658 |
transition: opacity 0.1s linear; |
|
659 |
} |
|
660 |
||
661 |
.widget-liquid-left #widgets-left.chooser #available-widgets .widget, |
|
662 |
.widget-liquid-left #widgets-left.chooser .inactive-sidebar { |
|
663 |
/* -webkit-filter: blur(1px); */ |
|
664 |
opacity: 0.2; |
|
665 |
pointer-events: none; |
|
666 |
} |
|
667 |
||
668 |
.widget-liquid-left #widgets-left.chooser #available-widgets .widget-in-question { |
|
669 |
/* -webkit-filter: none; */ |
|
670 |
opacity: 1; |
|
671 |
pointer-events: auto; |
|
672 |
} |
|
673 |
||
674 |
.widgets-chooser ul, |
|
675 |
#widgets-left .widget-in-question .widget-top, |
|
676 |
#available-widgets .widget-top:hover, |
|
677 |
div#widgets-right .widget-top:hover, |
|
678 |
#widgets-left .widget-top:hover { |
|
18 | 679 |
border-color: #8c8f94; |
9 | 680 |
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); |
5 | 681 |
} |
682 |
||
683 |
.widgets-chooser ul.widgets-chooser-sidebars { |
|
684 |
margin: 0; |
|
685 |
list-style-type: none; |
|
686 |
max-height: 300px; |
|
687 |
overflow: auto; |
|
688 |
} |
|
689 |
||
690 |
.widgets-chooser { |
|
691 |
display: none; |
|
692 |
} |
|
693 |
||
694 |
.widgets-chooser ul { |
|
18 | 695 |
border: 1px solid #c3c4c7; |
5 | 696 |
} |
697 |
||
698 |
.widgets-chooser li { |
|
18 | 699 |
border-bottom: 1px solid #c3c4c7; |
5 | 700 |
background: #fff; |
701 |
margin: 0; |
|
9 | 702 |
position: relative; |
703 |
} |
|
704 |
||
705 |
.widgets-chooser .widgets-chooser-button { |
|
706 |
width: 100%; |
|
707 |
padding: 10px 35px 10px 15px; |
|
708 |
background: transparent; |
|
709 |
border: 0; |
|
710 |
box-sizing: border-box; |
|
711 |
text-align: right; |
|
5 | 712 |
cursor: pointer; |
713 |
transition: background 0.2s ease-in-out; |
|
714 |
} |
|
715 |
||
9 | 716 |
/* @todo looks like these hover/focus states are overridden by .widgets-chooser-selected */ |
717 |
.widgets-chooser .widgets-chooser-button:hover, |
|
718 |
.widgets-chooser .widgets-chooser-button:focus { |
|
719 |
outline: none; |
|
720 |
text-decoration: underline; |
|
5 | 721 |
} |
722 |
||
723 |
.widgets-chooser li:last-child { |
|
724 |
border: none; |
|
725 |
} |
|
726 |
||
9 | 727 |
.widgets-chooser .widgets-chooser-selected .widgets-chooser-button { |
18 | 728 |
background: #2271b1; |
5 | 729 |
color: #fff; |
730 |
} |
|
731 |
||
9 | 732 |
.widgets-chooser .widgets-chooser-selected:before { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
733 |
content: "\f147"; |
5 | 734 |
display: block; |
735 |
-webkit-font-smoothing: antialiased; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
736 |
font: normal 26px/1 dashicons; |
5 | 737 |
color: #fff; |
738 |
position: absolute; |
|
739 |
top: 7px; |
|
740 |
right: 5px; |
|
741 |
} |
|
742 |
||
743 |
.widgets-chooser .widgets-chooser-actions { |
|
19 | 744 |
padding: 10px 0 12px; |
5 | 745 |
text-align: center; |
746 |
} |
|
747 |
||
748 |
#available-widgets .widget .widget-top { |
|
749 |
cursor: pointer; |
|
750 |
} |
|
751 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
752 |
#available-widgets .widget.ui-draggable-dragging .widget-top { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
753 |
cursor: move; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
754 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
755 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
756 |
/* =Specific widget styling |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
757 |
-------------------------------------------------------------- */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
758 |
.text-widget-fields { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
759 |
position: relative; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
760 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
761 |
.text-widget-fields [hidden] { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
762 |
display: none; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
763 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
764 |
.text-widget-fields .wp-pointer.wp-pointer-top { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
765 |
position: absolute; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
766 |
z-index: 3; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
767 |
top: 100px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
768 |
left: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
769 |
right: 10px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
770 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
771 |
.text-widget-fields .wp-pointer .wp-pointer-arrow { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
772 |
right: auto; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
773 |
left: 15px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
774 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
775 |
.text-widget-fields .wp-pointer .wp-pointer-buttons { |
9 | 776 |
line-height: 1.4; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
777 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
778 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
779 |
.custom-html-widget-fields > p > .CodeMirror { |
18 | 780 |
border: 1px solid #dcdcde; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
781 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
782 |
.custom-html-widget-fields code { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
783 |
padding-top: 1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
784 |
padding-bottom: 1px; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
785 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
786 |
ul.CodeMirror-hints { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
787 |
z-index: 101; /* Due to z-index 100 set on .widget.open */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
788 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
789 |
.widget-control-actions .custom-html-widget-save-button.button.validation-blocked { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
790 |
cursor: not-allowed; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
791 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
792 |
|
5 | 793 |
/* =Media Queries |
794 |
-------------------------------------------------------------- */ |
|
795 |
||
16 | 796 |
@media screen and (max-width: 782px) { |
797 |
.widgets-holder-wrap .widget-inside input[type="checkbox"], |
|
798 |
.widgets-holder-wrap .widget-inside input[type="radio"], |
|
799 |
.editwidget .widget-inside input[type="checkbox"], /* Selectors for the "accessibility mode" page. */ |
|
800 |
.editwidget .widget-inside input[type="radio"] { |
|
801 |
margin: 0.25rem 0 0.25rem 0.25rem; |
|
802 |
} |
|
803 |
} |
|
804 |
||
5 | 805 |
@media screen and (max-width: 480px) { |
806 |
div.widget-liquid-left { |
|
807 |
width: 100%; |
|
808 |
float: none; |
|
809 |
border-left: none; |
|
810 |
padding-left: 0; |
|
811 |
} |
|
812 |
||
813 |
#widgets-left .sidebar-name { |
|
814 |
margin-left: 0; |
|
815 |
} |
|
816 |
||
817 |
#widgets-left #available-widgets .widget-top { |
|
818 |
margin-left: 0; |
|
819 |
} |
|
820 |
||
821 |
#widgets-left .inactive-sidebar .widgets-sortables { |
|
822 |
margin-left: 0; |
|
823 |
} |
|
824 |
||
825 |
div.widget-liquid-right { |
|
826 |
width: 100%; |
|
827 |
float: none; |
|
828 |
} |
|
829 |
||
830 |
div.widget { |
|
831 |
max-width: 480px; |
|
832 |
} |
|
9 | 833 |
|
834 |
.widget-access-link { |
|
835 |
float: none; |
|
19 | 836 |
margin: 15px 0 0; |
9 | 837 |
} |
5 | 838 |
} |
839 |
||
840 |
@media screen and (max-width: 320px) { |
|
841 |
div.widget { |
|
842 |
max-width: 320px; |
|
843 |
} |
|
844 |
} |
|
845 |
||
846 |
@media only screen and (min-width: 1250px) { |
|
847 |
#widgets-left #available-widgets .widget { |
|
848 |
width: 49%; |
|
849 |
float: right; |
|
850 |
} |
|
851 |
||
852 |
.widget.ui-draggable-dragging { |
|
853 |
min-width: 49%; |
|
854 |
} |
|
855 |
||
856 |
#widgets-left #available-widgets .widget:nth-child(even) { |
|
857 |
float: left; |
|
858 |
} |
|
859 |
||
860 |
#widgets-right .sidebars-column-1, |
|
861 |
#widgets-right .sidebars-column-2 { |
|
862 |
float: right; |
|
863 |
width: 49%; |
|
864 |
} |
|
865 |
||
866 |
#widgets-right .sidebars-column-1 { |
|
867 |
margin-left: 2%; |
|
868 |
} |
|
869 |
||
870 |
#widgets-right.single-sidebar .sidebars-column-1, |
|
871 |
#widgets-right.single-sidebar .sidebars-column-2 { |
|
872 |
float: none; |
|
873 |
width: 100%; |
|
874 |
margin: 0; |
|
875 |
} |
|
876 |
} |