f0ckv2/public/css/icons.css

92 lines
1.6 KiB
CSS
Raw Normal View History

2019-05-19 01:45:45 +00:00
div.close {
2019-05-15 18:41:31 +00:00
position: fixed;
2019-05-19 01:45:45 +00:00
cursor: pointer;
2019-05-11 09:20:48 +00:00
height: 48px;
2019-05-19 01:45:45 +00:00
width: 48px;
opacity: .5;
border-radius: 10px;
z-index: 90;
top: 80px;
right: 10px;
2019-05-11 09:20:48 +00:00
}
2019-05-19 01:45:45 +00:00
div.close:hover {
opacity: .9;
box-shadow: 0px 0px 0px 2px #dac8d2;
border-radius: 10px;
transition: .1s ease-in;
2019-05-11 09:20:48 +00:00
}
2019-05-19 01:45:45 +00:00
div.close:before {
content: '';
clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
2019-05-11 09:20:48 +00:00
position: absolute;
2019-05-19 01:45:45 +00:00
top: 7%;
right: 7%;
height: 41px;
width: 41px;
background-color: rgba(255, 255, 255, .5);
2019-05-11 09:20:48 +00:00
}
div.arrow {
2019-05-15 17:51:11 +00:00
position: absolute;
2019-05-11 09:20:48 +00:00
cursor: pointer;
height: 70px;
width: 70px;
background-color: #000;
opacity: .5;
border-radius: 10px;
z-index: 90;
}
div.arrow:hover {
opacity: .9;
box-shadow: 0px 0px 0px 2px #dac8d2;
border-radius: 10px;
transition: .1s ease-in;
}
div.arrow:before {
content: '';
position: absolute;
top: 7%;
left: 7%;
height: 60px;
width: 60px;
background-color: rgba(255, 255, 255, 0.5);
}
div.top:before {
clip-path: polygon(0% 77%, 50% 23%, 100% 77%);
}
div.bottom:before {
clip-path: polygon(0% 23%, 100% 23%, 50% 77%);
}
div.left:before {
clip-path: polygon(23% 50%, 77% 0%, 77% 100%);
}
div.right:before {
clip-path: polygon(23% 0%, 77% 50%, 23% 100%);
}
div.arrow.top {
2019-05-15 17:51:11 +00:00
top: 10px;
2019-05-11 09:20:48 +00:00
left: 50%;
transform: translateX(-50%);
}
div.arrow.bottom {
2019-05-15 17:51:11 +00:00
bottom: 10px;
2019-05-11 09:20:48 +00:00
left: 50%;
transform: translateX(-50%);
}
div.arrow.left {
2019-05-15 17:51:11 +00:00
position: fixed !important;
left: 10px;
2019-05-11 09:20:48 +00:00
top: 50%;
transform: translateY(-50%);
}
div.arrow.right {
2019-05-15 17:51:11 +00:00
position: fixed !important;
right: 10px;
2019-05-11 09:20:48 +00:00
top: 50%;
transform: translateY(-50%);
}
2019-05-15 17:51:11 +00:00