.wp-allstars-wrap { max-width: none; margin: 0; padding-right: 20px; } .wp-allstars-header { background: #fff; border-bottom: 1px solid #c3c4c7; box-shadow: 0 1px 0 rgba(0,0,0,.04); margin: 0 -20px 0 -20px; padding: 20px; display: flex; align-items: center; justify-content: space-between; width: auto; position: relative; } .wp-allstars-header h1 { font-size: 23px; font-weight: 400; margin: 0; padding: 0; line-height: 1.3; color: #1d2327; } .wp-allstars-header-actions { display: flex; align-items: center; gap: 10px; } .wp-allstars-version { color: #0073aa; /* Changed to WordPress blue */ font-size: 13px; font-weight: 400; } /* Navigation Tabs */ .nav-tab-wrapper, .wrap h2.nav-tab-wrapper { border-bottom: 1px solid #c3c4c7; margin: 0 -20px; padding: 0 20px; background: #fff; position: sticky; top: 32px; z-index: 100; text-align: center; /* Center align the tabs */ display: flex; justify-content: center; /* Ensure better centering for tabs */ } .nav-tab { margin: 0; padding: 12px 20px; font-size: 14px; line-height: 2; font-weight: 400; background: transparent; color: #50575e; text-decoration: none; white-space: nowrap; border: none; border-bottom: 2px solid transparent; display: inline-block; transition: all 0.2s ease; } .nav-tab:hover, .nav-tab:focus { color: #2271b1; background: transparent; border-color: #2271b1; } .nav-tab-active, .nav-tab-active:focus, .nav-tab-active:focus:active, .nav-tab-active:hover { border-bottom: 2px solid #2271b1; background: transparent; color: #2271b1; font-weight: 600; } /* Base Toggle Switch Component */ .wp-toggle-switch { position: relative; display: inline-block; width: 36px; height: 20px; flex-shrink: 0; cursor: pointer; pointer-events: all; z-index: 2; } .wp-toggle-switch input { opacity: 0; width: 0; height: 0; margin: 0; padding: 0; position: absolute; } .wp-toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .3s; border-radius: 20px; } .wp-toggle-slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: .3s; border-radius: 50%; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); } input:checked + .wp-toggle-slider { background-color: #2271b1; } input:checked + .wp-toggle-slider:before { transform: translateX(16px); } /* Tab Content Area */ .wp-allstars-tab-content { padding-top: 22px; } /* Settings Content */ .wp-allstars-settings-content { padding-top: 0 !important; /* Prevent double padding with parent */ } /* Fix padding in plugin sections */ .wp-allstars-settings-content .wpa-pro-plugins, .wp-allstars-settings-content #wpa-plugin-filters, .wp-allstars-settings-content .wpa-theme-container, .wp-allstars-settings-content #wpa-theme-list, .wp-allstars-settings-content > * { margin-top: 0; padding-top: 0; } /* This duplicate rule was removed */ /* Ensure any AJAX-loaded content follows the same padding rules */ .wp-allstars-loading-overlay { padding: 0; margin-top: 0; } /* Base Setting Styles (Shared between simple and expandable) */ .wp-setting-base, .wp-setting-row, .wp-allstars-toggle { background: #fff; border: 1px solid #ccc; border-radius: 8px; margin-bottom: 15px; } .wp-setting-base:hover, .wp-setting-row:hover, .wp-allstars-toggle:hover { border-color: #2271b1; box-shadow: 0 2px 6px rgba(0,0,0,0.15); } .wp-setting-header, .wp-allstars-toggle-header { padding: 15px; position: relative; } .wp-setting-main, .wp-allstars-toggle-main { display: flex; align-items: center; justify-content: space-between; padding-right: 15px; } .wp-allstars-toggle-main { padding-right: 40px; /* Extra space for chevron */ } .wp-setting-left, .wp-allstars-toggle-left { display: flex; align-items: center; gap: 10px; } .wp-setting-label, .wp-allstars-toggle label { font-size: 16px; font-weight: 600; color: #1d2327; line-height: 1.4; margin: 0; cursor: default; } .wp-setting-description, .wp-allstars-toggle .description, .description { margin: 8px 0 0; color: #50575e; font-size: 14px; line-height: 1.6; } /* Expandable Panel Component */ .wp-allstars-toggle-header { cursor: pointer; position: relative; z-index: 1; } .wp-allstars-toggle-header::after { content: ''; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; background: url('data:image/svg+xml;utf8,') no-repeat center; background-size: 24px; transition: transform 0.3s ease; } .wp-allstars-toggle-header[aria-expanded="true"]::after { transform: translateY(-50%) rotate(180deg); } /* Make sure the label doesn't interfere with clickability */ .wp-allstars-toggle-left label { pointer-events: none; } .wp-allstars-expand-settings { display: none; } .wp-allstars-toggle-settings { border-top: 1px solid #ddd; padding: 24px; background: #f9f9f9; display: none; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; } .wp-allstars-setting-row { margin-bottom: 24px; } .wp-allstars-setting-row:last-child { margin-bottom: 0; } .wp-allstars-setting-row label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: #1d2327; position: relative; padding-right: 80px; } .wp-allstars-setting-row input[type="text"], .wp-allstars-setting-row input[type="number"], .wp-allstars-setting-row textarea { width: 100%; max-width: 400px; padding: 8px; border: 1px solid #8c8f94; border-radius: 4px; box-shadow: 0 0 0 transparent; transition: border-color .15s ease-in-out; display: block; } .wp-allstars-setting-row input[type="text"]:focus, .wp-allstars-setting-row input[type="number"]:focus, .wp-allstars-setting-row textarea:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: 2px solid transparent; } /* Clear floats after tabs */ .nav-tab-wrapper::after { content: ""; display: table; clear: both; } /* Loading Overlay */ .wp-allstars-loading-overlay { position: fixed; top: 32px; left: 160px; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.9); z-index: 100000; display: flex; align-items: center; justify-content: center; } /* Settings Container */ .wpa-settings-content { margin-top: 22px; padding: 0 20px; } /* Plugin Filters */ .wpa-plugin-filters { margin: 20px 0; padding: 20px; background: #fff; border: 1px solid #c3c4c7; border-radius: 4px; display: flex; flex-wrap: wrap; gap: 8px; } .wpa-plugin-filters .button { margin: 0; padding: 6px 14px; height: auto; line-height: 1.4; font-size: 13px; font-weight: 500; border: 1px solid #c3c4c7; border-radius: 4px; background: #f0f0f1; color: #50575e; transition: all 0.2s ease; box-shadow: none; min-width: 100px; text-align: center; } .wpa-plugin-filters .button:hover { background: #fff; border-color: #2271b1; color: #2271b1; } .wpa-plugin-filters .button.button-primary { background: #2271b1; border-color: #2271b1; color: #fff; } .wpa-plugin-filters .button.button-primary:hover { background: #135e96; border-color: #135e96; } /* Plugin List Container */ .wp-list-table-container { margin-top: 22px; padding: 0 20px; position: relative; min-height: 400px; } /* Plugin Cards */ .plugin-card { float: left; margin: 0 8px 16px; padding: 0; width: calc(50% - 16px); border: 1px solid #ddd; box-shadow: 0 1px 1px rgba(0,0,0,.04); background-color: #fff; box-sizing: border-box; position: relative; display: flex; flex-direction: column; } .plugin-card:nth-child(2n+1) { clear: both; margin-left: 0; } .plugin-card:nth-child(2n) { margin-right: 0; } .plugin-card-top { position: relative; padding: 20px 20px 10px; min-height: 135px; flex-grow: 1; display: flex; flex-direction: column; } .plugin-card .name, .plugin-card .desc { margin-left: 148px; margin-right: 120px; } .plugin-card .name h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; } .plugin-card .desc { margin-top: 0; margin-bottom: 12px; font-size: 13px; line-height: 1.5; color: #50575e; flex-grow: 1; } .plugin-card .plugin-card-bottom { clear: both; padding: 12px 20px; background-color: #f6f7f7; border-top: 1px solid #ddd; overflow: hidden; } .plugin-card .plugin-icon { position: absolute; top: 20px; left: 20px; width: 128px; height: 128px; margin: 0 20px 20px 0; } .plugin-action-buttons { clear: right; float: right; margin-left: 2em; margin-bottom: 1em; text-align: right; } .plugin-action-buttons div { margin-top: 10px; } .plugin-card .column-rating, .plugin-card .column-downloaded, .plugin-card .column-updated { display: none; } .plugin-card .action-links { position: absolute; top: 20px; right: 20px; width: 120px; } .plugin-card .action-links .button { display: block; text-align: center; margin-bottom: 5px; } .plugin-card .action-links .button.button-primary { background: #2271b1; border-color: #2271b1; color: #fff; } .plugin-card .action-links .button.button-primary:hover { background: #135e96; border-color: #135e96; } .plugin-card .name a, .plugin-card .action-links a { text-decoration: none; } .plugin-card .desc, .plugin-card .author { margin: 0 0 12px; color: #646970; } .plugin-card .author { color: #646970; font-size: 13px; margin-left: 148px; } /* Theme Container */ #wpa-theme-list { margin-top: 0; padding: 0 20px; position: relative; min-height: 400px; } /* Theme Card Styles - Scoped to our plugin only */ .theme-card { position: relative; background: #fff; border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 20px; overflow: hidden; transition: all 0.2s ease; } .theme-card:hover { border-color: #2271b1; box-shadow: 0 2px 6px rgba(0,0,0,0.15); } .theme-image { position: relative; padding-bottom: 75%; /* 4:3 aspect ratio */ background: #f1f1f1; overflow: hidden; } .theme-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } /* Removed hover zoom effect */ .theme-info { padding: 15px; border-top: 1px solid #eee; } .theme-name { font-size: 16px; font-weight: 600; margin: 0 0 5px; color: #23282d; } .theme-author { font-size: 13px; color: #646970; margin: 0; } .theme-actions { padding: 15px; border-top: 1px solid #eee; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; } /* Make theme buttons match size of plugin buttons */ .theme-actions .button { margin: 0; padding: 6px 14px; height: auto; line-height: 1.4; font-size: 13px; font-weight: 500; min-width: 100px; text-align: center; border-radius: 4px; } /* Responsive Adjustments */ @media screen and (max-width: 1200px) { .plugin-card .name, .plugin-card .desc { margin-right: 0; } .plugin-card .action-links { position: static; margin-left: 148px; width: auto; margin-top: 1em; } .plugin-card .action-links .button { display: inline-block; margin: 0 5px 5px 0; } } @media screen and (max-width: 782px) { .plugin-card { margin-left: 0; margin-right: 0; width: 100%; clear: both; } .plugin-card .name, .plugin-card .desc { margin-left: 0; margin-top: 140px; } .plugin-card .action-links { margin-left: 0; } .plugin-card .plugin-icon { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); margin: 0; } .wpa-plugin-filters { padding: 15px; } .wpa-plugin-filters .button { width: calc(50% - 4px); min-width: 0; } } @media screen and (max-width: 480px) { .wpa-plugin-filters .button { width: 100%; } .plugin-card .action-links .button { display: block; margin: 0 0 5px 0; width: 100%; text-align: center; } } /* Settings Notification */ .wp-setting-notification { display: inline-flex; align-items: center; margin-left: 10px; background: #00a32a; color: white; padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; animation: fadeIn 0.3s ease-in-out; height: 20px; box-sizing: border-box; position: relative; } .wp-setting-notification.error { background: #d63638; } /* Add space for notification to prevent layout shifts */ .wp-setting-left label, .wp-allstars-toggle-left label, .wp-allstars-setting-row label { position: relative; padding-right: 20px; display: inline-block; } .wp-setting-left label .wp-setting-notification, .wp-allstars-toggle-left label .wp-setting-notification, .wp-allstars-setting-row label .wp-setting-notification { position: absolute; right: -60px; top: -2px; transform: translateY(0); line-height: 1.4; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .wpa-loading-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.8); z-index: 10; display: flex; align-items: center; justify-content: center; } .wp-allstars-toggle-main { padding-right: 40px; /* Space for chevron */ position: relative; z-index: 1; } /* Panel styles for Pro Plugins, Hosting, and Tools tabs */ .wpa-pro-plugins { padding: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); gap: 24px; max-width: 1920px; margin: 0 auto; } .wpa-pro-plugin { background: #fff; border: 1px solid #ddd; padding: 24px; border-radius: 8px; display: flex; flex-direction: column; transition: all 0.2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .wpa-pro-plugin:hover { border-color: #2271b1; box-shadow: 0 2px 6px rgba(0,0,0,0.15); } .wpa-pro-plugin h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: #1d2327; line-height: 1.4; } .wpa-pro-plugin p { margin: 0 0 16px; color: #50575e; font-size: 14px; line-height: 1.6; } .wpa-pro-plugin .button-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; } .wpa-pro-plugin .button { text-decoration: none; min-width: 120px; text-align: center; height: 30px; line-height: 28px; padding: 0 12px; font-size: 13px; font-weight: normal; margin: 0; border: 1px solid #0071a1 !important; border-radius: 3px !important; background: #f6f7f7; color: #0071a1; display: inline-block; vertical-align: top; box-shadow: none; cursor: pointer; } .wpa-pro-plugin .button:hover { background: #f0f0f1; border-color: #0071a1; color: #0071a1; } .wpa-pro-plugin .button.button-primary { background: #2271b1; border-color: #2271b1 !important; color: #fff; } .wpa-pro-plugin .button.button-primary:hover { background: #135e96; border-color: #135e96 !important; color: #fff; } @media screen and (max-width: 960px) { .wpa-pro-plugins { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; padding: 16px; } .wpa-pro-plugin { padding: 20px; } } @media screen and (max-width: 782px) { .wpa-pro-plugins { grid-template-columns: 1fr; gap: 16px; padding: 12px; } .wpa-pro-plugin { padding: 16px; } .wpa-pro-plugin .button { width: 100%; } } /* Markdown Content Styles for About Tab */ .wp-allstars-markdown-content { line-height: 1.6; color: #333; } .wp-allstars-markdown-content h1 { font-size: 2em; margin: 0.67em 0; border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; } .wp-allstars-markdown-content h2 { font-size: 1.5em; margin: 0.83em 0; border-bottom: 1px solid #eaecef; padding-bottom: 0.3em; } .wp-allstars-markdown-content h3 { font-size: 1.25em; margin: 1em 0; } .wp-allstars-markdown-content ul { padding-left: 2em; margin: 1em 0; } .wp-allstars-markdown-content li { margin: 0.5em 0; } .wp-allstars-markdown-content a { color: #0073aa; text-decoration: none; } .wp-allstars-markdown-content a:hover { color: #00a0d2; text-decoration: underline; } .wp-allstars-markdown-content p { margin: 1em 0; } /* Go Pro Button Styles */ .button.button-primary[style*="background-color: #27ae60"], .theme-install-actions .button.button-primary, .wpa-pro-plugin .button-group .button.button-primary, .go-pro-button { transition: all 0.3s ease !important; background-color: #219653 !important; /* Darker green */ border-color: #1e874b !important; /* Even darker for border */ color: #ffffff !important; } .button.button-primary[style*="background-color: #27ae60"]:hover, .theme-install-actions .button.button-primary:hover, .wpa-pro-plugin .button-group .button.button-primary:hover, .go-pro-button:hover { background-color: #1b7b42 !important; /* Even darker green on hover */ border-color: #186a39 !important; /* Darkest for border */ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important; } /* Green Secondary Button Styles */ .green-button-secondary, .green-visit-website, #pro .button-group .button.button-secondary, #hosting .button-group .button.button-secondary, #tools .button-group .button.button-secondary, #readme .button-group .button.button-secondary, #pro .button.button-secondary, #hosting .button.button-secondary, #tools .button.button-secondary, #readme .button.button-secondary, .button.button-secondary, /* More specific selectors to override WP defaults */ .wp-allstars-tabs-wrapper .button.button-secondary, .wp-allstars-settings-content .button.button-secondary, .wpa-pro-plugins .button.button-secondary, .wpa-pro-plugin .button.button-secondary, body.wp-admin .button.button-secondary { transition: all 0.3s ease !important; color: #219653 !important; /* Darker green */ border-color: #219653 !important; /* Darker green */ background-color: transparent !important; } .green-button-secondary:hover, .green-visit-website:hover, #pro .button-group .button.button-secondary:hover, #hosting .button-group .button.button-secondary:hover, #tools .button-group .button.button-secondary:hover, #readme .button-group .button.button-secondary:hover, #pro .button.button-secondary:hover, #hosting .button.button-secondary:hover, #tools .button.button-secondary:hover, #readme .button.button-secondary:hover, .button.button-secondary:hover, .wp-allstars-tabs-wrapper .button.button-secondary:hover, .wp-allstars-settings-content .button.button-secondary:hover, .wpa-pro-plugins .button.button-secondary:hover, .wpa-pro-plugin .button.button-secondary:hover, body.wp-admin .button.button-secondary:hover { color: #1b7b42 !important; /* Even darker green on hover */ border-color: #1b7b42 !important; /* Even darker green on hover */ background-color: rgba(33, 150, 83, 0.05) !important; /* Very light green background */ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important; } /* Button text vertical alignment */ .button, .button-primary, .button-secondary { display: inline-flex !important; align-items: center !important; justify-content: center !important; } /* Specific styling for Pricing buttons */ .pricing-button, a.button.pricing-button, body.wp-admin .button.pricing-button, #pro a.button.pricing-button, #hosting a.button.pricing-button, #tools a.button.pricing-button, #readme a.button.pricing-button { color: #219653 !important; border-color: #219653 !important; background-color: transparent !important; } .pricing-button:hover, a.button.pricing-button:hover, body.wp-admin .button.pricing-button:hover, #pro a.button.pricing-button:hover, #hosting a.button.pricing-button:hover, #tools a.button.pricing-button:hover, #readme a.button.pricing-button:hover { color: #1b7b42 !important; border-color: #1b7b42 !important; background-color: rgba(33, 150, 83, 0.05) !important; } /* Limit width of content in all main tabs */ .wp-allstars-tab-content .wp-allstars-settings-section, #readme .wpa-pro-plugins { display: block; padding: 20px; } /* Target the specific setting rows to limit their width */ .wp-allstars-tab-content .wp-setting-row, .wp-allstars-tab-content .wp-allstars-toggle, #readme .wpa-pro-plugin { max-width: 50%; margin: 0 auto 20px auto; /* Added bottom margin for spacing */ box-sizing: border-box; padding: 0 10px; /* Add consistent padding */ } /* Free Plugins cards need specific targeting */ #recommended .plugin-card { max-width: 48%; /* Slightly less than 50% to create space between columns */ margin: 0 1% 20px 1%; /* Create gutters between cards */ box-sizing: border-box; padding: 15px; display: inline-block; vertical-align: top; } /* Ensure plugin cards have proper spacing */ #recommended .wpa-plugin-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; /* Creates vertical and horizontal gaps */ padding: 0 10px; } /* Explicitly target readme content */ #readme .wp-allstars-markdown-content { padding: 20px; box-sizing: border-box; } /* Prevent text from overlapping dropdown chevron icon */ .wp-allstars-toggle-header { position: relative; padding-right: 40px; /* Make room for chevron */ } .wp-allstars-toggle-header::after { right: 15px; z-index: 1; /* Ensure chevron stays above text */ } /* Ensure text doesn't overflow */ .wp-setting-label, .wp-allstars-toggle-header label, .wp-setting-description { white-space: normal; word-wrap: break-word; padding-right: 25px; max-width: calc(100% - 40px); /* Ensure space for the chevron */ } /* First breakpoint - 75% width */ @media screen and (max-width: 1400px) { .wp-allstars-tab-content .wp-setting-row, .wp-allstars-tab-content .wp-allstars-toggle, #recommended .plugin-card, #readme .wpa-pro-plugin { max-width: 75%; margin-left: auto; margin-right: auto; } #readme .wp-allstars-markdown-content { padding: 15px; } } /* Second breakpoint - 100% width */ @media screen and (max-width: 1100px) { .wp-allstars-tab-content .wp-setting-row, .wp-allstars-tab-content .wp-allstars-toggle, #recommended .plugin-card, #readme .wpa-pro-plugin { max-width: calc(100% - 40px); margin-left: auto; margin-right: auto; } #recommended .plugin-card { max-width: 100%; margin-left: 0; margin-right: 0; } #readme .wp-allstars-markdown-content { padding: 10px; } } /* Readme list styling */ #readme .wp-allstars-markdown-content ul.wp-allstars-list, #readme .wp-allstars-markdown-content ul { padding-left: 25px; margin: 10px 0; list-style-type: disc; } #readme .wp-allstars-markdown-content ol.wp-allstars-list, #readme .wp-allstars-markdown-content ol { padding-left: 25px; /* Same as bullets */ margin: 10px 0; list-style-type: decimal; } /* Special styling for numbered lists to align with bullet lists */ #readme .wp-allstars-markdown-content ol.numbered-list { padding-left: 21px; /* Moved 2px to the right as requested */ } #readme .wp-allstars-markdown-content ol.numbered-list li { margin-left: 4px; /* Fine-tune the alignment */ } #readme .wp-allstars-markdown-content li { margin-bottom: 5px; line-height: 1.4; display: list-item !important; padding-left: 5px; /* Add consistent padding for all list items */ } /* Ensure consistent spacing for all lists across sections */ #readme .wp-allstars-markdown-content h2 + ul, #readme .wp-allstars-markdown-content h3 + ul, #readme .wp-allstars-markdown-content p + ul, #readme .wp-allstars-markdown-content h2 + ol, #readme .wp-allstars-markdown-content h3 + ol, #readme .wp-allstars-markdown-content p + ol, #readme .wp-allstars-markdown-content h2 + .wp-allstars-list, #readme .wp-allstars-markdown-content h3 + .wp-allstars-list, #readme .wp-allstars-markdown-content p + .wp-allstars-list { margin-top: 10px; margin-bottom: 15px; } /* Additional fix for specific sections that need help */ #readme .wp-allstars-markdown-content h2 + ul, #readme .wp-allstars-markdown-content h3 + ul { padding-left: 25px !important; margin-left: 0 !important; list-style-type: disc !important; }