diff --git a/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.scss b/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.scss index 524f4036680..43470da8451 100644 --- a/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.scss +++ b/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.scss @@ -15,20 +15,20 @@ user-select: none; } -.o_RtcCallParticipantCard_avatar_image { +.o_RtcCallParticipantCard_avatarImage { max-height: 100px; max-width: 100px; border: 5px solid gray('700'); - &.o-is-talking { + &.o-isTalking { border: 5px solid darken($o-enterprise-primary-color, 5%); } - &.o-is-invitation:not(:hover) { + &.o-isInvitation:not(:hover) { animation: border-pulse 3s linear infinite; } - &.o-is-invitation:hover { + &.o-isInvitation:hover { border: 5px solid theme-color('danger'); } } @@ -57,7 +57,7 @@ margin-inline-end: 5%; align-items: center; - &.o-minimized { + &.o-isMinimized { font-size: 0.7rem; } } @@ -85,14 +85,14 @@ top: 0%; } -.o_RtcCallParticipantCard_overlayTop_element { +.o_RtcCallParticipantCard_overlayTopElement { display: flex; justify-content: center; flex-direction: column; margin-inline-end: 5%; padding: map-get($spacers, 2); - &.o-minimized { + &.o-isMinimized { padding: map-get($spacers, 1); } } @@ -110,11 +110,11 @@ .o_RtcCallParticipantCard { border-radius: $o-mail-rounded-rectangle-border-radius-sm; - &.o-is-talking { + &.o-isTalking { box-shadow: inset 0 0 0 map-get($spacers, 2) darken($o-enterprise-primary-color, 5%); } - &.o-is-invitation { + &.o-isInvitation { opacity: 0.6; } } @@ -126,11 +126,11 @@ .o_RtcCallParticipantCard_container { border-radius: $o-mail-rounded-rectangle-border-radius-sm; - &.o-can-click { + &.o-canClick { cursor: pointer; } - &:not(.o-minimized) { + &:not(.o-isMinimized) { background-color: $o-brand-secondary; } } @@ -149,12 +149,8 @@ border-radius: $o-mail-rounded-rectangle-border-radius-sm; } -.o_RtcCallParticipantCard_overlayTop_element { +.o_RtcCallParticipantCard_overlayTopElement { color: white; border-radius: 50%; background-color: gray('900'); } - -.o_RtcCallParticipantCard_video { - cursor: pointer; -} diff --git a/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.xml b/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.xml index 02719b3204d..5302cd2f7f4 100644 --- a/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.xml +++ b/addons/mail/static/src/components/rtc_call_participant_card/rtc_call_participant_card.xml @@ -4,16 +4,16 @@
Avatar @@ -44,29 +44,29 @@ - + LIVE
- + - + - + - + diff --git a/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.scss b/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.scss index d1235aa8716..1a859391fd9 100644 --- a/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.scss +++ b/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.scss @@ -11,7 +11,7 @@ height: 50%; min-height: 50%; - &.o-minimized { + &.o-isMinimized { height: 20%; min-height: 20%; } @@ -32,7 +32,7 @@ justify-content: center; padding-bottom: map-get($spacers, 1); - &.o-floating { + &.o-isFloating { position: absolute; padding-bottom: map-get($spacers, 3); bottom: 0; @@ -51,7 +51,7 @@ width: 0.3vw; } - &.o-dynamic-sizing { + &.o-isTiled { flex-direction: row; width: 100%; overflow-y: hidden; @@ -66,13 +66,13 @@ } } - &.o-sidebar { + &.o-isSidebar { width: 120px; min-width: 120px; } } -.o_RtcCallViewer_grid_tile { +.o_RtcCallViewer_gridTile { width: 100%; aspect-ratio: 16/9; } diff --git a/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml b/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml index d167b3e2f3d..fc014f5c46d 100644 --- a/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml +++ b/addons/mail/static/src/components/rtc_call_viewer/rtc_call_viewer.xml @@ -2,7 +2,7 @@ -
+
@@ -21,8 +21,8 @@
@@ -42,8 +42,8 @@ -
-
+
+
diff --git a/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.scss b/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.scss index 89d5eb97ed9..530b747450d 100644 --- a/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.scss +++ b/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.scss @@ -19,41 +19,41 @@ flex-wrap: wrap; } -.o_RtcConfigurationMenu_option_deviceSelect { +.o_RtcConfigurationMenu_optionDeviceSelect { padding: map-get($spacers, 1); padding-right: map-get($spacers, 3); } -.o_RtcConfigurationMenu_option_inputGroup { +.o_RtcConfigurationMenu_optionInputGroup { display: flex; width: 100%; } -.o_RtcConfigurationMenu_option_inputGroup_input { +.o_RtcConfigurationMenu_optionInputGroupInput { flex-grow: 2; } -.o_RtcConfigurationMenu_option_inputGroup_value { +.o_RtcConfigurationMenu_optionInputGroupValue { padding: map-get($spacers, 1); } -.o_RtcConfigurationMenu_option_label { +.o_RtcConfigurationMenu_optionLabel { display: flex; align-items: center; flex-wrap: wrap; max-width: 100%; } -.o_RtcConfigurationMenu_option_name { +.o_RtcConfigurationMenu_optionName { @include text-truncate(); margin-inline-end: map-get($spacers, 2); } -.o_RtcConfigurationMenu_option_pushToTalkGroup { +.o_RtcConfigurationMenu_optionPushToTalkGroup { display: flex; } -.o_RtcConfigurationMenu_option_pushToTalkGroup_key { +.o_RtcConfigurationMenu_optionPushToTalkGroupKey { padding-left: map-get($spacers, 3); padding-right: map-get($spacers, 3); margin-left: map-get($spacers, 1); @@ -77,21 +77,21 @@ } } -.o_RtcConfigurationMenu_option_label { +.o_RtcConfigurationMenu_optionLabel { cursor: pointer; } -.o_RtcConfigurationMenu_option_name { +.o_RtcConfigurationMenu_optionName { font-weight: bold; } -.o_RtcConfigurationMenu_option_pushToTalkGroup_key { +.o_RtcConfigurationMenu_optionPushToTalkGroupKey { font-size: 1.4em; font-weight: bold; border-radius: 3px; border: 2px solid $o-brand-primary; - &.o-registering { + &.o-isRegistering { border-color: theme-color('danger'); } } diff --git a/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.xml b/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.xml index 3e30a581af8..da961426636 100644 --- a/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.xml +++ b/addons/mail/static/src/components/rtc_configuration_menu/rtc_configuration_menu.xml @@ -4,10 +4,10 @@
-