mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-06-14 01:54:58 +08:00
42 lines
586 B
CSS
42 lines
586 B
CSS
/* "Copy" code block button */
|
|
pre {
|
|
position: relative;
|
|
}
|
|
|
|
pre .btnIcon {
|
|
position: absolute;
|
|
right: 4px;
|
|
top: 0;
|
|
z-index: 2;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
padding: 0;
|
|
color: lightgray;
|
|
background-color: transparent;
|
|
height: 30px;
|
|
transition: all .25s ease-out;
|
|
outline: none
|
|
}
|
|
|
|
pre .btnIcon:hover {
|
|
text-decoration: none;
|
|
color: darkgray;
|
|
}
|
|
|
|
.btnIcon__body {
|
|
align-items: center;
|
|
display: flex;
|
|
}
|
|
|
|
.btnIcon svg {
|
|
fill: currentColor;
|
|
margin-right: .4em;
|
|
}
|
|
|
|
.btnIcon__label {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.btnClipboard {
|
|
right: 10px;
|
|
} |