Debian Codegraph @

extensions/VisualEditor/modules/ve-mw/ui/styles/elements/ve.ui.MWExpandableContentElement.less

raw
1 @import 'mediawiki.skin.variables.less';
2
3 .ve-ui-expandableContent {
4 &-collapsible {
5 overflow: hidden;
6 position: relative;
7 margin: 0.4em 0 0.5em 0;
8 transition: height 200ms;
9 }
10
11 &-container {
12 display: flex;
13 align-items: center;
14 position: absolute;
15 bottom: 0;
16 pointer-events: none; /* Allows clicking "through" the fade effect */
17 }
18
19 &-toggle {
20 background-color: @background-color-base;
21 pointer-events: auto;
22 }
23
24 &-fade {
25 background: linear-gradient( to right, transparent 0, @background-color-base 90% );
26 width: 50px;
27 height: 100%;
28 }
29
30 &-collapsible > :last-child {
31 margin-bottom: 0;
32 }
33 }