feat(SearchDigest): add styles for Extension:SearchDigest

This commit is contained in:
alistair3149 2024-07-05 16:52:54 -04:00
parent 9ace83a9bc
commit 251109c712
No known key found for this signature in database
3 changed files with 67 additions and 0 deletions

View file

@ -73,6 +73,7 @@ Name | Grade | Version | Last updated
[RevisionSlider](https://www.mediawiki.org/wiki/Extension:RevisionSlider) | B | REL1_35 `4c4e368` | 2022-06-02
[Score](https://www.mediawiki.org/wiki/Extension:Score) | B | REL1_39 `0a66cef` | 2023-06-10
[Scribunto](https://www.mediawiki.org/wiki/Extension:Scribunto) | B | REL1_39 `ebb91f2` | 2023-05-29
[SearchDigest](https://www.mediawiki.org/wiki/Extension:SearchDigest) | A | Master `ddd4665` | 2024-07-05
[Semantic MediaWiki](https://www.mediawiki.org/wiki/Extension:Semantic_MediaWiki) | A | 4.0.2 `0fcdfce` | 2022-10-21
[Semantic Result Formats](https://www.mediawiki.org/wiki/Extension:Semantic_Result_Formats) | E | N/A | N/A
[SimpleTooltip](https://www.mediawiki.org/wiki/Extension:SimpleTooltip) | B | N/A | 2022-02-19

View file

@ -474,6 +474,7 @@
"+ext.SimpleTooltip": "skinStyles/extensions/SimpleTooltip/ext.SimpleTooltip.less",
"+ext.SmiteSpam.retriever": "skinStyles/extensions/SmiteSpam/ext.SmiteSpam.retriever.less",
"+ext.pygments": "skinStyles/extensions/SyntaxHighlight_GeSHi/ext.pygments.less",
"+ext.searchdigest.styles": "skinStyles/extensions/SearchDigest/ext.searchdigest.styles.less",
"+ext.tabs": "skinStyles/extensions/Tabs/ext.tabs.less",
"+ext.tmh.player.styles": "skinStyles/extensions/TimedMediaHandler/ext.tmh.player.styles.less",
"+ext.translate": "skinStyles/extensions/Translate/ext.translate.less",

View file

@ -0,0 +1,65 @@
/*
* Citizen
*
* SkinStyles for Extension:SearchDiggest
* Module: ext.searchdigest.styles
* Version: Master ddd4665
*
* Date: 2024-07-05
*/
/* Disable sticky header to make space for thead */
#citizen-page-header-sticky-sentinel {
display: none;
}
.searchdigest-admin-tools {
border-color: var( --border-color-base );
}
.searchdigest-stats-table {
font-size: var( --font-size-small );
border-collapse: collapse;
border-color: var( --border-color-base );
}
.searchdigest-stats-table th,
.searchdigest-stats-table td {
padding: var( --space-xxs ) var( --space-sm ) !important;
}
.searchdigest-stats-table thead {
position: sticky;
top: 0;
}
.searchdigest-stats-table thead th {
padding-top: var( --space-xs ) !important;
padding-bottom: var( --space-xs ) !important;
font-weight: var( --font-weight-normal );
color: var( --color-subtle );
letter-spacing: 0.05em;
}
.searchdigest-stats-table thead th,
.searchdigest-stats-table tr:not( :last-child ) th,
.searchdigest-stats-table tr:not( :last-child ) td {
border-bottom-color: var( --border-color-base );
}
.searchdigest-stats-table thead th:last-child,
.searchdigest-stats-table td {
border-left-color: var( --border-color-base );
}
.searchdigest-stats-table thead tr {
background: var( --color-surface-0 );
}
.searchdigest-stats-progress-bar {
background: var( --background-color-destructive-subtle );
}
.searchdigest-stats-progress-done {
background: var( --color-success );
}