2020-03-04 21:24:49 +00:00
|
|
|
body{
|
|
|
|
font-family:sans-serif;
|
|
|
|
background: darkblue;
|
|
|
|
margin:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#svgCanvas{
|
|
|
|
width:100vw;
|
|
|
|
height:100vh;
|
|
|
|
}
|
|
|
|
.catNav{
|
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
color:white;
|
|
|
|
bottom:0;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
#catNav {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
#catNav2 {
|
|
|
|
right:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.catNav ul{
|
|
|
|
list-style:none;
|
|
|
|
padding:0px;
|
|
|
|
margin: 30px 0px;
|
|
|
|
border-width: 3px;
|
2020-03-10 07:44:19 +00:00
|
|
|
width:145px;
|
|
|
|
overflow-x:hidden;
|
|
|
|
/*Due to rotation the overlfow hidden does anoying things*/
|
|
|
|
padding-top:93px;
|
|
|
|
margin-bottom:-85px;
|
|
|
|
box-shadow: white 0 0 20px;
|
|
|
|
position:relative;
|
|
|
|
}
|
|
|
|
.catNav ul:before{
|
|
|
|
content: attr(data-name);
|
|
|
|
position:absolute;
|
|
|
|
top: 68px;
|
|
|
|
transform:rotate(-30deg);
|
|
|
|
transform-origin: top left;
|
|
|
|
font-weight:bold;
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
#catNav2 ul:before{
|
|
|
|
transform:rotate(30deg);
|
|
|
|
transform-origin:top right;
|
|
|
|
right:0;
|
|
|
|
top: 66px;
|
|
|
|
}
|
|
|
|
/*#catNav ul {
|
2020-03-04 21:24:49 +00:00
|
|
|
border-left-style: solid;
|
|
|
|
}
|
|
|
|
#catNav2 ul {
|
|
|
|
border-right-style: solid;
|
2020-03-10 07:44:19 +00:00
|
|
|
}*/
|
2020-03-04 21:24:49 +00:00
|
|
|
|
|
|
|
.catNav li{
|
2020-03-10 07:44:19 +00:00
|
|
|
padding: 2px 2px 2px 25px;
|
|
|
|
width:160px;
|
|
|
|
margin-left:-12px;
|
|
|
|
text-shadow: black 0 0 2px;
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
|
|
|
.catNav li:hover{
|
|
|
|
cursor:pointer;
|
|
|
|
text-decoration:underline;
|
|
|
|
}
|
|
|
|
#catNav li{
|
|
|
|
transform: rotate(-30deg);
|
|
|
|
transform-origin: top left;
|
|
|
|
}
|
|
|
|
#catNav2 li{
|
|
|
|
transform: rotate(30deg);
|
|
|
|
text-align:right;
|
|
|
|
transform-origin: top right;
|
2020-03-10 07:44:19 +00:00
|
|
|
padding-right: 25px;
|
|
|
|
padding-left: 2px;
|
|
|
|
margin-left:-25px;
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
g{
|
|
|
|
cursor:grab;
|
|
|
|
}
|
|
|
|
|
|
|
|
g:active{
|
|
|
|
cursor:grabbing;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg text{
|
|
|
|
fill:white;
|
|
|
|
font-size: 40pt;
|
|
|
|
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons{
|
|
|
|
position:absolute;
|
|
|
|
top: 10px;
|
|
|
|
text-align:center;
|
|
|
|
width: 300px;
|
|
|
|
left: calc(50% - 150px);
|
|
|
|
}
|
|
|
|
.buttons.buttons-inline{
|
|
|
|
position:static;
|
|
|
|
margin: 10px;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
.buttons span, .buttons label{
|
|
|
|
color:white;
|
|
|
|
cursor:pointer;
|
|
|
|
}
|
|
|
|
.buttons span:hover{
|
|
|
|
text-decoration:underline;
|
|
|
|
}
|
|
|
|
.buttons #sceneLabel{
|
|
|
|
display:block;
|
|
|
|
}
|
|
|
|
|
|
|
|
body.hideImages svg image{
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
body.hideLabels svg text{
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-person:before{
|
|
|
|
color:rgb(250,8,0);
|
|
|
|
}
|
|
|
|
.supercategory-person li{
|
|
|
|
background:rgb(250,8,0);
|
|
|
|
}
|
|
|
|
.supercategory-vehicle:before{
|
|
|
|
color:rgb(128,255,0);
|
|
|
|
}
|
|
|
|
.supercategory-vehicle li{
|
|
|
|
background:rgb(128,255,0);
|
|
|
|
}
|
|
|
|
.supercategory-outdoor:before{
|
|
|
|
color:rgb(0,255,255);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-outdoor li{
|
|
|
|
background:rgb(0,255,255);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-animal:before{
|
|
|
|
color:rgb(255,0,255);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-animal li{
|
|
|
|
background:rgb(255,0,255);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-accessory:before{
|
|
|
|
color:rgb(255,255,0);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-accessory li{
|
|
|
|
background:rgb(255,255,0);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-sports:before{
|
|
|
|
color:rgb(0,128,255);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-sports li{
|
|
|
|
background:rgb(0,128,255);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-kitchen:before{
|
|
|
|
color:rgb(250,133,0);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-kitchen li{
|
|
|
|
background:rgb(250,133,0);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-furniture:before{
|
|
|
|
color:rgb(187,0,250);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
2020-03-10 07:44:19 +00:00
|
|
|
.supercategory-furniture li{
|
|
|
|
background:rgb(187,0,250);
|
|
|
|
}
|
|
|
|
.supercategory-food:before{
|
|
|
|
color:rgb(0,250,133);
|
|
|
|
}
|
|
|
|
.supercategory-food li{
|
|
|
|
background:rgb(0,250,133);
|
|
|
|
}
|
|
|
|
.supercategory-electronic:before{
|
|
|
|
color:rgb(250,217,0);
|
|
|
|
}
|
|
|
|
.supercategory-electronic li{
|
|
|
|
background:rgb(250,217,0);
|
|
|
|
}
|
|
|
|
.supercategory-appliance:before{
|
|
|
|
color:rgb(255,0,128);
|
|
|
|
}
|
|
|
|
.supercategory-appliance li{
|
|
|
|
background:rgb(255,0,128);
|
|
|
|
}
|
|
|
|
.supercategory-indoor:before{
|
|
|
|
color:rgb(133,0,250);
|
|
|
|
}
|
|
|
|
.supercategory-indoor li{
|
|
|
|
background:rgb(133,0,250);
|
2020-03-04 21:24:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#save{margin: 5px;}
|
|
|
|
|
|
|
|
#saved{
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#saved svg{
|
|
|
|
width: 30vw;
|
|
|
|
height: 20vw;
|
|
|
|
margin: 10px;
|
|
|
|
border:solid 1px white;
|
2020-03-10 07:44:19 +00:00
|
|
|
}
|