167 lines
2.7 KiB
CSS
167 lines
2.7 KiB
CSS
.answer-input-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.answer-input-container > input {
|
|
max-width: 500px;
|
|
flex-grow: 1;
|
|
margin-right: 8px;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.answer-input-container.answer-input-container--answer-entered > input {
|
|
caret-color: transparent;
|
|
}
|
|
|
|
.answer--correct {
|
|
color: #3ac535;
|
|
}
|
|
|
|
.answer--incorrect {
|
|
color: #ff5252;
|
|
}
|
|
|
|
.current-prompt {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.progress-end-incorrect-answers {
|
|
display: table;
|
|
table-layout: fixed;
|
|
width: 100%;
|
|
margin-top: 24px;
|
|
row-gap: 8px;
|
|
}
|
|
|
|
.progress-end-incorrect-answers > div {
|
|
display: table-row;
|
|
}
|
|
|
|
.progress-end-incorrect-answers > div > * {
|
|
display: table-cell;
|
|
word-wrap: break-word;
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
border-left: 8px solid transparent;
|
|
}
|
|
|
|
.progress-end-incorrect-answers > div > *:first-child {
|
|
border-left: 0;
|
|
}
|
|
|
|
.progress-end-button-container {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
max-width: 1080px;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 0;
|
|
}
|
|
|
|
.progress-end-button-container > .button {
|
|
margin: 48px;
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.progress-settings-overlay-content {
|
|
width: 80%;
|
|
max-width: 700px;
|
|
height: 70%;
|
|
max-height: 500px;
|
|
align-items: center;
|
|
}
|
|
|
|
.progress-settings-overlay-content > .settings-themes-container {
|
|
justify-content: center;
|
|
width: 75%;
|
|
}
|
|
|
|
.form-submit {
|
|
display: none;
|
|
}
|
|
|
|
.progress-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
}
|
|
|
|
.progress-stats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
margin: 0 24px;
|
|
}
|
|
|
|
.progress-stat-row-container {
|
|
display: flex;
|
|
flex-direction: row;
|
|
column-gap: 48px;
|
|
margin-bottom: 12px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
border: 1px solid var(--overlay-color);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar > div {
|
|
height: 100%;
|
|
background-color: var(--primary-color);
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.progress-bar > div > p {
|
|
padding-left: 8px;
|
|
margin: 0 0 -2px 0;
|
|
}
|
|
|
|
|
|
@media screen and (max-width: 720px) {
|
|
.progress-end-button-container > .button {
|
|
margin: 24px;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 660px) {
|
|
.progress-settings-overlay-content > .settings-themes-container {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
.progress-settings-overlay-content {
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-height: 700px) {
|
|
.progress-settings-overlay-content {
|
|
height: 75%;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-height: 600px) {
|
|
.progress-end-button-container > .button {
|
|
margin: 24px;
|
|
}
|
|
.progress-settings-overlay-content {
|
|
justify-content: flex-start;
|
|
}
|
|
} |