style: go dark

This commit is contained in:
cv
2021-04-15 13:51:51 +02:00
parent 8f9eb970d3
commit c25633ade4
21 changed files with 270 additions and 185 deletions
+1 -1
View File
@@ -4,6 +4,6 @@
} }
.App { .App {
background-image: linear-gradient(rgb(20, 20, 20) 1.7%, rgb(48, 48, 48) 97%); background: linear-gradient(90deg, #202020 0%, #121212 100%);
height: 100vh; height: 100vh;
} }
@@ -5,7 +5,8 @@ export default function NextIconBtn(props) {
return ( return (
<IconButton <IconButton
icon={<FiSkipForward />} icon={<FiSkipForward />}
colorScheme= 'blackAlpha' colorScheme= 'whiteAlpha'
backgroundColor='#ffffff05'
variant= 'outline' variant= 'outline'
onClick={props.clickHandler} onClick={props.clickHandler}
width={90} width={90}
@@ -5,7 +5,8 @@ export default function PrevIconBtn(props) {
return ( return (
<IconButton <IconButton
icon={<FiSkipBack />} icon={<FiSkipBack />}
colorScheme= 'blackAlpha' colorScheme= 'whiteAlpha'
backgroundColor='#ffffff05'
variant= 'outline' variant= 'outline'
onClick={props.clickHandler} onClick={props.clickHandler}
width={90} width={90}
@@ -22,5 +22,5 @@
text-align: center; text-align: center;
letter-spacing: 0.1em; letter-spacing: 0.1em;
font-weight: 600; font-weight: 600;
color: #333; color: #fffffa;
} }
@@ -4,7 +4,8 @@
color: white; color: white;
font-weight: 600; font-weight: 600;
background-color: #319795; background-color: #ff5b7e;
border: 1px solid rgba(255,255,255,0.47);
width: 1.5em; width: 1.5em;
border-radius: 1em; border-radius: 1em;
@@ -2,14 +2,14 @@
.titleUnderlined { .titleUnderlined {
padding-left: 1em; padding-left: 1em;
font-size: 0.8em; font-size: 0.8em;
color: #888; color: #aaa;
display: inline-block; display: inline-block;
width: 6em; width: 6em;
cursor: default; cursor: default;
} }
.titleUnderlined { .titleUnderlined {
border-bottom: 1px solid #0001; border-bottom: 1px solid rgba(255, 255, 255, 0.35);
} }
.block { .block {
@@ -23,4 +23,4 @@
.editable13 { .editable13 {
width: '13em'; width: '13em';
min-width: '13em'; min-width: '13em';
} }
@@ -1,6 +1,6 @@
.time { .time {
background-color: #fff8; background-color: rgba(255, 255, 255, 0.05);
border: 1px solid #0001; border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 4px; border-radius: 4px;
width: 5em; width: 5em;
height: fit-content; height: fit-content;
@@ -9,19 +9,18 @@
.editable, .editable,
.delayedEditable { .delayedEditable {
text-align: center; text-align: center;
border-radius: 4px;
} }
.delayedEditable { .delayedEditable {
background-color: #ecc94b22; border: 1px solid #ecc94b;
} }
.delayValue { .delayValue {
font-size: 14px; color: #fff;
line-height: 2em;
color: #555;
background-color: #ffeaa066;
border-radius: 4px; border-radius: 4px;
padding: 0.3em 0;
text-align: center; text-align: center;
border: 1px solid #0001; align-self: flex-start;
background-color: #d69e2e;
} }
+5 -1
View File
@@ -4,7 +4,11 @@ import style from './TimeInput.module.css';
const inputProps = { const inputProps = {
width: 20, width: 20,
backgroundColor: '#fff5', fontWeight: 400,
backgroundColor: 'rgba(0,0,0,0.05)',
color: '#fff',
border: '1px solid #ecc94b',
borderRadius: '4px',
placeholder: '-', placeholder: '-',
textAlign: 'center', textAlign: 'center',
}; };
+2 -1
View File
@@ -4,6 +4,7 @@
} }
.label { .label {
color: #0005;
padding-left: 0.8em; padding-left: 0.8em;
align-self: center;
font-weight: 600;
} }
+43 -34
View File
@@ -1,5 +1,4 @@
import { FormControl } from '@chakra-ui/form-control'; import { Editable, EditableInput, EditablePreview } from '@chakra-ui/editable';
import { Input } from '@chakra-ui/input';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import { useSocket } from '../../app/context/socketContext'; import { useSocket } from '../../app/context/socketContext';
import VisibleIconBtn from '../../common/components/buttons/VisibleIconBtn'; import VisibleIconBtn from '../../common/components/buttons/VisibleIconBtn';
@@ -80,60 +79,70 @@ export default function MessageControl() {
}; };
return ( return (
<> <div className={style.messageContainer}>
<div className={style.inputContainer}> <div className={style.inputContainer}>
<FormControl id='presenterMessage'> <span className={style.label}>Presenter screen message</span>
<span className={style.label}>Presenter screen message</span> <div className={style.inputItems}>
<Input <Editable
placeholder='only the presenter screens see this'
onChange={(event) => onChange={(event) =>
messageControl('pres-text', event.target.value) messageControl('pres-text', event.target.value)
} }
placeholder='only the presenter screens see this'
className={style.inline}
>
<EditablePreview />
<EditableInput className={style.editable13} />
</Editable>
<VisibleIconBtn
active={pres.visible}
clickHandler={() => messageControl('toggle-pres-visible')}
{...inputProps} {...inputProps}
/> />
</FormControl> </div>
<VisibleIconBtn
active={pres.visible}
clickHandler={() => messageControl('toggle-pres-visible')}
{...inputProps}
/>
</div> </div>
<div className={style.inputContainerWGap}> <div className={style.inputContainerWGap}>
<FormControl id='generalMessage'> <span className={style.label}>Public screen message</span>
<span className={style.label}>Public screen message</span> <div className={style.inputItems}>
<Input <Editable
placeholder='all screens will render this'
onChange={(event) => onChange={(event) =>
messageControl('publ-text', event.target.value) messageControl('publ-text', event.target.value)
} }
placeholder='all screens will render this'
className={style.inline}
>
<EditablePreview />
<EditableInput className={style.editable13} />
</Editable>
<VisibleIconBtn
active={publ.visible}
clickHandler={() => messageControl('toggle-publ-visible')}
{...inputProps} {...inputProps}
/> />
</FormControl> </div>
<VisibleIconBtn
active={publ.visible}
clickHandler={() => messageControl('toggle-publ-visible')}
{...inputProps}
/>
</div> </div>
<div className={style.inputContainerWGap}> <div className={style.inputContainerWGap}>
<FormControl id='lowerMessage'> <span className={style.label}>Lower third message</span>
<span className={style.label}>Lower third message</span> <div className={style.inputItems}>
<Input <Editable
placeholder='visible in lower third screen'
onChange={(event) => onChange={(event) =>
messageControl('lower-text', event.target.value) messageControl('lower-text', event.target.value)
} }
placeholder='visible in lower third screen'
className={style.inline}
>
<EditablePreview />
<EditableInput />
</Editable>
<VisibleIconBtn
active={lower.visible}
clickHandler={() => messageControl('toggle-lower-visible')}
{...inputProps} {...inputProps}
/> />
</FormControl> </div>
<VisibleIconBtn
active={lower.visible}
clickHandler={() => messageControl('toggle-lower-visible')}
{...inputProps}
/>
</div> </div>
</> </div>
); );
} }
@@ -1,16 +1,34 @@
.messageContainer {
background-color: rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 4px;
}
.inputContainer, .inputContainer,
.inputContainerWGap { .inputContainerWGap {
display: flex; padding: 0.5em;
align-items: flex-end;
gap: 1em;
} }
.inputContainerWGap { .inputContainerWGap {
padding-top: 0.5em; padding-top: 0.5em;
} }
.inputItems {
display: grid;
grid-template-columns: 1fr auto;
gap: 1em;
}
.label { .label {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-size: 14px; font-size: 0.9em;
color: #ccc;
}
.inline {
padding-left: 0.5em;
border-radius: 4px;
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.05);
} }
@@ -8,8 +8,9 @@
.timeContainer, .timeContainer,
.playbackContainer { .playbackContainer {
border: 1px solid rgb(226, 232, 240); background-color: rgba(0, 0, 0, 0.05);
border-radius: 8px; border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 4px;
padding: 0.5em; padding: 0.5em;
} }
@@ -37,12 +38,12 @@
} }
.time { .time {
color: #333; color: #ccc;
font-size: 1.1em; font-size: 1.1em;
} }
.tag { .tag {
color: #666; color: #aaa;
font-size: 0.9em; font-size: 0.9em;
} }
@@ -2,13 +2,13 @@
width: 95%; width: 95%;
margin: auto; margin: auto;
height: 95vh; height: 95vh;
color: #fffd;
} }
.editor { .editor {
height: 100%; height: 100%;
margin-top: 1.5vh; margin-top: 1.5vh;
background-color: #fcfcfa; background-color: rgba(255, 255, 255, 0.13);
/* 011627 */
padding: 0.8em 1.5em; padding: 0.8em 1.5em;
display: flex; display: flex;
@@ -5,12 +5,11 @@
.block, .block,
.delay { .delay {
position: relative; position: relative;
top: 1em;
margin: 0.2em 0; margin: 0.2em 0;
width: 100%; width: 100%;
border-radius: 8px; border-radius: 8px;
font-size: 15px; font-size: 15px;
border: 1px solid #0001; border: 1px solid rgba(255, 255, 255, 0.05);
} }
.block, .block,
@@ -29,7 +28,7 @@
align-content: center; align-content: center;
align-self: center; align-self: center;
opacity: 0.6; opacity: 0.8;
transition: linear 0.1s; transition: linear 0.1s;
} }
@@ -37,7 +36,7 @@
.eventRowActive:hover > .actionOverlay, .eventRowActive:hover > .actionOverlay,
.block:hover > .actionOverlay, .block:hover > .actionOverlay,
.delay:hover > .actionOverlay { .delay:hover > .actionOverlay {
opacity: 0.85; opacity: 1;
transition: linear 0.1s; transition: linear 0.1s;
} }
@@ -61,24 +60,26 @@
} }
.eventRow { .eventRow {
background-color: #0001; background-color: rgba(255, 255, 255, 0.02);
} }
.eventRowActive { .eventRowActive {
background-color: #b2f5eaaa; background-color: rgba(255, 255, 255, 0.36);
background: linear-gradient( background: linear-gradient(
0deg, 180deg,
#7aadffaa 5%, #ff5b7e 0%,
#7aadff55 6%, #ff7597 05%,
#7aadff55 95%, #ff759733 06%,
#7aadffaa 96% #ff759733 94%,
#ff7597 95%,
#ff5b7e 100%
); );
} }
.titleContainer, .titleContainer,
.detailedContainer { .detailedContainer {
background-color: #fff8; background-color: rgba(255, 255, 255, 0.05);
border: 1px solid #0001; border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 4px; border-radius: 4px;
} }
@@ -101,24 +102,38 @@
/* ============= BLOCK BLOCK ============= */ /* ============= BLOCK BLOCK ============= */
.block { .block {
background-color: #805ad5aa; background-color: #805ad5;
background: linear-gradient(0deg, #805ad5aa 20%, #805ad555 21%); /* background: linear-gradient(0deg, #6b46c1 20%, #805ad5 21%); */
background: linear-gradient(
0deg,
rgba(107, 70, 193, 1) 0%,
rgba(128, 90, 213, 1) 20%,
rgba(107, 70, 193, 0.15) 21%
);
flex-direction: row-reverse; flex-direction: row-reverse;
} }
/* ============= DELAY BLOCK ============= */ /* ============= DELAY BLOCK ============= */
.delay { .delay {
background-color: #ecc94baa; background-color: #ecc94b;
background: linear-gradient(180deg, #ecc94baa 20%, #ecc94b55 21%); /* background: linear-gradient(180deg, #d69e2e 20%, #ecc94b 21%); */
background: linear-gradient(
180deg,
rgba(214, 158, 46, 1) 0%,
rgba(236, 201, 75, 1) 20%,
rgba(214, 158, 46, 0.07) 21%
);
justify-content: space-between; justify-content: space-between;
} }
.delayValue { /* .delayValue {
color: #222; color: #ffa;
background-color: #fff5; font-weight: 600;
border-radius: 4px; border-radius: 4px;
padding: 0.2em; padding: 0.2em;
text-align: center; text-align: center;
width: 6em; width: 6em;
border: 1px solid #0001; border: 1px solid rgba(255,255,255,0.05);
} } */
@@ -0,0 +1,10 @@
.eventContainer {
margin-top: 1em;
display: flex;
flex-direction: column;
gap: 5px;
background-color: rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.05);
border-radius: 4px;
padding: 8px;
}
+4 -2
View File
@@ -15,6 +15,8 @@ export default function EventListMenu(props) {
const buttonProps = { const buttonProps = {
size: 'sm', size: 'sm',
variant: 'outline', variant: 'outline',
colorScheme: 'whiteAlpha',
backgroundColor: '#ffffff05'
}; };
const addHandler = () => { const addHandler = () => {
@@ -25,7 +27,7 @@ export default function EventListMenu(props) {
<div className={style.headerButtons}> <div className={style.headerButtons}>
<Menu> <Menu>
<ButtonGroup isAttached> <ButtonGroup isAttached>
<Button size='sm' variant='outline'> <Button {...buttonProps}>
Upload Upload
</Button> </Button>
<MenuButton as={Button} {...buttonProps}> <MenuButton as={Button} {...buttonProps}>
@@ -40,7 +42,7 @@ export default function EventListMenu(props) {
<Menu> <Menu>
<ButtonGroup isAttached> <ButtonGroup isAttached>
<Button {...buttonProps}>Save</Button> <Button {...buttonProps}>Save</Button>
<MenuButton as={Button} {...buttonProps}> <MenuButton as={Button} {...buttonProps} >
<FiChevronDown /> <FiChevronDown />
</MenuButton> </MenuButton>
</ButtonGroup> </ButtonGroup>
@@ -74,7 +74,11 @@ export default function StageManager() {
<div className={style.info}>Have a nice day</div> <div className={style.info}>Have a nice day</div>
</div> </div>
<div className={style.qr}> <div className={style.qr}>
<QRCode value='www.carlosvalente.com' size={180} level='L' /> <QRCode
value='www.carlosvalente.com'
size={window.innerWidth / 10}
level='L'
/>
</div> </div>
</div> </div>
</div> </div>
@@ -1,13 +1,12 @@
.container__gray, .container__gray,
.container__grayFinished { .container__grayFinished {
background: linear-gradient(90deg, #252525 0%, #121212 100%); background: linear-gradient(90deg, #252525 0%, #121212 100%);
height: 100%; height: 100vh;
color: #fffd; color: #fffd;
font-size: 16px;
font-weight: 300; font-weight: 300;
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr 3vw 2fr 1vw; grid-template-columns: 1fr 1fr 1fr 3vw 2fr 1vw;
grid-template-rows: 5em 1fr 1fr 1fr 1fr 1fr; grid-template-rows: 5vh 1fr 1fr 1fr 1fr 1fr;
grid-template-areas: grid-template-areas:
' titl titl titl . schd .' ' titl titl titl . schd .'
' titl titl titl . schd .' ' titl titl titl . schd .'
@@ -15,7 +14,7 @@
' next next .... . schd .' ' next next .... . schd .'
' .... .... .... . info .' ' .... .... .... . info .'
' time clck pres . info .'; ' time clck pres . info .';
gap: 1em; gap: 1vw;
} }
.label { .label {
@@ -27,8 +26,8 @@
grid-area: titl; grid-area: titl;
font-size: 5vw; font-size: 5vw;
font-weight: 600; font-weight: 600;
padding-top: 0.1em; padding-top: 0.2vh;
padding-left: 0.5em; padding-left: 2vw;
} }
/* =================== TITLES ===================*/ /* =================== TITLES ===================*/
@@ -39,29 +38,29 @@
.clockContainer, .clockContainer,
.countdownContainer { .countdownContainer {
background-color: rgba(255, 255, 255, 0.05); background-color: rgba(255, 255, 255, 0.05);
padding: 1em 2.5em; padding: 1vh 2vw;
} }
.todayContainer, .todayContainer,
.infoContainer { .infoContainer {
background-color: rgba(255, 255, 255, 0.07); background-color: rgba(255, 255, 255, 0.07);
padding: 1.5em 2.5em; padding: 2.5vh 2vw;
} }
.infoContainer, .infoContainer,
.todayContainer { .todayContainer {
border-radius: 1em; border-radius: 1vw;
} }
.nowContainer { .nowContainer {
background-color: rgba(255, 255, 255, 0.09); background-color: rgba(255, 255, 255, 0.09);
grid-area: now; grid-area: now;
border-radius: 0 2em 2em 0; border-radius: 0 2vw 2vw 0;
} }
.nextContainer { .nextContainer {
grid-area: next; grid-area: next;
border-radius: 0 2em 2em 0; border-radius: 0 2vw 2vw 0;
} }
.nowTitle, .nowTitle,
@@ -101,7 +100,7 @@
.todayContainer { .todayContainer {
grid-area: schd; grid-area: schd;
display: grid; display: grid;
grid-template-rows: 3em 1fr 2em; grid-template-rows: 5vh 1fr 3vh;
margin-top: 3vh; margin-top: 3vh;
height: 95%; height: 95%;
} }
@@ -109,30 +108,37 @@
.entries { .entries {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 0.8em; gap: 1.5vh;
} }
.navItem, .navItem,
.navItemSelected { .navItemSelected {
background-color: rgba(255, 255, 255, 0.39); background-color: rgba(255, 255, 255, 0.39);
width: 16px; width: 1vw;
height: 16px; height: 1vw;
border-radius: 10px; border-radius: 1vw;
} }
.navItemSelected { .navItemSelected {
background-color: rgba(255, 255, 255, 0.79); background-color: rgba(255, 255, 255, 0.79);
} }
.entryStart,
.entryEnd {
font-size: 1.5vw;
}
.entryTitle {
align-self: center;
}
.entryPast, .entryPast,
.entryNow, .entryNow,
.entryFuture { .entryFuture {
background-color: rgba(255, 255, 255, 0.03); background-color: rgba(255, 255, 255, 0.03);
display: flex; display: flex;
gap: 1em; gap: 1.5vw;
font-size: 1.3vw; font-size: 1.3vw;
padding: 0.2em 1em; padding: 0.2vh 1vw;
border-radius: 8px;
} }
.entryPast { .entryPast {
@@ -144,8 +150,9 @@
.entryNow { .entryNow {
font-size: 1.3vw; font-size: 1.3vw;
color: #fff; color: #fff;
line-height: 3em; line-height: 7vh;
background-color: rgba(255, 255, 255, 0.09); background-color: rgba(255, 255, 255, 0.09);
border-bottom: 3px solid #ff7597aa;
} }
/* =================== OVERLAY ===================*/ /* =================== OVERLAY ===================*/
@@ -167,7 +174,7 @@
.infoMessages { .infoMessages {
grid-area: info; grid-area: info;
font-size: 2em; font-size: 1.5vw;
} }
.qr { .qr {
@@ -181,19 +188,19 @@
.clockContainer { .clockContainer {
grid-area: time; grid-area: time;
margin-bottom: 2vh; margin-bottom: 2vh;
border-radius: 1em 0em 0em 1em; border-radius: 1vw 0 0 1vw;
} }
.countdownContainer { .countdownContainer {
grid-area: clck; grid-area: clck;
margin-bottom: 2vh; margin-bottom: 2vh;
border-radius: 0em 1em 1em 0em; border-radius: 0 1vw 1vw 0;
} }
.clock { .clock {
font-size: 3vw; font-size: 3vw;
text-align: center; text-align: center;
letter-spacing: 0.1em; letter-spacing: 0.25vw;
color: #ddd; color: #ddd;
} }
@@ -201,6 +208,6 @@
align-self: center; align-self: center;
justify-self: flex-end; justify-self: flex-end;
display: flex; display: flex;
gap: 1em; gap: 1vw;
margin-bottom: auto; margin-bottom: auto;
} }
@@ -2,17 +2,17 @@ import style from './PresenterView.module.css';
export default function PresenterSimple() { export default function PresenterSimple() {
return ( return (
<div className={style.container__gray}> <div className={style.container__graySimple}>
{/* <div className={style.messageOverlayActive}> {/* <div className={style.messageOverlayActive}>
<div className={style.message}>Remember to smile</div> <div className={style.message}>Remember to smile</div>
</div> */} </div> */}
<div className={style.mainContainer}> <div className={style.timerContainer}>
<div className={style.countdownBig}>01:03</div> <div className={style.countdownBig}>01:03</div>
<div className={style.progress}> </div>
<div className={style.progressed}></div>
</div> <div className={style.progress}>
<div className={style.progressed}></div>
</div> </div>
{/* <div className={style.mainContainer}> {/* <div className={style.mainContainer}>
@@ -21,15 +21,13 @@ export default function PresenterView() {
<div className={style.message}>Remember to smile</div> <div className={style.message}>Remember to smile</div>
</div> */} </div> */}
<div className={style.mainContainer}> <div className={style.timerContainer}>
<div className={style.countdown}>01:03</div> <div className={style.countdown}>01:03</div>
<div className={style.progress}> {/* <div className={style.finished}>TIME UP</div> */}
<div className={style.progressed}></div>
</div>
</div> </div>
<div className={style.mainContainer}> <div className={style.progress}>
<div className={style.finished}>TIME UP</div> <div className={style.progressed}></div>
</div> </div>
<div className={style.clockContainer}> <div className={style.clockContainer}>
@@ -3,12 +3,33 @@
background: radial-gradient(circle, #202020 0%, #121212 80%); background: radial-gradient(circle, #202020 0%, #121212 80%);
height: 100vh; height: 100vh;
color: #fffd; color: #fffd;
font-size: 16px; display: grid;
padding: 1em; grid-template-columns: 1fr 1fr 5vw 1fr 1fr;
grid-template-rows: auto 1fr auto auto;
grid-template-areas:
' clck .... .... .... ....'
' timr timr timr timr timr'
' prog prog prog prog prog'
' now now .... next next';
gap: 1vw;
}
.container__graySimple,
.container__grayFinishedSimple {
background: radial-gradient(circle, #202020 0%, #121212 80%);
height: 100vh;
color: #fffd;
display: grid;
grid-template-columns: 1fr 1fr 5vw 1fr 1fr;
grid-template-rows: auto 1fr 30vh;
grid-template-areas:
' clck .... .... .... ....'
' timr timr timr timr timr'
' prog prog prog prog prog';
gap: 1vw;
} }
.label { .label {
font-size: 1.5vw; font-size: 1.3vw;
color: #ff7597; color: #ff7597;
} }
/* =================== TITLES ===================*/ /* =================== TITLES ===================*/
@@ -16,30 +37,26 @@
.nowContainer, .nowContainer,
.nextContainer { .nextContainer {
background-color: rgba(255, 255, 255, 0.05); background-color: rgba(255, 255, 255, 0.05);
padding: 1em 3em; padding: 1vh 2vw;
border-radius: 4px; border-radius: 1vw;
width: 40vw;
} }
.nowContainer { .nowContainer {
position: absolute; grid-area: now;
bottom: 1em;
left: 1em;
} }
.nextContainer { .nextContainer {
position: absolute; grid-area: next;
bottom: 1em;
left: calc(50% + 1em);
} }
.title { .title {
color: #ddd; color: #ddd;
font-size: 2.5vw; font-size: 2.5vw;
} }
.subtitle, .subtitle,
.presenter { .presenter {
color: #aaa; color: #aaa;
font-size: 1.8vw; font-size: 2vw;
} }
.title:after, .title:after,
@@ -50,49 +67,12 @@
/* =================== MAIN ===================*/ /* =================== MAIN ===================*/
.mainContainer, .timerContainer,
.mainContainerFinished { .timerContainerFinished {
margin: auto; grid-area: timr;
width: 100%; justify-self: center;
text-align: center; align-self: center;
position: absolute;
top: 40%;
left: 50%;
color: white; color: white;
transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
}
.countdown,
.countdownBig {
line-height: 1em;
letter-spacing: 0.1em;
}
.countdown {
font-size: 25vw;
}
.countdownBig {
padding-top: 10vh;
font-size: 30vw;
}
.progress {
width: 80%;
margin: auto;
height: 1em;
background-color: #333;
}
.progressed {
width: 30%;
height: 1em;
background-color: #ddd;
}
.container__grayFinished {
border: 1em solid #ff5353;
} }
.finished { .finished {
@@ -101,6 +81,41 @@
color: #ff5353; color: #ff5353;
} }
.countdown,
.countdownBig {
letter-spacing: 4vw;
}
.countdown {
font-size: 23vw;
line-height: 23vw;
}
.countdownBig {
font-size: 30vw;
line-height: 30vw;
}
.progress {
grid-area: prog;
width: 80%;
margin: 0 auto;
height: 2vh;
background-color: rgba(255, 255, 255, 0.13);
border-radius: 4px;
}
.progressed {
width: 30%;
height: 2vh;
background-color: rgba(255, 255, 255, 0.79);
border-radius: 4px;
}
.container__grayFinished {
border: 1vw solid #ff5353;
}
/* =================== OVERLAY ===================*/ /* =================== OVERLAY ===================*/
.messageOverlay, .messageOverlay,
@@ -129,7 +144,7 @@
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%);
font-size: 15vw; font-size: 15vw;
line-height: 1.1em; line-height: 30vh;
text-align: center; text-align: center;
font-weight: 600; font-weight: 600;
} }
@@ -137,13 +152,12 @@
/* =================== MAIN ===================*/ /* =================== MAIN ===================*/
.clockContainer { .clockContainer {
position: absolute; grid-area: clck;
top: 2em; padding: 1vh 2vw;
left: 2em;
} }
.clock { .clock {
font-size: 4vw; font-size: 4vw;
letter-spacing: 0.1em; letter-spacing: 0.4vw;
color: #ddd; color: #ddd;
} }