Maps drop-in: research tab styling and spacing
This commit is contained in:
parent
61ce5de959
commit
a7340f198e
4 changed files with 9 additions and 9 deletions
|
|
@ -1303,7 +1303,7 @@
|
|||
padding-inline-start:36px;
|
||||
padding-inline-end:16px;
|
||||
scroll-padding-inline:16px;
|
||||
gap:var(--spacing-3xl,28px);
|
||||
gap:52px;
|
||||
z-index:10;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;
|
||||
font-family:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
|
||||
}
|
||||
|
|
@ -1311,19 +1311,19 @@
|
|||
.rm-dark .rm-tab-bar { background:#2a332a; }
|
||||
.rm-tab {
|
||||
background:none;border:none;padding:0;height:100%;
|
||||
display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
|
||||
display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
|
||||
font-family:inherit;
|
||||
font-size:14px;font-weight:600;
|
||||
color:#5f6368;
|
||||
color:#6d766e;
|
||||
cursor:pointer;
|
||||
white-space:nowrap;
|
||||
transition:color .12s;
|
||||
}
|
||||
.rm-tab::after {
|
||||
content:'';display:block;align-self:stretch;height:8px;border-radius:2px;
|
||||
content:'';display:block;align-self:stretch;height:3px;border-radius:2px;
|
||||
background:transparent;transition:background .12s;
|
||||
}
|
||||
.rm-tab:hover { color:#202124; }
|
||||
.rm-tab:hover { color:#3b463d; }
|
||||
.rm-tab.active { color:#3b463d;font-weight:700; }
|
||||
.rm-tab.active::after { background:#73A17F; }
|
||||
.rm-tab-sep {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<script>window.MAP_APP_API_URL = "https://pray.doxa.life";</script>
|
||||
<!-- Bundle IIFE — registers the <doxa-research-map> custom element. -->
|
||||
<script src="../doxa-research-map.js" integrity="sha384-47YL9pp+xscOoe3DTvaguzmwEiI1Gpj08xae7w68vUqwBeUXpgrmzGG8+4u+YyJK" crossorigin="anonymous"></script>
|
||||
<script src="../doxa-research-map.js" integrity="sha384-jnq6fRKUf7gfrqtiXdleQsRvNCXXWAXTbFV05WAypl7ShT0A27k5bCkCBlSuTEdQ" crossorigin="anonymous"></script>
|
||||
|
||||
<script>
|
||||
// Mapbox token resolution — the A3 ladder, in precedence order:
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@
|
|||
"bundle": "doxa-research-map",
|
||||
"scriptUrl": "./doxa-research-map/doxa-research-map.js",
|
||||
"output": "doxa-maps/doxa-research-map/doxa-research-map.js",
|
||||
"integrity": "sha384-47YL9pp+xscOoe3DTvaguzmwEiI1Gpj08xae7w68vUqwBeUXpgrmzGG8+4u+YyJK",
|
||||
"integrity": "sha384-jnq6fRKUf7gfrqtiXdleQsRvNCXXWAXTbFV05WAypl7ShT0A27k5bCkCBlSuTEdQ",
|
||||
"elements": [
|
||||
"doxa-research-map"
|
||||
],
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
"scriptUrl": "./doxa-research-map/doxa-research-map.js",
|
||||
"embed": {
|
||||
"iframe": "<iframe src=\"./doxa-research-map/research-map/index.html?utm_source=YOUR_SOURCE\" width=\"100%\" height=\"600\" style=\"border:none;border-radius:12px;\" allowfullscreen></iframe>",
|
||||
"script": "<script src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-47YL9pp+xscOoe3DTvaguzmwEiI1Gpj08xae7w68vUqwBeUXpgrmzGG8+4u+YyJK\" crossorigin=\"anonymous\"></script>\n<doxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\"}'></doxa-research-map>"
|
||||
"script": "<script src=\"./doxa-research-map/doxa-research-map.js\" integrity=\"sha384-jnq6fRKUf7gfrqtiXdleQsRvNCXXWAXTbFV05WAypl7ShT0A27k5bCkCBlSuTEdQ\" crossorigin=\"anonymous\"></script>\n<doxa-research-map profile-config='{\"profile\":\"research-map\",\"tk\":\"YOUR_MAPBOX_TOKEN\",\"utmSource\":\"YOUR_SOURCE\"}'></doxa-research-map>"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue