src/css/desktop/newtaskbar.css
@import url("./newtaskbar/vertical.css");
@import url("./newtaskbar/horizontal.css");
@import url("./newtaskbar/colored.css");

div.taskbar-h,
div.taskbar-v {
  position: absolute;
  border-radius: var(--win-border-rad);
  left: 10px;
  box-sizing: border-box;
  background-color: var(--startmenu-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-alt-bg) 1px solid;
  display: flex;
  overflow: hidden;
}

div.newtb:not(.visible) {
  transition: none !important;
}

div.newtb button {
  vertical-align: middle;
}

div.newtb button * {
  vertical-align: middle;
}

div.newtb button.attention {
  position: relative;
}

div.newtb button.attention::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: orange;
  opacity: 0.3;
  border-radius: inherit;
  z-index: -1;
  animation: blink 1s infinite;
}

div.newtb button.start {
  height: 100%;
  border-radius: 5px;
  border: none;
  background-color: transparent;
  color: var(--fg);
  padding: 0;
  margin: 0;
  width: 35px;
  height: 35px;
  transition: opacity 0.3s, background-color 0.2s;
  margin-right: 5px;
  position: relative;
}

div.newtb button.start.open::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  opacity: 0.3;
  border-radius: inherit;
  z-index: -1;
}

div.newtb button.start img {
  height: 25px;
  width: 25px;
}

div.newtb button.start:not(.open) svg.accented-logo path {
  --accent: #fff5;
}

@keyframes blink {
  0% {
    opacity: 0.05;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.05;
  }
}
