index.less 4.01 KB
Newer Older
1 2
.alarmScrollAssemblyWrapper {
  width: 100%;
3

4 5 6
  .content {
    display: flex;
    align-items: center;
7

8 9 10 11
    .alarmScrollAssembly {
      &.moreThan1000 {
        :global {
          .swiper-container {
陈龙's avatar
陈龙 committed
12 13
            width: 100%;
            min-width: 400px;
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
            height: 42px;

            .swiper-button-prev {
              right: 150px;
              left: auto !important;
            }

            .swiper-button-next:after,
            .swiper-button-prev:after {
              font-size: 12px;
            }

            .swiper-pagination-fraction {
              top: 15px;
              right: 24px;
              left: auto;
              width: 130px;
              line-height: 12px;
            }

            .swiper-wrapper {
35
              width: calc(100% - 20px);
36 37 38 39 40 41 42 43
            }

            .swiper-slide {
              height: 32px;
              line-height: 32px;
              text-align: center;
            }
          }
44
        }
45
      }
46

47 48 49
      &.lessThan1000 {
        :global {
          .swiper-container {
陈龙's avatar
陈龙 committed
50 51
            width: 100%;
            min-width: 400px;
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
            height: 42px;

            .swiper-button-prev {
              right: 150px;
              left: auto !important;
            }

            .swiper-button-next:after,
            .swiper-button-prev:after {
              font-size: 12px;
            }

            .swiper-pagination-fraction {
              top: 15px;
              right: 24px;
              left: auto;
              width: 130px;
              line-height: 12px;
            }

            .swiper-wrapper {
73
              width: calc(100% - 20px);
74 75 76 77 78 79 80 81
            }

            .swiper-slide {
              height: 32px;
              line-height: 32px;
              text-align: center;
            }
          }
82
        }
83
      }
84

85 86 87
      display: flex;
      flex-direction: column;
      gap: 8px;
陈龙's avatar
陈龙 committed
88 89
      width: 100%;
      min-width: 400px;
90 91 92 93 94 95 96 97 98 99 100
      height: 42px;

      .warningWrapper {
        display: flex;
        align-items: center;
        max-width: 760px;
        padding: 4px 12px;
        background: #ffeeee;
        border: 1px solid #ffceca;
        border-radius: 3px;
      }
101

102 103 104 105 106 107 108 109
      .normalWrapper {
        display: flex;
        align-items: center;
        max-width: 760px;
        padding: 4px 12px;
        background: #fffbeb;
        border: 1px solid #ffd9a7;
        border-radius: 3px;
110
      }
111

112 113 114 115 116
      .warningTag {
        color: #ffffff;
        background: linear-gradient(180deg, #f98b5e 0%, #f44545 100%);
        border: none !important;
      }
117

118 119 120 121 122
      .normalTag {
        color: #ffffff;
        background: linear-gradient(180deg, #ffbf11 0%, #ff9c00 100%);
        border: none !important;
      }
123

124 125 126
      .fontSize13 {
        font-size: 13px;
      }
127

128 129 130
      .time {
        display: inline-block;
        width: 120px;
131 132
        max-width: 120px;
        overflow: hidden;
133
        color: #333333;
程恺文's avatar
程恺文 committed
134 135
        white-space: nowrap;
        text-overflow: ellipsis;
136
      }
137

138 139 140 141 142 143 144 145 146 147
      .location {
        display: inline-block;
        flex: 1;
        align-items: center;
        margin-left: 14px;
        overflow: hidden;
        color: #333333;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
148

149 150 151 152 153 154 155 156 157
      .periodWrapper {
        display: flex;
        align-items: center;
        justify-content: right;
        max-width: 190px;

        .period {
          display: inline-block;
          width: 120px;
158
          max-width: 120px;
159
          margin-left: 10px;
程恺文's avatar
程恺文 committed
160
          overflow: hidden;
161
          color: #333333;
程恺文's avatar
程恺文 committed
162 163
          white-space: nowrap;
          text-overflow: ellipsis;
164 165
        }
      }
166

167 168 169 170 171 172 173 174 175 176
      .normalContent {
        display: inline-block;
        flex: 2;
        margin-left: 14px;
        overflow: hidden;
        //width: 290px;
        color: #fe7200;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
177

178 179 180 181 182 183 184 185 186
      .warningContent {
        display: inline-block;
        flex: 2;
        margin-left: 14px;
        overflow: hidden;
        color: #ff2929;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
187 188 189
    }
  }
}