open-nomad/ui/app/styles/components/two-step-button.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
906 B
SCSS
Raw Normal View History

.two-step-button {
2018-07-03 22:24:26 +00:00
display: inline-block;
vertical-align: middle;
position: relative;
2018-07-03 22:24:26 +00:00
font-size: $body-size;
line-height: 1;
&.has-inline-text {
display: inline-flex;
align-items: center;
button {
margin-left: 0.5ch;
}
.confirmation-text {
position: absolute;
left: auto;
right: 0;
top: auto;
margin-right: 100%;
}
}
&.has-fading-background .confirmation-text {
padding: 0.5rem 0 0.5rem 4rem;
background: linear-gradient(to left, white, white 90%, transparent 100%);
}
.confirmation-text {
position: absolute;
left: 0;
2018-07-03 22:24:26 +00:00
top: -1.5em;
font-size: $body-size;
2018-07-03 22:24:26 +00:00
line-height: 1;
font-weight: $weight-normal;
color: darken($grey-blue, 20%);
white-space: nowrap;
2019-11-19 08:10:46 +00:00
&.is-right-aligned {
left: auto;
right: 0;
}
&.inherit-color {
color: currentColor;
}
}
}