mirror of
https://github.com/mue/mue.git
synced 2026-07-04 05:32:15 +02:00
- Introduced new SuggestedPacks component to display trending quote and photo packs. - Implemented useSuggestedPacks hook for fetching and caching suggested packs from the marketplace. - Updated localization files for multiple languages to include new strings for suggested packs. - Added explore all button to navigate to the marketplace category page.
313 lines
4.9 KiB
SCSS
313 lines
4.9 KiB
SCSS
@use 'scss/variables' as *;
|
|
|
|
.modalTabContent {
|
|
width: 100% !important;
|
|
|
|
/* button {
|
|
@include modal-button(standard);
|
|
} */
|
|
|
|
padding: 1rem 2rem 5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
// height: 100%;
|
|
overflow-y: auto;
|
|
margin-bottom: 0;
|
|
padding-bottom: 2rem;
|
|
|
|
@include themed {
|
|
background: t($modal-background);
|
|
border-radius: t($borderRadius);
|
|
}
|
|
|
|
@extend %tabText;
|
|
|
|
hr {
|
|
width: 100%;
|
|
background: rgb(196 196 196 / 74%);
|
|
outline: none;
|
|
}
|
|
|
|
.settingsRow {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
transition: 0.4s ease-in-out;
|
|
padding-top: 2rem;
|
|
padding-bottom: 2rem;
|
|
|
|
@include themed {
|
|
border-bottom: 1px solid t($modal-border);
|
|
}
|
|
|
|
&.settingsNoBorder {
|
|
border-bottom: none;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-flow: column;
|
|
max-width: 50%;
|
|
gap: 5px;
|
|
}
|
|
|
|
.action {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: flex-end;
|
|
width: 300px;
|
|
gap: 10px;
|
|
|
|
button {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.link {
|
|
margin-top: 10px;
|
|
display: flex;
|
|
flex-flow: row;
|
|
gap: 15px;
|
|
align-items: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.resetDataButtonsLayout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
|
|
:nth-child(1) {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
button {
|
|
@include modal-button(standard);
|
|
|
|
padding: 5px 10px;
|
|
}
|
|
}
|
|
|
|
table {
|
|
border-collapse: separate;
|
|
border-radius: 10px;
|
|
margin-top: 20px;
|
|
|
|
@include themed {
|
|
box-shadow: 0 0 0 1px t($modal-sidebarActive);
|
|
padding: 0;
|
|
border: 0;
|
|
outline: none;
|
|
}
|
|
|
|
tr:first-child {
|
|
@include themed {
|
|
border-radius: t($borderRadius);
|
|
color: t($subColor);
|
|
}
|
|
|
|
letter-spacing: 2px;
|
|
|
|
th {
|
|
padding: 20px;
|
|
}
|
|
}
|
|
|
|
td {
|
|
padding: 15px;
|
|
}
|
|
|
|
tr {
|
|
th:last-child {
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
}
|
|
|
|
::placeholder {
|
|
@include themed {
|
|
color: t($subColor);
|
|
}
|
|
}
|
|
|
|
tr:not(:first-child) {
|
|
@include themed {
|
|
background: t($modal-secondaryColour);
|
|
}
|
|
|
|
textarea {
|
|
width: 90%;
|
|
margin: 10px;
|
|
|
|
@include themed {
|
|
color: t($color);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.donateButton {
|
|
@include modal-button(standard);
|
|
|
|
flex-flow: row !important;
|
|
text-decoration: none;
|
|
height: auto !important;
|
|
|
|
svg {
|
|
font-size: 1.5rem !important;
|
|
}
|
|
}
|
|
|
|
.flexGrow {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.messageMap {
|
|
display: flex;
|
|
flex-flow: row;
|
|
align-items: center;
|
|
gap: 25px;
|
|
padding: 25px;
|
|
justify-content: space-between;
|
|
cursor: default !important;
|
|
user-select: auto;
|
|
|
|
&:active {
|
|
cursor: default !important;
|
|
}
|
|
|
|
@include themed {
|
|
background: t($modal-sidebar);
|
|
border-radius: t($borderRadius);
|
|
box-shadow: 0 0 0 1px t($modal-sidebarActive);
|
|
}
|
|
|
|
div:nth-child(1) {
|
|
display: flex;
|
|
flex-flow: row;
|
|
gap: 25px;
|
|
align-items: center;
|
|
}
|
|
|
|
.icon {
|
|
@include themed {
|
|
background-image: t($slightGradient);
|
|
box-shadow: t($boxShadow);
|
|
}
|
|
|
|
padding: 15px;
|
|
border-radius: 100%;
|
|
font-size: 25px;
|
|
}
|
|
|
|
.messageText {
|
|
display: flex;
|
|
flex-flow: column;
|
|
flex-grow: 3;
|
|
|
|
textarea {
|
|
@include themed {
|
|
color: t($color);
|
|
}
|
|
}
|
|
|
|
input[type='text'] {
|
|
height: 56px;
|
|
padding: 0 16px;
|
|
font-size: 16px;
|
|
outline: none;
|
|
transition: 0.2s ease;
|
|
|
|
@include themed {
|
|
background: t($modal-sidebar);
|
|
border: 1px solid t($modal-sidebarActive);
|
|
border-radius: t($borderRadius);
|
|
color: t($color);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
border-color: t($color);
|
|
}
|
|
|
|
&::placeholder {
|
|
color: t($subColor);
|
|
}
|
|
}
|
|
}
|
|
|
|
.subtitle {
|
|
@include themed {
|
|
color: t($subColor);
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.messageAction {
|
|
[dir='ltr'] & {
|
|
float: right;
|
|
}
|
|
|
|
[dir='rtl'] & {
|
|
float: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
.messagesContainer {
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 25px;
|
|
}
|
|
|
|
.eventDateSelection {
|
|
display: flex !important;
|
|
flex-flow: row !important;
|
|
gap: 5px !important;
|
|
text-align: center !important;
|
|
|
|
@include themed {
|
|
background: t($modal-sidebar);
|
|
box-shadow: t($boxShadow);
|
|
color: t($color) !important;
|
|
}
|
|
|
|
hr {
|
|
height: 100%;
|
|
margin-inline-end: 5px;
|
|
|
|
@include themed {
|
|
border-color: t($modal-secondaryColour);
|
|
}
|
|
}
|
|
|
|
border-radius: 12px;
|
|
height: 40px;
|
|
font-size: 1rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: 0.5s;
|
|
cursor: pointer;
|
|
border: 0;
|
|
padding-inline: 10px 5px;
|
|
|
|
input[type='tel'],
|
|
input[type='number'] {
|
|
background: none;
|
|
outline: none;
|
|
border: none;
|
|
max-width: 20px;
|
|
text-align: center;
|
|
|
|
@include themed {
|
|
color: t($color) !important;
|
|
}
|
|
}
|
|
}
|