UNPKG

ngx-mat-cdk

Version:

Extra Components for Angular Material including Filters,Drag Drop File, MatSelect Mobile Version

256 lines (208 loc) 4.75 kB
.ngx-mat-cdk-select-mobile-opacity { opacity: 0 !important; } .ngx-mat-cdk-mobile .ngx-mat-cdk-select-mobile { max-width: 100%; width: 100%; overflow: hidden; background: #fff; transition: opacity 100ms linear; min-width: auto !important; transform: none !important; transform-origin: unset !important; } .ngx-mat-cdk-mobile .ngx-mat-cdk-mobile-wrapper { position: fixed !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100vw !important; height: 100vh !important; max-height: 100% !important; max-width: 100% !important; transform: none !important; background: #fff; } .ngx-mat-dialog-header { display: flex !important;; justify-items: baseline; justify-content: space-between; } .ngx-mat-cdk-no-border-radius { border-radius: 0 !important; } ngx-mat-mobile-select-panel .mat-dialog-content { max-height: calc(100vh - 150px); } .ngx-mat-cdk-filters-max-height { max-height: calc(100vh - 160px); } .ngx-mat-filters-mobile .mat-chip-list-wrapper { flex-wrap: nowrap !important; } .ngx-mat-filters-mobile mat-chip { white-space: nowrap; max-width: 300px; width: 100%; touch-action: auto !important; } .ngx-mat-filters-none-mobile .mat-chip { max-width: calc(100% - 8px); width: 100%; touch-action: auto !important; } .ngx-mat-filters-chip-displayLabel { max-width: 100%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; flex: 1 1 auto; } .ngx-mat-filters-chip-label { flex: 1 1 auto; white-space: nowrap; } .ngx-mat-filters-chip-icon { flex: 0 0 15px; } .ngx-mat-filters-none-mobile .ngx-mat-filters-chip-text { width: 100%; } ngx-mat-filters-list { } ngx-mat-filters-list mat-form-field { flex: 1; } ngx-mat-filters-list .mat-expansion-panel { width: 100%; } ngx-mat-filters-list .mat-expansion-panel * { font-size: 1rem; } ngx-mat-filters-list .filter-true-false, ngx-mat-filters-list .mat-expansion-panel { box-shadow: none !important; border-bottom: 1px solid #E0E0E0; border-radius: 0 !important; } .no-overflow { overflow: hidden !important; } .ngx-cdk-avatar-picker-loading { position: absolute !important; background-color: #fff; border: 1px solid #dee2e6; border-radius: 0.25rem; top: -1px; bottom: -1px; left: 0; right: -1px; z-index: 1; margin: 1px 1px 6px; } .ngx-cdk-avatar-picker-loading.rounded { border-radius: 50%; } .ngx-cdk-avatar-picker-loading:after { content: ""; position: absolute; background-repeat: no-repeat; top: 50%; left: 50%; transform: translate(-50%, -50%); background-size: contain; width: 50px; height: 50px; } @keyframes load { 0% { background-position: -1080px 0; } 100% { background-position: 1080px 0; } } .ngx-cdk-loading-avatar-viewer { width: 64px; height: 64px; border: 1px solid transparent; border-radius: 50%; position: absolute !important; } .ngx-cdk-loading { position: relative; background-color: #e2e2e2; } .ngx-cdk-loading::after { display: block; top: 0; z-index: 201; content: ""; position: absolute; width: 100%; height: 100%; transform: translateX(-100%); background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(rgba(255, 255, 255, 0.2)), to(transparent)); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); animation: ngx-cdkLoading 0.8s infinite; } .ngx-cdk-avatar-picker { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; margin-left: 15px; margin-bottom: 15px; } .ngx-cdk-img-thumbnail { padding: 1px; background-color: #fff; border: 1px solid #dee2e6; border-radius: .25rem; max-width: 100%; height: auto; } .ngx-cdk-img-rounded { border-radius: 50%; } .ngx-cdk-avatar-picker-image { position: relative; width: 140px; height: 140px; } .ngx-cdk-avatar-picker-image img { width: 140px; height: 140px } .ngx-cdk-avatar-picker-buttons button { width: 140px; } .ngx-mat-search-box-container { width: auto; padding: 3px; display: flex; justify-content: center; align-items: center; border: 1px solid #e0e0e0; border-radius: 8px; } .ngx-mat-search-box-input { border: 0; outline: 0; flex: 1 1 100%; height: 2rem; font-size: 1rem; background: inherit; } .ngx-mat-search-box-icon { flex: 0 0 30px; width: 100%; max-width: 30px; background: inherit; }