github.com/easysoft/zendata@v0.0.0-20240513203326-705bd5a7fd67/ui/src/layout/Zui.less (about)

     1  body {
     2    font-size: 13px;
     3    background-color: #efefef;
     4  }
     5  .header {
     6    .ant-menu {
     7      background: transparent;
     8      color: #fff;
     9      float: left;
    10      border: none;
    11      margin-left: 20px;
    12    }
    13    .ant-menu-item,
    14    .ant-menu-item:hover,
    15    .ant-menu-item-selected,
    16    .ant-menu-item-selected:hover {
    17      color: #fff;
    18      border-bottom: none;
    19      opacity: .8;
    20      padding: 0 10px;
    21    }
    22    .ant-menu-item-selected {
    23      font-weight: bold;
    24    }
    25    .ant-menu-item:hover,
    26    .ant-menu-item-selected {
    27      opacity: 1;
    28    }
    29  }
    30  .navbar-secondary {
    31    font-size: 14px;
    32    background: transparent;
    33    border: none;
    34    line-height: 24px;
    35  
    36    .ant-menu-item {
    37      padding: 0 2px;
    38      margin-right: 10px;
    39    }
    40    .ant-menu-item-selected {
    41      font-weight: bold;
    42    }
    43  }
    44  .ant-btn-primary {
    45    font-size: 13px;
    46    background-color: #0056c9;
    47    border-color: #0056c9;
    48  
    49    &:hover {
    50      background-color: #0763dd;
    51      border-color: #0763dd;
    52    }
    53  }
    54  
    55  .main-table {
    56    border-radius: 4px;
    57    background-color: #fff;
    58    box-shadow: 0 1px 1px rgba(0,0,0,.05),0 2px 6px 0 rgba(0,0,0,.045);
    59    border: 1px solid #e8e8e8;
    60  }
    61  .ant-table {
    62    font-size: 13px;
    63  }
    64  .ant-table-thead > tr > th, .ant-table-tbody > tr > td {
    65    padding: 7px 12px;
    66    vertical-align: middle;
    67  }
    68  .ant-table-tbody > tr.selected > td {
    69    background-color: #fff3e0;
    70  }
    71  .ant-table-tbody > tr.selected:hover > td {
    72    background-color: #ffebbc;
    73  }
    74  .ant-table-tbody > tr.selected > td.title {
    75    font-weight: bold;
    76  }
    77  .ant-card {
    78    font-size: 13px;
    79    border-radius: 4px;
    80    box-shadow: 0 1px 1px rgba(0,0,0,.05),0 2px 6px 0 rgba(0,0,0,.045);
    81  }
    82  .ant-card-head {
    83    min-height: 36px;
    84    padding: 0 10px;
    85  }
    86  .ant-card-head-title {
    87    padding: 7px 0;
    88    font-size: 14px;
    89  }
    90  .ant-card-body {
    91    padding: 10px;
    92  }
    93  .ant-tooltip-arrow::before {
    94    background: #fff;
    95  }
    96  .ant-pagination {
    97    font-size: 13px;
    98  }
    99  .ant-dropdown-menu-item,
   100  .ant-dropdown-menu-submenu-title {
   101    font-size: 13px;
   102  }
   103  .ant-form-item {
   104    font-size: 13px;
   105    margin-bottom: 15px;
   106  }
   107  .ant-form-item-label {
   108    line-height: 32px;
   109  }
   110  .ant-form label {
   111    color: #3c495c;
   112    font-size: 13px;
   113    font-weight: bold;
   114  }
   115  .ant-form-item-control {
   116    line-height: 32px;
   117  }
   118  .ant-select-selection,
   119  .ant-input,
   120  .ant-input-group-addon {
   121    font-size: 13px;
   122    border-radius: 1px;
   123  }
   124  .ant-form-item-control {
   125    .ant-btn {
   126      min-width: 120px;
   127      + .ant-btn {
   128        margin-left: 15px;
   129      }
   130    }
   131  }
   132  .ant-form-item-control {
   133    text-align: center;
   134  }
   135  .ant-form-item-children {
   136    display: block
   137  }
   138  .input-group {
   139    display: flex;
   140    flex-direction: row;
   141    align-items: stretch;
   142    flex-wrap: nowrap;
   143  
   144    .ant-form-item {
   145      margin-bottom: 0;
   146    }
   147  
   148    .ant-input-group-wrapper,
   149    .ant-form-item,
   150    .ant-select,
   151    .ant-input {
   152      flex: auto;
   153    }
   154  
   155    .ant-input-group-wrapper {
   156      width: auto;
   157      display: block;
   158    }
   159  
   160    .ant-form-item-label {
   161      margin-left: 20px;
   162    }
   163  }
   164  .input-group-addon {
   165    flex: none;
   166    height: 32px;
   167    line-height: 30px;
   168    background-color: #eee;
   169    border: 1px solid #dcdcdc;
   170    padding: 0 5px;
   171  
   172    .ant-form-item + &,
   173    .ant-select + &,
   174    .ant-input + & {
   175      border-left: none;
   176    }
   177  
   178    &:not(:last-child) {
   179      border-right: none;
   180    }
   181  
   182    &.fix-border {
   183      border-left: none;
   184      border-right: none;
   185    }
   186  }
   187  .ant-modal-title {
   188    font-size: 14px;
   189  }
   190  .ant-modal-content {
   191    border-radius: 1px;
   192  }