2019-12-29 18:45:17 +00:00
|
|
|
/*
|
2022-10-21 17:44:15 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:SemanticMediaWiki
|
|
|
|
* Module: ext.smw.browse.styles
|
|
|
|
* 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
|
|
|
// Disable sticky header since it collides with anchor and adds no value
|
|
|
|
#citizen-body-header-sticky-sentinel {
|
|
|
|
display: none;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/* smw/special/ext.smw.special.browse.css */
|
|
|
|
.smwb-datasheet,
|
|
|
|
.smwb-content {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-factbox {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-factbox .smwb-cell {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-cell-empty {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-prophead {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-title {
|
|
|
|
background-color: transparent;
|
|
|
|
font-size: 1.5rem;
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-semibold );
|
2022-10-25 20:42:19 +00:00
|
|
|
line-height: var( --line-height-xs );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-title td {
|
|
|
|
padding-left: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-propvalue {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-propvalue .smwb-prophead {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) var( --space-md );
|
2022-10-21 17:44:15 +00:00
|
|
|
font-size: 1rem;
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-propvalue .smwb-propval {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) var( --space-md );
|
2022-10-21 17:44:15 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-center,
|
|
|
|
.smwb-actions {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-actions {
|
|
|
|
line-height: 3rem;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-title a,
|
|
|
|
.smwb-center a:first-child,
|
|
|
|
.smwb-actions a:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-bottom {
|
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
/**
|
|
|
|
* Inverse factbox
|
|
|
|
* @ignore
|
|
|
|
*/
|
|
|
|
.smwb-ifactbox {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-ifactbox .smwb-cell {
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid var( --border-color-base );
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-ititle {
|
|
|
|
background-color: transparent;
|
|
|
|
font-size: 1.5rem;
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-semibold );
|
2022-10-25 20:42:19 +00:00
|
|
|
line-height: var( --line-height-xs );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-ititle td {
|
|
|
|
padding-left: 0;
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-ipropvalue {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-ipropvalue .smwb-prophead {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) var( --space-md );
|
2022-10-21 17:44:15 +00:00
|
|
|
font-size: 1rem;
|
2022-10-23 23:40:19 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-ipropvalue .smwb-propval {
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) var( --space-md );
|
2022-10-21 17:44:15 +00:00
|
|
|
background-color: transparent;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-input .button-field input {
|
|
|
|
padding: 6px;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-input .mw-ui-input:focus {
|
|
|
|
border-color: var( --color-primary );
|
|
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwb-action-separator {
|
|
|
|
border-left-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Light theme
|
|
|
|
*/
|
|
|
|
.smwb-theme-light .smwb-factbox {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwb-theme-light .smwb-ifactbox {
|
|
|
|
border-right: 0;
|
|
|
|
}
|
2019-12-29 18:45:17 +00:00
|
|
|
|
2022-10-21 17:44:15 +00:00
|
|
|
.smwb-theme-light .smwb-title,
|
|
|
|
.smwb-theme-light .smwb-actions {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwb-theme-light .smwb-prophead {
|
|
|
|
background-color: var( --color-surface-3 );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smwb-theme-light .smwb-center,
|
|
|
|
.smwb-theme-light .smwb-propval {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Responsive settings (#see smw.table.css)
|
|
|
|
*/
|
|
|
|
@media screen and ( max-width: 800px ) {
|
|
|
|
.smwb-group .smwb-propval,
|
|
|
|
.smwb-group .smwb-theme-light .smwb-propval {
|
|
|
|
background-color: transparent;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|
|
|
|
}
|
2022-10-21 17:44:15 +00:00
|
|
|
|
|
|
|
// Sticky header
|
|
|
|
.smwb-datasheet > .smwb-factbox:first-child {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
padding: var( --space-md ) 0;
|
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
|
|
|
background: var( --color-surface-0 );
|
|
|
|
}
|