mirror of
https://github.com/ent/ent.git
synced 2026-04-30 06:30:55 +03:00
ent/doc/fields:
Reviewed By: alexsn Differential Revision: D16936039 fbshipit-source-id: 0609c1d08c7f57b8ce79203c0fbd1d92089b6765
This commit is contained in:
committed by
Facebook Github Bot
parent
8e05690bf9
commit
06a0f14702
39
doc/website/static/css/code-block-buttons.css
Normal file
39
doc/website/static/css/code-block-buttons.css
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user