Blame view

public/assets/less/fastadmin/info-box.less 1.11 KB
2db47680   hexiaodong   chore: 初始提交 php 遗...
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  /*
   * Component: Info Box
   * -------------------
   */
  .info-box {
    display: block;
    min-height: 90px;
    background: #fff;
    width: 100%;
    box-shadow: @box-boxshadow;
    .border-radius(2px);
    margin-bottom: 15px;
    small {
      font-size: 14px;
    }
    .progress {
      background: rgba(0, 0, 0, .2);
      margin: 5px -10px 5px -10px;
      height: 2px;
      &,
      & .progress-bar {
        .border-radius(0);
      }
      .progress-bar {
        background: #fff;
      }
    }
  }
  
  .info-box-icon {
    .border-radius(2px; 0; 2px; 0);
    display: block;
    float: left;
    height: 90px;
    width: 90px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    background: rgba(0, 0, 0, 0.2);
    > img {
      max-width: 100%;
    }
  }
  
  .info-box-content {
    padding: 5px 10px;
    margin-left: 90px;
  }
  
  .info-box-number {
    display: block;
    font-weight: bold;
    font-size: 18px;
  }
  
  .progress-description,
  .info-box-text {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .info-box-text {
    text-transform: uppercase;
  }
  
  .info-box-more {
    display: block;
  }
  
  .progress-description {
    margin: 0;
  }