Blame view

styles/mixins/content.less 636 Bytes
be966e9f   梁灏   add Modal component
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
  @icon-prefix-cls: ~"@{css-prefix}icon";
  
  .content-header() {
      border-bottom: 1px solid @border-color-split;
      padding: 10px 16px;
      line-height: 1;
  
      p {
          display: inline-block;
          width: 100%;
          height: 20px;
          line-height: 20px;
          font-size: 14px;
          font-weight: bold;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
      }
  }
  
  .content-close(@top: 0) {
      font-size: 12px;
      position: absolute;
      right: 16px;
      top: 8px;
      overflow: hidden;
      cursor: pointer;
  
      .@{icon-prefix-cls}-ios-close-empty {
          .close-base(@top);
      }
  }