diff --git a/bigbluebutton-html5/client/stylesheets/bbb-icons.css b/bigbluebutton-html5/client/stylesheets/bbb-icons.css index 5e8b131cc4..efda7c3933 100755 --- a/bigbluebutton-html5/client/stylesheets/bbb-icons.css +++ b/bigbluebutton-html5/client/stylesheets/bbb-icons.css @@ -1,32 +1,32 @@ @font-face { - font-family: 'bbb-icons'; - src: url('/fonts/BbbIcons/bbb-icons.eot?j1ntjp'); - src: url('/fonts/BbbIcons/bbb-icons.eot?j1ntjp#iefix') format('embedded-opentype'), - url('/fonts/BbbIcons/bbb-icons.ttf?j1ntjp') format('truetype'), - url('/fonts/BbbIcons/bbb-icons.woff?j1ntjp') format('woff'), - url('/fonts/BbbIcons/bbb-icons.svg?j1ntjp#bbb-icons') format('svg'); - font-weight: normal; - font-style: normal; + font-family: 'bbb-icons'; + src: url('/fonts/BbbIcons/bbb-icons.eot?j1ntjp'); + src: url('/fonts/BbbIcons/bbb-icons.eot?j1ntjp#iefix') format('embedded-opentype'), + url('/fonts/BbbIcons/bbb-icons.ttf?j1ntjp') format('truetype'), + url('/fonts/BbbIcons/bbb-icons.woff?j1ntjp') format('woff'), + url('/fonts/BbbIcons/bbb-icons.svg?j1ntjp#bbb-icons') format('svg'); + font-weight: normal; + font-style: normal; } [class^="icon-bbb-"], [class*=" icon-bbb-"] { - /* use !important to prevent issues with browser extensions that change fonts */ - font-family: 'bbb-icons' !important; - speak: none; - position: relative; - /*top: 1px;*/ - display: inline-block; - font-style: normal; - font-weight: 400; - line-height: 1; - -webkit-font-smoothing: antialiased; - width: 1.28571429em; - text-align: center; - vertical-align: middle; + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'bbb-icons' !important; + speak: none; + position: relative; + /*top: 1px;*/ + display: inline-block; + font-style: normal; + font-weight: 400; + line-height: 1; + -webkit-font-smoothing: antialiased; + width: 1.28571429em; + text-align: center; + vertical-align: middle; - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } .icon-bbb-mute:before { @@ -45,7 +45,7 @@ content: "\e92a"; } .icon-bbb-exit_fullscreen:before { - content: "\e935"; + content: "\e935"; } .icon-bbb-settings:before { content: "\e92b"; @@ -95,8 +95,13 @@ .icon-bbb-video:before { content: "\e930"; } +.icon-bbb-elipsis:before { + content: "\e902"; +} .icon-bbb-more:before { content: "\e902"; + display: inline-block; + transform: rotate(90deg); } .icon-bbb-promote:before { content: "\e903"; diff --git a/bigbluebutton-html5/imports/ui/components/actions-bar/emoji-menu/component.jsx b/bigbluebutton-html5/imports/ui/components/actions-bar/emoji-menu/component.jsx index ac4833c1ae..efd132d6fe 100644 --- a/bigbluebutton-html5/imports/ui/components/actions-bar/emoji-menu/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/actions-bar/emoji-menu/component.jsx @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; @@ -10,129 +10,7 @@ import DropdownList from '/imports/ui/components/dropdown/list/component'; import DropdownListItem from '/imports/ui/components/dropdown/list/item/component'; import DropdownListSeparator from '/imports/ui/components/dropdown/list/separator/component'; -const propTypes = { - // Emoji status of the current user - userEmojiStatus: PropTypes.string.isRequired, - actions: PropTypes.object.isRequired, -}; - -class EmojiMenu extends Component { - constructor(props) { - super(props); - } - - render() { - const { - userEmojiStatus, - actions, - intl, - } = this.props; - - return ( - - - - - - - actions.setEmojiHandler('raiseHand')} - tabIndex={-1} - /> - actions.setEmojiHandler('happy')} - tabIndex={-1} - /> - actions.setEmojiHandler('neutral')} - tabIndex={-1} - /> - actions.setEmojiHandler('sad')} - tabIndex={-1} - /> - actions.setEmojiHandler('confused')} - tabIndex={-1} - /> - actions.setEmojiHandler('away')} - tabIndex={-1} - /> - actions.setEmojiHandler('thumbsUp')} - tabIndex={-1} - /> - actions.setEmojiHandler('thumbsDown')} - tabIndex={-1} - /> - actions.setEmojiHandler('applause')} - tabIndex={-1} - /> - - actions.setEmojiHandler('none')} - tabIndex={-1} - /> - - - - ); - } -} +import { EMOJI_NORMALIZE } from '/imports/utils/statuses'; const intlMessages = defineMessages({ statusTriggerLabel: { @@ -229,5 +107,118 @@ const intlMessages = defineMessages({ }, }); +const propTypes = { + // Emoji status of the current user + userEmojiStatus: PropTypes.string.isRequired, + actions: PropTypes.object.isRequired, +}; + +const EmojiMenu = ({ + userEmojiStatus, + actions, + intl, +}) => ( + + + + + + + actions.setEmojiHandler('raiseHand')} + tabIndex={-1} + /> + actions.setEmojiHandler('happy')} + tabIndex={-1} + /> + actions.setEmojiHandler('neutral')} + tabIndex={-1} + /> + actions.setEmojiHandler('sad')} + tabIndex={-1} + /> + actions.setEmojiHandler('confused')} + tabIndex={-1} + /> + actions.setEmojiHandler('away')} + tabIndex={-1} + /> + actions.setEmojiHandler('thumbsUp')} + tabIndex={-1} + /> + actions.setEmojiHandler('thumbsDown')} + tabIndex={-1} + /> + actions.setEmojiHandler('applause')} + tabIndex={-1} + /> + + actions.setEmojiHandler('none')} + tabIndex={-1} + /> + + + +); + EmojiMenu.propTypes = propTypes; export default injectIntl(EmojiMenu); diff --git a/bigbluebutton-html5/imports/ui/components/button/styles.scss b/bigbluebutton-html5/imports/ui/components/button/styles.scss index f25bf612ef..c10260a0a9 100644 --- a/bigbluebutton-html5/imports/ui/components/button/styles.scss +++ b/bigbluebutton-html5/imports/ui/components/button/styles.scss @@ -46,6 +46,7 @@ $btn-jumbo-padding: $jumbo-padding-y $jumbo-padding-x; vertical-align: middle; cursor: pointer; user-select: none; + transition: all .2s ease-in-out; &:hover, &:focus { @@ -99,7 +100,6 @@ $btn-jumbo-padding: $jumbo-padding-y $jumbo-padding-x; opacity: .85; display: block; margin-top: $btn-spacing; - font-size: 90%; color: #fff; font-weight: normal; line-height: 1.5; diff --git a/bigbluebutton-html5/imports/ui/components/chat/chat-dropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/chat/chat-dropdown/component.jsx index 87c94d86fa..894ec742b1 100644 --- a/bigbluebutton-html5/imports/ui/components/chat/chat-dropdown/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/chat-dropdown/component.jsx @@ -4,7 +4,7 @@ import cx from 'classnames'; import { withModalMounter } from '/imports/ui/components/modal/service'; import Clipboard from 'clipboard'; import _ from 'lodash'; -import Button from '/imports/ui/components/button/component'; +import Icon from '/imports/ui/components/icon/component'; import Dropdown from '/imports/ui/components/dropdown/component'; import DropdownTrigger from '/imports/ui/components/dropdown/trigger/component'; import DropdownContent from '/imports/ui/components/dropdown/content/component'; @@ -118,17 +118,12 @@ class ChatDropdown extends Component { onShow={this.onActionsShow} onHide={this.onActionsHide} > - -