Files
oaip-project-app/static/frontend/src/App.css
2025-05-22 21:57:13 +03:00

100 lines
1.7 KiB
CSS

.glass {
background: rgba(31, 41, 55, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(147, 51, 234, 0.3);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
transition: all 0.3s ease;
}
.glass {
&:hover,
&:focus,
&:active {
background: rgba(147, 51, 234, 0.2);
border-color: rgba(147, 51, 234, 0.7);
box-shadow: 0 6px 12px rgba(147, 51, 234, 0.3);
}
}
@keyframes flipRight {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(90deg);
}
100% {
transform: rotate(0deg);
}
}
.glass:hover>.absolute>img {
animation: flipRight 0.5s forwards;
animation-delay: 0s;
}
.glass_enabled {
background: rgba(30, 240, 135, 0.2);
border-color: rgba(51, 234, 127, 0.7);
box-shadow: 0 6px 12px rgba(30, 240, 135, 0.3);
}
.gauge {
width: 64px;
height: 64px;
background: conic-gradient(#a758f1 0deg, #7f0bfa var(--value), #4b5563 0);
box-shadow: 0 6px 12px rgba(147, 51, 234, 0.3);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.gauge::before {
content: '';
width: 48px;
height: 48px;
background: rgba(31, 41, 55, 0.9);
border-radius: 50%;
position: absolute;
}
.gauge span {
color: #d8b4fe;
font-size: 13px;
font-weight: bold;
z-index: 1;
}
.clock,
.number {
font-size: 3rem;
color: #d8b4fe;
font-weight: bold;
}
input[type="range"] {
accent-color: #9333ea;
box-shadow: 0 6px 12px rgba(147, 51, 234, 0.3);
}
.tile-content {
min-height: 12rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 1rem;
}
.gauge-tile-content {
justify-content: flex-start;
align-items: flex-start;
}