@betha-plataforma/estrutura-componentes
Version:
Coleção de Web Components para compor a estrutura de uma aplicação front-end da Betha Sistemas.
83 lines (78 loc) • 1.75 kB
CSS
*,
*:after,
*:before {
padding: 0;
margin: 0;
box-sizing: border-box;
line-height: 1.5;
}
* {
font-family: var(--bth-app-font-family-primary);
}
a:focus {
outline: 1px dotted var(--bth-app-gray-dark-30);
}
::-webkit-scrollbar {
-webkit-appearance: none;
height: 6px;
width: 6px;
}
::-webkit-scrollbar-track {
background: var(--bth-app-gray-light-30);
}
::-webkit-scrollbar-corner {
background: var(--bth-app-gray-light-40);
}
::-webkit-scrollbar-thumb {
background-color: var(--bth-app-gray);
border-radius: 1px;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(255, 255, 255, 0.3);
}
.menu-horizontal__item {
height: 40px;
}
.menu-horizontal__item--disabled {
opacity: 0.6;
cursor: not-allowed;
}
.menu-horizontal__item a {
align-items: center;
color: var(--bth-app-gray-light-40);
display: flex;
padding: 10px 14px 10px 14px;
width: 100%;
font-weight: var(--bth-app-font-weight-regular);
text-decoration: none;
}
.menu-horizontal__item a bth-icone:first-child, .menu-horizontal__item a bth-icone:last-child {
display: block;
margin: 12px 16px;
width: 14px;
}
.menu-horizontal__item a span {
flex: 1;
opacity: 1;
white-space: nowrap;
}
.menu-horizontal__item--active {
background-color: rgba(255, 255, 255, 0.2);
}
.menu-horizontal__item--active > a {
color: var(--bth-app-gray-light-40);
font-weight: var(--bth-app-font-weight-regular);
}
.menu-horizontal__item:hover, .menu-horizontal__item:focus {
background-color: rgba(255, 255, 255, 0.15);
text-decoration: none;
}
.badge {
background-color: var(--bth-app-gray-light-40);
color: var(--bth-app-gray-dark-30);
border-radius: 50px;
font-size: 11px;
padding: 2px 5px;
margin-left: 5px;
line-height: 1;
}