Skip to content

Commit

Permalink
Various pixel pushing, tooltip copy changes (jitsi#2918)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
virtuacoplenny authored and bbaldino committed May 4, 2018
1 parent 8656c7e commit d62ac72
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
15 changes: 10 additions & 5 deletions css/_toolbars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down Expand Up @@ -100,6 +100,7 @@

.icon-hangup {
color: $hangupColor;
font-size: $newToolbarHangupFontSize;
}

.overflow-menu {
Expand Down Expand Up @@ -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 {
Expand Down
9 changes: 4 additions & 5 deletions css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down
6 changes: 3 additions & 3 deletions lang/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions react/features/toolbox/components/Toolbox.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -919,7 +919,7 @@ class Toolbox extends Component<Props, State> {
_desktopSharingEnabled ? '' : 'disabled'}`;
const tooltip = showDisabledTooltip
? disabledTooltipText
: t('toolbar.sharescreen');
: t('dialog.shareYourScreen');

return (
<ToolbarButton
Expand Down

0 comments on commit d62ac72

Please sign in to comment.