ent/doc/fields:

Reviewed By: alexsn

Differential Revision: D16936039

fbshipit-source-id: 0609c1d08c7f57b8ce79203c0fbd1d92089b6765
This commit is contained in:
Ariel Mashraki
2019-08-21 01:59:10 -07:00
committed by Facebook Github Bot
parent 8e05690bf9
commit 06a0f14702
4 changed files with 249 additions and 4 deletions

View File

@@ -0,0 +1,39 @@
/* "Copy" code block button */
pre {
position: relative;
}
pre .btnIcon {
position: absolute;
top: 4px;
z-index: 2;
cursor: pointer;
border: 1px solid transparent;
padding: 0;
color: #fff;
background-color: transparent;
height: 30px;
transition: all .25s ease-out;
}
pre .btnIcon:hover {
text-decoration: none;
}
.btnIcon__body {
align-items: center;
display: flex;
}
.btnIcon svg {
fill: currentColor;
margin-right: .4em;
}
.btnIcon__label {
font-size: 11px;
}
.btnClipboard {
right: 10px;
}