reveal.js-drawer
Version:
Drawing Board for RevealJS presentations
89 lines (77 loc) • 1.67 kB
CSS
.revealjs-drawer {
width: 100%;
height: 100%;
z-index: 100;
position: absolute;
top: 0;
margin: 0;
}
.revealjs-drawer.disabled {
z-index: 0;
}
.revealjs-drawer_canvas {
width: 100%;
height: 100%;
margin: 0;
}
.revealjs-drawer-menu {
position: absolute;
left: 100px;
bottom: 20px;
height: 50px;
z-index: 2;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding-top: 6px;
background-color: rgba(255, 255, 255, 0.4);
border-radius: 12px;
}
.revealjs-drawer-color_container {
display: flex;
flex-direction: row;
}
.revealjs-drawer-color_picker {
background-color: red;
border-radius: 50%;
height: 1.5rem;
width: 1.5rem;
margin-right: 1rem;
border: 2px beige solid;
cursor: pointer;
}
/* PEN icon
------------------------------------------------------------------------------------------------------------------------------- */
.revealjs-drawer-pen_icon {
width: 8px;
height: 24px;
margin-left: 18px;
margin-right: calc(32px - 8px);
background: dimgray;
transform: rotate(30deg);
/*cursor: pointer;*/
}
.disabled .revealjs-drawer-pen_icon {
background: dimgray ;
}
.revealjs-drawer-pen_icon::before {
content: "";
position: absolute;
width: 8px;
height: 8px;
background: inherit;
top: -12px;
}
.revealjs-drawer-pen_icon::after {
content: "";
position: absolute;
width: 6px;
height: 6px;
background: inherit;
left: 1px;
bottom: -3px;
transform: rotate(45deg);
}
/* End of PEN icon
------------------------------------------------------------------------------------------------------------------------------- */