diff options
author | Justin Nuß <nuss.justin@gmail.com> | 2014-07-26 11:23:58 +0200 |
---|---|---|
committer | Justin Nuß <nuss.justin@gmail.com> | 2014-07-26 11:23:58 +0200 |
commit | 91480f3791f266369c343c539f8eeec245fa969a (patch) | |
tree | a03ad6062fe4b546367cdb6f9921399458d97441 /public/ng/less/ui/panel.less | |
parent | 835e85b5ce9921ffd4d50b90b706e02685167331 (diff) | |
parent | 35c75f06a0a4f321021984830d760e67ca0ef8e5 (diff) |
Merge branch 'dev' of https://github.com/gogits/Gogs into issue/281
Conflicts:
modules/base/tool.go
Diffstat (limited to 'public/ng/less/ui/panel.less')
-rw-r--r-- | public/ng/less/ui/panel.less | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/public/ng/less/ui/panel.less b/public/ng/less/ui/panel.less new file mode 100644 index 00000000..52f8dafb --- /dev/null +++ b/public/ng/less/ui/panel.less @@ -0,0 +1,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; + } + } +}
\ No newline at end of file |