mediawiki-skins-Citizen/skinStyles/extensions/Cargo/ext.cargo.main.less

99 lines
1.9 KiB
Plaintext
Raw Normal View History

2021-08-31 16:54:50 +00:00
/*
* Citizen
*
* SkinStyles for Extension:Cargo
* Module: ext.cargo.main
* Version: REL1_39 b4c6314
2021-08-31 16:54:50 +00:00
*
* Date: 2023-01-03
2021-08-31 16:54:50 +00:00
*/
span.cargoFieldName {
color: var( --color-base--subtle );
}
table.cargoTable.noMerge tr:nth-child( odd ) {
background: var( --color-surface-0 );
2021-08-31 16:54:50 +00:00
}
table.cargoTable.noMerge tr:nth-child( even ) {
background: var( --color-surface-2 );
2021-08-31 16:54:50 +00:00
}
table.cargoTable.mergeSimilarCells td.odd {
background: var( --color-surface-0 );
2021-08-31 16:54:50 +00:00
}
table.cargoTable.mergeSimilarCells td.even {
background: var( --color-surface-2 );
2021-08-31 16:54:50 +00:00
}
table.cargoTable {
font-size: var( --font-size-small );
}
table.cargoTable thead tr {
border-bottom: 1px solid var( --border-color-base );
}
table.cargoTable tr + tr {
border-top: 1px solid var( --border-color-base );
}
table.cargoTable th,
2021-08-31 16:54:50 +00:00
table.cargoTable td {
/* Sync with wikitable */
padding: var( --space-xs ) var( --space-sm );
}
table.cargoTable th {
font-size: var( --font-size-x-small );
font-weight: var( --font-weight-normal );
/* Sync with wikitable */
color: var( --color-base--subtle );
text-align: start;
letter-spacing: 0.05em;
}
table.cargoTable td {
/* Border handled by tr */
border: 0;
}
span.searchmatch {
font-weight: var( --font-weight-semibold );
color: var( --color-base--emphasized );
2021-08-31 16:54:50 +00:00
}
div.cargoReplacementTableInfo {
background: var( --color-surface-3 );
border-color: var( --border-color-base );
2021-08-31 16:54:50 +00:00
}
.addButton,
.deleteButton {
/* BG color does not like filter */
background-color: transparent;
border-color: var( --border-color-base );
2021-08-31 16:54:50 +00:00
}
.cargoQueryTooltipIcon,
.addButton,
.deleteButton {
filter: var( --filter-invert );
2021-08-31 16:54:50 +00:00
}
div.specialCargoQuery-extraPane {
background: linear-gradient( transparent, var( --color-surface-2 ) 0.5em );
border-color: var( --border-color-base );
2021-08-31 16:54:50 +00:00
}
.ui-state-focus {
background: var( --color-primary--active ) !important;
}
.ui-menu .ui-menu-item a {
font-family: var( --font-family-base );
color: var( --color-base--emphasized );
2021-08-31 16:54:50 +00:00
}