diff --git a/assets/styles/base.scss b/assets/styles/base.scss index ff91053c9..5faa2f26b 100644 --- a/assets/styles/base.scss +++ b/assets/styles/base.scss @@ -352,8 +352,24 @@ hr { } } } + .graph-grid{ + display : grid; + grid-row:1/1; + grid-column:1/1; + grid-template-columns: 1fr; + & > svg { + margin-bottom: -5px; + + } + } + .graph-grid>*{ + grid-row:1/1; + grid-column:1/1; + } & #graph-container { + grid-row:1/1; + grid-column:1/1; border: var(--outlinegray) 1px solid; border-radius: 5px; box-sizing: border-box; @@ -615,3 +631,4 @@ header { padding: 0 1em; } } + diff --git a/assets/styles/column.scss b/assets/styles/column.scss index 5cfdaf8df..0a3365223 100644 --- a/assets/styles/column.scss +++ b/assets/styles/column.scss @@ -43,7 +43,7 @@ a.active{ } /* The Modal (background) */ .modal { - display: none; /* Hidden by default */ + visibility: hidden; /* Hidden by default */ position: fixed; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 100px; /* Location of the box */ @@ -79,3 +79,28 @@ a.active{ text-decoration: none; cursor: pointer; } +#global-graph-toggle-button +{ + float:right; + background-color: Transparent; + background-repeat:no-repeat; + border: none; + padding:0.5em; +} + + +.icon { + display: inline-block; + width: 18px; + min-width:18px; + height: 18px; +} +#global-graph-svg{ + background: black; + mask: url(graph.svg); + cursor:pointer; +} +#global-graph-svg:hover{ + background: var(--primary); +} + diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6dafd795d..b8558b423 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -62,7 +62,6 @@