WP PLUGIN アーカイブページの投稿表示順設定

・検索と通常表示のオプションを追加
・項目の表示順を修正
・選択値によって表示/非表示の切り替えやフォームをDisabledにする等修正
・アンインストーラーを追加
This commit is contained in:
2021-05-07 21:19:14 +09:00
parent 803c742a9f
commit bacd6a1d72
8 changed files with 675 additions and 293 deletions
+61 -6
View File
@@ -1,5 +1,9 @@
@charset "UTF-8";
.post-order-nav {
width: 95%;
}
.post-order-nav ul {
display: flex;
margin-bottom: 0;
@@ -61,11 +65,13 @@ h3 {
width: calc((100% - 10px) / 2);
}
.apop_normal_order_target,
.apop_search_order_target {
display: flex;
}
.apop_search_order_target li:first-child{
.apop_normal_order_target li:first-child,
.apop_search_order_target li:first-child {
margin-right: 2em;
}
@@ -75,19 +81,20 @@ p.submit.post-order .button-primary {
right: 1.5em;
}
dl.post_per_page_list {
dl.apop_setting_list {
width: 100%;
margin-top: .5em;
}
dl.post_per_page_list dt {
dl.apop_setting_list dt {
float: left;
}
dl.post_per_page_list dd {
dl.apop_setting_list dd {
margin-left: 200px;
}
dl.post_per_page_list dd:first-of-type {
dl.apop_setting_list dd:first-of-type {
margin-bottom: 2em;
}
@@ -108,6 +115,15 @@ dl.post_per_page_list dd:first-of-type {
border: 1px solid #ababab;
}
.search_normal_sort .product-list {
padding: 1em .5em;
border-radius: 0px;
}
.search_normal_sort .product-list label:first-of-type {
width: 100px;
}
.product-list.no_order {
background: #ababab;
}
@@ -124,6 +140,45 @@ dl.post_per_page_list dd:first-of-type {
content: "";
}
.per_page_cat_input {
.hide_list {
display: none;
}
.no_registered_exp {
margin-top: 1em;
}
@media only screen and (max-width: 964px) {
.post-order-nav {
width: 98%;
}
.list-orders-outer {
display: block;;
}
.list-orders-inner.search_inner {
width: 100%;
}
.list-orders-inner {
width: 100%;
margin: 1.5em 0 0 0;
}
dl.apop_setting_list dt {
float: none;
width: 100%;
margin-bottom: 1em;
}
dl.apop_setting_list dd {
margin-left: 0;
}
dl.apop_setting_list li label input[type="text"] {
width: 95%;
margin-top: .5em;
}
}