aboutsummaryrefslogtreecommitdiffstats
path: root/resources/src/mediawiki.pager.styles
diff options
context:
space:
mode:
authorVolker E <volker.e@wikimedia.org>2023-04-12 14:10:40 -0700
committerBartosz DziewoƄski <dziewonski@fastmail.fm>2023-04-17 13:01:04 +0000
commit3fd741c37f7e9604d55ed943329326c684996a3a (patch)
treee40eebd2b997f3bbd489d3ce994c6462d8fe93a0 /resources/src/mediawiki.pager.styles
parent59f0c2aaa5e01fafc301b62398410fee25a90748 (diff)
downloadmediawikicore-3fd741c37f7e9604d55ed943329326c684996a3a.tar.gz
mediawikicore-3fd741c37f7e9604d55ed943329326c684996a3a.zip
mediawiki.special: Replace 'mediawiki.ui/variables' call with skin vars
Replacing 'mediawiki.ui/variables.less' `@import` with new skin-aware 'mediawiki.skin.variables.less' standard. Also - replacing several static values with new Codex design token featuring skin variables of following properties: - background color - color - border - box shadow - removing obsolete same-value variables from code base - bringing Less imports in the same order, with variables first, as they are used in mixins as well and always add `.less` extension to path - renaming 'userlogin.css' to 'userlogin.less' to enable use of skin variables consistently Note, - there's a small number of static values reintroduced where no token is available yet. DS team will provide in follow-up patches after a future Codex release. - there are a number of color choices in the code, that should be revisited by help of designers. They seem like non-standard choices. Bug: T332541 Change-Id: I603a7bc52bf31233b2a82cdc2bff08fd1cb294fe
Diffstat (limited to 'resources/src/mediawiki.pager.styles')
-rw-r--r--resources/src/mediawiki.pager.styles/DataTable.less6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/src/mediawiki.pager.styles/DataTable.less b/resources/src/mediawiki.pager.styles/DataTable.less
index f2a7e989e276..304fb1f6e594 100644
--- a/resources/src/mediawiki.pager.styles/DataTable.less
+++ b/resources/src/mediawiki.pager.styles/DataTable.less
@@ -3,13 +3,15 @@
* These were previously available through legacy.less and are still imported there.
* After legacy.less has been removed, this file can be merged into TablePager.less.
*/
+@import 'mediawiki.skin.variables.less';
+
.mw-datatable {
- border: 1px solid #a2a9b1;
+ border: @border-base;
border-collapse: collapse;
td,
th {
- border: 1px solid #a2a9b1;
+ border: @border-base;
padding: 0.2em 0.4em;
}