common.less 1.09 KB
Newer Older
崔佳豪's avatar
崔佳豪 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
@root-entry-name: 'default';
@import (reference) '~antd/es/style/themes/index.less';
@message-cls: ~'@{ant-prefix}-notifier-message';
:global {

.@{message-cls}-container {
  width: 100%;
  padding: 10px 10px 10px 56px;
  padding-top: 8px;
  padding-right: 10px;
  padding-left: 57px;
  &:hover {
    .@{message-cls}-title {
      .@{message-cls}-confirm {
        visibility: visible;
      }
    }
  }
  .@{message-cls}-title {
    display: flex;
    justify-content: space-between;
    align-items: center;

    span {
      color: #000;
      font-weight: bold;
      letter-spacing: 0;
      text-shadow: none;
    }

    .@{message-cls}-confirm {
      width: 17px;
      height: 12px;
      visibility: hidden;
    }
  }
  .@{message-cls}-content {
    margin-top: 2px;
    p {
      i {
        margin-right: 10px;
        color: #000;
        color: #1ba6f9;
        font-size: 14px;
        font-style: normal;
        text-shadow: none;
      }
      margin-bottom: 3px;
      font-size: 12px;
    }
  }
  .@{message-cls}-time {
    font-size: 12px;
    opacity: 0.65;
    margin-bottom: 0;
  }
}
  
}