Browse Source

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

j8
yanas 9 years ago
parent
commit
5c0088d2ef
5 changed files with 32 additions and 45 deletions
  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 View File

38
     position: relative;
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
 #toolbar a.button:last-child::after {
41
 #toolbar a.button:last-child::after {
52
     content: none;
42
     content: none;
53
 }
43
 }
57
     position: relative;
47
     position: relative;
58
     color: #FFFFFF;
48
     color: #FFFFFF;
59
     top: 0;
49
     top: 0;
60
-    padding: 10px 0;
50
+    padding: 9px 0;
61
     width: 38px;
51
     width: 38px;
62
     cursor: pointer;
52
     cursor: pointer;
63
     text-align: center;
53
     text-align: center;
110
     height: 13px;
100
     height: 13px;
111
     line-height: 13px;
101
     line-height: 13px;
112
     font-weight: bold;
102
     font-weight: bold;
113
-    border-radius: 2px;
103
+    border-radius: 1px;
114
     font-size: 11px;
104
     font-size: 11px;
115
     text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
105
     text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
116
 }
106
 }
145
     top: 0px;
135
     top: 0px;
146
     cursor: pointer;
136
     cursor: pointer;
147
     background: rgba(255, 255, 255, 0.1);
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
 .no-fa-video-camera, .fa-microphone-slash {
142
 .no-fa-video-camera, .fa-microphone-slash {
211
     height: 35px;
199
     height: 35px;
212
     padding: 0 1em 0 2em;
200
     padding: 0 1em 0 2em;
213
     position: relative;
201
     position: relative;
214
-    border-radius: 3px;
202
+    border-radius: 1px;
215
     font-weight: bold;
203
     font-weight: bold;
216
     color: #fff;
204
     color: #fff;
217
     line-height: 35px;
205
     line-height: 35px;
273
     margin-right: 5px;
261
     margin-right: 5px;
274
     bottom: 40px;
262
     bottom: 40px;
275
     width: 29px;
263
     width: 29px;
276
-    border-radius: 6px;
264
+    border-radius: 1px;
277
     color: #FFF;
265
     color: #FFF;
278
-    border: 1px solid rgba(256, 256, 256, 0.2);
279
     background: rgba(0,0,0,0.8);
266
     background: rgba(0,0,0,0.8);
280
     z-index: 6; /*+1 from #remoteVideos*/
267
     z-index: 6; /*+1 from #remoteVideos*/
281
 }
268
 }

+ 2
- 2
css/popup_menu.css View File

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

+ 16
- 16
css/videolayout_default.css View File

21
     z-index: 5;
21
     z-index: 5;
22
     transition: bottom 2s;
22
     transition: bottom 2s;
23
     overflow: visible !important;
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
 #remotevideos.hidden {
27
 #remotevideos.hidden {
38
     display: none;
39
     display: none;
39
     background-color: black;
40
     background-color: black;
40
     background-size: contain;
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
 #remoteVideos .videocontainer:hover,
47
 #remoteVideos .videocontainer:hover,
58
 
59
 
59
 #remoteVideos .videocontainer:hover {
60
 #remoteVideos .videocontainer:hover {
60
     box-shadow:  inset 0 0 10px #FFFFFF, 0 0 10px #FFFFFF;
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
 #remoteVideos .videocontainer.videoContainerFocused {
65
 #remoteVideos .videocontainer.videoContainerFocused {
65
     box-shadow: inset 0 0 28px #006d91;
66
     box-shadow: inset 0 0 28px #006d91;
66
-    border: 2px solid #006d91;
67
+    border: 1px solid #006d91;
67
 }
68
 }
68
 
69
 
69
 #remoteVideos .videocontainer.videoContainerFocused:hover {
70
 #remoteVideos .videocontainer.videoContainerFocused:hover {
70
     box-shadow: inset 0 0 5px #FFFFFF, 0 0 10px #FFFFFF, inset 0 0 60px #006d91;
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
 #localVideoWrapper {
75
 #localVideoWrapper {
75
     display:inline-block;
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
 /* With TemasysWebRTC plugin <object/> element is used
82
 /* With TemasysWebRTC plugin <object/> element is used
83
 #remoteVideos .videocontainer>video,
84
 #remoteVideos .videocontainer>video,
84
 #remoteVideos .videocontainer>object {
85
 #remoteVideos .videocontainer>object {
85
     cursor: hand;
86
     cursor: hand;
86
-    border-radius:4px;
87
+    border-radius:1px;
87
 }
88
 }
88
 
89
 
89
 .flipVideoX {
90
 .flipVideoX {
96
 #localVideoWrapper>video,
97
 #localVideoWrapper>video,
97
 #localVideoWrapper>object {
98
 #localVideoWrapper>object {
98
     cursor: hand;
99
     cursor: hand;
99
-    border-radius:4px !important;
100
+    border-radius:1px !important;
100
 }
101
 }
101
 
102
 
102
 #largeVideo,
103
 #largeVideo,
177
     overflow: hidden;
178
     overflow: hidden;
178
     white-space: nowrap;
179
     white-space: nowrap;
179
     z-index: 2;
180
     z-index: 2;
180
-    border-radius:20px;
181
+    border-radius:3px;
181
 }
182
 }
182
 
183
 
183
 .videocontainer>span.status {
184
 .videocontainer>span.status {
196
     overflow: hidden;
197
     overflow: hidden;
197
     white-space: nowrap;
198
     white-space: nowrap;
198
     z-index: 2;
199
     z-index: 2;
199
-    border-radius:20px;
200
+    border-radius:3px;
200
 }
201
 }
201
 
202
 
202
 .connectionindicator
203
 .connectionindicator
371
     height:38px;
372
     height:38px;
372
     width:auto;
373
     width:auto;
373
     background-color: rgba(0,0,0,0.8);
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
     pointer-events: auto;
376
     pointer-events: auto;
377
 }
377
 }
378
 
378
 
395
     display: inline-block;
395
     display: inline-block;
396
     position: absolute;
396
     position: absolute;
397
     z-index: 0;
397
     z-index: 0;
398
-    border-radius:10px;
398
+    border-radius:1px;
399
     pointer-events: none;
399
     pointer-events: none;
400
 }
400
 }
401
 
401
 

+ 5
- 5
css/welcome_page.css View File

42
 }
42
 }
43
 
43
 
44
 #enter_room_form {
44
 #enter_room_form {
45
-    border-radius: 10px;
45
+    border-radius: 1px;
46
     background-color: #FFFFFF;
46
     background-color: #FFFFFF;
47
     border: none;
47
     border: none;
48
-    -moz-border-radius: 10px;
49
-    -webkit-border-radius: 10px;
48
+    -moz-border-radius: 1px;
49
+    -webkit-border-radius: 1px;
50
     -webkit-appearance: none;
50
     -webkit-appearance: none;
51
     height: 55px;
51
     height: 55px;
52
     box-shadow: none;
52
     box-shadow: none;
82
     width: 73px;
82
     width: 73px;
83
     height: 45px;
83
     height: 45px;
84
     background-color: #16a8fe;
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
     color: #ffffff;
87
     color: #ffffff;
88
     font-weight: 600;
88
     font-weight: 600;
89
     border: none;
89
     border: none;

+ 3
- 3
interface_config.js View File

1
 var interfaceConfig = {
1
 var interfaceConfig = {
2
     CANVAS_EXTRA: 104,
2
     CANVAS_EXTRA: 104,
3
-    CANVAS_RADIUS: 7,
3
+    CANVAS_RADIUS: 1,
4
     SHADOW_COLOR: '#ffffff',
4
     SHADOW_COLOR: '#ffffff',
5
     INITIAL_TOOLBAR_TIMEOUT: 20000,
5
     INITIAL_TOOLBAR_TIMEOUT: 20000,
6
     TOOLBAR_TIMEOUT: 4000,
6
     TOOLBAR_TIMEOUT: 4000,
28
      * Whether to only show the filmstrip (and hide the toolbar).
28
      * Whether to only show the filmstrip (and hide the toolbar).
29
      */
29
      */
30
     filmStripOnly: false,
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
     FILM_STRIP_MAX_HEIGHT: 160
33
     FILM_STRIP_MAX_HEIGHT: 160
34
 };
34
 };

Loading…
Cancel
Save