@import "./base.css";

.classic_theme_container {
  user-select: none;
  cursor: default;
  position: absolute;
  opacity: 0;
  z-index: -1;
  width: 100%;
  height: 250px;
  overflow-y: scroll;
  transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -ms-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  background-color: #fff;
  border-radius: 2px;
  top: 2rem;
  left: 0;
  transform: translateY(20px);
  -ms-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -o-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.08);
  -moz-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.08);
  -webkit-box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.12), 0 0 4px 0 rgba(0, 0, 0, 0.08);
}

.outside_container.active .classic_theme_container {
  opacity: 1;
  z-index: 2;
}

.classic_theme_container .classic_time {
  cursor: pointer;
  width: 100%;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-bottom: 1px solid #f3f3f3;
  background-color: #fff;
  transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -ms-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -moz-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -o-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
  -webkit-transition: all 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.classic_theme_container .classic_time .meridiem {
  font-size: 0.8em;
  opacity: 0.7;
}

.classic_theme_container .classic_time.dark.active,
.classic_theme_container .classic_time.dark:hover {
  background-color: #4a4a4a;
  color: #fff;
}

.classic_theme_container .classic_time.light.active,
.classic_theme_container .classic_time.light:hover {
  background-color: #0275d8;
  color: #fff;
}

/* dark theme */
.dark .classic_theme_container {
  background-color: #4a4a4a;
}

.dark .classic_theme_container .classic_time {
  border-bottom: 1px solid #5d5d5d;
  background-color: #4a4a4a;
  color: #fff;
}

.dark .classic_theme_container .classic_time.active,
.dark .classic_theme_container .classic_time:hover {
  background-color: #343434;
}
