|
85 | 85 | margin-bottom: 0; |
86 | 86 | } |
87 | 87 |
|
88 | | - /* Footer links */ |
89 | | - .il-nav-link { |
90 | | - display: block; |
91 | | - margin: 5px 0; |
92 | | - color: #256DC5; /* Blue color */ |
93 | | - text-decoration: none; |
94 | | - } |
95 | 88 |
|
96 | | - .il-nav-link:hover { |
97 | | - text-decoration: underline; |
98 | | - color: #007bff; |
99 | | - } |
100 | 89 |
|
101 | 90 | #about-this-project p, #about-this-project a { |
102 | 91 | font-size: 9pt; |
103 | 92 | margin-bottom: 0; |
104 | 93 | } |
105 | 94 |
|
| 95 | + .mid-right { |
| 96 | + position: fixed; |
| 97 | + top: 0; |
| 98 | + bottom: 0; |
| 99 | + right: 0; |
| 100 | + width: 20em; |
| 101 | + background: #fff; |
| 102 | + padding-top: 85px; |
| 103 | + overflow-y: auto; |
| 104 | + } |
106 | 105 | .right { |
107 | 106 | width: 20em; /* Sidebar width */ |
108 | 107 | right: 0; |
|
112 | 111 | background-color: #fff; /* White background */ |
113 | 112 | overflow-y: auto; /* Allow scrolling if content overflows */ |
114 | 113 | } |
| 114 | + .mid-right { box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); } |
| 115 | + .right { box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); } |
115 | 116 |
|
116 | 117 | /* The navigation menu links */ |
117 | | - .side-info .il-nav-link { |
| 118 | + .side-info{ |
118 | 119 | font-size: 12pt; |
119 | 120 | target-new: tab; |
120 | 121 | display: block; |
121 | 122 | } |
122 | 123 |
|
123 | 124 | .side-info h4 { |
124 | 125 | font-size: 10pt; |
125 | | - display: block; |
126 | 126 | text-decoration: none; |
127 | 127 | margin-bottom: 0; |
128 | 128 | } |
|
156 | 156 |
|
157 | 157 | {% if not simple %} |
158 | 158 | .content { |
| 159 | + margin-right: calc(15% + 20%); |
159 | 160 | padding-top:85px; |
160 | 161 | padding-bottom: 65px |
161 | 162 | } |
162 | 163 |
|
163 | 164 | @media (max-width: 1800px) { |
164 | | - .right { |
165 | | - width: 15%; |
166 | | - } |
167 | | - .container { |
168 | | - float: left; |
169 | | - } |
170 | | - .footer { |
171 | | - right: 15%; |
172 | | - } |
| 165 | + .right { width: 15%; } |
| 166 | + .mid-right { width: 20%; right: 15%; } |
| 167 | + .content { margin-right: calc(15% + 20%); } |
| 168 | + .footer { right: calc(15% + 20%); } |
173 | 169 | } |
174 | 170 |
|
175 | 171 | @media (max-width: 1500px) { |
176 | | - .container { |
177 | | - max-width: 960px; |
178 | | - } |
179 | | - .right { |
180 | | - width: 15%; |
181 | | - } |
182 | | - .footer { |
183 | | - right: 15%; |
184 | | - } |
| 172 | + .right { width: 15%; } |
| 173 | + .mid-right { width: 20%; right: 15%; } |
| 174 | + .content { margin-right: calc(15% + 20%); } |
| 175 | + .footer { right: calc(15% + 20%); } |
185 | 176 | } |
186 | 177 |
|
187 | 178 | @media (max-width: 1100px) { |
188 | | - .right { |
189 | | - display: none; |
190 | | - } |
191 | | - .footer { |
192 | | - right: 0em; |
193 | | - } |
| 179 | + .right, .mid-right { display: none; } |
| 180 | + .content { margin-right: 0; } |
| 181 | + .footer { right: 0; } |
| 182 | + } |
194 | 183 | {% endif %} |
195 | 184 | </style> |
196 | 185 |
|
|
230 | 219 | {% endif %} |
231 | 220 |
|
232 | 221 | <!-- THE MAIN BODY --> |
233 | | -<main role="main" class="container"> |
| 222 | +<main role="main" class="container-fluid"> |
234 | 223 |
|
235 | 224 | {% if simple %} |
236 | 225 | <!-- THE SIMPLE HEADING --> |
@@ -259,6 +248,67 @@ <h2>{{ title }}</h2> |
259 | 248 | </div> |
260 | 249 | </footer> |
261 | 250 |
|
| 251 | +<div class="side-info mid-right" id="mid-right-panel"> |
| 252 | + <h3 class="bg-white">Summary</h3> |
| 253 | + <p>On this page, you can search for statements from the INDRA Database by applying different filters such as agents, relation types, MeSH terms, or papers.</p> |
| 254 | + <h4>Examples</h4> |
| 255 | + <span style="color:#888;">•</span> |
| 256 | + <span style="cursor:pointer; color:#256DC5; text-decoration:underline;" |
| 257 | + data-agent1="DUSP1" data-agent2="MAPK1" |
| 258 | + onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: { agent1: this.dataset.agent1, agent2: this.dataset.agent2 } }))"> |
| 259 | + How does DUSP1 affect MAPK1? |
| 260 | + </span> |
| 261 | + |
| 262 | + <br/> |
| 263 | + |
| 264 | + <span style="color:#888;">•</span> |
| 265 | + <span style="cursor:pointer; color:#256DC5; text-decoration:underline;" |
| 266 | + data-agent1="CDK12" data-role1="subject" data-stmt-type="Phosphorylation" |
| 267 | + onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: { |
| 268 | + agent1: this.dataset.agent1, |
| 269 | + role1: this.dataset.role1, |
| 270 | + stmtType: this.dataset.stmtType |
| 271 | + }}))"> |
| 272 | + What does CDK12 phosphorylate? |
| 273 | + </span> |
| 274 | + |
| 275 | + <br/> |
| 276 | + |
| 277 | + <span style="color:#888;">•</span> |
| 278 | + <span style="cursor:pointer; color:#256DC5; text-decoration:underline;" |
| 279 | + data-agent2="MTOR" data-role2="object" data-stmt-type="Inhibition" |
| 280 | + onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: { |
| 281 | + agent2: this.dataset.agent2, |
| 282 | + role2: this.dataset.role2, |
| 283 | + stmtType: this.dataset.stmtType |
| 284 | + }}))"> |
| 285 | + What is known to inhibit mTOR? |
| 286 | + </span> |
| 287 | + |
| 288 | + <br/> |
| 289 | + |
| 290 | + <span style="color:#888;">•</span> |
| 291 | + <span style="cursor:pointer; color:#256DC5; text-decoration:underline;" |
| 292 | + data-agent1="PIK3CA" |
| 293 | + onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: { |
| 294 | + agent1: this.dataset.agent1 |
| 295 | + }}))"> |
| 296 | + Show all interactions involving PIK3CA. |
| 297 | + </span> |
| 298 | + |
| 299 | + <br/> |
| 300 | + |
| 301 | + <span style="color:#888;">•</span> |
| 302 | + <span style="cursor:pointer; color:#256DC5; text-decoration:underline;" |
| 303 | + data-agent1="Seliciclib" data-role1="subject" data-stmt-type="Inhibition" |
| 304 | + onclick="window.dispatchEvent(new CustomEvent('indra:example', { detail: { |
| 305 | + agent1: this.dataset.agent1, |
| 306 | + role1: this.dataset.role1, |
| 307 | + stmtType: this.dataset.stmtType |
| 308 | + }}))"> |
| 309 | + What does Seliciclib inhibit? |
| 310 | + </span> |
| 311 | +</div> |
262 | 312 |
|
263 | 313 | <!-- THE RIGHT SIDEBAR --> |
264 | 314 | <div class="side-info right bg-white" id="right-side-panel"> |
|
0 commit comments