All files / ship-components-tag-input/src Controls.css

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115                                                                                                                                                                                                                                     
.filter {
    flex: 1;
    box-sizing: border-box;
    height: 32px;
    min-width: 80px;
    font-size: 13px;
    font-weight: 400;
    border: none;
    width: 100%;
    border-radius: 2px;
    padding: 6px 12px 6px 0;
    background-color: transparent;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    &.withTags {
        padding-left: 12px;
    }
}
.filter.empty {
    padding-left: 0;
}
.filter.hidden {
    display: none;
}
 
.controls .loader {
    margin: 0;
    position: static;
    height: 32px;
    &:not(.toggleRightPos) {
        width: 64px;
    }
}
 
.controls .loader-spinner {
    height: 32px;
    width: 24px;
}
 
.selection-area .filter.empty {
    padding-left: 12px;
}
 
.selection-area {
    flex: 1;
    cursor: pointer;
    color: #424242;
}
 
.multi-selection-area {
    flex: 1;
    display: flex;
    cursor: text;
    flex-flow: row;
    flex-wrap: wrap;
}
 
.controls {
    flex: 1;
    min-height: 32px;
    display: flex;
    flex-flow: row;
    align-items: center;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    z-index: 10;
}
 
.toggle-container {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
 
.toggle-btn {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    margin: 0 20px 0 20px;
    font-weight: 300;
    color: #666;
    padding: 0;
    border: none;
    background: none;
    &.darkTheme {
        color: white;
    }
    &.toggleRightPos {
        margin: 0;
        padding: 0;
    }
}
 
.hidden {
    display: none;
}
 
.selection {
    height: 32px;
    min-width: 80px;
    font-size: 13px;
    font-weight: 400;
    border: none;
    width: 100%;
    border-radius: 2px;
    padding: 6px 12px 6px 12px;
}
.selection.empty {
    color: rgba(0,0,0,0.36);
}
.selection.hidden {
    display: none;
}