Skip to content

Commit

Permalink
Merge pull request #108 from wp-blocks/admin/css-options
Browse files Browse the repository at this point in the history
Admin options page ui update
  • Loading branch information
erikyo authored Jan 26, 2024
2 parents b9e30de + 151963a commit 6c2a671
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions admin/CF7_AntiSpam_Admin_Customizations.php
Original file line number Diff line number Diff line change
Expand Up @@ -1601,13 +1601,13 @@ public function cf7a_honeyform_excluded_pages_callback() {
<select name="add" multiple class="form-control add-select">
%s
</select>
<div class="honeyform-action add-list">%s ></div>
<div class="button button-primary honeyform-action add-list">%s ></div>
</div>
<div class="remove">
<select id="honeyform_excluded_pages" name="cf7a_options[honeyform_excluded_pages][]" multiple="multiple" class="form-control remove-select" >
%s
</select>
<div class="honeyform-action remove-list">< %s</div>
<div class="button button-primary honeyform-action remove-list">< %s</div>
</div>
</div>
</div>',
Expand Down
13 changes: 11 additions & 2 deletions src/settings/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,11 @@ $color__info: $color__blue;
margin-top: 0.5rem;
padding: 0.4rem 0.3rem;
border-radius: 4px;
background-color: $color__dark_blue;
color: $color__white;
text-align: center;
box-sizing: border-box;
min-height: inherit;
line-height: 1rem;
width: 100%;
}

.add,
Expand Down Expand Up @@ -136,6 +139,12 @@ $color__info: $color__blue;
}
}

.cf7a-option-notice {
padding: 4px 8px;
border: 2px solid $color__yellow;
border-radius: 8px;
}

.blacklist-table {
display: block;
max-width: 100%;
Expand Down

0 comments on commit 6c2a671

Please sign in to comment.