File: ve.init.mw.DesktopArticleTarget.init-vector.less

package info (click to toggle)
mediawiki 1%3A1.43.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 417,464 kB
  • sloc: php: 1,062,949; javascript: 664,290; sql: 9,714; python: 5,458; xml: 3,489; sh: 1,131; makefile: 64
file content (30 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*!
 * VisualEditor MediaWiki DesktopArticleTarget Vector skin init styles.
 *
 * @copyright See AUTHORS.txt
 * @license The MIT License (MIT); see LICENSE.txt
 */

.ve-init-mw-desktopArticleTarget-toolbar,
.ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
	font-size: 0.875em;
	/* 1/0.875 */
	margin: -1.14em -1.14em 1.14em -1.14em;

	/* High-definition-specific styles (because Vector adds 1em to the leftNav if width is 982px+ */
	@media screen and ( min-width: 982px ) {
		/* 1.25/0.875, 1.5/0.875 */
		margin: -1.43em -1.71em 1.43em -1.71em;
	}
}

.ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating {
	margin-top: 0;
	margin-bottom: 0;
}

// Fill in gap in toolbar's top border
/* stylelint-disable-next-line selector-class-pattern */
.ve-activated .vector-menu-tabs .selected {
	box-shadow: inset 0 -1px 0 #e1f1fc;
}