aboutsummaryrefslogtreecommitdiff
path: root/src_scss
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-07-28 01:43:55 +0200
committerbozo.kopic <bozo@kopic.xyz>2021-07-29 00:01:57 +0200
commit1e874e790c12839695761a654b44fb427149a353 (patch)
tree6942441ac511ec1417b2434b111101fa8d7f7e68 /src_scss
init
Diffstat (limited to 'src_scss')
-rw-r--r--src_scss/main.scss74
1 files changed, 74 insertions, 0 deletions
diff --git a/src_scss/main.scss b/src_scss/main.scss
new file mode 100644
index 0000000..ec2c1ac
--- /dev/null
+++ b/src_scss/main.scss
@@ -0,0 +1,74 @@
+
+$color-grey-50: rgb(250, 250, 250);
+$color-grey-100: rgb(245, 245, 245);
+$color-grey-200: rgb(238, 238, 238);
+$color-grey-300: rgb(224, 224, 224);
+$color-grey-400: rgb(189, 189, 189);
+$color-grey-500: rgb(158, 158, 158);
+$color-grey-600: rgb(117, 117, 117);
+$color-grey-700: rgb(97, 97, 97);
+$color-grey-800: rgb(66, 66, 66);
+$color-grey-900: rgb(33, 33, 33);
+
+
+html, body {
+ font-family: sans-serif;
+ font-size: 12pt;
+ margin: 0;
+ height: 100%;
+}
+
+body > .main {
+ & > table {
+ width: 100%;
+ border-spacing: 0;
+ table-layout: fixed;
+ position: relative;
+
+ th {
+ padding: 0.4rem;
+ background: $color-grey-700;
+ color: $color-grey-100;
+ position: sticky;
+ top: 0;
+ }
+
+ tr {
+ &:nth-child(even) {
+ background-color: $color-grey-300;
+ }
+
+ &:nth-child(odd) {
+ background-color: $color-grey-100;
+ }
+ }
+
+ td {
+ padding: 0.2rem;
+ vertical-align: top;
+ }
+
+ .col-id { width: 5rem; }
+ .col-time { width: 12rem; }
+ .col-address { width: 10rem; }
+ .col-source { width: 10rem; }
+ .col-type { width: 10rem; }
+
+ td.col-id {
+ text-align: center;
+ }
+
+ td.col-data {
+ & > .data {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, 15rem 15rem);
+ grid-gap: 0.3rem;
+ align-items: center;
+
+ & > label {
+ justify-self: end;
+ }
+ }
+ }
+ }
+}