web_defender/Device/static/dashboard/bubble.css
2024-12-09 13:43:16 +05:30

330 lines
5.9 KiB
CSS

.rowSection {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 20px 0;
position: absolute;
}
.columnSection {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 20px 0;
position: absolute;
}
.bottomTextSection {
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 20px 0;
position: absolute;
align-items: flex-end;
color: #ffffff;
margin-bottom: -35px;
}
.bubbleChartRowLine {
border-top: 1px solid #bbbbbb;
}
.bubbleChartColumnLine {
border-left: 1px solid #bbbbbb;
}
.bubbleChartSection {
position: relative;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
height: 200px;
background: #153549;
}
.bubble {
position: relative;
width: 100px;
height: 100px;
border-radius: 50%;
box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.2);
}
.bubble-animation {
animation: animate 15s ease-in-out infinite;
}
.bubble-animation-range-90 {
/* animation: range90 15s ease-in-out infinite; */
animation: animate 15s ease-in-out infinite;
}
.bubble:nth-child(2) {
position: relative;
zoom: 0.65;
left: -10px;
top: -30px;
animation-delay: 2s;
}
.bubble:nth-child(3) {
position: relative;
zoom: 0.35;
right: -80px;
top: -35px;
animation-delay: 8s;
}
.bubble:nth-child(4) {
position: relative;
zoom: 0.45;
left: 10px;
bottom: -20px;
animation-delay: 3s;
}
.bubble:nth-child(5) {
position: relative;
zoom: 0.7;
left: 0px;
bottom: -25px;
animation-delay: 9s;
}
.bubble:nth-child(6) {
position: relative;
zoom: 0.65;
left: -10px;
top: -30px;
animation-delay: 4s;
}
.bubble:nth-child(7) {
position: relative;
zoom: 0.35;
right: -80px;
top: -35px;
animation-delay: 10s;
}
.bubble:nth-child(8) {
position: relative;
zoom: 0.45;
left: -120px;
bottom: -20px;
animation-delay: 5s;
}
.bubble:nth-child(9) {
position: relative;
zoom: 0.7;
left: 0px;
bottom: -25px;
animation-delay: 11s;
}
.bubble:nth-child(10) {
position: relative;
zoom: 0.65;
left: -10px;
top: -30px;
animation-delay: 6s;
}
.bubble:nth-child(11) {
position: relative;
zoom: 0.35;
right: -80px;
top: -35px;
animation-delay: 12s;
}
.bubble:nth-child(12) {
position: relative;
zoom: 0.65;
left: -10px;
top: -30px;
animation-delay: 7s;
}
@keyframes animate {
0% {
transform: translateY(-20px);
width: 50px;
height: 50px;
}
25% {
zoom: 1;
transform: translateY(20px);
width: 75px;
height: 75px;
}
50% {
zoom: 1;
transform: translateY(20px);
width: 100px;
height: 100px;
}
75% {
transform: translateY(-20px);
width: 75px;
height: 75px;
}
100% {
transform: translateY(-20px);
width: 50px;
height: 50px;
}
}
@keyframes range90 {
0% {
transform: translateY(-20px);
width: 50px;
height: 50px;
}
25% {
zoom: 1;
transform: translateY(20px);
width: 75px;
height: 75px;
}
50% {
zoom: 1;
transform: translateY(20px);
width: 100px;
height: 100px;
}
75% {
transform: translateY(-20px);
width: 75px;
height: 75px;
}
100% {
transform: translateY(-20px);
width: 50px;
height: 50px;
}
}
.bubble::before {
content: "";
position: absolute;
top: 10px;
left: 25px;
width: 20px;
height: 20px;
border-radius: 50%;
background: #ffffff;
z-index: 10;
filter: blur(1px);
opacity: 0.7;
}
.bubble::after {
content: "";
position: absolute;
top: 30px;
left: 40px;
width: 10px;
height: 10px;
border-radius: 50%;
background: #ffffff;
z-index: 10;
filter: blur(1px);
opacity: 0.5;
}
.bubble span {
position: absolute;
border-radius: 50%;
}
.bubble span:nth-child(1) {
inset: 10px;
border-left: 15px solid #0fb4ff;
filter: blur(6px);
}
.bubble span:nth-child(2) {
inset: 10px;
border-right: 15px solid #0fb4ff;
filter: blur(6px);
}
.bubble span:nth-child(3) {
inset: 20px;
border-top: 15px solid #274654;
filter: blur(6px);
}
.bubble span:nth-child(4) {
inset: 30px;
border-left: 15px solid #0fb4ff;
filter: blur(6px);
}
.bubble span:nth-child(5) {
inset: 10px;
border-left: 15px solid #0fb4ff;
filter: blur(6px);
transform: rotate(330deg);
}
.bubble.FalsePositive span:nth-child(1) {
border-left: 15px solid #5589a9;
}
.bubble.FalsePositive span:nth-child(2) {
border-right: 15px solid #5589a9;
}
.bubble.FalsePositive span:nth-child(3) {
border-top: 15px solid #5589a9;
}
.bubble.FalsePositive span:nth-child(4) {
border-left: 15px solid #5589a9;
}
.bubble.FalsePositive span:nth-child(5) {
border-left: 15px solid #5589a9;
}
.bubble.AnonymousHit span:nth-child(1) {
border-left: 15px solid #274654;
}
.bubble.AnonymousHit span:nth-child(2) {
border-right: 15px solid #274654;
}
.bubble.AnonymousHit span:nth-child(3) {
border-top: 15px solid #274654;
}
.bubble.AnonymousHit span:nth-child(4) {
border-left: 15px solid #274654;
}
.bubble.AnonymousHit span:nth-child(5) {
border-left: 15px solid #274654;
}