Blame view

src/styles/mixins/content.less 738 Bytes
be966e9f   梁灏   add Modal component
1
2
3
4
  @icon-prefix-cls: ~"@{css-prefix}icon";
  
  .content-header() {
      border-bottom: 1px solid @border-color-split;
09a04302   梁灏   optimize Modal style
5
      padding: 14px 16px;
be966e9f   梁灏   add Modal component
6
7
      line-height: 1;
  
09a04302   梁灏   optimize Modal style
8
9
10
      p,
      &-inner
      {
be966e9f   梁灏   add Modal component
11
12
13
14
          display: inline-block;
          width: 100%;
          height: 20px;
          line-height: 20px;
09a04302   梁灏   optimize Modal style
15
16
          font-size: @font-size-base;
          color: @title-color;
be966e9f   梁灏   add Modal component
17
18
19
20
21
22
23
          font-weight: bold;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
      }
  }
  
09a04302   梁灏   optimize Modal style
24
25
  .content-close(@top: 0, @icon-font-size: 22px) {
      font-size: @font-size-small;
be966e9f   梁灏   add Modal component
26
      position: absolute;
16706b2e   梁灏   update Alert icon
27
      right: 8px;
be966e9f   梁灏   add Modal component
28
29
30
31
      top: 8px;
      overflow: hidden;
      cursor: pointer;
  
9eba26fe   梁灏   update Select Icons
32
      .@{icon-prefix-cls}-ios-close {
09a04302   梁灏   optimize Modal style
33
          .close-base(@top, @icon-font-size);
be966e9f   梁灏   add Modal component
34
35
      }
  }