Blame view

src/styles/mixins/content.less 793 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
          font-weight: bold;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
      }
109eb52d   梁灏   update Card style
22
      p i, p span{
14b1413a   梁灏   update Card head ...
23
24
          vertical-align: middle;
      }
be966e9f   梁灏   add Modal component
25
26
  }
  
09a04302   梁灏   optimize Modal style
27
28
  .content-close(@top: 0, @icon-font-size: 22px) {
      font-size: @font-size-small;
be966e9f   梁灏   add Modal component
29
      position: absolute;
16706b2e   梁灏   update Alert icon
30
      right: 8px;
be966e9f   梁灏   add Modal component
31
32
33
34
      top: 8px;
      overflow: hidden;
      cursor: pointer;
  
9eba26fe   梁灏   update Select Icons
35
      .@{icon-prefix-cls}-ios-close {
09a04302   梁灏   optimize Modal style
36
          .close-base(@top, @icon-font-size);
be966e9f   梁灏   add Modal component
37
38
      }
  }