glass-app-manager
Version:
Informatica's Glass Framework CLI for bootstrapping
81 lines (67 loc) • 1.83 kB
text/stylus
@require '../../../node_modules/@informatica/archipelago-icons/dist/archipelago_icons.css';
.section {
display: flex;
flex-direction: column;
.section {
margin-bottom: 20px;
}
&--collapsed {
.section__header {
margin-bottom: 0;
}
}
&__header {
min-height: 40px;
display: flex;
align-items: center;
border-bottom: 1px solid black;
font-size: 15px;
font-weight: 400;
white-space: nowrap;
overflow: hidden;
line-height: 1;
&--horizontal {
width: 40px;
.section__header {
transform: translate(20px, 10px) rotate(90deg);
transform-origin: left top;
position: absolute;
}
}
&__toggle-expansion-icon {
@extend .aicon;
&:before {
@extend .aicon__expand-collapse:before;
}
cursor: pointer;
transform: rotate(270deg);
font-size: 11px;
position: relative;
left: 3px;
margin-right: 8px;
top: -3px;
outline: none ;
&--expanded {
top: -1px;
left: 0;
transform: rotate(0deg);
}
}
&__container {
display: flex;
flex-direction: row;
align-items: baseline;
width: 100%;
> .toolbar, > .button-group {
margin-left: auto;
}
}
}
&__content {
padding-top: 20px;
overflow-y: auto;
&--collapsed {
display: none;
}
}
}