mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-24 03:53:03 +00:00
315 lines
6.3 KiB
Plaintext
315 lines
6.3 KiB
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for Extension:WSSearch
|
|
* Module: ext.WSSearchFront.module
|
|
* Version: 3.5.4 c27ebcb5
|
|
*
|
|
* Date: 2021-11-23
|
|
*/
|
|
|
|
:root {
|
|
--tint-1: var( --color-surface-2 );
|
|
--border-1: var( --border-width-base ) solid var( --color-surface-2--active );
|
|
}
|
|
|
|
.wssearch--filter-options-search,
|
|
.wssearch--search-input {
|
|
color: var( --color-base );
|
|
background-color: var( --color-surface-2 );
|
|
border: var( --border-width-base ) solid var( --border-color-base );
|
|
|
|
&:hover {
|
|
border-color: #72777d;
|
|
}
|
|
|
|
&:focus {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color );
|
|
}
|
|
}
|
|
|
|
.wssearch--search-button {
|
|
color: var( --color-base );
|
|
background-color: var( --base-color );
|
|
border: var( --border-width-base ) solid var( --border-color-interactive );
|
|
|
|
&:hover {
|
|
background-color: var( --base-color-lighter );
|
|
border-color: var( --border-color-interactive--hover );
|
|
}
|
|
|
|
&:focus {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color ), inset 0 0 0 2px var( --color-surface-2 );
|
|
}
|
|
|
|
&:active {
|
|
color: var( --color-base );
|
|
background-color: var( --base-color-darker );
|
|
border-color: var( --base-color-darker );
|
|
}
|
|
}
|
|
|
|
.wssearch--selected-filter {
|
|
background-color: var( --color-surface-2 );
|
|
|
|
&:hover {
|
|
background-color: var( --color-surface-2--hover );
|
|
border-color: var( --base-color-lighter );
|
|
}
|
|
|
|
&::after {
|
|
color: var( --color-base );
|
|
}
|
|
}
|
|
|
|
.wssearch--checkbox-input-checkbox {
|
|
&:checked {
|
|
+ .wssearch--checkbox-input-icon {
|
|
background-color: var( --color-progressive--active );
|
|
border-color: var( --color-base );
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var( --base-color-lighter );
|
|
border-color: var( --base-color-lighter );
|
|
}
|
|
|
|
&:focus {
|
|
background-color: var( --color-base );
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color ), inset 0 0 0 2px var( --color-surface-2 );
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
+ .wssearch--checkbox-input-icon {
|
|
border-color: var( --base-color-lighter );
|
|
}
|
|
}
|
|
|
|
&:focus {
|
|
+ .wssearch--checkbox-input-icon {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color );
|
|
}
|
|
}
|
|
}
|
|
|
|
.wssearch--checkbox-input-icon {
|
|
background-color: var( --color-surface-0 );
|
|
border-color: #72777d;
|
|
}
|
|
|
|
.wssearch--selected-clear {
|
|
color: var( --color-link );
|
|
|
|
&:hover {
|
|
color: var( --color-link--hover );
|
|
}
|
|
}
|
|
|
|
.wssearch--order__sortorder {
|
|
color: var( --color-base );
|
|
background-color: var( --color-surface-0 );
|
|
border: var( --border-width-base ) solid #a2a9b1;
|
|
|
|
&:active,
|
|
&:focus {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color ), inset 0 0 0 2px var( --color-surface-2 );
|
|
}
|
|
}
|
|
|
|
.wssearch--size__select,
|
|
.wssearch--order__select {
|
|
color: var( --color-base );
|
|
background-color: var( --color-surface-0 );
|
|
border: var( --border-width-base ) solid #a2a9b1;
|
|
|
|
&:hover {
|
|
border-color: #72777d;
|
|
}
|
|
|
|
&:focus {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color );
|
|
}
|
|
}
|
|
|
|
.wssearch--order__label,
|
|
.wssearch--size__label {
|
|
color: var( --color-base );
|
|
}
|
|
|
|
.wssearch--order__option,
|
|
.wssearch--size__option {
|
|
color: var( --color-emphasized );
|
|
background-color: var( --color-surface-2 );
|
|
}
|
|
|
|
.wssearch-hit-prop-loading-bg {
|
|
background: linear-gradient( 135deg, var( --color-surface-2 ) 25%, transparent 0, transparent 50%, var( --color-surface-2 ) 0, var( --color-surface-2 ) 75%, transparent 0, transparent );
|
|
background-color: var( --color-surface-2--active );
|
|
}
|
|
|
|
.wssearch--hit-pill {
|
|
background-color: var( --color-surface-0 );
|
|
|
|
a {
|
|
color: var( --color-link );
|
|
|
|
&:hover {
|
|
color: var( --base-color-lighter );
|
|
}
|
|
}
|
|
}
|
|
|
|
.wssearch--hit__date,
|
|
.wssearch--hit__namespace,
|
|
.wssearch--hit__pagetitle {
|
|
color: var( --color-success );
|
|
}
|
|
|
|
.wssearch--pagers {
|
|
.wssearch--pager {
|
|
&.active {
|
|
color: var( --color-base );
|
|
background-color: var( --color-progressive );
|
|
}
|
|
|
|
&:hover {
|
|
color: var( --color-base );
|
|
}
|
|
}
|
|
|
|
.wssearch--pager-back-icon {
|
|
background-image: var( --back-icon );
|
|
|
|
&:hover {
|
|
background-color: var( --tint-1 );
|
|
}
|
|
}
|
|
|
|
.wssearch--pager-forward-icon {
|
|
background-image: var( --next-icon );
|
|
|
|
&:hover {
|
|
background-color: var( --tint-1 );
|
|
}
|
|
}
|
|
|
|
.wssearch--pager-hide {
|
|
color: var( --color-base );
|
|
|
|
.wssearch--pager-back-icon,
|
|
.wssearch--pager-forward-icon {
|
|
color: var( --color-base );
|
|
}
|
|
}
|
|
}
|
|
|
|
.wssearch--slider-input-icon {
|
|
border: var( --border-width-thick ) solid #a2a9b1;
|
|
}
|
|
|
|
.wssearch--selected-filters__combobox {
|
|
&:not( :empty ) {
|
|
background: var( --tint-1 );
|
|
border: var( --border-1 );
|
|
}
|
|
|
|
.wssearch--checkbox {
|
|
color: var( --color-emphasized );
|
|
background-color: var( --color-surface-2 );
|
|
|
|
&:hover {
|
|
background-color: var( --tint-1 );
|
|
}
|
|
|
|
&-selected {
|
|
color: #36c;
|
|
background-color: var( --color-surface-3 );
|
|
}
|
|
|
|
&.wssearch--checkbox-selected:hover {
|
|
background-color: var( --color-surface-2 );
|
|
}
|
|
|
|
&:not( :last-child ) {
|
|
border-bottom: var( --border-width-base ) solid var( --color-surface-2--active );
|
|
}
|
|
|
|
&-count {
|
|
color: var( --color-subtle );
|
|
}
|
|
}
|
|
}
|
|
|
|
.wssearch--facetsearch-input {
|
|
color: var( --color-base );
|
|
background-color: var( --color-surface-0 );
|
|
border: var( --border-width-base ) solid #a2a9b1;
|
|
|
|
&:hover {
|
|
border-color: #72777d;
|
|
}
|
|
|
|
&:focus {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color );
|
|
}
|
|
}
|
|
|
|
.wssearch--filter-showmore {
|
|
background-color: var( --tint-1 );
|
|
border: var( --border-1 );
|
|
|
|
&:hover {
|
|
color: var( --color-base );
|
|
background-color: var( --color-surface-0 );
|
|
border-color: var( --color-base );
|
|
}
|
|
|
|
&:active,
|
|
&:focus {
|
|
border-color: var( --color-base );
|
|
box-shadow: inset 0 0 0 1px var( --base-color ), inset 0 0 0 2px var( --color-surface-2 );
|
|
}
|
|
}
|
|
|
|
.wssearch--table {
|
|
.wssearch--hits {
|
|
background-color: #a2a9b1;
|
|
}
|
|
|
|
.wssearch--hit > * {
|
|
background-color: var( --color-surface-0 );
|
|
}
|
|
|
|
&__header > * {
|
|
background-color: var( --color-surface-2--active );
|
|
}
|
|
}
|
|
|
|
.wssearch--filter-icon__more,
|
|
.wssearch--search-icon,
|
|
.wssearch--search-clear,
|
|
.wssearch--pager-back-icon,
|
|
.wssearch--pager-forward-icon {
|
|
filter: var( --filter-invert );
|
|
}
|
|
|
|
@media ( max-width: 500px ) {
|
|
.wssearch--filters {
|
|
background: var( --color-surface-0 );
|
|
|
|
&__open {
|
|
color: var( --color-base );
|
|
background-color: var( --color-base );
|
|
border: var( --border-width-base ) solid var( --base-color );
|
|
}
|
|
}
|
|
}
|