Debian Codegraph @

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

raw
1 @import 'mediawiki.mixins';
2
3 /**
4 * CSS for WikiEditor Toolbar jQuery plugin
5 */
6
7 .wikiEditor-ui-toolbar {
8 .vertical-gradient( #fff, #f1f7fb, 0, 32px );
9
10 .sections .section {
11 background-color: #f8f9fa;
12 }
13
14 .group {
15 &:last-of-type {
16 border-right: 0;
17 }
18
19 .tool-select .menu .options {
20 box-shadow: 0 0.3125em 1.25em rgba( 0, 0, 0, 0.25 );
21 }
22 }
23
24 .group-search {
25 padding: 0 0 0 6px;
26 }
27
28 /* Booklet */
29 .booklet {
30 > .index {
31 > :hover {
32 background-color: #e1f3ff;
33 }
34
35 > .current {
36 background-color: #a7dcff;
37 }
38 }
39 }
40 }
41
42 .tool-button,
43 .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
44 border: 1px solid transparent;
45 border-radius: 2px;
46 transition: border-color 250ms;
47
48 &:hover {
49 border-color: rgba( 0, 0, 0, 0.2 );
50
51 > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
52 opacity: 1;
53 }
54 }
55
56 &.tool-active {
57 border-color: rgba( 0, 0, 0, 0.2 );
58 .vertical-gradient( #f1f7fb, #fff );
59 box-shadow: inset 0 0.0875em 0.0875em 0 rgba( 0, 0, 0, 0.07 );
60 }
61 }
62
63 .tool.oo-ui-buttonElement-frameless.oo-ui-iconElement {
64 > .oo-ui-buttonElement-button {
65 padding: 2px;
66 box-sizing: content-box;
67
68 > .oo-ui-iconElement-icon {
69 margin: 0;
70 width: 20px;
71 height: 20px;
72 min-width: 20px;
73 min-height: 20px;
74 left: 2px;
75 top: 2px;
76 opacity: 0.8;
77 }
78 }
79 }