Parcourir la source

Main UI polishing. Removes rounded corners, fixes gaps. Adding custom avatars.

j8
yanas il y a 9 ans
Parent
révision
5c0088d2ef
5 fichiers modifiés avec 32 ajouts et 45 suppressions
  1. 6
    19
      css/main.css
  2. 2
    2
      css/popup_menu.css
  3. 16
    16
      css/videolayout_default.css
  4. 5
    5
      css/welcome_page.css
  5. 3
    3
      interface_config.js

+ 6
- 19
css/main.css Voir le fichier

@@ -38,16 +38,6 @@ html, body{
38 38
     position: relative;
39 39
 }
40 40
 
41
-#toolbar a.button::after {
42
-    content: '';
43
-    display: inline-block;
44
-    position: absolute;
45
-    left: 40px;
46
-    width: 1px;
47
-    height: 20px;
48
-    background: #373737;
49
-}
50
-
51 41
 #toolbar a.button:last-child::after {
52 42
     content: none;
53 43
 }
@@ -57,7 +47,7 @@ html, body{
57 47
     position: relative;
58 48
     color: #FFFFFF;
59 49
     top: 0;
60
-    padding: 10px 0;
50
+    padding: 9px 0;
61 51
     width: 38px;
62 52
     cursor: pointer;
63 53
     text-align: center;
@@ -110,7 +100,7 @@ html, body{
110 100
     height: 13px;
111 101
     line-height: 13px;
112 102
     font-weight: bold;
113
-    border-radius: 2px;
103
+    border-radius: 1px;
114 104
     font-size: 11px;
115 105
     text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
116 106
 }
@@ -145,10 +135,8 @@ a.bottomToolbarButton:hover {
145 135
     top: 0px;
146 136
     cursor: pointer;
147 137
     background: rgba(255, 255, 255, 0.1);
148
-    border-radius: 6px;
149
-    background-clip: padding-box;
150
-    -webkit-border-radius: 6px;
151
-    -webkit-background-clip: padding-box;
138
+    border-radius: 1px;
139
+    -webkit-border-radius: 1px;
152 140
 }
153 141
 
154 142
 .no-fa-video-camera, .fa-microphone-slash {
@@ -211,7 +199,7 @@ button {
211 199
     height: 35px;
212 200
     padding: 0 1em 0 2em;
213 201
     position: relative;
214
-    border-radius: 3px;
202
+    border-radius: 1px;
215 203
     font-weight: bold;
216 204
     color: #fff;
217 205
     line-height: 35px;
@@ -273,9 +261,8 @@ div.feedbackButton:hover {
273 261
     margin-right: 5px;
274 262
     bottom: 40px;
275 263
     width: 29px;
276
-    border-radius: 6px;
264
+    border-radius: 1px;
277 265
     color: #FFF;
278
-    border: 1px solid rgba(256, 256, 256, 0.2);
279 266
     background: rgba(0,0,0,0.8);
280 267
     z-index: 6; /*+1 from #remoteVideos*/
281 268
 }

+ 2
- 2
css/popup_menu.css Voir le fichier

@@ -13,7 +13,7 @@ ul.popupmenu {
13 13
     width: 100px;
14 14
     background-color: rgba(0,0,0,0.9);
15 15
     border: 1px solid rgba(256, 256, 256, 0.2);
16
-    border-radius:8px;
16
+    border-radius:3px;
17 17
 }
18 18
 
19 19
 ul.popupmenu:after {
@@ -31,7 +31,7 @@ ul.popupmenu li {
31 31
 
32 32
 ul.popupmenu li:hover {
33 33
     background-color: rgba(256, 256, 256, .2);
34
-    border-radius:6px;
34
+    border-radius:3px;
35 35
 }
36 36
 
37 37
 /*Link Appearance*/

+ 16
- 16
css/videolayout_default.css Voir le fichier

@@ -21,6 +21,7 @@
21 21
     z-index: 5;
22 22
     transition: bottom 2s;
23 23
     overflow: visible !important;
24
+    font-size: 0pt; /*!!!Removes the gap between the local video container and the remote videos.*/
24 25
 }
25 26
 
26 27
 #remotevideos.hidden {
@@ -38,9 +39,9 @@
38 39
     display: none;
39 40
     background-color: black;
40 41
     background-size: contain;
41
-    border-radius:8px;
42
-    border: 2px solid #212425;
43
-    margin-right: 3px;
42
+    border-radius:1px;
43
+    border: 1px solid #212425;
44
+    /*margin-right: 1px;*/
44 45
 }
45 46
 
46 47
 #remoteVideos .videocontainer:hover,
@@ -58,24 +59,24 @@
58 59
 
59 60
 #remoteVideos .videocontainer:hover {
60 61
     box-shadow:  inset 0 0 10px #FFFFFF, 0 0 10px #FFFFFF;
61
-    border: 2px solid #FFFFFF;
62
+    border: 1px solid #FFFFFF;
62 63
 }
63 64
 
64 65
 #remoteVideos .videocontainer.videoContainerFocused {
65 66
     box-shadow: inset 0 0 28px #006d91;
66
-    border: 2px solid #006d91;
67
+    border: 1px solid #006d91;
67 68
 }
68 69
 
69 70
 #remoteVideos .videocontainer.videoContainerFocused:hover {
70 71
     box-shadow: inset 0 0 5px #FFFFFF, 0 0 10px #FFFFFF, inset 0 0 60px #006d91;
71
-    border: 2px solid #FFFFFF;
72
+    border: 1px solid #FFFFFF;
72 73
 }
73 74
 
74 75
 #localVideoWrapper {
75 76
     display:inline-block;
76
-    -webkit-mask-box-image: url(../images/videomask.svg);
77
-    border-radius:4px !important;
78
-    border: 0px !important;
77
+    /*-webkit-mask-box-image: url(../images/videomask.svg);*/
78
+    /*border-radius:1px !important;*/
79
+    /*border: 0px !important;*/
79 80
 }
80 81
 
81 82
 /* With TemasysWebRTC plugin <object/> element is used
@@ -83,7 +84,7 @@
83 84
 #remoteVideos .videocontainer>video,
84 85
 #remoteVideos .videocontainer>object {
85 86
     cursor: hand;
86
-    border-radius:4px;
87
+    border-radius:1px;
87 88
 }
88 89
 
89 90
 .flipVideoX {
@@ -96,7 +97,7 @@
96 97
 #localVideoWrapper>video,
97 98
 #localVideoWrapper>object {
98 99
     cursor: hand;
99
-    border-radius:4px !important;
100
+    border-radius:1px !important;
100 101
 }
101 102
 
102 103
 #largeVideo,
@@ -177,7 +178,7 @@
177 178
     overflow: hidden;
178 179
     white-space: nowrap;
179 180
     z-index: 2;
180
-    border-radius:20px;
181
+    border-radius:3px;
181 182
 }
182 183
 
183 184
 .videocontainer>span.status {
@@ -196,7 +197,7 @@
196 197
     overflow: hidden;
197 198
     white-space: nowrap;
198 199
     z-index: 2;
199
-    border-radius:20px;
200
+    border-radius:3px;
200 201
 }
201 202
 
202 203
 .connectionindicator
@@ -371,8 +372,7 @@
371 372
     height:38px;
372 373
     width:auto;
373 374
     background-color: rgba(0,0,0,0.8);
374
-    border: 1px solid rgba(256, 256, 256, 0.2);
375
-    border-radius: 6px;
375
+    border-radius: 1px;
376 376
     pointer-events: auto;
377 377
 }
378 378
 
@@ -395,7 +395,7 @@
395 395
     display: inline-block;
396 396
     position: absolute;
397 397
     z-index: 0;
398
-    border-radius:10px;
398
+    border-radius:1px;
399 399
     pointer-events: none;
400 400
 }
401 401
 

+ 5
- 5
css/welcome_page.css Voir le fichier

@@ -42,11 +42,11 @@
42 42
 }
43 43
 
44 44
 #enter_room_form {
45
-    border-radius: 10px;
45
+    border-radius: 1px;
46 46
     background-color: #FFFFFF;
47 47
     border: none;
48
-    -moz-border-radius: 10px;
49
-    -webkit-border-radius: 10px;
48
+    -moz-border-radius: 1px;
49
+    -webkit-border-radius: 1px;
50 50
     -webkit-appearance: none;
51 51
     height: 55px;
52 52
     box-shadow: none;
@@ -82,8 +82,8 @@
82 82
     width: 73px;
83 83
     height: 45px;
84 84
     background-color: #16a8fe;
85
-    moz-border-radius: 10px;
86
-    -webkit-border-radius: 10px;
85
+    moz-border-radius: 1px;
86
+    -webkit-border-radius: 1px;
87 87
     color: #ffffff;
88 88
     font-weight: 600;
89 89
     border: none;

+ 3
- 3
interface_config.js Voir le fichier

@@ -1,6 +1,6 @@
1 1
 var interfaceConfig = {
2 2
     CANVAS_EXTRA: 104,
3
-    CANVAS_RADIUS: 7,
3
+    CANVAS_RADIUS: 1,
4 4
     SHADOW_COLOR: '#ffffff',
5 5
     INITIAL_TOOLBAR_TIMEOUT: 20000,
6 6
     TOOLBAR_TIMEOUT: 4000,
@@ -28,7 +28,7 @@ var interfaceConfig = {
28 28
      * Whether to only show the filmstrip (and hide the toolbar).
29 29
      */
30 30
     filmStripOnly: false,
31
-    RANDOM_AVATAR_URL_PREFIX: false,
32
-    RANDOM_AVATAR_URL_SUFFIX: false,
31
+    RANDOM_AVATAR_URL_PREFIX: "http://abotars.hipch.at/meeple/",
32
+    RANDOM_AVATAR_URL_SUFFIX: ".png",
33 33
     FILM_STRIP_MAX_HEIGHT: 160
34 34
 };

Chargement…
Annuler
Enregistrer