rsuite
Version:
A suite of react components
92 lines (88 loc) • 1.84 kB
CSS
*[class*=rs-],*[class*=rs-]::before, *[class*=rs-]::after{
box-sizing:border-box;
}
:root{
--rs-gray-200:#e5e5ea;
--rs-gray-600:#717273;
--rs-text-secondary:var(--rs-gray-600);
}
[data-theme=dark],
.rs-theme-dark{
--rs-gray-200:#a4a9b3;
--rs-gray-600:#3c3f43;
--rs-text-secondary:var(--rs-gray-200);
}
[data-theme=high-contrast],
.rs-theme-high-contrast{
--rs-gray-200:#a4a9b3;
--rs-gray-600:#3c3f43;
--rs-text-secondary:var(--rs-gray-200);
}
:root{
--rs-font-size-xs:0.75rem;
--rs-font-size-md:1rem;
--rs-line-height-base:20px;
--rs-line-height-sm:calc(20 / 12);
}
@media (max-width: calc(576px - 1px)){
[data-visible-from=xs]{
display:none ;
}
}
@media (min-width: 576px){
[data-hidden-from=xs]{
display:none ;
}
}
@media (max-width: calc(768px - 1px)){
[data-visible-from=sm]{
display:none ;
}
}
@media (min-width: 768px){
[data-hidden-from=sm]{
display:none ;
}
}
@media (max-width: calc(992px - 1px)){
[data-visible-from=md]{
display:none ;
}
}
@media (min-width: 992px){
[data-hidden-from=md]{
display:none ;
}
}
@media (max-width: calc(1200px - 1px)){
[data-visible-from=lg]{
display:none ;
}
}
@media (min-width: 1200px){
[data-hidden-from=lg]{
display:none ;
}
}
@media (max-width: calc(1400px - 1px)){
[data-visible-from=xl]{
display:none ;
}
}
@media (min-width: 1400px){
[data-hidden-from=xl]{
display:none ;
}
}
.rs-form-help-text{
display:block;
color:var(--rs-text-secondary);
min-height:var(--rs-line-height-base);
line-height:var(--rs-line-height-sm);
font-size:var(--rs-font-size-xs);
}
.rs-form-help-text-tooltip{
display:inline-flex;
align-items:center;
font-size:var(--rs-font-size-md);
}