Various pixel pushing, tooltip copy changes (#2918)

* fix(toolbar): make button hover bigger

* fix(toolbar): make hangup button bigger

* fix(always-on-top): make toolbar and buttons same sizes as main toolbar

* fix(toolbar): change some tooltips

* fix(toolbar): adjust side panel and filmstrip for new toolbar sizes
This commit is contained in:
virtuacoplenny 2018-05-04 13:10:48 -07:00 committed by bbaldino
parent 8656c7e760
commit d62ac72cfa
4 changed files with 19 additions and 15 deletions

View File

@ -39,7 +39,7 @@
box-sizing: border-box;
display: flex;
justify-content: space-between;
padding: 16px 8px;
padding: 12px 8px;
position: absolute;
transition: bottom .3s ease-in;
width: 100%;
@ -100,6 +100,7 @@
.icon-hangup {
color: $hangupColor;
font-size: $newToolbarHangupFontSize;
}
.overflow-menu {
@ -239,10 +240,14 @@
z-index: $toolbarZ;
i {
font-size: $alwaysOnTopToolbarFontSize;
height: $alwaysOnTopToolbarSize;
line-height: $alwaysOnTopToolbarSize;
width: $alwaysOnTopToolbarSize;
font-size: $newToolbarFontSize;
height: $newToolbarSize;
line-height: $newToolbarSize;
width: $newToolbarSize;
}
.icon-hangup {
font-size: $newToolbarHangupFontSize;
}
.disabled {

View File

@ -32,15 +32,14 @@ $defaultDarkColor: #2b3d5c;
/**
* Toolbar
*/
$alwaysOnTopToolbarFontSize: 1em;
$alwaysOnTopToolbarSize: 30px;
$defaultToolbarSize: 50px;
$newToolbarBackgroundColor: rgba(22, 38, 55, 0.8);
$newToolbarButtonHoverColor: rgba(14, 20, 35, 0.6);
$newToolbarButtonToggleColor: rgba(14, 20, 35, 1);
$newToolbarFontSize: 1.9em;
$newToolbarSize: 32px;
$newToolbarSizeWithPadding: calc(32px + 32px);
$newToolbarFontSize: 24px;
$newToolbarHangupFontSize: 32px;
$newToolbarSize: 40px;
$newToolbarSizeWithPadding: calc(#{$newToolbarSize} + 24px);
$toolbarTitleFontSize: 19px;
/**

View File

@ -88,7 +88,6 @@
"documentOpen": "Open shared document",
"documentClose": "Close shared document",
"sharedvideo": "Share a YouTube video",
"sharescreen": "Screen share",
"stopSharedVideo": "Stop YouTube video",
"fullscreen": "View / Exit full screen",
"sip": "Call SIP number",
@ -106,7 +105,8 @@
"profile": "Edit your profile",
"raiseHand": "Raise / Lower your hand",
"shortcuts": "View shortcuts",
"speakerStats": "Speaker stats"
"speakerStats": "Speaker stats",
"invite": "Invite people"
},
"chat":{
"nickname": {
@ -529,7 +529,7 @@
"numbers": "Dial-in Numbers",
"password": "Password:",
"title": "Share",
"tooltip": "Get access info about the meeting"
"tooltip": "Share link and dial-in info for this meeting"
},
"settingsView": {
"alertOk": "OK",

View File

@ -363,7 +363,7 @@ class Toolbox extends Component<Props, State> {
accessibilityLabel = 'Invite'
iconName = 'icon-add'
onClick = { this._onToolbarOpenInvite }
tooltip = { t('addPeople.title') } /> }
tooltip = { t('toolbar.invite') } /> }
{ this._shouldShowButton('info') && <InfoDialogButton /> }
{ overflowHasItems
&& <OverflowMenuButton
@ -919,7 +919,7 @@ class Toolbox extends Component<Props, State> {
_desktopSharingEnabled ? '' : 'disabled'}`;
const tooltip = showDisabledTooltip
? disabledTooltipText
: t('toolbar.sharescreen');
: t('dialog.shareYourScreen');
return (
<ToolbarButton