JSFiddle - React, Tailwind, and code Playground
by borisjavier
HTML
<body>
<div class="bg">
<div class="layer">
<div class="logo"><img src="https://firebasestorage.googleapis.com/v0/b/goldennotes-app.appspot.com/o/GoldenNotesLogo.png?alt=media&token=03006b95-1693-4278-b8b1-35280f0ef991" height="60"></div>
<div id="langChanger">
<!--<p style="color:rgba(255, 255, 255, 0.658)">Choose your Language: <a href="#" onclick="window.lang.change('es'); return false;">Spanish</a> | <a href="#"
onclick="window.lang.change('pt'); return false;">Português</a></p>-->
<button id="rock" onclick="window.lang.change('pt'); return false;">PT</button>
<button id="rock1" onclick="window.lang.change('en'); return false;">EN</button>
<button id="rock2" onclick="window.lang.change('es'); return false;">ES</button>
<!--<script type="module">
import Cookies from '/js.cookie.min.mjs'
Cookies.set(
{
langCookie: 'en'
})
</script>-->
<!--<select class="selectpicker" data-width="fit">
<option data-content='<span class="flag-icon flag-icon-es"></span> Español' onclick="window.lang.change('es'); return false;">Español</option>
<option data-content='<span class="flag-icon flag-icon-us"></span> English' onclick="window.lang.change('en'); return false;">English</option>
<option data-content='<span class="flag-icon flag-icon-pt"></span> Português' onclick="window.lang.change('pt'); return false;">Português</option>
</select>-->
</div>
<i class="fa fa-plus-square fa-2x add-button" style="color:white" aria-hidden="true"></i>
<div id="gSignInWrapper" align="center">
<div id="customBtn" class="centered" onclick="googleSignIn()">
<span class="icon filter"></span>
<span class="buttonText" lang="en" data-lang-token="Ingresar con...
CSS
body, html {
height: 100%;
margin: 0;
}
button {
font-size: 20px;
font-weight: bold;
border-radius: 100px;
width: 40px;
height: 40px;
color: white;
text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
#rock {
width: 40px;
height: 40px;
background-image: url(https://www.countryflags.com/wp-content/uploads/brazil-flag-png-large.png);
background-size: 40px 40px;
background-repeat: no-repeat;
}
#rock1 {
width: 40px;
height: 40px;
background-image: url(https://www.countryflags.com/wp-content/uploads/united-kingdom-flag-png-large.png);
background-size: 40px 40px;
background-repeat: no-repeat;
}
#rock2 {
width: 40px;
height: 40px;
background-image: url(https://cdn.countryflags.com/thumbs/spain/flag-800.png);
background-size: 40px 40px;
background-repeat: no-repeat;
}
.icon-bar {
width: 100%;
height: 50px;
background-color: #fff;
overflow:inherit;
}
.corp {
font-family: 'bahnschrift';
font-size: 26px;
color: #21618C;
padding: 10px 60px; display:inline-block;
font-weight: bold;
}
.add-button {
position: absolute;
top: 15px;
right: 15px;
}
.icon-bar a {
float: right;
width: 40px;
text-align: center;
padding: 12px 0;
transition: all 0.3s ease;
color: #21618C;
font-size: 20px;
}
.icon-bar a:hover {
background-color: #fff;
}
.circle-icon {
background: #F8F9F9 ;
padding:5px;
border-radius: 10%;
-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0);
-moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.46);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.46);
}
.active {
background-color: #ABB2B9;
}
.logo{
position: absolute;
left: 25px;
bottom: 80px;
}
.bar {
width: 100%;
background-color: #ccc;
overflow: auto;
}
.gSignInWrapper {
text-align: center;
background-origin: padding-box;
border: #888;
background: black;
color: white;
border-radius:...