search.scss 4.65 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

19 20
//colors
$color_celeste_approx: #1D1F2B;
21

22
.switch {
23 24 25 26 27 28 29 30 31
    position: relative;
    width: 50px;
    height: 22px;
    margin-left: 8px;
    padding: 3px;
    vertical-align: top;
    background-color: $color_celeste_approx;
    border-radius: 18px;
    cursor: pointer;
32 33
}

34
.switch-input {
35 36 37 38
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
39 40
}

41 42
.switch-slider {
    position: absolute;
43 44
    top: 1px;
    left: 3px;
45 46 47
    width: 16px;
    height: 16px;
    border-radius: 10px;
48 49
    box-shadow: 1px 1px 5px rgba(black, .2);
    @include transition(left #{$switchTransition});
50

51 52 53 54 55 56 57 58 59 60 61 62 63
    &:before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -6px 0 0 -8px;
        width: 16px;
        height: 16px;
        background-color: $color_jungle_green_approx;
        border-radius: 10px;
        box-shadow: inset 0 1px rgba(black, .02);
        @include transition(inherit)
    }
64

65
    .switch-input:checked~& {
66 67 68
        left: 30px;
        box-shadow: -1px 1px 5px rgba(black, .2);
    }
69 70
}

71 72 73
.labelShowRecord {
    line-height: 40px;
}
74

75 76
.srchType {
    margin: 5px 0px;
77

78 79 80 81 82
    .srchTitle {
        font-size: 14px;
        color: $gray
    }
}
83 84 85

.filterQuery {
    word-break: break-all;
86

87 88 89 90
    span {
        font-size: 15px;
        font-weight: bold;
    }
91

92 93 94
    .key {
        color: $color_jungle_green_approx;
    }
95

96 97 98
    .operator {
        color: $action_gray;
    }
99

100 101 102 103
    .value {
        color: $tag_color;
    }
}
104

105
.popup-tag-term {
106 107 108
    display: none;
}

109
.popover-tag-term {
110 111 112
    .btn {
        display: block;
    }
113 114 115 116 117
}

.gu-mirror {
    .table-quickMenu {
        border: none;
118

119 120 121 122 123
        td {
            height: 54px;
        }
    }
}
124 125

.table-responsive {
126 127
    position: relative;
}
128 129 130

.sindu_dragger {
    @extend .gu-mirror;
131

132 133 134 135 136 137
    &.sindu_column {
        li {
            float: none !important;
            display: table-cell !important;
        }
    }
138

139
    .gu-transit {
140
        //box-shadow: 0px 1px 15px inset;
141
    }
142

143
    table {
144
        background: rgb(242, 242, 242) !important;
145
    }
146 147 148 149 150 151 152 153
}

.filter-box {
    .inline-content-fr {
        .inline {
            margin: 0px;
        }
    }
154 155 156 157 158 159 160 161 162 163 164 165 166
}

.typeFilter {
    .dropdown {
        span.type-clear-btn {
            position: absolute;
            color: #444444;
            font-size: 8px;
            right: 23px;
            top: 12px;
            cursor: pointer;
        }
    }
167

168 169 170 171 172 173
    button.dropdown-toggle {
        width: 99.5%;
        text-align: left;
        background-color: white;
        color: $color_star_dust_approx;
        border: $color_star_dust_approx;
174

175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
        &:hover {
            color: $color_star_dust_approx !important;
            border: $color_star_dust_approx !important;
        }
    }
}

ul.type-filter-ul {
    color: black;
    padding: 10px;
    max-height: 415px;
    overflow: auto;
    width: 100%;
    padding-top: 0px;
    margin-bottom: 0px;
190

191 192 193
    li {
        padding: 2px;
    }
194

195 196 197 198 199 200
    .typeLi li {
        padding: 3px;
        background-color: #f7fbff;
        margin: 3px;
        border: 1px solid #dbd6d6;
        border-radius: 4px;
201

202 203 204 205 206
        &:hover {
            color: $white;
            background-color: $color_star_dust_approx;
            cursor: pointer;
        }
207

208 209 210 211 212
        &.active {
            background-color: #37bb9b;
            color: white;
        }
    }
213

214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236
    .filterLi li {
        padding: 2px;
        margin: 4px;
    }
}

.dark-text {
    color: black;
}

.type-filter-dropdown {
    position: absolute;
    top: 5px;
    background-color: #323544;
}

.filter-sticky-div {
    text-align: center;
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    background-color: white;
    padding-top: 8px;
237

238 239 240 241
    & .row {
        margin-right: -10px;
        margin-left: -10px;
    }
242

243 244 245 246 247 248 249 250 251 252
    & input.form-control {
        border: 1px #c9c9c9 solid;
    }
}

hr.hr-filter {
    margin-top: 7px;
    margin-bottom: 7px;
    border: 0;
    border-top: 1px solid #bdc3c7;
253
}