mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 12:52:52 +00:00
b3a236637e
Port 74dae9458d
and related to glitch-soc
54 lines
1,012 B
SCSS
54 lines
1,012 B
SCSS
.regeneration-indicator {
|
|
text-align: center;
|
|
font-size: 16px;
|
|
font-weight: 500;
|
|
color: $dark-text-color;
|
|
background: $ui-base-color;
|
|
cursor: default;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
|
|
& > div {
|
|
width: 100%;
|
|
background: transparent;
|
|
padding-top: 0;
|
|
}
|
|
|
|
&__figure {
|
|
background: url('~flavours/glitch/images/elephant_ui_working.svg') no-repeat center 0;
|
|
width: 100%;
|
|
height: 160px;
|
|
background-size: contain;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
&.missing-indicator {
|
|
padding-top: 20px + 48px;
|
|
|
|
.regeneration-indicator__figure {
|
|
background-image: url('~flavours/glitch/images/elephant_ui_disappointed.svg');
|
|
}
|
|
}
|
|
|
|
&__label {
|
|
margin-top: 200px;
|
|
|
|
strong {
|
|
display: block;
|
|
margin-bottom: 10px;
|
|
color: $dark-text-color;
|
|
}
|
|
|
|
span {
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
}
|
|
}
|
|
}
|