204 lines
3.3 KiB
CSS
204 lines
3.3 KiB
CSS
body {
|
|
margin: 0 auto;
|
|
overflow: hidden;
|
|
}
|
|
.svgArea {
|
|
position: absolute;
|
|
height: 105vh;
|
|
width: 105vw;
|
|
z-index: -1;
|
|
}
|
|
.new {
|
|
position: relative;
|
|
display: inline-block;
|
|
height: 50px;
|
|
width: 50px;
|
|
overflow: hidden;
|
|
margin-top: -5px;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
.new:hover {
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
border: 1px solid white;
|
|
}
|
|
.selectedSVG {
|
|
position: relative;
|
|
height: 50px;
|
|
width: 100px;
|
|
top: 0px;
|
|
left: 0px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
border: 2px dashed #fff;
|
|
overflow: hidden;
|
|
transition: 400ms;
|
|
cursor:zoom-in;
|
|
}
|
|
|
|
/* button that activates the slide animation, this also toggles the active class in jQuery */
|
|
.menu-btn {
|
|
position: absolute;
|
|
top: 25px;
|
|
right: 20px;
|
|
z-index: 9999;
|
|
padding: 5px;
|
|
cursor: pointer;
|
|
box-shadow:0px 0px 5px #000;
|
|
transition:100ms;
|
|
}
|
|
.menu-btn:hover{
|
|
box-shadow:0px 0px 2px #000;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
padding: 1em;
|
|
margin: 0;
|
|
}
|
|
|
|
h2 {
|
|
padding: 0.5em 1em 0;
|
|
}
|
|
|
|
/* resetting default normalize list styles */
|
|
ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Push Menu */
|
|
.wrapper {
|
|
position: relative;
|
|
top: 0;
|
|
left: 0;
|
|
-webkit-transition: all 0.3s ease-out;
|
|
-moz-transition: all 0.3s ease-out;
|
|
-ms-transition: all 0.3s ease-out;
|
|
-o-transition: all 0.3s ease-out;
|
|
transition: all 0.3s ease-out;
|
|
}
|
|
|
|
.wrapper.active {
|
|
left: -275px;
|
|
}
|
|
|
|
.nav-wrapper {
|
|
position: absolute;
|
|
right: -275px;
|
|
top: 0;
|
|
background: #29a9e1;
|
|
width: 275px;
|
|
z-index: 9900;
|
|
-webkit-transition: all 0.3s ease-out;
|
|
-moz-transition: all 0.3s ease-out;
|
|
-ms-transition: all 0.3s ease-out;
|
|
-o-transition: all 0.3s ease-out;
|
|
transition: all 0.3s ease-out;
|
|
height: 100vh;
|
|
}
|
|
|
|
.nav-wrapper.active {
|
|
}
|
|
|
|
.main-nav {
|
|
}
|
|
|
|
.main-nav li a {
|
|
display: block;
|
|
color: white;
|
|
padding: 1em;
|
|
-webkit-transition: all 0.3s ease-out;
|
|
-moz-transition: all 0.3s ease-out;
|
|
-ms-transition: all 0.3s ease-out;
|
|
-o-transition: all 0.3s ease-out;
|
|
transition: all 0.3s ease-out;
|
|
}
|
|
|
|
.main-nav li a:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.main-nav li.current-menu-item a {
|
|
background: #246a8a;
|
|
}
|
|
|
|
.main-nav li a:hover {
|
|
background: #246a8a;
|
|
}
|
|
|
|
/* the overlay that will darken the bakground */
|
|
.menu-mask {
|
|
position: fixed;
|
|
z-index: 100;
|
|
top: 0;
|
|
left: 0;
|
|
overflow: hidden;
|
|
height: 100vh;
|
|
width: 100%;
|
|
visibility: hidden;
|
|
background-color: #000;
|
|
opacity: 0;
|
|
-webkit-transition: all 0.3s ease-out;
|
|
-moz-transition: all 0.3s ease-out;
|
|
-ms-transition: all 0.3s ease-out;
|
|
-o-transition: all 0.3s ease-out;
|
|
transition: all 0.3s ease-out;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
/* show this mask */
|
|
.menu-mask.active {
|
|
visibility: initial;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.favorites {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
height: 40px;
|
|
width: 78%;
|
|
border: 2px dashed gold;
|
|
overflow-x: auto;
|
|
background:rgba(255,255,255,0.3);
|
|
}
|
|
|
|
.fav {
|
|
height: 40px;
|
|
width: 40px;
|
|
position:relative;
|
|
display: inline-block;
|
|
border: 0px solid black;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
border: none;
|
|
overflow:hidden;
|
|
}
|
|
|
|
.fa-star{
|
|
color:gold;
|
|
}
|
|
.fa-random{
|
|
background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
.remove{
|
|
position:absolute;
|
|
top:0%;
|
|
right:0%;
|
|
height:14px;
|
|
width:14px;
|
|
border-radius:50%;
|
|
background:red;
|
|
} |