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(css) remove no longer used AUI classes

Saúl Ibarra Corretgé3ae50c170189
diff --git a/css/_base.scss b/css/_base.scss
index d3b6a5a00d..288ad31ed7 100644
--- a/css/_base.scss
+++ b/css/_base.scss
@@ -164,16 +164,6 @@ form {
font-size: 12px;
}
-/**
-* Dialogs fade
-*/
-.aui-blanket {
- background: #000;
- transition: opacity 0.2s, visibility 0.2s;
- transition-delay: 0.1s;
- visibility: visible;
-}
-
#inviteLinkRef {
-webkit-user-select: text;
user-select: text;
diff --git a/css/_aui_reset.scss b/css/_reset.scss
similarity index 100%
rename from css/_aui_reset.scss
rename to css/_reset.scss
diff --git a/css/aui-components/dropdown.scss b/css/aui-components/dropdown.scss
deleted file mode 100644
index 7117cba365..0000000000
--- a/css/aui-components/dropdown.scss
+++ /dev/null
@@ -1,68 +0,0 @@
-.select2-container.aui-select2-container {
- background-color: transparent !important;
- margin-top: 2px;
-
- a.select2-choice {
- height: 28px !important;
- line-height: 18px !important;
- width: 100% !important;
- background-color: $selectBg !important;
- border-color: $selectBg !important;
- color: $selectFontColor !important;
- text-shadow: none !important;
- font-size: 12px !important;
- margin: 0 auto !important;
-
- &:after {
- border-top-color: $selectFontColor;
- }
- }
-
- &.select2-dropdown-open{
- a.select2-choice {
- background-color: $selectActiveBg !important;
- border-color: $selectActiveBg !important;
- }
- }
-}
-
-.select2-drop.aui-select2-drop.aui-style-default {
- z-index: $dropdownZ;
- background-color: $selectActiveBg;
- border-color: $selectActiveBg;
-
- .select2-results{
- background-color: $selectActiveBg;
- border-color: $selectActiveBg;
-
- &::-webkit-scrollbar {
- background-color: transparent;
- }
- &::-webkit-scrollbar-track {
- background-color: transparent;
- }
- &::-webkit-scrollbar-track-piece {
- background-color: transparent;
- }
- &::-webkit-scrollbar-thumb {
- background-color: $selectActiveItemBg;
- }
-
- .select2-result{
- &.select2-highlighted{
- background-color: $selectActiveItemBg;
- }
-
- .select2-result-label{
- font-size: 12px;
- color: $selectFontColor !important;
- line-height: 20px;
- }
- }
-
- }
-}
-
-.select2-drop-mask {
- z-index: $dropdownMaskZ;
-}
\ No newline at end of file
diff --git a/css/main.scss b/css/main.scss
index 26726ef406..ff925c924b 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -24,8 +24,7 @@ $flagsImagePath: "../images/";
/* Flags END */
/* Modules BEGIN */
-
-@import 'aui_reset';
+@import 'reset';
@import 'atlaskit_overrides';
@import 'base';
@import 'utils';
@@ -63,7 +62,6 @@ $flagsImagePath: "../images/";
@import 'components/input-control';
@import 'components/input-slider';
@import "connection-info";
-@import 'aui-components/dropdown';
@import '404';
@import 'policy';
@import 'popover';
diff --git a/css/modals/_dialog.scss b/css/modals/_dialog.scss
index b01cef74a9..9a3a86412b 100644
--- a/css/modals/_dialog.scss
+++ b/css/modals/_dialog.scss
@@ -1,114 +1,3 @@
-.dialog {
- box-sizing: border-box;
- height: auto;
- min-height: 131px;
- overflow: visible;
- visibility: visible;
- width: 400px;
-
- h1, h2, h3, h4, h5, h6 {
- color: $auiDialogColor;
- }
-
- .aui {
-
- &-dialog2 {
- &-header, &-footer {
- background-color: $auiDialogBg;
- border: none;
- }
-
- &-header {
- border-bottom: 1px solid $auiBorderColor;
- border-radius: 5px 5px 0 0;
- box-sizing: border-box;
- color: #333;
- display: table;
- font-weight: normal;
- height: em(58, 12);
- margin-top: -69px;
- padding: 0 20px;
- width: 100%;
-
- h2 {
- font-size: em(20, 12);
- font-weight: $dialogTitleFontWeight;
- color: $auiDialogColor;
- }
-
- &-main {
- display: table-cell;
- padding-right: 0;
- max-width: 400px;
- overflow: hidden;
- text-overflow: ellipsis;
- vertical-align: middle;
- white-space: nowrap;
-
- }
- }
-
- &-footer {
- border-top: 1px solid $auiBorderColor;
- border-radius: 0 0 5px 5px;
- box-sizing: border-box;
- height: 51px;
- overflow: hidden;
- padding: 10px 20px;
- width: 100%;
-
- &:empty {
- height: 5px;
- padding: 0;
- }
- }
-
- &-content {
- background-color: $auiDialogBg;
- box-sizing: border-box;
- color: $auiDialogColor;
- font-size: em(14, 12);
- overflow: auto;
- max-height: 100%;
- padding: 20px;
-
- p,span, h3 {
- font-weight: $labelFontWeight;
- }
-
- &:last-child {
- border-bottom-right-radius: 5px;
- border-bottom-left-radius: 5px;
- }
-
- &:first-child {
- border-top-right-radius: 5px;
- border-top-left-radius: 5px;
- }
- }
- }
-
- &-hide {
- display: none;
- }
- }
-
- .input-control {
- background-color: $auiDialogContentBg;
- color: $auiDialogColor;
- }
-
- .form-control:not(:last-child) {
- border-bottom: 1px solid $auiBorderColor;
- }
-}
-
-@media all and (max-width: 420px) {
- .aui-dialog2-small .aui-dialog2-content {
- height: 100%;
- }
-}
-
.modal-dialog-form {
margin-top: 5px !important;
diff --git a/css/themes/_light.scss b/css/themes/_light.scss
index 35b0dcef22..0a197bd5ac 100644
--- a/css/themes/_light.scss
+++ b/css/themes/_light.scss
@@ -46,11 +46,6 @@ $reloadProgressBarBg: #0074E0;
/**
* Dialog colors
**/
-$auiDialogColor: #eceef1;
-$auiDialogBg: #253858;
-$auiDialogContentBg: #344563;
-$auiBorderColor: #253858;
-$dialogTitleFontWeight: 400;
$dialogErrorText: #344563;
/**