-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matteo Merola
committed
Feb 15, 2018
1 parent
81dd98b
commit f70274c
Showing
30 changed files
with
1,302 additions
and
8 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.sc-emoji-picker { | ||
position: absolute; | ||
bottom: 50px; | ||
right: 0px; | ||
width: 330px; | ||
max-height: 215px; | ||
box-shadow: 0px 7px 40px 2px rgba(148, 149, 150, 0.3); | ||
background: white; | ||
border-radius: 10px; | ||
outline: none; | ||
} | ||
|
||
.sc-emoji-picker:after { | ||
content: ""; | ||
width: 14px; | ||
height: 14px; | ||
background: white; | ||
position: absolute; | ||
bottom: -6px; | ||
right: 30px; | ||
transform: rotate(45deg); | ||
border-radius: 2px; | ||
} | ||
|
||
.sc-emoji-picker--content { | ||
padding: 10px; | ||
overflow: auto; | ||
width: 100%; | ||
max-height: 195px; | ||
margin-top: 7px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.sc-emoji-picker--category { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.sc-emoji-picker--category-title { | ||
min-width: 100%; | ||
color: #b8c3ca; | ||
font-weight: 200; | ||
font-size: 13px; | ||
margin: 5px; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.sc-emoji-picker--emoji { | ||
margin: 5px; | ||
width: 30px; | ||
line-height: 30px; | ||
text-align: center; | ||
cursor: pointer; | ||
vertical-align: middle; | ||
font-size: 28px; | ||
transition: transform 60ms ease-out,-webkit-transform 60ms ease-out; | ||
} | ||
|
||
.sc-emoji-picker--emoji:hover { | ||
transform: scale(1.4); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
.sc-header { | ||
background: #4e8cff; | ||
min-height: 75px; | ||
border-top-left-radius: 9px; | ||
border-top-right-radius: 9px; | ||
color: white; | ||
padding: 10px; | ||
box-shadow: 0 1px 4px rgba(0,0,0,.2); | ||
position: relative; | ||
box-sizing: border-box; | ||
display: flex; | ||
} | ||
|
||
.sc-header--img { | ||
border-radius: 50%; | ||
align-self: center; | ||
padding: 10px; | ||
} | ||
|
||
.sc-header--team-name { | ||
align-self: center; | ||
padding: 10px; | ||
flex: 1; | ||
user-select: none; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
} | ||
|
||
.sc-header--team-name:hover { | ||
background: #4882ed; | ||
} | ||
|
||
.sc-header--close-button { | ||
width: 40px; | ||
align-self: center; | ||
height: 40px; | ||
margin-right: 10px; | ||
box-sizing: border-box; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
} | ||
|
||
.sc-header--close-button:hover { | ||
background: #4882ed; | ||
} | ||
|
||
.sc-header--close-button img { | ||
width: 100%; | ||
height: 100%; | ||
padding: 13px; | ||
box-sizing: border-box; | ||
} | ||
|
||
@media (max-width: 450px) { | ||
.sc-header { | ||
border-radius: 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.sc-chat-window { | ||
width: 370px; | ||
height: calc(100% - 120px); | ||
max-height: 590px; | ||
position: fixed; | ||
right: 25px; | ||
bottom: 100px; | ||
box-sizing: border-box; | ||
box-shadow: 0px 7px 40px 2px rgba(148, 149, 150, 0.3); | ||
background: white; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
transition: 0.3s ease-in-out; | ||
border-radius: 10px; | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
.sc-chat-window.closed { | ||
opacity: 0; | ||
visibility: hidden; | ||
bottom: 90px; | ||
} | ||
|
||
.sc-message-list { | ||
height: 80%; | ||
overflow-y: auto; | ||
background-color: white; | ||
background-size: 100%; | ||
padding: 40px 0px; | ||
} | ||
|
||
.sc-message--me { | ||
text-align: right; | ||
} | ||
.sc-message--them { | ||
text-align: left; | ||
} | ||
|
||
@media (max-width: 450px) { | ||
.sc-chat-window { | ||
width: 100%; | ||
height: 100%; | ||
max-height: 100%; | ||
right: 0px; | ||
bottom: 0px; | ||
border-radius: 0px; | ||
} | ||
.sc-chat-window { | ||
transition: 0.1s ease-in-out; | ||
} | ||
.sc-chat-window.closed { | ||
bottom: 0px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
.sc-launcher { | ||
width: 60px; | ||
height: 60px; | ||
background-color: #4e8cff; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
position: fixed; | ||
right: 25px; | ||
bottom: 25px; | ||
border-radius: 50%; | ||
box-shadow: none; | ||
transition: box-shadow 0.2s ease-in-out; | ||
} | ||
|
||
.sc-launcher:before { | ||
content: ''; | ||
position: relative; | ||
display: block; | ||
width: 60px; | ||
height: 60px; | ||
border-radius: 50%; | ||
transition: box-shadow 0.2s ease-in-out; | ||
} | ||
|
||
.sc-launcher .sc-open-icon, | ||
.sc-launcher .sc-closed-icon { | ||
width: 60px; | ||
height: 60px; | ||
position: fixed; | ||
right: 25px; | ||
bottom: 25px; | ||
transition: opacity 100ms ease-in-out, transform 100ms ease-in-out; | ||
} | ||
|
||
.sc-launcher .sc-closed-icon { | ||
transition: opacity 100ms ease-in-out, transform 100ms ease-in-out; | ||
width: 60px; | ||
height: 60px; | ||
} | ||
|
||
.sc-launcher .sc-open-icon { | ||
padding: 20px; | ||
box-sizing: border-box; | ||
opacity: 0; | ||
} | ||
|
||
.sc-launcher.opened .sc-open-icon { | ||
transform: rotate(-90deg); | ||
opacity: 1; | ||
} | ||
|
||
.sc-launcher.opened .sc-closed-icon { | ||
transform: rotate(-90deg); | ||
opacity: 0; | ||
} | ||
|
||
.sc-launcher.opened:before { | ||
box-shadow: 0px 0px 400px 250px rgba(148, 149, 150, 0.2); | ||
} | ||
|
||
.sc-launcher:hover { | ||
box-shadow: 0 0px 27px 1.5px rgba(0,0,0,0.2); | ||
} | ||
|
||
.sc-new-messsages-count { | ||
position: absolute; | ||
top: -3px; | ||
left: 41px; | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
border-radius: 50%; | ||
width: 22px; | ||
height: 22px; | ||
background: #ff4646; | ||
color: white; | ||
text-align: center; | ||
margin: auto; | ||
font-size: 12px; | ||
font-weight: 500; | ||
} |
Oops, something went wrong.