MediaWiki:CRT Search.css: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/** | /** | ||
* EveryCRT Advanced Search Styles | * EveryCRT Advanced Search Styles | ||
* | * Light mode is default; dark mode applied via skin-theme-clientpref-night class | ||
*/ | */ | ||
/* Utility cards (above search) */ | |||
.crt-card-subtitle { | |||
font-size: 0.85rem; | |||
opacity: 0.7; | |||
} | |||
/* Container */ | /* Container */ | ||
| Line 18: | Line 24: | ||
width: 100%; | width: 100%; | ||
padding: 12px 16px; | padding: 12px 16px; | ||
background: # | background: #fff; | ||
border: 1px solid # | border: 1px solid #ccc; | ||
border-radius: 8px; | border-radius: 8px; | ||
color: # | color: #333; | ||
font-size: 16px; | font-size: 16px; | ||
cursor: pointer; | cursor: pointer; | ||
| Line 28: | Line 34: | ||
.crt-mobile-filter-toggle:hover { | .crt-mobile-filter-toggle:hover { | ||
background: # | background: #f0f0f0; | ||
} | } | ||
| Line 39: | Line 45: | ||
width: 280px; | width: 280px; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
background: # | background: #f8f8f8; | ||
border: 1px solid #ddd; | |||
border-radius: 12px; | border-radius: 12px; | ||
position: sticky; | position: sticky; | ||
top: 80px; | top: 80px; | ||
align-self: flex-start; | |||
max-height: calc(100vh - 100px); | |||
display: flex; | |||
flex-direction: column; | |||
} | } | ||
| Line 52: | Line 60: | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | align-items: center; | ||
padding: 16px; | |||
border-bottom: 1px solid #ddd; | |||
flex-shrink: 0; | |||
} | } | ||
| Line 60: | Line 68: | ||
margin: 0; | margin: 0; | ||
font-size: 18px; | font-size: 18px; | ||
color: # | color: #333; | ||
} | |||
.crt-mobile-close-btn { | |||
display: none; | |||
background: none; | |||
border: none; | |||
font-size: 24px; | |||
color: #666; | |||
cursor: pointer; | |||
padding: 0 4px; | |||
line-height: 1; | |||
} | |||
.crt-mobile-close-btn:hover { | |||
color: #333; | |||
} | } | ||
| Line 66: | Line 89: | ||
padding: 6px 12px; | padding: 6px 12px; | ||
background: transparent; | background: transparent; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
border-radius: 6px; | border-radius: 6px; | ||
color: # | color: #666; | ||
font-size: 12px; | font-size: 12px; | ||
cursor: pointer; | cursor: pointer; | ||
| Line 75: | Line 98: | ||
.crt-reset-btn:hover { | .crt-reset-btn:hover { | ||
background: # | background: #e8e8e8; | ||
color: # | color: #333; | ||
border-color: #888; | border-color: #888; | ||
} | } | ||
/* Filter | /* Scrollable filters body */ | ||
.crt-filters-body { | |||
flex: 1 1 auto; | |||
overflow-y: auto; | |||
overflow-x: visible; | |||
padding: 12px; | |||
min-height: 0; | |||
} | |||
/* Filter sections */ | |||
.crt-filter-section { | .crt-filter-section { | ||
background: #fff; | |||
border: 1px solid #e0e0e0; | |||
border-radius: 8px; | border-radius: 8px; | ||
overflow: | margin-bottom: 12px; | ||
overflow: visible; | |||
} | |||
.crt-filter-section:last-child { | |||
margin-bottom: 0; | |||
} | } | ||
| Line 92: | Line 129: | ||
justify-content: space-between; | justify-content: space-between; | ||
align-items: center; | align-items: center; | ||
padding: 12px | padding: 12px 14px; | ||
cursor: pointer; | cursor: pointer; | ||
background: #6B5B95; | |||
border-radius: 8px 8px 0 0; | |||
transition: background 0.2s; | |||
} | |||
.crt-filter-section.collapsed .crt-section-header { | |||
border-radius: 8px; | |||
} | } | ||
.crt-section-header:hover { | .crt-section-header:hover { | ||
background: # | background: #5a4a84; | ||
} | } | ||
.crt-section-title { | .crt-section-title { | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 13px; | |||
color: #fff; | color: #fff; | ||
} | } | ||
.crt-section-toggle { | .crt-section-toggle { | ||
color: | color: rgba(255, 255, 255, 0.8); | ||
font-size: | font-size: 10px; | ||
transition: transform 0.2s; | transition: transform 0.2s; | ||
} | } | ||
| Line 118: | Line 161: | ||
.crt-section-content { | .crt-section-content { | ||
padding: 0 | padding: 12px; | ||
background: #fff; | |||
border-radius: 0 0 8px 8px; | |||
} | } | ||
| Line 125: | Line 170: | ||
} | } | ||
/* Filter | /* Filter items */ | ||
.crt-filter-item { | .crt-filter-item { | ||
margin-bottom: 12px; | margin-bottom: 12px; | ||
| Line 137: | Line 182: | ||
display: block; | display: block; | ||
font-size: 12px; | font-size: 12px; | ||
color: # | color: #555; | ||
margin-bottom: | margin-bottom: 4px; | ||
} | } | ||
.crt-filter-select, | |||
.crt-filter-select | |||
.crt-filter-number { | .crt-filter-number { | ||
width: 100%; | width: 100%; | ||
padding: 8px | padding: 8px 10px; | ||
background: # | background: #fff; | ||
border: 1px solid # | border: 1px solid #ccc; | ||
border-radius: 6px; | border-radius: 6px; | ||
color: # | color: #333; | ||
font-size: | 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; | ||
} | } | ||
.crt-filter-number::placeholder { | .crt-filter-number::placeholder { | ||
color: # | color: #999; | ||
} | } | ||
/* | /* Checkbox styles */ | ||
.crt- | .crt-checkbox-item { | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: 8px; | gap: 8px; | ||
padding: 6px 0; | |||
} | } | ||
.crt- | .crt-checkbox-item input[type="checkbox"] { | ||
width: 16px; | |||
height: 16px; | |||
cursor: pointer; | |||
} | } | ||
.crt-checkbox-label { | .crt-checkbox-label { | ||
font-size: 13px; | |||
color: #333; | |||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
/* Multi-select widget */ | |||
/* | |||
.crt-multiselect { | .crt-multiselect { | ||
position: relative; | position: relative; | ||
} | } | ||
.crt-multiselect- | .crt-multiselect-container { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 4px; | ||
min-height: 36px; | |||
padding: 4px 8px; | |||
background: #fff; | |||
border: 1px solid #ccc; | |||
border-radius: 6px; | |||
cursor: text; | |||
align-items: center; | |||
} | } | ||
.crt-multiselect-tag { | .crt-multiselect-tag { | ||
display: | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 4px; | ||
padding: | padding: 2px 6px; | ||
background: # | background: #6B5B95; | ||
border-radius: 4px; | border-radius: 4px; | ||
font-size: 12px; | font-size: 12px; | ||
| Line 238: | Line 257: | ||
} | } | ||
.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 { | ||
flex: 1; | |||
min-width: 80px; | |||
border: none; | |||
border: | |||
outline: none; | outline: none; | ||
font-size: 13px; | |||
padding: 4px 0; | |||
background: transparent; | |||
color: #333; | |||
} | } | ||
.crt-multiselect-input::placeholder { | .crt-multiselect-input::placeholder { | ||
color: # | color: #999; | ||
} | } | ||
.crt-multiselect-dropdown { | .crt-multiselect-dropdown { | ||
position: absolute; | position: absolute; | ||
top: 100%; | top: 100%; | ||
| Line 275: | Line 290: | ||
max-height: 200px; | max-height: 200px; | ||
overflow-y: auto; | overflow-y: auto; | ||
background: # | background: #fff; | ||
border: 1px solid # | border: 1px solid #ccc; | ||
border-top: | border-radius: 6px; | ||
margin-top: 4px; | |||
z-index: 1000; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); | |||
display: none; | |||
} | } | ||
.crt-multiselect-dropdown | .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; | ||
color: #333; | |||
color: # | |||
} | } | ||
.crt-multiselect-option:hover { | .crt-multiselect-option:hover { | ||
background: # | background: #f0f0f0; | ||
} | } | ||
.crt-multiselect-option.selected { | .crt-multiselect-option.selected { | ||
background: rgba( | background: rgba(107, 91, 149, 0.15); | ||
} | } | ||
.crt-option-check { | .crt-option-check { | ||
color: #6B5B95; | |||
font-size: 12px; | |||
} | } | ||
| Line 312: | Line 329: | ||
padding: 12px; | padding: 12px; | ||
text-align: center; | text-align: center; | ||
color: # | color: #999; | ||
font-size: 13px; | font-size: 13px; | ||
} | } | ||
/* Apply button */ | /* Apply button (hidden on desktop with auto-apply) */ | ||
.crt-apply-filters { | .crt-apply-filters { | ||
display: none; | |||
padding | padding: 12px; | ||
border-top: 1px solid # | border-top: 1px solid #ddd; | ||
background: #f8f8f8; | |||
flex-shrink: 0; | |||
} | } | ||
.crt-apply-btn { | .crt-apply-btn { | ||
width: 100%; | width: 100%; | ||
padding: | padding: 10px; | ||
background: # | background: #6B5B95; | ||
border: none; | border: none; | ||
border-radius: | border-radius: 6px; | ||
color: #fff; | color: #fff; | ||
font-size: 14px; | font-size: 14px; | ||
font-weight: | font-weight: 500; | ||
cursor: pointer; | cursor: pointer; | ||
transition: background 0.2s; | transition: background 0.2s; | ||
| Line 337: | Line 356: | ||
.crt-apply-btn:hover { | .crt-apply-btn:hover { | ||
background: # | background: #5a4a84; | ||
} | } | ||
/* Results | /* Results area */ | ||
.crt-search-results { | .crt-search-results { | ||
flex: 1; | flex: 1; | ||
| Line 350: | Line 369: | ||
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; | ||
} | } | ||
.crt-results-count { | .crt-results-count { | ||
font-size: 14px; | font-size: 14px; | ||
color: # | color: #666; | ||
} | } | ||
| Line 365: | Line 384: | ||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 12px; | ||
} | } | ||
| Line 376: | Line 395: | ||
.crt-results-sort label { | .crt-results-sort label { | ||
font-size: 13px; | font-size: 13px; | ||
color: # | color: #666; | ||
} | } | ||
.crt-results-sort select { | .crt-results-sort select { | ||
padding: 6px 10px; | padding: 6px 10px; | ||
background: # | background: #fff; | ||
border: 1px solid # | border: 1px solid #ccc; | ||
border-radius: 6px; | border-radius: 6px; | ||
color: # | color: #333; | ||
font-size: 13px; | font-size: 13px; | ||
} | } | ||
| Line 396: | Line 414: | ||
.crt-view-btn { | .crt-view-btn { | ||
padding: 6px 10px; | padding: 6px 10px; | ||
background: # | background: #fff; | ||
border: 1px solid # | border: 1px solid #ccc; | ||
border-radius: 6px; | border-radius: 6px; | ||
color: # | color: #666; | ||
cursor: pointer; | cursor: pointer; | ||
font-size: 14px; | |||
transition: all 0.2s; | transition: all 0.2s; | ||
} | } | ||
.crt-view-btn:hover { | .crt-view-btn:hover { | ||
background: # | background: #f0f0f0; | ||
color: # | color: #333; | ||
} | } | ||
.crt-view-btn.active { | .crt-view-btn.active { | ||
background: # | background: #6B5B95; | ||
border-color: # | border-color: #6B5B95; | ||
color: #fff; | color: #fff; | ||
} | } | ||
/* Active | /* Active filters display */ | ||
.crt-active-filters { | .crt-active-filters { | ||
display: flex; | display: flex; | ||
| Line 425: | Line 443: | ||
.crt-active-filter { | .crt-active-filter { | ||
display: | display: flex; | ||
align-items: center; | align-items: center; | ||
gap: 6px; | gap: 6px; | ||
padding: | padding: 4px 10px; | ||
background: # | background: #f0f0f0; | ||
border: 1px solid # | border: 1px solid #ddd; | ||
border-radius: | border-radius: 16px; | ||
font-size: 12px; | font-size: 12px; | ||
color: # | color: #333; | ||
} | } | ||
.crt-af-label { | .crt-af-label { | ||
color: # | color: #666; | ||
} | } | ||
| Line 444: | Line 462: | ||
color: #888; | color: #888; | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 1; | |||
} | } | ||
.crt-af-remove:hover { | .crt-af-remove:hover { | ||
color: # | color: #c44; | ||
} | } | ||
.crt-clear-all-filters { | .crt-clear-all-filters { | ||
padding: | padding: 4px 12px; | ||
background: transparent; | background: transparent; | ||
border: 1px solid # | border: 1px solid #aaa; | ||
border-radius: | border-radius: 16px; | ||
color: # | color: #666; | ||
font-size: 12px; | font-size: 12px; | ||
cursor: pointer; | cursor: pointer; | ||
| Line 462: | Line 480: | ||
.crt-clear-all-filters:hover { | .crt-clear-all-filters:hover { | ||
background: # | background: #e8e8e8; | ||
color: # | color: #333; | ||
} | } | ||
/* Results | /* 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; | ||
} | } | ||
| Line 480: | Line 495: | ||
} | } | ||
/* Result | /* Result cards */ | ||
.crt-result-card { | .crt-result-card { | ||
display: block; | display: block; | ||
background: # | background: #fff; | ||
border-radius: | border: 1px solid #e0e0e0; | ||
border-radius: 10px; | |||
overflow: hidden; | overflow: hidden; | ||
text-decoration: none; | text-decoration: none; | ||
transition: all 0.2s; | |||
transition: | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | ||
} | } | ||
.crt-result-card:hover { | .crt-result-card:hover { | ||
transform: translateY(- | transform: translateY(-2px); | ||
box-shadow: 0 | box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | ||
} | } | ||
.crt-card-image { | |||
position: relative; | position: relative; | ||
padding-bottom: 75%; | padding-bottom: 75%; /* 4:3 aspect ratio */ | ||
background: # | background: #f5f5f5; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.crt-card-image img { | |||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
| Line 510: | Line 525: | ||
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
object-fit: contain; | |||
} | } | ||
.crt-no-image { | .crt-no-image { | ||
position: absolute; | |||
top: 50%; | |||
left: 50%; | |||
transform: translate(-50%, -50%); | |||
font-size: 48px; | font-size: 48px; | ||
color: #ccc; | |||
} | } | ||
| Line 534: | Line 546: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
margin-bottom: | margin-bottom: 2px; | ||
} | } | ||
.crt-card-title { | .crt-card-title { | ||
font-size: | font-size: 15px; | ||
font-weight: 600; | font-weight: 600; | ||
color: # | color: #333; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
} | } | ||
| Line 548: | Line 559: | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 4px; | ||
} | } | ||
.crt-card-meta span { | .crt-card-meta span { | ||
padding: 2px 6px; | padding: 2px 6px; | ||
background: # | background: #f0f0f0; | ||
border-radius: 4px; | border-radius: 4px; | ||
font-size: 11px; | font-size: 11px; | ||
color: # | color: #666; | ||
} | } | ||
.crt-meta-type { | .crt-meta-type { | ||
background: rgba( | background: rgba(107, 91, 149, 0.15) !important; | ||
color: # | color: #6B5B95 !important; | ||
} | } | ||
/* List view | /* List view specific styles */ | ||
.list-view .crt-result-card { | .crt-results-grid.list-view .crt-result-card { | ||
display: flex; | display: flex; | ||
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; | ||
} | |||
.crt-results-grid.list-view .crt-card-info { | |||
flex: 1; | |||
display: flex; | display: flex; | ||
flex-direction: column; | |||
justify-content: center; | justify-content: center; | ||
} | } | ||
. | /* Pagination */ | ||
.crt-pagination { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
gap: 8px; | |||
margin-top: 24px; | |||
padding-top: 24px; | |||
border-top: 1px solid #ddd; | |||
flex-wrap: wrap; | |||
} | } | ||
.crt-pagination-info { | |||
font-size: | font-size: 13px; | ||
color: #666; | |||
margin-right: 16px; | |||
} | } | ||
.crt-page-btn { | |||
min-width: 36px; | |||
height: 36px; | |||
padding: 0 12px; | |||
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; | |||
} | } | ||
.crt-page-btn.active { | |||
background: #6B5B95; | |||
border-color: #6B5B95; | |||
color: #fff; | |||
} | } | ||
.crt-page-btn:disabled { | |||
opacity: 0.5; | |||
cursor: not-allowed; | |||
} | } | ||
.crt-page-ellipsis { | |||
padding: 0 4px; | |||
color: #999; | |||
} | } | ||
/* Loading | /* Loading state */ | ||
.crt-loading { | .crt-loading { | ||
display: flex; | display: flex; | ||
| Line 617: | Line 653: | ||
align-items: center; | align-items: center; | ||
justify-content: center; | justify-content: center; | ||
padding: | padding: 48px; | ||
color: # | color: #666; | ||
} | } | ||
| Line 624: | Line 660: | ||
width: 40px; | width: 40px; | ||
height: 40px; | height: 40px; | ||
border: 3px solid # | border: 3px solid #ddd; | ||
border-top-color: # | border-top-color: #6B5B95; | ||
border-radius: 50%; | border-radius: 50%; | ||
animation: spin 0.8s linear infinite; | animation: spin 0.8s linear infinite; | ||
| Line 635: | Line 671: | ||
} | } | ||
/* No results state */ | |||
/* No | |||
.crt-no-results { | .crt-no-results { | ||
text-align: center; | text-align: center; | ||
padding: | padding: 48px; | ||
color: # | color: #666; | ||
} | } | ||
| Line 649: | Line 681: | ||
font-size: 64px; | font-size: 64px; | ||
margin-bottom: 16px; | margin-bottom: 16px; | ||
} | } | ||
| Line 655: | Line 686: | ||
font-size: 18px; | font-size: 18px; | ||
margin-bottom: 8px; | margin-bottom: 8px; | ||
color: # | color: #555; | ||
} | } | ||
| Line 663: | Line 694: | ||
.crt-no-results-hint a { | .crt-no-results-hint a { | ||
color: # | color: #6B5B95; | ||
} | } | ||
/* Error | /* Error state */ | ||
.crt-error { | .crt-error { | ||
text-align: center; | text-align: center; | ||
padding: | padding: 48px; | ||
color: # | color: #c44; | ||
} | } | ||
| Line 678: | Line 709: | ||
} | } | ||
/* Mobile responsive */ | |||
/* Mobile | |||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.crt-search-wrapper { | .crt-search-wrapper { | ||
flex-direction: column; | flex-direction: column; | ||
} | |||
.crt-card-subtitle { | |||
display: none; | |||
} | |||
.crt-mobile-filter-toggle { | |||
display: block; | |||
} | } | ||
.crt-mobile- | .crt-mobile-close-btn { | ||
display: | display: block; | ||
} | } | ||
.crt-search-filters { | .crt-search-filters { | ||
display: none; | display: none; | ||
width: 100%; | |||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
| Line 756: | Line 735: | ||
right: 0; | right: 0; | ||
bottom: 0; | bottom: 0; | ||
height: 100vh; | |||
max-height: none; | max-height: none; | ||
border-radius: 0; | border-radius: 0; | ||
z-index: | z-index: 10000; | ||
background: #f8f8f8; | |||
flex-direction: column; | |||
} | } | ||
.crt-search-filters. | .crt-search-filters.mobile-open { | ||
display: | display: flex; | ||
} | |||
.crt-filters-body { | |||
flex: 1 1 0; | |||
min-height: 0; | |||
overflow-y: auto; | |||
overflow-x: hidden; | |||
} | } | ||
.crt-filters | .crt-apply-filters { | ||
display: block; | |||
} | } | ||
.crt-results-grid | .crt-results-grid { | ||
grid-template-columns: repeat(auto-fill, minmax( | grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); | ||
} | } | ||
.crt-results-header { | |||
flex-direction: column; | flex-direction: column; | ||
align-items: flex-start; | align-items: flex-start; | ||
} | } | ||
} | } | ||
@media (max-width: | @media (max-width: 480px) { | ||
.crt-results-grid | .crt-results-grid { | ||
grid-template-columns: | grid-template-columns: 1fr 1fr; | ||
gap: | gap: 10px; | ||
} | } | ||
.crt-card-info { | .crt-card-info { | ||
padding: | padding: 8px; | ||
} | } | ||
| Line 803: | Line 781: | ||
font-size: 13px; | font-size: 13px; | ||
} | } | ||
} | |||
.crt- | |||
/* Notifications */ | |||
.crt-notifications { | |||
position: fixed; | |||
top: 60px; | |||
right: 20px; | |||
z-index: 1000; | |||
max-width: 400px; | |||
} | |||
.crt-notification { | |||
display: flex; | |||
align-items: flex-start; | |||
gap: 10px; | |||
padding: 12px 16px; | |||
margin-bottom: 10px; | |||
border-radius: 8px; | |||
background: #1e1e22; | |||
border: 1px solid #3a3a3e; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); | |||
animation: slideIn 0.3s ease; | |||
} | |||
@keyframes slideIn { | |||
from { | |||
opacity: 0; | |||
transform: translateX(20px); | |||
} | } | ||
to { | |||
opacity: 1; | |||
transform: translateX(0); | |||
} | } | ||
} | } | ||
/* | .crt-notification-warning { | ||
.skin-theme-clientpref- | border-color: #f59e0b; | ||
.skin-theme-clientpref- | background: linear-gradient(135deg, #292524 0%, #1c1917 100%); | ||
background: # | } | ||
.crt-notification-error { | |||
border-color: #ef4444; | |||
background: linear-gradient(135deg, #292524 0%, #1c1917 100%); | |||
} | |||
.crt-notification-info { | |||
border-color: #3b82f6; | |||
} | |||
.crt-notification-icon { | |||
flex-shrink: 0; | |||
font-size: 16px; | |||
} | |||
.crt-notification-message { | |||
flex: 1; | |||
font-size: 14px; | |||
color: #e5e5e5; | |||
line-height: 1.4; | |||
} | |||
.crt-notification-close { | |||
flex-shrink: 0; | |||
background: none; | |||
border: none; | |||
color: #888; | |||
font-size: 18px; | |||
cursor: pointer; | |||
padding: 0; | |||
line-height: 1; | |||
} | |||
.crt-notification-close:hover { | |||
color: #fff; | |||
} | |||
/* ============================================ | |||
DARK MODE OVERRIDES | |||
Applied when .skin-theme-clientpref-night is on html | |||
============================================ */ | |||
html.skin-theme-clientpref-night .crt-mobile-filter-toggle { | |||
background: #2a2a2e; | |||
border-color: #3a3a3e; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-mobile-filter-toggle:hover { | |||
background: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-mobile-close-btn { | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-mobile-close-btn:hover { | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-search-filters { | |||
background: #1a1a1e; | |||
border-color: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-filters-header { | |||
border-bottom-color: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-filters-header h2 { | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-reset-btn { | |||
border-color: #666; | |||
color: #999; | |||
} | |||
html.skin-theme-clientpref-night .crt-reset-btn:hover { | |||
background: #333; | |||
color: #fff; | |||
border-color: #888; | |||
} | |||
html.skin-theme-clientpref-night .crt-filter-section { | |||
background: #2a2a2e; | |||
border-color: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-section-header { | |||
background: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-section-header:hover { | |||
background: #4a4a4e; | |||
} | |||
html.skin-theme-clientpref-night .crt-section-content { | |||
background: #2a2a2e; | |||
} | |||
html.skin-theme-clientpref-night .crt-filter-item label { | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-filter-select, | |||
html.skin-theme-clientpref-night .crt-filter-number { | |||
background: #1a1a1e; | |||
border-color: #4a4a4e; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-filter-select:focus, | |||
html.skin-theme-clientpref-night .crt-filter-number:focus { | |||
border-color: #6B5B95; | |||
} | |||
html.skin-theme-clientpref-night .crt-filter-number::placeholder { | |||
color: #666; | |||
} | |||
html.skin-theme-clientpref-night .crt-checkbox-label { | |||
color: #ccc; | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-container { | |||
background: #1a1a1e; | |||
border-color: #4a4a4e; | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-input { | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-input::placeholder { | |||
color: #666; | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-dropdown { | |||
background: #2a2a2e; | |||
border-color: #4a4a4e; | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-option { | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-option:hover { | |||
background: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-multiselect-option.selected { | |||
background: rgba(107, 91, 149, 0.3); | |||
} | |||
html.skin-theme-clientpref-night .crt-apply-filters { | |||
background: #1a1a1e; | |||
border-top-color: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-results-header { | |||
border-bottom-color: #3a3a3e; | |||
} | |||
html.skin-theme-clientpref-night .crt-results-count { | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-results-sort label { | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-results-sort select { | |||
background: #2a2a2e; | |||
border-color: #4a4a4e; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-view-btn { | |||
background: #2a2a2e; | |||
border-color: #4a4a4e; | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-view-btn:hover { | |||
background: #3a3a3e; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-view-btn.active { | |||
background: #6B5B95; | |||
border-color: #6B5B95; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-active-filter { | |||
background: #2a2a2e; | |||
border-color: #4a4a4e; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-af-label { | |||
color: #888; | |||
} | |||
html.skin-theme-clientpref-night .crt-af-remove { | |||
color: #888; | |||
} | |||
html.skin-theme-clientpref-night .crt-af-remove:hover { | |||
color: #f66; | |||
} | |||
html.skin-theme-clientpref-night .crt-clear-all-filters { | |||
border-color: #666; | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-clear-all-filters:hover { | |||
background: #333; | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-result-card { | |||
background: #2a2a2e; | |||
border-color: #3a3a3e; | |||
box-shadow: none; | |||
} | |||
html.skin-theme-clientpref-night .crt-result-card:hover { | |||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); | |||
} | |||
html.skin-theme-clientpref-night .crt-card-image { | |||
background: #1a1a1e; | |||
} | |||
html.skin-theme-clientpref-night .crt-no-image { | |||
color: #4a4a4e; | |||
} | |||
html.skin-theme-clientpref-night .crt-card-brand { | |||
color: #888; | |||
} | |||
html.skin-theme-clientpref-night .crt-card-title { | |||
color: #fff; | |||
} | |||
html.skin-theme-clientpref-night .crt-card-meta span { | |||
background: #3a3a3e; | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-meta-type { | |||
background: rgba(107, 91, 149, 0.3) !important; | |||
color: #a99bc9 !important; | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-pagination { | ||
border-top-color: #3a3a3e; | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-pagination-info { | ||
color: #aaa; | |||
color: # | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-page-btn { | ||
background: #2a2a2e; | |||
border-color: #4a4a4e; | |||
color: #fff; | |||
background: # | |||
border-color: # | |||
color: # | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-page-btn:hover { | ||
background: # | background: #3a3a3e; | ||
border-color: #5a5a5e; | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-page-btn.active { | ||
background: # | background: #6B5B95; | ||
border-color: #6B5B95; | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-page-ellipsis { | ||
color: #666; | color: #666; | ||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-loading { | ||
color: #aaa; | |||
border-color: # | } | ||
color: # | |||
html.skin-theme-clientpref-night .crt-spinner { | |||
border-color: #4a4a4e; | |||
border-top-color: #6B5B95; | |||
} | |||
html.skin-theme-clientpref-night .crt-no-results { | |||
color: #aaa; | |||
} | |||
html.skin-theme-clientpref-night .crt-no-results-text { | |||
color: #ccc; | |||
} | } | ||
.skin-theme-clientpref- | html.skin-theme-clientpref-night .crt-no-results-hint a { | ||
color: #a99bc9; | |||
} | } | ||