Skip to content

Commit

Permalink
Repairing CSS for Xetthecum Phase II viz
Browse files Browse the repository at this point in the history
  • Loading branch information
amb26 committed Sep 13, 2024
1 parent e5f5533 commit 5d5d3bb
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/css/imerss-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,14 @@
overflow: auto;
}

/** These "panels" currently only exist in the old-style jQuery tabbed panes. This definition is here to make
* Xetthecum phase II panel labels show up in the right place but might be helpful in future.
* These two uses of "imerss-panel-label" (in Xetthecum and BBEAS) are unconnected.
*/
.imerss-panel {
position: relative;
}

.imerss-panel-label {
font-size: 1.5rem;
padding-bottom: 5px;
Expand Down
8 changes: 8 additions & 0 deletions docs/css/imerss-viz-all.css
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,14 @@ a.ui-button:active,
overflow: auto;
}

/** These "panels" currently only exist in the old-style jQuery tabbed panes. This definition is here to make
* Xetthecum phase II panel labels show up in the right place but might be helpful in future.
* These two uses of "imerss-panel-label" (in Xetthecum and BBEAS) are unconnected.
*/
.imerss-panel {
position: relative;
}

.imerss-panel-label {
font-size: 1.5rem;
padding-bottom: 5px;
Expand Down
2 changes: 2 additions & 0 deletions docs/css/xetthecum-core.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/** New-age file for Phase III, referenced from xetthecum-storymap **/

.imerss-cultural-values {
display: flex;
flex-wrap: wrap;
Expand Down
3 changes: 2 additions & 1 deletion docs/css/xetthecum-external.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* This is currently used primarily for Valdes map view which has dataset
/* Phase II-era old codebase file
This is currently used primarily for Valdes map view which has dataset
controls but also Xetthecum-style panels
*/

Expand Down
2 changes: 2 additions & 0 deletions docs/css/xetthecum-shared.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/** Old-era (Phase II) file referenced from bioblitz, Valdes and other old viz **/

:root {
--imerss-map-width: 500px;
--imerss-eco-colour: #DEE0B0;
Expand Down
10 changes: 10 additions & 0 deletions docs/css/xetthecum.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ body {

.imerss-container {
margin: 1.5rem 0.5rem 0.5rem 0.5rem;
flex-direction: row;
}

.imerss-map-holder {
Expand Down Expand Up @@ -233,6 +234,8 @@ body {

.imerss-map {
height: 450px;
min-width: 480px;
min-height: 320px;
}

.imerss-tabs {
Expand Down Expand Up @@ -287,6 +290,8 @@ body {

.imerss-checklist-holder {
padding: 1em 1.4em;
/** Override definition which ended up in imerss-viz.css of 0.5em 1.2em in May 2024 */
margin: 0;
}

.checklist-hulq-name {
Expand Down Expand Up @@ -433,6 +438,11 @@ body {
width: auto;
}

/** Override core definition from May 2024 onwards - make sure images are flush in row in Xetthecum **/
.taxonDisplay-image-holder {
padding-left: 0;
}

.taxonDisplay-wikipediaSummary {
display: block;
margin-left: 2.5rem;
Expand Down
8 changes: 8 additions & 0 deletions src/client/css/imerss-core.css
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,14 @@
overflow: auto;
}

/** These "panels" currently only exist in the old-style jQuery tabbed panes. This definition is here to make
* Xetthecum phase II panel labels show up in the right place but might be helpful in future.
* These two uses of "imerss-panel-label" (in Xetthecum and BBEAS) are unconnected.
*/
.imerss-panel {
position: relative;
}

.imerss-panel-label {
font-size: 1.5rem;
padding-bottom: 5px;
Expand Down
2 changes: 2 additions & 0 deletions src/client/css/xetthecum-core.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/** New-age file for Phase III, referenced from xetthecum-storymap **/

.imerss-cultural-values {
display: flex;
flex-wrap: wrap;
Expand Down
3 changes: 2 additions & 1 deletion src/client/css/xetthecum-external.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* This is currently used primarily for Valdes map view which has dataset
/* Phase II-era old codebase file
This is currently used primarily for Valdes map view which has dataset
controls but also Xetthecum-style panels
*/

Expand Down
2 changes: 2 additions & 0 deletions src/client/css/xetthecum-shared.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/** Old-era (Phase II) file referenced from bioblitz, Valdes and other old viz **/

:root {
--imerss-map-width: 500px;
--imerss-eco-colour: #DEE0B0;
Expand Down
10 changes: 10 additions & 0 deletions src/client/css/xetthecum.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ body {

.imerss-container {
margin: 1.5rem 0.5rem 0.5rem 0.5rem;
flex-direction: row;
}

.imerss-map-holder {
Expand Down Expand Up @@ -233,6 +234,8 @@ body {

.imerss-map {
height: 450px;
min-width: 480px;
min-height: 320px;
}

.imerss-tabs {
Expand Down Expand Up @@ -287,6 +290,8 @@ body {

.imerss-checklist-holder {
padding: 1em 1.4em;
/** Override definition which ended up in imerss-viz.css of 0.5em 1.2em in May 2024 */
margin: 0;
}

.checklist-hulq-name {
Expand Down Expand Up @@ -433,6 +438,11 @@ body {
width: auto;
}

/** Override core definition from May 2024 onwards - make sure images are flush in row in Xetthecum **/
.taxonDisplay-image-holder {
padding-left: 0;
}

.taxonDisplay-wikipediaSummary {
display: block;
margin-left: 2.5rem;
Expand Down

0 comments on commit 5d5d3bb

Please sign in to comment.