mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
113 lines
1.7 KiB
CSS
113 lines
1.7 KiB
CSS
.container {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
display: grid;
|
|
grid-template-rows: repeat(3, minmax(0, 1fr));
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: var(--theme-spacing-sm);
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.container.compact {
|
|
opacity: 0;
|
|
transform: scale(0.8);
|
|
transition:
|
|
opacity 0.2s ease-in-out,
|
|
transform 0.2s ease-in-out;
|
|
}
|
|
|
|
.container.visible.compact {
|
|
opacity: 1;
|
|
transform: scale(1);
|
|
}
|
|
|
|
.top-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.secondary-controls {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
gap: var(--theme-spacing-xs);
|
|
justify-content: flex-end;
|
|
width: 100%;
|
|
height: 15%;
|
|
margin-right: var(--theme-spacing-sm);
|
|
margin-bottom: var(--theme-spacing-lg);
|
|
}
|
|
|
|
.primary {
|
|
left: 50%;
|
|
width: 25%;
|
|
height: 25%;
|
|
|
|
svg {
|
|
fill: rgb(0 0 0);
|
|
}
|
|
}
|
|
|
|
.secondary {
|
|
width: 15%;
|
|
height: 15%;
|
|
}
|
|
|
|
.left {
|
|
left: 25%;
|
|
}
|
|
|
|
.right {
|
|
left: 75%;
|
|
}
|
|
|
|
.secondary-button {
|
|
all: unset;
|
|
position: absolute;
|
|
padding: var(--theme-spacing-md);
|
|
border-radius: var(--theme-radius-md);
|
|
opacity: 1;
|
|
transition: opacity 0.2s ease-in-out;
|
|
transition: scale 0.2s linear;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
&:active {
|
|
opacity: 1;
|
|
transform: scale(0.9);
|
|
}
|
|
}
|
|
|
|
.user-data {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.rating {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding: var(--theme-spacing-md);
|
|
}
|
|
|
|
.secondary-button.options {
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.secondary-button.expand {
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|