|
|
body { |
|
|
font-family: 'Roboto', sans-serif; |
|
|
background: linear-gradient(to bottom, #f8f9fa, #e0e6ed); |
|
|
color: #333; |
|
|
font-size: 1.6rem; |
|
|
margin: 0; |
|
|
} |
|
|
|
|
|
.header-section { |
|
|
display: flex; |
|
|
align-items: end; |
|
|
padding: 1vw 3vw; |
|
|
position: relative; |
|
|
color: #333; |
|
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px; |
|
|
justify-content: space-between; |
|
|
} |
|
|
|
|
|
.error-popup { |
|
|
position: fixed; |
|
|
top: 0; |
|
|
left: 0; |
|
|
width: 100vw; |
|
|
height: 100vh; |
|
|
background-color: rgba(0, 0, 0, 0.5); |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
z-index: 1000; |
|
|
} |
|
|
|
|
|
.error-popup-content { |
|
|
background-color: #fff; |
|
|
padding: 2vw; |
|
|
border-radius: 0.5vw; |
|
|
box-shadow: 0 0.4vw 0.8vw rgba(0, 0, 0, 0.3); |
|
|
text-align: center; |
|
|
max-width: 40vw; |
|
|
width: 80%; |
|
|
border: 10px solid var(--main-accent-color); |
|
|
} |
|
|
|
|
|
.error-popup-content p { |
|
|
font-size: 1.4vw; |
|
|
color: #dc3545; |
|
|
margin-bottom: 1vw; |
|
|
} |
|
|
|
|
|
.app-container { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
height: 100vh; |
|
|
width: 100%; |
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; |
|
|
background-color: rgb(35 34 32 / 43%); |
|
|
} |
|
|
|
|
|
.app-container::before { |
|
|
content: ""; |
|
|
position: fixed; |
|
|
top: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
background-size: cover; |
|
|
background-position: center; |
|
|
z-index: -1; |
|
|
} |
|
|
|
|
|
.input-box { |
|
|
padding: 15px; |
|
|
width: 400px; |
|
|
font-size: 1.6rem; |
|
|
border: none; |
|
|
border-radius: 8px; |
|
|
box-shadow: 0 0.2vw 0.5vw rgba(0, 0, 0, 0.1); |
|
|
} |
|
|
|
|
|
.input-box:focus-visible { |
|
|
outline: 2px solid #5d5959; |
|
|
} |
|
|
|
|
|
.full-content { |
|
|
display: flex; |
|
|
padding: 10px; |
|
|
box-sizing: border-box; |
|
|
margin-top: 1vw; |
|
|
} |
|
|
|
|
|
.questions-container { |
|
|
position: relative; |
|
|
max-height: 100%; |
|
|
overflow: hidden; |
|
|
margin: 1vw; |
|
|
box-sizing: border-box; |
|
|
background-color: #f9f9f9; |
|
|
border-radius: 8px; |
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
|
|
background: #e3f2fd; |
|
|
padding: 1vw 1vw 1vw 2vw; |
|
|
width: 100%; |
|
|
box-shadow: 0 .4vw 1vw rgba(0, 0, 0, .1); |
|
|
border: 9px solid var(--main-accent-color); |
|
|
} |
|
|
|
|
|
.quesHintbtn { |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
} |
|
|
|
|
|
.question-item { |
|
|
margin-bottom: 8px; |
|
|
word-wrap: break-word; |
|
|
display: flex; |
|
|
gap: 15px; |
|
|
align-items: flex-start; |
|
|
} |
|
|
|
|
|
.question-wrapper ul { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
} |
|
|
|
|
|
.answer-input { |
|
|
margin-left: 5px; |
|
|
width: auto; |
|
|
max-width: 100%; |
|
|
padding: 5px; |
|
|
border: 1px solid #ccc; |
|
|
border-radius: 4px; |
|
|
} |
|
|
|
|
|
.section-title { |
|
|
font-size: 2.5rem; |
|
|
color: #4ca1af; |
|
|
font-family: 'Open Sans', sans-serif; |
|
|
} |
|
|
|
|
|
.questions-list { |
|
|
list-style: none; |
|
|
padding: 0; |
|
|
margin: 1.4vw; |
|
|
} |
|
|
|
|
|
.question-wrapper { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
gap: 10px; |
|
|
} |
|
|
|
|
|
.question-text { |
|
|
font-size: 1.3vw; |
|
|
font-family: 'Roboto', sans-serif; |
|
|
line-height: 1.5; |
|
|
} |
|
|
|
|
|
.answer-input { |
|
|
width: 100%; |
|
|
max-width: 203px; |
|
|
border: 1px solid #999; |
|
|
border-radius: 8px; |
|
|
font-family: "Roboto", sans-serif; |
|
|
font-size: 1.6rem; |
|
|
color: #333; |
|
|
position: relative; |
|
|
border-radius: .5vw; |
|
|
text-align: center; |
|
|
vertical-align: text-bottom; |
|
|
margin: 0 .15vw; |
|
|
display: -ms-inline-flexbox; |
|
|
-ms-flex-pack: center; |
|
|
justify-content: center; |
|
|
-ms-flex-align: center; |
|
|
align-items: center; |
|
|
padding-bottom: .85vw; |
|
|
box-shadow: 0 .05vw 0 .07vw #dfdfdf; |
|
|
padding: 0.3vw 0; |
|
|
} |
|
|
|
|
|
.answer-input:focus { |
|
|
border-color: #5c67f2; |
|
|
outline: none; |
|
|
} |
|
|
|
|
|
.answer-input::placeholder { |
|
|
font-family: 'Roboto', sans-serif; |
|
|
color: #aaa; |
|
|
font-style: italic; |
|
|
} |
|
|
|
|
|
.submit-container { |
|
|
position: relative; |
|
|
right: 6vw; |
|
|
display: flex; |
|
|
justify-content: flex-end; |
|
|
} |
|
|
|
|
|
@keyframes fadeIn { |
|
|
from { |
|
|
opacity: 0; |
|
|
} |
|
|
|
|
|
to { |
|
|
opacity: 1; |
|
|
} |
|
|
} |
|
|
|
|
|
.warning-label { |
|
|
color: red; |
|
|
text-align: center; |
|
|
font-size: 1.5em; |
|
|
margin-top: 10px; |
|
|
display: block; |
|
|
width: 100%; |
|
|
} |
|
|
|
|
|
.congratulation-message { |
|
|
text-align: center; |
|
|
margin: 50px auto; |
|
|
padding: 40px; |
|
|
background: white; |
|
|
border-radius: 15px; |
|
|
width: 66vw; |
|
|
height: 50vh; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
font-family: 'Pacifico', cursive; |
|
|
position: relative; |
|
|
z-index: 1; |
|
|
box-shadow: 0 .4vw 1vw rgba(0, 0, 0, .1); |
|
|
border: 9px solid var(--main-accent-color); |
|
|
} |
|
|
|
|
|
.congratulation-message h2 { |
|
|
color: #4ca1af; |
|
|
margin-bottom: 15px; |
|
|
font-size: 2.5vw; |
|
|
white-space: nowrap; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
|
.congratulation-message h2 { |
|
|
font-size: 2vw; |
|
|
} |
|
|
} |
|
|
|
|
|
@media (max-width: 480px) { |
|
|
.congratulation-message h2 { |
|
|
font-size: 3vw; |
|
|
} |
|
|
} |
|
|
|
|
|
.congratulation-message p { |
|
|
color: #333; |
|
|
margin-bottom: 20px; |
|
|
font-size: 1.8vw; |
|
|
} |
|
|
|
|
|
.side-menu { |
|
|
position: fixed; |
|
|
top: 0; |
|
|
right: -100%; |
|
|
width: 50%; |
|
|
height: 100%; |
|
|
background-color: #ffffff; |
|
|
box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1); |
|
|
padding: 20px; |
|
|
box-sizing: border-box; |
|
|
overflow-y: auto; |
|
|
transition: right 0.3s ease; |
|
|
z-index: 999; |
|
|
} |
|
|
|
|
|
.side-menu.active { |
|
|
right: 0; |
|
|
} |
|
|
|
|
|
.side-menu-header { |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
align-items: center; |
|
|
margin-bottom: 20px; |
|
|
} |
|
|
|
|
|
.side-menu-header h3 { |
|
|
font-size: 1.5rem; |
|
|
color: #4ca1af; |
|
|
} |
|
|
|
|
|
.side-menu-header .close-btn { |
|
|
background-color: #ff5c5c; |
|
|
color: white; |
|
|
border: none; |
|
|
border-radius: 50%; |
|
|
font-size: 1.2rem; |
|
|
width: 30px; |
|
|
height: 30px; |
|
|
cursor: pointer; |
|
|
} |
|
|
|
|
|
.side-menu ul { |
|
|
list-style: none; |
|
|
padding: 0; |
|
|
margin: 0; |
|
|
font-family: "Open Sans", sans-serif; |
|
|
} |
|
|
|
|
|
.side-menu li { |
|
|
font-size: 1vw; |
|
|
color: #333; |
|
|
margin-bottom: 10px; |
|
|
text-align: justify; |
|
|
} |
|
|
|
|
|
@keyframes glow { |
|
|
0% { |
|
|
box-shadow: 0 0 10px #ff5c5c; |
|
|
} |
|
|
|
|
|
50% { |
|
|
box-shadow: 0 0 20px #ff5c5c; |
|
|
} |
|
|
|
|
|
100% { |
|
|
box-shadow: 0 0 10px #ff5c5c; |
|
|
} |
|
|
} |
|
|
|
|
|
@media (max-width: 1366px) { |
|
|
body { |
|
|
font-size: 1.4rem; |
|
|
} |
|
|
|
|
|
.header-section { |
|
|
padding: 8px 15px; |
|
|
} |
|
|
|
|
|
.logo-container { |
|
|
width: 10vw; |
|
|
} |
|
|
|
|
|
.back-button { |
|
|
font-size: 14px; |
|
|
right: 1vw; |
|
|
top: 3vw; |
|
|
} |
|
|
|
|
|
.input-box { |
|
|
width: 250px; |
|
|
font-size: 1.4rem; |
|
|
} |
|
|
|
|
|
.btn-generate, .reset-btn { |
|
|
padding: 10px 20px; |
|
|
font-size: 1.4rem; |
|
|
} |
|
|
|
|
|
.current-level { |
|
|
font-size: 1rem; |
|
|
padding: 8px 10px; |
|
|
margin: 15px 15px 0; |
|
|
} |
|
|
|
|
|
.question-text { |
|
|
font-size: 1rem; |
|
|
} |
|
|
|
|
|
.answer-input { |
|
|
width: 80%; |
|
|
font-size: 1.4rem; |
|
|
padding: 5px; |
|
|
} |
|
|
|
|
|
.side-menu { |
|
|
width: 40%; |
|
|
} |
|
|
|
|
|
.congratulation-message { |
|
|
padding: 30px; |
|
|
width: 60vw; |
|
|
height: 45vh; |
|
|
} |
|
|
|
|
|
.congratulation-message h2 { |
|
|
color: #4ca1af; |
|
|
margin-bottom: 15px; |
|
|
font-size: 2.5vw; |
|
|
white-space: nowrap; |
|
|
overflow: hidden; |
|
|
text-overflow: ellipsis; |
|
|
text-align: center; |
|
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
|
.congratulation-message h2 { |
|
|
font-size: 2vw; |
|
|
} |
|
|
} |
|
|
|
|
|
@media (max-width: 480px) { |
|
|
.congratulation-message h2 { |
|
|
font-size: 3vw; |
|
|
} |
|
|
} |
|
|
|
|
|
.congratulation-message p { |
|
|
font-size: 1.4rem; |
|
|
} |
|
|
|
|
|
.congratulation-message button { |
|
|
padding: 15px 30px; |
|
|
font-size: 1.4rem; |
|
|
} |
|
|
} |
|
|
|
|
|
h3 { |
|
|
font-weight: bold; |
|
|
} |
|
|
|
|
|
.topic-input[readonly] { |
|
|
color: #999 !important; |
|
|
opacity: 1 !important; |
|
|
background-color: white !important; |
|
|
border: 1px solid #ccc !important; |
|
|
cursor: not-allowed; |
|
|
} |
|
|
|
|
|
@keyframes hint-zoom { |
|
|
0% { |
|
|
transform: scale(1); |
|
|
} |
|
|
|
|
|
50% { |
|
|
transform: scale(1.2); |
|
|
} |
|
|
|
|
|
100% { |
|
|
transform: scale(1); |
|
|
} |
|
|
} |
|
|
|
|
|
.loading-overlay { |
|
|
position: fixed; |
|
|
top: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
height: 100%; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
justify-content: center; |
|
|
align-items: center; |
|
|
z-index: 1000; |
|
|
font-family: 'Comic Sans MS', cursive, sans-serif; |
|
|
text-align: center; |
|
|
overflow: hidden; |
|
|
} |
|
|
|
|
|
.loader { |
|
|
font-size: 15px; |
|
|
width: 1.5em; |
|
|
height: 1.5em; |
|
|
border-radius: 50%; |
|
|
position: relative; |
|
|
text-indent: -9999em; |
|
|
animation: mulShdSpin 1.1s infinite ease; |
|
|
transform: translateZ(0); |
|
|
} |
|
|
|
|
|
@keyframes mulShdSpin { |
|
|
0%, 100% { |
|
|
box-shadow: 0em -3em 0em 0em #808080, 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2), 3em 0em 0 0em rgba(128, 128, 128, 0.2), 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), 0em 3em 0 0em rgba(128, 128, 128, 0.2), -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), -3em 0em 0 0em rgba(128, 128, 128, 0.5), -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.7); |
|
|
} |
|
|
|
|
|
12.5% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.7), 2.2em -2.2em 0 0em #808080, 3em 0em 0 0em rgba(128, 128, 128, 0.2), 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), 0em 3em 0 0em rgba(128, 128, 128, 0.2), -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), -3em 0em 0 0em rgba(128, 128, 128, 0.2), -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.5); |
|
|
} |
|
|
|
|
|
25% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.5), 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.7), 3em 0em 0 0em #808080, 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), 0em 3em 0 0em rgba(128, 128, 128, 0.2), -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), -3em 0em 0 0em rgba(128, 128, 128, 0.2), -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2); |
|
|
} |
|
|
|
|
|
37.5% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.2), 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.5), 3em 0em 0 0em rgba(128, 128, 128, 0.7), 2.2em 2.2em 0 0em #808080, 0em 3em 0 0em rgba(128, 128, 128, 0.2), -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), -3em 0em 0 0em rgba(128, 128, 128, 0.2), -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2); |
|
|
} |
|
|
|
|
|
50% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.2), 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2), 3em 0em 0 0em rgba(128, 128, 128, 0.5), 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.7), 0em 3em 0 0em #808080, -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), -3em 0em 0 0em rgba(128, 128, 128, 0.2), -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2); |
|
|
} |
|
|
|
|
|
62.5% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.2), 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2), 3em 0em 0 0em rgba(128, 128, 128, 0.2), 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.5), 0em 3em 0 0em rgba(128, 128, 128, 0.7), -2.2em 2.2em 0 0em #808080, -3em 0em 0 0em rgba(128, 128, 128, 0.2), -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2); |
|
|
} |
|
|
|
|
|
75% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.2), 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2), 3em 0em 0 0em rgba(128, 128, 128, 0.2), 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), 0em 3em 0 0em rgba(128, 128, 128, 0.5), -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.7), -3em 0em 0 0em #808080, -2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2); |
|
|
} |
|
|
|
|
|
87.5% { |
|
|
box-shadow: 0em -3em 0em 0em rgba(128, 128, 128, 0.2), 2.2em -2.2em 0 0em rgba(128, 128, 128, 0.2), 3em 0em 0 0em rgba(128, 128, 128, 0.2), 2.2em 2.2em 0 0em rgba(128, 128, 128, 0.2), 0em 3em 0 0em rgba(128, 128, 128, 0.2), -2.2em 2.2em 0 0em rgba(128, 128, 128, 0.5), -3em 0em 0 0em rgba(128, 128, 128, 0.7), -2.2em -2.2em 0 0em #808080; |
|
|
} |
|
|
} |
|
|
|
|
|
.suggestions-container { |
|
|
position: absolute; |
|
|
top: 100%; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
max-width: 400px; |
|
|
background: white; |
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); |
|
|
border-radius: 8px; |
|
|
z-index: 10; |
|
|
overflow: hidden; |
|
|
margin-top: 0px; |
|
|
} |
|
|
|
|
|
.suggestions-list { |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
padding: 0px; |
|
|
} |
|
|
|
|
|
.suggestion-item { |
|
|
padding: 10px 15px; |
|
|
font-size: 1.4rem; |
|
|
color: #333; |
|
|
cursor: pointer; |
|
|
transition: background 0.3s ease; |
|
|
border-bottom: 1px solid #ddd; |
|
|
} |
|
|
|
|
|
.suggestion-item:last-child { |
|
|
border-bottom: none; |
|
|
} |
|
|
|
|
|
.suggestion-item:hover { |
|
|
background: #f0f0f0; |
|
|
font-weight: bold; |
|
|
} |
|
|
|
|
|
.answer-slot { |
|
|
display: inline-block; |
|
|
margin: 0 0.25vw; |
|
|
vertical-align: middle; |
|
|
} |
|
|
|
|
|
|
|
|
.input-section { |
|
|
display: flex; |
|
|
flex-wrap: wrap; |
|
|
align-items: center; |
|
|
justify-content: center; |
|
|
gap: 10px; |
|
|
position: relative; |
|
|
} |
|
|
|
|
|
|
|
|
.button-group { |
|
|
display: flex; |
|
|
gap: 0.5vw; |
|
|
flex: 1; |
|
|
justify-content: flex-start; |
|
|
} |
|
|
|
|
|
.correct-answer { |
|
|
color: green !important; |
|
|
} |
|
|
|
|
|
.wrong-answer { |
|
|
color: red !important; |
|
|
} |
|
|
|
|
|
.default { |
|
|
color: black !important; |
|
|
} |
|
|
|
|
|
.answer-input:focus { |
|
|
outline: none; |
|
|
} |
|
|
|
|
|
.wrong-answer-removed { |
|
|
background-color: white; |
|
|
color: #333; |
|
|
border: 1px solid #ccc; |
|
|
transition: background-color 2s ease-out; |
|
|
} |
|
|
|
|
|
.difficulty-container { |
|
|
position: relative; |
|
|
width: 100%; |
|
|
max-width: 600px; |
|
|
height: 20px; |
|
|
background: #e0e0e0; |
|
|
border-radius: 50px; |
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); |
|
|
} |
|
|
|
|
|
.progress-bar-fill { |
|
|
height: 100%; |
|
|
width: 0%; |
|
|
background: linear-gradient(to right, #4ca1af, #6ac5cb); |
|
|
border-radius: 50px; |
|
|
transition: width 0.6s ease-in-out; |
|
|
position: absolute; |
|
|
top: 0; |
|
|
left: 0; |
|
|
z-index: 1; |
|
|
} |
|
|
|
|
|
.level-dots { |
|
|
position: absolute; |
|
|
width: 100%; |
|
|
top: 50%; |
|
|
left: 0; |
|
|
transform: translateY(-50%); |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
padding: 0 8px; |
|
|
} |
|
|
|
|
|
.level-dot { |
|
|
width: 17px; |
|
|
height: 17px; |
|
|
background: white; |
|
|
border: 2px solid #fff; |
|
|
border-radius: 50%; |
|
|
position: relative; |
|
|
transition: transform 0.3s ease; |
|
|
} |
|
|
|
|
|
.level-dot.active { |
|
|
background: #356fdc; |
|
|
transform: scale(1.3); |
|
|
} |
|
|
|
|
|
.level-tooltip { |
|
|
position: absolute; |
|
|
bottom: 150%; |
|
|
left: 50%; |
|
|
transform: translateX(-50%); |
|
|
background-color: #4ca1af; |
|
|
color: white; |
|
|
font-size: 1vw; |
|
|
font-weight: bold; |
|
|
padding: 4px 8px; |
|
|
border-radius: 6px; |
|
|
white-space: nowrap; |
|
|
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2); |
|
|
opacity: 1; |
|
|
} |
|
|
|
|
|
.level-tooltip::after { |
|
|
content: ''; |
|
|
position: absolute; |
|
|
top: 100%; |
|
|
left: 50%; |
|
|
transform: translateX(-50%); |
|
|
border-width: 6px; |
|
|
border-style: solid; |
|
|
border-color: #4ca1af transparent transparent transparent; |
|
|
} |
|
|
|
|
|
@media (max-width: 480px) { |
|
|
.level-tooltip { |
|
|
font-size: 0.65rem; |
|
|
padding: 3px 6px; |
|
|
} |
|
|
|
|
|
.level-tooltip::after { |
|
|
border-width: 5px; |
|
|
} |
|
|
} |
|
|
|
|
|
.hint-anchor { |
|
|
position: fixed; |
|
|
top: 15.6vw; |
|
|
right: 3vw; |
|
|
z-index: 1101; |
|
|
} |
|
|
|
|
|
.hint-toggle-btn { |
|
|
width: 56px; |
|
|
height: 56px; |
|
|
border-radius: 50%; |
|
|
border: 0; |
|
|
background: radial-gradient(120% 120% at 30% 20%, #18788f 0%, #006780 70%); |
|
|
color: #fff; |
|
|
font-weight: 800; |
|
|
font-size: 22px; |
|
|
line-height: 1; |
|
|
cursor: pointer; |
|
|
box-shadow: 0 8px 24px rgba(0,0,0,.18); |
|
|
display: grid; |
|
|
place-items: center; |
|
|
transition: transform .18s ease, box-shadow .18s ease; |
|
|
} |
|
|
|
|
|
.hint-toggle-btn:hover { |
|
|
transform: translateY(-1px) scale(1.04); |
|
|
box-shadow: 0 12px 28px rgba(0,0,0,.22); |
|
|
} |
|
|
|
|
|
.hint-toggle-btn:focus-visible { |
|
|
outline: 3px solid rgba(0,103,128,.35); |
|
|
outline-offset: 3px; |
|
|
} |
|
|
|
|
|
.hint-popover { |
|
|
position: absolute; |
|
|
top: 11vw; |
|
|
right: calc(100% + 35px); |
|
|
transform: translateY(-46%); |
|
|
width: min(51vw, 96vw); |
|
|
max-height: 67vh; |
|
|
background: #fff; |
|
|
border-radius: 12px; |
|
|
padding: 16px 20px; |
|
|
box-shadow: 0 12px 32px rgba(0, 0, 0, .25); |
|
|
border: 10px solid var(--main-accent-color); |
|
|
overflow-y: auto; |
|
|
} |
|
|
|
|
|
.hint-popover::before { |
|
|
content: ""; |
|
|
position: absolute; |
|
|
top: 50%; |
|
|
right: -8px; |
|
|
width: 14px; |
|
|
height: 14px; |
|
|
background: #fff; |
|
|
transform: translateY(-50%) rotate(45deg); |
|
|
box-shadow: 2px -2px 8px rgba(0,0,0,.08); |
|
|
} |
|
|
|
|
|
.user-guide-close-icon { |
|
|
top: 8px; |
|
|
right: 10px; |
|
|
} |
|
|
|
|
|
.hint-title { |
|
|
margin: 0 0 8px; |
|
|
font-size: 18px; |
|
|
} |
|
|
|
|
|
.hint-list { |
|
|
margin: 0; |
|
|
padding-left: 1rem; |
|
|
} |
|
|
|
|
|
.hint-item { |
|
|
margin-bottom: .5rem; |
|
|
} |
|
|
|
|
|
.hint-backdrop { |
|
|
position: fixed; |
|
|
inset: 0; |
|
|
background: transparent; |
|
|
z-index: 1100; |
|
|
} |
|
|
|
|
|
@keyframes hint-slide-in { |
|
|
from { |
|
|
transform: translateY(-50%) translateX(8px); |
|
|
opacity: .0; |
|
|
} |
|
|
|
|
|
to { |
|
|
transform: translateY(-50%) translateX(0); |
|
|
opacity: 1; |
|
|
} |
|
|
} |
|
|
|
|
|
@media (max-width: 640px) { |
|
|
.hint-anchor { |
|
|
right: 12px; |
|
|
bottom: 80px; |
|
|
top: auto; |
|
|
} |
|
|
|
|
|
.hint-popover { |
|
|
right: 0; |
|
|
bottom: calc(100% + 10px); |
|
|
top: auto; |
|
|
transform: none; |
|
|
width: min(94vw, 380px); |
|
|
} |
|
|
|
|
|
.hint-popover::before { |
|
|
right: 12px; |
|
|
top: auto; |
|
|
bottom: -7px; |
|
|
transform: rotate(45deg); |
|
|
} |
|
|
} |
|
|
|
|
|
.ring { |
|
|
position: relative; |
|
|
width: 220px; |
|
|
height: 220px; |
|
|
margin: 0 auto 8px; |
|
|
} |
|
|
|
|
|
.ring-svg { |
|
|
width: 220px; |
|
|
height: 220px; |
|
|
display: block; |
|
|
} |
|
|
|
|
|
.ring-track { |
|
|
fill: none; |
|
|
stroke: rgba(15, 23, 42, 0.18); |
|
|
stroke-width: 16; |
|
|
} |
|
|
|
|
|
.ring-progress { |
|
|
fill: none; |
|
|
stroke: #006780; |
|
|
stroke-width: 16; |
|
|
stroke-linecap: round; |
|
|
transform: rotate(-90deg); |
|
|
transform-origin: 50% 50%; |
|
|
transition: stroke-dashoffset 0.1s linear; |
|
|
} |
|
|
|
|
|
.ring-number { |
|
|
position: absolute; |
|
|
inset: 0; |
|
|
display: grid; |
|
|
place-items: center; |
|
|
font-weight: 800; |
|
|
font-size: 56px; |
|
|
color: #0f172a; |
|
|
} |
|
|
|
|
|
.global-countdown-overlay { |
|
|
position: absolute; |
|
|
inset: 0; |
|
|
display: grid; |
|
|
place-items: center; |
|
|
background: transparent; |
|
|
pointer-events: none; |
|
|
z-index: 20; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .global-countdown-overlay { |
|
|
position: fixed; |
|
|
inset: 0; |
|
|
display: grid; |
|
|
place-items: center; |
|
|
background: transparent; |
|
|
pointer-events: none; |
|
|
z-index: 2000; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .overlay-card { |
|
|
background: rgba(255,255,255,0.98); |
|
|
backdrop-filter: blur(2px); |
|
|
-webkit-backdrop-filter: blur(2px); |
|
|
border: 1px solid rgba(15,23,42,0.10); |
|
|
border-radius: 16px; |
|
|
padding: 18px 22px; |
|
|
box-shadow: 0 10px 32px rgba(0,0,0,.18); |
|
|
text-align: center; |
|
|
pointer-events: none; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .ring { |
|
|
position: relative; |
|
|
width: 220px; |
|
|
height: 220px; |
|
|
margin: 0 auto 8px; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .ring-svg { |
|
|
position: relative; |
|
|
z-index: 2; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .ring::before { |
|
|
content: ""; |
|
|
position: absolute; |
|
|
inset: 0; |
|
|
margin: auto; |
|
|
width: 120px; |
|
|
height: 120px; |
|
|
border-radius: 50%; |
|
|
background: #ffffff; |
|
|
border: 1px solid rgba(15,23,42,.08); |
|
|
box-shadow: inset 0 0 0 4px rgba(255,255,255,.9), 0 2px 10px rgba(0,0,0,.08); |
|
|
z-index: 1; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .ring-number { |
|
|
position: absolute; |
|
|
inset: 0; |
|
|
display: grid; |
|
|
place-items: center; |
|
|
z-index: 3; |
|
|
font-weight: 900; |
|
|
font-size: 64px; |
|
|
line-height: 1; |
|
|
color: #0b1220; |
|
|
text-shadow: 0 0 2px #fff, 0 0 8px rgba(255,255,255,.85), 0 2px 8px rgba(0,0,0,.35); |
|
|
} |
|
|
|
|
|
:host ::ng-deep .ring-track, |
|
|
:host ::ng-deep .ring-progress { |
|
|
stroke-width: 18px; |
|
|
} |
|
|
|
|
|
:host ::ng-deep .caption-pill { |
|
|
display: inline-block; |
|
|
margin-top: 10px; |
|
|
padding: 8px 14px; |
|
|
border-radius: 999px; |
|
|
background: #0ea5e9 !important; |
|
|
color: #ffffff !important; |
|
|
font-weight: 700; |
|
|
font-size: 15px; |
|
|
letter-spacing: .2px; |
|
|
filter: drop-shadow(0 3px 10px rgba(14,165,233,.25)); |
|
|
} |
|
|
|