diff options
Diffstat (limited to 'src/_panels.scss')
-rw-r--r-- | src/_panels.scss | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/_panels.scss b/src/_panels.scss new file mode 100644 index 0000000..386f96e --- /dev/null +++ b/src/_panels.scss @@ -0,0 +1,23 @@ +// Panels +.panel { + border: $border-width solid $border-color; + border-radius: $border-radius; + display: flex; + flex-direction: column; + + .panel-header, + .panel-footer { + flex: 0 0 auto; + padding: $layout-spacing-lg; + } + + .panel-nav { + flex: 0 0 auto; + } + + .panel-body { + flex: 1 1 auto; + overflow-y: auto; + padding: 0 $layout-spacing-lg; + } +} |