mirror of
https://github.com/MrEidam/bigredbutton.git
synced 2026-04-17 15:43:31 +00:00
149 lines
2.5 KiB
CSS
149 lines
2.5 KiB
CSS
@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');
|
|
body{
|
|
user-select: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
background-color: #333;
|
|
box-sizing: border-box;
|
|
}
|
|
#tycoon{
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 200px;
|
|
background: #333;
|
|
font-size: 15pt;
|
|
}
|
|
#logclick{
|
|
position: absolute;
|
|
width: 100%;
|
|
top: 60px;
|
|
left: 50%;
|
|
text-align: center;
|
|
transform: translate(-50%,0);
|
|
font-size: 17.5pt;
|
|
}
|
|
@media only screen and (max-width: 700px){
|
|
#logclick{font-size: 15pt;}
|
|
}
|
|
#disclick{
|
|
position: absolute;
|
|
width: 100%;
|
|
}
|
|
|
|
/*BRB*/
|
|
#unpressed{
|
|
position: absolute;
|
|
width: 300px;
|
|
height: 300px;
|
|
border-radius: 150px;
|
|
}
|
|
#pressed{
|
|
position: absolute;
|
|
width: 300px;
|
|
height: 300px;
|
|
visibility: hidden;
|
|
border-radius: 150px;
|
|
}
|
|
#button{
|
|
user-select: none;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: -150px 0 0 -150px;
|
|
border-radius: 150px;
|
|
cursor: pointer;
|
|
}
|
|
/* Other BTNS */
|
|
.Yt{
|
|
position: absolute;
|
|
bottom: 0px;
|
|
margin: 0.5rem;
|
|
left: 0;
|
|
}
|
|
|
|
.menu-container{
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 300px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-family: 'Poppins';
|
|
}
|
|
.button{
|
|
position: relative;
|
|
background: #1b1b1b;
|
|
color: #fff;
|
|
font-size: 20px;
|
|
padding: 8px 20px;
|
|
width: 150px;/* 100% */
|
|
line-height: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-radius: 25px;
|
|
cursor: pointer;
|
|
transition: width .4s;
|
|
}
|
|
.button.expand{
|
|
width: 100%;
|
|
}
|
|
.fas.expand:before{
|
|
content: '\f00d';
|
|
}
|
|
ul{
|
|
list-style: none;
|
|
position: absolute;
|
|
top: 65px;
|
|
display: block;
|
|
background: #1b1b1b;
|
|
width: 100%;
|
|
text-align: center;
|
|
border-radius: 5px;
|
|
display: none;
|
|
box-shadow: 0 3px 6px rgba(0,0,0,.3);
|
|
padding-inline-start: 0px;
|
|
}
|
|
ul:before{
|
|
position: absolute;
|
|
content: '';
|
|
width: 20px;
|
|
height: 20px;
|
|
background: #1b1b1b;
|
|
top: -10px;
|
|
right: 15px;
|
|
transform: rotate(45deg);
|
|
z-index: -1;
|
|
}
|
|
ul li{
|
|
line-height: 35px;
|
|
padding: 8px 20px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid rgba(255,255,255,.1);
|
|
}
|
|
ul li:hover:first-child{
|
|
border-radius: 5px 5px 0 0;
|
|
}
|
|
ul li:hover:last-child{
|
|
border-radius: 0 0 5px 5px;
|
|
}
|
|
ul li:hover{
|
|
box-shadow: inset 0 0 5px #33ff33,
|
|
inset 0 0 10px #66ff66;
|
|
}
|
|
ul li:last-child{
|
|
border-bottom: none;
|
|
}
|
|
ul li a{
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
text-decoration: none;
|
|
}
|
|
ul li:hover a{
|
|
color: #44dd44;
|
|
} |