Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 11:16:11 +01:00
forgejo/public/ng/less/ui/panel.less
2014-08-09 15:40:10 -07:00

47 lines
1.2 KiB
Plaintext

@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 {
background-color: white;
.panel-desc {
padding: 0 40px;
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-content{
border-bottom-left-radius: .3em;
border-bottom-right-radius: .3em;
}
}
&.panel-warning {
border-color: #F0C36D;
> .panel-header {
background-color: #F9EDBE;
border-color: #F0C36D;
}
}
}