docs/styles/right-panel.less

142 lines
2.7 KiB
Plaintext

.details {
background-color: @color-background;
margin: 0;
padding: 0;
box-sizing: border-box;
flex: 1;
display: flex;
flex-direction: column;
.details-subheader {
flex: 0 auto;
display: flex;
flex-direction: row;
position: relative;
border-bottom: 1px solid @color-divider;
background-color: white;
height: 57px;
padding: 6px 10px 10px 24px;
font-size: 13px;
color: @gray-normal;
.details-header-actions {
flex: 1 auto;
text-align: left;
margin-top: -12px;
.action {
display: inline-block;
position: relative;
img {
width: 42px;
height: 42px;
}
&.disabled {
opacity: 0.3;
}
.action-icon {
color: @gray-normal;
margin-right: 15px;
}
.btn-label {
position: absolute;
color: @brand-action;
font-size: 9px;
width: 200px;
top: 45px;
&.view {
left: 7px;
}
&.restart {
left: 2px;
}
&.stop {
left: 7px;
}
&.start {
left: 7px;
}
&.terminal {
left: -1px;
}
visibility: hidden;
}
}
}
.details-subheader-tabs {
flex: 1 auto;
text-align: right;
margin-right: 3px;
margin-top: 3px;
}
}
.details-header {
flex: 0 auto;
display: flex;
flex-direction: row;
padding: 18px 24px 24px 24px;
position: relative;
background-color: white;
h1 {
margin: 0;
font-size: 20px;
font-weight: 400;
margin: 0;
color: @gray-darkest;
}
.status {
font-size: 10px;
font-weight: 500;
position: relative;
top: 8px;
left: 14px;
&.running {
color: @brand-positive;
}
&.paused {
color: @gray-lighter;
}
&.stopped {
color: @gray-lighter;
}
&.downloading {
color: @brand-action;
}
}
}
.tab {
margin-left: 16px;
padding: 6px 10px;
font-weight: 400;
display: inline-block;
&.active {
border-radius: 40px;
color: white;
.brand-gradient();
}
&.disabled {
opacity: 0.5;
&:hover {
border-radius: 40px;
background-color: transparent;
}
}
}
.details-progress {
flex: 1 auto;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-top: -70px;
h2 {
margin-bottom: 20px;
text-align: center;
}
}
.details-panel {
flex: 1;
overflow: auto;
background-color: white;
}
}