summaryrefslogtreecommitdiff
path: root/cimonitor-configs/sorting-table-css/example.scss
blob: 2dfb47ea67698c316f9f0218fd8df091d392c101 (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
@import 'sortable.scss';
body {
  font-size: 14px;
}

p {
  line-height: 1.7em;
}

code {
  font-family: monospace;
  background: #eee;
  padding: 5px;
  border-radius: 2px;
}

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.sortable:nth-of-type(4) th:nth-child(7),
th.no-sort {
  background: pink;
  color: red;
  pointer-events: none;
}
.sortable:nth-of-type(4) th:nth-child(7)::after {
  color: red;
  content: '(also not sortable)';
  font-size: 0.9em;
  display: block;
}
.lefty {
  td:nth-child(2),
  th:nth-child(2) {
    width: 80px;
    text-align: right;
  }
}