open-vault/ui/app/styles/components/ui-wizard.scss
Matthew Irish d509588cd2
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00

176 lines
2.8 KiB
SCSS

.ui-wizard-container {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.ui-wizard-container .app-content {
display: flex;
flex-direction: column;
flex-grow: 1;
transition: padding $speed;
will-change: padding;
}
.ui-wizard-container .app-content.wizard-open {
padding-right: 324px;
@include until($tablet) {
padding-right: 0;
padding-bottom: 50vh;
}
}
.ui-wizard {
z-index: 300;
padding: $size-5;
width: 300px;
background: $white;
box-shadow: $box-shadow, $box-shadow-highest;
position: fixed;
right: $size-8;
bottom: $size-8;
top: calc(3.5rem + #{$size-8});
overflow: auto;
p {
line-height: 1.33;
}
.dismiss-collapsed {
position: absolute;
top: $size-8;
right: $size-8;
color: $grey;
z-index: 30;
}
@include until($tablet) {
box-shadow: $box-shadow, 0 0 20px rgba($black, 0.24);
bottom: 0;
left: 0;
right: 0;
top: 50%;
width: auto;
}
.doc-link {
margin-top: $size-5;
display: block;
}
pre code {
background: $ui-gray-050;
margin: $size-8 0;
}
}
.wizard-header {
border-bottom: $light-border;
padding: $size-8 $size-4 $size-8 2rem;
margin: $size-4 0;
position: relative;
@include until($tablet) {
margin-top: 0;
padding-top: 0;
}
.title .icon {
left: 0;
position: absolute;
top: 0.7rem;
}
}
.wizard-dismiss-menu {
position: absolute;
right: 0;
top: -$size-11;
z-index: 10;
}
.ui-wizard.collapsed {
animation: drop-fade-above $speed-slow;
color: $white;
background: $black;
bottom: auto;
box-shadow: $box-shadow-middle;
height: auto;
min-height: 0;
padding-bottom: $size-11;
position: fixed;
right: $size-8;
top: calc(3.5rem + #{$size-8});
@include until($tablet) {
box-shadow: $box-shadow, 0 0 20px rgba($black, 0.24);
bottom: 0;
left: 0;
right: 0;
top: auto;
width: auto;
}
.title {
color: $white;
.icon {
top: -0.1rem;
}
}
.wizard-header {
margin: 0 0 $size-10;
padding-top: 0;
}
.wizard-dismiss-menu {
svg {
color: $white;
}
&:hover svg {
color: $black;
}
}
}
.wizard-divider-box {
background: none;
box-shadow: none;
margin: $size-8 0 0;
padding: 0 $size-8;
border-top: solid 1px $white;
border-image: $dark-vault-gradient 1;
border-width: 1px 0 0;
button {
font-size: $size-7;
font-weight: $font-weight-semibold;
}
}
.wizard-section .title .icon {
height: auto;
margin-right: $size-11;
width: auto;
}
.wizard-section:last-of-type {
margin-bottom: $size-5;
}
.wizard-section button:not(:last-of-type) {
margin-bottom: $size-10;
}
.wizard-details {
padding-top: $size-4;
margin-top: $size-4;
border-top: 1px solid $grey-light;
}
.wizard-instructions {
margin: $size-4 0;
}