summaryrefslogtreecommitdiffhomepage
path: root/packages/console/app/src/routes/workspace/model-section.module.css
blob: 5a98c9b1593f93737068929cc2e00202ad44a256 (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
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
.root {}

[data-slot="section-title"] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[data-slot="section-title"] h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

[data-slot="section-title"] p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}

[data-slot="models-list"] {
  display: flex;
  flex-direction: column;
}

[data-slot="models-table"] {
  overflow-x: auto;
}

[data-slot="models-table-element"] {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);

  thead {
    border-bottom: 1px solid var(--color-border);
  }

  th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: normal;
    color: var(--color-text-muted);
    text-transform: uppercase;
  }

  td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--color-border-muted);
    color: var(--color-text-muted);
    font-family: var(--font-mono);

    &[data-slot="model-name"] {
      color: var(--color-text);
      font-family: var(--font-mono);
      font-weight: 500;
    }

    &[data-slot="training-data"] {
      text-align: center;
      color: var(--color-text);
    }

    &[data-slot="model-status"] {
      text-align: left;
      color: var(--color-text);
    }

    &[data-slot="model-toggle"] {
      text-align: left;
      font-family: var(--font-sans);
    }
  }

  tbody tr {
    &[data-enabled="false"] {
      opacity: 0.6;
    }

    &:last-child td {
      border-bottom: none;
    }
  }

  @media (max-width: 40rem) {

    th,
    td {
      padding: var(--space-2) var(--space-3);
      font-size: var(--font-size-xs);
    }

    th {
      &:nth-child(2)

      /* Training Data */
        {
        display: none;
      }
    }

    td {
      &:nth-child(2)

      /* Training Data */
        {
        display: none;
      }
    }
  }
}


[data-component="empty-state"] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}