Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18959 from lfzawacki/bbb-2.7
feat(reactions): port new reactions and fix emojiRain
- Loading branch information
Showing
15 changed files
with
260 additions
and
184 deletions.
There are no files selected for viewing
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
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
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
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
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
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
71 changes: 0 additions & 71 deletions
71
bigbluebutton-html5/imports/ui/components/emoji-picker/reactions-picker/component.jsx
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
bigbluebutton-html5/imports/ui/components/emoji-picker/reactions-picker/styles.js
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,35 @@ | ||
import styled, { css } from 'styled-components'; | ||
|
||
const EmojiWrapper = styled.span` | ||
padding-top: 0.9em; | ||
padding-bottom: 0.1em; | ||
${({ selected }) => !selected && css` | ||
:hover { | ||
border-radius:100%; | ||
outline-color: transparent; | ||
outline-style:solid; | ||
box-shadow: 0 0 0 0.25em #eee; | ||
background-color: #eee; | ||
opacity: 0.75; | ||
} | ||
`} | ||
${({ selected }) => selected && css` | ||
em-emoji { | ||
cursor: not-allowed; | ||
} | ||
`} | ||
${({ selected, emoji }) => selected && selected !== emoji && css` | ||
opacity: 0.75; | ||
`} | ||
${({ selected, emoji }) => selected && selected === emoji && css` | ||
border-radius:100%; | ||
outline-color: transparent; | ||
outline-style:solid; | ||
box-shadow: 0 0 0 0.25em #eee; | ||
background-color: #eee; | ||
`} | ||
`; | ||
|
||
export default { | ||
EmojiWrapper, | ||
}; |
Oops, something went wrong.