UNPKG

comindware.core.ui

Version:

Comindware Core UI provides the basic components like editors, lists, dropdowns, popups that we so desperately need while creating Marionette-based single-page applications.

81 lines (69 loc) 1.3 kB
.carousel { width: 100%; height: auto; display: flex; flex-flow: column nowrap; } .carousel-wrapper { width: 100%; height: auto; } .carousel__content-wrapper { width: 100%; height: auto; position: relative; } .carousel__content { display: flex; width: 100%; height: auto; flex-flow: row nowrap; overflow: hidden; min-height: 0; justify-content: center; align-items: center; padding-left: 15px; padding-right: 15px; } .carousel__content > * { margin: 5px; } .carousel__dots { flex: 1; display: flex; flex-flow: row nowrap; justify-content: center; margin: 10px; } .carousel__dot { flex: 0 0 auto; border-radius: 50%; margin: 0 10px 0 10px; cursor: pointer; border: 2px solid var(--theme-colors__primary); height: 10px; width: 10px; } .carousel__dot_active { background-color: var(--theme-colors__primary); } .carousel__arrow { position: absolute; font-size: 2rem; color: var(--theme-colors__primary); top: 50%; width: 20px; height: 20px; z-index: 100; cursor: pointer; } .carousel__arrow_left { left: -10px; } .carousel__arrow_right { right: -10px; } .carousel__arrow_inactive { opacity: 0.5; cursor: auto; }