mirror of
https://ghfast.top/https://github.com/bradvin/wp-git-sync.git
synced 2026-05-24 12:36:11 +08:00
220 lines
3.2 KiB
CSS
220 lines
3.2 KiB
CSS
.wpgs-overview-card {
|
|
margin-top: 16px;
|
|
max-width: 1200px;
|
|
background: #fff;
|
|
border: 1px solid #dcdcde;
|
|
border-radius: 8px;
|
|
padding: 14px 16px;
|
|
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
|
|
}
|
|
|
|
.wpgs-overview-card h2 {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.wpgs-repo-status {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.wpgs-status-dot {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.wpgs-status-dot.is-green {
|
|
background: #46b450;
|
|
}
|
|
|
|
.wpgs-status-dot.is-orange {
|
|
background: #dba617;
|
|
}
|
|
|
|
.wpgs-status-dot.is-red {
|
|
background: #d63638;
|
|
}
|
|
|
|
.wpgs-rate-limit-summary {
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.wpgs-action-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
|
|
.wpgs-action-row p {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpgs-setup-repo-confirm {
|
|
margin-top: 12px;
|
|
padding: 12px;
|
|
border: 1px solid #f0c7c7;
|
|
border-radius: 6px;
|
|
background: #fff7f7;
|
|
}
|
|
|
|
.wpgs-danger-note {
|
|
margin: 0 0 10px;
|
|
color: #8a2424;
|
|
}
|
|
|
|
.wpgs-setup-repo-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wpgs-setup-repo-actions form {
|
|
margin: 0;
|
|
}
|
|
|
|
.wpgs-button-danger {
|
|
background: #d63638 !important;
|
|
border-color: #b32d2e !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.wpgs-button-danger:hover,
|
|
.wpgs-button-danger:focus {
|
|
background: #b32d2e !important;
|
|
border-color: #8f2425 !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.wpgs-type-tabs-wrap {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.wpgs-type-counts {
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.wpgs-type-action-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin: 0 0 10px;
|
|
}
|
|
|
|
.wpgs-only-errors-btn.is-active {
|
|
background: #edf6ff;
|
|
border-color: #2271b1;
|
|
color: #1d4f7a;
|
|
}
|
|
|
|
.wpgs-type-tabs-nav {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.wpgs-type-panel[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
.wpgs-sync-table {
|
|
margin-top: 8px;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.wpgs-sync-table .wpgs-col-post {
|
|
width: 38%;
|
|
}
|
|
|
|
.wpgs-sync-table .wpgs-col-state {
|
|
width: 10%;
|
|
}
|
|
|
|
.wpgs-sync-table .wpgs-col-synced {
|
|
width: 12%;
|
|
}
|
|
|
|
.wpgs-sync-table .wpgs-col-error {
|
|
width: 30%;
|
|
}
|
|
|
|
.wpgs-sync-table .wpgs-col-actions {
|
|
width: 10%;
|
|
}
|
|
|
|
.wpgs-sync-table td.wpgs-row-last-error {
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.wpgs-only-errors-empty {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.wpgs-sync-table td.wpgs-row-actions {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.wpgs-sync-table td.wpgs-row-actions .button {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.wpgs-sync-table td.wpgs-row-actions .button:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.wpgs-pill {
|
|
display: inline-block;
|
|
padding: 2px 8px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wpgs-pill.is-synced {
|
|
background: #edfaef;
|
|
color: #1f7a2f;
|
|
}
|
|
|
|
.wpgs-pill.is-error {
|
|
background: #fdecec;
|
|
color: #9a1f1f;
|
|
}
|
|
|
|
.wpgs-pill.is-out-of-sync {
|
|
background: #fdecec;
|
|
color: #9a1f1f;
|
|
}
|
|
|
|
.wpgs-export-progress {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.wpgs-export-controls {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin: 0;
|
|
}
|
|
|
|
.wpgs-export-progress-bar {
|
|
width: 100%;
|
|
max-width: 540px;
|
|
height: 10px;
|
|
background: #f0f0f1;
|
|
border: 1px solid #dcdcde;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.wpgs-export-progress-bar span {
|
|
display: block;
|
|
height: 100%;
|
|
width: 0;
|
|
background: #2271b1;
|
|
transition: width 160ms linear;
|
|
}
|