aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/components/ui-kit/ui-kit.module.css
blob: d590bb4163e80984280cd0b752a199241a6a8834 (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
.section {
  min-width: 0;
  display: grid;
  gap: 24px;
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.section > h2 {
  margin: 0;
  font-size: 20px;
}

.row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.grid,
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  min-width: 0;
}

.grid > *,
.cards > * {
  min-width: 0;
}

.caption,
.tabContent,
.popover p {
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.tabContent {
  padding: 20px 0;
}

.popover {
  display: grid;
  gap: 12px;
  padding: 16px;
  width: min(260px, calc(100vw - 64px));
  box-sizing: border-box;
}

.cardPreview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100px;
  color: var(--accent);
  background: var(--social-bg);
}

.tableContainer {
  min-width: 0;
  overflow: auto;
}

.table.table {
  height: 280px;
  min-width: 440px;
  width: 100%;
}

@media (max-width: 640px) {
  .section {
    padding: 16px;
  }
}