summaryrefslogtreecommitdiff
path: root/cimonitor-configs/sorting-table-css/example.scss
diff options
context:
space:
mode:
Diffstat (limited to 'cimonitor-configs/sorting-table-css/example.scss')
-rw-r--r--cimonitor-configs/sorting-table-css/example.scss42
1 files changed, 42 insertions, 0 deletions
diff --git a/cimonitor-configs/sorting-table-css/example.scss b/cimonitor-configs/sorting-table-css/example.scss
new file mode 100644
index 00000000..2dfb47ea
--- /dev/null
+++ b/cimonitor-configs/sorting-table-css/example.scss
@@ -0,0 +1,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;
+ }
+}