mediawiki-extensions-WikiEd.../modules/realtimepreview/monobook.less
Ed Sanders aab2a44fd9 RealtimePreview: Add drop shadow to floating button
In general, floating elements use a subtle dropdown
e.g. "Return to reply" button in DiscussionTools.

Change-Id: If3363557e3f85bbb3000b75e98d5130be1017e2f
2024-03-12 11:19:01 -07:00

26 lines
491 B
Plaintext

.ext-WikiEditor-realtimepreview-button {
&:hover {
background-color: unset;
}
&.oo-ui-toggleWidget-on .oo-ui-labelElement-label {
color: unset;
}
&.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button {
padding: 0 3px 0 0;
}
}
.ext-WikiEditor-twopanes-pane2 {
.ext-WikiEditor-reloadButton {
opacity: 0;
transition: opacity 100ms;
position: absolute;
top: 8px;
right: 15px;
z-index: 5;
box-shadow: 0 0.2em 1em rgba( 0, 0, 0, 0.3 );
}
}