.@{prefixClass}-decade-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: #fff;
  outline: none;
}

.@{prefixClass}-decade-panel-hidden {
  display: none;
}

.@{prefixClass}-decade-panel-header {
  position: relative;
  height: 34px;
  padding: 0 10px;
  line-height: 34px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  -webkit-user-select: none;
  user-select: none;

  > a {
    display: inline-block;
    width: 30px;
    padding: 1px 5px;
    font-weight: bold;
    text-align: center;

    &:hover {
      color: #23c0fa;
      cursor: pointer;
    }
  }
}

.@{prefixClass}-decade-panel-prev-century-btn,
.@{prefixClass}-decade-panel-next-century-btn {
  position: absolute;
  top: 0;
}

.@{prefixClass}-decade-panel-next-century-btn {
  &::after {
    content: '»';
  }
}

.@{prefixClass}-decade-panel-prev-century-btn {
  left: 0;
  user-select: none;
  &::after {
    content: '«';
  }
}

.@{prefixClass}-decade-panel-next-century-btn {
  right: 0;
  user-select: none;
}

.@{prefixClass}-decade-panel-body {
  flex: 1;
  padding: 9px 10px 10px;
}

.@{prefixClass}-decade-panel-footer {
  line-height: 38px;
  border-top: 1px solid #ccc;
}

.@{prefixClass}-decade-panel-table {
  width: 100%;
  height: 100%;
  table-layout: fixed;
  border-collapse: separate;
}

.@{prefixClass}-decade-panel-cell {
  text-align: center;
}

.@{prefixClass}-decade-panel-decade {
  display: block;
  height: 36px;
  margin: 0 auto;
  padding: 0;
  color: #666;
  line-height: 36px;
  text-align: center;
  background: transparent;
  border-radius: 4px 4px;

  &:hover {
    background: #ebfaff;
    cursor: pointer;
  }
}

.@{prefixClass}-decade-panel-selected-cell .@{prefixClass}-decade-panel-decade {
  color: #fff;
  background: #3fc7fa;

  &:hover {
    color: #fff;
    background: #3fc7fa;
  }
}

.@{prefixClass}-decade-panel-last-century-cell,
.@{prefixClass}-decade-panel-next-century-cell {
  .@{prefixClass}-decade-panel-decade {
    color: rgba(0, 0, 0, 0.25);
    -webkit-user-select: none;
    user-select: none;
  }
}
