mirror of
https://github.com/MrEidam/bigredbutton.git
synced 2026-04-17 15:43:31 +00:00
Version 42
This commit is contained in:
86
css/brb.css
86
css/brb.css
@@ -5,6 +5,7 @@ body{
|
||||
margin: 0;
|
||||
background-color: #333;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
}
|
||||
#tycoon{
|
||||
position: absolute;
|
||||
@@ -54,12 +55,6 @@ body{
|
||||
cursor: pointer;
|
||||
}
|
||||
/* Other BTNS */
|
||||
.Yt{
|
||||
position: absolute;
|
||||
bottom: 0px;
|
||||
margin: 0.5rem;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.menu-container{
|
||||
position: absolute;
|
||||
@@ -146,4 +141,83 @@ ul li a{
|
||||
}
|
||||
ul li:hover a{
|
||||
color: #44dd44;
|
||||
}
|
||||
|
||||
.socmenu{
|
||||
position: absolute;
|
||||
left: -45px;
|
||||
bottom: -45px;
|
||||
width: 220px;
|
||||
height: 220px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.socmenu .toggle{
|
||||
position: relative;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid rgba(255,255,255,0.1);
|
||||
border-radius: 50%;
|
||||
box-shadow:
|
||||
0 25px 15px rgba(0,0,0,0.25),
|
||||
0 25px 20px rgba(0,0,0,0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
font-size: 3em;
|
||||
color: #fff;
|
||||
z-index: 1000000;
|
||||
}
|
||||
.socmenu .toggle ion-icon{position:absolute;opacity:0;transition:0.5s;}
|
||||
.socmenu .toggle ion-icon:nth-child(1){opacity:1;transform:rotate(360deg);}
|
||||
.socmenu.active .toggle ion-icon:nth-child(1){opacity:0;transform:rotate(0deg);}
|
||||
.socmenu .toggle ion-icon:nth-child(2){opacity:0;transform:rotate(0deg);}
|
||||
.socmenu.active .toggle ion-icon:nth-child(2){opacity:1;transform:rotate(360deg);}
|
||||
.socmenu li{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
list-style: none;
|
||||
transform-origin: 110px;
|
||||
transition: 0.5s;
|
||||
transition-delay: calc(0.05s*var(--i));
|
||||
transform: rotate(calc(360deg/4*var(--i)));
|
||||
scale: 0;
|
||||
z-index: 1;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.socmenu li::before{
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -30px;
|
||||
width: 20px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
z-index: 10;
|
||||
transform: skewX(325deg) translateX(0);
|
||||
box-shadow: -5px 0 0 #fff5;
|
||||
transition: 0.5s;
|
||||
}
|
||||
.socmenu li:hover::before{
|
||||
transform: skewX(325deg) translateX(180px);
|
||||
box-shadow: -50px 0 0 #fff5;
|
||||
}
|
||||
.socmenu.active li{scale:1;}
|
||||
.socmenu li a{
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
background: var(--clr);
|
||||
color: #fff;
|
||||
font-size: 2.25em;
|
||||
border-radius: 50%;
|
||||
transform: rotate(calc(360deg/-4*var(--i)));
|
||||
box-shadow: 0 3px 4px rgba(0,0,0,0.15)
|
||||
}
|
||||
@@ -83,6 +83,7 @@ body {
|
||||
width: 500px;
|
||||
height: 340px;
|
||||
filter: drop-shadow(0px 20px 14px #444);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.item img{
|
||||
|
||||
Reference in New Issue
Block a user