mirror of
https://github.com/exogen/t2-model-skinner.git
synced 2026-01-19 19:24:44 +00:00
194 lines
3 KiB
CSS
194 lines
3 KiB
CSS
.GalleryPage {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.Tools {
|
|
position: sticky;
|
|
top: 0;
|
|
flex: 0 0 auto;
|
|
padding: 10px;
|
|
text-align: center;
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
z-index: 2;
|
|
}
|
|
|
|
.Tools select:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5), 0 0 2px 3px rgb(152, 255, 212);
|
|
}
|
|
|
|
.HeaderEnd {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.DownloadSection {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.PackVersion {
|
|
font-size: 11px;
|
|
color: rgba(127, 180, 166, 0.6);
|
|
}
|
|
|
|
.DownloadButton {
|
|
display: inline-block;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
padding: 4px 8px 5px 8px;
|
|
background: rgb(14, 114, 98),
|
|
linear-gradient(to bottom, rgb(67, 167, 130), rgb(15, 89, 87));
|
|
color: rgb(247, 255, 220);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.03em;
|
|
text-decoration: none;
|
|
text-shadow: 0 -1px 0 rgba(25, 39, 34, 0.4);
|
|
margin-left: 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.DownloadButton:active {
|
|
transform: translate3d(0, 1px, 0);
|
|
}
|
|
|
|
.Back {
|
|
justify-self: start;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.IconLink {
|
|
margin-left: auto;
|
|
justify-self: end;
|
|
display: grid;
|
|
place-content: center;
|
|
color: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.IconLink:hover {
|
|
color: rgba(255, 255, 255, 1);
|
|
}
|
|
|
|
.Gallery {
|
|
flex: 0 0 auto;
|
|
display: grid;
|
|
width: 100%;
|
|
background: rgb(12, 31, 40);
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
}
|
|
|
|
.Skin {
|
|
position: relative;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
overflow: hidden;
|
|
padding-bottom: 32px;
|
|
}
|
|
|
|
.Preview {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.Detail {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 6px;
|
|
right: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
border-radius: 6px;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
padding: 5px 9px;
|
|
box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.LoadInEditor,
|
|
.DownloadSkin {
|
|
display: grid;
|
|
place-content: center;
|
|
font-size: 24px;
|
|
color: rgb(40, 217, 178);
|
|
visibility: hidden;
|
|
}
|
|
|
|
.DownloadSkin {
|
|
border: 0;
|
|
background: transparent;
|
|
font-size: 17px;
|
|
margin: 0;
|
|
padding: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.Detail:hover .LoadInEditor,
|
|
.Detail:hover .DownloadSkin {
|
|
visibility: visible;
|
|
}
|
|
|
|
.Name {
|
|
padding: 3px 10px;
|
|
border-radius: 9999px;
|
|
white-space: nowrap;
|
|
color: rgba(158, 192, 209, 0.9);
|
|
}
|
|
|
|
.Detail:hover .Name {
|
|
color: #fff;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.Spinner {
|
|
flex: 0 0 auto;
|
|
margin: auto;
|
|
font-size: 64px;
|
|
animation: spin 2s linear infinite;
|
|
}
|
|
|
|
.DownloadSpinner {
|
|
flex: 0 0 auto;
|
|
margin: auto;
|
|
font-size: 20px;
|
|
animation: spin 2s linear infinite;
|
|
}
|
|
|
|
@media (max-width: 479px) {
|
|
.Back .Label {
|
|
display: none;
|
|
}
|
|
|
|
.DownloadButton {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 719px) {
|
|
.PackVersion {
|
|
display: none;
|
|
}
|
|
}
|