进行了一些小修复
This commit is contained in:
@@ -0,0 +1,162 @@
|
||||
.aksrt-pay-meta {
|
||||
margin: -6px -12px -12px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__field {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: 22% minmax(0, 1fr);
|
||||
gap: 14px;
|
||||
margin: 0;
|
||||
padding: 16px 18px;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__field:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__field.compact {
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__title {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding-top: 6px;
|
||||
color: #0991f5;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.45;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__control,
|
||||
.aksrt-pay-meta__control input[type="text"],
|
||||
.aksrt-pay-meta__control input[type="url"],
|
||||
.aksrt-pay-meta__control input[type="number"],
|
||||
.aksrt-pay-meta__control textarea,
|
||||
.aksrt-pay-meta__control select {
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__control .description {
|
||||
margin: 6px 0 0;
|
||||
color: #777;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__radios {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 18px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__radios .description {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__inline,
|
||||
.aksrt-pay-meta__number,
|
||||
.aksrt-pay-meta__upload,
|
||||
.aksrt-pay-meta__buttons,
|
||||
.aksrt-pay-meta__group--inline {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__inline input {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__inline select {
|
||||
flex: 0 0 110px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__number input,
|
||||
.aksrt-pay-meta__upload input {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__number > span {
|
||||
flex: 0 0 auto;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__upload {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__upload .button-link-delete {
|
||||
flex-basis: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||||
gap: 7px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 4px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
margin: 0 0 10px;
|
||||
padding: 10px;
|
||||
border: 1px solid #e3e5e8;
|
||||
border-radius: 4px;
|
||||
background: #f8f9fa;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group--inline {
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group > .button-link-delete {
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__notice {
|
||||
margin: 16px 18px;
|
||||
padding: 12px 14px;
|
||||
border-left: 4px solid #ffb900;
|
||||
background: #fff8e5;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
.aksrt-pay-meta__field {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__title {
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__gallery {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.aksrt-pay-meta__group--inline {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,159 @@
|
||||
.aksrt-post-extension {
|
||||
margin: -6px -12px -12px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field {
|
||||
box-sizing: border-box;
|
||||
display: grid;
|
||||
grid-template-columns: 34% minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
margin: 0;
|
||||
padding: 14px 12px;
|
||||
border-top: 1px solid #eee;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__title {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding-top: 6px;
|
||||
color: #0991f5;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 1.4;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__control,
|
||||
.aksrt-post-extension__control input[type="text"],
|
||||
.aksrt-post-extension__control input[type="url"],
|
||||
.aksrt-post-extension__control input[type="number"] {
|
||||
box-sizing: border-box;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__control input[type="text"],
|
||||
.aksrt-post-extension__control input[type="url"],
|
||||
.aksrt-post-extension__control input[type="number"] {
|
||||
min-height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__control .description {
|
||||
display: block;
|
||||
margin: 5px 0 0;
|
||||
color: #777;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__danger {
|
||||
color: #ff4646;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__upload {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__upload .button-link-delete {
|
||||
grid-column: 1 / -1;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__buttons {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__gallery {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__gallery:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__gallery img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 3px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__radios {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__radios label,
|
||||
.aksrt-custom-filter-field label {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field--check {
|
||||
display: block;
|
||||
padding-left: calc(34% + 22px);
|
||||
}
|
||||
|
||||
.aksrt-post-extension__episode {
|
||||
position: relative;
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
border: 1px solid #e5e5e5;
|
||||
border-radius: 4px;
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
}
|
||||
|
||||
.aksrt-post-extension__episode > input {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__episode > .button-link-delete {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.aksrt-custom-filter-field {
|
||||
padding: 9px 0;
|
||||
border-bottom: 1px solid #eee;
|
||||
}
|
||||
|
||||
.aksrt-custom-filter-field:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.aksrt-custom-filter-field strong {
|
||||
display: block;
|
||||
margin-bottom: 7px;
|
||||
color: #0991f5;
|
||||
}
|
||||
|
||||
body.block-editor-page #post_main .inside {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 782px) {
|
||||
.aksrt-post-extension__field {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__title {
|
||||
padding-top: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.aksrt-post-extension__field--check {
|
||||
padding-left: 12px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user