diff --git a/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.css b/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.css index 2f54d55..e2d36f6 100644 --- a/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.css +++ b/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.css @@ -1,6 +1,70 @@ .answers{ display: flex; flex-direction: column; - align-items: flex-start; + align-items: center; justify-content: flex-start; -} \ No newline at end of file + +} + +.pytanie +{ + background-color: white; + color: black; + width: 50%; + margin-left: auto; + margin-right: auto; + border: 10px solid white; + font-size: larger; + +} + + + + +.radio-answer +{ + display: none; +} + +label +{ + clip-path: polygon(0% 50%, 15% 0%, 85% 0%, 100% 50%, 85% 100%, 15% 100%); + background-color: #000080; + width: 300px; + text-align: center; + border: 3px solid #000080; + border-bottom: #000080; + color: white; + cursor: pointer; + margin-top:10px; + font-size: large; +} + +label:hover +{ + background-color: orange; + border-color: orange; +} + +.radio-answer:checked + label +{ + background-color: orange; + border-color: orange; +} + +@media screen and (max-width: 800px) { + label + { + width: 254px; + } + + .pytanie + { + width: 100%; + } + + .alert-grey + { + background-color: #181616; + } +} diff --git a/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.html b/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.html index ec4810b..eab9c50 100644 --- a/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.html +++ b/FrontEnd/src/app/tests/test-details/question-view/single-choice/single-choice.component.html @@ -1,12 +1,15 @@
- {{question.question}} ({{question.points}}pkt.)
Czas: {{ timeLeft }} sek. Czas: bez limitu + Pytanie za {{question.points}}pkt.
Czas: {{ timeLeft }} sek. Czas: bez limitu +
{{question.question}}
-
- {{item.content}} +
+ + +
- \ No newline at end of file + diff --git a/FrontEnd/src/app/tests/test-details/test-details.component.css b/FrontEnd/src/app/tests/test-details/test-details.component.css index 717e759..87e8541 100644 --- a/FrontEnd/src/app/tests/test-details/test-details.component.css +++ b/FrontEnd/src/app/tests/test-details/test-details.component.css @@ -7,7 +7,7 @@ .content{ background-color: #181616; - padding: 30px; + padding: 30px; margin-top: 2rem; margin-bottom: 2rem; text-align: center; @@ -39,4 +39,17 @@ .header{ display: block; } -} \ No newline at end of file +} + +.button +{ + background-color: #000080; + border-color: #000080; + color:white; +} + +.button:hover +{ + background-color: orange; + border-color: orange; +} diff --git a/FrontEnd/src/app/tests/test-details/test-details.component.html b/FrontEnd/src/app/tests/test-details/test-details.component.html index 25277cc..b50efcb 100644 --- a/FrontEnd/src/app/tests/test-details/test-details.component.html +++ b/FrontEnd/src/app/tests/test-details/test-details.component.html @@ -3,7 +3,7 @@
- +
Twój maksymalny wynik: {{prevMaxResult}}/{{maxPoints}}
@@ -23,7 +23,7 @@
- +
@@ -54,8 +54,8 @@ Czy chcesz usunąć test? - - + + -
\ No newline at end of file +
diff --git a/FrontEnd/src/assets/left-img.PNG b/FrontEnd/src/assets/left-img.PNG deleted file mode 100644 index b965e34..0000000 Binary files a/FrontEnd/src/assets/left-img.PNG and /dev/null differ diff --git a/FrontEnd/src/index.html b/FrontEnd/src/index.html index 7e9b30e..0405df1 100644 --- a/FrontEnd/src/index.html +++ b/FrontEnd/src/index.html @@ -2,7 +2,7 @@ - StudyCave + Punktonerzy @@ -15,7 +15,7 @@ - + diff --git a/FrontEnd/src/styles.css b/FrontEnd/src/styles.css index ad48d10..6ed7be9 100644 --- a/FrontEnd/src/styles.css +++ b/FrontEnd/src/styles.css @@ -152,9 +152,13 @@ a:hover{ background-color: #000080; width: 180px; text-align: center; + border-color: #000080; + border-bottom: #000080; + color: white; } .button:hover { background-color: orange; + border-color: orange; }