diff options
author | Mark Otto <otto@github.com> | 2013-05-15 05:55:37 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2013-05-15 05:55:37 +0400 |
commit | 1d8ff36afa73ac086004962ec2f3d02148f8a201 (patch) | |
tree | 71c08aad03d9361a76ac6e1d0e3b58c6e03c3a59 /less | |
parent | 8544ef8734de46b927895f18ae4f149fa69a6fd2 (diff) |
Add .panel-footer
Diffstat (limited to 'less')
-rw-r--r-- | less/panels.less | 10 | ||||
-rw-r--r-- | less/variables.less | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/less/panels.less b/less/panels.less index 0d5a07ad40..a08febef3f 100644 --- a/less/panels.less +++ b/less/panels.less @@ -25,6 +25,16 @@ border-top-right-radius: (@panel-border-radius - 1); } +// Optional footer (stays gray in every modifier class) +.panel-footer { + margin: 15px -15px -15px; + padding: 10px 15px; + background-color: @panel-footer-bg; + border-top: 1px solid @panel-border; + border-bottom-left-radius: (@panel-border-radius - 1); + border-bottom-right-radius: (@panel-border-radius - 1); +} + // Contextual variations .panel-primary { border-color: @panel-primary-border; diff --git a/less/variables.less b/less/variables.less index cb07c83073..4feb9879a0 100644 --- a/less/variables.less +++ b/less/variables.less @@ -331,6 +331,7 @@ @panel-border: #ddd; @panel-border-radius: @border-radius-base; @panel-heading-bg: #f5f5f5; +@panel-footer-bg: #f5f5f5; @panel-primary-text: #fff; @panel-primary-border: @brand-primary; |