Mercurial > code > home > repos > streamed-graph
annotate src/streamed-graph.css @ 46:709e305dbd4f
bug on rdf:type stmts, i think, so I refactored a bunch and now maybe it's more testable and typeable
author | drewp@bigasterisk.com |
---|---|
date | Sun, 05 Jan 2020 23:54:00 -0800 |
parents | 8b4dc9e87b56 |
children |
rev | line source |
---|---|
2 | 1 :host { |
36 | 2 display: flex; |
3 flex-direction: column; | |
4 padding: 2px 0; | |
2 | 5 } |
6 div#ui { | |
36 | 7 display: inline-block; |
8 width: 30em; | |
9 border: 1px solid gray; | |
10 background: #bfbfbf; | |
11 color: black; | |
12 } | |
13 #ui button { | |
14 width: 2em; | |
2 | 15 } |
16 div#graphView { | |
17 } | |
36 | 18 div a { |
46
709e305dbd4f
bug on rdf:type stmts, i think, so I refactored a bunch and now maybe it's more testable and typeable
drewp@bigasterisk.com
parents:
36
diff
changeset
|
19 color: rgb(66, 66, 200); |
36 | 20 } |
2 | 21 .expander { |
36 | 22 display: inline-block; |
23 padding: 3px; | |
2 | 24 } |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
25 |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
26 /* graph view */ |
36 | 27 @import url("https://fonts.googleapis.com/css?family=Allerta|Dosis|Jura&display=swap"); |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
28 |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
29 body.rdfBrowsePage { |
36 | 30 background: black; |
31 color: white; | |
32 font-family: "Allerta", sans-serif; | |
33 font-size: 12px; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
34 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
35 |
36 | 36 body.rdfBrowsePage pre { |
37 font-family: "Allerta", sans-serif; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
38 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
39 |
36 | 40 body.rdfBrowsePage a { |
41 color: #b1b1fd; | |
42 text-shadow: 1px 1px 0px #0400ff94; | |
43 text-decoration-color: #00007714; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
44 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
45 |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
46 section { |
36 | 47 border: 1px solid gray; |
48 padding: 4px; | |
49 font-family: "Allerta", sans-serif; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
50 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
51 .spoGrid { |
36 | 52 display: flex; |
53 flex-direction: column; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
54 } |
36 | 55 .subject, |
56 .predicate { | |
57 display: flex; | |
58 align-items: baseline; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
59 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
60 |
36 | 61 .predicate, |
62 .object { | |
63 margin-left: 5px; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
64 } |
36 | 65 .subject { |
66 border-top: 1px solid #2f2f2f; | |
67 } | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
68 .literal { |
36 | 69 border: 1px solid gray; |
70 border-radius: 9px; | |
71 padding: 4px; | |
72 margin: 3px; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
73 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
74 |
36 | 75 .subject > .node { |
76 border: 2px solid rgb(68, 141, 68); | |
77 } | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
78 .literalType { |
36 | 79 vertical-align: super; |
80 font-size: 80%; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
81 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
82 .literal { |
36 | 83 display: inline-block; |
84 font-family: monospace; | |
85 font-size: 115%; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
86 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
87 .resource { |
36 | 88 display: inline-block; |
89 background: lightblue; | |
90 border-radius: 6px; | |
91 padding: 1px 6px; | |
92 margin: 2px; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
93 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
94 .predicate > a { |
36 | 95 color: #e49dfb; |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
96 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
97 .predicate > a::before { |
36 | 98 content: "━"; |
99 font-size: 125%; | |
100 font-weight: bolder; | |
101 padding-right: 2px; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
102 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
103 .predicate > a::after { |
36 | 104 content: "🠪"; |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
105 } |
36 | 106 .comment { |
107 color: green; | |
108 } | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
109 |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
110 table.typeBlock { |
36 | 111 border-collapse: collapse; |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
112 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
113 table.typeBlock th { |
36 | 114 background: #1f1f1f; |
115 border: 2px #333333 outset; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
116 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
117 table.typeBlock td { |
36 | 118 white-space: nowrap; |
119 background: #2b2b2b; | |
120 border: 2px #4a4a4a outset; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
121 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
122 table.typeBlock td .literal { |
36 | 123 padding-top: 1px; |
124 padding-bottom: 1px; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
125 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
126 .typeBlockScroll { |
36 | 127 max-width: 100%; |
128 overflow-x: auto; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
129 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
130 |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
131 /* |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
132 for my pages serving rdf data, not necessarily part of browse/ |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
133 */ |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
134 .served-resources { |
36 | 135 margin-top: 4em; |
136 border-top: 1px solid gray; | |
137 padding-top: 1em; | |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
138 } |
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
139 .served-resources a { |
36 | 140 padding-right: 2em; |
15
7ca4ff2088c3
managed to use a newer ts or something, so this includes a bunch of type fixes too
drewp@bigasterisk.com
parents:
2
diff
changeset
|
141 } |