diff --git a/src/app/features/consultation/consultation.component.ts b/src/app/features/consultation/consultation.component.ts index 5e0e1d19..7f7b2566 100644 --- a/src/app/features/consultation/consultation.component.ts +++ b/src/app/features/consultation/consultation.component.ts @@ -11,7 +11,7 @@ import { PollService } from '../../core/services/poll.service'; styleUrls: ['./consultation.component.scss'], }) export class ConsultationComponent implements OnInit, OnDestroy { - public isCompactMode = false; + public isCompactMode = true; public poll: Poll; public pollSlug: string; public passHash: string; diff --git a/src/app/features/consultation/poll-results-compact/poll-results-compact.component.html b/src/app/features/consultation/poll-results-compact/poll-results-compact.component.html index 6d80a6a4..63e7b824 100644 --- a/src/app/features/consultation/poll-results-compact/poll-results-compact.component.html +++ b/src/app/features/consultation/poll-results-compact/poll-results-compact.component.html @@ -1,4 +1,9 @@ -
+
diff --git a/src/app/features/consultation/poll-results-compact/poll-results-compact.component.scss b/src/app/features/consultation/poll-results-compact/poll-results-compact.component.scss index e69de29b..f9db3d5e 100644 --- a/src/app/features/consultation/poll-results-compact/poll-results-compact.component.scss +++ b/src/app/features/consultation/poll-results-compact/poll-results-compact.component.scss @@ -0,0 +1,20 @@ +@import '../../../../styles/variables'; + +.box { + border-left: 3px solid white; + cursor: pointer; + * { + cursor: pointer; + } + &:hover { + border-left-color: #d198d4; + background: #ccc; + } + &:focus, + &:active { + background: #d198d4; + } + &.active { + border-left-color: yellowgreen !important; + } +}