* {
  all: unset; // Unsets everything so you can style everything from scratch
  font-family: FontAwesome, Overpass;
}

@import "./style/colors.scss";
// Global Styles
.bar {
  padding: 0px;
  >box>button {
    &:hover{
      background-color: rgba($color1,0.5);
    }
  }
.music {
  margin: 10px;
}
.tray_children {
  margin: 0px 10px;
}
.leftgroup {
  margin-left: 5px;
}
.rightgroup {
  margin-right: 10px;
}
.leftgroup>*,
.centergroup>*,
.rightgroup>* {
  margin: 10px 0px 0px 5px;
  min-width: 25px;
}
scale trough,
progressbar>trough {
  background-color: $color9;
  min-width: 100px;
  min-height: 10px;
  border-radius: 4px;
}
scale trough highlight,
progressbar>trough>progress {
  background-color: $color2;
  border-radius: 4px;
  min-height: 10px;
}
circular-progress {
  color: $color9;
  background-color: $color2;
}
.revealer-on-hover {
  background-color: rgba($color8,0.5);
  border: 2px solid rgba($color0,0.5);
  color: $color0;
  border-radius: 8px;
//  margin: 10px 0px;
}
.revealer-on-hover>widget>box>box>*,
.reveal_children>*,
.reveal_children>widget>image {
  padding: 5px;
  min-width: 25px;
  &:hover {
    background-color: rgba($color1,0.5);
  }
}
.revealer-on-hover>widget>box>box>*{
  border-radius:8px;
}
.reveal_children>box,
.reveal_children>widget,
.reveal_children>button {
  border-left: 2px solid rgba($color0,0.5);
}
.rightgroup>label,
.rightgroup>button,
.music,
.profile,
.active_window {
  background-color: rgba($color8,0.5);
  border: 2px solid rgba($color0,0.5);
  color: $color0;
  padding: 2px;
  border-radius: 8px;
//  margin: 10px 0px;
  padding: 5px;
}
label {
  margin-top: 2px;
}
.workspaces {
  background-color: rgba($color8,0);
  border: 0px solid rgba($color0,0);
  border-radius: 8px;
}
.workspaces button {
  background-color: rgba($color8,0.5);
  border: 2px solid rgba($color0,0.5);
  color: $color0;
//  margin: 10px 0px;
  padding: 5px;
  min-width: 25px;
}
.workspaces button:hover {
  background-color: rgba($color1,0.5);
  color: $color1;
  transition-property: background-color;
  transition-duration: .25s;
}
.workspaces .focused{
  background-color: rgba($color9,0.6);
  color: $color1;
}
button.active {
  color: $color1;
}
.workspaces button:first-child {
  border-radius:8px 0px 0px 8px;
}
.workspaces button:last-child,
.reveal_children>box:last-child,
.reveal_children>button:last-child {
  border-radius:0px 8px 8px 0px;
}
.workspaces button:only-child,
.reveal_children>box:only-child,
.reveal_children>button:only-child {
  border-radius:8px;  
}
menu {
  color: $color9;
  background-color: rgba($color0,0.75);
  border: 2px solid rgba($color0,0.5);
  border-radius: 8px;
  menuitem {
    padding:10px;
    margin:5px 10px;
    &:backdrop {
      background-color:green;
    }
    &:not(:disabled) {
      background-color: rgba($color8,0.6);
      border: 2px solid rgba($color0,0.5);
      border-radius:6px;
    }
    &:hover {
      background-color:rgba($color12,0.5);
      color: $color1;
      transition: all .2s ease;
    }
  }
}
}
tooltip{
  color: $color9;
  background-color: rgba($color0,0.75);
  border: 2px solid rgba($color0,0.5);
  border-radius: 8px;
}
.home {
  box {
    border-radius: 8px;
    box-shadow: inset 0 0 0px 3px rgba($color1,0.75);
  }
  .rat {
    background-size: cover;
    background-repeat: no-repeat;
  }
  .weather {
    background-color: rgba($color0,0.5);
    padding: 10px 0px;
  }
  .shortcuts {
    background-color: rgba($color0,0.5);
    padding: 40px;
    button {
      background-color: rgba($color9,0.5)
    }
    button:hover {
      background-color: rgba($color1,0.5)
    }
  }
}
