mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
62 lines
1.0 KiB
SCSS
62 lines
1.0 KiB
SCSS
@import 'variables';
|
|
@import 'mixins';
|
|
|
|
.web3 {
|
|
@include divider;
|
|
|
|
width: 100%;
|
|
text-align: center;
|
|
margin-top: $spacer / 2;
|
|
margin-bottom: $spacer;
|
|
padding-bottom: $spacer * 1.5;
|
|
|
|
small {
|
|
color: darken($alert-info, 60%);
|
|
margin-top: -($spacer / 2);
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.web3Row {
|
|
min-height: 77px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
&:empty {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.message {
|
|
font-size: $font-size-small;
|
|
position: relative;
|
|
|
|
&::after {
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
animation: ellipsis steps(4, end) 1s infinite;
|
|
content: '\2026'; // ascii code for the ellipsis character
|
|
width: 0;
|
|
position: absolute;
|
|
left: 100%;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
.success {
|
|
composes: message;
|
|
color: green;
|
|
|
|
&::after {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@keyframes ellipsis {
|
|
to {
|
|
width: .75rem;
|
|
}
|
|
}
|