Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector.less

raw
1 /*!
2 * VisualEditor MediaWiki DesktopArticleTarget Vector skin init styles.
3 *
4 * @copyright See AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
6 */
7
8 .ve-init-mw-desktopArticleTarget-toolbar,
9 .ve-init-mw-desktopArticleTarget-toolbarPlaceholder {
10 font-size: 0.875em;
11 /* 1/0.875 */
12 margin: -1.14em -1.14em 1.14em -1.14em;
13
14 /* High-definition-specific styles (because Vector adds 1em to the leftNav if width is 982px+ */
15 @media screen and ( min-width: 982px ) {
16 /* 1.25/0.875, 1.5/0.875 */
17 margin: -1.43em -1.71em 1.43em -1.71em;
18 }
19 }
20
21 .ve-init-mw-desktopArticleTarget-toolbarPlaceholder-floating {
22 margin-top: 0;
23 margin-bottom: 0;
24 }
25
26 // Fill in gap in toolbar's top border
27 /* stylelint-disable-next-line selector-class-pattern */
28 .ve-activated .vector-menu-tabs .selected {
29 box-shadow: inset 0 -1px 0 #e1f1fc;
30 }