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


18
/* panel.scss */
19

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

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

32 33
        .panel-title {
            font-weight: bold;
34
            padding-top: 6px;
35 36
        }
    }
37

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

46 47 48 49
            >a {
                color: $black;
            }
        }
50 51 52
    }
}

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

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

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

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

79 80 81 82
            &.active {
                padding: 20px 10px 0px 10px;
                min-height: 50px;
            }
83 84
        }
    }
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
}

.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 {
105
            content: "\f054"
106 107 108 109 110
        }

        &.collapsed,
        &[aria-expanded="false"] {
            i.ec-icon:before {
111
                content: "\f054"
112 113 114 115 116
            }
        }

        &[aria-expanded="true"] {
            i.ec-icon:before {
117
                content: "\f078"
118 119 120
            }
        }
    }
121 122 123
}

.panel-default.custom-panel>.panel-heading {
124
    color: $color_jungle_green_approx;
125 126 127 128 129 130
    cursor: pointer;
    border-bottom: none;
    display: inline-block;

    .panel-title {
        font-weight: normal;
131

132
        a:hover {
133
            color: $color_jungle_green_approx;
134 135 136
            opacity: 0.7;
        }
    }
137

138
    .btn-group {
139
        margin-top: 4px;
140 141 142 143 144 145
    }
}

.panel-default.custom-panel>.panel-actions {
    float: right;
    margin-top: 15px;
146

147 148 149 150 151 152 153 154 155
    button {
        margin-right: 10px;
        margin-top: -4px;
    }
}

.panel-default.custom-panel>.panel-collapse>.panel-body {
    border-top: none;
}
156 157

.panel-default.custom-panel>.panel-heading>.btn-group>button {
158
    color: $color_jungle_green_approx;
159
}