From d1adf1f19eb6e1b0dee7306ab2ebcaf3eeb80627 Mon Sep 17 00:00:00 2001 From: Arjun Patel Date: Tue, 11 Jan 2022 22:24:20 -0800 Subject: [PATCH] fixing all of the rooms coloring to make it more subtle --- pages/teams/demo.tsx | 160 +++++++++++++++++++++++++++++-------------- styles/globals.css | 20 ++++++ 2 files changed, 128 insertions(+), 52 deletions(-) diff --git a/pages/teams/demo.tsx b/pages/teams/demo.tsx index 585e0ae..bfc8d9b 100644 --- a/pages/teams/demo.tsx +++ b/pages/teams/demo.tsx @@ -13,7 +13,11 @@ import { FaMicrophoneAlt, FaClock, FaPlay, FaPlus, - FaCheck + FaCheck, + FaCode, + FaLink, + FaExternalLinkAlt, + FaArchive } from "react-icons/fa"; import { IoPulseOutline, IoRemoveOutline, IoTimer } from "react-icons/io5"; @@ -124,6 +128,11 @@ export default class Demo extends React.Component { console.log(event.keyCode) switch(event.keyCode) { + case KeyCode.Escape: + this.setState({ + selectedChannel: null + }) + break case KeyCode.Zero: this.setState({ selectedChannel: 0 @@ -162,8 +171,7 @@ export default class Demo extends React.Component { render() { return ( <> -
- +
{/* header content */}
{/* welcome message */} @@ -328,12 +336,12 @@ export default class Demo extends React.Component { {/* rooms */}
- ROOMS - - + ROOMS + + {/* tab pane */} @@ -403,17 +411,17 @@ export default class Demo extends React.Component { - + {/* scheduled room - design meeting */} - + {/* header */} {/* meeting details */} - Shopping Cart Experience - lets finish the mockups @josh, @mark, and @arjun please step in for feedback + Shopping Cart Experience + lets finish the mockups @josh, @mark, and @arjun please step in for feedback {/* badges and tags */} @@ -436,7 +444,7 @@ export default class Demo extends React.Component { scheduled - sometime this afternoon? + sometime this afternoon? @@ -449,23 +457,24 @@ export default class Demo extends React.Component { - Adriana + Adriana - - + + {/* scheduled room - one on one */} - + {/* header */} {/* meeting details */} - Arjun and Paul - One on one - performance review + Arjun and Paul - One on one + performance review {/* badges and tags */} @@ -482,29 +491,29 @@ export default class Demo extends React.Component { scheduled - 3ish? Ill ping you Arjun + 3ish? Ill ping you Arjun {/* footer */} - - + {/* recurring room - dsu */} - + {/* header */} {/* meeting details */} - + Daily Standup - + {/* badges and tags */} @@ -525,32 +534,32 @@ export default class Demo extends React.Component { recurring - 10am daily + 10am daily {/* footer */} - - + {/* recurring room - demo */} - + {/* header */} {/* meeting details */} - + Sprint Demo - all hands on deck...lets have fun :) + all hands on deck...lets have fun :) {/* badges and tags */} @@ -567,31 +576,32 @@ export default class Demo extends React.Component { recurring - biweekly fridays! + biweekly fridays! {/* footer */} - - + - + {/* recurring room - wine wednesdays */} + {/* header */} {/* meeting details */} - + Wine Wednesdays - all hands on deck...lets have fun :) + @JOSH YOU BETTER COME {/* badges and tags */} @@ -608,20 +618,20 @@ export default class Demo extends React.Component { recurring - wednesdays 7-9pm + wednesdays 7-9pm {/* footer */} - - + @@ -631,31 +641,77 @@ export default class Demo extends React.Component { {/* attachments */}
- - Attachments + {/* header row */} + + Attachments + + + + + + + {/* row of attachments */} +
+ {/* pdf example */} + + {/* attmnt header */} + + -
-
- + + report.pdf + + + blockers + + - report.pdf + {/* attachment actions */} + + - -
+ + + + {/* attmnt footer */} + + + + + profile + + + + + Adriana + 5 minutes ago + + + + +
-
+
{/* dynamic footer based on selection */}
diff --git a/styles/globals.css b/styles/globals.css index 041b053..1c3ed79 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -104,3 +104,23 @@ p { .ant-tabs-ink-bar { @apply text-white bg-white !important; } + +/* scrollbar customization */ +::-webkit-scrollbar { + width: 5px; +} + +/* Track */ +::-webkit-scrollbar-track { + background: #f1f1f1; +} + +/* Handle */ +::-webkit-scrollbar-thumb { + background: #888; +} + +/* Handle on hover */ +::-webkit-scrollbar-thumb:hover { + background: #555; +}