open-vault/ui/app/styles/components/ui-wizard.scss

175 lines
2.8 KiB
SCSS
Raw Normal View History

2018-08-28 05:03:55 +00:00
.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;
2018-08-28 05:03:55 +00:00
}
.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;
2018-08-28 05:03:55 +00:00
}
.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;
2018-08-30 02:40:32 +00:00
padding: $size-8 $size-4 $size-8 2rem;
margin: $size-4 0;
2018-08-28 05:03:55 +00:00
position: relative;
@include until($tablet) {
margin-top: 0;
padding-top: 0;
}
2018-08-30 02:40:32 +00:00
.title .icon {
left: 0;
position: absolute;
top: 0.7rem;
2018-08-28 05:03:55 +00:00
}
}
.wizard-dismiss-menu {
position: absolute;
right: 0;
2018-08-30 02:40:32 +00:00
top: -$size-11;
2018-08-28 05:03:55 +00:00
z-index: 10;
}
.ui-wizard.collapsed {
animation: drop-fade-above $speed-slow;
2018-08-28 05:03:55 +00:00
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;
2018-08-30 02:40:32 +00:00
.icon {
top: -0.1rem;
}
2018-08-28 05:03:55 +00:00
}
.wizard-header {
margin: 0 0 $size-10;
padding-top: 0;
2018-08-28 05:03:55 +00:00
}
2018-08-30 02:40:32 +00:00
.wizard-dismiss-menu {
svg {
color: $white;
}
&:hover svg {
color: $black;
}
}
2018-08-28 05:03:55 +00:00
}
.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;
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;
}