2019-12-29 18:45:17 +00:00
|
|
|
/*
|
2022-10-21 17:44:15 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:SemanticMediaWiki
|
|
|
|
* Module: ext.smw.page.styles
|
|
|
|
* Version: 4.0.2 (0fcdfce)
|
|
|
|
*
|
|
|
|
* Date: 2022-10-20
|
2019-12-29 18:45:17 +00:00
|
|
|
*/
|
|
|
|
|
2022-11-25 01:14:44 +00:00
|
|
|
@import '../../../resources/mixins.less';
|
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
// Disable sticky header since it collides with anchor and adds no value
|
2024-05-15 05:24:43 +00:00
|
|
|
#citizen-page-header-sticky-sentinel {
|
2022-10-21 17:44:15 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* smw/ext.smw.page.css */
|
|
|
|
/* Property page */
|
|
|
|
.smw-property-page-content-line {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-property-page-results .header-row {
|
2022-11-25 01:14:44 +00:00
|
|
|
background-color: transparent;
|
|
|
|
.citizen-sticky-header( 0, false );
|
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-property-page-results .value-row:hover {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--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-property-page-results .header-row > .header-title {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-ui-pagination .page-link {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2023-07-28 01:19:27 +00:00
|
|
|
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
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-ui-pagination .page-link:first-child {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-top-left-radius: var( --border-radius-base );
|
|
|
|
border-bottom-left-radius: var( --border-radius-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-ui-pagination .page-link:last-child {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-top-right-radius: var( --border-radius-base );
|
|
|
|
border-bottom-right-radius: var( --border-radius-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-ui-pagination .page-link:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
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
|
|
|
// Added active state
|
|
|
|
.smw-ui-pagination .page-link:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--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-ui-pagination .page-link.link-disabled {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-07-28 01:19:27 +00:00
|
|
|
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
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-ui-pagination .page-link.link-active {
|
2024-06-10 23:47:49 +00:00
|
|
|
color: var( --color-inverted-primary );
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive );
|
|
|
|
border-color: var( --color-progressive );
|
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-property-page-results .header-title {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) 0;
|
2022-10-21 17:44:15 +00:00
|
|
|
font-size: 1.25rem;
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: transparent;
|
|
|
|
border-bottom-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
|
|
|
.list-pager-value-filter input {
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base );
|
|
|
|
background-color: var( --color-surface-1 );
|
2022-10-21 17:44:15 +00:00
|
|
|
border-color: var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-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-ui-input-filter {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
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 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-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-ui-input-filter input {
|
|
|
|
color: var( --color-base ) !important;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-left-color: var( --border-color-base ) !important;
|
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-ui-input-filter-tooltip {
|
|
|
|
border-left-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smw-property-page-results.legacy .header-title {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.usage-count,
|
|
|
|
.item-count {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-3 );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-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
|
|
|
#tab-smw-property-value:checked + label.nav-label .usage-count,
|
|
|
|
#tab-smw-concept-list:checked + label.nav-label .usage-count,
|
|
|
|
#tab-smw-property-subp:checked + label.nav-label .item-count,
|
|
|
|
#tab-smw-property-errp:checked + label.nav-label .item-count,
|
|
|
|
#tab-smw-property-redi:checked + label.nav-label .item-count,
|
|
|
|
#tab-smw-type-list:checked + label.nav-label .item-count,
|
|
|
|
#tab-smw-property-spec:checked + label.nav-label .item-count {
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
#tab-smw-property-value:checked + label.nav-label .usage-count.moderate,
|
|
|
|
#tab-smw-concept-list:checked + label.nav-label .usage-count.moderate {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-progressive-subtle );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#tab-smw-property-value:checked + label.nav-label .usage-count.high,
|
|
|
|
#tab-smw-concept-list:checked + label.nav-label .usage-count.high {
|
|
|
|
color: var( --color-destructive );
|
2024-07-01 03:50:21 +00:00
|
|
|
background-color: var( --background-color-destructive-subtle );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tabs
|
|
|
|
*/
|
|
|
|
.smw-property input.nav-tab:checked + label.nav-label.smw-tab-warning,
|
|
|
|
.smw-concept input.nav-tab:checked + label.nav-label.smw-tab-warning,
|
|
|
|
.smw-types input.nav-tab:checked + label.nav-label.smw-tab-warning {
|
|
|
|
border-top: 0;
|
|
|
|
border-bottom: 2px solid var( --color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-property input.nav-tab:checked + label.nav-label.smw-tab-spec,
|
|
|
|
.smw-concept input.nav-tab:checked + label.nav-label.smw-tab-spec {
|
|
|
|
border-top: 0;
|
|
|
|
border-bottom: 2px solid var( --color-warning );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-property input.nav-tab:checked + label#tab-label-smw-property-constraint.nav-label {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-bottom: 2px solid var( --color-progressive );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/**
|
|
|
|
* Responsive settings (@see ext.smw.table)
|
|
|
|
*/
|
|
|
|
@media screen and ( max-width: 800px ) {
|
|
|
|
.smw-property-page-results .header-title:first-child,
|
|
|
|
.smw-property-page-results .header-row > .header-title:first-child {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|