@betha-plataforma/estrutura-componentes
Version:
Coleção de Web Components para compor a estrutura de uma aplicação front-end da Betha Sistemas.
104 lines (98 loc) • 1.84 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);
}
:host {
display: block;
}
.empty-state {
display: none;
background-color: transparent;
text-align: center;
padding: 20px 5px;
}
.empty-state--show {
display: block;
}
.empty-state img,
.empty-state ::slotted(img) {
width: 230px;
margin: 20px 0;
}
.empty-state h4,
.empty-state ::slotted(h4) {
font-size: 1.5rem;
margin-bottom: 0.5rem;
font-weight: 500;
line-height: 1.2;
}
.empty-state--small img,
.empty-state--small ::slotted(img) {
width: 125px;
margin: 20px 0;
}
.empty-state--small h4,
.empty-state--small ::slotted(h4) {
font-size: 1.15rem;
margin-bottom: 0.5rem;
font-weight: 500;
line-height: 1.2;
}
@media (min-width: 576px) {
.empty-state img,
.empty-state ::slotted(img) {
width: 250px;
}
.empty-state--small img,
.empty-state--small ::slotted(img) {
width: 140px;
}
}
@media (min-width: 992px) {
.empty-state img,
.empty-state ::slotted(img) {
width: 270px;
}
.empty-state--small img,
.empty-state--small ::slotted(img) {
width: 150px;
}
}
@media (min-width: 1200px) {
.empty-state img,
.empty-state ::slotted(img) {
width: 280px;
}
.empty-state--small img,
.empty-state--small ::slotted(img) {
width: 155px;
}
}