@charset "UTF-8";
html {
  font-size: 125%;
}

img {
  vertical-align: middle;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #11111100;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

:host {
  display: inline-block;
  position: relative;
}
:host .popover {
  min-width: 6rem;
  min-height: 6rem;
  margin-top: 0;
  background: #fff;
  box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12);
  position: fixed;
  border-radius: 0.3rem;
  z-index: 1088;
  transform-origin: 10px top !important;
}
:host .popover .item {
  margin: 0;
  font-size: 0.7rem;
  position: relative;
  height: 2.2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 1rem;
}
:host .popover .item:after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #e6e6e6;
  transform: scaleY(0.5);
}
:host .popover .item .label {
  font-size: inherit;
}

:host([direction]) .popover {
  position: absolute;
}

:host([direction^=bottom]) .popover {
  top: 0;
}

:host([direction^=top]) .popover {
  bottom: 0;
}

:host([direction$=left]) .popover {
  left: 0;
}

:host([direction$=right]) .popover {
  right: 0;
}