/* Material-light theme created by Alfredo Monclus 2021 */
@define-color bg #FAFAFA;
@define-color text black;
@define-color color1 #FFF59D;
@define-color color2 #F48FB1;
@define-color color3 #C5E1A5;
@define-color color4 #80DEEA;
@define-color border #BDBDBD;
@define-color active #FFAB91;
@define-color warning #FFE082;
@define-color error #EF9A9A;
@define-color echo #a1ef9a;
@define-color popup #006064;
@define-color dialog #80CBC4;
@define-color textview #212121;

* {
    color: @text ;
}

list row,
treeview.view,
window {
    background-color: @bg;
}

button {
    background-color: @bg;
}

button label{
    color: @text;
}

button:active {
    background-color: @active;
}

.button_active {
    border-color: @border;
    border-style: solid;
    border-width: .25em;
    background-color: @bg;
    box-shadow: .1em .1em @border;
    border-radius: 1em;
}

button.color1 label,
button.color2 label,
button.color3 label,
button.color4 label {
    color: @text;
}

button.color1 {
    background-color: @color1;
    border-color: @color1;
    box-shadow: .1em .1em @border;
    border-radius: 1em;
}

button.color2 {
    background-color: @color2;
    border-color: @color2;
    box-shadow: .1em .1em @border;
    border-radius: 1em;
}

button.color3 {
    background-color: @color3;
    border-color: @color3;
    box-shadow: .1em .1em @border;
    border-radius: 1em;
}

button.color4 {
    background-color: @color4;
    border-color: @color4;
    box-shadow: .1em .1em @border;
    border-radius: 1em;
}

button.color1:active,
button.color2:active,
button.color3:active,
button.color4:active,
button.update:active,
button.invalid:active,
.dialog button:active {
    border-style: none;
}

button.active {
    background-color: @active;
}

button.update {
    background-color: @color3;
    border-color: @color3;
}

button.invalid {
    background-color: @error;
    border-color: @error;
}

combobox window.popup {
    background-color: @bg;
}

combobox box button {
    background-color: @bg;
    border-color: @border;
}

treeview.view check,
switch {
    background-color: @border;
}

treeview.view check:checked,
switch:checked {
    background-color: @color3;
}

treeview.view check,
switch slider,
scale trough,
progressbar trough,
scale trough slider {
    border: .1em solid @border;
}

entry {
    border-color: @border;
    background-color: @bg;
}

.frame-item {
    border-bottom-color: @border;
}

label {
    color: @text;
}

menu {
    background-color: @bg;
    border-color: @border;
}

menuitem {
    background-color: @bg;
    border-color: @border;
}

trough {
    background-color: transparent;
    color: @border;
    border-radius: 1em;
}

trough highlight,
trough progress {
    background-color: @color2;
    color: @bg;
    border-color: @border;
    border-top-left-radius: 1em;
    border-bottom-left-radius: 1em;
}


progressbar trough progress {
    border-top-right-radius: 1em;
    border-bottom-right-radius: 1em;
}

scale-mark {
    color: @bg;
}

scrollbar,
scrollbar button,
scrollbar trough {
    background-color: transparent;
}

scrollbar slider {
    background-color: @border;
}

textview {
    background-color: @textview;
}

textview .time {
    color: @border;
}

.popup {
    background-color: @popup;
}

.dialog {
    border: @border;
    background-color: @bg;
}

.dialog button {
    background-color: @dialog;
    border-bottom-color: @dialog;
    border-radius: .75em;
}

.dialog button:nth-child(1) {
    background-color: @color3;
    border-bottom-color: @color3;
}

.dialog button:nth-child(2) {
    background-color: @error;
    border-bottom-color: @error;
}

.dialog button:nth-child(1) label ,
.dialog button:nth-child(2) label {
    color: @text;
}

.tempbutton_top,
.tempbutton,
.tempbutton_bottom,
.distbutton_top,
.distbutton,
.distbutton_bottom  {
    border-color: @border;
    background-color: @bg;
}

.distbutton_active {
    background-color: @active;
}

.distbutton_active label {
    color: @text;
}

.fan_slider {
    color: @bg;
}

.message_popup {
    border-bottom-color: @border;
}

.message_popup_echo,
.message_popup_echo button {
    background-color: @echo;
}

.message_popup_warning,
.message_popup_warning button {
    background-color: @warning;
}

.message_popup_error,
.message_popup_error button {
    background-color: @error;
}

.numpad_key {
    border-color: @border;
    background-color: @bg;
}

.printing-status {
    color: @text;
}

.printing-progress-text {
    color: @text;
}

.printing-status-label {
    color: @text;
}

.message {
    border-color: @error;
    color: @bg;
    background-color: @error;
}

.message button {
    background-color: @bg;
    color: @text;
}

.warning {
    background-color: @warning;
}

.error {
    background-color: @error;
}

.keyboard_pad {
    background-color: @border;
}
