Difference between revisions of "Widget:TestWidget"
Jump to navigation
Jump to search
>Eave m |
>Eave m |
||
| Line 1: | Line 1: | ||
<style> | <style> | ||
| + | .mw-ui-button > * { | ||
| + | pointer-events:none; | ||
| + | } | ||
.mw-ui-button .icon { | .mw-ui-button .icon { | ||
height:20px; | height:20px; | ||
| − | |||
} | } | ||
.mw-ui-button .icon + span { | .mw-ui-button .icon + span { | ||
| Line 12: | Line 14: | ||
.mw-ui-button .mc-icon { | .mw-ui-button .mc-icon { | ||
height:40px; | height:40px; | ||
| − | |||
} | } | ||
.mw-ui-button .mc-icon + span { | .mw-ui-button .mc-icon + span { | ||
| − | |||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
Revision as of 01:04, 24 July 2020
<style> .mw-ui-button > * {
pointer-events:none;
} .mw-ui-button .icon {
height:20px;
} .mw-ui-button .icon + span {
vertical-align:middle;
} .mw-ui-button.mc-button {
position:relative;
} .mw-ui-button .mc-icon {
height:40px;
} .mw-ui-button .mc-icon + span {
position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; align-items: center; color: white; text-shadow: -1px -1px black, 1px -1px black, -1px 1px black, 1px 1px black;
} </style>