| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549 |
- /* WordPress Import Interface Styles */
- .import-form-container {
- background: white;
- border: 1px solid #e9ecef;
- border-radius: 8px;
- padding: 2rem;
- margin-bottom: 2rem;
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
- }
- .form-section {
- margin-bottom: 2rem;
- }
- .form-section h3 {
- margin-bottom: 1.5rem;
- color: #2c3e50;
- font-size: 1.25rem;
- border-bottom: 2px solid #3498db;
- padding-bottom: 0.5rem;
- }
- .form-row {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 1.5rem;
- margin-bottom: 1rem;
- }
- .form-group {
- margin-bottom: 1.5rem;
- }
- .form-group label {
- display: block;
- margin-bottom: 0.5rem;
- font-weight: 600;
- color: #495057;
- }
- .form-group input[type="text"],
- .form-group input[type="password"] {
- width: 100%;
- padding: 0.75rem;
- border: 1px solid #ced4da;
- border-radius: 4px;
- font-size: 1rem;
- transition: border-color 0.2s ease, box-shadow 0.2s ease;
- }
- .form-group input:focus {
- outline: none;
- border-color: #3498db;
- box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
- }
- .form-group input::placeholder {
- color: #6c757d;
- font-style: italic;
- }
- /* Checkbox Styles */
- .checkbox-group {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
- gap: 1rem;
- margin-bottom: 1rem;
- }
- .checkbox-label {
- display: flex;
- align-items: center;
- cursor: pointer;
- padding: 0.75rem;
- border: 1px solid #e9ecef;
- border-radius: 4px;
- transition: background-color 0.2s ease, border-color 0.2s ease;
- }
- .checkbox-label:hover {
- background-color: #f8f9fa;
- border-color: #3498db;
- }
- .checkbox-label input[type="checkbox"] {
- display: none;
- }
- .checkmark {
- width: 20px;
- height: 20px;
- border: 2px solid #3498db;
- border-radius: 4px;
- margin-right: 0.75rem;
- position: relative;
- transition: background-color 0.2s ease, border-color 0.2s ease;
- }
- .checkbox-label input[type="checkbox"]:checked + .checkmark {
- background-color: #3498db;
- border-color: #3498db;
- }
- .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
- content: '✓';
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- color: white;
- font-size: 14px;
- font-weight: bold;
- }
- /* Form Actions */
- .form-actions {
- display: flex;
- gap: 1rem;
- justify-content: flex-start;
- padding-top: 1.5rem;
- border-top: 1px solid #e9ecef;
- }
- .form-actions .btn {
- padding: 0.75rem 2rem;
- border: none;
- border-radius: 4px;
- font-size: 1rem;
- font-weight: 600;
- cursor: pointer;
- transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
- text-decoration: none;
- display: inline-block;
- }
- .form-actions .btn:hover:not(:disabled) {
- transform: translateY(-2px);
- box-shadow: 0 4px 8px rgba(0,0,0,0.2);
- }
- .form-actions .btn:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- transform: none;
- }
- .btn-primary {
- background: linear-gradient(135deg, #3498db, #2980b9);
- color: white;
- border: 1px solid #2980b9;
- }
- .btn-primary:hover:not(:disabled) {
- background: linear-gradient(135deg, #2980b9, #3498db);
- }
- .btn-secondary {
- background: linear-gradient(135deg, #95a5a6, #7f8c8d);
- color: white;
- border: 1px solid #7f8c8d;
- }
- .btn-secondary:hover:not(:disabled) {
- background: linear-gradient(135deg, #7f8c8d, #95a5a6);
- }
- /* Import Results */
- .import-results {
- background: white;
- border: 1px solid #e9ecef;
- border-radius: 8px;
- padding: 2rem;
- margin-bottom: 2rem;
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
- }
- .import-results h3 {
- margin-bottom: 1.5rem;
- color: #2c3e50;
- font-size: 1.25rem;
- }
- .success-summary {
- background: #d4edda;
- border: 1px solid #c3e6cb;
- border-radius: 4px;
- padding: 1rem;
- margin-bottom: 1.5rem;
- }
- .success-message {
- color: #155724;
- font-weight: 600;
- margin: 0;
- }
- .error-summary {
- background: #f8d7da;
- border: 1px solid #f5c6cb;
- border-radius: 4px;
- padding: 1rem;
- margin-bottom: 1.5rem;
- }
- .error-message {
- color: #721c24;
- font-weight: 600;
- margin: 0;
- }
- .results-details {
- margin-bottom: 1.5rem;
- }
- .result-item {
- background: #f8f9fa;
- border: 1px solid #e9ecef;
- border-radius: 4px;
- padding: 1rem;
- margin-bottom: 1rem;
- }
- .result-item h4 {
- margin-bottom: 0.75rem;
- color: #495057;
- font-size: 1rem;
- }
- .result-stats {
- display: flex;
- gap: 2rem;
- flex-wrap: wrap;
- }
- .stat {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- font-size: 0.875rem;
- }
- .stat strong {
- font-weight: 600;
- }
- .stat.success {
- color: #28a745;
- }
- .stat.warning {
- color: #ffc107;
- }
- .stat.error {
- color: #dc3545;
- }
- /* Import Log */
- .import-log {
- margin-bottom: 1.5rem;
- }
- .import-log h4 {
- margin-bottom: 1rem;
- color: #495057;
- }
- .log-container {
- background: #f8f9fa;
- border: 1px solid #e9ecef;
- border-radius: 4px;
- padding: 1rem;
- max-height: 300px;
- overflow-y: auto;
- }
- .log-entry {
- display: flex;
- gap: 1rem;
- padding: 0.5rem 0;
- border-bottom: 1px solid #e9ecef;
- font-size: 0.875rem;
- }
- .log-entry:last-child {
- border-bottom: none;
- }
- .log-time {
- color: #6c757d;
- font-family: monospace;
- white-space: nowrap;
- }
- .log-message {
- color: #495057;
- flex: 1;
- }
- .log-entry.log-error .log-message {
- color: #dc3545;
- }
- .log-entry.log-warning .log-message {
- color: #ffc107;
- }
- .log-entry.log-info .log-message {
- color: #17a2b8;
- }
- /* Import Errors */
- .import-errors {
- margin-bottom: 1.5rem;
- }
- .import-errors h4 {
- margin-bottom: 1rem;
- color: #dc3545;
- }
- .error-list {
- background: #f8d7da;
- border: 1px solid #f5c6cb;
- border-radius: 4px;
- padding: 1rem;
- max-height: 200px;
- overflow-y: auto;
- }
- .error-item {
- color: #721c24;
- padding: 0.5rem 0;
- border-bottom: 1px solid #f5c6cb;
- font-size: 0.875rem;
- }
- .error-item:last-child {
- border-bottom: none;
- }
- /* Information Section */
- .info-section {
- background: white;
- border: 1px solid #e9ecef;
- border-radius: 8px;
- padding: 2rem;
- box-shadow: 0 2px 4px rgba(0,0,0,0.1);
- }
- .info-section h3 {
- margin-bottom: 1.5rem;
- color: #2c3e50;
- font-size: 1.25rem;
- border-bottom: 2px solid #3498db;
- padding-bottom: 0.5rem;
- }
- .info-content {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
- gap: 2rem;
- }
- .info-item {
- background: #f8f9fa;
- border: 1px solid #e9ecef;
- border-radius: 4px;
- padding: 1.5rem;
- }
- .info-item h4 {
- margin-bottom: 1rem;
- color: #495057;
- font-size: 1.1rem;
- }
- .info-item ul {
- margin: 0;
- padding-left: 1.5rem;
- }
- .info-item li {
- margin-bottom: 0.5rem;
- color: #6c757d;
- line-height: 1.5;
- }
- .info-item li:last-child {
- margin-bottom: 0;
- }
- /* Page Description */
- .page-description {
- color: #6c757d;
- font-size: 1rem;
- margin-bottom: 2rem;
- padding: 1rem;
- background: #f8f9fa;
- border-left: 4px solid #3498db;
- border-radius: 4px;
- }
- /* Loading States */
- .btn.loading {
- position: relative;
- pointer-events: none;
- }
- .btn.loading::after {
- content: '';
- position: absolute;
- top: 50%;
- left: 50%;
- width: 16px;
- height: 16px;
- margin: -8px 0 0 -8px;
- border: 2px solid transparent;
- border-top: 2px solid currentColor;
- border-radius: 50%;
- animation: spin 1s linear infinite;
- }
- @keyframes spin {
- 0% { transform: rotate(0deg); }
- 100% { transform: rotate(360deg); }
- }
- /* Alert Styles */
- .alert {
- padding: 1rem;
- border-radius: 4px;
- margin-bottom: 1.5rem;
- border: 1px solid transparent;
- }
- .alert-success {
- background: #d4edda;
- color: #155724;
- border-color: #c3e6cb;
- }
- .alert-error {
- background: #f8d7da;
- color: #721c24;
- border-color: #f5c6cb;
- }
- .alert-warning {
- background: #fff3cd;
- color: #856404;
- border-color: #ffeaa7;
- }
- /* Responsive Design */
- @media (max-width: 768px) {
- .import-form-container,
- .import-results,
- .info-section {
- padding: 1rem;
- }
-
- .form-row {
- grid-template-columns: 1fr;
- gap: 1rem;
- }
-
- .checkbox-group {
- grid-template-columns: 1fr;
- }
-
- .form-actions {
- flex-direction: column;
- align-items: stretch;
- }
-
- .form-actions .btn {
- width: 100%;
- text-align: center;
- }
-
- .result-stats {
- flex-direction: column;
- gap: 0.5rem;
- }
-
- .info-content {
- grid-template-columns: 1fr;
- gap: 1rem;
- }
-
- .log-entry {
- flex-direction: column;
- gap: 0.25rem;
- }
-
- .log-time {
- font-size: 0.75rem;
- }
- }
- /* Progress Indicator */
- .progress-indicator {
- width: 100%;
- height: 8px;
- background: #e9ecef;
- border-radius: 4px;
- overflow: hidden;
- margin: 1rem 0;
- }
- .progress-bar {
- height: 100%;
- background: linear-gradient(90deg, #3498db, #2980b9);
- border-radius: 4px;
- transition: width 0.3s ease;
- width: 0%;
- }
- /* Status Badges */
- .status-badge {
- display: inline-block;
- padding: 0.25rem 0.75rem;
- border-radius: 12px;
- font-size: 0.75rem;
- font-weight: 600;
- text-transform: uppercase;
- }
- .status-badge.success {
- background: #d4edda;
- color: #155724;
- }
- .status-badge.warning {
- background: #fff3cd;
- color: #856404;
- }
- .status-badge.error {
- background: #f8d7da;
- color: #721c24;
- }
- .status-badge.info {
- background: #d1ecf1;
- color: #0c5460;
- }
|