2022-11-17 02:01:32 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for MediaWiki core
|
|
|
|
* Module: mediawiki.debug
|
|
|
|
* Version: REL1_39 3baf9e1
|
|
|
|
*
|
|
|
|
* Date: 2022-11-16
|
|
|
|
*/
|
|
|
|
|
|
|
|
@import '../../../resources/variables.less';
|
|
|
|
|
|
|
|
/* $wgDebugToolbar = true; */
|
|
|
|
#jquery-foot-hovzer {
|
|
|
|
// @see https://caniuse.com/mdn-css_properties_width_stretch
|
|
|
|
width: -webkit-fill-available;
|
|
|
|
width: -moz-available;
|
|
|
|
margin-bottom: var( --header-size );
|
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media ( min-width: @min-width-breakpoint-desktop ) {
|
2022-11-17 02:01:32 +00:00
|
|
|
margin-bottom: 0;
|
|
|
|
// So that it is not hidden by header
|
|
|
|
margin-left: ~'calc( var( --header-size ) + 1px )'; // compensate border
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug {
|
|
|
|
background-color: var( --color-surface-0 );
|
2023-07-28 01:19:27 +00:00
|
|
|
border-top-color: var( --border-color-base );
|
2022-11-17 02:01:32 +00:00
|
|
|
|
|
|
|
table {
|
|
|
|
tr {
|
|
|
|
background-color: var( --color-surface-1 );
|
|
|
|
|
|
|
|
&:nth-child( even ) {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
// padding: 4px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
border-bottom-color: var( --border-color-base );
|
|
|
|
|
|
|
|
span.stats {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-bits {
|
|
|
|
display: flex;
|
|
|
|
overflow-x: auto;
|
|
|
|
white-space: nowrap;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-bottom: 0;
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-bit {
|
|
|
|
padding: var( --space-sm );
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-debug-mwversion {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-panelink {
|
|
|
|
background-color: transparent;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: transparent !important;
|
2022-11-17 02:01:32 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--hover );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-button-quiet--active );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.current {
|
|
|
|
background-color: transparent;
|
2024-06-30 05:04:30 +00:00
|
|
|
box-shadow: inset 0 -2px 0 0 var( --color-progressive );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a.mw-debug-panelabel,
|
|
|
|
a.mw-debug-panelabel:visited {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-pane {
|
|
|
|
background-color: var( --color-surface-2 );
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-debug-pane-request {
|
|
|
|
tr,
|
|
|
|
th,
|
|
|
|
td,
|
|
|
|
table {
|
|
|
|
border-color: var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: transparent;
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --background-color-success );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-backtrace {
|
|
|
|
background-color: var( --color-surface-3 );
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-console-log {
|
2024-07-01 00:41:31 +00:00
|
|
|
background-color: var( --background-color-progressive-subtle );
|
2022-11-17 02:01:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-console-warn {
|
|
|
|
background-color: var( --background-color-warning );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-debug-console-deprecated {
|
|
|
|
background-color: var( --background-color-destructive );
|
|
|
|
}
|
|
|
|
|
|
|
|
/* $wgShowDebug = true; */
|
|
|
|
#mw-html-debug-log {
|
|
|
|
padding: 0 var( --padding-page );
|
|
|
|
|
|
|
|
// Label text
|
|
|
|
> strong {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-11-17 02:01:32 +00:00
|
|
|
letter-spacing: 0.05em;
|
|
|
|
}
|
|
|
|
|
2023-11-16 22:55:23 +00:00
|
|
|
@media ( min-width: @min-width-breakpoint-desktop ) {
|
2022-11-17 02:01:32 +00:00
|
|
|
// So that it is not hidden by header
|
|
|
|
margin-left: var( --header-size );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-debug-html {
|
|
|
|
padding-left: var( --space-lg ); // So that it is not clipped
|
|
|
|
margin-left: 0;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|