WP PLUGIN CSSセレクタの修正

・アンダーバーからハイフンに変更
This commit is contained in:
2021-06-19 10:18:06 +09:00
parent ff1dcdc5f4
commit a76410908b
9 changed files with 115 additions and 120 deletions
+64 -54
View File
@@ -64,11 +64,11 @@ h3 {
position: relative;
}
.sort_menu_list {
.sort-menu-list {
display: flex;
}
.sort_menu_list li:first-child {
.sort-menu-list li:first-child {
margin-right: 2em;
}
@@ -77,44 +77,44 @@ p.submit.post-order .button-primary {
bottom: 1em;
}
dl.apop_setting_list,
dl.apop_setting_list_dd {
dl.apop-setting-list,
dl.apop-setting-list-dd {
width: 100%;
margin-top: .5em;
}
dl.apop_setting_list dt {
dl.apop-setting-list dt {
float: left;
}
dl.apop_setting_list dd {
dl.apop-setting-list dd {
margin-left: 200px;
}
dl.apop_setting_list dd:first-of-type {
dl.apop-setting-list dd:first-of-type {
margin-bottom: 2em;
}
dl.apop_setting_list_dd dt {
dl.apop-setting-list-dd dt {
margin-top: 1em;
font-weight: bold;
}
dl.apop_setting_list_dd dd {
dl.apop-setting-list-dd dd {
margin: .5em 0;
border-bottom: 1px solid #c3c4c7;
}
dl.apop_setting_list_dd dd ul {
dl.apop-setting-list-dd dd ul {
margin-bottom: 1em;
}
dl.apop_setting_list_dd dd label {
dl.apop-setting-list-dd dd label {
display: block;
margin-bottom: .3em;
}
dl.apop_setting_list_dd dd input {
dl.apop-setting-list-dd dd input {
width: 100%;
}
@@ -134,47 +134,47 @@ dl.apop_setting_list_dd dd input {
border-bottom: 1px solid #ccc;
}
.drag_sort .product-list {
.drag-sort .product-list {
border: 1px solid #ccc;
}
.enable_box .product-list {
.enable-box .product-list {
padding: 1em 0;
}
.search_normal_sort .product-list {
.search-normal-sort .product-list {
display: flex;
}
.search_normal_sort .product-list-type-label,
.disable_box .product-list-type-label {
.search-normal-sort .product-list-type-label,
.disable-box .product-list-type-label {
width: calc((100%) - 60px);
}
.enable_box .product-list-type-label {
.enable-box .product-list-type-label {
width: calc(100% / 2);
}
.search_normal_sort .product-list-sort-type {
.search-normal-sort .product-list-sort-type {
width: 100%;
display: flex;
flex-wrap: wrap;
}
.search_normal_sort .product-list-sort-type label {
.search-normal-sort .product-list-sort-type label {
width: calc((100% / 4) - 5px);
}
.search_normal_sort .product-list-sort-type label:first-of-type {
.search-normal-sort .product-list-sort-type label:first-of-type {
width: 5em;
margin-right: 3em;
}
.product-list.no_order {
.product-list.no-order {
background: #ababab;
}
.list_order {
.list-order {
width: 2em;
}
@@ -186,55 +186,60 @@ dl.apop_setting_list_dd dd input {
content: "";
}
.no_registered_exp {
.no-registered-exp {
width: 100%;
margin: 1em 0 0 .5em;
}
.order_setting_list > li {
.order-setting-list > li {
padding: 1em;
border: 1px solid #ccc;
}
.select_per_page {
.select-per-page {
margin-top: 1em;
padding-top: 1em;
border-top: 1px solid #ccc;
}
.sort_custom_field {
.sort-custom-field {
width: 100%;
margin-top: .5em;
padding-top: .5em;
border-top: 1px solid #ccc;
}
.sort_custom_field_inner {
.sort-custom-field-inner {
display: flex;
}
.sort_custom_field_inner:first-child {
.sort-custom-field-inner:first-child {
margin-bottom: .5em;
}
.sort_custom_field_inner_label {
.sort-custom-field-inner-label {
width: 40%;
white-space: nowrap;
}
.disable_normal_list {
.search-normal-sort .product-list-sort-type label.sort-custom-field-text-label {
width: 7em;
}
.disable-normal-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: .5em 1em 1em 0;
}
.disable_box .product-list-sort-type label:not(:first-of-type),
.disable_box .sort_custom_field,
.disable_box .sort_custom_field_inner {
.disable-box .product-list-sort-type label:not(:first-of-type),
.disable-box .sort-custom-field,
.disable-box .sort-custom-field-inner {
display: none;
}
.disable_box .product-list {
.disable-box .product-list {
width: calc((100% / 2) - 15px);
display: flex;
cursor: default;
@@ -244,63 +249,63 @@ dl.apop_setting_list_dd dd input {
margin: 1em .5em;
}
.apop-form_table {
.apop-form-table {
background: #fff;
}
.apop-form_table th {
.apop-form-table th {
padding-left: .5em;
}
.enable_box {
.enable-box {
margin-bottom: 1em;
}
.enable_box,
.disable_box {
.enable-box,
.disable-box {
padding: .5em;
border: 1px solid #ccc;
}
.enable_box h4 {
.enable-box h4 {
margin: .5em 0 0;
}
.disable_box h4 {
.disable-box h4 {
margin: .5em 0;
}
@media only screen and (max-width: 1264px) {
.enable_box .product-list,
.disable_box .product-list {
.enable-box .product-list,
.disable-box .product-list {
display: block;
}
.search_normal_sort .product-list {
.search-normal-sort .product-list {
display: block;
}
.search_normal_sort .product-list-type-label,
.disable_box .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 {
.search-normal-sort .product-list-sort-type {
width: 100%;
margin-bottom: 1em;
display: block;
}
.search_normal_sort .product-list-sort-type {
.search-normal-sort .product-list-sort-type {
width: 100%;
}
.search_normal_sort .product-list-sort-type label {
.search-normal-sort .product-list-sort-type label {
width: calc((100% / 3) - 5px);
}
.search_normal_sort .product-list-sort-type label:first-of-type {
.search-normal-sort .product-list-sort-type label:first-of-type {
margin-right: 1em;
}
}
@@ -320,18 +325,23 @@ dl.apop_setting_list_dd dd input {
margin: 1.5em 0 0 0;
}
dl.apop_setting_list dt {
dl.apop-setting-list dt {
float: none;
width: 100%;
margin-bottom: 1em;
}
dl.apop_setting_list dd {
dl.apop-setting-list dd {
margin-left: 0;
}
dl.apop_setting_list li label input[type="text"] {
dl.apop-setting-list li label input[type="text"] {
width: 95%;
margin-top: .5em;
}
.sort-custom-field-inner-label {
width: auto;
white-space: normal;
}
}