EvalueTonSavoir/client/src/components/QuestionsDisplay/questionStyle.css
Christopher (Cris) Fuhrman 5ba7e0d573
Merge pull request #224 from ets-cfuhrman-pfe/JubaAzul/issue220
Problème dans l'affichage des rétroactions  Katek pour les questions réponses courtes et numériques
2025-02-07 11:05:20 -05:00

152 lines
2.9 KiB
CSS

.question-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
}
.choices-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 0.75rem;
}
.answer-wrapper {
display: flex;
flex-direction: column;
}
.question-wrapper {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.question-wrapper .katex {
text-align: center;
}
.katex * {
font-family: 'KaTeX_Main' /* to display characters like \neq properly */
}
.circle {
height: 2.3rem;
width: 2.3rem;
border-radius: 50%;
border-color: black;
border-width: 1px;
padding: 0.05rem;
border-style: solid;
display: flex;
align-items: center;
justify-content: center;
color: black;
box-shadow: 0 0 1px #3a3a3a;
}
.circle.selected {
background-color: var(--main-color);
color: white;
}
.button-wrapper {
border: 0;
display: flex;
column-gap: 0.5rem;
align-items: center;
background-color: transparent;
margin-bottom: 0.25rem;
}
.answer-text {
border-width: 1px;
border-style: solid;
border-radius: 0.25rem;
border-color: rgb(25, 6, 6);
padding: 0.5rem;
text-align: left;
width: 20rem;
color: black;
box-shadow: 0 0 1px #3a3a3a;
}
.answer-weight-container {
display: flow;
/* float: left; */
box-shadow: 0px 1px 1px #3a3a3a;
border-radius: 3px;
padding-left: 0.2rem;
padding-right: 0.2rem;
padding-top: 0.05rem;
padding-bottom: 0.05rem;
}
.numerical-answer-weight-container {
display: inline;
box-shadow: 0px 1px 1px #3a3a3a;
border-radius: 3px;
padding-left: 0.2rem;
padding-right: 0.2rem;
padding-top: 0.05rem;
padding-bottom: 0.05rem;
}
.answer-positive-weight {
background-color: hsl(
120, 100%, 90%
);
}
.answer-zero-or-less-weight {
background-color: hsl(
0, 100%, 90%
);
}
.answer-text.selected {
background-color: var(--main-color);
color: white;
}
.choice-container {
display: flex;
flex-direction: column;
}
.feedback-container {
display: inline-block !important; /* override the parent */
align-items: center;
margin-left: 1.1rem;
position: relative;
padding: 0 0.5rem;
background-color: hsl(43, 100%, 94%);
color: hsl(43, 95%, 9%);
border: hsl(36, 84%, 93%) 1px solid;
border-radius: 6px;
box-shadow: 0px 2px 5px hsl(0, 0%, 74%);
}
.feedback-container img {
vertical-align: middle;
/* height: 1em; */
}
.global-feedback {
position: relative;
padding: 0 1rem;
background-color: hsl(43, 100%, 94%);
color: hsl(43, 95%, 9%);
border: hsl(36, 84%, 93%) 1px solid;
border-radius: 6px;
box-shadow: 0px 2px 5px hsl(0, 0%, 74%);
}
.choices-wrapper {
width: 90%;
}