Advanced Web Server Manager
Complete File Manager & Terminal - Standalone Version
By Sid Gifari | Gifari Industries
Current path:
/
/
home
/
qtdcvxyp
/
public_html
/
wp-content
/
plugins
/
socialfeeds
/
assets
/
css
✏️
Editing: admin.css
.socialfeeds-meta-channel-title { font-weight: bold; font-size: 1.08em; color: #222; } .socialfeeds-meta-channel-desc { font-size: 0.96em; color: #666; margin-top: 2px; } .socialfeeds-meta-channel-custom { font-size: 0.98em; color: #c00; margin-top: 2px; } /* Premium Admin Header Styles */ .socialfeeds-admin-header { position: sticky; top: 32px; z-index: 999; background: #fff; border-radius: 0 0 12px 12px; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } .socialfeeds-header-left { display: flex; align-items: center; gap: 30px; } .socialfeeds-logo { display: flex; align-items: center; justify-content: center; height: 38px; width: 38px; } .socialfeeds-logo .dashicons { font-size: 22px; width: 22px; height: 22px; } .socialfeeds-nav-tabs { display: flex; gap: 5px; } .socialfeeds-nav-tab { padding: 8px 15px; color: #646970; text-decoration: none !important; font-weight: 500; font-size: 14px; border-radius: 8px; transition: all 0.2s; display: flex; align-items: center; gap: 8px; } .socialfeeds-nav-tab .dashicons { font-size: 18px; width: 18px; height: 18px; color: #a7aaad; } .socialfeeds-nav-tab:hover { background: #f0f0f1; color: #5525d9; } .socialfeeds-nav-tab.active { background: #f0f6fc; color: #5525d9; } .socialfeeds-nav-tab.active .dashicons { color: #5525d9; } .socialfeeds-pro-tag { background: #fff8e1; color: #ffb300; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 700; text-transform: uppercase; border: 1px solid #ffe57f; } .socialfeeds-modal-btn-purple { background: #5525d6 !important; border-color: #5525d6 !important; color: #fff !important; padding: 8px 16px !important; border-radius: 4px !important; cursor: pointer !important; font-weight: 500 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; text-decoration: none !important; transition: all 0.2s ease !important; } .socialfeeds-modal-btn-purple:hover { background: #441eb1 !important; border-color: #441eb1 !important; color: #fff !important; transform: translateY(-1px); } .socialfeeds-header-right { display: flex; align-items: center; gap: 15px; } .socialfeeds-upgrade-btn { background: #FF6600; color: #fff !important; padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 13px; text-decoration: none !important; display: flex; align-items: center; gap: 8px; transition: transform 0.2s, background 0.2s; } .socialfeeds-upgrade-btn:hover { background: #FF6600; transform: translateY(-1px); } .socialfeeds-header-icons { display: flex; gap: 12px; padding-left: 15px; border-left: 1px solid #f0f0f1; } .socialfeeds-icon-btn { color: #a7aaad; cursor: pointer; transition: color 0.2s; } .socialfeeds-icon-btn:hover { color: #1d2327; } .socialfeeds-support-page{ background: #fff; padding: 60px; border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } .socialfeeds-placeholder-page { background: #fff; padding: 60px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); } .socialfeeds-support-page h2, .socialfeeds-placeholder-page h2 { font-size: 28px; margin-bottom: 15px; } .socialfeeds-support-page p, .socialfeeds-placeholder-page p { color: #666; font-size: 16px; } #wpcontent { padding-left: unset !important; } .socialfeeds-wrap { width: 100%; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial; } .socialfeeds-tab-content { display: none; } .socialfeeds-tab-content.active { display: block; } /* ===== WIZARD CONTAINER ===== */ .socialfeeds-wizard-container { background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); padding: 40px; } .socialfeeds-wizard { padding: 30px; } /* ===== FEED TYPE SELECTION (STEP 1) ===== */ .socialfeeds-feed-main-card { border: none; background: transparent; } .socialfeeds-feed-main-header { margin-bottom: 30px; } .socialfeeds-feed-main-header h2 { font-size: 18px; margin: 0 0 8px; color: #222; } .socialfeeds-feed-main-header p { margin: 0; color: #666; font-size: 14px; } /* Wrapper: 3 per row + wrap */ .socialfeeds-feed-type-wrapper { display: flex; flex-wrap: wrap; gap: 15px; } /* Card */ .socialfeeds-feed-type-card { flex: 0 0 calc(30.333% - 15px); /* exactly 3 per row */ min-height: 85px; padding: 25px 15px; border: 2px solid #e1e1e1; cursor: pointer; text-align: center; transition: .25s; position: relative; /* needed for tick position */ } /* Headings */ .socialfeeds-feed-type-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: #222; } /* Description */ .socialfeeds-feed-type-card p { margin: 0; color: #666; font-size: 13px; } /* Selected State */ .socialfeeds-feed-type-card.selected { border-color: #f42f33; } /* Red tick inside top-right when selected */ .socialfeeds-feed-type-card.selected::after { content: "\2713"; /* checkmark */ position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; background-color: rgb(253, 32, 32); color: white; font-size: 14px; font-weight: bold; display: flex; align-items: center; justify-content: center; } .socialfeeds-feed-type-card.selected:hover { border-color: #f42f33 !important; background: #fff !important; } .socialfeeds-next-btn-wrap .button { padding: 5px 30px; font-size: 12px; font-weight: 550; transition: all 0.2s ease; } .socialfeeds-next-btn-wrap .button.socialfeeds-disabled { opacity: 0.5 !important; cursor: not-allowed !important; pointer-events: none !important; } .socialfeeds-next-btn-wrap .button.socialfeeds-ig-modal-wide, .socialfeeds-fb-modal-wide { max-width: 680px !important; max-height: 90vh !important; overflow-y: auto !important; } /* ===== WIZARD TABS ===== */ .socialfeeds-wizard-tabs { display: flex; gap: 15px; border-bottom: 2px solid #e1e1e1; margin-bottom: 30px; } .socialfeeds-wizard-tab { display: flex; align-items: center; gap: 8px; padding: 12px 0; cursor: pointer; border-bottom: 3px solid transparent; font-weight: 600; transition: all 0.2s ease; color: #666; font-size: 15px; } .socialfeeds-wizard-tab .socialfeeds-tab-number { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: #e1e1e1; border-radius: 50%; font-size: 12px; font-weight: bold; color: #333; } .socialfeeds-wizard-tab.active { color: #5525d9; border-bottom-color: #5525d9; } .socialfeeds-wizard-tab.active .socialfeeds-tab-number { background: #5525d9; color: white; } /* ===== TAB CONTENT ===== */ .socialfeeds-wizard-tab-content { display: none; } .socialfeeds-wizard-tab-content.active { display: block; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0.5; } to { opacity: 1; } } .socialfeeds-wizard-tab-content .socialfeeds-title { font-size: 22px; margin: 0 0 25px; color: #222; } /* ===== SOURCE TAB CONTENT ===== */ .socialfeeds-form-group { margin-bottom: 20px; } .socialfeeds-input, .socialfeeds-select { width: 100%; height: 40px; padding: 8px 12px; border: 1px solid #ddd; font-size: 14px; background: white; transition: border 0.2s ease; } .socialfeeds-input:focus, .socialfeeds-select:focus { outline: none; border-color: #0073aa; box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1); } .socialfeeds-help-text { margin: 6px 0 0; color: #666; font-size: 13px; line-height: 1.5; } .socialfeeds-preview-panel { background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; padding: 20px; margin: 20px 0; text-align: center; } .socialfeeds-preview-panel h3 { margin-top: 0; font-size: 15px; font-weight: 600; } .socialfeeds-preview-image { max-width: 100%; max-height: 250px; border-radius: 4px; margin: 12px 0; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .socialfeeds-message { padding: 12px; border-radius: 4px; margin: 10px 0 0; font-size: 13px; } .socialfeeds-message-info { background: #e7f3ff; color: #0073aa; border: 1px solid #b3d9ff; } .socialfeeds-button-group { display: flex; gap: 10px; justify-content: flex-end; margin-top: 25px; } .socialfeeds-feed-list { display: flex; flex-direction: column; gap: 8px; } .socialfeeds-feed-item { display: flex; align-items: center; gap: 8px; padding: 8px; cursor: pointer; border-radius: 4px; transition: background 0.2s; font-size: 14px; } .socialfeeds-feed-item:hover { background: #f0f0f0; } .socialfeeds-feed-item input { cursor: pointer; } /* ===== CUSTOMIZE TAB (New Sidebar Layout) ===== */ .socialfeeds-customize-columns { display: grid; grid-template-columns: 1fr 360px; /* Flexible Preview + Fixed Sidebar */ gap: 20px; margin-bottom: 25px; align-items: start; } /* LEFT COLUMN: PREVIEW CONTAINER */ .socialfeeds-customize-preview-column { display: flex; flex-direction: column; min-width: 0; } .socialfeeds-customize-preview { background: #f0f0f1; border: 1px solid #dcdcde; border-radius: 8px; padding: 20px; position: relative; transition: width 0.3s ease, margin 0.3s ease; margin-left: auto; margin-right: auto; max-width: 100%; width: 100%; box-sizing: border-box; } .socialfeeds-preview-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .socialfeeds-preview-label { font-size: 11px; font-weight: 700; color: #646970; letter-spacing: 0.5px; text-transform: uppercase; } .socialfeeds-preview-device-toggles { display: flex; background: #fff; border: 1px solid #dcdcde; border-radius: 4px; overflow: hidden; } .socialfeeds-preview-device-btn { background: none; border: none; padding: 6px 10px; cursor: pointer; color: #646970; border-right: 1px solid #dcdcde; transition: all 0.2s; } .socialfeeds-preview-device-btn:last-child { border-right: none; } .socialfeeds-preview-device-btn:hover, .socialfeeds-preview-device-btn.active { background: #f6f7f7; color: #2271b1; } .socialfeeds-preview-device-btn.active { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); } .socialfeeds-preview-box-wrapper { background: #fff; border: 1px solid #dcdcde; border-radius: 4px; min-height: 400px; padding: 20px; /* Inner padding for the preview content itself */ overflow: hidden; position: relative; /* Simulate browser window or container */ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .socialfeeds-preview-box { width: 100%; margin: 0 auto; transition: width 0.3s ease; } .socialfeeds-preview-hint { margin: 12px 0 0; color: #646970; font-size: 13px; text-align: center; font-style: italic; } /* RIGHT COLUMN: SETTINGS SIDEBAR */ .socialfeeds-customize-settings-sidebar { background: #fff; border: 1px solid #dcdcde; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); } /* SIDEBAR TABS */ .socialfeeds-sidebar-tabs { display: flex; border-bottom: 1px solid #dcdcde; background: #f6f7f7; } .socialfeeds-sidebar-tab-btn { flex: 1; background: none; border: none; padding: 12px 0; font-size: 13px; font-weight: 600; color: #646970; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.2s; } .socialfeeds-sidebar-tab-btn:hover { color: #135e96; background: #f0f0f1; } .socialfeeds-sidebar-tab-btn.active { color: #5525d9; border-bottom-color: #5525d9; background: #fff; } /* SIDEBAR CONTENT */ .socialfeeds-sidebar-tab-pane { display: none; padding: 20px; animation: fadeIn 0.2s ease-out; } .socialfeeds-sidebar-tab-pane.active { display: block; } .socialfeeds-sidebar-header { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f1; } .socialfeeds-sidebar-header h3 { margin: 0; font-size: 16px; color: #1d2327; display: flex; align-items: center; gap: 8px; } /* CONTROLS */ .socialfeeds-control-group { margin-bottom: 20px; } .socialfeeds-control-label { display: block; font-size: 11px; font-weight: 700; color: #646970; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; } .socialfeeds-input-full, .socialfeeds-select-full { width: 100%; padding: 6px 10px; border: 1px solid #8c8f94; border-radius: 4px; font-size: 13px; background: #fff; color: #2c3338; } /* LAYOUT SELECTOR (Grid/List/Carousel) */ .socialfeeds-layout-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .socialfeeds-layout-option input { display: none; } .layout-box { border: 1px solid #c3c4c7; border-radius: 4px; padding: 10px 5px; text-align: center; cursor: pointer; transition: all 0.2s; background: #fff; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #50575e; } .layout-box .dashicons { font-size: 24px; width: 24px; height: 24px; color: #a7aaad; /* Default icon color */ } .layout-box span { font-size: 12px; font-weight: 500; } .socialfeeds-layout-option input:checked+.layout-box { border-color: #2271b1; background: #f0f6fc; color: #2271b1; box-shadow: 0 0 0 1px #2271b1; } .socialfeeds-layout-option input:checked+.layout-box .dashicons { color: #2271b1; } .socialfeeds-layout-option { position: relative; } .socialfeeds-layout-option.socialfeeds-locked .layout-box { background: #fdfdfd; cursor: default; opacity: 0.8; } .socialfeeds-layout-option.socialfeeds-locked .layout-box .dashicons { color: #dcdcde; filter: grayscale(1); } .socialfeeds-pro-badge-small { position: absolute; top: -8px; right: -8px; background: linear-gradient(135deg, #FFD700, #B8860B); color: #fff; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); z-index: 10; border: 1px solid rgba(255, 255, 255, 0.3); } .socialfeeds-pro-badge-small .dashicons { font-size: 12px; width: 12px; height: 12px; line-height: 1; color: #fff; } /* RANGE SLIDER */ .socialfeeds-range-slider { display: flex; align-items: center; gap: 10px; } .socialfeeds-range-slider input[type=range] { flex: 1; -webkit-appearance: none; appearance: none; background: transparent; } .socialfeeds-range-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 16px; width: 16px; border-radius: 50%; background: #2271b1; cursor: pointer; margin-top: -6px; } .socialfeeds-range-slider input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 4px; cursor: pointer; background: #dcdcde; border-radius: 2px; } .flex-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; } .socialfeeds-value-display { font-size: 12px; color: #2271b1; font-weight: 600; } /* MODERN ACCORDIONS (V3 Style) */ .socialfeeds-accordion-wrapper { display: flex; flex-direction: column; gap: 12px; } .socialfeeds-accordion-item { background: #fff; border: 1px solid #f1f5f9; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02); transition: all 0.3s ease; } .socialfeeds-accordion-item:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .socialfeeds-accordion-item.active { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); } .socialfeeds-accordion-header { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; cursor: pointer; user-select: none; } .socialfeeds-header-left{ display: flex; align-items: center; gap: 15px; } .socialfeeds-icon-wrap{ width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 10px; } .socialfeeds-icon-wrap .dashicons{ font-size: 20px; width: 20px; height: 20px; } .socialfeeds-title-wrap{ display: flex; flex-direction: column; } .socialfeeds-sidebar-title{ font-size: 15px; font-weight: 600; color: #1e293b; } .socialfeeds-header-right{ display: flex; align-items: center; gap: 12px; } .socialfeeds-summary{ font-size: 12px; color: #94a3b8; } .socialfeeds-chevron { font-size: 20px; color: #94a3b8; transition: transform 0.3s ease; } .socialfeeds-accordion-item.active .socialfeeds-chevron { transform: rotate(180deg); } .socialfeeds-accordion-body { display: none; padding: 0 20px 20px; border-top: 1px solid #f1f5f9; } /* Modern Toggles */ .socialfeeds-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #f8fafc; } .socialfeeds-toggle-row:last-child { border-bottom: none; } .socialfeeds-toggle-info { display: flex; flex-direction: column; gap: 2px; } .socialfeeds-toggle-title { font-size: 14px; font-weight: 600; color: #1e293b; } .socialfeeds-toggle-desc { font-size: 12px; color: #94a3b8; } /* Modern Switch */ .socialfeeds-switch { position: relative; display: inline-block; width: 44px; height: 24px; } .socialfeeds-switch input { opacity: 0; width: 0; height: 0; } .socialfeeds-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #e2e8f0; transition: .4s; border-radius: 24px; } .socialfeeds-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; } input:checked+.socialfeeds-slider { background-color: #5525d9; } input:focus+.socialfeeds-slider { box-shadow: 0 0 1px #5525d9; } input:checked+.socialfeeds-slider:before { transform: translateX(20px); } .socialfeeds-nested-options { margin-top: 10px; padding: 15px; background: #f8fafc; border-radius: 12px; } /* RESPONSIVE Sidebar */ @media (max-width: 960px) { .socialfeeds-customize-columns { grid-template-columns: 1fr; } .socialfeeds-customize-settings-sidebar { width: 100%; } } /* ADMIN MODAL STYLES (moved from inline UI) */ .socialfeeds-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 99999; align-items: center; justify-content: center; } .socialfeeds-modal-overlay.active { display: flex !important; } .socialfeeds-modal-content { background: #fff; padding: 30px; border-radius: 8px; max-width: 450px; width: 90%; position: relative; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .socialfeeds-modal-close { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 28px; cursor: pointer; color: #999; } .socialfeeds-modal-close:hover { color: #333; } .socialfeeds-modal-content h2 { margin-top: 0; margin-bottom: 10px; } .socialfeeds-modal-content p { color: #666; margin-bottom: 20px; } .socialfeeds-modal-form-group { margin-bottom: 20px; } .socialfeeds-modal-form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; } .socialfeeds-modal-form-group input { width: 100%; padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .socialfeeds-modal-form-group input:focus { outline: none; border-color: #0073aa; box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1); } .socialfeeds-modal-form-group .description { font-size: 12px; color: #999; margin-top: 5px; margin-bottom: 0; } .socialfeeds-modal-actions { display: flex; gap: 10px; flex-direction: column; } .socialfeeds-modal-actions .button { width: 100%; text-align: center; padding: 10px; } .socialfeeds-setting-group:last-child { margin-bottom: 0; border-bottom: none; } /* Collapsible fieldset styles (accordion) */ .socialfeeds-fieldset legend .socialfeeds-collapse-arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 12px; border-radius: 50%; background: none; color: #888; font-weight: 700; font-size: 18px; border: 1.5px solid #e5e5e5; transition: transform 0.3s, background 0.2s; } .socialfeeds-fieldset .socialfeeds-fieldset-body { overflow: hidden; transition: max-height 0.32s cubic-bezier(.4, 0, .2, 1), opacity 0.24s cubic-bezier(.4, 0, .2, 1); background: none; padding: 0 0 18px 40px; } .socialfeeds-fieldset.collapsed legend .socialfeeds-collapse-arrow { transform: rotate(0deg); background: #fff; } .socialfeeds-fieldset:not(.collapsed) legend .socialfeeds-collapse-arrow { transform: rotate(45deg); background: #f0f0f0; color: #0073aa; } .socialfeeds-fieldset legend { cursor: pointer; } .socialfeeds-checkbox { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; user-select: none; } .socialfeeds-checkbox input { cursor: pointer; width: auto; } .socialfeeds-label { font-weight: 500; color: #333; font-size: 14px; margin-bottom: 4px; } .socialfeeds-color-input { width: 60px !important; height: 40px; padding: 2px; cursor: pointer; } .socialfeeds-setting-input { transition: border 0.2s ease; } .socialfeeds-setting-input:focus { outline: none; border-color: #0073aa; box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1); } /* RESPONSIVE */ @media (max-width: 900px) { .socialfeeds-customize-columns { grid-template-columns: 1fr; } .socialfeeds-feed-type-wrapper { grid-template-columns: repeat(2, 1fr); } .socialfeeds-wizard-tabs { flex-wrap: wrap; } } .socialfeeds-card h2 { margin-top: 0; } /* === 3 Cards in One Line === */ .socialfeeds-cards { display: flex; gap: 20px; justify-content: space-between; align-items: stretch; flex-wrap: nowrap; /* Forces all 3 cards in one row */ } /* Ensure equal size */ .socialfeeds-card { flex: 1; min-width: 300px; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08); } /* Buttons */ .socialfeeds-card-actions { margin-top: 28px; display: flex; gap: 6px; justify-content: center; } .socialfeeds-btn { display: inline-block; padding: 7px 10px; border-radius: 6px; text-decoration: none; background: #13018d; color: #fff; font-weight: 600; transition: 0.2s; } .socialfeeds-btn-secondary { background: #f7f7f7; color: #333; border: 1px solid #ddd; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08); } .socialfeeds-note { margin-top: 18px; color: #666; font-size: 13px; } /* Responsive */ @media(max-width:900px) { .socialfeeds-card { width: 100%; } } /* Settings form tweaks */ .socialfeeds-wrap .form-table select, .socialfeeds-wrap .form-table input[type="number"] { padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; } .socialfeeds-wrap .form-table .description { margin-top: 6px; color: #666; } .socialfeeds-card { text-align: center; } .socialfeeds-youtube-inline { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; } .socialfeeds-youtube-inline h3 { margin: 0; } .socialfeeds-add-feed-btn { background: #2271b1 !important; color: #fff !important; padding: 8px 12px 8px 32px; font-size: 15px; border: none !important; text-decoration: none; cursor: pointer; } .socialfeeds-flex-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; } .socialfeeds-api-input { width: 350px; /* Increase width */ padding: 8px 12px; font-size: 14px; width: 70%; } .socialfeeds-save-btn { background: #2271b1; /* WordPress primary blue */ color: #fff; border: none; padding: 8px 18px; font-size: 14px; border-radius: 4px; cursor: pointer; } .widefat td:first-child, .widefat th:first-child { width: 30px; } .socialfeeds-bulk-actions { margin-bottom: 10px; gap: 10px; } .socialfeeds-feed-type-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; } .socialfeeds-feed-type-card { border: 2px solid #e5e5e5; background: #f9fafb; padding: 18px; cursor: pointer; transition: 0.2s ease; } .socialfeeds-feed-type-card:hover { border-color: #c9c9c9; background: #fff; } .socialfeeds-feed-type-card.selected { border-color: #ff4d4f; background: #fff; } .socialfeeds-card-inner { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 16px; } .socialfeeds-card-icon img { width: 55px; height: 55px; object-fit: contain; } .socialfeeds-card-text { margin: 0; font-size: 17px; font-weight: 600; color: #1e1e1e; text-align: left !important; } .socialfeeds-card-text p { margin: 4px 0 0; font-size: 14px; color: #5e5e5e; } .socialfeeds-next-btn-wrap { margin-top: 10px !important; } .socialfeeds-feed-type-card.socialfeeds-selected { outline: 2px solid #0073aa; box-shadow: 0 0 0 2px #0073aa33; background: #f0f8ff; border-radius: 8px; transition: box-shadow 0.2s, outline 0.2s, background 0.2s; } .socialfeeds-channel-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; } /* Modal overlay */ .socialfeeds-embed-modal { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 99999; } /* Modal container */ .socialfeeds-embed-container { max-width: 960px; width: 95%; margin: 40px auto; background: #fff; position: relative; overflow: hidden; } /* Close button */ .socialfeeds-embed-close { position: absolute; right: 12px; top: 8px; font-size: 28px; border: none; background: transparent; cursor: pointer; } /* Content */ .socialfeeds-embed-content { padding: 16px; } /* Shortcode input + copy button */ .socialfeeds-embed-shortcode-wrap { display: flex; gap: 6px; margin-bottom: 10px; } #socialfeeds-embed-shortcode { flex: 1; padding: 6px; font-family: monospace; } /* Preview buttons */ .socialfeeds-embed-preview-buttons { display: flex; gap: 6px; margin-bottom: 10px; } /* Preview wrapper */ .socialfeeds-embed-preview-wrap { border: 1px solid #eee; background: #fafafa; padding: 8px; } .socialfeeds-embed-preview { width: 100%; } /* ===== TAB NAVIGATION ===== */ .socialfeeds-tabs-nav { display: flex; gap: 12px; margin: 24px 0; padding: 0; border-bottom: 2px solid #e1e1e1; } .socialfeeds-tab-btn { padding: 12px 20px; background: none; border: none; border-bottom: 3px solid transparent; cursor: pointer; font-size: 16px; font-weight: 500; color: #666; transition: all 0.3s ease; position: relative; bottom: -2px; } .socialfeeds-tab-btn:hover { color: #333; background: rgba(244, 47, 51, 0.05); } .socialfeeds-tab-btn.socialfeeds-tab-btn-active { color: #f42f33; border-bottom-color: #f42f33; } /* ===== TAB PANELS ===== */ .socialfeeds-tab-panel { display: none; animation: fadeIn 0.3s ease; } .socialfeeds-tab-panel.socialfeeds-tab-panel-active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } /* Badge styling for platform types */ .socialfeeds-badge-youtube .dashicons { font-size: 28px; width: 28px; height: 28px; line-height: 28px; color: #e53935; } .socialfeeds-badge-instagram .dashicons { font-size: 28px; width: 28px; height: 28px; line-height: 28px; margin-bottom: 10px; background: radial-gradient(circle at 30% 107%, #fdf497, #fd5949, #d6249f, #285AEB); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .socialfeeds-badge-facebook .dashicons { font-size: 28px; width: 28px; height: 28px; line-height: 28px; color: #2b03cb; } /* Copy button styling */ .socialfeeds-copy-shortcode { background: #f5f5f5; border: 1px solid #ddd; padding: 6px 10px; border-radius: 3px; cursor: pointer; transition: all 0.2s ease; color: #666; } .socialfeeds-copy-shortcode:hover { background: #e8e8e8; border-color: #999; color: #333; } .socialfeeds-copy-shortcode:active { transform: scale(0.95); } .socialfeeds-ig-options-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; margin-top: 20px; } .socialfeeds-ig-option-card { border: 1px solid #ddd; border-radius: 6px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.3s ease; background: #f9f9f9; } .socialfeeds-ig-option-card:hover { border-color: #0073aa; box-shadow: 0 2px 8px rgba(0, 115, 170, 0.15); background: #fff; } .socialfeeds-option-header { margin-bottom: 12px; } .socialfeeds-option-icon { font-size: 32px; color: #0073aa; margin-bottom: 8px; } .socialfeeds-option-header h3 { margin: 8px 0; font-size: 15px; color: #333; } .socialfeeds-option-body p { margin: 0 0 10px 0; color: #666; font-size: 13px; font-weight: 500; } .socialfeeds-option-footer { margin-top: 12px; } .socialfeeds-ig-select-option { width: 100%; padding: 8px 10px; font-size: 13px; } .socialfeeds-ig-modal-header { margin-bottom: 20px; } .socialfeeds-ig-modal-header h2 { margin: 0 0 8px 0; color: #333; } .socialfeeds-ig-modal-header p { margin: 0; color: #666; font-size: 14px; } /* Empty state */ .socialfeeds-empty { text-align: center; padding: 40px 20px; } .socialfeeds-empty-text { font-size: 16px; color: #999; } /* Table column widths */ .socialfeeds-col-name { width: 30%; } .socialfeeds-col-platform { width: 15%; } .socialfeeds-col-shortcode { width: 50%; } .socialfeeds-col-actions { width: 12%; } /* Shortcode display */ .socialfeeds-shortcode { display: block; padding: 8px; background: #f5f5f5; border-radius: 3px; word-break: break-all; } /* Optional: badge styling safety */ .socialfeeds-badge { padding: 4px 8px; border-radius: 3px; font-size: 12px; } .socialfeeds-no-accounts { padding: 16px; text-align: center; color: #666; } /* Hide native radio */ .socialfeeds-account-radio { display: none; } /* Account item layout */ .socialfeeds-account-item { display: flex; align-items: center; gap: 12px; padding: 10px; cursor: pointer; } /* Avatar wrapper */ .socialfeeds-account-avatar { width: 48px; height: 48px; } /* Avatar image */ .socialfeeds-account-avatar-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; } /* Initial fallback */ .socialfeeds-account-initial { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #e1e8ed; font-weight: bold; } /* Info block */ .socialfeeds-account-info { flex: 1; } .socialfeeds-account-name { margin: 4px 0; color: #666; } .socialfeeds-account-type { color: #999; } /* Radio UI */ .socialfeeds-account-radio-wrapper { display: flex; align-items: center; gap: 8px; } .socialfeeds-radio-btn { width: 20px; height: 20px; border: 2px solid #ddd; border-radius: 50%; display: inline-block; } /* Preview toolbar */ .socialfeeds-preview-toolbar { margin: 8px 0 12px; display: flex; gap: 8px; align-items: center; } /* Preview header (hidden by default) */ .socialfeeds-preview-header { display: none; } /* Preview item title & description hidden initially */ .socialfeeds-preview-title, .socialfeeds-preview-desc { display: none; } /* Load more wrapper */ .socialfeeds-load-more-wrap, .socialfeeds-subscribe-wrap { display: inline-block; margin-right: 10px; } .socialfeeds-buttons { display: flex; align-items: center; gap: 10px; } /* Load more button hidden initially */ #socialfeeds-load-more-btn { display: none; } /* Form action bar */ .socialfeeds-form-actions { margin-top: 24px; padding-top: 24px; border-top: 1px solid #eee; display: flex; gap: 12px; align-items: center; } /* Save button */ .socialfeeds-save-btn { padding: 10px 24px; font-size: 14px; font-weight: 600; } /* Cancel link */ .socialfeeds-cancel-btn { text-decoration: none; } /* Save status message */ .socialfeeds-save-status { margin-left: auto; display: none; color: #4caf50; font-weight: 500; } /* Page header */ .socialfeeds-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } /* Page title */ .socialfeeds-page-title { margin: 0; } /* Back button (optional hook for styling later) */ /* Wrapper padding */ .socialfeeds-standalone-wrapper { padding: 20px; } /* Token input */ .socialfeeds-standalone-token-input { width: 100%; min-height: 120px; font-family: monospace; } /* Error / message paragraph */ .socialfeeds-standalone-token-message { display: none; margin-top: 8px; font-size: 13px; color: #d32f2f; } /* Actions container */ .socialfeeds-standalone-actions { margin-top: 12px; display: flex; gap: 8px; } /* Added: move inline styles into CSS classes */ .socialfeeds-load-more-inline-row { display: flex; justify-content: center; gap: 15px; margin-top: 25px; } #socialfeeds-subscribe-btn, #socialfeeds-load-more-btn{ display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; font-size: 14px; font-weight: 400; border-radius: 4px; border: none; cursor: pointer; transition: all 0.2s ease; text-decoration: none; line-height: normal; } /* Loading state - preserve background color */ #socialfeeds-load-more-btn.socialfeeds-loading { cursor: wait; background: #350ae1 !important; } #socialfeeds-load-more-btn.socialfeeds-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; border-top-color: transparent; animation: sf-rotate 0.6s linear infinite; display: inline-block; margin-left: 8px; vertical-align: middle; background: #350ae1 !important; } @keyframes sf-rotate { to { transform: rotate(360deg); } } .socialfeeds-instagram-inner { display: grid; gap: 12px; } .socialfeeds-instagram-cols-1 { grid-template-columns: repeat(1, 1fr); } .socialfeeds-instagram-cols-2 { grid-template-columns: repeat(2, 1fr); } .socialfeeds-instagram-cols-3 { grid-template-columns: repeat(3, 1fr); } .socialfeeds-instagram-cols-4 { grid-template-columns: repeat(4, 1fr); } .socialfeeds-instagram-cols-5 { grid-template-columns: repeat(5, 1fr); } .socialfeeds-instagram-cols-6 { grid-template-columns: repeat(6, 1fr); } .socialfeeds-feed-badge { background: #ff0000; color: #ffffff; font-size: 11px; padding: 4px 8px; border-radius: 3px; margin-bottom: 8px; display: inline-block; } .socialfeeds-card-media-img { width: 100%; display: block; } /* Additional utility classes to replace inline styles from UI markup */ .socialfeeds-ig-modal-content { max-width: 760px; padding: 18px; border-radius: 12px; box-shadow: 0 12px 40px rgba(13, 20, 30, 0.2); width: 100%; max-height: 90vh; overflow: hidden; position: relative; background: white; display: flex; flex-direction: column; } .socialfeeds-modal-close--small { font-size: 22px; line-height: 1; background: transparent; border: 0; position: absolute; right: 18px; top: 16px; cursor: pointer; color: #999; } .socialfeeds-flex-space-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; } .socialfeeds-modal-title { margin: 0 0 6px 0; font-size: 20px; } .socialfeeds-modal-subtitle { margin: 0; color: #666; font-size: 13px; } .socialfeeds-account-count { margin: 8px 0 0 0; font-weight: 600; color: #333; font-size: 14px; } .socialfeeds-accounts-panel { margin-top: 14px; display: flex; gap: 12px; align-items: flex-start; } .socialfeeds-accounts-list { background: #fff; border: 1px solid #eef1f6; padding: 12px; border-radius: 8px; } .socialfeeds-account-card { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f2f4f7; } .socialfeeds-account-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; } .socialfeeds-account-avatar-img { width: 100%; height: 100%; object-fit: cover; } .socialfeeds-account-initial { color: #999; font-size: 18px; } .socialfeeds-accounts-actions { display: flex; gap: 8px; align-items: center; } .socialfeeds-connection-card { background: #fff; border: 1px solid #eef1f6; padding: 12px; border-radius: 10px; } .socialfeeds-connection-card .socialfeeds-card-row { display: flex; align-items: center; gap: 10px; } .socialfeeds-connection-card .socialfeeds-card-actions { margin-top: 10px; } .socialfeeds-manage-btn { background: #f5f7fa; border: 1px solid #e6e9ee; padding: 8px 12px; border-radius: 8px; text-decoration: none; display: inline-block; } .socialfeeds-connect-more-btn { background: linear-gradient(90deg, #f58529, #dd2a7b); color: #fff; border: none; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; } .socialfeeds-token-panel { background: white; border: 1px solid #eef1f6; padding: 20px; border-radius: 10px; width: 100%; box-sizing: border-box; display: block; } .socialfeeds-token-top { margin-bottom: 20px; display: block; } .socialfeeds-token-textarea { width: 100%; min-height: 120px; padding: 12px; border: 1px solid #e6e9ee; border-radius: 8px; font-family: monospace; font-size: 12px; box-sizing: border-box; resize: vertical; } .socialfeeds-token-message { display: none; margin: 12px 0; padding: 10px; border-radius: 6px; font-size: 13px; } .socialfeeds-embed-modal .socialfeeds-embed-container { max-width: 960px; width: 95%; margin: 40px auto; background: #fff; position: relative; overflow: hidden; } .socialfeeds-embed-shortcode { flex: 1; padding: 6px; font-family: monospace; } .socialfeeds-embed-preview-wrap { border: 1px solid #eee; padding: 8px; background: #fafafa; } .socialfeeds-accounts-column { flex: 1; min-width: 240px; } .socialfeeds-account-info { flex: 1; min-width: 0; } .socialfeeds-connection-icon { font-size: 20px; } .socialfeeds-connection-icon--instagram { color: #de3163; } .socialfeeds-connection-icon--facebook { color: #3b5998; } .socialfeeds-full-width { width: 100%; text-align: center; display: inline-block; } .socialfeeds-token-label { display: block; font-weight: 600; margin-bottom: 8px; color: #222; } /* Additional utility classes added to replace inline styles from UI markup */ .socialfeeds-template-selector { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; } .socialfeeds-side-column { flex: 1.2; } .socialfeeds-connection-title { font-weight: 700; } .socialfeeds-connection-desc { font-size: 13px; color: #666; } .socialfeeds-account-followers { color: #999; font-size: 12px; display: block; } .socialfeeds-account-username { display: block; color: #222; font-size: 14px; margin-bottom: 4px; } .socialfeeds-wizard-token-form { display: none; margin-top: 16px; padding: 16px; background: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; } .socialfeeds-wizard-token-input { width: 100%; min-height: 80px; padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-family: monospace; font-size: 12px; box-sizing: border-box; margin-bottom: 12px; resize: vertical; } #socialfeeds-ig-modal-main { display: block !important; width: 100%; visibility: visible; opacity: 1; transition: all 0.3s ease-in-out; } #socialfeeds-ig-modal-main { display: block !important; width: 100%; height: auto; visibility: visible; opacity: 1; transition: all 0.3s ease-in-out; overflow-y: auto; max-height: calc(90vh - 80px); } #socialfeeds-ig-modal-main.hidden { display: none !important; visibility: hidden; opacity: 0; } #socialfeeds-ig-modal-token { display: none !important; width: 100%; height: auto; visibility: hidden; opacity: 0; transition: all 0.3s ease-in-out; overflow-y: auto; max-height: calc(90vh - 80px); } #socialfeeds-ig-modal-token.active { display: block !important; visibility: visible; opacity: 1; } .socialfeeds-token-top { margin-bottom: 20px; } .socialfeeds-token-help { margin: 8px 0 0 0; font-size: 12px; color: #999; } .socialfeeds-token-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; } .socialfeeds-token-actions .button { flex: 1; min-width: 120px; } .socialfeeds-connection-column { display: flex; gap: 12px; flex-direction: column; } .socialfeeds-account-type { color: #999; display: block; font-size: 12px; margin-top: 4px; } .socialfeeds-account-avatar { margin-right: 12px; flex-shrink: 0; } .socialfeeds-account-radio-wrapper { flex-shrink: 0; margin-left: 8px; } .socialfeeds-embed-modal.active { display: block; } .socialfeeds-premium-tag { position: relative; display: inline-block; font-size: 12px; margin-left: 10px; padding: 0 8px; border-radius: 3px; background-color: gold; } .socialfeeds-premium-tag::before { content: ''; display: inline-block; position: absolute; background: rgba(255, 255, 255, 0.5); width: 10px; height: 100%; top: 0; left: 0; filter: blur(3px); transform: skewX(-15deg); animation: speedycache-shine 2s ease-in-out infinite; } /* Toggle Switch Wrapper */ /* Toggle Switch Wrapper & The Switch */ .socialfeeds-toggle { display: flex; align-items: center; margin-bottom: 15px; cursor: pointer; user-select: none; position: relative; width: 100%; transition: all 0.2s ease; } .socialfeeds-toggle:hover .socialfeeds-toggle-slider { background-color: #bdc3c7; } .socialfeeds-toggle:hover .socialfeeds-toggle-label { color: #1d2327; } /* Hide default checkbox */ .socialfeeds-toggle input { position: absolute; opacity: 0; width: 0; height: 0; } /* The Slider (The Background of the Switch) */ .socialfeeds-toggle-slider { position: relative; display: inline-block; width: 40px; height: 22px; background-color: #dcdcde; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 22px; margin-right: 12px; flex-shrink: 0; border: 1px solid #c3c4c7; } /* The Knob (The Circle) */ .socialfeeds-toggle-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 50%; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } /* Checked State - Slider Background */ .socialfeeds-toggle input:checked+.socialfeeds-toggle-slider { background-color: #5525d9; border-color: #5525d9; } /* Focus State */ .socialfeeds-toggle input:focus+.socialfeeds-toggle-slider { box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2); } /* Checked State - Knob Movement */ .socialfeeds-toggle input:checked+.socialfeeds-toggle-slider:before { transform: translateX(20px); } /* Label Text */ .socialfeeds-toggle-label { font-size: 13px; /* Slightly smaller for better fit */ color: #50575e; font-weight: 500; line-height: 1.4; } /* ========================================================================== SOCIALHUB V2 - MODERN DASHBOARD & WIZARD UI ========================================================================== */ /* --- DASHBOARD WRAPPER & HEADER --- */ .socialfeeds-main-content { padding: 24px 30px; } .socialfeeds-dashboard-overview { background: #fff; border-radius: 12px; padding: 30px; font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } .socialfeeds-header-v2 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; } .socialfeeds-header-left h1 { font-size: 28px; font-weight: 700; color: #0f172a; margin: 0 0 8px; } .socialfeeds-header-right { display: flex; gap: 15px; align-items: center; } .socialfeeds-status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #f0fdf4; color: #16a34a; border-radius: 50px; font-size: 13px; font-weight: 600; } .socialfeeds-status-pill.inactive { background: #f1f5f9; color: #64748b; } .socialfeeds-status-dot { width: 8px; height: 8px; background: currentColor; border-radius: 50%; } .socialfeeds-btn-sync { background: #5525d9; color: white; border: none; padding: 10px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: all 0.2s; text-decoration: none; } .socialfeeds-btn-sync:hover { background: #441eb5; color: #ffffff; transform: translateY(-1px); } /* --- PLATFORM OVERVIEW CARDS --- */ .socialfeeds-section-title { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 24px; display: flex; align-items: center; } .socialfeeds-platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; } .socialfeeds-platform-card { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .socialfeeds-platform-card:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transform: translateY(-4px); border-color: #cbd5e1; } .socialfeeds-p-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; } .socialfeeds-p-card-icon.youtube { background: #fee2e2; color: #ef4444; } .socialfeeds-p-card-icon.instagram { background: #ffedfa; color: #db2777; } .socialfeeds-p-card-icon.facebook { background: #eff6ff; color: #2563eb; } .socialfeeds-p-card-info h3 { font-size: 16px; font-weight: 700; margin: 0; color: #0f172a; } .socialfeeds-p-card-info p { font-size: 13px; color: #64748b; margin: 4px 0 0; } .socialfeeds-p-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; padding: 16px 0; border-top: 1px solid #f1f5f9; } .socialfeeds-stat-label { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; } .socialfeeds-stat-value { font-size: 20px; font-weight: 700; color: #1e293b; } .socialfeeds-btn-manage { width: 100%; padding: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 14px; font-weight: 600; color: #475569; cursor: pointer; transition: all 0.2s; text-align: center; display: block; text-decoration: none; } .socialfeeds-btn-manage:hover { background: #f8fafc; border-color: #cbd5e1; } /* --- PERFORMANCE METRICS --- */ .socialfeeds-metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; } .socialfeeds-metric-card { background: #fff; padding: 24px; border-radius: 16px; border: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; } .socialfeeds-metric-info .socialfeeds-stat-value { font-size: 24px; } .socialfeeds-metric-icon { width: 44px; height: 44px; border-radius: 10px; background: #f1f5f9; color: #3b82f6; display: flex; align-items: center; justify-content: center; font-size: 20px; } /* --- RECENT ACTIVITY TABLE --- */ .socialfeeds-activity-card { background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; } .socialfeeds-table { width: 100%; border-collapse: collapse; } .socialfeeds-table th { text-align: left; padding: 16px 24px; background: #f8fafc; font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid #e2e8f0; } .socialfeeds-table td { padding: 18px 24px; font-size: 14px; color: #334155; border-bottom: 1px solid #f1f5f9; } .socialfeeds-platform-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; } .socialfeeds-status-badge { padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; } .socialfeeds-status-badge.success { background: #dcfce7; color: #166534; } .socialfeeds-status-badge.pending { background: #fef9c3; color: #854d0e; } /* --- SELECT FEED TYPE (WIZARD STEP 1) --- */ .socialfeeds-feed-type-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; } .socialfeeds-type-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; cursor: pointer; transition: all 0.3s ease; position: relative; display: flex; align-items: flex-start; gap: 15px; } .socialfeeds-p-card-icon{ margin-top: 8px; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; } .socialfeeds-card-content{ display: flex; flex-direction: column; text-align: left; } .socialfeeds-type-card h3{ margin: 0; padding: 0; font-size: 18px; line-height: 1.2; } .socialfeeds-type-card p { margin: 5px 0 0 0; font-size: 14px; color: #64748b; } .socialfeeds-type-card:hover { border-color: #5525d9; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1); } .socialfeeds-type-card.selected { border-color: #5525d9; background: #eff6ff; box-shadow: 0 0 0 2px #5525d9; } .socialfeeds-type-card h3 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; color: #0f172a; } .socialfeeds-type-card p { font-size: 13px; color: #64748b; line-height: 1.5; margin: 0; } .socialfeeds-pro-badge { background: #fff8e1; color: #ffb300; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 800; text-transform: uppercase; border: 1px solid #ffe57f; top: 20px; right: 20px; position: absolute; } /* --- ADD SOURCE SECTION (WIZARD STEP 1 FORM) --- */ .socialfeeds-source-card-v2 { background: #fff; border-radius: 16px; border: 1px solid #e2e8f0; padding: 32px; max-width: 800px; margin: 0 auto; } .socialfeeds-input-group-v2 { margin-bottom: 24px; } .socialfeeds-label-v2 { display: block; font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 10px; } .socialfeeds-input-v2 { width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid #e2e8f0; font-size: 15px; transition: all 0.2s; background: #f8fafc; } .socialfeeds-input-v2:focus { outline: none; border-color: #3b82f6; background: #fff; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); } .socialfeeds-help-v2 { font-size: 13px; color: #64748b; margin-top: 10px; line-height: 1.6; } /* Table Action Buttons */ .socialfeeds-table-actions { display: flex; gap: 8px; justify-content: flex-end; } .socialfeeds-action-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: #f1f5f9; color: #64748b; border-radius: 8px; text-decoration: none; border: 1px solid #e2e8f0; transition: all 0.2s; cursor: pointer; padding: 0; } .socialfeeds-action-btn:hover { background: #e2e8f0; color: #0f172a; border-color: #cbd5e1; } .socialfeeds-action-btn .dashicons { font-size: 16px; width: 16px; height: 16px; } .socialfeeds-header-version-badge { padding: 3px 10px; border-radius: 6px; background: #f0f6fc; color: #646970; font-weight: 500; } .socialfeeds-wrap .button-primary { background: #5525d9; border: 2px solid #5525d9; color: white; border-radius: 3px; transition: 0.2s; text-decoration: none; cursor: pointer; } .socialfeeds-wrap .button-primary:hover { background: #431cb0; transform: translateY(-1px); } /** toast message*/ .socialfeeds-toast { position: fixed; top: 90px; right: 20px; background: #F0FFF2; color: #000000; padding: 15px; border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 99999; display: none; font-weight: 600; animation: slide-down 0.3s ease-out; } .socialfeeds-toast.error { background: #f44336; top: 90px; right: 20px; padding: 15px; } .socialfeeds-toast .dashicons { color: #008000; vertical-align: middle; margin-right: 3px; font-size: 23px; } .socialfeeds-preview-meta { display: flex; align-items: center; gap: 8px; padding: 0 0 7px 0; } .socialfeeds-meta-duration { position: absolute; right: 6px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 16px; padding: 2px 6px; border-radius: 3px; line-height: 1; } /** copy shortcode*/ /* Wrapper */ .socialfeeds-shortcode-preview-wrap { background: #f8fafc; padding: 10px 15px; border-radius: 12px; margin-bottom: 24px; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); max-width: 500px; margin-left: auto; } /* Left block */ .socialfeeds-shortcode-left { display: flex; align-items: center; } /* Text wrapper */ .socialfeeds-shortcode-text-wrap { display: flex; flex-direction: column; } /* Copy button */ .socialfeeds-copy-shortcode { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 16px; height: auto; font-weight: 500; display: flex; align-items: center; gap: 8px; transition: all 0.2s; } /* Copy icon */ .socialfeeds-copy-icon { font-size: 16px; width: 16px; height: 16px; } .socialfeeds-copy-yt-shortcode { background: transparent; padding: 0; color: #1e293b; font-size: 15px; font-weight: 600; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; } /** socialfeeds loader **/ .socialfeeds-loader { width: 48px; height: 48px; border: 10px solid #FFF; border-radius: 50%; position: relative; transform: rotate(45deg); box-sizing: border-box; } .socialfeeds-loader:after { content: ""; position: absolute; box-sizing: border-box; inset: -10px; border-radius: 50%; border: 10px solid #FF3D00; animation: prixClipFix 2s infinite linear; } @keyframes prixClipFix { 0% { clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0) } 25% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0) } 50% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%) } 75% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%) } 100% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0) } } /* Loader Overlay */ .socialfeeds-wizard-loader-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.7); z-index: 9999; display: none; align-items: center; justify-content: center; border-radius: 12px; } .socialfeeds-wizard-loader-overlay.active { display: flex; } /* Fullscreen Mode */ #socialfeeds-content-customize.socialfeeds-fullscreen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999999; background: #fff; border-radius: 0; padding: 20px 5px !important; overflow-y: auto; box-sizing: border-box; } /* Fullscreen body lock */ body.socialfeeds-body-lock { overflow: hidden !important; } #socialfeeds-preview-header { display: block !important; min-height: 50px; padding: 12px; border-bottom: 1px solid #ddd; background: #fff; } #socialfeeds-preview-header:empty { display: none !important; } .socialfeeds-preview-list .socialfeeds-preview-item { padding: 12px; border-radius: 8px; background: #fff; } .socialfeeds-preview-list img { border-radius: 8px; } .socialfeeds-container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; } .socialfeeds-preview-item { flex: 1 1 300px; max-width: 900px; overflow: hidden; cursor: pointer; transition: transform 0.3s ease; display: flex; flex-direction: column; } .socialfeeds-preview-item iframe { width: 100%; display: block; } .socialfeeds-preview-item { cursor: pointer; } .socialfeeds-preview-thumbnail { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; transition: transform 0.3s ease, filter 0.3s ease; cursor: pointer; } /* Title */ .socialfeeds-preview-title { font-size: 14px; font-weight: 600; padding-top: 10px; line-height: 1.2; } /* Description */ .socialfeeds-preview-desc { font-size: 12px; color: #555; padding: 0 0 10px 0; } /* Mobile/Tablet Preview Scroll Fix */ .socialfeeds-customize-preview.socialfeeds-device-mode .socialfeeds-preview-box-wrapper { height: 600px; overflow-y: auto; overflow-x: hidden; border-bottom: 1px solid #dcdcde; } .socialfeeds-play-overlay{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 44px; background: rgba(255, 0, 0, 0.7); /* 70% transparent red */ border-radius: 10px; display: flex; align-items: center; justify-content: center; } .socialfeeds-play-overlay::before{ content: ''; width: 0; height: 0; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 3px; } .socialfeeds-play-overlay:hover{ background: #e60000; } .socialfeeds-preview-box-wrapper.carousel-mode{ position: relative; overflow: hidden; } #socialfeeds-preview-grid.carousel-mode { display: flex; gap: 16px; overflow-x: hidden; scroll-behavior: smooth; } #socialfeeds-preview-grid.carousel-mode .socialfeeds-preview-item { flex: 0 0 calc((100% - 2 * 16px) / 3); max-width: calc((100% - 2 * 16px) / 3); } /* Reset styles when grid mode */ #socialfeeds-preview-grid:not(.carousel-mode) { display: grid; grid-template-columns: repeat(3, 1fr); /* dynamically updated in JS */ gap: 16px; } /* Hide scrollbar */ #socialfeeds-preview-grid::-webkit-scrollbar { display: none; } #socialfeeds-preview-grid { scrollbar-width: none; } /* Carousel arrows */ .socialfeeds-carousel-nav { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 10px; pointer-events: none; z-index: 5; } .socialfeeds-carousel-nav button { pointer-events: auto; background: rgba(0, 0, 0, 0.65); color: #fff; border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 20px; } /* Carousel dots */ .socialfeeds-carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 15px; } .socialfeeds-carousel-dots .dot { width: 8px; height: 8px; background: #cbd5e1; border-radius: 50%; } .socialfeeds-carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 15px; pointer-events: auto; /* ensure clickable */ } .socialfeeds-carousel-dots .dot { width: 8px; height: 8px; background: #cbd5e1; border-radius: 50%; cursor: pointer; /* make hover pointer */ transition: background .25s; } .socialfeeds-carousel-dots .dot.active { background: #0f172a; /* dark color for active */ } /* Carousel Preview Styles matches Frontend */ .socialfeeds-carousel-stage { position: relative; width: 100%; } .socialfeeds-carousel-nav { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; } .socialfeeds-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); color: #333; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; transition: all 0.2s ease; line-height: 1; pointer-events: auto; z-index: 10; } .socialfeeds-carousel-btn.prev { left: 10px; } .socialfeeds-carousel-btn.next { right: 10px; } .socialfeeds-carousel-btn:hover { background: #fff; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); transform: translateY(-50%) scale(1.05); color: #000; } .socialfeeds-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 25px; margin-bottom: 20px; } .socialfeeds-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: 0.2s; } .socialfeeds-dot.active, .socialfeeds-dot:hover { background: #333; transform: scale(1.1); } /* Force override of carousel button styles in Admin */ .socialfeeds-carousel-btn { background-color: #ffffff !important; color: #333333 !important; border: 1px solid rgba(0, 0, 0, 0.1) !important; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; } .socialfeeds-carousel-btn .dashicons { color: #333333 !important; } .socialfeeds-carousel-btn:hover { transform: translateY(-50%) scale(1.05) !important; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important; } /* Ensure stage is positioned relative to grid */ .socialfeeds-carousel-stage { position: relative !important; display: block !important; } .socialfeeds-carousel-btn.prev, .socialfeeds-carousel-btn.next{ top: 80%; } .socialfeeds-meta-item:not(:first-child)::before { content: "•"; margin: 0 3px; font-size: 15px; } .socialfeeds-cache-settings { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; } .socialfeeds-cache-label { font-weight: 600; margin-right: 6px; font-size: 18px; } .socialfeeds-cache-select { min-width: 150px; box-sizing: border-box; color: #141b38; font-size: 16px; height: 40px; min-width: 235px; padding: 8px 35px 8px 15px !important; } .socialfeeds-clear-cache{ min-width: 150px; box-sizing: border-box; font-size: 16px; height: 40px; gap: 12px !important; padding: 8px 35px 8px 15px !important; } .socialfeeds-spinning { animation: spin 1s linear infinite; display: inline-block; } .socialfeeds-save-cache{ font-size: 16px !important; font-style: normal; font-weight: 600; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .socialfeeds-notice.is-success { border-left-color: #4ab866; margin-right: 15px; background: #eff9f1; padding: 10px; border-radius: 5px; border: 1px solid #00308f45; } .socialfeeds-notice.is-error{ position: relative; display: grid; background: #00308f05; padding: 10px; width: calc(100% - 20px); z-index: 10; border-radius: 5px; width: auto; display: flex; border: 1px solid #00308f45; font-size: 13px; border-left-color: #cc1818; background: rgb(244 162 162 / 30%); } .socialfeeds-apikey-notice{ display: flex; align-items: center; background: #fef7ed; border: 1px solid #fde0b0; border-radius: 12px; padding: 16px 24px; margin-bottom: 20px; gap: 16px; } .socialfeeds-apikey-notice-icon{ width: 40px; height: 40px; min-width: 40px; background: #fddfa0; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .socialfeeds-apikey-notice-icon .dashicons{ font-size: 20px; width: 20px; height: 20px; color: #c27a1a; } .socialfeeds-apikey-notice-content{ flex: 1; min-width: 0; } .socialfeeds-apikey-notice-content strong{ display: block; font-size: 15px; font-weight: 700; color: #92400e; margin-bottom: 2px; } .socialfeeds-apikey-notice-content p{ margin: 0; font-size: 13px; color: #b45309; line-height: 1.4; } .socialfeeds-apikey-notice-btn{ white-space: nowrap; background: #ea580c; color: #ffffff; border: none; border-radius: 8px; padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 1px 3px rgba(234, 88, 12, 0.3); } .socialfeeds-apikey-notice-btn:hover{ background: #c2410c; box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4); transform: translateY(-1px); } .socialfeeds-apikey-notice-btn:active{ transform: translateY(0); box-shadow: 0 1px 2px rgba(234, 88, 12, 0.3); } .socialfeeds-edit-name-btn, .socialfeeds-save-name-btn { background: none; border: 0; padding: 0; margin-left: 10px; } .socialfeeds-edit-name-btn .dashicons, .socialfeeds-save-name-btn .dashicons { font-size: 18px; }
💾 Save Changes
❌ Cancel