@import url("themes/blank.css");

#cloudtabs-session-clock {
  display: inline-block;
  height: 15px;
  margin: auto;
}

button.ct-extend, a.ct-home {
  transition: 0.1s all ease;
}

button.ct-extend {
  appearance: button; 
  background: dodgerblue;
  color: whitesmoke;
  border: thin solid gray;
  padding: 0 0.5em;
  opacity: 1;
  border-radius: 2px;
}

button.ct-extend:hover {
  position: relative;
  z-index: 20000000;
  background: deepskyblue !important;
  color: white;
  border-color: springgreen;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.333em;
}

a.ct-home {
  text-decoration: none;
}

a.ct-home:hover {
  position: relative;
  z-index: 20000000;
  border: thin dotted var(--ultra-contrast);
  padding: 0 0.5em;
  margin-top: 0.333em;
}

.status-bar {
  position: relative;
  vertical-align: super;
  height: 15px;
  max-height: 16px;
  max-width: 350px;
  display: inline-flex;
  align-items: center;
}

.tor-status {
  color: #A420D0; /* purple */
  font-weight: bold;
}

.status-bar.progress {
  cursor: progress;
}

.download-count, .download-mb {
  font-size: 9px !important;
}

#download-status-bar {
  position: relative;
}

.download-meter {
  flex-grow: 1;
  max-width: 100%;
  width: 100px;
}

.download-mb {
  color: gray;
  display: inline-block;
  position: absolute;
  z-index: 1000;
  text-align: right;
  width: 100%;
  font-size: 9px;
  padding: 1px 2px;
  box-sizing: border-box;
}

progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 0.5rem;
  line-height: 1.3;
  --position: 0%;
  --rotation: 45deg;
  border: thin solid silver;
  margin: 0 1.5px;
}

/* Chrome */
progress::-webkit-progress-bar {
  background: transparent;
}

progress::-webkit-progress-value {
  background: linear-gradient(var(--rotation), rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0)), aquamarine;
  background-size: 200% 100%;
  background-position: var(--position) 0;
}

progress::-moz-progress-bar {
  background: linear-gradient(var(--rotation), rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
  background-size: 200% 100%;
  background-position: var(--position) 0;
}

@media screen and (max-width: 600px) {
  .status-bar {
    max-width: 38vw;
    max-height: 16px;
    overflow: hidden;
  }
  .wide-word {
    display: none;
  }
  .download-count, .download-mb {
  }
}


