UNPKG

@ccs-design/rc-pro

Version:

ccs design basic react component

51 lines (46 loc) 937 B
// ccs trigger .ccs-trigger { &-hidden { display: none !important; } &-show { display: block !important; } &-icon { color: rgba(0, 0, 0, 0.25) !important; font-size: 12px; } &-container { overflow: auto; background: #fff; border-radius: 2px; box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05); transition: margin 0.3s; } &-mask { position: fixed; top: 0; right: 0; bottom: 0; left: 0; height: 100%; opacity: 1; &-hidden { display: none; } } } .rc-trigger-popup-hidden { display: none; } .dark-theme { .ccs-trigger-container { background: @dark-color-shallow; box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.48), 0 6px 16px 0 rgba(0, 0, 0, 0.32), 0 9px 28px 8px rgba(0, 0, 0, 0.2); } .ccs-trigger-icon { color: rgba(255, 255, 255, 0.3); } }