bench-forgejo/public/ng/less/ui/panel.less

47 lines
1.2 KiB
Text
Raw Normal View History

2014-07-26 09:54:27 +05:30
@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 {
2014-08-02 23:17:33 +05:30
background-color: white;
2014-07-26 09:54:27 +05:30
.panel-desc {
2014-08-10 04:10:10 +05:30
padding: 0 40px;
2014-07-26 09:54:27 +05:30
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;
}
2014-08-06 06:48:29 +05:30
.panel-content{
border-bottom-left-radius: .3em;
border-bottom-right-radius: .3em;
}
2014-07-26 09:54:27 +05:30
}
&.panel-warning {
border-color: #F0C36D;
> .panel-header {
background-color: #F9EDBE;
border-color: #F0C36D;
}
}
}