2022-03-07 23:13:58 +01:00
|
|
|
html {
|
|
|
|
height: -webkit-fill-available;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
height: 100vh;
|
|
|
|
height: -webkit-fill-available;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
height: 100vh;
|
|
|
|
height: -webkit-fill-available;
|
|
|
|
max-height: 100vh;
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
#left-nav {
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hoverGrow:hover {
|
|
|
|
transform: scale(1.025);
|
|
|
|
transition-duration: .2s;
|
2022-03-12 02:07:00 +01:00
|
|
|
cursor: pointer;
|
2022-03-07 23:13:58 +01:00
|
|
|
}
|
|
|
|
|
2022-03-11 22:37:01 +01:00
|
|
|
.svg-center {
|
2022-03-07 23:13:58 +01:00
|
|
|
-webkit-transform: translateX(-50%);
|
|
|
|
-ms-transform: translateX(-50%);
|
|
|
|
transform: translateX(-50%);
|
|
|
|
align-self: center;
|
|
|
|
}
|
2022-03-11 22:37:01 +01:00
|
|
|
|
|
|
|
.preview {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
z-index: 1;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview_content {
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
|
|
|
padding: 15px; /* TOP, RIGHT, BOTTOM, LEFT */
|
|
|
|
}
|
|
|
|
|
|
|
|
.preview canvas {
|
|
|
|
z-index: 1000000;
|
|
|
|
max-height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
object-fit: contain;
|
2022-07-20 18:23:26 +02:00
|
|
|
/*background-color: white;*/
|
2022-03-12 02:07:00 +01:00
|
|
|
filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, .2));
|
2022-03-11 22:37:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.preview-float {
|
|
|
|
position: absolute !important;
|
|
|
|
z-index: 1000001;
|
|
|
|
bottom: 10px;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
#colorpattern.active {
|
|
|
|
box-sizing: border-box;
|
|
|
|
outline: 3px cyan solid;
|
|
|
|
transform: scale(1.025);
|
|
|
|
transition-duration: .2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.opacity {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
.opacity:hover {
|
|
|
|
opacity: 1.0;
|
|
|
|
}
|