/* Material-dark theme created by Alfredo Monclus 2021 */

* {
    color: #e2e2e2;
}

window {
    background-color: #121212;
    background-image: url("./styles/material-dark/background.svg");
    background-size: cover;
}

button {
    background-color: rgba(0,0,0,0);
}

button:active {
    background-color: #d8a415;
}

.button_active {
    background-color: rgba(0,0,0,0);
    border-color: #d81549;
    border-style: dashed;
    border-width: .25em;
    border-radius: 1em;
}

button.color1 {
    background-color: rgba(0,0,0,0.5);
    border-color: #d46900;
    border-radius: 1em;
}

button.color2 {
    background-color: rgba(0,0,0,0.5);
    border-color: #ed3c63;
    border-radius: 1em;
}

button.color3 {
    background-color: rgba(0,0,0,0.5);
    border-color: #849900;
    border-radius: 1em;
}

button.color4 {
    background-color: rgba(0,0,0,0.5);
    border-color: #007db4;
    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: #ee6002;
}

button.update {
    background-color: rgba(0,0,0,0.5);
    border: 0;
    border-bottom: .3em solid;
    border-bottom-color: #849900;
    border-radius: .75em;
}

button.invalid {
    background-color: rgba(0,0,0,0.5);
    border: 0;
    border-bottom: .3em solid;
    border-bottom-color: #B71C1C;
    border-radius: .75em;
}

combobox box button {
    background-color: #1f1f1f;
    border-color: #121212;
}

switch {
    background-color: #1f1f1f;
    border-color: #121212;
}

switch:checked {
    background-color: #849900;
}

switch slider {
    border: 0;
}

entry {
    background-color: #1f1f1f;
    border-color: rgba(0,0,0,0);
}

frame {
    color: #e2e2e2;
    border-bottom-color: #1f1f1f;
}

label {
    color: #e2e2e2;
}

menu {
    background-color: #121212;
    border-color: #a2a2a2;
}

menuitem {
    background-color: #121212;
    border-color: #a2a2a2;
}

trough {
    background-color: #1f1f1f;
    color: #e2e2e2;
}

trough highlight, trough progress {
    background-color: #d81549;
    color: #e2e2e2;
    border-color: #121212;
}

scale-mark {
    color: #e2e2e2;
}

scrollbar, scrollbar button, scrollbar trough {
    background-color: rgba(0,0,0,0);
}

scrollbar slider {
    background-color: #2f2f2f;
}

textview .time {
    color: #9E9E9E;
}

.popup {
    background-color: #006064;
}

.dialog {
    border: #121212;
    background-color: #121212;
    background-image: url("./styles/material-dark/background.svg");
    background-size: cover;
}

.dialog button {
    background-color: rgba(0,0,0,0.5);
    border-bottom-color: #1f1f1f;
    border-radius: .75em;
}

.dialog button:nth-child(1) {
    border-bottom-color: #849900;
}

.dialog button:nth-child(2) {
    border-bottom-color: #B71C1C;
}

.tempbutton_top, .tempbutton, .tempbutton_bottom, .distbutton_top, .distbutton, .distbutton_bottom  {
    border-color: #121212;
    background-color: rgba(0,0,0,0.5);
}

.distbutton_active {
    background-color: #d46900;
}

.fan_slider {
    color: #e2e2e2;
}

.message_popup {
    border-bottom-color: #e2e2e2;
}

.message_popup_echo, .message_popup_echo button {
    background-color: #006412;
}

.message_popup_error, .message_popup_error button {
    background-color: #B71C1C;
}

.numpad_tleft, .numpad_top, .numpad_tright, .numpad_left, .numpad_button, .numpad_right, .numpad_bleft, .numpad_bottom, .numpad_bright {
    border-color: #121212;
    background-color: rgba(0,0,0,0.5);
}

.printing-status {
    color: #e2e2e2;
}

.printing-progress-bar {
    color: #006064;
}

.printing-progress-text {
    color: #e2e2e2;
}

.printing-status-label {
    color: #9E9E9E;
}

.message {
    border-color: #B71C1C;
    color: #e2e2e2;
    background-color: #B71C1C;
}

.message button {
    background-color: #e2e2e2;
    color: #121212;
}

.warning {
    background-color: #EF6C00;
}

.error {
    background-color: #B71C1C;
}
