body {
  font-size: 12px;
  line-height: 1.2;
  -webkit-user-select: none;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
/*-窗口视图-*/
.app-window {
  display: flex;
  width: 1280px;
  height: 860px;
  background-color: #f1f1f1;
  position: relative;
}
/*-主页-*/
.app-home {
  display: flex;
  flex: 1280;
}
.app-home > .left {
  width: 220px;
  flex: 220;
  background-color: #404868;
  position: relative;
}
.app-home > .left .logo {
  height: 130px;
  text-align: center;
  font-size: 18px;
  color: #ffffff;
}
.app-home > .left .logo img {
  width: 80px;
  margin-top: 10px;
}
.app-home > .left .menus {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  max-height: 620px;
  padding-bottom: 10px;
  overflow-y: scroll;
}
.app-home > .left .menus .item {
  font-size: 14px;
  padding-left: 30px;
  height: 50px;
  line-height: 50px;
  color: #ffffff;
  cursor: pointer;
}
.app-home > .left .menus .item.active,
.app-home > .left .menus .item:hover {
  padding-left: 26px;
  border-left: 4px solid #40b0f6;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}
.app-home > .left .menus .item:active {
  background-color: rgba(255, 255, 255, 0.05);
}
.app-home > .left .menus .add {
  width: 90%;
  margin-left: 5%;
  height: 50px;
  line-height: 50px;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  cursor: pointer;
  border: 1px dotted rgba(255, 255, 255, 0.2);
}
.app-home > .left .menus .add:after {
  content: '+';
  font-size: 30px;
  font-weight: bold;
  display: block;
}
.app-home > .left .menus .add:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.4);
}
.app-home > .left .bottom {
  position: absolute;
  bottom: 10px;
  color: #ffffff;
  width: 100%;
  padding-top: 10px;
}
.app-home > .left .bottom .date {
  width: 150px;
  margin: 0 auto;
}
.app-home > .left .bottom .date .day {
  font-size: 36px;
  width: 60px;
  line-height: 60px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  background: #ffbb00;
}
.app-home > .left .bottom .date .right {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.app-home > .left .bottom .date .right .week {
  font-size: 18px;
  line-height: 30px;
}
.app-home > .left .bottom .date .right .lunar {
  font-size: 14px;
}
.app-home > .left .bottom .copy {
  text-align: center;
  font-size: 12px;
  line-height: 28px;
}
.app-home > .right {
  flex: 1060;
  position: relative;
  border-top: 1px solid #bbbbbb;
  border-right: 1px solid #bbbbbb;
  border-bottom: 1px solid #bbbbbb;
}
.app-home > .right .topBar {
  height: 60px;
  background: #ffffff;
}
.app-home > .right .topBar .searchBar {
  position: relative;
  display: inline-block;
  width: 320px;
  height: 40px;
  margin: 10px 10px 10px 50px;
  border-radius: 8px;
  background: #f1f1f1 url(../img/search-icon.png) no-repeat 10px center;
}
.app-home > .right .topBar .searchBar input {
  width: 280px;
  height: 40px;
  margin-left: 40px;
  padding-right: 50px;
  background: transparent;
  border: none;
  outline: none;
}
.app-home > .right .topBar .searchBar .clearSearch {
  position: absolute;
  right: 10px;
  top: 5px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.1);
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
}
.app-home > .right .topBar .btnBox {
  float: right;
}
.app-home > .right .topBar .btnBox .btn {
  font-size: 36px;
  color: #bbbbbb;
  width: 60px;
  height: 60px;
  display: inline-block;
  line-height: 60px;
  text-align: center;
  cursor: pointer;
}
.app-home > .right .topBar .btnBox .btnMin:hover {
  background: rgba(0, 0, 0, 0.1);
}
.app-home > .right .topBar .btnBox .btnClose:hover {
  color: #ffffff;
  background: rgba(255, 0, 0, 0.6);
}
.app-home > .right .weather {
  position: relative;
  padding-left: 40px;
  color: #ffffff;
  width: 100%;
  height: 120px;
  background: url(../img/weather-bg.png) no-repeat center top;
}
.app-home > .right .weather .location {
  font-size: 14px;
  float: right;
  background: url(../img/location-icon.png) no-repeat left center;
  padding: 10px 20px 10px 20px;
}
.app-home > .right .weather .weatherTime {
  color: #f1f1f1;
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 12px;
}
.app-home > .right .weather .cel {
  padding-top: 10px;
}
.app-home > .right .weather .cel .weatherIcon {
  display: inline-block;
  vertical-align: bottom;
}
.app-home > .right .weather .cel .weatherIcon img {
  width: 72px;
  height: 72px;
}
.app-home > .right .weather .cel .degree {
  font-size: 48px;
  display: inline-block;
  vertical-align: bottom;
}
.app-home > .right .weather .cel .weatherShort {
  font-size: 20px;
  padding-bottom: 8px;
  display: inline-block;
  vertical-align: bottom;
}
.app-home > .right .weather .remind {
  font-size: 18px;
  padding-top: 5px;
}
.app-home > .right .menu-list {
  position: absolute;
  top: 200px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  white-space: 0;
  overflow-y: scroll;
}
.app-home > .right .menu-list .item {
  width: 11.11%;
  padding: 1.5%;
  display: inline-block;
  cursor: pointer;
  vertical-align: top;
}
.app-home > .right .menu-list .item:active {
  background-color: rgba(0, 0, 0, 0.2);
}
.app-home > .right .menu-list .item .icon {
  width: 100%;
}
.app-home > .right .menu-list .item .icon img {
  display: block;
  width: 100%;
  padding: 10px;
}
.app-home > .right .menu-list .item .name {
  padding: 0 2px;
  color: #000000;
  font-size: 14px;
  line-height: 18px;
  max-height: 36px;
  text-align: center;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.rightClickMenu {
  position: absolute;
  min-width: 160px;
  background-color: #ffffff;
  border: 1px solid rgba(200, 200, 200, 0.6);
}
.rightClickMenu .menuItem:not(.line) {
  line-height: 22px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  position: relative;
}
.rightClickMenu .menuItem:not(.line) .title {
  padding: 5px 10px;
}
.rightClickMenu .menuItem:not(.line) .title:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.rightClickMenu .menuItem:not(.line):hover .childrenMenu {
  display: block;
}
.rightClickMenu .menuItem.line {
  font-size: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  height: 0;
  margin: 5px;
}
.rightClickMenu.childrenMenu {
  left: 100%;
  top: 0;
  display: none;
  max-height: 150px;
  overflow-y: scroll;
}
.rightClickMenu.imageX {
  transform: translateX(-100%);
}
.rightClickMenu.imageX .childrenMenu {
  left: auto;
  right: 100%;
  top: 0;
  display: none;
}
.rightClickMenu.imageY {
  transform: translateY(-100%);
}
.rightClickMenu.imageY .childrenMenu {
  left: 100%;
  top: auto;
  bottom: 0;
  display: none;
}
.editItem {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  background-color: rgba(0, 0, 0, 0.2);
}
.editItem .content {
  position: absolute;
  width: 380px;
  left: 50%;
  top: 50%;
  background: #ffffff;
  padding: 20px;
  transform: translate3d(-50%, -50%, 0) scale(1);
}
.editItem .content .submit {
  padding-top: 20px;
}
.editItem .content button {
  width: 160px;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
}
