0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 17:04:12 -05:00
forgejo/public/ng/less/ui/panel.less

54 lines
1.3 KiB
Text
Raw Normal View History

2014-07-25 23:24:27 -05:00
@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 12:47:33 -05:00
background-color: white;
2014-07-25 23:24:27 -05:00
.panel-desc {
2014-08-28 09:29:00 -05:00
padding: 0 40px 20px 40px;
2014-07-25 23:24:27 -05:00
}
}
.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-05 20:18:29 -05:00
.panel-content{
border-bottom-left-radius: .3em;
border-bottom-right-radius: .3em;
}
2014-07-25 23:24:27 -05:00
}
2014-10-10 20:40:51 -05:00
&.panel-info {
border-color: #85c5e5;
> .panel-header {
color: #31708f;
background-color: #d9edf7;
border-color: #85c5e5;
}
}
2014-07-25 23:24:27 -05:00
&.panel-warning {
border-color: #F0C36D;
> .panel-header {
background-color: #F9EDBE;
border-color: #F0C36D;
}
}
}