panel.scss 2.57 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
/* panel.scss */
21

22
.panel-default {
23
    >.panel-heading {
24 25 26
        color: $color_jungle_green_approx;
        background: $white;
        border-color: $color_jungle_green_approx;
27

28 29 30 31 32
        button {
            color: $color_jungle_green_approx;
            background: $white;
            border: none;
        }
33

34 35 36 37 38
        .panel-title {
            font-weight: bold;
            padding-top: 8px;
        }
    }
39

40
    .nav-tabs {
41
        >li {
42 43 44 45 46
            &.active {
                >a {
                    color: $color_jungle_green_approx;
                }
            }
47

48 49 50 51
            >a {
                color: $black;
            }
        }
52 53 54
    }
}

55
.panel-fullscreen {
56
    .panel-body {
57
        //overflow: hidden;
58
        height: calc(100% - 46px) !important;
59
    }
60

61 62 63
    .ui-resizable-handle {
        display: none !important;
    }
64 65 66 67 68 69 70
}

.nav-tabs {
    >li {
        &:first-child {
            margin-left: 25px;
        }
71 72
    }
}
73 74 75

.with-nav-tabs {
    .tab-content {
76 77 78 79
        >.tab-pane {
            &>div {
                position: relative;
            }
80

81 82 83 84
            &.active {
                padding: 20px 10px 0px 10px;
                min-height: 50px;
            }
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 116 117 118 119 120 121 122
}

.panel-fullscreen {
    position: fixed;
    height: 100%;
    top: 0px;
    bottom: 0;
    left: 0;
    width: 100%;
    right: 0;
    z-index: 999;
}

.panel.expand_collapse_panel-icon {
    .panel-heading {
        .panel-title {
            display: inline-block;
        }

        i.ec-icon:before {
            content: "\f078"
        }

        &.collapsed,
        &[aria-expanded="false"] {
            i.ec-icon:before {
                content: "\f078"
            }
        }

        &[aria-expanded="true"] {
            i.ec-icon:before {
                content: "\f077"
            }
        }
    }
123
}