Summary Files Commits Branches @commit @diff @stats
path: root / src / panels.less
diff options
context:
space:
mode:
Commitee309ce40db4bc0fb5b4ccc076a054dd9574ac5f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-03-12 01:04:04 +0800
Committer
 GitHub <noreply@github.com>
2017-03-12 01:04:04 +0800
Filesd6432eb1e5c029aab46fb24407631f012c634eef /src/panels.less
Spectre-Dark-Gruvbox-0.2.9.tar
Spectre-Dark-Gruvbox-0.2.9.tar.gz
Spectre-Dark-Gruvbox-0.2.9.zip
Parentb8401cd75408b96bedb1220b2f7019ea0bab7516 (diff)
Parent589c7d83189afc70baca5278c32cf0da94649148 (diff)
Merge pull request #165 from picturepan2/feature/0.2.9 v0.2.9
Feature/0.2.9
1 files changed, 31 insertions, 0 deletions
-rw-r--r--src/panels.less31
diff --git a/src/panels.less b/src/panels.less
new file mode 100644
index 0000000..e368d76
--- /dev/null
+++ b/src/panels.less
@@ -0,0 +1,31 @@
+// Panels
+.panel {
+ border: .1rem solid @border-color;
+ border-radius: @border-radius;
+ display: flex;
+ flex-direction: column;
+
+ .panel-header,
+ .panel-footer {
+ flex: 0 0 auto;
+ padding: 1.5rem;
+ }
+
+ .panel-nav {
+ flex: 0 0 auto;
+ }
+
+ .panel-body {
+ flex: 1 1 auto;
+ overflow-y: auto;
+ }
+
+ .panel-body {
+ padding: 0 1.5rem;
+ }
+
+ .panel-title {
+ font-size: 2rem;
+ line-height: 1.4;
+ }
+}