Articles / Customization
<header class="header-wrapper">
<img
class="header-logo"
src="https://demo-cool-energy-react.netlify.app/logo-text.png"
alt="logo"
/>
</header>
<div class="content-wrapper">
<div class="criipto-verify">
<criipto-verify />
</div>
<div class="sidebox">
<h1 class="sidebox-heading">Logging in with eID</h1>
<p>
We use eIDs to confirm your identity and prevent any unauthorized sign-ins
in your name.
</p>
<ul class="sidebox-links">
<li class="sidebox-link"><a href="#">Need help logging in?</a></li>
<li class="sidebox-link">
<a href="#">Business customer? Login with MitID Erhverv</a>
</li>
<li class="sidebox-link">
<a href="#">Log in with Norwegian BankID instead</a>
</li>
</ul>
</div>
</div>
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;300;400;600;700&display=swap');
body {
position: relative;
font-family: 'IBM Plex Sans', sans-serif;
background-color: #edeefb;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
margin: 0;
}
.header-wrapper {
padding: 20px;
margin-bottom: 3vh;
}
.header-logo {
position: absolute;
top: 0;
left: 0;
height: 30px;
width: auto;
padding: 20px;
}
.content-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
max-width: 800px;
margin-top: 20px;
}
.criipto-verify,
.sidebox {
margin: 5px 0;
flex: 1;
}
.sidebox {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
padding: 20px;
}
.sidebox-heading {
margin-top: 0;
}
.sidebox-links {
padding: 0;
list-style: none;
}
.sidebox-link {
margin-bottom: 20px;
}
.sidebox-link a {
text-decoration: none;
color: #604fec;
font-weight: bold;
}
.sidebox-link a:hover {
text-decoration: underline;
}
/* Font above the Criipto Verify frame */
.broker header,
.broker #headline {
font-family: 'IBM Plex Sans', sans-serif;
}
@media only screen and (min-width: 601px) {
.header-wrapper {
padding-left: 40px;
}
.header-logo {
margin-bottom: 20px;
height: 4vh;
}
.content-wrapper {
flex-direction: row;
align-items: stretch;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
max-height: 93vh;
}
.sidebox {
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.criipto-verify {
margin-right: 25px;
margin-left: 25px;
}
}
@media screen and (min-width: 992px) {
.header-logo {
height: 50px;
margin-bottom: 20px;
}
.content-wrapper {
max-width: 1200px;
}
.header-wrapper {
margin-bottom: 60px;
}
}
If using custom fonts or images, remember to add them to the style origins of your tenant to avoid potential Content Security Policy violations.
From the dashboard, go to Styling
-> General
, and add the host names as Style origins:
<div class="content-wrapper">
<div class="infobox">
<div class="infobox-content">
<img
class="infobox-logo"
src="https://demo-cool-energy-react.netlify.app/logo-white.png"
alt="logo"
/>
<div class="infobox-text">
<h1 class="sidebox-heading">
Hey! <span>Log in</span> to your Cool Energy profile
</h1>
<p>
Don't have BankID? <br />
Log in using a one-time code sent to your email or your confirmed
mobile number.<br /><br />
Don't have a Cool Energy profile? Open one now by contacting your
agent or logging in with BankID.
</p>
</div>
<div class="infobox-footer">
<p>coolenergy.dk · <a href="#">Cookie Policy and Handling of Personal Data</a></p>
<p>© Cool Energy Inc. 2022-2023</p>
</div>
</div>
</div>
<div class="criipto-verify">
<div class="inner">
<criipto-verify />
</div>
</div>
</div>
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@100;300;400;600;700&display=swap');
body {
font-family: 'IBM Plex Sans', sans-serif;
margin: 0;
background-color: white;
}
.content-wrapper {
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.infobox {
display: flex;
justify-content: center;
background-color: #6050ed;
color: white;
}
.criipto-verify,
.infobox {
padding: 10px 30px;
}
.infobox span {
color: #fffdac;
}
.infobox-logo {
display: none;
}
.infobox-footer {
display: none;
}
.criipto-verify {
display: flex;
justify-content: center;
align-items: center;
}
/* Font above the Criipto Verify frame */
.broker header,
.broker #headline {
font-family: 'IBM Plex Sans', sans-serif;
}
@media only screen and (min-width: 601px) {
.content-wrapper {
flex-direction: row;
align-items: stretch;
min-height: 100vh;
gap: 20px;
}
.infobox {
min-height: 100vh;
}
.criipto-verify {
flex: 2 1 50%;
flex-direction: column;
justify-content: center;
align-items: flex-start;
margin: 0 2rem;
padding: 0 2rem;
}
.infobox {
display: flex;
flex: 1 2 33%;
padding: 0 2rem;
align-items: center;
}
.infobox-logo {
display: block;
width: 8rem;
}
.infobox-content {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
min-height: calc(100vh - 50px);
}
.infobox-footer {
display: block;
font-size: 0.8rem;
padding: 0;
}
.infobox-footer p {
padding-bottom: 0;
margin-bottom: 0;
}
.infobox-footer a {
text-decoration: underline;
color: white;
}
}
@media screen and (min-width: 992px) {
.infobox {
padding: 0 12rem;
}
.infobox-logo {
width: 12rem;
}
.infobox-footer {
margin-bottom: 20px;
}
}
If using custom fonts or images, remember to add them to the style origins of your tenant to avoid potential Content Security Policy violations.
From the dashboard, go to Styling
-> General
, and add the host names as Style origins: