Merge "Style datatables consistently with wikitables"

isekai
jenkins-bot 6 years ago committed by Gerrit Code Review
commit 92c4333bd0

@ -709,32 +709,47 @@ body :not( :checked ) > .toctogglespan:after {
.mw-changeslist-legend, .mw-changeslist-legend,
.mw-body .mw-search-profile-tabs, .mw-body .mw-search-profile-tabs,
.mw-body fieldset#mw-searchoptions, .mw-body fieldset#mw-searchoptions,
.wikitable { .wikitable,
.mw-datatable {
color: @text; color: @text;
.box; .box;
} }
.wikitable {
border-color: @base70;
}
.mw-body .mw-search-profile-tabs { .mw-body .mw-search-profile-tabs {
padding: 0.5em; padding: 0.5em;
} }
.wikitable > tr > th, .mw-datatable,
.wikitable > tr > td, .wikitable {
.wikitable > * > tr > th, border-color: @base70;
.wikitable > * > tr > td {
> tr > th,
> tr > td,
> * > tr > th,
> * > tr > td {
border: 1px solid @base70; border: 1px solid @base70;
padding: 0.5em; padding: 0.4em 0.5em;
} }
.wikitable > tr > th, > tr > th,
.wikitable > * > tr > th { > * > tr > th {
border-bottom-width: 2px; border-bottom-width: 2px;
} }
> tr > td,
> * > tr > td {
background: @base90;
}
}
.mw-datatable th {
background: @blue-bright;
}
.wikitable th {
background: @base80;
}
/* Color bars */ /* Color bars */
.color-bar { .color-bar {

Loading…
Cancel
Save