tornado-initiation-ui/assets/styles/components/_step.scss

83 lines
1.2 KiB
SCSS
Raw Normal View History

2020-10-13 09:49:08 +02:00
.steps {
padding-top: 1.25rem;
}
2020-10-12 19:41:52 +02:00
.step {
margin: 1.25rem 0;
background: #1F1F1F;
border-radius: 6px;
padding: 1.25rem;
display: flex;
align-items: center;
overflow: hidden;
2020-10-28 03:34:10 +01:00
@include mobile {
flex-wrap: wrap;
}
2020-10-13 09:49:08 +02:00
&:first-child {
margin-top: 0;
}
2020-10-12 19:41:52 +02:00
.diamond {
margin-right: 1.25rem;
2020-10-28 03:34:10 +01:00
@include mobile {
align-self: flex-start;
}
2020-10-12 19:41:52 +02:00
}
&-body {
flex-grow: 1;
2020-10-28 03:34:10 +01:00
@include mobile {
width: calc(100% - 60px - 1.25rem);
}
2020-10-12 19:41:52 +02:00
h4 {
font-weight: 700;
2020-10-28 03:34:10 +01:00
@include until(576px) {
font-size: 0.9rem;
}
2020-10-12 19:41:52 +02:00
}
.deployed {
font-size: 0.813rem;
color: #6B6B6B;
margin-top: .25rem;
2020-10-28 03:34:10 +01:00
text-overflow: ellipsis;
overflow: hidden;
2020-10-12 19:41:52 +02:00
}
}
&-tail {
background-color: #191919;
align-self: stretch;
margin: -1.25rem;
display: flex;
justify-content: center;
align-items: center;
padding: 1.25rem;
width: 148px;
2020-10-28 03:34:10 +01:00
@include mobile {
margin-top: 1.25rem;
flex-basis: 100%;
flex-grow: 1;
}
2020-10-12 19:41:52 +02:00
.completed {
display: flex;
align-items: center;
font-size: $size-normal;
color: $primary;
font-weight: 700;
.icon {
margin-right: 0.5em;
}
}
}
}