295 lines
4.6 KiB
CSS
295 lines
4.6 KiB
CSS
@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.dd-cards-container {
|
|
font-family: 'Muli', sans-serif;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.dd-card {
|
|
background-color: #fff;
|
|
display: flex;
|
|
max-width: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
}
|
|
|
|
.dd-card h6 {
|
|
opacity: 0.6;
|
|
margin: 0;
|
|
letter-spacing: 0.0625rem;
|
|
}
|
|
|
|
.uppercase {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.dd-card h2 {
|
|
letter-spacing: 0.0625rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.dd-card-preview {
|
|
background-color: #2A265F;
|
|
color: #fff;
|
|
padding: 0.1rem 1rem 1rem 1rem;
|
|
margin:0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.dd-card-preview a {
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-size: 0.75rem;
|
|
opacity: 0.6;
|
|
margin-top: 1.875rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.dd-card-preview button {
|
|
border-width: 0;
|
|
align-items: center;
|
|
background-color: transparent;
|
|
color: white;
|
|
margin: 15% 0 0 0;
|
|
transition: color 0.25s ease;
|
|
|
|
}
|
|
|
|
.dd-card-preview button:hover {
|
|
color: #bebebe;
|
|
}
|
|
|
|
.dd-card-preview span {
|
|
}
|
|
|
|
.dd-card-info {
|
|
padding: 1rem 0 0 1.875rem;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.dd-card-info p {
|
|
opacity: 0.6;
|
|
font-size: 0.75rem;
|
|
opacity: 0.6;
|
|
margin-top: .875rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.progress-container {
|
|
text-align: right;
|
|
width: 100%;
|
|
margin: 1rem 0 0 0;
|
|
}
|
|
|
|
.app-logo {
|
|
width: 5rem;
|
|
margin: 1rem 0 0 0;
|
|
}
|
|
|
|
.progress {
|
|
background-color: #ddd;
|
|
border-radius: 0.1875rem;
|
|
height: 0.3125rem;
|
|
width: 10rem;
|
|
}
|
|
|
|
.progress::after {
|
|
background-color: #2A265F;
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 0.3125rem;
|
|
width: var(--progress-width, 1%);
|
|
transition: width 1s ease;
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 0.625rem;
|
|
opacity: 0.6;
|
|
letter-spacing: 0.0625rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.dd-card-btn {
|
|
background-color: #2A265F;
|
|
border: 0;
|
|
border-radius: 3.125rem;
|
|
box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
padding: 0.75rem 1.5625rem;
|
|
position: absolute;
|
|
bottom: 1.875rem;
|
|
right: 1.875rem;
|
|
letter-spacing: 0.0625rem;
|
|
}
|
|
|
|
/* SOCIAL PANEL CSS */
|
|
.social-panel-container {
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 5rem;
|
|
transform: translateX(100%);
|
|
transition: transform 0.4s ease-in-out;
|
|
}
|
|
|
|
.social-panel-container.visible {
|
|
transform: translateX(-0.625rem);
|
|
}
|
|
|
|
.social-panel {
|
|
background-color: #fff;
|
|
border-radius: 16px;
|
|
box-shadow: 0 16px 31px -17px rgba(0,31,97,0.6);
|
|
border: 5px solid #001F61;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-family: 'Muli';
|
|
position: relative;
|
|
height: 169px;
|
|
width: 370px;
|
|
max-width: calc(100% - 10px);
|
|
}
|
|
|
|
.social-panel button.close-btn {
|
|
border: 0;
|
|
color: #97A5CE;
|
|
cursor: pointer;
|
|
font-size: 20px;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
}
|
|
|
|
.social-panel button.close-btn:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.social-panel p {
|
|
background-color: #001F61;
|
|
border-radius: 0 0 10px 10px;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
padding: 2px 17px 6px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
margin: 0;
|
|
transform: translateX(-50%);
|
|
text-align: center;
|
|
width: 235px;
|
|
}
|
|
|
|
.social-panel p i {
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.social-panel p a {
|
|
color: #FF7500;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.social-panel h4 {
|
|
margin: 20px 0;
|
|
color: #97A5CE;
|
|
font-family: 'Muli';
|
|
font-size: 14px;
|
|
line-height: 18px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.social-panel ul {
|
|
display: flex;
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.social-panel ul li {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
.social-panel ul li a {
|
|
border: 1px solid #DCE1F2;
|
|
border-radius: 50%;
|
|
color: #001F61;
|
|
font-size: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 50px;
|
|
width: 50px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.social-panel ul li a:hover {
|
|
border-color: #FF6A00;
|
|
box-shadow: 0 9px 12px -9px #FF6A00;
|
|
}
|
|
|
|
.floating-btn {
|
|
border-radius: 26.5px;
|
|
background-color: #001F61;
|
|
border: 1px solid #001F61;
|
|
box-shadow: 0 16px 22px -17px #03153B;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
padding: 12px 20px;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
z-index: 999;
|
|
}
|
|
|
|
.floating-btn:hover {
|
|
background-color: #ffffff;
|
|
color: #001F61;
|
|
}
|
|
|
|
.floating-btn:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.floating-text {
|
|
background-color: #001F61;
|
|
border-radius: 10px 10px 0 0;
|
|
color: #fff;
|
|
font-family: 'Muli';
|
|
padding: 7px 15px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
text-align: center;
|
|
z-index: 998;
|
|
}
|
|
|
|
@media screen and (max-width: 480px) {
|
|
|
|
.social-panel-container.visible {
|
|
transform: translateX(0px);
|
|
}
|
|
|
|
.floating-btn {
|
|
right: 10px;
|
|
}
|
|
} |