Debian Codegraph @

extensions/WikiEditor/modules/jquery.wikiEditor.toolbar-wikimedia.less

raw
1 @import 'mediawiki.mixins';
2 @import 'mediawiki.skin.variables.less';
3
4 /**
5 * CSS for WikiEditor Toolbar jQuery plugin
6 */
7
8 .wikiEditor-ui-toolbar {
9 background-color: @background-color-neutral-subtle;
10 box-shadow: 0 2px 1px 0 rgba( 0, 0, 0, 0.1 );
11
12 /* Groups */
13 .group,
14 .section-secondary .group {
15 border-color: @border-color-muted;
16 }
17
18 .group {
19 min-height: 32px;
20 margin: 0;
21 padding-right: 0;
22
23 .label {
24 height: 28px;
25 margin-left: 8px;
26 /* stylelint-disable-next-line declaration-property-unit-disallowed-list */
27 line-height: 28px;
28 }
29
30 .tool-select {
31 background-color: transparent;
32 height: 32px;
33 margin: 0;
34 border: 0;
35
36 .label {
37 height: 32px;
38 padding-left: 8px;
39 /* stylelint-disable-next-line declaration-property-unit-disallowed-list */
40 line-height: 32px;
41
42 &::after {
43 height: 32px;
44 }
45 }
46
47 .menu .options {
48 margin-top: 32px;
49 box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
50
51 .option:hover {
52 background-color: @background-color-interactive;
53 }
54 }
55 }
56 }
57
58 /* Booklet */
59 .booklet {
60 > .index {
61 > :hover {
62 background-color: @background-color-interactive;
63 }
64
65 > .current {
66 background-color: @background-color-progressive-subtle;
67 color: @color-progressive;
68 }
69 }
70 }
71 }
72
73 .tool-button {
74 width: 32px;
75 height: 32px;
76 transition: background-color 100ms, color 100ms, border-color 100ms, box-shadow 100ms;
77 }
78
79 .tool-button,
80 .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
81 border-radius: 0;
82
83 &:hover {
84 background-color: rgba( 0, 23, 70, 0.086 ); /* #eaecf0 */
85
86 > .oo-ui-iconElement-icon {
87 opacity: 1;
88 }
89 }
90
91 &.tool-active {
92 background-color: rgba( 0, 104, 243, 0.086 ); /* #eaf3ff */
93 }
94 }
95
96 .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
97 opacity: 0.87;
98 }