trusted-setup-server/assets/styles/components/_ceremony.scss

164 lines
2.3 KiB
SCSS
Raw Normal View History

2020-02-16 13:33:51 +01:00
.ceremony {
text-align: center;
.title {
color: $white;
span {
color: $primary;
}
}
.p {
font-size: .857rem;
max-width: 66.6666%;
margin: 0 auto;
&:not(:last-child) {
margin-bottom: $block-spacing;
}
a {
color: $primary;
&:hover {
text-decoration: underline;
}
}
}
.columns:not(:last-child) {
margin-bottom: calc(2.5rem - 0.75rem);
}
.box {
height: 100%;
display: flex;
flex-direction: column;
align-items: stretch;
&:hover, &.is-hovered {
color: $primary;
border-color: #94febf;
.title {
color: $primary;
}
.cloak {
path {
transition: stroke .15s ease-in-out;
stroke: $primary;
}
}
}
&:focus {
outline: none;
}
.cloak {
align-self: center;
}
.form {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
}
&-anonymous {
width: 100%;
cursor: pointer;
}
}
fieldset[disabled] {
.box {
background-color: $primary-invert;
border-color: #393939;
cursor: inherit;
2020-02-16 13:33:51 +01:00
.title {
color: $white;
}
.cloak {
path {
stroke: #393939;
}
}
}
}
.field {
.label {
text-align: left;
}
.help {
text-align: left;
position: absolute;
&.counter {
right: 0;
}
}
&:not(:last-child) {
margin-bottom: 1.5rem;
}
&.is-horizontal {
display: flex;
align-items: center;
@include mobile {
justify-content: center;
}
.field-label.is-normal {
padding-top: 0;
margin-right: 1.5rem;
}
}
.control.has-icons-right {
.input {
padding-right: calc(#{$control-padding-horizontal} - 1px);
}
.icon.is-right {
display: none;
}
}
}
.currently {
font-size: .85rem;
span {
color: $primary;
font-size: 2.5rem;
font-weight: $weight-bold;
}
&:not(:last-child) {
margin-bottom: $block-spacing;
}
}
> .buttons {
&:not(:last-child) {
margin-bottom: 0;
}
.button {
margin-bottom: 2rem;
}
}
2020-02-16 13:33:51 +01:00
}