PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 1.27.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v1.27.0
2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.10.0 All 48 releases
thinkrank / static / css / admin-columns.css

admin-columns.css in ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO 1.27.0, at static/css/admin-columns.css

320 lines 6.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * ThinkRank Post List Column Styles
3 *
4 * Styles for the SEO Overview column in WordPress post list (edit.php).
5 * This file lives in static/ to survive webpack builds.
6 *
7 * @package ThinkRank
8 * @since 1.0.0
9 */
10
11 .column-thinkrank_seo_overview {
12 width: 220px;
13 box-sizing: border-box;
14 }
15
16 /*
17 * Row-layout safety net.
18 *
19 * WordPress list tables use auto table layout: a column with an explicit width
20 * (ours) reserves its space first, and any shortfall is taken out of the
21 * flexible, no-width primary Title column. When several plugins each add a
22 * column (e.g. BetterLinks "Auto Share" + two chart columns alongside this SEO
23 * Overview column), the Title column can be squeezed below its minimum, and
24 * because core applies `word-wrap: break-word` to cells the title then wraps
25 * one character per line (a vertical sliver of text).
26 *
27 * Give the primary column a floor so it can never collapse that far, and let
28 * our own column shrink toward a sensible minimum before the row overflows.
29 * This file is only enqueued on edit.php (post-list) screens, so these rules
30 * stay scoped there. Guarded to the desktop table view — below 783px WordPress
31 * switches to its stacked single-column layout.
32 */
33 @media screen and (min-width: 783px) {
34 .wp-list-table .column-title,
35 .wp-list-table .column-name {
36 min-width: 160px;
37 }
38
39 .column-thinkrank_seo_overview {
40 min-width: 180px;
41 }
42 }
43
44 .thinkrank-seo-overview {
45 font-size: 13px;
46 line-height: 1.4;
47 display: flex;
48 flex-direction: column;
49 gap: 6px;
50 }
51
52 .thinkrank-seo-row {
53 display: flex;
54 align-items: center;
55 flex-wrap: wrap;
56 }
57
58 .thinkrank-seo-separator {
59 margin: 0 6px;
60 color: #c3c4c7;
61 font-size: 10px;
62 }
63
64 /* Top Row: Badges */
65 .thinkrank-seo-badge {
66 border-radius: 12px;
67 padding: 2px 8px;
68 font-weight: 600;
69 font-size: 12px;
70 display: inline-flex;
71 align-items: center;
72 white-space: nowrap;
73 position: relative;
74 }
75
76 .thinkrank-seo-badge::after,
77 .thinkrank-seo-metric::after {
78 content: attr(title);
79 position: absolute;
80 bottom: calc(100% + 11px);
81 left: 50%;
82 transform: translateX(-50%);
83 background: #00043D;
84 border-radius: 8px;
85 padding: 4px 8px;
86 color: #fff;
87 font-weight: 400;
88 box-shadow: 0 1px 2px rgba(17, 17, 17, 0.1);
89 visibility: hidden;
90 white-space: nowrap;
91 z-index: 20;
92 }
93
94 .thinkrank-seo-badge::before,
95 .thinkrank-seo-metric::before {
96 content: "";
97 position: absolute;
98 bottom: calc(100% + 7px);
99 left: calc(50% - 5px);
100 transform: rotate(45deg);
101 background: #00043D;
102 width: 10px;
103 height: 10px;
104 border-radius: 2px;
105 box-shadow: 0 1px 2px rgba(17, 17, 17, 0.1);
106 visibility: hidden;
107 z-index: 19;
108 }
109
110 .thinkrank-seo-badge:hover::before,
111 .thinkrank-seo-badge:hover::after {
112 visibility: visible;
113 }
114
115 /* Apply Z-Index for metric too */
116 .thinkrank-seo-metric:hover::before,
117 .thinkrank-seo-metric:hover::after {
118 visibility: visible;
119 }
120
121 .thinkrank-score-great {
122 background-color: #d1fae5;
123 color: #065f46;
124 }
125
126 .thinkrank-score-good {
127 background-color: #dbeafe;
128 color: #1e40af;
129 }
130
131 .thinkrank-score-medium {
132 background-color: #fef3c7;
133 color: #92400e;
134 }
135
136 .thinkrank-score-poor {
137 background-color: #fee2e2;
138 color: #b91c1c;
139 }
140
141 .thinkrank-status-good {
142 background-color: #E5FFF6;
143 color: #117953;
144 }
145
146 .thinkrank-status-ok {
147 background-color: #EBF0FF;
148 color: #1B42C2;
149 }
150
151 .thinkrank-status-not-analyzed,
152 .thinkrank-seo-badge.thinkrank-not-set {
153 background-color: #E5EBF0;
154 color: #58677D;
155 border-radius: 12px;
156 padding: 2px 8px;
157 }
158
159 .thinkrank-status-needs-improvement {
160 background-color: #FFF7EB;
161 color: #865A13;
162 }
163
164 .thinkrank-status-no-content {
165 background-color: #FFEBEE;
166 color: #EC113A;
167 }
168
169 .thinkrank-pillar-icon {
170 background-color: #F0F0F1;
171 color: #2271b1;
172 padding: 4px;
173 line-height: 20px;
174 }
175
176 /* Middle Row: Focus Keyword */
177 .thinkrank-focus-keyword-item {
178 width: 100%;
179 position: relative;
180 display: flex;
181 align-items: center;
182 background-color: #ECEEEE;
183 border-radius: 4px;
184 border: 1px solid #E4E6EC;
185 padding: 0 8px;
186 min-height: 24px;
187 }
188
189 .thinkrank-focus-keyword-display {
190 cursor: pointer;
191 flex-grow: 1;
192 white-space: nowrap;
193 overflow: hidden;
194 text-overflow: ellipsis;
195 color: #1d2327;
196 font-weight: 500;
197 }
198
199 .thinkrank-focus-keyword-display.thinkrank-not-set {
200 color: #646970;
201 font-style: italic;
202 }
203
204 .thinkrank-edit-icon {
205 font-size: 16px;
206 width: 16px;
207 height: 16px;
208 pointer-events: none;
209 position: absolute;
210 right: 8px;
211
212 path {
213 stroke: #A5AAAC;
214 }
215 }
216
217 .thinkrank-focus-keyword-item .thinkrank-success-icon {
218 position: absolute;
219 right: 8px;
220 visibility: hidden;
221 }
222
223 .thinkrank-focus-keyword-item:hover .thinkrank-edit-icon path {
224 stroke: #4451FF;
225 }
226
227 .thinkrank-focus-keyword-input[type="text"] {
228 width: 100%;
229 padding: 0 8px;
230 border: none;
231 border-radius: 4px;
232 font-size: 13px;
233 margin: 0;
234 min-height: 24px;
235 line-height: normal;
236 }
237
238 .thinkrank-focus-keyword-item.is-editing {
239 padding: 0;
240 background: transparent;
241 border-color: #5C91FE;
242 }
243
244 .thinkrank-focus-keyword-item.is-editing .thinkrank-focus-keyword-display,
245 .thinkrank-focus-keyword-item.is-editing .thinkrank-edit-icon {
246 display: none;
247 }
248
249 .thinkrank-focus-keyword-item.is-editing .thinkrank-success-icon {
250 visibility: visible;
251 }
252
253 .thinkrank-focus-keyword-item.is-editing.is-saving .thinkrank-success-icon {
254 visibility: hidden;
255 }
256
257 /* Bottom Row: Metrics */
258 .thinkrank-seo-metric {
259 display: flex;
260 align-items: center;
261 gap: 4px;
262 color: #646970;
263 font-size: 12px;
264 line-height: 20px;
265 position: relative;
266 }
267
268 .thinkrank-seo-metric:hover::before,
269 .thinkrank-seo-metric:hover::after {
270 visibility: visible;
271 }
272
273 .thinkrank-metric-value {
274 white-space: nowrap;
275 color: #505272;
276 }
277
278 /* Animations */
279 .thinkrank-focus-keyword-display.thinkrank-feedback-success {
280 animation: thinkrank-success-flash 0.5s ease-in-out;
281 }
282
283 .thinkrank-focus-keyword-display.thinkrank-feedback-error {
284 animation: thinkrank-error-flash 0.5s ease-in-out;
285 }
286
287 @keyframes thinkrank-success-flash {
288 0%, 100% { background-color: transparent; }
289 50% { background-color: #d1fae5; }
290 }
291
292 @keyframes thinkrank-error-flash {
293 0%, 100% { background-color: transparent; }
294 50% { background-color: #fee2e2; }
295 }
296
297 .thinkrank-inline-error {
298 position: absolute;
299 top: 100%;
300 left: 0;
301 z-index: 10;
302 color: #fff;
303 font-size: 11px;
304 margin-top: 4px;
305 padding: 4px 8px;
306 background-color: #d63638;
307 border-radius: 4px;
308 box-shadow: 0 2px 5px rgba(0,0,0,0.2);
309 }
310
311 .thinkrank-inline-error::after {
312 content: "";
313 position: absolute;
314 bottom: 100%;
315 left: 10px;
316 border-width: 5px;
317 border-style: solid;
318 border-color: transparent transparent #d63638 transparent;
319 }
320