Debian Codegraph @

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

raw
1 /*!
2 * VisualEditor MediaWiki Initialization DesktopArticleTarget styles.
3 *
4 * @copyright See AUTHORS.txt
5 * @license The MIT License (MIT); see LICENSE.txt
6 */
7 /* Toolbar */
8 .ve-init-mw-desktopArticleTarget-toolbar {
9 > .oo-ui-toolbar-bar > * {
10 opacity: 0;
11 transition: opacity 250ms ease;
12 }
13
14 &-open > .oo-ui-toolbar-bar > * {
15 opacity: 1;
16 }
17
18 &-preclose {
19 overflow: hidden;
20 transition: height 250ms ease;
21 }
22
23 &-close {
24 height: 0;
25 }
26
27 &-preclose > .oo-ui-toolbar-bar {
28 transition: transform 250ms ease;
29 transform: translateY( 0 );
30 }
31
32 &-close > .oo-ui-toolbar-bar {
33 transform: translateY( -100% );
34 }
35
36 .ve-tempSourceEditing & {
37 margin-bottom: -3.125em;
38 transition: opacity 2s ease;
39
40 & > .oo-ui-toolbar-bar {
41 transition: none;
42 }
43 }
44 }
45
46 /*!
47 * ve-redirect-header is added just outside of the surface, which has its own
48 * hiding style during activation.
49 */
50 .ve-activating .ve-redirect-header {
51 height: 0;
52 overflow: hidden;
53 }
54
55 .ve-init-mw-desktopArticleTarget {
56 .ve-redirect-header {
57 cursor: pointer;
58 }
59
60 /* stylelint-disable-next-line selector-class-pattern */
61 .redirectMsg a:hover {
62 text-decoration: none;
63 }
64
65 /*!
66 * Increase z-index of surface container so it appears above the debug bar
67 */
68 #bodyContent { /* stylelint-disable-line selector-max-id */
69 z-index: 1;
70 }
71
72 &-sectionTitle {
73 max-width: none;
74 margin: 1em 0 0.5em 0;
75
76 .oo-ui-inputWidget-input {
77 /* stylelint-disable declaration-no-important */
78 padding: 0 !important;
79 border: 0 !important;
80 outline: 0 !important;
81 box-shadow: none !important;
82 line-height: inherit;
83 /* stylelint-enable declaration-no-important */
84 }
85 }
86 }