Skip to content

Fix/updated styling dev410 #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated styling, added a banner message and verticalized tray
  • Loading branch information
kimberleehowley committed Jan 22, 2021
commit 398d8118c966b79f6cb9dd53f378af7687bef40b
4 changes: 4 additions & 0 deletions src/components/App/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
--fontFamily: GraphikRegular, 'Helvetica Neue', Sans-Serif;
--white: #ffffff;
--grey: #c8d1dc;
--darkblue: #121a24;
--lightgreen: #72cc18;
}

.app {
font-family: var(--fontFamily);
color: var(--white);
background-color: var(--darkblue);
position: absolute;
height: 100%;
width: 100%;
Expand Down Expand Up @@ -74,6 +77,7 @@
background-color: var(--white);
border-width: 1px;
border-color: var(--grey);
color: var(--darkblue);
cursor: pointer;
width: 250px;
}
Expand Down
15 changes: 15 additions & 0 deletions src/components/Call/Call.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,18 @@
display: flex;
align-items: center;
}

.banner {
width: auto;
padding: 20px 30px;
top: 5%;
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
text-align: center;
border: 1px solid #2b3f56;
}

/* .docsLink {
text-decoration: none;
} */
3 changes: 3 additions & 0 deletions src/components/Call/Call.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ export default function Call() {
const message = getMessage(callState);
return (
<div className="call">
<div className="banner">
Explore more ways to customize this call in the Daily docs.
</div>
<div className="large-tiles">
{
!message
Expand Down
4 changes: 2 additions & 2 deletions src/components/CallMessage/CallMessage.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
left: 50%;
position: absolute;
transform: translate(-50%, -50%);
color: #121a24;
color: var(--white);
text-align: center;
font-size: 14px;
line-height: 17px;
}

.call-message.error {
color: #d81a1a;
background-color: #ffffff;
background-color: var(--white);
}

.call-message-header {
Expand Down
5 changes: 3 additions & 2 deletions src/components/Chat/Chat.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.chat {
position: absolute;
right: 10px;
bottom: 75px;
left: 150px;
bottom: 0px;
top: 350px;
width: 250px;
height: calc(100% - 150px);
background-color: #f2f2f2;
Expand Down
13 changes: 12 additions & 1 deletion src/components/Tray/Tray.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
.tray {
flex: none;
/* flex: none;
height: 60px;
background-color: #f2f2f2;
padding: 0 10px;
display: flex;
width: 100%;
align-items: center; */

flex: none;
height: 55%;
top: 105px;
width: 40px;
background-color: #f2f2f2;
padding: 0 10px;
display: flex;
position: absolute;
flex-direction: column;
align-items: center;
}
Binary file modified src/images/github@icons8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/logo@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
:root {
--grey-lightest: #e6eaef;
--fontFamily: GraphikRegular, 'Helvetica Neue', Sans-Serif;
}

body {
margin: 0;
font-family: var(--fontFamily);
background-color: var(--grey-lightest);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down