mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-29 05:41:03 +00:00
88 lines
1.7 KiB
SCSS
88 lines
1.7 KiB
SCSS
@use "../../../scss/globals.scss";
|
|
|
|
.all-badges-modal {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: globals.$spacing-unit;
|
|
max-height: 400px;
|
|
margin-top: calc(globals.$spacing-unit * -1);
|
|
|
|
&__title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: globals.$spacing-unit;
|
|
}
|
|
|
|
&__count {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
min-width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
&__list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(globals.$spacing-unit * 2);
|
|
overflow-y: auto;
|
|
padding-right: globals.$spacing-unit;
|
|
}
|
|
|
|
&__item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: calc(globals.$spacing-unit * 2);
|
|
padding: calc(globals.$spacing-unit * 1.5);
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
border-radius: 8px;
|
|
transition: background-color ease 0.2s;
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
}
|
|
|
|
&__item-icon {
|
|
flex-shrink: 0;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: globals.$background-color;
|
|
|
|
img {
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
&__item-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: calc(globals.$spacing-unit * 0.5);
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
&__item-title {
|
|
font-size: globals.$body-font-size;
|
|
font-weight: 600;
|
|
color: globals.$body-color;
|
|
margin: 0;
|
|
}
|
|
|
|
&__item-description {
|
|
font-size: 0.75rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin: 0;
|
|
}
|
|
}
|