.polls { display: grid; grid-template-rows: 100%; grid-template-columns: 1fr 1fr; height: 100%; } .polls > div { border-color: var(--accent-500); border-right-width: 1px; border-right-style: solid; padding: 16px; background-color: var(--neutral-200); } .polls > div:first-of-type { border-top-left-radius: 16px; border-bottom-left-radius: 16px; } .polls > div:last-of-type { border-top-right-radius: 16px; border-bottom-right-radius: 16px; border-right-style: none; } .polls-list { max-height: 80vh; display: flex; flex-direction: column; gap: 8px; overflow-y: scroll; } .poll-entry { min-height: 64px; padding: 8px; border-radius: 24px; border-style: solid; border-width: 1px; border-color: var(--accent-500); background-color: var(--primary-300); cursor: pointer; display: flex; align-items: center; justify-content: center; } .poll-entry:hover { background-color: var(--accent-300); } #poll-details { display: flex; flex-direction: column; gap: 16px; } .select-poll { padding: 128px; align-self: center; text-align: center; } .options-list { display: flex; flex-direction: column; border-color: var(--accent-400); border-width: 1px; border-style: solid; border-radius: 16px; } .options-list > div { border-color: var(--accent-400); border-bottom-width: 1px; border-bottom-style: solid; padding: 32px; background-color: var(--primary-300); cursor: pointer; } .options-list > div:hover { background-color: var(--accent-300); } .options-list > div:first-of-type { border-top-left-radius: 16px; border-top-right-radius: 16px; } .options-list > div:last-of-type { border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; border-bottom-style: none; } .results { display: flex; flex-direction: column; align-items: center; gap: 16px; } .chart { margin: 0px 32px; } .legend { display: flex; flex-direction: column; padding: 16px 16px; background-color: var(--primary-400); border-radius: 16px; } .legend > div { display: flex; align-items: center; gap: 16px; min-width: 400px; padding: 8px; border-bottom-color: var(--accent-400); border-bottom-width: 1px; border-bottom-style: solid; background-color: var(--neutral-200); } .legend > div:first-of-type { border-top-width: 1px; border-top-style: solid; border-top-color: var(--accent-400); } .circle { width: 25px; height: 25px; background-color: var(--neutral-500); border-radius: 50px; }