Skip to content
Snippets Groups Projects
Commit c9b94016 authored by Klaus-Dieter Quibeldey-Cirkel's avatar Klaus-Dieter Quibeldey-Cirkel
Browse files

Merge branch 'revert-b7571b54' into 'master'

Revert "Merge branch '588-color-the-border-of-a-question-according-to-its-marking' into 'master'"

See merge request arsnova/frag.jetzt!522
parents 6b99a21b 81ba5216
Branches
Tags
No related merge requests found
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
</mat-card> </mat-card>
</div> </div>
<!--
<h2> <h2>
<span class="feedback"> <span class="feedback">
<a class="info" <a class="info"
...@@ -43,7 +42,6 @@ ...@@ -43,7 +42,6 @@
</a> </a>
</span> </span>
</h2> </h2>
-->
<button id="live_announcer-button" <button id="live_announcer-button"
tabIndex="-1" tabIndex="-1"
......
.outer { .outer {
width: 80%; width: 80%;
max-width: 300px; max-width: 300px;
background-color: var(--background); background-color: var(--surface);
box-shadow: none;
} }
.main-heading-primary { .main-heading-primary {
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
border-radius: 5px; border-radius: 5px;
margin: 10% 0 2% 0; margin: 10% 0 2% 0;
font-size: large; font-size: large;
background-color: var(--background); background-color: var(--surface);
color: var(--on-background); color: var(--on-surface);
} }
.add { .add {
......
<mat-card id="comment-card" class="border" <mat-card id="comment-card" class="border"
[ngClass]="{'highlighted': comment.highlighted, '': !comment.highlighted, [ngClass]="{'highlighted': comment.highlighted, '': !comment.highlighted,
'moderator': moderator, 'moderator': moderator,
'border-notMarked': comment.correct === 0 && comment.bookmark === false && comment.favorite === false && !comment.answer && comment.creatorId !== user.id,
'border-ownQuestion': comment.creatorId === user.id && comment.correct === 0 && comment.bookmark === false && comment.favorite === false && !comment.answer,
'border-answer': comment.answer && comment.correct === 0 && comment.bookmark === false && comment.favorite === false,
'border-correct': comment.correct === 1, 'border-correct': comment.correct === 1,
'border-wrong': comment.correct === 2, 'border-wrong': comment.correct === 2
'border-bookmark': comment.bookmark === true,
'border-favorite': comment.favorite === true
}" }"
[@slide]="slideAnimationState" [@slide]="slideAnimationState"
(@slide.done)="changeSlideState()"> (@slide.done)="changeSlideState()">
......
...@@ -52,7 +52,7 @@ mat-card-content > :first-child { ...@@ -52,7 +52,7 @@ mat-card-content > :first-child {
} }
.bookmark-icon { .bookmark-icon {
color: var(--magenta); color: var(--red);
} }
.wrong-icon { .wrong-icon {
...@@ -139,21 +139,6 @@ mat-card-content > :first-child { ...@@ -139,21 +139,6 @@ mat-card-content > :first-child {
&-wrong{ &-wrong{
@include card-box-shadow(var(--red)); @include card-box-shadow(var(--red));
} }
&-bookmark{
@include card-box-shadow(var(--magenta));
}
&-favorite{
@include card-box-shadow(var(--yellow));
}
&-notMarked{
@include card-box-shadow(var(--grey));
}
&-answer{
@include card-box-shadow(var(--primary));
}
&-ownQuestion{
@include card-box-shadow(var(--purple));
}
&-bonus{ &-bonus{
@include card-box-shadow(var(--yellow)); @include card-box-shadow(var(--yellow));
} }
......
...@@ -23,9 +23,8 @@ export const blue = { ...@@ -23,9 +23,8 @@ export const blue = {
'--yellow': '#FFD54F', '--yellow': '#FFD54F',
'--blue': '#3f51b5', '--blue': '#3f51b5',
'--purple': '#9c27b0', '--purple': '#9c27b0',
'--magenta': '#ea0a8e',
'--light-green': '#80ba24', '--light-green': '#80ba24',
'--grey': 'slategrey', '--grey': '#BDBDBD',
'--grey-light': '#EEEEEE', '--grey-light': '#EEEEEE',
'--black': '#212121', '--black': '#212121',
'--moderator': 'darkred' '--moderator': 'darkred'
......
...@@ -26,9 +26,8 @@ export const dark = { ...@@ -26,9 +26,8 @@ export const dark = {
'--yellow': 'yellow', '--yellow': 'yellow',
'--blue': '#3f51b5', '--blue': '#3f51b5',
'--purple': '#9c27b0', '--purple': '#9c27b0',
'--magenta': '#ea0a8e',
'--light-green': '#80ba24', '--light-green': '#80ba24',
'--grey': 'slategrey', '--grey': '#BDBDBD',
'--grey-light': '#9E9E9E', '--grey-light': '#9E9E9E',
'--black': 'black', '--black': 'black',
'--moderator': 'maroon' '--moderator': 'maroon'
......
...@@ -26,7 +26,6 @@ export const highcontrast = { ...@@ -26,7 +26,6 @@ export const highcontrast = {
'--yellow': '#e9d533', '--yellow': '#e9d533',
'--blue': '#3833e9', '--blue': '#3833e9',
'--purple': '#e933e2', '--purple': '#e933e2',
'--magenta': '#ea0a8e',
'--light-green': '#33e98d', '--light-green': '#33e98d',
'--grey': '#7e7e7e', '--grey': '#7e7e7e',
'--grey-light': '#9c9c9c', '--grey-light': '#9c9c9c',
......
...@@ -26,9 +26,8 @@ export const arsnova = { ...@@ -26,9 +26,8 @@ export const arsnova = {
'--yellow': 'red', '--yellow': 'red',
'--blue': '#002878', '--blue': '#002878',
'--purple': '#9c27b0', '--purple': '#9c27b0',
'--magenta': '#ea0a8e',
'--light-green': 'lightgreen', '--light-green': 'lightgreen',
'--grey': 'slategrey', '--grey': '#BDBDBD',
'--grey-light': '#EEEEEE', '--grey-light': '#EEEEEE',
'--black': '#000000', '--black': '#000000',
'--moderator': 'lightsalmon' '--moderator': 'lightsalmon'
......
...@@ -26,9 +26,8 @@ export const purple = { ...@@ -26,9 +26,8 @@ export const purple = {
'--yellow': 'red', '--yellow': 'red',
'--blue': 'blue', '--blue': 'blue',
'--purple': 'purple', '--purple': 'purple',
'--magenta': '#ea0a8e',
'--light-green': 'lightgreen', '--light-green': 'lightgreen',
'--grey': 'slategrey', '--grey': 'grey',
'--grey-light': 'lightgrey', '--grey-light': 'lightgrey',
'--black': 'black', '--black': 'black',
'--moderator': 'lightsalmon' '--moderator': 'lightsalmon'
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment