-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
128 lines (102 loc) · 1.75 KB
/
styles.css
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
* {
margin: 0;
padding: 0;
font-size: 16px;
font-family: sans-serif;
}
:root {
--primary-color: grey;
--secondary-color: lightgrey;
}
.clickable:hover {
cursor: pointer;
background-color: var(--secondary-color);
}
.active {
background-color: var(--secondary-color);
}
.panel-padding {
padding: 0.25rem 0.5rem;
}
.main {
display: flex;
justify-content: center;
width: 50%;
height: 30rem;
margin: 0 auto;
border: 1px solid var(--primary-color);
}
.left-panel {
flex: 1;
border-right: 1px solid var(--primary-color);
}
.left-panel .node {
margin-left: 1rem;
}
.left-panel .active-node {
background-color: var(--secondary-color);
}
.right-panel {
flex: 4;
}
.right-panel .body .document-wrapper {
position: relative;
}
.right-panel .body .document-icon {
position: absolute;
left: -2rem;
}
.right-panel .row {
display: flex;
}
.right-panel .body .row {
padding-bottom: 0.125rem;
}
.right-panel .body .row:last-child {
padding-bottom: 0;
}
.text-container {
display: flex;
position: relative;
padding: 0.125rem 0.25rem;
}
.text-container:target {
background-color: var(--secondary-color);
}
.chevron {
position: absolute;
left: -.75rem;
}
.node:hover {
cursor: pointer;
}
.header {
border-top: 1px solid var(--primary-color);
border-bottom: 1px solid var(--primary-color);
color: var(--primary-color);
}
.row .cell-3 {
flex: 3;
margin-left: 4rem;
}
.row .cell-1 {
flex: 1;
}
.row .cell-numeric {
text-align: right;
}
@media only screen and (max-width: 1400px) {
.main {
width: 75%;
}
}
@media only screen and (max-width: 1000px) {
.main {
flex-flow: column;
}
.left-panel {
border-top: 0;
border-right: 0;
border-bottom: 1px solid var(--primary-color);
}
}