2019-12-29 18:45:17 +00:00
|
|
|
/*
|
2022-10-21 17:44:15 +00:00
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:SemanticMediaWiki
|
|
|
|
* Module: smw.jsonview
|
|
|
|
* 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
|
2024-05-15 05:24:43 +00:00
|
|
|
#citizen-page-header-sticky-sentinel {
|
2022-10-21 17:44:15 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* smw/smw.jsonview.css */
|
|
|
|
.smw-jsonview-button-group-left {
|
|
|
|
height: 40px;
|
2024-09-08 21:02:22 +00:00
|
|
|
margin-left: 0;
|
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-jsonview-button-group-left input {
|
|
|
|
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-jsonview-button {
|
|
|
|
height: 40px;
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive );
|
2022-10-21 17:44:15 +00:00
|
|
|
transition-duration: 0ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-button:first-child {
|
|
|
|
border-right-color: var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base ) 0 0 var( --border-radius-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-button:last-child {
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: 0 var( --border-radius-base ) var( --border-radius-base ) 0;
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-button:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--hover );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
.smw-jsonview-button:active {
|
2024-06-30 05:04:30 +00:00
|
|
|
background-color: var( --color-progressive--active );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.jsonview ul {
|
|
|
|
border-left-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-menu {
|
2024-09-08 21:02:22 +00:00
|
|
|
display: flex !important;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: auto;
|
2022-11-01 00:34:00 +00:00
|
|
|
padding: var( --space-xs ) 0;
|
2024-09-08 21:02:22 +00:00
|
|
|
font-size: var( --font-size-small );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
2022-10-21 17:44:15 +00:00
|
|
|
border: 0;
|
2024-07-15 06:07:25 +00:00
|
|
|
border-bottom: var( --border-width-base ) solid var( --border-color-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-menu + pre {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-menu .smw-jsonview-button {
|
|
|
|
color: var( --color-base );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: transparent;
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2022-10-21 17:44:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.smw-jsonview-menu .smw-jsonview-button: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
|
|
|
}
|
|
|
|
|
|
|
|
// Added active state
|
|
|
|
.smw-jsonview-menu .smw-jsonview-button: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-jsonview-menu .smw-jsonview-button:first-child {
|
|
|
|
border-right: 0;
|
2019-12-29 18:45:17 +00:00
|
|
|
}
|