Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
refactor(dialog): use jss instead of sass for mute-dialog style (#11154)
Shahab927841482191
diff --git a/css/main.scss b/css/main.scssindex e9703c4690..df4ac20b72 100644--- a/css/main.scss+++ b/css/main.scss@@ -88,7 +88,6 @@ $flagsImagePath: "../images/";@import 'country-picker';@import 'modals/invite/invite_more';@import 'modals/security/security';-@import 'modals/mute/mute-dialog';@import 'e2ee';@import 'responsive';@import 'drawer';diff --git a/css/modals/mute/_mute-dialog.scss b/css/modals/mute/_mute-dialog.scssdeleted file mode 100644index 7868d35f22..0000000000--- a/css/modals/mute/_mute-dialog.scss+++ /dev/null@@ -1,19 +0,0 @@-.mute-dialog {- .separator-line {- margin: 24px 0 24px -20px;- padding: 0 20px;- width: 100%;- height: 1px;- background: #5E6D7A;- }-- .control-row {- display: flex;- justify-content: space-between;- margin-top: 15px;-- label {- font-size: 14px;- }- }-}diff --git a/react/features/base/ui/constants.js b/react/features/base/ui/constants.jsindex 9e64d22aed..782169f1b5 100644--- a/react/features/base/ui/constants.js+++ b/react/features/base/ui/constants.js@@ -7,6 +7,7 @@*/export const commonClassName = {emptyList: 'empty-list',+ muteDialog: 'mute-dialog',overflowMenuItem: 'overflow-menu-item',overflowMenuItemIcon: 'overflow-menu-item-icon',participantAvatar: 'participant-avatar',@@ -30,6 +31,25 @@ export const commonStyles = (theme: Object) => {margin: 0,padding: 0},+ [commonClassName.muteDialog]: {+ '& .separator-line': {+ margin: `${theme.spacing(4)}px 0 ${theme.spacing(4)}px -20px`,+ padding: '0 20px',+ width: '100%',+ height: '1px',+ background: '#5E6D7A'+ },++ '& .control-row': {+ display: 'flex',+ justifyContent: 'space-between',+ marginTop: `${theme.spacing(3)}px`,++ '& label': {+ fontSize: '14px'+ }+ }+ },[commonClassName.overflowMenuItem]: {alignItems: 'center',color: theme.palette.text01,@@ -98,7 +118,7 @@ export const commonStyles = (theme: Object) => {}},[commonClassName.participantAvatar]: {- margin: `${theme.spacing(2)} ${theme.spacing(3)} ${theme.spacing(2)} 0`+ margin: `${theme.spacing(2)}px ${theme.spacing(3)}px ${theme.spacing(2)}px 0`},[commonClassName.toolboxIcon]: {display: 'flex',