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