target/classes/static/plugins/element-ui/packages/theme-chalk/src/date-picker/time-picker.scss

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@import "../common/var";

@include b(time-panel) {
  margin: 5px 0;
  border: solid 1px $--datepicker-border-color;
  background-color: $--color-white;
  box-shadow: $--box-shadow-light;
  border-radius: 2px;
  position: absolute;
  width: 180px;
  left: 0;
  z-index: $--index-top;
  user-select: none;
  box-sizing: content-box;

  @include e(content) {
    font-size: 0;
    position: relative;
    overflow: hidden;

    &::after, &::before {
      content: "";
      top: 50%;
      position: absolute;
      margin-top: -15px;
      height: 32px;
      z-index: -1;
      left: 0;
      right: 0;
      box-sizing: border-box;
      padding-top: 6px;
      text-align: left;
      border-top: 1px solid $--border-color-light;
      border-bottom: 1px solid $--border-color-light;
    }

    &::after {
      left: 50%;
      margin-left: 12%;
      margin-right: 12%;
    }

    &::before {
      padding-left: 50%;
      margin-right: 12%;
      margin-left: 12%;
    }

    &.has-seconds {
      &::after {
        left: calc(100% / 3 * 2);
      }

      &::before {
        padding-left: calc(100% / 3);
      }
    }
  }

  @include e(footer) {
后面还有 25 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。