Debian Codegraph @

extensions/VisualEditor/lib/ve/src/ce/styles/nodes/ve.ce.TableNode.less

raw
1 /*!
2 * VisualEditor ContentEditable TableNode styles.
3 *
4 * @copyright See AUTHORS.txt
5 */
6
7 .ve-ce-tableNode {
8 border-spacing: 0;
9 border-collapse: collapse;
10 cursor: default;
11 }
12
13 .ve-ce-tableCaptionNode {
14 cursor: text;
15 }
16
17 .ve-ce-tableNode-active .ve-ce-tableCaptionNode,
18 .ve-ce-tableCaptionNode.ve-ce-activeNode-active {
19 border: 1px dotted #c8ccd1;
20 border-bottom: 0;
21 margin-top: -1px;
22 }
23
24 .ve-ce-tableNodeOverlay {
25 position: absolute;
26 pointer-events: none;
27
28 .ve-ui-tableLineContext {
29 pointer-events: auto;
30 }
31
32 &-selection-box {
33 position: absolute;
34 background: fade( #6da9f7, 30% );
35 box-sizing: border-box;
36 opacity: 0.6;
37
38 .ve-ce-tableNodeOverlay-deactivated & {
39 background: rgba( 0, 0, 0, 0.3 );
40 opacity: 0.3;
41 }
42
43 &-notEditable {
44 background-image: repeating-linear-gradient( -45deg, transparent 0, transparent 5px, #95d14f 5px, #95d14f 10px );
45 }
46
47 &-anchor {
48 position: absolute;
49 border: solid 1px #6da9f7;
50 box-sizing: border-box;
51
52 .ve-ce-tableNodeOverlay-deactivated & {
53 border: solid 1px rgba( 0, 0, 0, 0.3 );
54 }
55 }
56
57 .ve-ce-tableNodeOverlay-editing & {
58 background: transparent;
59 }
60 }
61 }
62
63 .ve-ce-tableNode-missingCell {
64 border: 0 !important; /* stylelint-disable-line declaration-no-important */
65 padding: 0 !important; /* stylelint-disable-line declaration-no-important */
66
67 > .oo-ui-buttonWidget > .oo-ui-buttonElement-button {
68 /* Remove minimal dimensions, as they are larger than empty table cells */
69 padding-top: 0;
70 padding-left: 0;
71 }
72 }