form { text-align: left; label { margin-top: 3px; display: block; } input { width: ~"calc(100% - 14px)"; padding: 3px 5px; } select { height: 25px; padding: 0px 5px; width: 100%; } .filter-option { /* height: 41px; */ textarea { height: 19px; font-size: 14px; overflow: hidden; &.abs { position: absolute; height: 100px; overflow: auto; } } } &#signin-form { width: 300px; margin: 0 auto; } .picker-grid { background: #fff; margin-top: 5px; padding: 5px 10px; display: grid; grid-template-columns: repeat(2, 1fr); @media (min-width: 768px) { grid-template-columns: repeat(5, 1fr); } gap: 5px; @media (min-width: 768px) { .picker-grid-address { grid-column: 1 / 6; grid-row: 1; } .picker-grid-age { grid-column: 1; grid-row: 2; } .picker-grid-gender { grid-column: 2; grid-row: 2; } .picker-grid-names { grid-column: 3; grid-row: 2; } .picker-grid-district { grid-column: 4; grid-row: 2; } .picker-grid-go { grid-column: 5; grid-row: 2; } } @media (max-width: 767.999px) { .picker-grid-address { grid-column: 1 / 3; grid-row: 1; } .picker-grid-age { grid-column: 1; grid-row: 2; } .picker-grid-gender { grid-column: 2; grid-row: 2; } .picker-grid-names { grid-column: 1; grid-row: 3; } .picker-grid-district { grid-column: 2; grid-row: 3; } .picker-grid-go { grid-column: 1 / 3; grid-row: 4; } } } } button { text-align: center; text-transform: uppercase; background-color: black; color: white; font-weight: bold; border: none; cursor: pointer; border-radius: 5px; filter: drop-shadow(5px 5px 3px #aaa); &:hover { background-color: #222; } &:disabled { background-color: #666; } &#pick-more-results { font-size: 1.5em; margin-top: 10px; width: 100%; height: 50px; } &.thin { min-height: 31px; } &.thick { min-height: 41px; } &.wide200 { min-width: 200px; } &.center { display: block; margin: 10px auto; } &.right { display: block; margin: 10px 0 10px auto; } &.pad20 { padding: 10px 20px; } } header { position: fixed; top: 0px; left: 0px; right: 0px; margin: 0 auto; padding: 15px 0; width: 100%; background: beige; z-index: 1; &.unfix { filter: none; position: relative; margin-bottom: -85px; @media (max-width: 599.999px) { margin-bottom: -75px } .header { .page-title { padding: 0px; } flex-direction: column-reverse; &>div { margin: 0 auto; text-align: center; } } } .header { position: relative; display: flex; font-size: 30px; max-width: 600px; margin: 0 auto; padding: 0 10px; @media (max-width: 599.999px) { font-size: 24px; } .page-title { min-width: 33%; padding-right: 20px; } .logo-wrap { min-width: 33%; } .logo { width: fit-content; margin: 0 auto; font-weight: bold; color: #009; position: relative; .version { font-size: 10px; position: absolute; top: -5px; right: -20px; transform: rotate(-15deg); } } i#main-menu-bars { } } } body.not-logged-in { .container { @media (max-width: 767.999px) { width: fit-content; } } } .container { position: relative; max-width: 600px; margin: 85px auto 0; width: ~"calc(100% - 20px)"; @media (max-width: 599.999px) { margin-top: 75px } } .columns { display: flex; flex-direction: row; column-gap: 15px; } .columns-if-desktop { @media (min-width: 768px) { display: flex; flex-direction: row; column-gap: 15px; } } .column { width: 300px; } .rows { display: flex; flex-direction: column; } .rows-if-mobile { @media (max-width: 767.999px) { display: flex; flex-direction: column; row-gap: 15px; width: fit-content; } } .find_registration { justify-content: space-between; } .regsearch-results { margin-top: 5px; color: #fff; font-weight: bold; display: none; &.found { background: #060; padding: 10px; display: block; } &.not-found { background: #600; padding: 10px; display: block; } } .instructions { margin-top: 5px; color: black; min-height: 16px; } .error { margin-top: 5px; color: #f00; min-height: 16px; } .hidden { visibility: hidden; } .signup-terms { font-size: 10px; text-align: center; } .filter { width: 600px; margin-top: 73px; } .pick-results { .pick-row { padding: 10px; margin-top: 5px; background: #fff; border-radius: 10px; filter: drop-shadow(5px 5px 3px #aaa); .pick-row-voters { font-size: 16px; padding: 0 5px; .pick-row-name { padding: 5px; cursor: pointer; width: fit-content; @media (min-width: 768px) { &:hover { background: #eef; } } } .voter-picker { vertical-align: text-bottom; margin-bottom: 2px; cursor: pointer; &.adopted { &.self { accent-color: #090; } &.other { accent-color: #900; visibility: hidden; } } } .fa-star { color: #009; font-size: 10px; vertical-align: top; cursor: help; position: relative; * { font-size: 14px; } } } .pick-row-address { font-size: 18px; font-weight: bold; margin-bottom: 5px; } } } .ref-accordion > div:not(.ref-accordion) { cursor: copy; } .pick-display { padding: 20px 20px; font-size: 20px; text-align: center; background: #009; color: white; &.welcome-msg { color: black; background: wheat; } } .pick-footer { padding: 10px; font-size: 20px; text-align: center; position: fixed; bottom: 0px; left: 0px; right: 0px; background: beige; filter: drop-shadow(0 -5px 3px #aaa); .pick-display-text { margin-bottom: 10px; } } div.dashboard-header { display: flex; flex-wrap: wrap; div.header-counts { font-size: 16px; text-align: center; padding: 10px; background: #ccc; border-radius: 10px; margin: 5px; flex: 1; min-width: 100px; span { font-size: 30px; } } } .left { text-align: left; } .center { text-align: center; } .right { text-align: right; } .show { display: block; } body.dashboard { .tabs { column-gap: 5px; .tab { text-align: center; background: #ccf; border-radius: 5px; padding: 8px 16px; margin-bottom: 5px; color: #000; &.active { background: #88f; font-weight: bold; } } } #dashboard-targets, #dashboard-actions { &:not(.active) { display: none; } } .target { background: #fff; border-radius: 10px; padding: 20px; position: relative; margin-bottom: 10px; filter: drop-shadow(5px 5px 3px #aaa); margin-top: 25px; &.status-unadopted, &.status-moved, &.status-deceased { display: none; } .fa-square-xmark { position: absolute; top: 20px; right: 20px; font-size: 28px; cursor: pointer; } .name { font-size: 24px; max-width: 67%; } .status { position: absolute; top: 20px; right: 60px; font-size: 18px; text-align: right; max-width: 30%; i { display: inline; } @media (max-width: 767.999px) { font-size: 15px; } } .target-wrap { overflow: hidden; max-height: 28px; } .target-accordion { margin-top: 10px; h3 { background: royalblue; color: white; &.last-action { background-color: #900; } } } div.take-action, div.report-result { position: absolute; top: -15px; left: 0px; display:none; background: #fff; padding: 5px 10px; border-radius: 5px; color: #900; font-weight: bold; } &.action-pending:not(.active) { div.take-action { display: block; } } &.report-pending:not(.active) { div.report-result { display: block; } } &:not(.active) { .status { top: 50%; transform: translateY(-50%); } .fa-square-xmark { display: none; } } .address { font-size: 18px; display: inline; i { cursor: pointer; float: left; font-size: 200%; margin-right: 5px; margin-top: 5px; display: block; } } .voting-location { margin-top: 5px; span { cursor: pointer; } } div.contact-method { position: absolute; top: 50px; right: 20px; text-align: right; font-size: 16px; select.contact-method { font-size: 16px; padding: 3px; } } div.note { font-size: 15px; textarea { width: 100%; height: 50px; } .note-textarea { display: none; } .note-date { font-style: italic; text-decoration: underline; } } .ui-accordion .ui-accordion-content { padding: 10px 15px; overflow: initial; &.history { padding: 0 15px 10px; } } div.history { .history-row { position: relative; font-size: 13px; clear: both; padding-top: 10px; .history-timestamp { font-weight: bold; text-align: right; float: right; } .history-type { font-weight: bold; } .history-text { font-style: italic; } .history-user { font-weight: bold; } } textarea { width: 100%; height: 50px; } .note-textarea { margin-top: 10px; display: none; } } div.last-action { .title { color: #900; font-weight: bold; } .timestamp { font-style: italic; } .last-action-support-level { margin-top: 10px; label { display: inline-block; } select { width: auto; } button { } } div.last-action-note { font-size: 15px; margin-top: 10px; textarea { width: 98%; height: 50px; padding: 5px; } } div.error { display: none; } } .action { clear: both; padding: 10px; border: solid 2px brown; border-radius: 5px; background: brown; color: #fff; margin-top: 20px; position: relative; .title { font-size: 24px; font-weight: bold; @media (max-width: 767.999px) { b { display: block; } } } .description { margin-top: 10px; } .instructions { margin-top: 10px; color: yellow; } .template { font-size: 16px; margin-top: 10px; cursor: pointer; letter-spacing: 1px; .template-text { font-size: 18px; margin-top: 5px; background: #f8f8f8; color: black; display: block; padding: 10px; border-radius: 5px; letter-spacing: 0px; } } button { filter: drop-shadow(5px 5px 3px #300); &.action-complete { height: 41px; } } .action-buttons { >div { flex: 1; } button.action-unable { background: orange; color: black; } ul#action-unable-menu { display: none; font-size: 14px; border: none; background: transparent; li { margin: 1px 0; background: orange; border-radius: 2px; } } } .mark-complete { display: none; padding: 10px; border: solid 2px #fff; border-radius: 5px; background: #fff; color: black; margin-top: 20px; position: relative; input[type="checkbox"] { height: 20px; width: 20px; transform: translateY(5px); } select { height: auto; } div.title { text-align: center; margin-bottom: 20px; } div.action-contact-method, div.support-level { font-size: 16px; @media (min-width: 768px) { flex: 1; } select { font-size: 16px; padding: 3px; } } div.support-level { @media (max-width: 767.999px) { margin-top: 10px; } @media (min-width: 768px) { flex: 1; } } div.action-note { font-size: 15px; margin-top: 10px; textarea { width: 98%; height: 50px; } } div.error { font-size: 14px; display: none; } .error-msg { color: red; text-align: center; display: none; } button { filter: drop-shadow(5px 5px 3px #aaa); } } } &:not(.active) { cursor: pointer; .address, div.contact-method, .description, .accordion { display: none; } .action { display: none; } .status { right: 20px; } } } .dashboard-buttons { display: flex; & >div { flex: 1; } } } .action-modal-overlay { position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: 1; background: #000; opacity: 0; display: none; } .action-modal { position: fixed; font-family: "Fort-Medium"; font-size: 20px; line-height: 32px; color: #000; padding: 32px 0px; text-align: center; background: #fff; z-index: 2; display: none; top: 50%; left: 50%; transform: translate(-50%,-50%); @media (max-width: 1023px) { animation: 140ms ease-in-out 0s 1 normal none running d2modal-mobile; } @media (min-width: 1024px) { animation: 150ms ease-in-out 0s 1 normal none running d2modal; } box-shadow: 0px 3px 12px #00000073; min-width: 522px; max-width: 522px; } body { font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-size: 14px; margin: 0; background: beige; &.signup-confirm { .container { width: 300px; text-align: center; } } } i.fa-circle-question { color: #33c; position: relative; cursor: help; padding: 0.5em; margin: -0.5em -0.5em -0.5em -0.25em; } div.error-modal, div.notice-modal { position: fixed; max-width: 90%; top: 50%; left: 50%; transform: translate(-50%,-50%); padding: 20px; text-align: center; filter: drop-shadow(5px 5px 3px #000); z-index: 1; border: solid 1px black; border-radius: 5px; h1 { font-size: 150%; font-weight: bold; margin: 0 0 5px; } p { font-size: 125%; margin: 0; } .fa-square-xmark { position: absolute; top: 5px; right: 5px; font-size: 20px; cursor: pointer; } } div.error-modal { background: #900; color: #fff; } div.notice-modal { background: floralwhite; color: #000; } div.help-modal { position: absolute; width: max-content; top: 15px; left: 15px; padding: 10px; color: #000; font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; font-weight: normal; background: wheat; border: solid 1px black; border-radius: 5px; z-index: 2; filter: drop-shadow(5px 5px 3px #000); h1 { font-size: 110%; font-weight: bold; margin: 0 0 5px; } p { font-size: 100%; margin: 0; } } #take-action-button { background: #900; } .lds-animation { display: block; position: relative; width: 80px; height: 80px; display: none; margin: 0 auto; } .lds-animation div { display: inline-block; position: absolute; left: 8px; width: 16px; background: #009; animation: lds-animation 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite; } .lds-animation div:nth-child(1) { left: 8px; animation-delay: -0.24s; } .lds-animation div:nth-child(2) { left: 32px; animation-delay: -0.12s; } .lds-animation div:nth-child(3) { left: 56px; animation-delay: 0; } @keyframes lds-animation { 0% { top: 8px; height: 64px; } 50%, 100% { top: 24px; height: 32px; } } i#main-menu-bars { font-size: 36px; @media (max-width: 599.999px) { font-size: 30px; } position: absolute; right: 10px; cursor: pointer; z-index: 1; } ul#main-menu { position: absolute; top: 50px; right: 0px; font-size: 20px; display: none; z-index: 1; filter: drop-shadow(5px 5px 3px #aaa); @media (max-width: 599.999px) { top: 34px; font-size: 18px; } li { background: #fff; color: #000; div { &[href="/logout.php"] { background: #900; color: #fff; } } } .user-name { padding: 10px; border-bottom: solid 1px black; background: #339; color: #fff; } } .faq-accordion, .ref-accordion { h3.ui-accordion-header { background: #99f; color: #000; } .faq-accordion, .ref-accordion { h3.ui-accordion-header { background: #f99; } } div.ui-accordion-content { padding: 15px 15px; } } footer { font-size: 12px; text-align: center; padding-top: 20px; padding-bottom: 100px; } #find-more-voters { background: #900; margin-top: 10px; } table#admin-users, table#admin-user-targets { background: white; } .admin-user-header { margin-bottom: 20px; } body.admin .container { max-width: none; }