extend-action-timeline.less 5.3 KB
Newer Older
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 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
.action-timeline{
  height: 100%;
  overflow: scroll;
  .extend-action-timeline-table {
      border-collapse: separate;
      border-spacing: 0px 40px;
  
      .action-timeline-thead {
          th:nth-child(1) {
              min-width: 200px;
          }
  
          th:nth-child(2) {
              width: 100%;
          }
      }
  
      .action-timeline-body {
          width: 100%;
  
          .timeline-content .authorname {
              color: #57a3fd;
          }
  
          .timeline.timeline-head {
              padding: 8px 16px;
              height: 45px;
              line-height: 45px;
              padding: 0 16px;
  
              .timeline-wrapper>div {
                  height: 45px;
                  line-height: 45px;
              }
  
              .type {
                  padding-left: 16px;
              }
          }
  
          .timeline {
              .timeline-wrapper {
                  display: flex;
                  width: 100%;
  
                  .usertaskname,
                  .authorname,
                  .last-time,
                  .type,
                  .fullmessage {
                      overflow: hidden;
                      white-space: nowrap;
                      text-overflow: ellipsis;
                  }
                  
                  .tootip .el-popover__reference{
                    max-width: 500px;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;                    
                  }

                  >div {
                      text-align: center;
                      margin: 0 5px;
                  }
  
                  .type {
                      width: 9%;
                      min-width: 180px;
                      text-align: start;
  
                      .dot {
                          width: 8px;
                          height: 8px;
                          display: inline-block;
                          line-height: 100%;
                          margin: 0 10px 0 3px;
                          background-color: #46cf4a;
                          border-radius: 50%;
                      }
                  }
              }
  
              position: relative;
              width: 100%;
              padding: 0 16px;
              height: 65px;
              line-height: 65px;
              font-size: 14px;
  
              .timeline-index {
                  width: 50px;
                  height: 65px;
                  position: relative;
  
                  span {
                      display: inline-block;
                      width: 25px;
                      height: 25px;
                      line-height: 25px;
                      color: #fff;
                      background-color: #57a3fd;
                      border-radius: 50%;
                  }
  
                  .icon-bottom {
                      color: #57a3fd;
                      position: absolute;
                      left: 50%;
                      top: 0;
                      height: 30px;
                      line-height: 0;
                      font-size: 18px;
                      transform: translateX(-50%) translateY(-2px);
                  }
  
                  .icon-top {
                      height: 14px;
                      width: 0;
                      border: 1px solid #57a3fd;
                      border-width: 0 1px 0 0;
                      position: absolute;
                      bottom: -1px;
                      left: 50%;
                      transform: translateX(-0.4px);
                  }
  
                  .icon-line {
                      height: 102%;
                      width: 0;
                      border: 1px solid #57a3fd;
                      border-width: 0 1px 0 0;
                      position: absolute;
                      bottom: -1px;
                      left: 50%;
                      transform: translateX(-0.4px);
                  }
              }
  
              .ivu-tooltip {
                  width: 100%;
              }
  
              .ivu-tooltip-rel {
                  overflow: hidden;
                  white-space: nowrap;
                  text-overflow: ellipsis;
              }
  
              .usertaskname {
                  width: 9%;
                  min-width: 160px;
              }
  
              .authorname {
                  width: 15%;
                  min-width: 110px;
              }
  
              .last-time {
                  width: 15%;
                  min-width: 100px;
              }
  
              .arrow {
                  position: absolute;
                  right: 24px;
                  bottom: 50%;
                  transform: translateY(-50%);
                  float: right;
                  width: 24px;
                  height: 24px;
                  cursor: pointer;
                  font-size: 24px;
                  font-weight: bold;
                  color: #999;
              }
          }
  
          .tooltips {
              width: 214px;
              display: flex;
              flex-wrap: wrap;
  
              .tooltips-content {
                  width: 30%;
                  margin: 5px 15px;
              }
          }
  
          .timeline-draw {
              background-color: #fafafa;
              border-bottom: 1px solid #e8eaec;
          }
      }
  }
}