override.scss 9.27 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/*
 * 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.
 */


20 21 22 23 24 25 26 27 28 29
/* override.scss */

.tabs li.tab.active {
    border-bottom: 2px solid $color_keppel_approx;
    a {
        color: $color_keppel_approx;
    }
}

.modal-header {
30
    padding: 15px;
31 32 33 34 35 36 37 38 39 40 41
    border-bottom: 1px solid #DEDEDE;
}

.modal-title {
    font-weight: 600;
    -webkit-font-smoothing: antialiased;
}

.modal-footer {
    padding: 15px;
    text-align: right;
42
    border-top: 1px solid #DEDEDE;
43 44 45
    .btn+.btn {
        margin-bottom: 0;
    }
46 47 48 49 50
}

.modal-body {
    position: relative;
    padding: 15px;
51
    max-height: 400px;
52
    min-height: 70px;
53
    overflow: auto;
54 55 56
    .btn+.btn {
        margin-bottom: 2px;
    }
57 58 59 60 61 62 63 64 65 66 67
}

.switch.pull-left {
    margin-right: 8px;
}

.modal-content {
    border-radius: 10px;
}

.table-quickMenu {
68 69 70 71
    border: thin $lightGrey solid;
    border-collapse: separate;
    border-radius: 6px;
    box-shadow: 0px 0px 4px #d8d8d8;
72 73
    overflow: scroll !important;
    max-height: 500px;
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
    .resizeHandler {
        &.grid-draggable {
            background-color: $color_jungle_green_approx !important;
        }
        &:hover {
            border-left: 1px solid #d2d2d2;
        }
    }
    >thead>tr>th {
        border-width: thin;
        border-color: $color_jungle_green_approx;
        border-bottom-style: solid;
        box-shadow: none;
        padding: 20px 15px;
        background-color: transparent;
        text-align: left;
        font-weight: 800;
        border-top: 0;
        font-size: 14px;
        letter-spacing: 0.25px;
        color: rgba(52, 52, 52, 1);
    }
    >tbody>tr>td {
        border-color: $color_gallery_approx;
        color: #333333;
        font-weight: 100;
        padding: 10px 15px;
    }
102 103
}

104 105 106 107 108
td {
    div.scroll-y {
        max-height: 200px;
        overflow-y: auto;
    }
109 110
}

111 112 113
.backgrid {
    td {
        white-space: normal;
114
    }
115 116
    .select-all-header-cell {
        width: 42px;
117
    }
118 119 120 121 122 123
}

.backgrid-paginator ul {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
124
    border: 1px $color_keppel_approx solid;
125 126
    margin: 0px;
    float: right;
127
    border-radius: 4px;
128
    overflow: hidden;
129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156

    >.active>span,
    >.active>a,
    >.active>a:hover {
        background: none;
        color: $color_keppel_approx;
        background: none;
        color: #37bb9b;
        font-weight: 600;
        font-family: sans-serif;
    }

    >li>a,
    >li>span,
    >li>button {
        width: 30px;
        height: 30px;
        padding: 0;
        line-height: 30px;
        text-decoration: none;
        border: none;
        float: left;
        background: $transparent;
        color: $color_keppel_approx;
        @include ellipsis();
        i {
            font-weight: bold;
        }
157
        &:hover {
158 159
            color: $white;
            background: $color_keppel_approx
160 161
        }
    }
162 163 164 165 166

    >.disabled>span,
    >.disabled>a,
    >li>button[disabled] {
        color: $color_mountain_mist_approx;
167
        &:hover {
168 169 170
            cursor: not-allowed;
            color: $white;
            background: $color_jungle_green_light !important;
171
        }
172
    }
173 174
}

175 176 177 178
.select2-container {
    width: 100% !important;
}

179 180 181 182
.select2-container--default {
    .select2-selection--multiple {
        background-color: $color_white_lilac_approx !important;
        border: 1px $color_mystic_approx solid !important;
183 184 185
        &.errorClass {
            border: 1px solid red !important;
        }
186 187 188 189 190 191 192 193 194 195 196 197 198
    }
    .select2-selection--single {
        .select2-selection__arrow {
            height: 34px;
        }
        .select2-selection__rendered {
            line-height: 32px;
            font-size: 14px;
        }
    }
    &.select2-container--focus .select2-selection--multiple {
        border-color: $color_bali_hai_approx !important;
    }
199
}
200

201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
.select2-container {
    .select2-selection--single,
    .select2-selection--multiple {
        min-height: 34px;
        .select2-selection__rendered {
            padding-left: 12px;
        }
    }
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: $white;
    color: $color_mountain_mist_approx;
    border: 1px solid $tag_color;
}

.select2-container--default .select2-search--inline .select2-search__field {
    color: #555;
219 220 221
    width: 300px !important;
}

222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
.typeLOV {
    .select2-container--default {
        .select2-selection--multiple {
            .select2-selection__rendered {
                padding-right: 13px;
                .select2-selection__choice {
                    font-size: 14px;
                    color: $color_mountain_mist_approx;
                    border: 1px solid $color_mountain_mist_approx;
                }
                .select2-search__field {
                    font-size: 14px;
                }
            }
            .select2-selection__clear {
                position: absolute;
                float: none;
                margin: 0px;
                right: 4px;
                top: 5px;
                color: $color_mountain_mist_approx;
            }
        }
245 246
    }
}
247

248
.fixed-popover {
249 250 251 252 253 254 255 256
    position: fixed;
}

.popover.fade {
    -webkit-transition: ease-in .1s ease-out;
    -o-transition: ease-in .1s ease-out;
    transition: ease-in .1s ease-out;
}
257 258 259 260

.pager {
    margin: 0px;
}
261

262 263 264 265
.popover {
    z-index: 99;
}

266
.popover-content {
267 268
    max-height: 150px;
    overflow: auto;
269 270 271 272 273 274 275 276 277 278 279
    ul {
        color: $dark_gray;
        padding: 0px 5px;
        margin-bottom: 0px;
        cursor: pointer;
        a {
            color: $dark_gray;
            padding: 5px;
        }
    }
}
280

281
.tab-content>.tab-pane.active {
282 283
    overflow-x: hidden;
}
284

285
.advancedInfo {
286 287
    margin-left: 5px;
    cursor: pointer;
288
}
289

290
.query-builder {
291 292
    .rule-container {
        margin: 6px 0;
293 294 295 296 297
        .rule-header {
            .rule-actions {
                padding: 7px 0px;
            }
        }
298 299
        .rule-value-container {
            display: inline-block !important;
300 301 302 303 304 305 306 307 308 309 310 311 312 313
            .form-control {
                width: 220px !important;
                padding: 6px 12px !important;
            }
        }
        .rule-filter-container {
            .form-control {
                width: 200px !important;
            }
        }
        .rule-operator-container {
            .form-control {
                width: auto !important;
            }
314
        }
315 316 317 318
    }
    .rules-list>:first-child::before {
        top: -8px;
    }
319
    .rules-group-container {
320
        border-color: transparent;
321
        background: none;
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347
        .rules-group-header {
            .group-actions {
                .btn-success {
                    color: #38BB9B !important;
                    background-color: transparent !important;
                    border-color: #38BB9B !important;
                }
                .btn-danger {
                    color: #e14f00;
                    background-color: transparent;
                    border-color: #e14f00;
                }
            }
            .group-conditions {
                .btn-primary {
                    color: #333 !important;
                    background-color: #fff !important;
                    border-color: #ccc !important;
                }
                .active {
                    color: #fff !important;
                    background-color: #5bc0de !important;
                    border-color: #46b8da !important;
                }
            }
        }
348
    }
349

350

351 352 353
    .rules-group-header .btn-group.pull-right.group-actions {
        float: right !important;
    }
354 355
}

356 357 358
div.columnmanager-visibilitycontrol {
    width: auto;
    margin-bottom: 5px;
359
    &.open .btn-action {
360 361 362
        background-color: #37bb9b;
        color: #fff;
    }
363 364
}

365 366 367 368 369 370 371
div.columnmanager-dropdown-container {
    &.open {
        overflow: auto;
    }
    >li>span.column-label {
        width: auto;
    }
372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401
}

.stack-modal[aria-role="alertdialog"] {
    .alert.ui-pnotify-container {
        color: $color_ironside_gray_approx;
        background-color: $white;
        border: 1px solid rgba(0, 0, 0, .2);
        padding: 0px;
        outline: 0;
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
        .ui-pnotify-icon,
        .ui-pnotify-title {
            padding: 15px;
        }
        .ui-pnotify-text {
            position: relative;
            padding: 15px;
            max-height: 400px;
            min-height: 70px;
            overflow: auto;
            border-top: 1px solid #DEDEDE
        }

        .ui-pnotify-action-bar {
            padding: 15px;
            text-align: right;
            border-top: 1px solid #DEDEDE;
        }
    }
402 403 404 405 406
}

.ui-pnotify-icon,
.ui-pnotify-icon span {
    padding: 2px 0px;
407
}