Bladeren bron

Merge pull request #1139 from BeatC/FIX-adjust-branding1

Fix visual bugs in sidebar
master
yanas 8 jaren geleden
bovenliggende
commit
9a0d28720d

+ 12
- 5
css/_contact_list.scss Bestand weergeven

@@ -5,7 +5,7 @@
5 5
         font-size: 12px;
6 6
         bottom: 0px;
7 7
         margin: 0;
8
-        margin-top: 16px;
8
+        margin-top: 12px;
9 9
         padding: 0px;
10 10
         width: 100%;
11 11
     }
@@ -13,18 +13,24 @@
13 13
     .clickable {
14 14
         cursor: pointer;
15 15
     }
16
+
17
+    .icon-security,
18
+    .icon-security-locked {
19
+        font-size: 16px;
20
+    }
16 21
 }
17 22
 
18 23
 #contacts {
19 24
 
20 25
     >li {
21
-        color: $defaultSideBarFontColor;
26
+        display: block;
22 27
         list-style-type: none;
23 28
         text-align: left;
24 29
         white-space: nowrap;
25
-        color: #FFF;
26
-        font-size: 10pt;
27
-        padding: 6px 10%;
30
+        color: $baseLight;
31
+        font-size: 16px;
32
+        padding: 0 10%;
33
+        height: 27px;
28 34
 
29 35
         &:hover,
30 36
         &:active {
@@ -36,6 +42,7 @@
36 42
             vertical-align: middle;
37 43
             margin: 0px;
38 44
             width: 100%;
45
+            line-height: 1.5em;
39 46
             text-overflow: ellipsis;
40 47
             overflow: hidden;
41 48
         }

+ 5
- 5
css/_filmstrip.scss Bestand weergeven

@@ -18,7 +18,7 @@
18 18
         flex-wrap: nowrap;
19 19
         position: relative;
20 20
         z-index: 1;                     // Set z-index to make element visible
21
-        width: 17px;
21
+        width: $hideFilmstripButtonWidth;
22 22
 
23 23
         button {
24 24
             font-size: 14px;
@@ -53,7 +53,7 @@
53 53
         padding-left: 17px;
54 54
         bottom: 0;
55 55
         width:auto;
56
-        border: 2px solid transparent;
56
+        border: $thumbnailsBorder solid transparent;
57 57
         z-index: 5;
58 58
         transition: bottom 2s;
59 59
         overflow: visible !important;
@@ -67,7 +67,7 @@
67 67
             display: none;
68 68
             position: relative;
69 69
             background-size: contain;
70
-            border: 2px solid transparent;
70
+            border: $thumbnailVideoBorder solid transparent;
71 71
             border-radius:1px;
72 72
             margin: 0 $thumbnailVideoMargin;
73 73
 
@@ -84,7 +84,7 @@
84 84
                 -webkit-animation-name: greyPulse;
85 85
                 -webkit-animation-duration: 2s;
86 86
                 -webkit-animation-iteration-count: 1;
87
-                border: 2px solid $videoThumbnailSelected !important;
87
+                border: $thumbnailVideoBorder solid $videoThumbnailSelected !important;
88 88
                 box-shadow: inset 0 0 3px $videoThumbnailSelected,
89 89
                 0 0 3px $videoThumbnailSelected !important;
90 90
             }
@@ -98,7 +98,7 @@
98 98
             */
99 99
             &:hover {
100 100
                 cursor: hand;
101
-                border: 2px solid $videoThumbnailHovered;
101
+                border: $thumbnailVideoBorder solid $videoThumbnailHovered;
102 102
                 box-shadow: inset 0 0 3px $videoThumbnailHovered,
103 103
                 0 0 3px $videoThumbnailHovered;
104 104
 

+ 4
- 4
css/_side_toolbar_container.scss Bestand weergeven

@@ -16,7 +16,7 @@
16 16
      * Labels inside the side panel.
17 17
      */
18 18
     label {
19
-        color: $defaultColor;
19
+        color: $baseLight;
20 20
     }
21 21
 
22 22
     /**
@@ -64,16 +64,16 @@
64 64
          * Titles and subtitles of inner containers.
65 65
          */
66 66
         div.title, div.subTitle {
67
-            margin: 10px 0;
67
+            margin: 24px 0 11px;
68 68
         }
69 69
 
70 70
         /**
71 71
          * Main title size.
72 72
          */
73 73
         div.title {
74
-            color: $defaultColor !important;
75
-            font-size: 16px;
74
+            color: $toolbarTitleColor;
76 75
             text-align: center;
76
+            font-size: $toolbarTitleFontSize;
77 77
         }
78 78
 
79 79
         /**

+ 2
- 1
css/_toastr.scss Bestand weergeven

@@ -92,8 +92,9 @@
92 92
 }
93 93
 
94 94
 #toast-container.notification-bottom-right {
95
+  $videoOffset: 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
95 96
   bottom: 135px;
96
-  right: 28px;
97
+  right: $hideFilmstripButtonWidth + $videoOffset;
97 98
 }
98 99
 
99 100
 #toast-container * {

+ 2
- 2
css/_toolbars.scss Bestand weergeven

@@ -252,7 +252,7 @@ a.button>#avatar {
252 252
  */
253 253
 @include keyframes(slideInExt) {
254 254
     from { width: 0px; }
255
-    to   { width: 200px; } // TO FIX: Make this value a percentage.
255
+    to   { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
256 256
 }
257 257
 
258 258
 .slideInExt {
@@ -260,7 +260,7 @@ a.button>#avatar {
260 260
 }
261 261
 
262 262
 @include keyframes(slideOutExt) {
263
-  from { width: 200px; } // TO FIX: Make this value a percentage.
263
+  from { width: $sidebarWidth; } // TO FIX: Make this value a percentage.
264 264
   to   { width: 0px; }
265 265
 }
266 266
 

+ 8
- 7
css/_variables.scss Bestand weergeven

@@ -17,6 +17,10 @@ $thumbnailToolbarHeight: 22px;
17 17
 $thumbnailIndicatorBorder: 0px;
18 18
 $thumbnailIndicatorSize: $thumbnailToolbarHeight;
19 19
 $thumbnailVideoMargin: 2px;
20
+$thumbnailsBorder: 2px;
21
+$thumbnailVideoBorder: 2px;
22
+$hideFilmstripButtonWidth: 17px;
23
+
20 24
 
21 25
 /**
22 26
  * Color variables.
@@ -30,6 +34,8 @@ $tooltipBg: rgba(0,0,0, 0.7);
30 34
 /**
31 35
  * Toolbar
32 36
  */
37
+$toolbarTitleColor: #FFFFFF;
38
+$toolbarTitleFontSize: 19px;
33 39
 $toolbarBackground: rgba(0, 0, 0, 0.5);
34 40
 $toolbarSelectBackground: rgba(0, 0, 0, .6);
35 41
 $toolbarBadgeBackground: #165ECC;
@@ -90,9 +96,9 @@ $notificationWidth: 215px;
90 96
 /**
91 97
  * Misc.
92 98
  */
93
-$borderRadius: 4px;
99
+$borderRadius: 3px;
94 100
 $defaultWatermarkLink: '../images/watermark.png';
95
-$sidebarWidth: 200px;
101
+$sidebarWidth: 220px;
96 102
 
97 103
 $happySoftwareBackground: transparent;
98 104
 
@@ -117,11 +123,6 @@ $defaultDarkFontColor: #000;
117 123
 /**
118 124
  * Forms
119 125
  */
120
-//dropdown
121
-$selectFontColor: $defaultLightFontColor;
122
-$selectBg: $defaultBackground;
123
-$selectActiveBg: $defaultBackground;
124
-$selectActiveItemBg: $defaultDarkColor;
125 126
 //inputs
126 127
 $inputControlEmColor: #f29424;
127 128
 //buttons

+ 2
- 1
css/aui-components/dropdown.scss Bestand weergeven

@@ -1,6 +1,6 @@
1
-
2 1
 .select2-container.aui-select2-container {
3 2
     background-color: transparent !important;
3
+    margin-top: 2px;
4 4
 
5 5
     a.select2-choice {
6 6
         height: 28px !important;
@@ -55,6 +55,7 @@
55 55
 
56 56
             .select2-result-label{
57 57
                 font-size: 12px;
58
+                color: $selectFontColor !important;
58 59
                 line-height: 20px;
59 60
             }
60 61
         }

+ 25
- 5
css/themes/_light.scss Bestand weergeven

@@ -1,3 +1,14 @@
1
+/**
2
+ * Base
3
+ */
4
+$baseLight: #FFFFFF;
5
+
6
+/**
7
+* Controls
8
+*/
9
+$controlBackground: $baseLight;
10
+$controlColor: #333333;
11
+
1 12
 /**
2 13
 * Buttons
3 14
 */
@@ -17,7 +28,7 @@ $buttonLinkColor: #0090e8;
17 28
 
18 29
 $primaryButtonBackground: #3572b0;
19 30
 $primaryButtonHoverBackground: #2a67a5;
20
-$primaryButtonColor: #fff;
31
+$primaryButtonColor: $baseLight;
21 32
 $primaryButtonFontWeight: 400;
22 33
 
23 34
 $buttonShadowColor: #192d4f;
@@ -38,14 +49,14 @@ $uploadConnectionIconColor: #ffa800;
38 49
  **/
39 50
 $auiDialogColor: #333;
40 51
 $auiDialogBg: #f5f5f5;
41
-$auiDialogContentBg: #fff;
52
+$auiDialogContentBg: $baseLight;
42 53
 $auiBorderColor: #ccc;
43 54
 $dialogTitleFontWeight: 400;
44 55
 
45 56
 // Main controls
46
-$inputBackground: #fff;
57
+$inputBackground: $controlBackground;
47 58
 $inputBorderColor: #ccc;
48
-$inputColor: #333;
59
+$inputColor: $controlColor;
49 60
 $placeHolderColor: #a7a7a7;
50 61
 $readOnlyInputColor: #a7a7a7;
51 62
 $defaultDarkSelectionColor: #ccc;
@@ -63,4 +74,13 @@ $popoverFontColor: #ffffff;
63 74
 $popupMenuSelectedItemBackground: rgba(256, 256, 256, .2);
64 75
 
65 76
 // Toolbar
66
-$splitterColor: #ccc;
77
+$splitterColor: #ccc;
78
+
79
+/**
80
+ * Forms
81
+ */
82
+//dropdown
83
+$selectFontColor: $controlColor;
84
+$selectBg: $controlBackground;
85
+$selectActiveBg: darken($controlBackground, 5%);
86
+$selectActiveItemBg: darken($controlBackground, 20%);

Laden…
Annuleren
Opslaan