Browse Source

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

Fix visual bugs in sidebar
master
yanas 8 years ago
parent
commit
9a0d28720d

+ 12
- 5
css/_contact_list.scss View File

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

+ 5
- 5
css/_filmstrip.scss View File

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

+ 4
- 4
css/_side_toolbar_container.scss View File

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

+ 2
- 1
css/_toastr.scss View File

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

+ 2
- 2
css/_toolbars.scss View File

252
  */
252
  */
253
 @include keyframes(slideInExt) {
253
 @include keyframes(slideInExt) {
254
     from { width: 0px; }
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
 .slideInExt {
258
 .slideInExt {
260
 }
260
 }
261
 
261
 
262
 @include keyframes(slideOutExt) {
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
   to   { width: 0px; }
264
   to   { width: 0px; }
265
 }
265
 }
266
 
266
 

+ 8
- 7
css/_variables.scss View File

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

+ 2
- 1
css/aui-components/dropdown.scss View File

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

+ 25
- 5
css/themes/_light.scss View File

1
+/**
2
+ * Base
3
+ */
4
+$baseLight: #FFFFFF;
5
+
6
+/**
7
+* Controls
8
+*/
9
+$controlBackground: $baseLight;
10
+$controlColor: #333333;
11
+
1
 /**
12
 /**
2
 * Buttons
13
 * Buttons
3
 */
14
 */
17
 
28
 
18
 $primaryButtonBackground: #3572b0;
29
 $primaryButtonBackground: #3572b0;
19
 $primaryButtonHoverBackground: #2a67a5;
30
 $primaryButtonHoverBackground: #2a67a5;
20
-$primaryButtonColor: #fff;
31
+$primaryButtonColor: $baseLight;
21
 $primaryButtonFontWeight: 400;
32
 $primaryButtonFontWeight: 400;
22
 
33
 
23
 $buttonShadowColor: #192d4f;
34
 $buttonShadowColor: #192d4f;
38
  **/
49
  **/
39
 $auiDialogColor: #333;
50
 $auiDialogColor: #333;
40
 $auiDialogBg: #f5f5f5;
51
 $auiDialogBg: #f5f5f5;
41
-$auiDialogContentBg: #fff;
52
+$auiDialogContentBg: $baseLight;
42
 $auiBorderColor: #ccc;
53
 $auiBorderColor: #ccc;
43
 $dialogTitleFontWeight: 400;
54
 $dialogTitleFontWeight: 400;
44
 
55
 
45
 // Main controls
56
 // Main controls
46
-$inputBackground: #fff;
57
+$inputBackground: $controlBackground;
47
 $inputBorderColor: #ccc;
58
 $inputBorderColor: #ccc;
48
-$inputColor: #333;
59
+$inputColor: $controlColor;
49
 $placeHolderColor: #a7a7a7;
60
 $placeHolderColor: #a7a7a7;
50
 $readOnlyInputColor: #a7a7a7;
61
 $readOnlyInputColor: #a7a7a7;
51
 $defaultDarkSelectionColor: #ccc;
62
 $defaultDarkSelectionColor: #ccc;
63
 $popupMenuSelectedItemBackground: rgba(256, 256, 256, .2);
74
 $popupMenuSelectedItemBackground: rgba(256, 256, 256, .2);
64
 
75
 
65
 // Toolbar
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%);

Loading…
Cancel
Save