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

4 5 6
  .content {
    display: flex;
    align-items: center;
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
    .alarmScrollAssembly {
      &.moreThan1000 {
        :global {
          .swiper-container {
            width: 950px;
            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;
            }
          }
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 76 77 78 79
      &.lessThan1000 {
        :global {
          .swiper-container {
            width: 950px;
            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;
            }
          }
80
        }
81
      }
82

83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
      display: flex;
      flex-direction: column;
      gap: 8px;
      //width: 100%;
      min-width: 930px;
      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;
      }
100

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

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

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

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

127 128 129 130 131
      .time {
        display: inline-block;
        width: 120px;
        color: #333333;
      }
132

133 134 135 136 137 138 139 140 141 142 143 144 145
      .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;
      }
146

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

        .period {
          display: inline-block;
          width: 120px;
          margin-left: 10px;
          color: #333333;
        }
      }
160

161 162 163 164 165 166 167 168 169 170
      .normalContent {
        display: inline-block;
        flex: 2;
        margin-left: 14px;
        overflow: hidden;
        //width: 290px;
        color: #fe7200;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
171

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