Skip to content

Commit

Permalink
Merge pull request #6 from engisalor/dev
Browse files Browse the repository at this point in the history
add crossfilter, external link generation
  • Loading branch information
engisalor authored Oct 25, 2023
2 parents 30a98f6 + c42678d commit cf6439d
Show file tree
Hide file tree
Showing 13 changed files with 812 additions and 523 deletions.
15 changes: 3 additions & 12 deletions assets/01-responsive-sidebar.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Adapted from: https://community.plotly.com/t/sidebar-with-icons-expands-on-hover-and-other-cool-sidebars/67318 */

.sidebar {
/* background-color: var(--page-background); */
background-image: linear-gradient(#ebeced, white);
background-color: var(--page-background);
/* background-image: linear-gradient(#f5f6f7, white); */
}

.sidebar .nav-link span {
Expand All @@ -29,25 +29,16 @@
height: auto;
position: relative;
}

.sidebar a {
float: left;
}

.nav-link i {
visibility: hidden;
width: 0%;
}

#page-content {
margin-left: 20px;
margin-right: 20px;
}

p.lead {
font-size: x-large;
font-weight: bold;
}

h2 {
text-align: center;
}
Expand Down
76 changes: 69 additions & 7 deletions assets/02-components.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
.top-panel {
display: inline-flex;
flex-wrap: wrap;
margin-bottom: 18px;
width:100%;
}

/* popover appearance */
.popover {
max-width: 400px;
width: 400px;
font-size: small;
height: 100%;
}
Expand All @@ -22,7 +20,7 @@

/* controls under a popover heading */
.settings-options {
max-height: 320px;
max-height: 200px;
overflow: scroll;
}

Expand All @@ -46,9 +44,73 @@
color: black;
}

/* small screens */
@media (max-width: 400px) {
.popover {
width: 100%;
/* container for all graph groups */
.frequencies-content {
display: flex;
flex-wrap: wrap;
}

/* graph loading indicator */
*[class="frequencies-content"][data-dash-is-loading="true"]{
visibility: hidden;
}
*[class="frequencies-content"][data-dash-is-loading="true"]::before{
content: "Searching...";
font-size: 1.25rem;
font-weight: 300;
display: inline-block;
color: var(--tertiary-color);
visibility: visible;
}

/* groups of graphs for each query */
.graph-group {
min-width: 460px;
max-width: 800px;
flex: 1;
margin: 10px;
}

/* page titles */
h2 {
margin-top: 0rem;
}

/* graph titles */
h3 {
margin-top: 0rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

/* hyperlinks to external server */
.link-div {
display: flex;
justify-content: flex-end;
}

/* hyperlink icon */
.bi.bi-arrow-up-right-square-fill {
margin: 0px;
color: gray;
}

/* table toolips */
.dash-table-tooltip {
position:fixed;
}

/* Small screens */
@media (max-width: 480px) {
.frequencies-content {
max-width: 440px;
}

.graph-group {
min-width: 300px;
max-width: 440px;
flex: 1;
margin: 10px;
}
}
Loading

0 comments on commit cf6439d

Please sign in to comment.