| @@ -115,13 +115,8 @@ | ||
| 115 | 115 | body.settings_page__wp_convertkit_settings .wrap .postbox p { |
| 116 | 116 | font-size: 14px; |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | -body.settings_page__wp_convertkit_settings .wrap .postbox input, | |
| 120 | -body.settings_page__wp_convertkit_settings .wrap .postbox select { | |
| 121 | - vertical-align: middle; | |
| 122 | -} | |
| 123 | - | |
| 124 | 119 | body.settings_page__wp_convertkit_settings p.submit { |
| 125 | 120 | margin-bottom: 20px; |
| 126 | 121 | padding: 0; |
| 127 | 122 | } |
| @@ -127,15 +122,12 @@ | ||
| 127 | 122 | } |
| 128 | 123 | |
| 129 | 124 | body.settings_page__wp_convertkit_settings .button { |
| 130 | 125 | margin: 0 5px 0 0; |
| 131 | - padding: 0 12px; | |
| 126 | + padding: 4px 12px; | |
| 132 | 127 | font-size: 14px; |
| 133 | 128 | border-radius: 10px; |
| 134 | 129 | |
| 135 | - /* Required for WordPress 7.0 styling */ | |
| 136 | - line-height: 2.8; | |
| 137 | - | |
| 138 | 130 | /* Required for WordPress 5.x styling */ |
| 139 | 131 | height: auto; |
| 140 | 132 | text-shadow: none; |
| 141 | 133 | box-shadow: none; |
| @@ -171,27 +163,26 @@ | ||
| 171 | 163 | /** |
| 172 | 164 | * Beta Label |
| 173 | 165 | */ |
| 174 | 166 | body.settings_page__wp_convertkit_settings ul.convertkit-tabs li a span.convertkit-beta-label { |
| 175 | - background-color: #f3e3f9; | |
| 167 | + background-color: #f0fff3; | |
| 176 | 168 | border-radius: 9999px; |
| 177 | - color: #4a265a; | |
| 169 | + color: #4ec776; | |
| 178 | 170 | margin: 0 0 0 12px; |
| 179 | - padding: 3px 8px; | |
| 180 | - font-weight: 600; | |
| 171 | + padding: 1px 8px; | |
| 172 | + font-weight: 400; | |
| 181 | 173 | font-size: 12px; |
| 182 | 174 | } |
| 183 | 175 | |
| 184 | 176 | body.settings_page__wp_convertkit_settings .wrap .postbox.convertkit-beta span.convertkit-beta-label { |
| 185 | 177 | display: inline-block; |
| 186 | - background-color: #f3e3f9; | |
| 178 | + background-color: #f0fff3; | |
| 187 | 179 | border-radius: 9999px; |
| 188 | - color: #4a265a; | |
| 180 | + color: #4ec776; | |
| 189 | 181 | border-width: 1px; |
| 190 | - margin: 4px 0 0 12px; | |
| 191 | - padding: 4px 8px; | |
| 182 | + margin: 7px 0 0 12px; | |
| 183 | + padding: 1px 8px; | |
| 192 | 184 | vertical-align: top; |
| 193 | - font-weight: 600; | |
| 194 | 185 | font-size: 12px; |
| 195 | 186 | } |
| 196 | 187 | |
| 197 | 188 | body.settings_page__wp_convertkit_settings .wrap .postbox.convertkit-beta > h2 { |
| @@ -240,150 +231,5 @@ | ||
| 240 | 231 | |
| 241 | 232 | body.settings_page__wp_convertkit_settings .wrap .tablenav input.button { |
| 242 | 233 | height: 20px; |
| 243 | 234 | line-height: 20px; |
| 244 | -} | |
| 245 | - | |
| 246 | -/** | |
| 247 | - * Reusable UI components. | |
| 248 | - * | |
| 249 | - * These deliberately aren't scoped to a single administration screen, so that | |
| 250 | - * they can be used on any of the Plugin's administration screens. | |
| 251 | - */ | |
| 252 | - | |
| 253 | -/** | |
| 254 | - * Numbered Steps | |
| 255 | - */ | |
| 256 | -ol.kit-numbered-steps { | |
| 257 | - margin: 0; | |
| 258 | - padding: 0; | |
| 259 | - list-style: none; | |
| 260 | - counter-reset: kit-numbered-step; | |
| 261 | -} | |
| 262 | - | |
| 263 | -ol.kit-numbered-steps > li { | |
| 264 | - position: relative; | |
| 265 | - margin: 0 0 30px 0; | |
| 266 | - padding: 0 0 0 44px; | |
| 267 | - counter-increment: kit-numbered-step; | |
| 268 | -} | |
| 269 | - | |
| 270 | -ol.kit-numbered-steps > li::before { | |
| 271 | - content: counter(kit-numbered-step); | |
| 272 | - position: absolute; | |
| 273 | - top: 0; | |
| 274 | - left: 0; | |
| 275 | - width: 28px; | |
| 276 | - height: 28px; | |
| 277 | - color: #fff; | |
| 278 | - font-weight: 600; | |
| 279 | - line-height: 28px; | |
| 280 | - text-align: center; | |
| 281 | - background-color: #144264; | |
| 282 | - border-radius: 9999px; | |
| 283 | -} | |
| 284 | - | |
| 285 | -ol.kit-numbered-steps > li > h3 { | |
| 286 | - margin: 0 0 8px 0; | |
| 287 | - padding: 0; | |
| 288 | - font-size: 15px; | |
| 289 | - line-height: 28px; | |
| 290 | -} | |
| 291 | - | |
| 292 | -/** | |
| 293 | - * Code Block | |
| 294 | - */ | |
| 295 | -.kit-code { | |
| 296 | - position: relative; | |
| 297 | - max-width: 800px; | |
| 298 | - margin: 0 0 15px 0; | |
| 299 | -} | |
| 300 | - | |
| 301 | -.kit-code pre { | |
| 302 | - margin: 0; | |
| 303 | - padding: 15px 90px 15px 15px; | |
| 304 | - overflow-x: auto; | |
| 305 | - background-color: #f6f7f7; | |
| 306 | - border: 1px solid #dcdcde; | |
| 307 | - border-radius: 4px; | |
| 308 | -} | |
| 309 | - | |
| 310 | -/* WordPress styles inline <code> elements with their own background and spacing, | |
| 311 | - which would otherwise display behind each line of a multi line code block. */ | |
| 312 | -.kit-code pre code { | |
| 313 | - display: block; | |
| 314 | - margin: 0; | |
| 315 | - padding: 0; | |
| 316 | - font-size: 13px; | |
| 317 | - line-height: 1.7; | |
| 318 | - background: none; | |
| 319 | - border-radius: 0; | |
| 320 | -} | |
| 321 | - | |
| 322 | -.kit-code button.kit-code-copy { | |
| 323 | - position: absolute; | |
| 324 | - top: 8px; | |
| 325 | - right: 8px; | |
| 326 | -} | |
| 327 | - | |
| 328 | -/** | |
| 329 | - * Inline Tabs | |
| 330 | - */ | |
| 331 | -.kit-inline-tabs ul.kit-inline-tabs-nav { | |
| 332 | - display: flex; | |
| 333 | - flex-wrap: wrap; | |
| 334 | - margin: 0 0 20px 0; | |
| 335 | - padding: 0; | |
| 336 | - border-bottom: 1px solid #dcdcde; | |
| 337 | -} | |
| 338 | - | |
| 339 | -.kit-inline-tabs ul.kit-inline-tabs-nav li { | |
| 340 | - margin: 0; | |
| 341 | - padding: 0; | |
| 342 | - list-style-type: none; | |
| 343 | -} | |
| 344 | - | |
| 345 | -.kit-inline-tabs ul.kit-inline-tabs-nav li button.kit-inline-tab { | |
| 346 | - margin: 0 0 -1px 0; | |
| 347 | - padding: 10px 16px; | |
| 348 | - color: #565656; | |
| 349 | - font-size: 14px; | |
| 350 | - font-weight: 600; | |
| 351 | - cursor: pointer; | |
| 352 | - background: none; | |
| 353 | - border: none; | |
| 354 | - border-bottom: 2px solid transparent; | |
| 355 | -} | |
| 356 | - | |
| 357 | -.kit-inline-tabs ul.kit-inline-tabs-nav li button.kit-inline-tab:hover { | |
| 358 | - color: #144264; | |
| 359 | -} | |
| 360 | - | |
| 361 | -.kit-inline-tabs ul.kit-inline-tabs-nav li button.kit-inline-tab.is-active { | |
| 362 | - color: #144264; | |
| 363 | - border-bottom-color: #144264; | |
| 364 | -} | |
| 365 | - | |
| 366 | -.kit-inline-tabs .kit-inline-tab-panel { | |
| 367 | - display: none; | |
| 368 | -} | |
| 369 | - | |
| 370 | -.kit-inline-tabs .kit-inline-tab-panel.is-active { | |
| 371 | - display: block; | |
| 372 | -} | |
| 373 | - | |
| 374 | -/** | |
| 375 | - * MCP | |
| 376 | - */ | |
| 377 | -body.settings_page__wp_convertkit_settings .convertkit-mcp { | |
| 378 | - margin-top: 20px; | |
| 379 | -} | |
| 380 | - | |
| 381 | -body.settings_page__wp_convertkit_settings .convertkit-mcp p code, | |
| 382 | -body.settings_page__wp_convertkit_settings .convertkit-mcp li code { | |
| 383 | - margin: 0; | |
| 384 | -} | |
| 385 | - | |
| 386 | -body.settings_page__wp_convertkit_settings ul.convertkit-mcp-capabilities { | |
| 387 | - margin: 0 0 15px 20px; | |
| 388 | - list-style-type: disc; | |
| 389 | 235 | } |