Benedict Aas 32bc615e78
feat(GUI): display succeeded and failed devices on finish screen (#2206)
We display the quantity of succeeded and failed devices using status
dots on the finish screen.

Change-Type: patch
Changelog-Entry: Display succeeded and failed device quantities on the
finish screen.
2018-04-17 15:52:02 +01:00

169 lines
3.2 KiB
SCSS

/*
* Copyright 2016 resin.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
.page-main {
margin-top: 50px;
}
svg-icon > img[disabled] {
opacity: $disabled-opacity;
}
.page-main .step-selection-text {
display: flex;
flex-wrap: wrap;
justify-content: center;
color: $palette-theme-dark-foreground;
}
.page-main .text-disabled > span {
color: $palette-theme-dark-disabled-foreground;
}
.page-main .relative {
position: relative;
}
.page-main .button-brick {
min-width: $btn-min-width;
}
%step-border {
height: 2px;
background-color: $palette-theme-dark-foreground;
position: absolute;
width: 124px;
top: 19px;
&[disabled] {
background-color: $palette-theme-dark-disabled-foreground;
}
}
.page-main .step-border-left {
@extend %step-border;
left: -67px;
}
.page-main .step-border-right {
@extend %step-border;
right: -67px;
}
.page-main .step-tooltip {
display: block;
margin: -5px auto -20px;
color: $palette-theme-dark-disabled-foreground;
font-size: 10px;
}
.page-main .step-footer {
margin-top: 10px;
color: $palette-theme-dark-disabled-foreground;
font-size: 10px;
}
.page-main .step-footer-split {
position: absolute;
top: 39px;
left: 28px;
margin-left: auto;
margin-right: auto;
display: flex;
justify-content: space-between;
width: $btn-min-width;
}
.page-main .step-footer-underline {
border-bottom: 1px dotted;
padding-bottom: 2px;
}
.page-main .button.step-footer {
font-size: 12px;
color: $palette-theme-primary-background;
border-radius: 0;
padding: 0;
}
.page-main .step-drive.glyphicon {
margin-top: 1px;
}
.page-main .glyphicon {
vertical-align: text-top;
}
.page-main .step-name {
width: 100%;
margin-right: 4.5px;
font-weight: bold;
color: $palette-theme-primary-foreground;
}
.page-main .step-size {
margin-right: 4.5px;
color: $palette-theme-dark-disabled-foreground;
}
.target-status-wrap {
display: flex;
position: absolute;
top: 62px;
flex-direction: column;
margin: 8px 28px;
align-items: flex-start;
}
.target-status-line {
display: flex;
align-items: baseline;
font-size: 11px;
font-family: inherit;
> .target-status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 6px;
}
&.target-status-succeeded > .target-status-dot {
background-color: $palette-theme-success-background;
}
&.target-status-failed > .target-status-dot {
background-color: $palette-theme-danger-background;
}
> .target-status-quantity {
color: white;
font-weight: bold;
}
> .target-status-message {
color: gray;
margin-left: 6px;
}
}
.tooltip-inner {
white-space: pre-line;
}
.space-vertical-large {
position: relative;
}