mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-11-01 02:48:44 +01:00
1cb5f6efa9
First draft for #232.
49 lines
711 B
CSS
49 lines
711 B
CSS
body {
|
|
padding: 0.5em;
|
|
margin: 0;
|
|
}
|
|
|
|
div {
|
|
display: block;
|
|
}
|
|
|
|
.action {
|
|
display: block;
|
|
padding: 0.5em;
|
|
background-color: transparent;
|
|
border: 1px solid currentColor;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
text-align: left;
|
|
height: auto;
|
|
z-index: 1;
|
|
position: relative;
|
|
white-space: nowrap;
|
|
color: currentColor;
|
|
}
|
|
|
|
.action + .action {
|
|
border-top-width: 0;
|
|
}
|
|
|
|
.action:first-child {
|
|
border-radius: 3px 3px 0 0;
|
|
}
|
|
|
|
.action:last-child {
|
|
border-radius: 0 0 3px 3px;
|
|
}
|
|
|
|
.action:active, .action:hover, .action:focus {
|
|
z-index: 10;
|
|
}
|
|
|
|
.action .icon {
|
|
vertical-align: text-bottom;
|
|
height: 19px;
|
|
width: 19px;
|
|
margin-right: 0.25em;
|
|
background-color: currentColor;
|
|
mask-size: 100%;
|
|
display: inline-block;
|
|
} |