From d9a1b5eb20cbc9e6ffd85aea3f6dde2ddc4f4b50 Mon Sep 17 00:00:00 2001 From: cv <34649812+cpvalente@users.noreply.github.com> Date: Sat, 17 Apr 2021 21:29:18 +0200 Subject: [PATCH] style tweaks --- .../src/common/input/EditableTimer.module.css | 5 ++- client/src/common/input/TimeInput.jsx | 4 +- client/src/common/input/TimeInput.module.css | 1 - .../features/editors/list/Block.module.css | 37 +++++++------------ .../src/features/viewers/PreviewContainer.jsx | 13 ++++--- .../viewers/backstage/StageManager.module.css | 4 +- 6 files changed, 29 insertions(+), 35 deletions(-) diff --git a/client/src/common/input/EditableTimer.module.css b/client/src/common/input/EditableTimer.module.css index edc55d212..e38fb9cde 100644 --- a/client/src/common/input/EditableTimer.module.css +++ b/client/src/common/input/EditableTimer.module.css @@ -13,7 +13,7 @@ } .delayedEditable { - border: 1px solid #ecc94b; + border: 1px solid #d69e2e88; } .delayValue { @@ -22,5 +22,6 @@ padding: 0.3em 0; text-align: center; align-self: flex-start; - background-color: #d69e2e; + border: 1px solid #d69e2e88; + background-color: #d69e2e22; } diff --git a/client/src/common/input/TimeInput.jsx b/client/src/common/input/TimeInput.jsx index 09fbde8c6..d54dfc4ff 100644 --- a/client/src/common/input/TimeInput.jsx +++ b/client/src/common/input/TimeInput.jsx @@ -7,7 +7,7 @@ const inputProps = { fontWeight: 400, backgroundColor: 'rgba(0,0,0,0.05)', color: '#fff', - border: '1px solid #ecc94b', + border: '1px solid #ecc94b55', borderRadius: '4px', placeholder: '-', textAlign: 'center', @@ -44,7 +44,7 @@ export default function TimeInput(props) { - {'(min)'} + {'minutes'} ); } diff --git a/client/src/common/input/TimeInput.module.css b/client/src/common/input/TimeInput.module.css index 12cc76001..e655fc162 100644 --- a/client/src/common/input/TimeInput.module.css +++ b/client/src/common/input/TimeInput.module.css @@ -6,5 +6,4 @@ .label { padding-left: 0.8em; align-self: center; - font-weight: 600; } diff --git a/client/src/features/editors/list/Block.module.css b/client/src/features/editors/list/Block.module.css index de0574678..93c0740eb 100644 --- a/client/src/features/editors/list/Block.module.css +++ b/client/src/features/editors/list/Block.module.css @@ -24,11 +24,12 @@ .actionOverlay { display: flex; flex-direction: row; + padding-top: 0.2em; gap: 0.5em; align-content: center; - align-self: center; + align-self: flex-start; - opacity: 0.8; + opacity: 0.4; transition: linear 0.1s; } @@ -67,12 +68,12 @@ background-color: rgba(255, 255, 255, 0.36); background: linear-gradient( 180deg, - #ff5b7e 0%, - #ff7597 05%, - #ff759733 06%, - #ff759733 94%, - #ff7597 95%, - #ff5b7e 100% + #4bffabcc 0%, + #227c52aa 09%, + #4bffab11 10%, + #4bffab11 89%, + #227c52aa 90%, + #4bffabcc 100% ); } @@ -106,8 +107,8 @@ /* 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.4) 0%, + rgba(128, 90, 213, 0.4) 20%, rgba(107, 70, 193, 0.15) 21% ); @@ -120,20 +121,10 @@ /* 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.4) 0%, + rgba(236, 201, 75, 0.4) 20%, rgba(214, 158, 46, 0.07) 21% ); justify-content: space-between; -} - -/* .delayValue { - color: #ffa; - font-weight: 600; - border-radius: 4px; - padding: 0.2em; - text-align: center; - width: 6em; - border: 1px solid rgba(255,255,255,0.05); -} */ +} \ No newline at end of file diff --git a/client/src/features/viewers/PreviewContainer.jsx b/client/src/features/viewers/PreviewContainer.jsx index c8a96e2c4..d13b429ec 100644 --- a/client/src/features/viewers/PreviewContainer.jsx +++ b/client/src/features/viewers/PreviewContainer.jsx @@ -1,23 +1,26 @@ import styles from './PreviewContainer.module.css'; -import IFrameLoader from './IFrameLoader'; +import IFrameLoader from './iframes/IFrameLoader'; export default function PreviewContainer() { return (
- +
Default Presenter
- +
Audience
- +
Stage Manager
- +
Lower third
diff --git a/client/src/features/viewers/backstage/StageManager.module.css b/client/src/features/viewers/backstage/StageManager.module.css index 06d5f2816..c69dd495d 100644 --- a/client/src/features/viewers/backstage/StageManager.module.css +++ b/client/src/features/viewers/backstage/StageManager.module.css @@ -125,7 +125,7 @@ .entryStart, .entryEnd { -font-size: 1.5vw; + font-size: 1.5vw; } .entryTitle { @@ -152,7 +152,7 @@ font-size: 1.5vw; color: #fff; line-height: 7vh; background-color: rgba(255, 255, 255, 0.09); - border-bottom: 3px solid #ff7597aa; + border-bottom: 0.5vh solid #ff7597aa; } /* =================== OVERLAY ===================*/