Restore to commit 74e578279624c6045ca440a3459ebfa1f8d54191

This commit is contained in:
southseact-3d
2026-02-07 20:32:41 +00:00
commit ed67b7741b
252 changed files with 99814 additions and 0 deletions

View File

@@ -0,0 +1,222 @@
.pc-membership-admin-wrap {
padding: 20px 0;
}
.pc-membership-admin-wrap h1 {
margin-bottom: 20px;
}
.pc-membership-dashboard-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.pc-membership-card {
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
overflow: hidden;
}
.pc-membership-card-header {
background: #f0f0f1;
padding: 12px 15px;
border-bottom: 1px solid #c3c4c7;
display: flex;
align-items: center;
gap: 10px;
}
.pc-membership-card-header .dashicons {
color: #2271b1;
}
.pc-membership-card-header h3 {
margin: 0;
font-size: 14px;
font-weight: 600;
}
.pc-membership-card-body {
padding: 20px;
text-align: center;
}
.pc-membership-stat {
font-size: 32px;
font-weight: 700;
color: #2271b1;
}
.pc-membership-dashboard-section {
margin-top: 30px;
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
padding: 20px;
}
.pc-membership-table-wrapper {
margin-top: 15px;
}
.pc-membership-empty-state {
text-align: center;
padding: 60px 20px;
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
}
.pc-membership-empty-state h3 {
margin: 15px 0 10px;
}
.pc-membership-empty-state p {
color: #646970;
margin-bottom: 20px;
}
.pc-membership-page-settings {
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
padding: 20px;
max-width: 600px;
}
.pc-membership-page-setting {
margin-bottom: 20px;
}
.pc-membership-page-setting label {
display: block;
margin-bottom: 5px;
}
.pc-membership-page-setting select {
width: 100%;
max-width: 400px;
}
.pc-membership-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
}
.pc-membership-modal-content {
background: #fff;
border-radius: 4px;
width: 90%;
max-width: 600px;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.pc-membership-modal-header {
padding: 15px 20px;
border-bottom: 1px solid #c3c4c7;
display: flex;
justify-content: space-between;
align-items: center;
background: #f0f0f1;
}
.pc-membership-modal-header h2 {
margin: 0;
font-size: 18px;
}
.pc-membership-modal-close {
background: none;
border: none;
font-size: 24px;
cursor: pointer;
color: #646970;
padding: 0;
line-height: 1;
}
.pc-membership-modal-close:hover {
color: #23282d;
}
#pc-membership-plan-form,
.pc-membership-access-form {
padding: 20px;
}
.pc-membership-form-row {
margin-bottom: 20px;
}
.pc-membership-form-row label {
display: block;
font-weight: 600;
margin-bottom: 5px;
}
.pc-membership-form-row input[type="text"],
.pc-membership-form-row input[type="number"],
.pc-membership-form-row input[type="url"],
.pc-membership-form-row textarea,
.pc-membership-form-row select {
width: 100%;
max-width: 400px;
}
.pc-membership-form-actions {
padding-top: 15px;
border-top: 1px solid #e5e5e5;
margin-top: 20px;
}
.pc-membership-form-actions .button {
margin-right: 10px;
}
.pc-membership-access-rules {
background: #fff;
border: 1px solid #c3c4c7;
border-radius: 4px;
padding: 20px;
}
.pc-membership-access-rules h2 {
margin-top: 0;
margin-bottom: 20px;
font-size: 18px;
}
.pc-membership-access-form {
background: #f0f0f1;
padding: 20px;
border-radius: 4px;
margin-bottom: 30px;
}
.pc-membership-access-form .pc-membership-form-row {
margin-bottom: 15px;
}
.pc-membership-access-form select[multiple] {
height: 120px;
}
@media screen and (max-width: 782px) {
.pc-membership-dashboard-cards {
grid-template-columns: 1fr;
}
}