aboutsummaryrefslogtreecommitdiff
path: root/atom/packages/aesthetic-ui/styles/buttons.less
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2019-03-14 23:19:58 +0100
committerBen Beltran <ben@nsovocal.com>2019-03-14 23:19:58 +0100
commitb009b50e81b6c1d0d691505b5f5c0418f559bfc0 (patch)
tree5fae800e76219eba28634cb236565f9b4bb7a2f7 /atom/packages/aesthetic-ui/styles/buttons.less
parent4efcafab7f0aa454f9ebe767133654bc9f44e12c (diff)
Remove Atom config
Diffstat (limited to 'atom/packages/aesthetic-ui/styles/buttons.less')
-rw-r--r--atom/packages/aesthetic-ui/styles/buttons.less69
1 files changed, 0 insertions, 69 deletions
diff --git a/atom/packages/aesthetic-ui/styles/buttons.less b/atom/packages/aesthetic-ui/styles/buttons.less
deleted file mode 100644
index 8152365..0000000
--- a/atom/packages/aesthetic-ui/styles/buttons.less
+++ /dev/null
@@ -1,69 +0,0 @@
-@import "ui-variables";
-@import "ui-mixins";
-
-.btn-background (@color, @hover-color, @selected-color, @border-color, @text-color, @text-color-hover) {
- @active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
- color: @text-color;
- background-color: transparent;
- &:active,
- &.selected:hover:active {
- }
- &.selected,
- &.selected:hover {
- color: @text-color-selected;
- text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
- }
- &.selected:hover {
- }
-}
-
-.btn-variant (@color) {
- @bg: darken(@color, 10%);
- @hover: @color;
- @selected: @color;
- @border: fadeout(darken(@color, 20%), 50%);
- .btn-background(@bg, @hover, @selected, @border, @text-color-selected, @text-color-selected);
-}
-
-.btn {
- position: relative;
- &::after {
- content: '';
- display: block;
- position: absolute;
- top: 3px; right: 4px; bottom: 4px; left: 3px;
- pointer-events: none;
- }
- &:focus::after {
- outline: 1px dotted black;
- }
- .ui-raised-shadow;
- &:focus {
- .ui-raised-shadow-active;
- outline: none;
- }
- &:active {
- .ui-inset-shadow-active;
- }
- .btn-background(@button-background-color, @button-background-color-hover, @button-background-color-selected, @button-border-color, @text-color, @text-color-highlight);
-}
-
-.btn.btn-primary {
- .btn-variant(@background-color-info);
-}
-.btn.btn-info {
- .btn-variant(@background-color-info);
-}
-.btn.btn-success {
- .btn-variant(@background-color-success);
-}
-.btn.btn-warning {
- .btn-variant(@background-color-warning);
-}
-.btn.btn-error {
- .btn-variant(@background-color-error);
-}
-
-.btn-group > .btn {
- border: none;
-}