react_size_chart
Version:
Vestfoy smart size charts react package
127 lines (106 loc) • 2.37 kB
CSS
body {
font-size: 14px;
}
.buttonLogo {
content:url("meter.png");
text-align: center;
/* width: 15px; */
}
.buttonLogoDark {
content:url("meter-dark.png");
text-align: center;
/* width: 15px; */
}
.vestofy-btn {
display: inline-block;
background-color: transparent;
color: black;
outline: none;
margin: 0px;
padding: 0px;
display: inline-flex;
align-items: center; /* vertical alignment */
justify-content: center; /* center inside button */
gap: 8px; /* space between icon & text */
}
.vestofy-root .vestofy-content-left { justify-content: flex-start; text-align: left;}
.vestofy-root .vestofy-content-center { justify-content: center; text-align: center;}
.vestofy-root .vestofy-content-right { justify-content: flex-end; text-align: right;}
.vestofy-btn:hover,
.vestofy-btn:focus,
.vestofy-btn:focus-visible,
.vestofy-btn:active {
background-color: transparent ;
border-color: transparent ;
outline: none ;
box-shadow: none ;
}
.vestofy-btn-wrapper {
display: flex;
width: 100%;
}
.vestofy-align-left {
justify-content: flex-start;
}
.vestofy-align-center {
justify-content: center;
}
.vestofy-align-right {
justify-content: flex-end;
}
.buttonLogoPosition {
position: relative;
margin-right: 5px;
}
#vestofy-chart-modal .modal-dialog {
width: auto;
}
/* Fullscreen modal on mobile only */
@media (max-width: 576px) {
#vestofy-chart-modal .modal-dialog {
margin: 0;
width: 100%;
max-width: 100%;
height: 100%;
}
#vestofy-chart-modal .modal-content {
height: 100vh;
border-radius: 0;
}
#vestofy-chart-modal .modal-body {
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
}
/* Larger close button (thumb-friendly) */
@media (max-width: 576px) {
#vestofy-chart-modal .close {
font-size: 2rem;
}
}
.loader {
width: 80px;
height: 80px;
border-radius: 100%;
position: relative;
margin: 0 auto;
border: 16px solid #f3f3f3; /* Light grey */
border-top: 16px solid #4c4c4c; /* Blue */
animation: spin 1s linear infinite;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}