@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes dimming {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

html,
body {
  font-family: 'Dosis-Book', Helvetica, Tahoma, sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.25px;
  background: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
}

ul {
  margin: 0;
  padding: 10px 10px;
}
ul li {
  list-style: none;
  margin: 0;
  padding: 0 0 10px 0;
}

input[type='checkbox'] {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

label,
button {
  cursor: pointer;
}

a {
  outline: none;
  text-decoration: none;
  transition: all 0.3s ease-out;
  color: green;
}
a:visited {
  color: green;
}
a:hover {
  color: #1aff1a;
}

#options {
  padding: 10px 0px;
}

.popup-body {
  background-color: #eee;
}

.up-popup {
  width: 300px;
  padding: 15px 25px 15px 15px;
  border-radius: 3px;
  margin: 5px;
  box-shadow: #eee 0px 0px 0px 5px;
  background-color: white;
  animation: fadeInDown 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0s 1;
}
.up-popup .heading {
  padding: 10px 0;
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0s 1;
  position: relative;
}
.up-popup .heading::after {
  width: 100%;
  height: 2px;
  background-color: #eee;
  position: absolute;
  content: '';
  bottom: 0;
  left: 0;
  animation: fadeInDown 0.5s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0.1s 1;
}
.up-popup a {
  animation: fadeInLeft 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0.2s 1;
}
.up-popup ul li:nth-child(1) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.2s;
}
.up-popup ul li:nth-child(2) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.3s;
}
.up-popup ul li:nth-child(3) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.4s;
}
.up-popup ul li:nth-child(4) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.5s;
}
.up-popup ul li:nth-child(5) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.6s;
}
.up-popup ul li:nth-child(6) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.7s;
}
.up-popup ul li:nth-child(7) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.8s;
}
.up-popup ul li:nth-child(8) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 0.9s;
}
.up-popup ul li:nth-child(9) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 1s;
}
.up-popup ul li:nth-child(10) {
  animation: fadeInDown 0.75s both cubic-bezier(0.1, 0.71, 0.28, 1.14);
  animation-delay: 1.1s;
}

.sub-title {
  color: #999;
  font-size: 12px;
  font-weight: 600;
  display: block;
  text-align: right;
}

.up-content {
  padding: 30px;
  text-align: left;
  min-width: 380px;
}
.up-content h1 {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.up-content h1 button {
  margin-left: 10px;
  padding: 5px 30px;
  height: 30px;
  background-color: cornflowerblue;
  vertical-align: text-bottom;
}
.up-content button {
  display: inline-block;
  vertical-align: text-top;
  border: 0;
  background-color: #2aa32a;
  color: white;
  padding: 3px 5px;
  transition: all 0.3s ease-out;
  animation: fadeInLeft 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0s 1;
}
.up-content button:hover {
  background-color: #185bd3;
}
.up-content button[disabled] {
  animation: dimming 2s both ease-in-out 0s infinite;
  background-color: #222222;
}
.up-content #debug p {
  background-color: #eee;
  padding: 15px;
  transition: all 0.5s cubic-bezier(0.1, 0.71, 0.28, 1.14);
  border-bottom: 2px solid #fff;
  animation: fadeInDown 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0s 1;
}
.up-content #debug p.all-done {
  background-color: #e0f2de;
}
.up-content #debug ul {
  transition: all 0.5s cubic-bezier(0.1, 0.71, 0.28, 1.14);
  display: flex;
  flex-flow: row nowrap;
  padding: 0;
  animation: fadeInLeft 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0s 1;
}
.up-content #debug ul.each-done {
  border-bottom: 1px solid rgba(0, 128, 0, 0.5);
}
.up-content #debug ul.each-failed {
  border-bottom: 1px solid rgba(255, 0, 0, 0.5);
}
.up-content #debug ul li {
  padding: 15px;
  animation: fadeInLeft 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0.05s 1;
}
.up-content #debug ul li:nth-child(1) {
  flex: 0 0 50px;
  background-color: rgba(255, 236, 186, 0.5);
  text-align: right;
  animation: fadeInLeft 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0.1s 1;
}
.up-content #debug ul li:nth-child(2) {
  flex: 0 0 70px;
  background-color: rgba(255, 243, 214, 0.5);
  animation: fadeInLeft 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0.15s 1;
}
.up-content #debug ul li:nth-child(3) {
  flex: 1;
  word-break: break-all;
  background-color: rgba(255, 251, 242, 0.5);
  animation: fadeInLeft 1s both cubic-bezier(0.1, 0.71, 0.28, 1.14) 0.2s 1;
}

#refresh {
  position: absolute;
  top: 45px;
  left: 218px;
  padding: 5px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

#refresh #refresh-tip {
  display: block;
  position: absolute;
  font-size: 11px;
  width: 200px;
  left: -90px;
  top: -20px;
  padding: 5px 5px 5px 10px;
  background-color: indianred;
  color: white;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.1, 0.71, 0.28, 1.14);
}

#refresh img {
  transition: all 0.3s cubic-bezier(0.1, 0.71, 0.28, 1.14);
}

#refresh:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#refresh:hover #refresh-tip {
  top: -32px;
  opacity: 1;
}

#refresh:hover img {
  transform: rotate(180deg);
}

#up-save {
}

#status {
  margin-bottom: 10px;
  background-color: #efefef;
  padding: 10px 10px 10px 15px;
  word-break: break-all;
  word-wrap: break-word;
}

#open-folder {
  margin: 10px 0 0 0;
  padding: 20px 0;
  border-top: 1px dashed #efefef;
}

#version {
  font-size: 9px;
  position: absolute;
  top: 30px;
  left: 30px;
  color: green;
  pointer-events: none;
}

.success {
  color: green;
}

.failed {
  color: red;
}

.switch-version-title {
  margin-top: 20px;
  font-size: 16px;
}
.switch-version-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: stretch;
}

.switch-version-btn {
  margin: 5px 10px 5px 0;
  background-color: #eeeeee;
  transition: all 0.3s ease-out;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.switch-version-btn:hover {
  background-color: #dddddd;
}

.switch-version-btn.active {
  background-color: green;
  color: white;
}
