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: fix and refactor AoT css

Bettenbuk Zoltanbebc6eabe5b7
diff --git a/css/_always_on_top.scss b/css/_always_on_top.scss
new file mode 100644
index 0000000000..ab1e5d4f62
--- /dev/null
+++ b/css/_always_on_top.scss
@@ -0,0 +1,48 @@
+
+.always-on-top-toolbox {
+ background-color: $newToolbarBackgroundColor;
+ border-radius: 3px;
+ display: flex;
+ flex-direction: row;
+ left: 50%;
+ position: absolute;
+ top: 10px;
+ transform: translateX(-50%);
+ z-index: $toolbarZ;
+
+ .toolbox-icon {
+ cursor: pointer;
+ padding: 7px;
+
+ &.toggled {
+ background: $AOTToolbarButtonToggleColor;
+ }
+
+ &.disabled {
+ cursor: initial;
+ }
+ }
+
+ .toolbox-button {
+ &:first-child {
+ .toolbox-icon {
+ border-top-left-radius: 3px;
+ border-bottom-left-radius: 3px;
+ }
+ }
+
+ &:nth-child(2) {
+ svg {
+ fill: $hangupColor;
+ }
+ }
+
+ &:last-child {
+ .toolbox-icon {
+ border-top-right-radius: 3px;
+ border-bottom-right-radius: 3px;
+ }
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/css/_toolbars.scss b/css/_toolbars.scss
index d217895065..9f97192d45 100644
--- a/css/_toolbars.scss
+++ b/css/_toolbars.scss
@@ -270,7 +270,6 @@
}
}
-.always-on-top-toolbox,
.filmstrip-toolbox {
background-color: $newToolbarBackgroundColor;
box-sizing: border-box;
@@ -304,36 +303,6 @@
border-radius: 3px;
}
-.always-on-top-toolbox {
- flex-direction: row;
- left: 50%;
- position: absolute;
- top: 10px;
- transform: translateX(-50%);
- z-index: $toolbarZ;
-
- i {
- font-size: $newToolbarFontSize;
- height: $newToolbarSize;
- line-height: $newToolbarSize;
- width: $newToolbarSize;
- }
-
- .disabled {
- cursor: initial;
- }
-
- .toolbox-button:first-child i {
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- }
-
- .toolbox-button:last-child i {
- border-top-right-radius: 3px;
- border-bottom-right-radius: 3px;
- }
-}
-
.filmstrip-toolbox {
i {
font-size: 1.9em;
diff --git a/css/main.scss b/css/main.scss
index 9d130efffa..40f5badcc9 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -26,6 +26,7 @@ $flagsImagePath: "../images/";
/* Modules BEGIN */
@import 'aui_reset';
+@import 'always_on_top';
@import 'atlaskit_overrides';
@import 'base';
@import 'utils';