summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/assets/styles/tables.less
blob: 6bac2588a47f8020c1c6177e1939b87ed20576b8 (plain)
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
.generic-table {
  border: solid 1px @main_color_o;
  color: @main_color_m;
  background-color: @func_color_r;
  font-size: 13px;
  font-family: @font-opensans-regular;
  overflow-y: auto;

  .cell {
    flex: 1;
    padding: 10px;
    border-right: @main_color_o solid 1px;
    &:last-child {
      margin: 0;
      flex: 0.1;
      border: none;
    }
  }

  .header-row {
    display: flex;
    flex-basis: 100%;
    background-color: @func_color_r;
    color: @func_color_s;
    font-weight: bold;
    border-bottom: @main_color_o solid 1px;
    position: sticky;
    top: 0;
    z-index: 1;
    .header-cell {
      padding: 10px;
    }
  }

  .data-row {
    display: flex;
    flex-basis: 100%;
    border-bottom: @main_color_o solid 1px;
    background-color: @main_color_p;
    &:last-child {
      border-bottom: none;
    }
  }

  .no-row-text {
    color: @main_color_m;
    display: flex;
    flex-basis: 100%;
    background-color: @main_color_p;
    padding: 20px;
    justify-content: center;
    font-size: 14px;
  }
}