aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/aesthetic-ui/styles/panels.less
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2017-03-02 13:13:31 -0600
committerBen Beltran <ben@nsovocal.com>2017-03-02 13:13:31 -0600
commit06a3d6866e4f545abddd6654e490e50b623330a9 (patch)
treee0e6a7d72eeaf647d03a44ed5c12733796fb8b87 /atom/packages/aesthetic-ui/styles/panels.less
parent49c52987b6c6be6392351b6a7b227efc7341a414 (diff)
Update atoms
Diffstat (limited to 'atom/packages/aesthetic-ui/styles/panels.less')
-rw-r--r--atom/packages/aesthetic-ui/styles/panels.less56
1 files changed, 56 insertions, 0 deletions
diff --git a/atom/packages/aesthetic-ui/styles/panels.less b/atom/packages/aesthetic-ui/styles/panels.less
new file mode 100644
index 0000000..8d4cad6
--- /dev/null
+++ b/atom/packages/aesthetic-ui/styles/panels.less
@@ -0,0 +1,56 @@
+@import "ui-mixins";
+@import "ui-variables";
+@import "buttons";
+
+.panel {
+ &.bordered {
+ border: 1px solid @base-border-color;
+ border-radius: @component-border-radius;
+ }
+}
+
+atom-panel, .tool-panel {
+ .text(normal);
+ position: relative;
+
+ background-color: @tool-panel-background-color;
+
+ &.bottom, &.panel-bottom {
+ border-top: 1px solid @tool-panel-border-color;
+ }
+
+ &.left, &.panel-left {
+ border-right: 1px solid @tool-panel-border-color;
+ }
+
+ &.right, &.panel-right {
+ border-left: 1px solid @tool-panel-border-color;
+ }
+
+ .inset-panel {
+ border-radius: @component-border-radius;
+
+ border: 1px solid @tool-panel-border-color;
+ }
+}
+
+.inset-panel {
+ position: relative;
+ background-color: @inset-panel-background-color;
+}
+
+.panel-heading {
+ border-bottom: none;
+ padding: @component-padding - 2px @component-padding;
+
+ background-color: transparent;
+ background-image: -webkit-linear-gradient(@panel-heading-background-color, darken(@panel-heading-background-color, 10%));
+
+ .btn {
+ @bg: lighten(@button-background-color, 10%);
+ @hover: lighten(@button-background-color-hover, 10%);
+ @selected: lighten(@button-background-color-selected, 10%);
+ @text: lighten(@text-color, 10%);
+ .btn-background(@bg, @hover, @selected, @button-border-color, @text, @text);
+ }
+}