| 1 |
/*! |
| 2 |
* VisualEditor Standalone Platform styles. |
| 3 |
* |
| 4 |
* @copyright See AUTHORS.txt |
| 5 |
*/ |
| 6 |
|
| 7 |
.ve-init-notifications { |
| 8 |
position: fixed; |
| 9 |
top: 1em; |
| 10 |
right: 1em; |
| 11 |
width: 20em; |
| 12 |
z-index: 2; |
| 13 |
} |
| 14 |
|
| 15 |
.ve-init-notification { |
| 16 |
cursor: pointer; |
| 17 |
background: #fff; |
| 18 |
border: 1px solid #ccc; |
| 19 |
border-radius: 2px; |
| 20 |
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 ); |
| 21 |
padding: 0.75em 1.5em; |
| 22 |
margin-bottom: 1em; |
| 23 |
|
| 24 |
&-wrapper { |
| 25 |
opacity: 0; |
| 26 |
-webkit-transform: translateX( 50% ); |
| 27 |
transform: translateX( 50% ); |
| 28 |
overflow: hidden; |
| 29 |
transition: opacity 250ms ease, transform 250ms ease, height 250ms ease; |
| 30 |
} |
| 31 |
|
| 32 |
&-title { |
| 33 |
font-weight: bold; |
| 34 |
} |
| 35 |
|
| 36 |
&-open { |
| 37 |
opacity: 1; |
| 38 |
-webkit-transform: translateX( 0 ); |
| 39 |
transform: translateX( 0 ); |
| 40 |
} |
| 41 |
|
| 42 |
&-collapse { |
| 43 |
/* stylelint-disable-next-line declaration-no-important */ |
| 44 |
height: 0 !important; |
| 45 |
} |
| 46 |
} |