summaryrefslogtreecommitdiffstats
path: root/public/ng/less/ui/panel.less
blob: 52f8dafb00ba81522f9c9f76caf1d5b353506f8e (plain)
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
@import "var";
.panel {
    border: 1px solid@panelBorderColor;
    .panel-header {
        font-size: 16px;
        padding: .6em 1.2em;
        background-color: @panelHeaderBgColor;
        border-bottom: 1px solid@panelBorderColor;
    }
    .panel-body {
        .panel-desc {
            margin-bottom: 20px;
        }
    }
    .panel-content {
        padding: 1em 1.2em;
    }
    .panel-footer {
        padding: .6em 1.2em;
        background-color: @panelFooterBgColor;
        border-top: 1px solid@panelBorderColor;
    }
    &.panel-radius {
        border-radius: .3em;
        .panel-header {
            border-top-left-radius: .3em;
            border-top-right-radius: .3em;
        }
        .panel-footer {
            border-bottom-left-radius: .3em;
            border-bottom-right-radius: .3em;
        }
    }
    &.panel-warning {
        border-color: #F0C36D;
        > .panel-header {
            background-color: #F9EDBE;
            border-color: #F0C36D;
        }
    }
}