glass-app-manager
Version:
Informatica's Glass Framework CLI for bootstrapping
178 lines (151 loc) • 4.61 kB
text/stylus
@import "../../base/components/shell.styl";
.shell {
background-color: color--grey--2;
grid-template-columns: 200px auto;
grid-template-rows: 50px auto;
transition: grid-template-columns 50ms ease-out;
&--collapsed {
grid-template-columns: 60px auto;
}
&__header {
background-color: black;
color: white;
height: 50px;
padding-left: 1.75rem;
padding-right: 0.75rem;
&__close-button {
margin-right: 1.725rem;
&::before {
color: color--blue--4;
cursor: pointer;
font-family: "archipelago_icons", sans-serif;
font-style: normal;
content: "\f11a";
font-size: 15px;
top: 2px;
position: relative;
user-select: none;
}
}
&__infa-logo {
background-image: url("../img/infa-logo.svg");
background-position: center;
background-repeat: no-repeat;
height: 50px;
width: 123px;
}
&__product-name {
font-size: 13px;
font-weight: 300;
margin: 0;
margin-left: 5px;
margin-top: -1px;
}
&__button-group {
.button {
border-radius: 30px;
color: #848484;
display: flex;
justify-content: center;
font-size: 16px;
margin-left: 10px;
&:hover {
background-color: color--blue--4;
color: white;
}
width: 30px;
min-width: 30px;
height: 30px;
&__icon {
display: flex;
}
}
}
}
&__nav {
background-color: color--grey--8;
color: white;
font-size: 13px;
width: 100%;
&__links {
border-top: 1px solid color--grey--8;
overflow: hidden;
&__link {
color: inherit;
font-weight: 500;
height: 40px;
padding: 0 20px;
white-space: nowrap;
&--active,
&[aria-current="true"],
&[aria-current="page"] {
background-color: black;
}
&:hover {
background-color: black;
}
&--active,
&[aria-current="true"],
&:hover {
.shell__nav__link__icon img {
opacity: 1;
}
}
&--closable {
.shell__nav__link__label {
display: flex;
flex-grow: 1;
}
}
&__icon {
display: flex;
align-items: center;
justify-content: center;
margin-right: 10px;
width: 20px;
.fa,
.fas {
font-size: 17px;
}
img {
width: 100%;
}
/* ^[-3]--collapsed & {
margin: 0;
} */
}
&__label {
/* ^[-3]--collapsed & {
display: none;
} */
}
}
}
}
&__page {
&__title {
background-color: white;
border-bottom: 1px solid color--grey--3;
height: 40px;
padding: 0 20px;
padding-top: 0;
padding-bottom: 0;
&__breadcrumbs {
&__breadcrumb {
font-size: 1.3em;
font-weight: normal;
&:not(:last-child):after {
content: ">";
margin: 0 0.33em;
}
}
}
&__icon {
margin-right: 10px;
img {
width: 20px;
}
}
}
}
}