w-aura/src/components/CompatResultPage/styles.module.css

118 lines
2.2 KiB
CSS

.page {
position: relative;
height: calc(100vh - 50px);
flex: auto;
/* max-height: -webkit-fill-available; */
background-color: #000;
color: #fff;
overflow-y: scroll;
padding-bottom: 180px;
}
.title-container {
color: #e9445a;
}
.percent {
margin-bottom: 0;
}
.result-container {
width: 100%;
}
.result-container__title {
width: 100%;
text-align: left;
}
.result-container__text {
white-space: pre-wrap;
line-height: 1.2;
}
.button-container {
position: fixed;
width: 100%;
max-width: 560px;
bottom: 0;
border-radius: 16px 16px 0 0;
background-color: rgba(128, 128, 128, 0.546);
-webkit-backdrop-filter: blur(14px);
backdrop-filter: blur(14px);
display: flex;
align-items: center;
flex-direction: column;
gap: 16px;
padding: 16px 0 24px 0;
}
.button-container__text {
max-width: calc(100% - 64px);
text-align: center;
color: #7ce4fc;
}
.button-container__button {
font-weight: 500;
border: none;
bottom: 24px;
width: calc(100% - 64px);
max-width: 496px;
border-radius: 32px;
padding: 24px 0;
background: -moz-linear-gradient(to bottom, #2dc8e2, #2b7ed6);
background: -webkit-linear-gradient(to bottom, #2dc8e2, #2b7ed6);
background: linear-gradient(to bottom, #2dc8e2, #2b7ed6);
color: #fff;
}
.button-green {
position: fixed;
font-weight: 500;
border: none;
bottom: 24px;
width: calc(100% - 64px);
max-width: 496px;
border-radius: 32px;
padding: 24px 0;
background: -moz-linear-gradient(to bottom, #01d400, #196e17);
background: -webkit-linear-gradient(to bottom, #01d400, #196e17);
background: linear-gradient(to bottom, #01d400, #196e17);
color: #fff;
}
.cross {
position: absolute;
top: 24px;
right: 24px;
width: 24px;
height: 24px;
border: solid 2px #bdbdbd;
border-radius: 100%;
rotate: 45deg;
cursor: pointer;
}
.cross::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 10px;
height: 2px;
background-color: #bdbdbd;
}
.cross::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 2px;
height: 10px;
background-color: #bdbdbd;
}