mirror of https://github.com/mue/mue.git
368 lines
6.4 KiB
SCSS
368 lines
6.4 KiB
SCSS
// this file is too long
|
|
@import 'modules/item';
|
|
@import 'modules/buttons';
|
|
@import 'modules/featured';
|
|
@import 'modules/lightbox';
|
|
@import 'scss/variables';
|
|
|
|
.items {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
margin-top: 15px;
|
|
|
|
.item {
|
|
position: relative;
|
|
border-radius: 12px;
|
|
height: 70px;
|
|
width: 260px;
|
|
padding: 10px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
transition: 0.5s;
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
box-shadow: 0 0 0 1px t($modal-sidebarActive);
|
|
&:hover {
|
|
background: t($modal-sidebarActive);
|
|
}
|
|
}
|
|
.tags {
|
|
margin-top: 7px;
|
|
}
|
|
img {
|
|
height: 80% !important;
|
|
width: auto !important;
|
|
border-radius: 12px;
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
}
|
|
padding: 5px;
|
|
}
|
|
|
|
.card-details {
|
|
display: flex;
|
|
flex-flow: column;
|
|
.card-title {
|
|
font-size: 18px;
|
|
}
|
|
.card-subtitle {
|
|
font-size: 12px;
|
|
@include themed() {
|
|
color: t($subColor);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.itemPage {
|
|
display: flex;
|
|
flex-flow: row;
|
|
justify-content: space-between;
|
|
.itemShowcase {
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 15px;
|
|
width: 50%;
|
|
.description {
|
|
max-lines: 3;
|
|
font-size: 16px;
|
|
}
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
}
|
|
.itemInfo {
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 15px;
|
|
width: 170px;
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
border-radius: 12px;
|
|
@include themed() {
|
|
box-shadow: 0 0 0 3px t($modal-sidebarActive);
|
|
}
|
|
}
|
|
.divider {
|
|
text-transform: uppercase;
|
|
@include themed() {
|
|
color: t($subColor);
|
|
}
|
|
}
|
|
.iconButtons {
|
|
display: flex;
|
|
flex-flow: row;
|
|
justify-content: space-between;
|
|
svg {
|
|
@include basicIconButton(11px, 1.3rem, modal);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.tags {
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
align-items: center;
|
|
}
|
|
.tag {
|
|
padding: 2px 10px 2px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
display: grid;
|
|
place-items: center;
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
box-shadow: 0 0 0 3px t($modal-sidebarActive);
|
|
span {
|
|
&:before {
|
|
content: '#';
|
|
color: t($subColor);
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
&:hover {
|
|
background: t($modal-sidebarActive);
|
|
}
|
|
}
|
|
}
|
|
|
|
.moreTag {
|
|
padding: 2px 10px 2px 10px;
|
|
border-radius: 12px;
|
|
font-size: 12px;
|
|
display: grid;
|
|
place-items: center;
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
box-shadow: 0 0 0 3px t($modal-sidebarActive);
|
|
span {
|
|
&:before {
|
|
content: '+';
|
|
color: t($subColor);
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
&:hover {
|
|
background: t($modal-sidebarActive);
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1920px) {
|
|
.items {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1680px) and (min-width: 1500px) {
|
|
.items {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1440px) {
|
|
.items {
|
|
grid-template-columns: repeat(1, 1fr);
|
|
}
|
|
}
|
|
|
|
.emptyItems {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.emptyMessage {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
gap: 15px;
|
|
min-width: 100px;
|
|
|
|
@include themed() {
|
|
padding: 45px;
|
|
border-radius: t($borderRadius);
|
|
background: t($modal-sidebar);
|
|
box-shadow: 0 0 0 4px t($modal-sidebarActive);
|
|
|
|
svg {
|
|
font-size: 50px;
|
|
color: t($subColor);
|
|
}
|
|
}
|
|
}
|
|
|
|
p.author {
|
|
margin-top: -5px;
|
|
}
|
|
|
|
#item > img,
|
|
.updateImage,
|
|
.updateChangelog > p > img {
|
|
border-radius: 12px;
|
|
height: 200px;
|
|
width: auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* sideload failed modal */
|
|
.sideloadModal {
|
|
min-width: 250px;
|
|
max-width: 250px;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
@media (max-height: 1080px) {
|
|
.dropdownsortAddons {
|
|
margin-top: 40px !important;
|
|
}
|
|
}
|
|
|
|
.returnButton {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 12px;
|
|
cursor: pointer;
|
|
margin-right: 25px;
|
|
svg {
|
|
font-size: 2em;
|
|
}
|
|
&:hover {
|
|
background: rgba(121, 121, 121, 0.226);
|
|
}
|
|
}
|
|
|
|
.flexTopMarketplace {
|
|
display: flex;
|
|
}
|
|
|
|
.itemWarning {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
box-shadow: 0 0 0 4px t($modal-sidebarActive);
|
|
border-radius: t($borderRadius);
|
|
padding: 15px;
|
|
}
|
|
.topRow {
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
}
|
|
.subtitle {
|
|
text-align: justify;
|
|
}
|
|
}
|
|
|
|
.truncate {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.filter {
|
|
display: flex;
|
|
flex-flow: row;
|
|
padding: 15px;
|
|
gap: 15px;
|
|
justify-content: space-between;
|
|
@include themed() {
|
|
background: t($modal-sidebar);
|
|
border-radius: t($borderRadius);
|
|
box-shadow: 0 0 0 4px t($modal-sidebarActive);
|
|
}
|
|
.tags {
|
|
max-width: 50%;
|
|
}
|
|
}
|
|
|
|
// reminder to remove this url
|
|
.collection {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 15px;
|
|
margin-top: 15px;
|
|
background-image: linear-gradient(to left, transparent, #000),
|
|
url('https://www.gonefullgeek.com/wp-content/uploads/2017/09/RDR2-Banner.jpg');
|
|
align-items: center;
|
|
|
|
@include themed() {
|
|
box-shadow: 0 0 0 4px t($modal-sidebarActive);
|
|
border-radius: t($borderRadius);
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 15px;
|
|
max-width: 250px;
|
|
|
|
.title {
|
|
color: #fff !important;
|
|
}
|
|
|
|
.subtitle {
|
|
color: #ccc !important;
|
|
}
|
|
}
|
|
|
|
.items {
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.smallBanner {
|
|
button {
|
|
padding: 0 15px 0 15px;
|
|
}
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 15px;
|
|
margin-top: 15px;
|
|
align-items: center;
|
|
|
|
@include themed() {
|
|
box-shadow: 0 0 0 4px t($modal-sidebarActive);
|
|
border-radius: t($borderRadius);
|
|
background: t($modal-sidebar);
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 15px;
|
|
max-width: 250px;
|
|
}
|
|
}
|
|
|
|
.inCollection {
|
|
background-image: linear-gradient(to left, transparent, #000),
|
|
url('https://www.gonefullgeek.com/wp-content/uploads/2017/09/RDR2-Banner.jpg');
|
|
display: flex;
|
|
flex-flow: column;
|
|
gap: 15px;
|
|
padding: 15px;
|
|
|
|
@include themed() {
|
|
box-shadow: 0 0 0 4px t($modal-sidebarActive);
|
|
border-radius: t($borderRadius);
|
|
}
|
|
}
|
|
|