2019-12-29 18:45:17 +00:00
|
|
|
/*
|
2022-10-21 17:44:15 +00:00
|
|
|
* Citizen
|
2019-12-29 18:45:17 +00:00
|
|
|
*
|
2022-10-21 17:44:15 +00:00
|
|
|
* SkinStyles for Extension:SemanticMediaWiki
|
|
|
|
* Module: ext.smw.style
|
|
|
|
* Version: 4.0.2 (0fcdfce)
|
|
|
|
*
|
|
|
|
* Date: 2022-10-20
|
2019-12-29 18:45:17 +00:00
|
|
|
*/
|
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* smw/ext.smw.css */
|
|
|
|
.smw-placeholder {
|
|
|
|
font-family: inherit;
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-10-21 17:44:15 +00:00
|
|
|
line-height: inherit;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
border-radius: var( --border-radius--small );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.client-nojs .smw-placeholder::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-personal-jobqueue-watchlist:hover,
|
|
|
|
.smw-personal-jobqueue-watchlist:focus,
|
|
|
|
.smw-personal-jobqueue-watchlist:active {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.item-count {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
|
|
|
border-radius: var( --border-radius--small );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.item-count.active {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* make divs look like <pre> */
|
|
|
|
.smwpre {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
border-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-debug-box {
|
|
|
|
background: var( --background-color-warning );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --color-warning );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-debug-box-header {
|
|
|
|
font-family: var( --font-family-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom-color: var( --color-warning );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
div.smwtimeline {
|
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-striped tbody > tr:nth-child( even ) {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-striped tbody > tr:nth-child( odd ) {
|
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-striped tbody > tr:hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-clean tr {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-clean tr > th {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-clean tr > td {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwtable-clean tbody > tr:nth-child( even ) {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
div.smwhr hr {
|
|
|
|
color: var( --border-color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
span.smwwarning {
|
|
|
|
color: var( --background-color-icon );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
span.smwsearchicon {
|
|
|
|
color: var( --background-color-icon );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
span.smwsearch a {
|
|
|
|
color: var( --background-color-icon );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
span.smwsearch a:hover {
|
|
|
|
color: var( --background-color-icon--hover );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
// Added active state
|
|
|
|
span.smwsearch a:active {
|
|
|
|
color: var( --background-color-icon--hover );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
span.smwbrowse a {
|
|
|
|
color: var( --background-color-icon );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
span.smwbrowse a:hover {
|
|
|
|
color: var( --background-color-icon--hover );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
// Added active state
|
|
|
|
span.smwbrowse a:active {
|
|
|
|
color: var( --background-color-icon--hover );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.concept-documenation {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
hr.smw-form-horizontalrule {
|
|
|
|
background-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-horizontalrule {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-editpage-help {
|
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-column-header {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-note {
|
|
|
|
font-family: inherit;
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-10-21 17:44:15 +00:00
|
|
|
line-height: inherit;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
border-radius: var( --border-radius--small );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-info {
|
|
|
|
background: var( -background-color-primary--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left-color: var( --color-primary );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-info .title {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-info-light {
|
|
|
|
background: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-info-light .title {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-warning {
|
|
|
|
background: var( --background-color-warning );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left-color: var( --color-warning );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-warning .title {
|
|
|
|
color: var( --color-warning );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-success {
|
|
|
|
background: var( --background-color-success );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left-color: var( --color-success );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-success .title {
|
|
|
|
color: var( --color-success );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-callout-error {
|
|
|
|
background: var( --background-color-destructive );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left-color: var( --color-destructive );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.autocomplete-suggestions {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
background: var( --color-surface-1 );
|
2022-10-21 17:44:15 +00:00
|
|
|
border: 0;
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
box-shadow: var( --box-shadow-dialog );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.autocomplete-suggestion {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.autocomplete-selected {
|
|
|
|
background: var( --background-color-primary--active );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.autocomplete-suggestions strong {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.autocomplete-group strong {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-breadcrumb-arrow-right {
|
|
|
|
border-left-color: var( --color-base--subtle );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-ask-action-btn,
|
|
|
|
.smw-action-btn {
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-ask-action-btn-lgrey,
|
|
|
|
a.smw-ask-action-btn-lgrey:visited,
|
|
|
|
.smw-action-btn-lgrey,
|
|
|
|
.smw-action-btn-lgrey:visited {
|
|
|
|
color: var( --color-base );
|
|
|
|
text-decoration: none;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
border-color: var( --color-surface-2 );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
a.smw-ask-action-btn-lgrey:hover,
|
|
|
|
.smw-action-btn-lgrey:hover {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--hover );
|
|
|
|
border-color: var( --color-surface-2--hover );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
// Added active state
|
|
|
|
a.smw-ask-action-btn-lgrey:active,
|
|
|
|
.smw-action-btn-lgrey:active {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2--active );
|
|
|
|
border-color: var( --color-surface-2--active );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-ask-action-btn-lblue,
|
|
|
|
a.smw-ask-action-btn-lblue:visited {
|
2024-06-05 22:54:54 +00:00
|
|
|
color: var( --color-inverted );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-primary );
|
|
|
|
border-color: var( --color-primary );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
a.smw-ask-action-btn-lblue:hover {
|
2024-06-05 22:54:54 +00:00
|
|
|
color: var( --color-inverted );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-primary--hover );
|
|
|
|
border-color: var( --color-primary--hover );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
// Added active state
|
|
|
|
a.smw-ask-action-btn-lblue:active {
|
2024-06-05 22:54:54 +00:00
|
|
|
color: var( --color-inverted );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-primary--active );
|
|
|
|
border-color: var( --color-primary--active );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-page-indicator {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --background-color-icon );
|
2022-10-21 17:44:15 +00:00
|
|
|
border-color: var( --border-color-base );
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-protection-indicator {
|
|
|
|
color: var( --background-color-icon );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-protection-indicator.with-border {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-page-indicator.usage-count.moderate {
|
|
|
|
color: var( --color-primary );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-primary--hover );
|
|
|
|
border-color: var( --background-color-primary--hover );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-page-indicator.usage-count.high {
|
|
|
|
color: var( --color-destructive );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-destructive );
|
|
|
|
border-color: var( --background-color-destructive );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.mw-json .value,
|
|
|
|
.mw-json-single-value {
|
|
|
|
word-break: break-word;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.ns-112.action-submit .error {
|
|
|
|
color: var( --color-destructive );
|
2023-07-28 01:19:27 +00:00
|
|
|
background: var( --background-color-destructive );
|
|
|
|
border-left-color: var( --color-destructive );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.ns-112.action-submit .error::before {
|
2022-10-21 17:44:15 +00:00
|
|
|
color: var( --color-destructive );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* smw/ext.smw.dropdown.css */
|
|
|
|
.smw-dropdown {
|
|
|
|
font-family: inherit;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-dropdown > a,
|
|
|
|
.smw-dropdown > button {
|
|
|
|
font-family: inherit;
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-07-17 00:06:15 +00:00
|
|
|
.smw-dropdown > button {
|
|
|
|
font-weight: var( --font-weight-medium );
|
|
|
|
}
|
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-dropdown > a::before,
|
|
|
|
.smw-dropdown > button::before {
|
2022-10-21 17:44:15 +00:00
|
|
|
border-top-color: var( --color-base--emphasized );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-dropdown .smw-dropdown-menu {
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-1 );
|
2022-10-21 17:44:15 +00:00
|
|
|
border-color: var( --border-color-base );
|
|
|
|
border-radius: var( --border-radius--small );
|
|
|
|
box-shadow: var( --box-shadow-dialog );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-dropdown .smw-dropdown-menu li:hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-dropdown .smw-dropdown-menu li a {
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-dropdown .smw-dropdown-menu .divider {
|
|
|
|
background-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-dropdown-menu::before {
|
2022-10-21 17:44:15 +00:00
|
|
|
border-bottom-color: var( --color-surface-1 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-dropdown-menu::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
border-bottom-color: var( --color-surface-1 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* smw/ext.smw.tabs.css */
|
|
|
|
.smw-tabs section,
|
|
|
|
.smw-tabs .subtab-content {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
// Similar to TabberNeue
|
|
|
|
.smw-tabs label.nav-label {
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--subtle );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabs label.nav-label:hover {
|
|
|
|
color: var( --color-primary--hover );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom: 2px solid var( --color-primary--hover );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
.smw-tabs label.nav-label:active {
|
|
|
|
color: var( --color-primary--active );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom: 2px solid var( --color-primary--active );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabs input.nav-tab:checked + label.nav-label {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-primary );
|
2022-10-21 17:44:15 +00:00
|
|
|
border-color: transparent;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-tabs input.nav-tab:checked + label.nav-label.cached {
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-warning );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-tabs label.nav-label .smw-tab-icon {
|
|
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-tabs label.nav-label:hover .smw-tab-icon {
|
|
|
|
opacity: var( --opacity-icon-base--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
.smw-tabs label.nav-label:active .smw-tab-icon,
|
|
|
|
.smw-tabs input.nav-tab:checked + label.nav-label .smw-tab-icon {
|
|
|
|
opacity: var( --opacity-icon-base--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and ( max-width: 800px ) {
|
2019-12-29 18:45:17 +00:00
|
|
|
.smw-tabs input.nav-tab:checked + label.nav-label {
|
2022-10-21 17:44:15 +00:00
|
|
|
background-color: var( --background-color-primary--active );
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabset > label {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-tabset > label::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
background: var( --color-base--subtle );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabset > input:focus + label,
|
|
|
|
.smw-tabset > input:checked + label {
|
|
|
|
color: var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-tabset > input:focus + label::after,
|
|
|
|
.smw-tabset > input:checked + label::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
background: var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-tabset > input:focus + label.smw-indicator-severity-error::after,
|
|
|
|
.smw-tabset > input:checked + label.smw-indicator-severity-error::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
background: var( --color-destructive );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-tabset > input:focus + label.smw-indicator-severity-warning::after,
|
|
|
|
.smw-tabset > input:checked + label.smw-indicator-severity-warning::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
background: var( --color-warning );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabset > label:hover {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-tabset > label:hover::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
background: var( --color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabset > input:checked + label {
|
2023-07-28 01:19:27 +00:00
|
|
|
margin-bottom: -2px;
|
2022-10-21 17:44:15 +00:00
|
|
|
border-color: transparent;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-primary );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabset > input:checked + label.smw-indicator-severity-error {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-destructive );
|
2022-10-21 17:44:15 +00:00
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-destructive );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-tabset > input:checked + label.smw-indicator-severity-warning {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-warning );
|
2022-10-21 17:44:15 +00:00
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-warning );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.tab-panel {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2023-02-28 21:59:36 +00:00
|
|
|
.smw-issue-panel > label::after {
|
2022-10-21 17:44:15 +00:00
|
|
|
background: var( --color-surface-2 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* smw/factbox/smw.factbox.css */
|
|
|
|
.smwfact {
|
|
|
|
background-color: var( --color-surface-2 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwfact td,
|
|
|
|
.smwfact tr,
|
|
|
|
.smwfact table {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwfact .smwfacttable {
|
|
|
|
border-top-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwfact .smw-table-row:nth-child( odd ) {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwfact .smw-table-row:nth-child( even ) {
|
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.rdflink a {
|
|
|
|
color: var( --background-color-icon );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.rdflink a:hover {
|
|
|
|
color: var( --background-color-icon--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
.rdflink a:active {
|
|
|
|
color: var( --background-color-icon--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-factbox section {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-factbox input.nav-tab:checked + label.nav-label {
|
2023-07-28 01:19:27 +00:00
|
|
|
background: transparent;
|
2022-10-21 17:44:15 +00:00
|
|
|
border-color: transparent;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-factbox input.nav-tab:checked + label#tab-label-facts-attachment.nav-label {
|
|
|
|
border-color: transparent;
|
|
|
|
border-top: 1px solid transparent;
|
|
|
|
border-bottom: 2px solid var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-factbox .smwfact {
|
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
/* smw/smw.indicators.css */
|
2023-06-06 22:48:08 +00:00
|
|
|
.smw-indicator-vertical-bar-loader {
|
2024-04-19 21:07:08 +00:00
|
|
|
/* This can cause significant layout shift on pages, hide it completely. */
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
/* Turn SMW logo into a loading spinner */
|
|
|
|
/*
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2023-06-06 22:48:08 +00:00
|
|
|
margin: 0;
|
|
|
|
background: url( data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbDpzcGFjZT0icHJlc2VydmUiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3NSAzMzUiIHZpZXdCb3g9IjAgMCAzNzUgMzM1Ij48cGF0aCBkPSJNMjY2LjggMzA1SDEwOC4yTDI4LjggMTY3LjUgMTA4LjIgMzBoMTU4LjdsNzkuMyAxMzcuNUwyNjYuOCAzMDV6bS0xNTAtMTVoMTQxLjNsNzAuNy0xMjIuNUwyNTguMiA0NUgxMTYuOEw0Ni4yIDE2Ny41IDExNi44IDI5MHoiLz48Y2lyY2xlIGN4PSIxMTIuNSIgY3k9IjM3LjUiIHI9IjM3LjUiLz48Y2lyY2xlIGN4PSIyNjIuNSIgY3k9IjM3LjUiIHI9IjM3LjUiLz48Y2lyY2xlIGN4PSIzNy41IiBjeT0iMTY3LjUiIHI9IjM3LjUiLz48Y2lyY2xlIGN4PSIzMzcuNSIgY3k9IjE2Ny41IiByPSIzNy41Ii8+PGNpcmNsZSBjeD0iMTEyLjUiIGN5PSIyOTcuNSIgcj0iMzcuNSIvPjxjaXJjbGUgY3g9IjI2Mi41IiBjeT0iMjk3LjUiIHI9IjM3LjUiLz48Y2lyY2xlIGN4PSIxODcuNSIgY3k9IjE2Ny41IiByPSI3NSIvPjwvc3ZnPg== );
|
|
|
|
background-repeat: no-repeat;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-position: center;
|
2023-06-06 22:48:08 +00:00
|
|
|
opacity: var( --opacity-icon-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
animation: load2 1s infinite ease-in-out;
|
2022-10-21 17:44:15 +00:00
|
|
|
|
2024-04-19 21:07:08 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
*/
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
2023-06-06 22:48:08 +00:00
|
|
|
@keyframes load2 {
|
|
|
|
from {
|
|
|
|
transform: rotate( 0deg );
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: rotate( 359deg );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-icon-indicator-placeholder {
|
|
|
|
background-color: var( --color-surface-2 );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smw-list-rule-title {
|
|
|
|
color: var( --color-base--emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom-color: var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* TODO: Figure what are those
|
|
|
|
* I honestly have no idea what these do
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
.smw-indicator-accordion-tab {
|
|
|
|
color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab-label {
|
|
|
|
background: transparent;
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
border-bottom-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab-label:hover {
|
|
|
|
background: var( --background-color-quiet--hover );
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
.smw-indicator-accordion-tab-label:active {
|
|
|
|
background: var( --background-color-quiet--active );
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab:last-child .smw-indicator-accordion-tab-label {
|
|
|
|
border-bottom-color: var( --color-surface-0 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab-content {
|
|
|
|
max-height: 0;
|
|
|
|
padding: 0 0.8em;
|
|
|
|
color: #2c3e50;
|
|
|
|
transition: all .35s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab-close {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
padding: 1em;
|
|
|
|
font-size: 0.75em;
|
|
|
|
background: #2c3e50;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab .smw-indicator-accordion-tab-label {
|
|
|
|
border-top: 1px solid #ebebeb;
|
2024-06-05 22:54:54 +00:00
|
|
|
border-bottom: 0px solid var( --color-inverted );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smw-indicator-accordion-tab-close:hover {
|
|
|
|
background: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + .smw-indicator-accordion-tab-label {
|
|
|
|
background: #333;
|
2024-06-05 22:54:54 +00:00
|
|
|
color: var( --color-inverted );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
input:checked + .smw-indicator-accordion-tab-label::after {
|
2024-06-05 22:54:54 +00:00
|
|
|
color: var( --color-inverted );
|
2022-10-21 17:44:15 +00:00
|
|
|
width: 20px;
|
|
|
|
margin-top: 2px;
|
|
|
|
-webkit-transform: rotate(90deg);
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
// It is not great but it works
|
2023-07-10 20:56:56 +00:00
|
|
|
*[ class^='smw-icon-' ] {
|
|
|
|
filter: var( --filter-invert );
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|