mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 15:14:56 -04:00
36 lines
678 B
SCSS
36 lines
678 B
SCSS
/*
|
|
* SPDX-FileCopyrightText: 2020 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
.one-click-embedding {
|
|
|
|
position: relative;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
|
|
.one-click-embedding-icon {
|
|
display: inline;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: white;
|
|
opacity: 0.4;
|
|
transition: opacity 0.2s;
|
|
text-shadow: #000000 0 0 5px;
|
|
}
|
|
|
|
&:hover > .one-click-embedding-icon {
|
|
opacity: 0.8;
|
|
text-shadow: #000000 0 0 10px;
|
|
}
|
|
|
|
.one-click-embedding-preview {
|
|
background: none;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
}
|