forked from IMERSS/r-scrollytelling-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressing yesterday's feedback - prevent overflow when opening Wikip…
…edia panel, port scrollbars from Marine atlas, move author panel, factored maxwell.css into imerss-scrolly.css proper
- Loading branch information
Showing
11 changed files
with
364 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
body { | ||
font-family: Arial, Helvetica, sans-serif; | ||
} | ||
|
||
h2 { | ||
margin-block-start: 0px; | ||
} | ||
|
||
.main-container { | ||
padding-bottom: 80vh; | ||
} | ||
|
||
.mxcw-banner { | ||
font-size: 36px; | ||
} | ||
|
||
.mxcw-container { | ||
display: flex; | ||
} | ||
|
||
.mxcw-leftPane { | ||
display: flex; | ||
flex-direction: column; | ||
width: 65%; | ||
/* For God's sake I really mean it! */ | ||
min-width: 65%; | ||
} | ||
|
||
.mxcw-map { | ||
height: 65%; | ||
} | ||
|
||
.mxcw-data { | ||
height: 35% | ||
|
||
} | ||
|
||
.mxcw-content { | ||
width: 35%; | ||
font-size: 18px; | ||
padding: 0 1rem 0 1rem; | ||
height: calc(100vh - 100px); | ||
overflow-y: scroll; | ||
} | ||
|
||
.mxcw-content h2:hover { | ||
outline: 1px solid grey; | ||
cursor: pointer; | ||
} | ||
|
||
.mxcw-mapPane { | ||
opacity: 0; | ||
visibility: hidden; | ||
transition-property: opacity, visibility; | ||
transition-duration: 400ms; | ||
} | ||
|
||
.mxcw-mapPane.mxcw-activeMapPane { | ||
opacity: 1; | ||
visibility: visible; | ||
} | ||
|
||
.mxcw-mapSubPane.mxcw-mapPane { | ||
transition-duration: 0ms; | ||
} | ||
|
||
.mxcw-widgetPane { | ||
display: none; | ||
padding: 2em; | ||
} | ||
|
||
.mxcw-widgetPane.mxcw-activeWidgetPane { | ||
display: block; | ||
} | ||
|
||
.mxcw-content .section { | ||
padding: 8px; | ||
} | ||
|
||
.mxcw-activeSection { | ||
background-color: #eee; | ||
outline: 1px solid black; | ||
transition-property: background-color, outline; | ||
transition-duration: 400ms; | ||
} | ||
|
||
.mxcw-mapLabel { | ||
z-index: 999 !important; | ||
} | ||
|
||
.mxcw-mapLabel > div { | ||
transform: translateX(-50%) translateY(-50%); | ||
} | ||
|
||
body ::-webkit-scrollbar { | ||
-webkit-appearance: none; | ||
width: 12px; | ||
background-color: #eee | ||
} | ||
|
||
body ::-webkit-scrollbar-thumb { | ||
border-radius: 6px; | ||
background-color: #C1C1C1; | ||
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5); | ||
} | ||
|
||
::-webkit-scrollbar-thumb:hover { | ||
background-color: #A8A8A8; | ||
} | ||
|
||
body .mx-header ::-webkit-scrollbar { | ||
width: 8px; | ||
} | ||
|
||
body .mx-header ::-webkit-scrollbar-thumb { | ||
border-radius: 4px; | ||
} | ||
|
||
/* Override Xetthecum definition */ | ||
.fl-imerss-container { | ||
margin: 0px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.