Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ui/app/styles/components/box-radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
line-height: 1;
margin: $size-6 $size-3 $size-6 0;
font-size: 12px;
transition: box-shadow ease-in-out 250ms;
transition: box-shadow ease-in-out $speed;
will-change: box-shadow;

&.is-selected {
box-shadow: $box-shadow, $box-shadow-high;
box-shadow: 0 0 0 1px $grey-light, $box-shadow-middle;
}

input[type=radio].radio {
Expand Down
18 changes: 17 additions & 1 deletion ui/app/styles/components/features-selection.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,37 @@
font-weight: $font-weight-semibold;
color: $grey;
}

.feature-box {
box-shadow: $box-shadow;
border-radius: $radius;
padding: $size-8;
margin: $size-8 0;

&.is-active {
box-shadow: 0 0 0 1px $grey-light;
}
}

.feature-box label {
font-weight: $font-weight-semibold;
padding-left: $size-10;

&::before {
top: 3px;
}

&::after {
top: 5px;
}
}

.feature-steps {
font-size: 12px;
font-size: $size-8;
color: $grey;
line-height: 1.5;
margin-left: $size-3;
margin-top: $size-10;

li::before {
// bullet
Expand Down
45 changes: 34 additions & 11 deletions ui/app/styles/components/ui-wizard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
flex-direction: column;
flex-grow: 1;
}

.ui-wizard-container .app-content.wizard-open {
padding-right: 324px;

Expand All @@ -19,18 +20,23 @@

.ui-wizard {
z-index: 300;
padding: $size-5 $size-5 $size-11;
padding: $size-5;
width: 300px;
background: $white;
box-shadow: $box-shadow, $box-shadow-highest;
position: fixed;
right: $size-6;
bottom: $size-6;
top: calc(4.5 * #{$size-6});
right: $size-8;
bottom: $size-8;
top: calc(3.5rem + #{$size-8});
overflow: auto;

@include until($tablet) {
display: none;
box-shadow: $box-shadow, 0 0 20px rgba($black, 0.24);
bottom: 0;
left: 0;
right: 0;
top: 50%;
width: auto;
}

.doc-link {
Expand All @@ -42,6 +48,11 @@
.wizard-header {
margin-bottom: $size-5;
position: relative;

.icon {
margin-right: $size-11;
vertical-align: -0.33rem;
}
}

.wizard-dismiss-menu {
Expand All @@ -52,18 +63,30 @@
}

.ui-wizard.collapsed {
position: fixed;
top: 4rem;
right: 2rem;
color: $white;
background: $black;
bottom: auto;
box-shadow: $box-shadow-middle;
height: auto;
min-height: 0;
background: $black;
color: $white;
box-shadow: $box-shadow-middle;
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;
}

.wizard-header {
margin: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion ui/app/templates/components/wizard/features-selection.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<form id="features-form" class="feature-selection" {{action "saveFeatures" on="submit"}}>
{{#each allFeatures as |feature|}}
{{#if feature.show}}
<div class="feature-box">
<div class="feature-box {{if feature.selected 'is-active'}}">
<div class="b-checkbox">
<input
id="feature-{{feature.key}}"
Expand Down