Skip to content

Instantly share code, notes, and snippets.

@tcd
Created July 8, 2022 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcd/92918962c8a62567b23f287cf5326deb to your computer and use it in GitHub Desktop.
Save tcd/92918962c8a62567b23f287cf5326deb to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
@use "sass:selector";
.er__weaponDetail {
$weapon-detail-weapon-image-size: 155px;
.er__weaponDetail__imageColumn {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-end;
justify-content: end;
height: 50%;
}
.er__weaponDetail__imageWrapper {
width: $weapon-detail-weapon-image-size;
height: $weapon-detail-weapon-image-size;
padding: 5px;
@at-root ".{&}--empty" {
width: $weapon-detail-weapon-image-size;
height: $weapon-detail-weapon-image-size;
div:before {
content: "";
display: block;
}
}
}
}
.er__weaponDetail .er__weaponDetail__imageColumn {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: flex-end;
justify-content: end;
height: 50%;
}
.er__weaponDetail .er__weaponDetail__imageWrapper {
width: 155px;
height: 155px;
padding: 5px;
}
.er__weaponDetail .er__weaponDetail__imageWrapper.empty {
width: 155px;
height: 155px;
}
.er__weaponDetail .er__weaponDetail__imageWrapper.empty div:before {
content: "";
display: block;
}
{
"sass": {
"compiler": "dart-sass/1.32.12",
"extensions": {},
"syntax": "SCSS",
"outputStyle": "expanded"
},
"autoprefixer": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment