@charset "UTF-8";
body,
html {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  background-color: #f8f9fa;
  width: 100%;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  position: relative;
}

* {
  font-size: 0.95rem;
  font-family: "Noto Sans TC", sans-serif;
}
@media screen and (max-width: 678px) {
  * {
    font-size: 1rem;
  }
}

.tip {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
  background-color: #acc0d6;
  color: #fff;
  padding: 8px 0px;
}

#app {
  margin-top: 30px;
  background-color: #fff;
  display: inline-block;
  border-radius: 15px;
  padding: 15px 0px;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
  min-width: 450px;
}
@media screen and (max-width: 678px) {
  #app {
    min-width: 100%;
  }
}

.appName {
  font-size: 1.2rem;
  margin: 0 0 10px 20px;
}

.add {
  padding: 10px;
}
.add #addTask {
  width: 100%;
  text-align: left;
  border-radius: 20px;
  padding: 5px 10px;
  transition: 0.1s;
  color: #1a73e8;
  background-color: #fff;
  border: none;
  cursor: pointer;
  margin-bottom: 5px;
}
.add #addTask:hover {
  background-color: #f7fafe;
}
.add #addTask i {
  font-size: 1rem;
  transform: translateY(1px);
}

.newTask {
  padding-left: 35px;
}
.newTask .inputText {
  padding: 15px;
}

.taskslist,
.newTask {
  display: flex;
}
.taskslist:hover,
.newTask:hover {
  background-color: #f8f9fa;
}
.taskslist:focus-within,
.newTask:focus-within {
  background-color: #f8f9fa;
}

.taskslist {
  align-items: center;
}

.updateInput,
.inputText {
  border: none;
  background-color: transparent;
  outline: none;
  flex: 1;
  padding: 10px 0 10px 10px;
  cursor: default;
}
.updateInput:focus,
.inputText:focus {
  background-color: transparent;
  outline: none;
  cursor: text;
}
.updateInput.done,
.inputText.done {
  text-decoration: line-through;
}

.delBtn {
  color: #a2a2a2;
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 0 15px;
}
.delBtn:hover {
  color: rgb(229, 94, 91);
}

.checkBtn {
  margin-left: 20px;
  cursor: pointer;
}

.fade-transition {
  transition: 0.5s ease;
  opacity: 0; /* 默认不可见 */
  max-height: 0;
  pointer-events: none;
}

.fade-enter-active {
  transition: 0.5s ease;
  opacity: 1; /* 完全可见 */
  max-height: 100px;
  pointer-events: visible;
}/*# sourceMappingURL=style.css.map */