Skip to content

Commit 4a1876e

Browse files
authored
Merge pull request #666 from ProgressPlanner/filip/fix-popover-signup-button
Add styling for popover signup button
2 parents 738f0fd + 2cf362f commit 4a1876e

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

assets/css/admin.css

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ button.prpl-info-icon {
306306
.prpl-wrap button.prpl-button-secondary,
307307
.prpl-wrap a.prpl-button-primary,
308308
.prpl-wrap a.prpl-button-secondary,
309-
#progress_planner_dashboard_widget_score a.prpl-button-primary { /* To be used in WP Dashboard widget */
309+
#progress_planner_dashboard_widget_score a.prpl-button-primary,
310+
#progress_planner_dashboard_widget_score a.prpl-button-secondary { /* To be used in WP Dashboard widget */
310311
display: block;
311312
margin: 1rem 0;
312313
padding: 0.75rem 1.25rem;
@@ -360,13 +361,23 @@ button.prpl-info-icon {
360361
}
361362

362363
.prpl-wrap input.prpl-button-secondary,
363-
.prpl-wrap button.prpl-button-secondary {
364+
.prpl-wrap button.prpl-button-secondary,
365+
.prpl-wrap a.prpl-button-secondary,
366+
#progress_planner_dashboard_widget_score a.prpl-button-secondary {
364367
background: var(--prpl-color-selection-controls-inactive);
365368

369+
&::after {
370+
background: var(--prpl-color-selection-controls-inactive);
371+
}
372+
366373
&:not([disabled]):hover,
367374
&:not([disabled]):focus {
368375
background: var(--prpl-color-ui-icon);
369376
box-shadow: 3px 3px 10px var(--prpl-color-ui-icon);
377+
378+
&::after {
379+
background: var(--prpl-color-ui-icon);
380+
}
370381
}
371382
}
372383

views/popovers/subscribe-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ class="prpl-input"
6666
value="yes"
6767
>
6868
</div>
69-
<button id="submit-license-key" class="button button-primary"><?php \esc_html_e( 'Subscribe', 'progress-planner' ); ?></button>
69+
<button id="submit-license-key" class="prpl-button prpl-button-primary"><?php \esc_html_e( 'Subscribe', 'progress-planner' ); ?></button>
7070
</form>

0 commit comments

Comments
 (0)