Explorar el Código

fix(css) remove no longer used AUI classes

master
Saúl Ibarra Corretgé hace 3 años
padre
commit
3ae50c1701
Se han modificado 6 ficheros con 1 adiciones y 197 borrados
  1. 0
    10
      css/_base.scss
  2. 0
    0
      css/_reset.scss
  3. 0
    68
      css/aui-components/dropdown.scss
  4. 1
    3
      css/main.scss
  5. 0
    111
      css/modals/_dialog.scss
  6. 0
    5
      css/themes/_light.scss

+ 0
- 10
css/_base.scss Ver fichero

@@ -164,16 +164,6 @@ form {
164 164
     font-size: 12px;
165 165
 }
166 166
 
167
-/**
168
-* Dialogs fade
169
-*/
170
-.aui-blanket {
171
-    background: #000;
172
-    transition: opacity 0.2s, visibility 0.2s;
173
-    transition-delay: 0.1s;
174
-    visibility: visible;
175
-}
176
-
177 167
 #inviteLinkRef {
178 168
     -webkit-user-select: text;
179 169
     user-select: text;

css/_aui_reset.scss → css/_reset.scss Ver fichero


+ 0
- 68
css/aui-components/dropdown.scss Ver fichero

@@ -1,68 +0,0 @@
1
-.select2-container.aui-select2-container {
2
-    background-color: transparent !important;
3
-    margin-top: 2px;
4
-
5
-    a.select2-choice {
6
-        height: 28px !important;
7
-        line-height: 18px !important;
8
-        width: 100% !important;
9
-        background-color: $selectBg !important;
10
-        border-color: $selectBg !important;
11
-        color: $selectFontColor !important;
12
-        text-shadow: none !important;
13
-        font-size: 12px !important;
14
-        margin: 0 auto !important;
15
-
16
-        &:after {
17
-            border-top-color: $selectFontColor;
18
-        }
19
-    }
20
-
21
-    &.select2-dropdown-open{
22
-        a.select2-choice {
23
-            background-color: $selectActiveBg !important;
24
-            border-color: $selectActiveBg !important;
25
-        }
26
-    }
27
-}
28
-
29
-.select2-drop.aui-select2-drop.aui-style-default {
30
-    z-index: $dropdownZ;
31
-    background-color: $selectActiveBg;
32
-    border-color: $selectActiveBg;
33
-
34
-    .select2-results{
35
-        background-color: $selectActiveBg;
36
-        border-color: $selectActiveBg;
37
-
38
-        &::-webkit-scrollbar {
39
-            background-color: transparent;
40
-        }
41
-        &::-webkit-scrollbar-track {
42
-            background-color: transparent;
43
-        }
44
-        &::-webkit-scrollbar-track-piece {
45
-            background-color: transparent;
46
-        }
47
-        &::-webkit-scrollbar-thumb {
48
-            background-color: $selectActiveItemBg;
49
-        }
50
-
51
-        .select2-result{
52
-            &.select2-highlighted{
53
-                background-color: $selectActiveItemBg;
54
-            }
55
-
56
-            .select2-result-label{
57
-                font-size: 12px;
58
-                color: $selectFontColor !important;
59
-                line-height: 20px;
60
-            }
61
-        }
62
-
63
-    }
64
-}
65
-
66
-.select2-drop-mask {
67
-    z-index: $dropdownMaskZ;
68
-}

+ 1
- 3
css/main.scss Ver fichero

@@ -24,8 +24,7 @@ $flagsImagePath: "../images/";
24 24
 /* Flags END */
25 25
 
26 26
 /* Modules BEGIN */
27
-
28
-@import 'aui_reset';
27
+@import 'reset';
29 28
 @import 'atlaskit_overrides';
30 29
 @import 'base';
31 30
 @import 'utils';
@@ -63,7 +62,6 @@ $flagsImagePath: "../images/";
63 62
 @import 'components/input-control';
64 63
 @import 'components/input-slider';
65 64
 @import "connection-info";
66
-@import 'aui-components/dropdown';
67 65
 @import '404';
68 66
 @import 'policy';
69 67
 @import 'popover';

+ 0
- 111
css/modals/_dialog.scss Ver fichero

@@ -1,114 +1,3 @@
1
-.dialog {
2
-    box-sizing: border-box;
3
-    height: auto;
4
-    min-height: 131px;
5
-    overflow: visible;
6
-    visibility: visible;
7
-    width: 400px;
8
-
9
-    h1, h2, h3, h4, h5, h6 {
10
-        color: $auiDialogColor;
11
-    }
12
-
13
-    .aui {
14
-
15
-        &-dialog2 {
16
-            &-header, &-footer {
17
-                background-color: $auiDialogBg;
18
-                border: none;
19
-            }
20
-
21
-            &-header {
22
-                border-bottom: 1px solid $auiBorderColor;
23
-                border-radius: 5px 5px 0 0;
24
-                box-sizing: border-box;
25
-                color: #333;
26
-                display: table;
27
-                font-weight: normal;
28
-                height: em(58, 12);
29
-                margin-top: -69px;
30
-                padding: 0 20px;
31
-                width: 100%;
32
-
33
-                h2 {
34
-                    font-size: em(20, 12);
35
-                    font-weight: $dialogTitleFontWeight;
36
-                    color: $auiDialogColor;
37
-                }
38
-
39
-                &-main {
40
-                    display: table-cell;
41
-                    padding-right: 0;
42
-                    max-width: 400px;
43
-                    overflow: hidden;
44
-                    text-overflow: ellipsis;
45
-                    vertical-align: middle;
46
-                    white-space: nowrap;
47
-
48
-                }
49
-            }
50
-
51
-            &-footer {
52
-                border-top: 1px solid $auiBorderColor;
53
-                border-radius: 0 0 5px 5px;
54
-                box-sizing: border-box;
55
-                height: 51px;
56
-                overflow: hidden;
57
-                padding: 10px 20px;
58
-                width: 100%;
59
-
60
-                &:empty {
61
-                    height: 5px;
62
-                    padding: 0;
63
-                }
64
-            }
65
-
66
-            &-content {
67
-                background-color: $auiDialogBg;
68
-                box-sizing: border-box;
69
-                color: $auiDialogColor;
70
-                font-size: em(14, 12);
71
-                overflow: auto;
72
-                max-height: 100%;
73
-                padding: 20px;
74
-
75
-                p,span, h3 {
76
-                    font-weight: $labelFontWeight;
77
-                }
78
-
79
-                &:last-child {
80
-                    border-bottom-right-radius: 5px;
81
-                    border-bottom-left-radius: 5px;
82
-                }
83
-
84
-                &:first-child {
85
-                    border-top-right-radius: 5px;
86
-                    border-top-left-radius: 5px;
87
-                }
88
-            }
89
-        }
90
-
91
-        &-hide {
92
-            display: none;
93
-        }
94
-    }
95
-
96
-    .input-control {
97
-        background-color: $auiDialogContentBg;
98
-        color: $auiDialogColor;
99
-    }
100
-
101
-    .form-control:not(:last-child) {
102
-        border-bottom: 1px solid $auiBorderColor;
103
-    }
104
-}
105
-
106
-@media all and (max-width: 420px) {
107
-  .aui-dialog2-small .aui-dialog2-content {
108
-    height: 100%;
109
-  }
110
-}
111
-
112 1
 .modal-dialog-form {
113 2
     margin-top: 5px !important;
114 3
 

+ 0
- 5
css/themes/_light.scss Ver fichero

@@ -46,11 +46,6 @@ $reloadProgressBarBg: #0074E0;
46 46
 /**
47 47
  * Dialog colors
48 48
  **/
49
-$auiDialogColor: #eceef1;
50
-$auiDialogBg: #253858;
51
-$auiDialogContentBg: #344563;
52
-$auiBorderColor: #253858;
53
-$dialogTitleFontWeight: 400;
54 49
 $dialogErrorText: #344563;
55 50
 
56 51
 /**

Loading…
Cancelar
Guardar