diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-07-26 00:24:27 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-07-26 00:24:27 -0400 |
commit | 8dd07c0ddd99ae626a1ec8c06f75f27fed51269f (patch) | |
tree | 261d3c9911dabc58c1ac54e4e36b3dee24d2032b /public/ng/less/ui/panel.less | |
parent | 0a739cf9ac901f54484c34bba8322418dedb09b0 (diff) | |
download | gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.tar.gz gitea-8dd07c0ddd99ae626a1ec8c06f75f27fed51269f.zip |
New UI merge in progress
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 0000000000..52f8dafb00 --- /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 |