mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-19 09:41:09 +00:00
c9c7c06e76
Change-Id: Ic9fad12fe4c20793dd54cb3169b9dffe3a6a18da
32 lines
559 B
Plaintext
32 lines
559 B
Plaintext
.ve-ui-expandableContent {
|
|
&-collapsible {
|
|
overflow: hidden;
|
|
position: relative;
|
|
margin: 0.4em 0 0.5em 0;
|
|
transition: height 200ms;
|
|
}
|
|
|
|
&-container {
|
|
display: flex;
|
|
align-items: center;
|
|
position: absolute;
|
|
bottom: 0;
|
|
pointer-events: none; /* Allows clicking "through" the fade effect */
|
|
}
|
|
|
|
&-toggle {
|
|
background-color: #fff;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
&-fade {
|
|
background: linear-gradient( to right, rgba( 255, 255, 255, 0 ) 0, #fff 90% );
|
|
width: 50px;
|
|
height: 100%;
|
|
}
|
|
|
|
&-collapsible > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|