UNPKG

benivo-ui-library

Version:

Benivo UI library

211 lines (174 loc) 5.28 kB
@menu-width: 280px; .assignment-option { position: relative; padding: 10px 0; &-pad { padding: 0; } .assignment-home-location { font-size: @small-font-size; color:var(--text-600); } .location-divider { color:var(--text-600); } .assignment-host-location { font-size: @small-font-size; font-weight: @font-weight-semibold; } &-dates { font-size: @extra-small-font-size; color: var(--text-600); } .assignment-cancel a { font-size: @extra-small-font-size; font-weight: @font-weight-semibold; color: var(--primary); &:hover { color: var(--primary); } } &-memberId { font-size: @extra-small-font-size; color: var(--text-600); } } .form-select__value-container, .assignment-single-option { .assignment-option-dates { color:var(--text-600); } } .assignment-status { position: relative; padding-left: 20px; font-size: @extra-small-font-size; &:before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; background-repeat: no-repeat; background-position: center; background-image: url('https://gpresource.blob.core.windows.net/assets/img/icons/complete_dot.svg'); .transform(translateY(-50%)); } &.pending&:before { background-image: url('https://gpresource.blob.core.windows.net/assets/img/icons/pending_dot.svg'); } &.active&:before { background-image: url('https://gpresource.blob.core.windows.net/assets/img/icons/active_dot.svg'); } &.canceled&:before { background-image: url('https://gpresource.blob.core.windows.net/assets/img/icons/cancelled_dot.svg'); } } .assignment-select-box-custom-menu { .assignments-filter-wrapper { padding: 15px 12px; .form-select__control { cursor: pointer; } .form-group { margin-bottom: 0; width: 70%; @media (min-width: 768px) and (max-width: 991px) { width: 80% !important; } &:before { content: '\ed43'; font-family: 'icomoon'; color:var(--text-600); display: block; position: absolute; top: 50%; left: @input-pad-x; transform: translateY(-50%); } input { padding-left: 38px; width: 100%; margin-right: 12px; } } .assignments-filter { display: inline-flex; align-items: center; cursor: pointer; position: relative; flex-shrink: 0; .assignments-filter-statuses { position: absolute; top: 100%; right: 0; background-color: var(--white); border: solid 1px rgba(0, 0, 0, 0.15); .border-radius(4px); z-index: @zindex-dropdown; width: 256px; margin-top: 10px; &.horizontal { &__right { @media @lg { left: 0; right: unset; } } &__left { @media @lg { left: unset; right: 0; } } } &.vertical { &__bottom { @media @lg { top: 100%; bottom: unset; } } &__top { @media @lg { top: unset; bottom: 100%; } } } li { padding: 12px; &:hover { background-color: var(--bg-50); } &:before { left: 42px; } .form-check { margin-bottom: 0; padding-left: 46px; } } } span { &, &:before { color: var(--primary); } &:last-child { margin-left: 8px; font-size: @small-font-size; } } } } } .form-select__menu:has(> .assignment-select-box-custom-menu) { --menu-width: @menu-width; width: 100%; right: 0; @media @lg { width: var(--menu-width, @menu-width); } }