index.less 4.13 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 35 36 37 38 39 40 41 42 43
            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 {
              width: calc(100% - 140px);
            }

            .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 73 74 75 76 77 78 79 80 81
            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 {
              width: calc(100% - 140px);
            }

            .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 101
      height: 42px;
      //overflow-y: scroll;

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

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

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

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

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

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

139 140 141 142 143 144 145 146 147 148 149 150 151
      .location {
        display: inline-block;
        //flex: 230;
        //width: 230px;
        //min-width: 100px;
        flex: 1;
        align-items: center;
        margin-left: 14px;
        overflow: hidden;
        color: #333333;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
152

153 154 155 156 157 158 159 160 161
      .periodWrapper {
        display: flex;
        align-items: center;
        justify-content: right;
        max-width: 190px;

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

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

182 183 184 185 186 187 188 189 190 191
      .warningContent {
        display: inline-block;
        flex: 2;
        margin-left: 14px;
        overflow: hidden;
        //width: 290px;
        color: #ff2929;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
192 193 194
    }
  }
}