strong-arc
Version:
A visual suite for the StrongLoop API Platform
104 lines (84 loc) • 1.72 kB
text/less
.sl-profiler {
display: flex;
flex-direction: column;
.sl-profiler-settings-btn {
width: 25rem;
}
.sl-profiler-navbar {
padding: 1rem 2rem;
height: 13rem;
}
.profiler-body {
display: flex;
flex-direction: row;
overflow: hidden;
height: ~"calc(100vh - 20.5rem)";
.profiler-sidebar {
width: 20rem;
overflow: auto;
background: #656565 /* matches the devtool bg */;
color: @white;
padding: 1rem;
.profiler-profile {
width: 100%;
background: none;
border: none;
text-align: left;
margin-bottom: 1.0rem;
padding-left: 2.0rem;
.controls {
display: none;
float: right;
button {
border: none;
background: transparent;
}
}
&.selected {
background: #5f8de1;
}
&.selected .controls {
display: block;
}
span.sl-icon {
float: left;
margin-left: -2.0rem;
}
span.profile-id {
}
span.profile-date {
font-size: 8pt;
display: block;
}
span.profile-status {
font-size: 10pt;
}
button.profile-delete {
float: right;
}
}
}
.profiler-devtools-container {
flex-grow: 1;
overflow: hidden;
iframe {
height: 100%;
width: 100%;
}
}
}
.sl-toggler {
margin: .5rem 0;
.sl-toggler-label {
color: @gray-light;
display: inline-block;
position: relative;
margin-right: 1rem;
}
}
iframe {
&.disabled {
opacity: .3;
}
}
}