Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/_panels.scss')
-rw-r--r--src/_panels.scss23
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;
+ }
+}