Files
flipper/website/static/css/code-blocks-buttons.css
Andres Suarez 79023ee190 Update copyright headers from Facebook to Meta
Reviewed By: bhamodi

Differential Revision: D33331422

fbshipit-source-id: 016e8dcc0c0c7f1fc353a348b54fda0d5e2ddc01
2021-12-27 14:31:45 -08:00

51 lines
764 B
CSS

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* "Copy" code block button */
pre {
position: relative;
}
.hljs {
padding: 2rem 1.5rem;
}
pre .btnIcon {
position: absolute;
top: 4px;
z-index: 2;
cursor: pointer;
border: 1px solid transparent;
padding: 0;
color: #222;
background-color: transparent;
height: 30px;
transition: all 0.25s ease-out;
}
pre .btnIcon:hover {
text-decoration: none;
}
.btnIcon__body {
align-items: center;
display: flex;
}
.btnIcon svg {
fill: currentColor;
margin-right: 0.4em;
}
.btnIcon__label {
font-size: 11px;
}
.btnClipboard {
right: 10px;
}