cartodb/assets/stylesheets/editor-3/_edit-overlay.scss

29 lines
472 B
SCSS
Raw Normal View History

2020-06-15 10:58:47 +08:00
// Edit overlay
// ----------------------------------------------
@import '~cartoassets/src/scss/cdb-variables/colors';
.EditOverlay {
position: absolute;
z-index: 4;
top: 16px;
right: 16px;
height: auto;
transition: all 0.2s;
opacity: 1;
text-align: center;
&.is-hidden {
height: 0;
overflow: hidden;
opacity: 0;
}
}
.EditOverlay-inner {
display: inline-block;
padding: 10px;
border-radius: 2px;
background: rgba(#000, 0.6);
}