/home/coolpkct/www/websites/alylela.com/wp-content/plugins/wp-db-scout/assets/css/wds-admin.css
/**
* WP DB Scout Admin Styles
*/
/* Main Container */
.wds-admin-wrap {
max-width: 1200px;
margin: 20px 0;
}
.wds-admin-wrap h1 .dashicons {
font-size: 30px;
width: 30px;
height: 30px;
margin-right: 10px;
vertical-align: middle;
}
/* Stealth Notice */
.wds-stealth-notice {
background: #fff3cd;
border-left-color: #ffc107;
margin: 20px 0;
}
.wds-stealth-notice .dashicons {
color: #856404;
margin-right: 5px;
}
/* Tabs */
.wds-tab-content {
background: #fff;
border: 1px solid #ccd0d4;
border-top: none;
padding: 20px;
min-height: 400px;
}
.wds-tab-panel {
display: none !important;
visibility: hidden;
opacity: 0;
position: absolute;
left: -9999px;
}
.wds-tab-panel.active {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
position: relative !important;
left: 0 !important;
animation: fadeInTab 0.3s ease-in;
}
@keyframes fadeInTab {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.nav-tab .dashicons {
margin-right: 5px;
vertical-align: text-bottom;
}
/* Info Cards Grid */
.wds-info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.wds-info-card {
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 4px;
padding: 15px;
}
.wds-info-card h3 {
margin: 0 0 15px 0;
color: #23282d;
font-size: 14px;
font-weight: 600;
}
.wds-info-card h3 .dashicons {
margin-right: 5px;
color: #0073aa;
}
.wds-info-card.wds-sensitive {
background: #fff5f5;
border-color: #ffcdd2;
}
.wds-info-value {
display: flex;
gap: 10px;
align-items: center;
}
.wds-readonly-input {
flex: 1;
padding: 8px;
background: #fff;
border: 1px solid #ddd;
border-radius: 3px;
font-family: monospace;
font-size: 13px;
}
.wds-copy-btn,
.wds-toggle-password {
white-space: nowrap;
}
.wds-copy-btn .dashicons,
.wds-toggle-password .dashicons {
font-size: 16px;
vertical-align: middle;
}
/* Environment Info Table */
.wds-environment-info {
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 4px;
padding: 20px;
margin-bottom: 20px;
}
.wds-environment-info h3 {
margin-top: 0;
}
.wds-info-table {
width: 100%;
border-collapse: collapse;
}
.wds-info-table td {
padding: 8px;
border-bottom: 1px solid #e1e1e1;
}
.wds-info-table td:first-child {
font-weight: 600;
width: 200px;
}
/* Session Info */
.wds-session-info {
background: #e3f2fd;
border: 1px solid #90caf9;
border-radius: 4px;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
}
.wds-session-info p {
margin: 0;
}
#wds-session-timer {
color: #d32f2f;
font-size: 16px;
}
/* Search Interface */
.wds-search-container {
max-width: 900px;
}
.wds-search-header {
margin-bottom: 30px;
}
.wds-search-input-wrapper {
position: relative;
margin-bottom: 15px;
}
.wds-search-input {
width: 100%;
padding: 12px 45px 12px 45px;
font-size: 16px;
border: 2px solid #0073aa;
border-radius: 4px;
}
.wds-search-input:focus {
outline: none;
border-color: #005a87;
box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}
.wds-search-icon {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #0073aa;
}
.wds-search-status {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
}
.wds-char-count {
color: #666;
font-size: 12px;
}
.wds-search-options {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.wds-search-options label {
display: flex;
align-items: center;
gap: 5px;
}
/* Search Status Bar */
.wds-search-status-bar {
background: #f0f0f1;
border: 1px solid #c3c4c7;
border-radius: 4px;
padding: 15px;
margin: 20px 0;
}
.wds-searching {
display: flex;
align-items: center;
gap: 10px;
}
/* Results */
.wds-results-summary {
background: #e8f5e9;
border: 1px solid #81c784;
border-radius: 4px;
padding: 15px;
margin: 20px 0;
}
.wds-results-summary h3 {
margin: 0 0 10px 0;
}
.wds-results-count {
background: #4caf50;
color: white;
padding: 2px 8px;
border-radius: 3px;
font-size: 14px;
margin-left: 10px;
}
.wds-searched-term {
background: #fff3cd;
padding: 2px 6px;
border: 1px solid #ffc107;
border-radius: 3px;
}
/* Result Tables */
.wds-result-table {
background: #fff;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 20px;
overflow: hidden;
}
.wds-table-header {
background: #f5f5f5;
padding: 15px;
border-bottom: 1px solid #ddd;
}
.wds-table-name {
margin: 0 0 10px 0;
font-size: 16px;
}
.wds-table-meta {
display: flex;
gap: 20px;
font-size: 13px;
color: #666;
}
.wds-meta-item strong {
color: #333;
}
/* Match Items */
.wds-match-item {
border-bottom: 1px solid #eee;
padding: 15px;
}
.wds-match-item:last-child {
border-bottom: none;
}
.wds-match-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.wds-row-id {
font-size: 13px;
color: #666;
}
.wds-toggle-details {
color: #0073aa;
}
.wds-toggle-details:hover {
color: #005a87;
}
.wds-match-columns {
background: #fffbf0;
border: 1px solid #ffeb3b;
border-radius: 3px;
padding: 10px;
margin-bottom: 10px;
}
.wds-match-columns mark {
background: #ffeb3b;
padding: 2px 4px;
border-radius: 2px;
font-weight: bold;
}
/* Match Details */
.wds-match-details {
background: #f8f9fa;
border: 1px solid #dee2e6;
border-radius: 3px;
padding: 15px;
margin-top: 10px;
}
.wds-data-table {
width: 100%;
font-size: 13px;
margin-bottom: 15px;
}
.wds-data-table td {
padding: 5px;
border-bottom: 1px solid #e1e1e1;
}
.wds-data-table td:first-child {
font-weight: 600;
width: 150px;
}
.wds-relation-list {
margin: 0;
padding-left: 20px;
font-size: 13px;
}
/* Theme Search Results */
.wds-theme-notice {
margin-bottom: 20px;
}
.wds-theme-section {
margin-bottom: 30px;
}
.wds-theme-name {
font-size: 16px;
font-weight: 600;
color: #23282d;
margin-bottom: 15px;
padding: 10px;
background: #f7f7f7;
border-left: 4px solid #0073aa;
}
.wds-file-result {
background: #fff;
border: 1px solid #e1e1e1;
border-radius: 4px;
margin-bottom: 15px;
opacity: 0;
}
.wds-file-header {
padding: 12px 15px;
background: #fafafa;
border-bottom: 1px solid #e1e1e1;
cursor: pointer;
transition: background 0.3s;
}
.wds-file-header:hover {
background: #f0f0f0;
}
.wds-file-header.collapsed .dashicons-media-text::before {
content: "\f139";
}
.wds-file-path {
color: #0073aa;
font-size: 14px;
margin-left: 5px;
}
.wds-file-meta {
color: #666;
font-size: 12px;
margin-left: 10px;
}
.wds-file-matches {
padding: 15px;
max-height: 400px;
overflow-y: auto;
}
.wds-file-match {
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #f0f0f0;
}
.wds-file-match:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.wds-line-number {
display: inline-block;
font-weight: 600;
color: #666;
margin-bottom: 10px;
}
.wds-match-context {
background: #f9f9f9;
border: 1px solid #e1e1e1;
border-radius: 3px;
padding: 10px;
font-family: Consolas, Monaco, monospace;
font-size: 13px;
line-height: 1.6;
overflow-x: auto;
}
.wds-context-line {
white-space: pre-wrap;
word-wrap: break-word;
}
.wds-match-line {
background: #fff9c4;
font-weight: 600;
}
.wds-context-line .line-num {
display: inline-block;
min-width: 40px;
color: #999;
font-size: 11px;
margin-right: 10px;
user-select: none;
}
.wds-highlight,
mark.wds-highlight {
background: #ffeb3b !important;
color: #000 !important;
padding: 2px 4px;
border-radius: 2px;
font-weight: bold;
}
/* Modal */
.wds-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 100000;
}
.wds-modal-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
}
.wds-modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
border-radius: 8px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
max-width: 500px;
width: 90%;
}
.wds-modal-header {
background: #f0f0f1;
padding: 15px 20px;
border-bottom: 1px solid #ddd;
border-radius: 8px 8px 0 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.wds-modal-header h2 {
margin: 0;
font-size: 18px;
}
.wds-modal-close {
background: none;
border: none;
font-size: 20px;
cursor: pointer;
color: #666;
}
.wds-modal-close:hover {
color: #000;
}
.wds-modal-body {
padding: 20px;
}
.wds-modal-footer {
background: #f8f9fa;
padding: 15px 20px;
border-top: 1px solid #ddd;
border-radius: 0 0 8px 8px;
}
.wds-auth-notice {
background: #fff3cd;
border: 1px solid #ffc107;
border-radius: 4px;
padding: 15px;
margin-bottom: 20px;
}
.wds-form-group {
margin-bottom: 20px;
}
.wds-form-group label {
display: block;
margin-bottom: 5px;
font-weight: 600;
}
.wds-password-input-wrapper {
position: relative;
display: flex;
gap: 10px;
}
.wds-password-input-wrapper input {
flex: 1;
}
.wds-toggle-auth-password {
padding: 5px 10px;
}
.wds-form-actions {
display: flex;
gap: 10px;
margin-top: 20px;
}
.wds-auth-loading {
text-align: center;
padding: 20px;
}
/* Footer */
.wds-admin-footer {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #ddd;
color: #666;
font-size: 13px;
}
.wds-version {
margin-top: 10px;
font-style: italic;
}
/* Export Log Button Container */
.wds-export-log-container {
position: fixed;
top: 80px;
right: 20px;
z-index: 9999;
background: #fff;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
border: 1px solid #ccc;
}
.wds-export-log-btn {
display: inline-flex;
align-items: center;
gap: 5px;
font-weight: 500;
}
.wds-export-log-btn:hover {
background: #f0f0f1;
border-color: #0073aa;
color: #0073aa;
}
.wds-export-log-btn .dashicons {
font-size: 16px;
width: 16px;
height: 16px;
}
.wds-export-log-btn .dashicons.spin {
animation: spin 1s linear infinite;
}
.wds-export-status {
color: #46b450;
font-weight: 500;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Responsive */
@media (max-width: 768px) {
.wds-info-grid {
grid-template-columns: 1fr;
}
.wds-table-meta {
flex-direction: column;
gap: 5px;
}
.wds-session-info {
flex-direction: column;
gap: 15px;
text-align: center;
}
.wds-export-log-container {
top: auto;
bottom: 20px;
right: 10px;
}
}