| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371 | @import "~assets/less/variable";.widget {  height: 120px;  background-color: @body-background;  margin-bottom: 20px;  border-radius: 2px;  box-shadow: @block-box-shadow;  transform: translate3d(0, 0, 0);  transition: all 200ms linear;  position: relative;  cursor: pointer;  &:hover {    box-shadow: @block-active-box-shadow;    transform: translate3d(0, -5px, 0);    .pic {      transform: translate(0, -5px);    }  }  &.selector {    border: 1px solid @border-color-base;    border-radius: 4px;    box-shadow: none;    &:hover {      transform: none;    }    &.selected {      border-color: @primary-color;    }    .checkmark {      border-top: 12px solid @primary-color;      border-bottom: 12px solid transparent;      border-right: 20px solid @primary-color;      border-left: 20px solid transparent;      position: absolute;      top: 0;      right: 0;      i {        color: @white;        position: absolute;        top: -11px;        right: -18px;      }    }  }  .title {    padding: 12px 40px 0 12px;    white-space: nowrap;    text-overflow: ellipsis;    overflow: hidden;  }  .content {    padding: 8px 12px;    color: @light-text-color;    white-space: nowrap;    text-overflow: ellipsis;    overflow: hidden;  }  .pic {    font-size: 36px;    font-weight: normal;    line-height: 1;    color: @primary-color;    position: absolute;    bottom: 8px;    right: 12px;    opacity: .8;    transition: transform 300ms linear;  }  .delete, .copy {    position: absolute;    top: 8px;    font-size: 15px;    opacity: .5;    transition: transform 200ms ease;    &:hover {      opacity: 1;      transform: scale(1.1, 1.1);    }  }  .delete {    right: 8px;  }  .copy {    right: 32px;  }}// .workbench {//   margin: -16px;//   flex: 1;//   display: flex;//   flex-direction: row;//   min-height: 0;  /* firefox flex overflow issue *///   .formView {//     padding: 16px;//     border-right: 1px solid @border-color-base;//     overflow-y: auto;//     flex: 0 0 320px;//     .scCol {//       padding: 30px 0 20px;//       display: flex;//       flex-direction: row;//       justify-content: center;//     }//   }//   .splitView {//     padding: 16px;//     flex: 1;//     overflow-x: auto;//     display: flex;//     flex-direction: column;//     .splitViewBody {//       flex: 1;//       display: flex;//       flex-direction: column;//       position: relative;//     }//     .splitViewFooter {//       flex-shrink: 0;//       display: flex;//       flex-direction: row;//       justify-content: space-between;//       .sqlInput {//         flex-basis: 50%;//         .runSql {//           cursor: pointer;//         }//       }//     }//   }// }.formUnit {  .unitTitle {    padding: 10px 0;  }  .unitContent {    padding: 10px;    border: 1px solid @border-color-base;    border-radius: 4px;  }  .buttonCol {    padding: 10px 0;  }}// .containerEmpty {//   flex: 1;//   display: flex;//   flex-direction: column;//   justify-content: center;//   align-items: center;// }// .tableContainer {//   flex: 1;//   display: flex;//   flex-direction: column;// }// .widgetChart {//   flex: 1;//   display: flex;//   flex-direction: column;//   position: relative;//   overflow: hidden;// }// .tableChart {//   width: 100%;//   height: 100%;// }// .commonChart {//   flex: 1;//   display: flex;//   flex-direction: column;// }.chartSelectOption {  position: absolute;  top: 6px;  right: 8px;  color: @primary-color;}.chartSelectXAxisOption {  position: absolute;  top: 0px;  right: 20px;  color: @primary-color;}.addCol {  padding-bottom: 10px;  text-align: right;}.computedConfigForm {  display: flex;  flex-direction: column;  .body {    flex:4;    display: flex;    .fields {      width: 604px;      flex: 0 0 604px;      padding-right: 8px;      margin-right: 8px;      display: flex;      flex-direction: column;      .fieldName {        :global(.ant-input){          border-radius: 0;        }        :global(.ant-select-selection){          border-radius: 0;        }        :global(.ant-form-item) {          margin-bottom: 0;        }        flex-shrink: 0;      }      .tmplWrapper {        height:100%;        overflow-y: auto;        flex: 4 1 auto;        max-height: 196px;        :global(.cm-s-3024-day ) {          :global(span.cm-variable-2) {            color: #2DACFC;          }        }      }    }    .options{      flex-shrink: 0;      margin-top: 3px;      .cardContainer {   // ant-tabs .ant-tabs-left-content        :global(.ant-tabs) {          :global(.ant-tabs-right-content) {            padding-right: 0;          }        }      }    }  }  .wrapperForm {    margin: 16px 0;  }  .footer{    .foot{      text-align: right;      margin-top: 24px;      margin-right: -12px;      button{        margin-right: 16px;      }    }  }  :global(.ant-form-item) {    margin-bottom: 4px;  }  :global(.ant-form-item-label) {    line-height: 1em;  }  :global(.ant-form-item-label label) {    color: @disabled-text-color;    font-size: 12px;    font-weight: bold;  }  :global(.ant-form-item-required:before) {    margin-right: 2px;    vertical-align: middle;  }  :global(.ant-form-item-control) {    line-height: 32px;  }}.mt20{  margin-top: 20px;}.paginationPosition {  float: right;}.searchSelect {  width: 100%;}.searchCol, .addCol {  padding: 0 4px;  text-align: right;  margin-bottom: 8px;}@media (max-width: 768px) {  .searchCol {    margin-bottom: 8px;  }}.searchRow {  margin-bottom: 16px;}.tmplWrapper{  margin-top: -3px;  // border: 1px solid #d9d9d9;  // padding: 4px;}.menuWrapper {  :global(.ant-input){    border-radius: 0;  }  input{    width: 260px;    margin-right:1px;  }  ul {    width: 260px;    border: 1px solid #d9d9d9;    border-top: none;    border-right: none;    height: 196px;    max-height: 196px;    overflow-y: auto;    li {      max-height:24px;      line-height: 24px;      a{        max-height:24px;        line-height: 24px;      }    }  }}
 |