WP PLUGIN プラグイン削除時のパラメータ削除とCSS調整
・投稿のソート用カスタムフィールドのキーについて、他システム等の競合を避け且つアンインストール時に前方一致で削除可能となるよう接頭辞を追加(接頭辞はプログラム側で持つため、管理画面上は表示しない) ・プラグイン削除時、オプションやカスタムフィールドを全削除するよう修正 ・標準+カスタムフィールドソートの横並びを修正
This commit is contained in:
+40
-3
@@ -131,7 +131,11 @@ dl.apop_setting_list_dd dd input {
|
||||
background: #fff;
|
||||
cursor: move;
|
||||
color: #4b4b4b;
|
||||
border: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.enable_box .product-list {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.search_normal_sort .product-list {
|
||||
@@ -140,6 +144,10 @@ dl.apop_setting_list_dd dd input {
|
||||
|
||||
.search_normal_sort .product-list-type-label,
|
||||
.disable_box .product-list-type-label {
|
||||
width: calc((100%) - 60px);
|
||||
}
|
||||
|
||||
.enable_box .product-list-type-label {
|
||||
width: calc(100% / 2);
|
||||
}
|
||||
|
||||
@@ -218,7 +226,7 @@ dl.apop_setting_list_dd dd input {
|
||||
}
|
||||
|
||||
.disable_box .product-list {
|
||||
width: calc((100% / 2) - 20px);
|
||||
width: calc((100% / 2) - 15px);
|
||||
display: flex;
|
||||
cursor: default;
|
||||
}
|
||||
@@ -235,12 +243,41 @@ dl.apop_setting_list_dd dd input {
|
||||
padding-left: .5em;
|
||||
}
|
||||
|
||||
.enable_box {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.enable_box,
|
||||
.disable_box {
|
||||
padding: .5em;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.enable_box h4 {
|
||||
margin: .5em 0 0;
|
||||
}
|
||||
|
||||
.disable_box h4 {
|
||||
margin: .5em 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 1264px) {
|
||||
.enable_box .product-list,
|
||||
.disable_box .product-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.search_normal_sort .product-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.search_normal_sort .product-list-type-label {
|
||||
.search_normal_sort .product-list-type-label,
|
||||
.disable_box .product-list-type-label {
|
||||
width: 100%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.search_normal_sort .product-list-sort-type {
|
||||
width: 100%;
|
||||
margin-bottom: 1em;
|
||||
display: block;
|
||||
|
||||
Reference in New Issue
Block a user