2021-04-11 09:42:36 +00:00
|
|
|
:root {
|
|
|
|
--color-error: #cc0000;
|
2022-05-24 21:31:59 +00:00
|
|
|
--color-primary: #3dd9eb;
|
|
|
|
--color-secondary: #34495e;
|
2021-04-11 09:42:36 +00:00
|
|
|
--color-success: #5cb85c;
|
2022-05-24 21:31:59 +00:00
|
|
|
--color-tertiary: #6b7280;
|
2022-10-16 09:23:44 +00:00
|
|
|
--color-warning: #ffdf00;
|
2021-04-11 09:42:36 +00:00
|
|
|
--color-white: #ffffff;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2022-10-16 09:23:44 +00:00
|
|
|
box-sizing: border-box;
|
2022-05-24 21:31:59 +00:00
|
|
|
color: var(--color-tertiary);
|
2021-04-11 09:42:36 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-10-13 12:46:45 +00:00
|
|
|
font-family: Inter, Arial, Helvetica, sans-serif;
|
2022-10-16 09:23:44 +00:00
|
|
|
width: 320px;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
body * {
|
|
|
|
box-sizing: border-box;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-05-24 21:31:59 +00:00
|
|
|
footer {
|
2022-07-20 08:14:33 +00:00
|
|
|
background-color: var(--color-secondary);
|
2022-10-16 09:23:44 +00:00
|
|
|
font-size: 12px;
|
|
|
|
height: 4px;
|
2022-05-24 21:31:59 +00:00
|
|
|
margin-top: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
align-items: center;
|
|
|
|
background-color: var(--color-secondary);
|
|
|
|
color: var(--color-white);
|
|
|
|
display: flex;
|
2022-10-16 09:23:44 +00:00
|
|
|
font-size: 16px !important;
|
|
|
|
height: 48px;
|
2022-05-24 21:31:59 +00:00
|
|
|
justify-content: space-between;
|
2022-10-16 09:23:44 +00:00
|
|
|
padding: 0 16px;
|
2022-05-24 21:31:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2022-10-16 09:23:44 +00:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
gap: 16px;
|
|
|
|
padding: 16px;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
popup-button {
|
|
|
|
border-radius: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
display: grid;
|
|
|
|
font-size: 14px;
|
|
|
|
gap: 16px;
|
|
|
|
grid-template-rows: repeat(2, 1fr);
|
|
|
|
height: 136px;
|
|
|
|
justify-items: center;
|
|
|
|
outline: none;
|
|
|
|
padding: 8px;
|
|
|
|
text-align: center;
|
2021-04-11 09:42:36 +00:00
|
|
|
transition: 0.4s;
|
2022-10-16 09:23:44 +00:00
|
|
|
width: 100%;
|
|
|
|
word-break: break-word;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
popup-button:focus,
|
|
|
|
popup-button:hover {
|
|
|
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
popup-button > span {
|
|
|
|
align-self: flex-start;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
popup-button > svg {
|
|
|
|
align-self: flex-end;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
#power-option {
|
2022-05-24 21:31:59 +00:00
|
|
|
color: var(--color-white);
|
2022-10-13 15:16:35 +00:00
|
|
|
word-break: break-all;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
#power-option[data-value='off'] {
|
|
|
|
background-color: var(--color-error);
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
#power-option[data-value='on'] {
|
|
|
|
background-color: var(--color-success);
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
#rate-option > svg {
|
2022-05-24 21:31:59 +00:00
|
|
|
transition: 0.4s;
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 09:23:44 +00:00
|
|
|
#rate-option:focus > svg,
|
|
|
|
#rate-option:hover > svg {
|
|
|
|
color: var(--color-warning);
|
|
|
|
fill: var(--color-warning);
|
2021-04-11 09:42:36 +00:00
|
|
|
}
|