MediaWiki:CRT Search.css: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
/**
/**
  * EveryCRT Advanced Search Styles
  * EveryCRT Advanced Search Styles
  * test
  * Light mode is default; dark mode applied via skin-theme-clientpref-night class
  */
  */


Line 18: Line 18:
     width: 100%;
     width: 100%;
     padding: 12px 16px;
     padding: 12px 16px;
     background: #2a2a2e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 8px;
     border-radius: 8px;
     color: #fff;
     color: #333;
     font-size: 16px;
     font-size: 16px;
     cursor: pointer;
     cursor: pointer;
Line 28: Line 28:


.crt-mobile-filter-toggle:hover {
.crt-mobile-filter-toggle:hover {
     background: #3a3a3e;
     background: #f0f0f0;
}
}


Line 39: Line 39:
     width: 280px;
     width: 280px;
     flex-shrink: 0;
     flex-shrink: 0;
     background: #1a1a1e;
     background: #f8f8f8;
    border: 1px solid #ddd;
     border-radius: 12px;
     border-radius: 12px;
     position: sticky;
     position: sticky;
Line 54: Line 55:
     align-items: center;
     align-items: center;
     padding: 16px;
     padding: 16px;
     border-bottom: 1px solid #3a3a3e;
     border-bottom: 1px solid #ddd;
     flex-shrink: 0;
     flex-shrink: 0;
}
}
Line 61: Line 62:
     margin: 0;
     margin: 0;
     font-size: 18px;
     font-size: 18px;
     color: #fff;
     color: #333;
}
}


Line 67: Line 68:
     padding: 6px 12px;
     padding: 6px 12px;
     background: transparent;
     background: transparent;
     border: 1px solid #666;
     border: 1px solid #aaa;
     border-radius: 6px;
     border-radius: 6px;
     color: #999;
     color: #666;
     font-size: 12px;
     font-size: 12px;
     cursor: pointer;
     cursor: pointer;
Line 76: Line 77:


.crt-reset-btn:hover {
.crt-reset-btn:hover {
     background: #333;
     background: #e8e8e8;
     color: #fff;
     color: #333;
     border-color: #888;
     border-color: #888;
}
}


/* Scrollable filter sections container */
/* Scrollable filters body */
.crt-filters-body {
.crt-filters-body {
     flex: 1;
     flex: 1;
     overflow-y: auto;
     overflow-y: auto;
     overflow-x: visible;
     overflow-x: visible;
     padding: 16px;
     padding: 12px;
}
}


/* Filter Sections */
/* Filter sections */
.crt-filter-section {
.crt-filter-section {
     margin-bottom: 8px;
     background: #fff;
     background: #2a2a2e;
     border: 1px solid #e0e0e0;
     border-radius: 8px;
     border-radius: 8px;
    margin-bottom: 12px;
     overflow: visible;
     overflow: visible;
}
.crt-filter-section:last-child {
    margin-bottom: 0;
}
}


Line 101: Line 107:
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
     padding: 12px 16px;
     padding: 12px 14px;
     cursor: pointer;
     cursor: pointer;
     user-select: none;
     background: #6B5B95;
     background: #2a2a2e;
    border-radius: 8px 8px 0 0;
     transition: background 0.2s;
}
 
.crt-filter-section.collapsed .crt-section-header {
     border-radius: 8px;
     border-radius: 8px;
}
}


.crt-section-header:hover {
.crt-section-header:hover {
     background: #333;
     background: #5a4a84;
}
}


.crt-section-title {
.crt-section-title {
     font-weight: 600;
     font-weight: 600;
    font-size: 13px;
     color: #fff;
     color: #fff;
    font-size: 14px;
}
}


.crt-section-toggle {
.crt-section-toggle {
     color: #888;
     color: rgba(255, 255, 255, 0.8);
     font-size: 12px;
     font-size: 10px;
     transition: transform 0.2s;
     transition: transform 0.2s;
}
}
Line 129: Line 139:


.crt-section-content {
.crt-section-content {
     padding: 0 16px 16px;
     padding: 12px;
     overflow: visible;
    background: #fff;
     border-radius: 0 0 8px 8px;
}
}


Line 137: Line 148:
}
}


/* Filter Items */
/* Filter items */
.crt-filter-item {
.crt-filter-item {
     margin-bottom: 12px;
     margin-bottom: 12px;
Line 149: Line 160:
     display: block;
     display: block;
     font-size: 12px;
     font-size: 12px;
     color: #aaa;
     color: #555;
     margin-bottom: 6px;
     margin-bottom: 4px;
}
}


/* Select inputs */
.crt-filter-select,
.crt-filter-select {
    width: 100%;
    padding: 8px 12px;
    background: #1a1a1e;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
 
.crt-filter-select:hover {
    border-color: #4a4a4e;
}
 
.crt-filter-select:focus {
    outline: none;
    border-color: #0088ff;
}
 
/* Number inputs */
.crt-filter-number {
.crt-filter-number {
     width: 100%;
     width: 100%;
     padding: 8px 12px;
     padding: 8px 10px;
     background: #1a1a1e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 6px;
     border-radius: 6px;
     color: #fff;
     color: #333;
     font-size: 14px;
     font-size: 13px;
    box-sizing: border-box;
}
}


.crt-filter-select:focus,
.crt-filter-number:focus {
.crt-filter-number:focus {
    border-color: #6B5B95;
     outline: none;
     outline: none;
    border-color: #0088ff;
}
}


.crt-filter-number::placeholder {
.crt-filter-number::placeholder {
     color: #666;
     color: #999;
}
}


/* Range inputs */
/* Checkbox styles */
.crt-range-inputs {
.crt-checkbox-item {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 8px;
     gap: 8px;
    padding: 6px 0;
}
}


.crt-range-inputs input {
.crt-checkbox-item input[type="checkbox"] {
     flex: 1;
     width: 16px;
     min-width: 0;
     height: 16px;
    cursor: pointer;
}
}


.crt-range-sep {
    color: #666;
}
/* Checkbox inputs */
.crt-checkbox-label {
.crt-checkbox-label {
    display: flex !important;
     font-size: 13px;
    align-items: center;
     color: #333;
    gap: 8px;
    cursor: pointer;
     font-size: 14px !important;
     color: #ddd !important;
}
 
.crt-filter-checkbox {
    width: 18px;
    height: 18px;
     cursor: pointer;
     cursor: pointer;
}
}


/* Multiselect */
/* Multi-select widget */
.crt-multiselect {
.crt-multiselect {
     position: relative;
     position: relative;
}
}


.crt-multiselect-selected {
.crt-multiselect-container {
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 6px;
     gap: 4px;
     margin-bottom: 8px;
     min-height: 36px;
     min-height: 0;
    padding: 4px 8px;
     background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: text;
    align-items: center;
}
}


.crt-multiselect-tag {
.crt-multiselect-tag {
     display: inline-flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 6px;
     gap: 4px;
     padding: 4px 8px;
     padding: 2px 6px;
     background: #0066cc;
     background: #6B5B95;
     border-radius: 4px;
     border-radius: 4px;
     font-size: 12px;
     font-size: 12px;
Line 250: Line 235:
}
}


.crt-tag-remove {
.crt-multiselect-tag-remove {
     cursor: pointer;
     cursor: pointer;
     opacity: 0.7;
     opacity: 0.7;
     font-size: 14px;
     font-size: 14px;
    line-height: 1;
}
}


.crt-tag-remove:hover {
.crt-multiselect-tag-remove:hover {
     opacity: 1;
     opacity: 1;
}
}


.crt-multiselect-input {
.crt-multiselect-input {
     width: 100%;
     flex: 1;
     padding: 8px 12px;
     min-width: 80px;
    background: #1a1a1e;
     border: none;
     border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}
 
.crt-multiselect-input:focus {
     outline: none;
     outline: none;
     border-color: #0088ff;
     font-size: 13px;
    padding: 4px 0;
    background: transparent;
    color: #333;
}
}


.crt-multiselect-input::placeholder {
.crt-multiselect-input::placeholder {
     color: #666;
     color: #999;
}
}


.crt-multiselect-dropdown {
.crt-multiselect-dropdown {
    display: none;
     position: absolute;
     position: absolute;
     top: 100%;
     top: 100%;
Line 287: Line 268:
     max-height: 200px;
     max-height: 200px;
     overflow-y: auto;
     overflow-y: auto;
     background: #1a1a1e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-top: none;
     border-radius: 6px;
     border-radius: 0 0 6px 6px;
     margin-top: 4px;
     z-index: 1000;
     z-index: 1000;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
}
}


.crt-multiselect-dropdown.visible {
.crt-multiselect.open .crt-multiselect-dropdown {
     display: block;
     display: block;
}
}


.crt-multiselect-option {
.crt-multiselect-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 8px;
     gap: 8px;
    padding: 8px 12px;
     color: #333;
    cursor: pointer;
    font-size: 13px;
     color: #ddd;
}
}


.crt-multiselect-option:hover {
.crt-multiselect-option:hover {
     background: #2a2a2e;
     background: #f0f0f0;
}
}


.crt-multiselect-option.selected {
.crt-multiselect-option.selected {
     background: rgba(0, 102, 204, 0.2);
     background: rgba(107, 91, 149, 0.15);
}
}


.crt-option-check {
.crt-option-check {
     width: 16px;
     color: #6B5B95;
     color: #0088ff;
     font-size: 12px;
}
}


Line 325: Line 307:
     padding: 12px;
     padding: 12px;
     text-align: center;
     text-align: center;
     color: #666;
     color: #999;
     font-size: 13px;
     font-size: 13px;
}
}


/* Apply button - hidden on desktop with auto-apply */
/* Apply button (hidden on desktop with auto-apply) */
.crt-apply-filters {
.crt-apply-filters {
     display: none;
     display: none;
     padding: 16px;
     padding: 12px;
     border-top: 1px solid #3a3a3e;
     border-top: 1px solid #ddd;
    background: #f8f8f8;
     flex-shrink: 0;
     flex-shrink: 0;
    background: #1a1a1e;
    border-radius: 0 0 12px 12px;
}
}


.crt-apply-btn {
.crt-apply-btn {
     width: 100%;
     width: 100%;
     padding: 12px 16px;
     padding: 10px;
     background: #0088ff;
     background: #6B5B95;
     border: none;
     border: none;
     border-radius: 8px;
     border-radius: 6px;
     color: #fff;
     color: #fff;
     font-size: 14px;
     font-size: 14px;
     font-weight: 600;
     font-weight: 500;
     cursor: pointer;
     cursor: pointer;
     transition: background 0.2s;
     transition: background 0.2s;
Line 353: Line 334:


.crt-apply-btn:hover {
.crt-apply-btn:hover {
     background: #0077dd;
     background: #5a4a84;
}
}


/* Results Area */
/* Results area */
.crt-search-results {
.crt-search-results {
     flex: 1;
     flex: 1;
Line 366: Line 347:
     justify-content: space-between;
     justify-content: space-between;
     align-items: center;
     align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 12px;
     gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #3a3a3e;
}
}


.crt-results-count {
.crt-results-count {
     font-size: 14px;
     font-size: 14px;
     color: #aaa;
     color: #666;
}
}


Line 381: Line 362:
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 16px;
     gap: 12px;
}
}


Line 392: Line 373:
.crt-results-sort label {
.crt-results-sort label {
     font-size: 13px;
     font-size: 13px;
     color: #888;
     color: #666;
}
}


.crt-results-sort select {
.crt-results-sort select {
     padding: 6px 10px;
     padding: 6px 10px;
     background: #2a2a2e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 6px;
     border-radius: 6px;
     color: #fff;
     color: #333;
     font-size: 13px;
     font-size: 13px;
    cursor: pointer;
}
}


Line 412: Line 392:
.crt-view-btn {
.crt-view-btn {
     padding: 6px 10px;
     padding: 6px 10px;
     background: #2a2a2e;
     background: #fff;
     border: 1px solid #3a3a3e;
     border: 1px solid #ccc;
     border-radius: 6px;
     border-radius: 6px;
     color: #888;
     color: #666;
    font-size: 16px;
     cursor: pointer;
     cursor: pointer;
    font-size: 14px;
     transition: all 0.2s;
     transition: all 0.2s;
}
}


.crt-view-btn:hover {
.crt-view-btn:hover {
     background: #333;
     background: #f0f0f0;
     color: #fff;
     color: #333;
}
}


.crt-view-btn.active {
.crt-view-btn.active {
     background: #0066cc;
     background: #6B5B95;
     border-color: #0066cc;
     border-color: #6B5B95;
     color: #fff;
     color: #fff;
}
}


/* Active Filters */
/* Active filters display */
.crt-active-filters {
.crt-active-filters {
     display: flex;
     display: flex;
Line 441: Line 421:


.crt-active-filter {
.crt-active-filter {
     display: inline-flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 6px;
     gap: 6px;
     padding: 6px 10px;
     padding: 4px 10px;
     background: #2a2a2e;
     background: #f0f0f0;
     border: 1px solid #3a3a3e;
     border: 1px solid #ddd;
     border-radius: 6px;
     border-radius: 16px;
     font-size: 12px;
     font-size: 12px;
     color: #ddd;
     color: #333;
}
}


.crt-af-label {
.crt-af-label {
     color: #888;
     color: #666;
}
}


Line 460: Line 440:
     color: #888;
     color: #888;
     font-size: 14px;
     font-size: 14px;
     margin-left: 2px;
     line-height: 1;
}
}


.crt-af-remove:hover {
.crt-af-remove:hover {
     color: #ff6666;
     color: #c44;
}
}


.crt-clear-all-filters {
.crt-clear-all-filters {
     padding: 6px 12px;
     padding: 4px 12px;
     background: transparent;
     background: transparent;
     border: 1px solid #666;
     border: 1px solid #aaa;
     border-radius: 6px;
     border-radius: 16px;
     color: #888;
     color: #666;
     font-size: 12px;
     font-size: 12px;
     cursor: pointer;
     cursor: pointer;
Line 478: Line 458:


.crt-clear-all-filters:hover {
.crt-clear-all-filters:hover {
     background: #333;
     background: #e8e8e8;
     color: #fff;
     color: #333;
}
}


/* Results Grid */
/* Results grid */
.crt-results-grid {
.crt-results-grid {
     display: grid;
     display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
     gap: 16px;
     gap: 16px;
}
.crt-results-grid.grid-view {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
}


Line 496: Line 473:
}
}


/* Result Cards */
/* Result cards */
.crt-result-card {
.crt-result-card {
     display: block;
     display: block;
     background: #2a2a2e;
     background: #fff;
     border-radius: 12px;
    border: 1px solid #e0e0e0;
     border-radius: 10px;
     overflow: hidden;
     overflow: hidden;
     text-decoration: none;
     text-decoration: none;
    color: inherit;
     transition: all 0.2s;
     transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
}


.crt-result-card:hover {
.crt-result-card:hover {
     transform: translateY(-4px);
     transform: translateY(-2px);
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
}


.grid-view .crt-card-image {
.crt-card-image {
     position: relative;
     position: relative;
     padding-bottom: 75%;
     padding-bottom: 75%; /* 4:3 aspect ratio */
     background: #1a1a1e;
     background: #f5f5f5;
     overflow: hidden;
     overflow: hidden;
}
}


.grid-view .crt-card-image img,
.crt-card-image img {
.grid-view .crt-card-image .crt-no-image {
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
Line 526: Line 503:
     width: 100%;
     width: 100%;
     height: 100%;
     height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-view .crt-card-image img {
     object-fit: contain;
     object-fit: contain;
}
}


.crt-no-image {
.crt-no-image {
     display: flex;
     position: absolute;
     align-items: center;
     top: 50%;
     justify-content: center;
     left: 50%;
     width: 100%;
     transform: translate(-50%, -50%);
    height: 100%;
    color: #444;
     font-size: 48px;
     font-size: 48px;
    color: #ccc;
}
}


Line 554: Line 524:
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     letter-spacing: 0.5px;
     margin-bottom: 4px;
     margin-bottom: 2px;
}
}


.crt-card-title {
.crt-card-title {
     font-size: 14px;
     font-size: 15px;
     font-weight: 600;
     font-weight: 600;
     color: #fff;
     color: #333;
     margin-bottom: 8px;
     margin-bottom: 8px;
    line-height: 1.3;
}
}


Line 568: Line 537:
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
     gap: 6px;
     gap: 4px;
}
}


.crt-card-meta span {
.crt-card-meta span {
    display: inline-block;
     padding: 2px 6px;
     padding: 2px 6px;
     background: #1a1a1e;
     background: #f0f0f0;
     border-radius: 4px;
     border-radius: 4px;
     font-size: 11px;
     font-size: 11px;
     color: #aaa;
     color: #666;
}
}


.crt-meta-type {
.crt-meta-type {
     background: rgba(0, 102, 204, 0.2) !important;
     background: rgba(107, 91, 149, 0.15) !important;
     color: #66aaff !important;
     color: #6B5B95 !important;
}
}


/* List view adjustments */
/* List view specific styles */
.list-view .crt-result-card {
.crt-results-grid.list-view .crt-result-card {
     display: flex;
     display: flex;
     align-items: center;
     flex-direction: row;
}
}


.list-view .crt-card-image {
.crt-results-grid.list-view .crt-card-image {
     width: 120px;
     width: 120px;
    min-width: 120px;
    padding-bottom: 0;
     height: 90px;
     height: 90px;
    flex-shrink: 0;
}
     background: #1a1a1e;
 
.crt-results-grid.list-view .crt-card-info {
     flex: 1;
     display: flex;
     display: flex;
     align-items: center;
     flex-direction: column;
     justify-content: center;
     justify-content: center;
}
}


.list-view .crt-card-image img {
/* Pagination */
     max-width: 100%;
.crt-pagination {
     max-height: 100%;
    display: flex;
     object-fit: contain;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
     padding-top: 24px;
     border-top: 1px solid #ddd;
     flex-wrap: wrap;
}
}


.list-view .crt-no-image {
.crt-pagination-info {
     font-size: 32px;
     font-size: 13px;
    color: #666;
    margin-right: 16px;
}
}


.list-view .crt-card-info {
.crt-page-btn {
     flex: 1;
     min-width: 36px;
     display: flex;
    height: 36px;
     align-items: center;
    padding: 0 12px;
     gap: 16px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
     color: #333;
     font-size: 13px;
     cursor: pointer;
    transition: all 0.2s;
}
 
.crt-page-btn:hover {
    background: #f0f0f0;
    border-color: #aaa;
}
}


.list-view .crt-card-brand {
.crt-page-btn.active {
     display: none;
     background: #6B5B95;
    border-color: #6B5B95;
    color: #fff;
}
}


.list-view .crt-card-title {
.crt-page-btn:disabled {
     margin: 0;
     opacity: 0.5;
     min-width: 200px;
     cursor: not-allowed;
}
}


.list-view .crt-card-meta {
.crt-page-ellipsis {
     margin: 0;
     padding: 0 4px;
    color: #999;
}
}


/* Loading State */
/* Loading state */
.crt-loading {
.crt-loading {
     display: flex;
     display: flex;
Line 637: Line 631:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     padding: 64px;
     padding: 48px;
     color: #888;
     color: #666;
}
}


Line 644: Line 638:
     width: 40px;
     width: 40px;
     height: 40px;
     height: 40px;
     border: 3px solid #333;
     border: 3px solid #ddd;
     border-top-color: #0088ff;
     border-top-color: #6B5B95;
     border-radius: 50%;
     border-radius: 50%;
     animation: spin 0.8s linear infinite;
     animation: spin 0.8s linear infinite;
Line 655: Line 649:
}
}


.crt-loading-text {
/* No results state */
    font-size: 14px;
}
 
/* No Results */
.crt-no-results {
.crt-no-results {
     text-align: center;
     text-align: center;
     padding: 64px 32px;
     padding: 48px;
     color: #888;
     color: #666;
}
}


Line 669: Line 659:
     font-size: 64px;
     font-size: 64px;
     margin-bottom: 16px;
     margin-bottom: 16px;
    opacity: 0.3;
}
}


Line 675: Line 664:
     font-size: 18px;
     font-size: 18px;
     margin-bottom: 8px;
     margin-bottom: 8px;
     color: #aaa;
     color: #555;
}
}


Line 683: Line 672:


.crt-no-results-hint a {
.crt-no-results-hint a {
     color: #0088ff;
     color: #6B5B95;
}
}


/* Error State */
/* Error state */
.crt-error {
.crt-error {
     text-align: center;
     text-align: center;
     padding: 64px 32px;
     padding: 48px;
     color: #ff6666;
     color: #c44;
}
}


Line 698: Line 687:
}
}


.crt-error-text {
/* Mobile responsive */
    font-size: 16px;
}
 
/* Pagination */
.crt-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #3a3a3e;
}
 
.crt-pagination-info {
    font-size: 13px;
    color: #888;
}
 
.crt-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}
 
.crt-page-btn {
    padding: 8px 12px;
    background: #2a2a2e;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: #ddd;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
 
.crt-page-btn:hover {
    background: #333;
    border-color: #4a4a4e;
}
 
.crt-page-btn.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}
 
.crt-page-prev,
.crt-page-next {
    font-weight: 500;
}
 
.crt-page-ellipsis {
    color: #666;
    padding: 0 8px;
}
 
/* Mobile Styles */
@media (max-width: 900px) {
@media (max-width: 900px) {
     .crt-search-wrapper {
     .crt-search-wrapper {
Line 764: Line 694:
      
      
     .crt-mobile-filter-toggle {
     .crt-mobile-filter-toggle {
         display: flex;
         display: block;
        align-items: center;
        justify-content: center;
     }
     }
      
      
     .crt-search-filters {
     .crt-search-filters {
         display: none;
         display: none;
        width: 100%;
         position: fixed;
         position: fixed;
         top: 0;
         top: 0;
Line 776: Line 705:
         right: 0;
         right: 0;
         bottom: 0;
         bottom: 0;
        width: 100%;
         max-height: 100vh;
         max-height: none;
         border-radius: 0;
         border-radius: 0;
         z-index: 1000;
         z-index: 1000;
     }
     }
      
      
     .crt-search-filters.visible {
     .crt-search-filters.mobile-open {
         display: flex;
         display: flex;
     }
     }
      
      
    .crt-filters-header {
        position: relative;
        background: #1a1a1e;
        border-radius: 0;
    }
   
    .crt-filters-body {
        flex: 1;
        overflow-y: auto;
    }
   
    /* Show apply button on mobile */
     .crt-apply-filters {
     .crt-apply-filters {
         display: block;
         display: block;
        border-radius: 0;
     }
     }
      
      
     .crt-results-grid.grid-view {
     .crt-results-grid {
         grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
         grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
     }
     }
      
      
     .list-view .crt-card-info {
     .crt-results-header {
         flex-direction: column;
         flex-direction: column;
         align-items: flex-start;
         align-items: flex-start;
        gap: 8px;
     }
     }
}
}


@media (max-width: 600px) {
@media (max-width: 480px) {
     .crt-results-grid.grid-view {
     .crt-results-grid {
         grid-template-columns: repeat(2, 1fr);
         grid-template-columns: 1fr 1fr;
         gap: 12px;
         gap: 10px;
     }
     }
      
      
     .crt-card-info {
     .crt-card-info {
         padding: 10px;
         padding: 8px;
     }
     }
      
      
     .crt-card-title {
     .crt-card-title {
         font-size: 13px;
         font-size: 13px;
    }
   
    .crt-results-header {
        flex-direction: column;
        align-items: stretch;
    }
   
    .crt-results-controls {
        justify-content: space-between;
     }
     }
}
}


/* Light mode overrides - matches CRT model infobox styling */
/* ============================================
.skin-theme-clientpref-day .crt-search-filters {
  DARK MODE OVERRIDES
    background: #f8f8f8;
  Applied when .skin-theme-clientpref-night is on html
    border: 1px solid #ddd;
  ============================================ */
}


.skin-theme-clientpref-day .crt-filters-header {
html.skin-theme-clientpref-night .crt-mobile-filter-toggle {
     border-bottom-color: #ddd;
    background: #2a2a2e;
     border-color: #3a3a3e;
    color: #fff;
}
}


.skin-theme-clientpref-day .crt-filters-header h2 {
html.skin-theme-clientpref-night .crt-mobile-filter-toggle:hover {
     color: #333;
     background: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-reset-btn {
html.skin-theme-clientpref-night .crt-search-filters {
     border-color: #aaa;
     background: #1a1a1e;
     color: #666;
     border-color: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-reset-btn:hover {
html.skin-theme-clientpref-night .crt-filters-header {
    background: #e8e8e8;
     border-bottom-color: #3a3a3e;
    color: #333;
     border-color: #888;
}
}


.skin-theme-clientpref-day .crt-filter-section {
html.skin-theme-clientpref-night .crt-filters-header h2 {
     background: #fff;
     color: #fff;
    border: 1px solid #e0e0e0;
}
}


.skin-theme-clientpref-day .crt-section-header {
html.skin-theme-clientpref-night .crt-reset-btn {
     background: #6B5B95;
     border-color: #666;
     border-radius: 8px 8px 0 0;
     color: #999;
}
}


.skin-theme-clientpref-day .crt-filter-section.collapsed .crt-section-header {
html.skin-theme-clientpref-night .crt-reset-btn:hover {
     border-radius: 8px;
    background: #333;
    color: #fff;
     border-color: #888;
}
}


.skin-theme-clientpref-day .crt-section-header:hover {
html.skin-theme-clientpref-night .crt-filter-section {
     background: #5a4a84;
     background: #2a2a2e;
    border-color: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-section-title {
html.skin-theme-clientpref-night .crt-section-header {
     color: #fff;
     background: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-section-toggle {
html.skin-theme-clientpref-night .crt-section-header:hover {
     color: rgba(255, 255, 255, 0.8);
     background: #4a4a4e;
}
}


.skin-theme-clientpref-day .crt-section-content {
html.skin-theme-clientpref-night .crt-section-content {
     background: #fff;
     background: #2a2a2e;
    border-radius: 0 0 8px 8px;
}
}


.skin-theme-clientpref-day .crt-filter-item label {
html.skin-theme-clientpref-night .crt-filter-item label {
     color: #555;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-filter-select,
html.skin-theme-clientpref-night .crt-filter-select,
.skin-theme-clientpref-day .crt-filter-number,
html.skin-theme-clientpref-night .crt-filter-number {
.skin-theme-clientpref-day .crt-multiselect-input {
     background: #1a1a1e;
     background: #fff;
     border-color: #4a4a4e;
     border-color: #ccc;
     color: #fff;
     color: #333;
}
 
.skin-theme-clientpref-day .crt-filter-select:hover,
.skin-theme-clientpref-day .crt-filter-number:hover,
.skin-theme-clientpref-day .crt-multiselect-input:hover {
    border-color: #999;
}
}


.skin-theme-clientpref-day .crt-filter-select:focus,
html.skin-theme-clientpref-night .crt-filter-select:focus,
.skin-theme-clientpref-day .crt-filter-number:focus,
html.skin-theme-clientpref-night .crt-filter-number:focus {
.skin-theme-clientpref-day .crt-multiselect-input:focus {
     border-color: #6B5B95;
     border-color: #6B5B95;
    outline: none;
}
}


.skin-theme-clientpref-day .crt-filter-number::placeholder {
html.skin-theme-clientpref-night .crt-filter-number::placeholder {
     color: #999;
     color: #666;
}
}


.skin-theme-clientpref-day .crt-multiselect-input::placeholder {
html.skin-theme-clientpref-night .crt-checkbox-label {
     color: #999;
     color: #ccc;
}
}


.skin-theme-clientpref-day .crt-checkbox-label {
html.skin-theme-clientpref-night .crt-multiselect-container {
     color: #333 !important;
     background: #1a1a1e;
    border-color: #4a4a4e;
}
}


.skin-theme-clientpref-day .crt-multiselect-tag {
html.skin-theme-clientpref-night .crt-multiselect-input {
    background: #6B5B95;
     color: #fff;
     color: #fff;
}
}


.skin-theme-clientpref-day .crt-multiselect-dropdown {
html.skin-theme-clientpref-night .crt-multiselect-input::placeholder {
     background: #fff;
     color: #666;
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
}


.skin-theme-clientpref-day .crt-multiselect-option {
html.skin-theme-clientpref-night .crt-multiselect-dropdown {
     color: #333;
     background: #2a2a2e;
    border-color: #4a4a4e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
}


.skin-theme-clientpref-day .crt-multiselect-option:hover {
html.skin-theme-clientpref-night .crt-multiselect-option {
     background: #f0f0f0;
     color: #fff;
}
}


.skin-theme-clientpref-day .crt-multiselect-option.selected {
html.skin-theme-clientpref-night .crt-multiselect-option:hover {
     background: rgba(107, 91, 149, 0.15);
     background: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-option-check {
html.skin-theme-clientpref-night .crt-multiselect-option.selected {
     color: #6B5B95;
     background: rgba(107, 91, 149, 0.3);
}
}


.skin-theme-clientpref-day .crt-multiselect-empty {
html.skin-theme-clientpref-night .crt-apply-filters {
     color: #999;
     background: #1a1a1e;
    border-top-color: #3a3a3e;
}
}


.skin-theme-clientpref-day .crt-apply-filters {
html.skin-theme-clientpref-night .crt-results-header {
    background: #f8f8f8;
     border-bottom-color: #3a3a3e;
     border-top-color: #ddd;
}
}


.skin-theme-clientpref-day .crt-apply-btn {
html.skin-theme-clientpref-night .crt-results-count {
     background: #6B5B95;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-apply-btn:hover {
html.skin-theme-clientpref-night .crt-results-sort label {
     background: #5a4a84;
     color: #aaa;
}
}


/* Results area - light mode */
html.skin-theme-clientpref-night .crt-results-sort select {
.skin-theme-clientpref-day .crt-results-header {
    background: #2a2a2e;
     border-bottom-color: #ddd;
     border-color: #4a4a4e;
    color: #fff;
}
}


.skin-theme-clientpref-day .crt-results-count {
html.skin-theme-clientpref-night .crt-view-btn {
     color: #666;
    background: #2a2a2e;
    border-color: #4a4a4e;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-results-sort label {
html.skin-theme-clientpref-night .crt-view-btn:hover {
    color: #666;
     background: #3a3a3e;
}
     color: #fff;
 
.skin-theme-clientpref-day .crt-results-sort select {
    background: #fff;
    border-color: #ccc;
    color: #333;
}
 
.skin-theme-clientpref-day .crt-view-btn {
    background: #fff;
    border-color: #ccc;
    color: #666;
}
 
.skin-theme-clientpref-day .crt-view-btn:hover {
     background: #f0f0f0;
     color: #333;
}
}


.skin-theme-clientpref-day .crt-view-btn.active {
html.skin-theme-clientpref-night .crt-view-btn.active {
     background: #6B5B95;
     background: #6B5B95;
     border-color: #6B5B95;
     border-color: #6B5B95;
Line 1,011: Line 894:
}
}


/* Active filters - light mode */
html.skin-theme-clientpref-night .crt-active-filter {
.skin-theme-clientpref-day .crt-active-filter {
     background: #2a2a2e;
     background: #f0f0f0;
     border-color: #4a4a4e;
     border-color: #ddd;
     color: #fff;
     color: #333;
}
}


.skin-theme-clientpref-day .crt-af-label {
html.skin-theme-clientpref-night .crt-af-label {
     color: #666;
     color: #888;
}
}


.skin-theme-clientpref-day .crt-af-remove {
html.skin-theme-clientpref-night .crt-af-remove {
     color: #888;
     color: #888;
}
}


.skin-theme-clientpref-day .crt-af-remove:hover {
html.skin-theme-clientpref-night .crt-af-remove:hover {
     color: #c44;
     color: #f66;
}
}


.skin-theme-clientpref-day .crt-clear-all-filters {
html.skin-theme-clientpref-night .crt-clear-all-filters {
     border-color: #aaa;
     border-color: #666;
     color: #666;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-clear-all-filters:hover {
html.skin-theme-clientpref-night .crt-clear-all-filters:hover {
     background: #e8e8e8;
     background: #333;
     color: #333;
     color: #fff;
}
}


/* Result cards - light mode */
html.skin-theme-clientpref-night .crt-result-card {
.skin-theme-clientpref-day .crt-result-card {
     background: #2a2a2e;
     background: #fff;
     border-color: #3a3a3e;
     border: 1px solid #e0e0e0;
     box-shadow: none;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
}


.skin-theme-clientpref-day .crt-result-card:hover {
html.skin-theme-clientpref-night .crt-result-card:hover {
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
}


.skin-theme-clientpref-day .crt-card-image {
html.skin-theme-clientpref-night .crt-card-image {
     background: #f5f5f5;
     background: #1a1a1e;
}
}


.skin-theme-clientpref-day .crt-no-image {
html.skin-theme-clientpref-night .crt-no-image {
     color: #ccc;
     color: #4a4a4e;
}
}


.skin-theme-clientpref-day .crt-card-brand {
html.skin-theme-clientpref-night .crt-card-brand {
     color: #888;
     color: #888;
}
}


.skin-theme-clientpref-day .crt-card-title {
html.skin-theme-clientpref-night .crt-card-title {
     color: #333;
     color: #fff;
}
}


.skin-theme-clientpref-day .crt-card-meta span {
html.skin-theme-clientpref-night .crt-card-meta span {
     background: #f0f0f0;
     background: #3a3a3e;
     color: #666;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-meta-type {
html.skin-theme-clientpref-night .crt-meta-type {
     background: rgba(107, 91, 149, 0.15) !important;
     background: rgba(107, 91, 149, 0.3) !important;
     color: #6B5B95 !important;
     color: #a99bc9 !important;
}
}


/* Pagination - light mode */
html.skin-theme-clientpref-night .crt-pagination {
.skin-theme-clientpref-day .crt-pagination {
     border-top-color: #3a3a3e;
     border-top-color: #ddd;
}
}


.skin-theme-clientpref-day .crt-pagination-info {
html.skin-theme-clientpref-night .crt-pagination-info {
     color: #666;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-page-btn {
html.skin-theme-clientpref-night .crt-page-btn {
     background: #fff;
     background: #2a2a2e;
     border-color: #ccc;
     border-color: #4a4a4e;
     color: #333;
     color: #fff;
}
}


.skin-theme-clientpref-day .crt-page-btn:hover {
html.skin-theme-clientpref-night .crt-page-btn:hover {
     background: #f0f0f0;
     background: #3a3a3e;
     border-color: #aaa;
     border-color: #5a5a5e;
}
}


.skin-theme-clientpref-day .crt-page-btn.active {
html.skin-theme-clientpref-night .crt-page-btn.active {
     background: #6B5B95;
     background: #6B5B95;
     border-color: #6B5B95;
     border-color: #6B5B95;
    color: #fff;
}
}


.skin-theme-clientpref-day .crt-page-ellipsis {
html.skin-theme-clientpref-night .crt-page-ellipsis {
     color: #999;
     color: #666;
}
}


/* Loading/error states - light mode */
html.skin-theme-clientpref-night .crt-loading {
.skin-theme-clientpref-day .crt-loading {
     color: #aaa;
     color: #666;
}
}


.skin-theme-clientpref-day .crt-spinner {
html.skin-theme-clientpref-night .crt-spinner {
     border-color: #ddd;
     border-color: #4a4a4e;
     border-top-color: #6B5B95;
     border-top-color: #6B5B95;
}
}


.skin-theme-clientpref-day .crt-no-results {
html.skin-theme-clientpref-night .crt-no-results {
     color: #666;
     color: #aaa;
}
}


.skin-theme-clientpref-day .crt-no-results-text {
html.skin-theme-clientpref-night .crt-no-results-text {
     color: #555;
     color: #ccc;
}
}


.skin-theme-clientpref-day .crt-no-results-hint a {
html.skin-theme-clientpref-night .crt-no-results-hint a {
     color: #6B5B95;
     color: #a99bc9;
}
 
/* Mobile filter toggle - light mode */
.skin-theme-clientpref-day .crt-mobile-filter-toggle {
    background: #fff;
    border-color: #ccc;
    color: #333;
}
 
.skin-theme-clientpref-day .crt-mobile-filter-toggle:hover {
    background: #f0f0f0;
}
}
MediaWiki Appliance - Powered by TurnKey Linux