Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(toolbar): adjust sizings and colors

Leonard Kim45adf3e26a9d
diff --git a/css/_filmstrip.scss b/css/_filmstrip.scss
index 282fd84ebf..28ec14fcd7 100644
--- a/css/_filmstrip.scss
+++ b/css/_filmstrip.scss
@@ -7,7 +7,7 @@
.use-new-toolbox {
.filmstrip.reduce-height {
- bottom: $newToolbarSize;
+ bottom: $newToolbarSizeWithPadding;
}
.filmstrip {
@@ -15,7 +15,7 @@
}
.filmstrip__videos.hidden {
- bottom: calc(-196px - #{$newToolbarSize});
+ bottom: calc(-196px - #{$newToolbarSizeWithPadding});
}
}
diff --git a/css/_side_toolbar_container.scss b/css/_side_toolbar_container.scss
index f709f8424c..2bb785babd 100644
--- a/css/_side_toolbar_container.scss
+++ b/css/_side_toolbar_container.scss
@@ -6,9 +6,9 @@
/**
* Make the sidebar flush with the top of the toolbar. Take the size of
- * the toolbar, plus its padding, and subtract from 100%.
+ * the toolbar and subtract from 100%.
*/
- height: calc(100% - #{$newToolbarSize} - 10px);
+ height: calc(100% - #{$newToolbarSizeWithPadding});
left: 0;
.side-toolbar-close {
diff --git a/css/_toolbars.scss b/css/_toolbars.scss
index 406a2a2d85..a505f568bd 100644
--- a/css/_toolbars.scss
+++ b/css/_toolbars.scss
@@ -21,12 +21,12 @@
.use-new-toolbox {
.cxGWJB{
- bottom: calc(#{$newToolbarSize} + 15px);
+ bottom: calc(#{$newToolbarSizeWithPadding});
}
.gXSEsl:nth-child(n+2) {
- transform: translateX(0) translateY(100%) translateY(calc(#{$newToolbarSize} + 25px));
- -ms-transform: translateX(0) translateY(100%) translateY(calc(#{$newToolbarSize} + 25px));
- -webkit-transform: translateX(0) translateY(100%) translateY(calc(#{$newToolbarSize} + 25px));
+ transform: translateX(0) translateY(100%) translateY(16px);
+ -ms-transform: translateX(0) translateY(100%) translateY(16px);
+ -webkit-transform: translateX(0) translateY(100%) translateY(16px);
}
}
@@ -281,7 +281,7 @@
box-sizing: border-box;
display: flex;
justify-content: space-between;
- padding: 5px 20px;
+ padding: 16px 8px;
position: absolute;
transition: bottom .3s ease-in;
width: 100%;
@@ -321,6 +321,7 @@
border-radius: 5px;
cursor: pointer;
display: block;
+ font-size: inherit;
height: 100%;
line-height: inherit;
width: 100%;
@@ -361,12 +362,15 @@
.overflow-menu-item {
align-items: center;
+ color: #B8C7E0;
cursor: pointer;
display: flex;
- padding: 5px 10px;
+ font-size: 14px;
+ height: 32px;
+ padding: 5px 12px;
&:hover {
- background: rgba(0255, 255, 255, 0.2);
+ background: #313D52;
}
&.unclickable {
@@ -382,6 +386,7 @@
i {
display: inline;
+ font-size: 24px;
}
i:hover {
@@ -389,8 +394,8 @@
}
img {
- max-width: 18px;
- max-height: 18px;
+ max-width: 24px;
+ max-height: 24px;
}
}
@@ -406,9 +411,8 @@
color: $toolbarButtonColor;
cursor: pointer;
display: inline-block;
- font-size: $newToolbarFontSize;
line-height: $newToolbarSize;
- margin: 0 10px;
+ margin: 0 8px;
text-align: center;
}
@@ -417,6 +421,9 @@
.badge-round {
bottom: 9px;
+ font-size: 12px;
+ line-height: 20px;
+ min-width: 20px;
position: absolute;
right: 9px;
}
@@ -428,6 +435,7 @@
.toolbox-icon {
height: $newToolbarSize;
+ font-size: 36px;
width: $newToolbarSize;
}
}
@@ -442,7 +450,7 @@
i {
cursor: pointer;
display: block;
- font-size: $newToolbarFontSize;
+ font-size: 1.9em;
height: 37px;
line-height: 37px;
width: 37px;
diff --git a/css/_variables.scss b/css/_variables.scss
index 4c809634ae..630e8df5f7 100644
--- a/css/_variables.scss
+++ b/css/_variables.scss
@@ -40,7 +40,8 @@ $newToolbarBackgroundColor: rgba(22, 38, 55, 0.8);
$newToolbarButtonHoverColor: rgba(14, 20, 35, 0.6);
$newToolbarButtonToggleColor: rgba(14, 20, 35, 1);
$newToolbarFontSize: 1.9em;
-$newToolbarSize: 50px;
+$newToolbarSize: 56px;
+$newToolbarSizeWithPadding: calc(56px + 32px);
$secToolbarFontSize: 1.9em;
$secToolbarLineHeight: 45px;
$toolbarAvatarPadding: 10px;
diff --git a/css/_vertical_filmstrip_overrides.scss b/css/_vertical_filmstrip_overrides.scss
index 18e7a29572..8762ffba3a 100644
--- a/css/_vertical_filmstrip_overrides.scss
+++ b/css/_vertical_filmstrip_overrides.scss
@@ -28,7 +28,7 @@
transition: height .3s ease-in;
&.reduce-height {
- height: calc(100% - #{$newToolbarSize});
+ height: calc(100% - #{$newToolbarSizeWithPadding});
}
}
}
diff --git a/css/modals/invite/_info.scss b/css/modals/invite/_info.scss
index 4e8754096c..5ad65d7e09 100644
--- a/css/modals/invite/_info.scss
+++ b/css/modals/invite/_info.scss
@@ -1,3 +1,7 @@
+.use-new-toolbox {
+ font-size: 14px;
+}
+
.info-dialog {
cursor: default;
display: flex;