production-taskbar-client / src / renderer / app / Taskbar.less
Taskbar.less
Raw
@import "vars";

* {
  box-sizing: border-box;
}

html,
body {
  background-color: transparent !important;
  margin: 0px;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.app-content {
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: @primary-color;
}

.app-content--compact {
  .app-content;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.app-content__fetching-background {
  flex: auto;
  align-self: stretch;
  background: linear-gradient(90deg, @info-color, @background-color);
  background-size: 500% 500%;
  animation: spin-background 3s cubic-bezier(0.45, -0.43, 1, -1.26) infinite;
}

@keyframes spin-background {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 50% 100%;
  }
}

:global(.ant-popover) {
  font-size: 8px;
  line-height: 0.8;
}

body .ant-popover {
  font-size: 0.8rem;
  line-height: 1.1;
}

body .ant-popover-title {
  min-height: 0.3vh;
  min-width: 30px !important;
  padding: 1px 4px 2px;
  text-align: center;
  margin-bottom: 0 !important;
}

body .ant-popover-inner {
  padding: 0 !important;
}

body .ant-popover-inner-content {
  min-height: 0.3vh;
  padding: 2px 4px;
  text-align: center;
}

body .ant-popover-inner-content .ant-typography {
  font-size: 12px;
}

.dev-quit-button.ant-btn {
  position: absolute;
  right: 0;
  font-size: 10vh;
  font-weight: bold;
  padding: 1px;
  height: auto;
  background: orange;
}

.draggable {
  -webkit-app-region: drag;
}