Files
POST_ORDER_BY_ARCHIVE/css/apop-style.css
T
nobu 59e11dbb14 WP PLUGIN アーカイブページの投稿表示順設定
・タクソノミーの1ページ表示数をタクソノミー毎のなるよう修正
・タクソノミーの1ページ表示数変更に合わせてJSを修正
・タクソノミーの1ページ表示数変更に合わせてテンプレートファイル分割
・バグ修正:タームIDが無い存在しない場合にpre_get_postでセットしないよう修正
・バグ修正:通常と検索のpre_get_postでメタキー指定が漏れていたので追加
・バグ修正:カスタムタクソノミーのpre_get_postでメタキー指定が異なっていたので修正
2021-05-09 18:11:10 +09:00

228 lines
3.5 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@charset "UTF-8";
h3 {
font-weight: normal;
font-size: 16px;
}
.post-order-nav {
width: 95%;
}
.post-order-nav ul {
display: flex;
margin-bottom: 0;
}
.post-order-nav li {
width: 20em;
margin-right: .5em;
margin-bottom: 0;
padding: .5em;
text-align: center;
background: #ababab;
border: 1px solid #999;
cursor: pointer;
}
.post-order-nav li.en {
background: #fff;
border-bottom: 1px solid #fff;
opacity: 1;
}
.post-order-nav li:last-child {
margin-right: 0;
}
.post-setting-box {
margin: 5px 15px;
}
.post-order-box-outer {
width: 100%;
margin: -1px 0 2em;
border-top: 1px solid #999;
}
.post-order-box:not(:first-child) {
display: none;
}
.list-orders-outer {
width: 100%;
margin-bottom: 1em;
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
}
.list-orders-inner {
width: 45%;;
margin: 1.5em 1em 0 0;
padding: .5em;
border: 1px solid #999;
position: relative;
}
.list-orders-inner.search_inner {
width: 50%;
}
.apop_normal_order_target,
.apop_search_order_target {
display: flex;
}
.apop_normal_order_target li:first-child,
.apop_search_order_target li:first-child {
margin-right: 2em;
}
p.submit.post-order .button-primary {
position: absolute;
bottom: 1em;
}
dl.apop_setting_list {
width: 100%;
margin-top: .5em;
}
dl.apop_setting_list dt {
float: left;
}
dl.apop_setting_list dd {
margin-left: 200px;
}
dl.apop_setting_list dd:first-of-type {
margin-bottom: 2em;
}
.form-table tr {
border-bottom: 1px solid #ccc;
}
.post-order-list {
margin: .5em 1em 1em 0;
}
.product-list {
padding: 1em .5em;
background: #fff;
cursor: move;
color: #4b4b4b;
border: 1px solid #ababab;
}
.search_normal_sort .product-list {
display: flex;
}
.search_normal_sort .product-list-type-label {
width: calc(100% / 2);
display: flex;
justify-content: space-between;
}
.search_normal_sort .product-list-sort-type {
width: 100%;
display: flex;
}
.search_normal_sort .product-list-sort-type label {
width: calc((100% / 4) - 5px);
}
.product-list.no_order {
background: #ababab;
}
.list_order {
width: 2em;
}
.sort-num-label::before {
content: "";
}
.sort-num-label::after {
content: "";
}
.hide_list {
display: none;
}
.no_registered_exp {
width: 100%;
margin-top: 1em;
}
.order_setting_list > li {
padding: 1em;
border: 1px solid #ccc;
}
.select_per_page {
margin-top: 1em;
padding-top: 1em;
border-top: 1px solid #ccc;
}
@media only screen and (max-width: 1264px) {
.search_normal_sort .product-list {
display: block;
}
.search_normal_sort .product-list-type-label {
width: 100%;
margin-bottom: 1em;
display: block;
}
.search_normal_sort .product-list-sort-type {
width: 100%;
}
.search_normal_sort .product-list-sort-type label {
width: calc((100% / 3) - 5px);
}
}
@media only screen and (max-width: 964px) {
.post-order-nav {
width: 98%;
}
.list-orders-outer {
display: block;;
}
.list-orders-inner.search_inner {
width: auto;
}
.list-orders-inner {
width: auto;
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;
}
}