@hisptz/react-ui
Version:
A collection of reusable complex DHIS2 react ui components.
140 lines (102 loc) • 1.4 kB
CSS
@import "icons.css";
/*Scrollbars*/
*::-webkit-scrollbar {
width: 0.5em;
height: 0.5em;
}
*::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.00)
}
*::-webkit-scrollbar-thumb {
background-color: #A0ADBA;
outline: 0.5px solid #E8EDF2;
}
/*Padding*/
.pt-8 {
padding-top: 8px;
}
.pb-8 {
padding-bottom: 8px;
}
.p-8 {
padding: 8px;
}
.p-16 {
padding: 16px;
}
.pt-32 {
padding-top: 32px;
}
/*Margin*/
.m-8 {
margin: 8px;
}
.mt-16{
margin-top: 16px;
}
.mv-16{
margin-top: 16px;
margin-bottom: 16px;
}
.m-16 {
margin: 16px;
}
/*Width*/
.w-100 {
width: 100%;
}
.w-75 {
width: 75%;
}
.w-60 {
width: 60%;
}
.w-40 {
width: 40%;
}
/*Height*/
.h-100 {
height: 100%;
}
/*Alignment*/
.align-items-center {
align-items: center;
}
.align-items-end {
align-items: end;
}
.center {
justify-content: center;
}
.space-between {
justify-content: space-between;
}
.start {
justify-content: flex-start;
}
/*Display*/
.column {
display: flex;
flex-direction: column;
}
.row {
display: flex;
flex-direction: row;
}
.gap-8 {
gap: 8px;
}
.gap-16 {
gap: 16px;
}
.container-bordered {
box-sizing: border-box;
border-radius: 4px;
border: 1px solid #A0ADBA;
}
.wrap {
flex-wrap: wrap;
}
.text-center {
text-align: center;
}