1 @import "ui-variables";
4 .btn-background (@color, @hover-color, @selected-color, @border-color, @text-color, @text-color-hover) {
5 @active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
7 background-color: transparent;
9 &.selected:hover:active {
13 color: @text-color-selected;
14 text-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
20 .btn-variant (@color) {
21 @bg: darken(@color, 10%);
24 @border: fadeout(darken(@color, 20%), 50%);
25 .btn-background(@bg, @hover, @selected, @border, @text-color-selected, @text-color-selected);
34 top: 3px; right: 4px; bottom: 4px; left: 3px;
38 outline: 1px dotted black;
42 .ui-raised-shadow-active;
46 .ui-inset-shadow-active;
48 .btn-background(@button-background-color, @button-background-color-hover, @button-background-color-selected, @button-border-color, @text-color, @text-color-highlight);
52 .btn-variant(@background-color-info);
55 .btn-variant(@background-color-info);
58 .btn-variant(@background-color-success);
61 .btn-variant(@background-color-warning);
64 .btn-variant(@background-color-error);