Skip to content

Commit f304761

Browse files
committed
instant share 0.8
1 parent 59a6258 commit f304761

21 files changed

+212
-47
lines changed

css/share.css

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.shareBanner{
2+
position: absolute;
3+
top:0px;
4+
right: -5px;
5+
width: 15em;
6+
}

css/style.css

+58-27
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,29 @@ body {
33
margin: 0px;
44
background-color: #3D3D3D;
55
color: #FFF;
6+
font-family:'Samsung One';
67
}
78

8-
.menuButton {
9+
a:link, a:hover, a:visited, a:active{
10+
color: #FFF;
11+
text-decoration: none;
12+
}
13+
14+
.btnIcon {
915
margin: .5em;
16+
width: 2em;
1017
cursor:pointer;
11-
width: 11em;
18+
vertical-align: middle;
1219
}
1320

14-
#btnMenu{
21+
#btnEllipsis{
1522
margin: auto;
23+
padding: .5em;
1624
width: 2em;
1725
display: none;
1826
cursor:pointer;
1927
}
2028

21-
#bIcon{
22-
margin: auto;
23-
width: 11em;
24-
}
25-
2629
.fullArea {
2730
position: absolute;
2831
z-index: 0;
@@ -31,17 +34,23 @@ body {
3134
}
3235

3336
.fileSelector {
34-
position: relative;
35-
top: 5em;
3637
transform: translateY(0);
3738
will-change: transform;
3839
z-index: 11;
3940
margin: auto;
40-
width: 12em;
4141
animation-name: maximize;
4242
animation-duration: 1s;
4343
animation-fill-mode: forwards;
4444
animation-timing-function: ease-out;
45+
background-color: rgba(0, 150, 255, .7);
46+
border: black 1px solid;
47+
text-align: center;
48+
}
49+
50+
#appLogo{
51+
margin: auto;
52+
margin-top: 1em;
53+
width: 8em;
4554
}
4655

4756
.loadText{
@@ -52,18 +61,30 @@ body {
5261
align-content: center;
5362
}
5463

64+
.mainMenuBtn{
65+
background-color: rgba(0, 0, 0, .7);
66+
color: white;
67+
font-size: 0.9em;
68+
display: block;
69+
padding: .5em;
70+
}
71+
72+
#peerId{
73+
margin: .25em;
74+
}
75+
5576
@keyframes minimize {
5677
from {
5778
transform: translateY(0);
5879
}
5980
to {
60-
transform: translateY(-16em);
81+
transform: translateY(-13em);
6182
}
6283
}
6384

6485
@keyframes maximize {
6586
from {
66-
transform: translateY(-16em);
87+
transform: translateY(-13em);
6788
}
6889
to {
6990
transform: translateY(0);
@@ -72,32 +93,37 @@ body {
7293

7394
/*medium sized screen*/
7495
@media (min-width: 400px) {
75-
.menuButton {
76-
width: 18em;
96+
.btnIcon {
97+
width: 4em;
7798
}
7899
.fileSelector {
79100
width: 18em;
80101
}
81-
#bIcon{
102+
#appLogo{
82103
margin: auto;
83-
width: 18em;
104+
margin-top: 1em;
105+
width: 15em;
84106
}
85107
#btnMenu{
86108
margin: auto;
87-
width: 4em;
109+
width: 3em;
110+
}
111+
.mainMenuBtn{
112+
font-size: 1.1em;
88113
}
114+
89115
@keyframes minimize {
90116
from {
91117
transform: translateY(0);
92118
}
93119
to {
94-
transform: translateY(-22em);
120+
transform: translateY(-19em);
95121
}
96122
}
97123

98124
@keyframes maximize {
99125
from {
100-
transform: translateY(-22em);
126+
transform: translateY(-19em);
101127
}
102128
to {
103129
transform: translateY(0);
@@ -107,32 +133,37 @@ body {
107133

108134
/*big sized screen*/
109135
@media (min-width: 1000px) {
110-
.menuButton {
111-
width: 25em;
136+
.btnIcon {
137+
width: 4em;
112138
}
113139
.fileSelector {
114140
width: 25em;
115141
}
116-
#bIcon{
142+
#appLogo{
117143
margin: auto;
118-
width: 25em;
144+
margin-top: 1em;
145+
width: 20em;
119146
}
120147
#btnMenu{
121148
margin: auto;
122-
width: 5em;
149+
width: 4em;
150+
}
151+
.mainMenuBtn{
152+
font-size: 1.5em;
123153
}
154+
124155
@keyframes minimize {
125156
from {
126157
transform: translateY(0);
127158
}
128159
to {
129-
transform: translateY(-27.4em);
160+
transform: translateY(-24.1em);
130161
}
131162
}
132163

133164
@keyframes maximize {
134165
from {
135-
transform: translateY(-27.4em);
166+
transform: translateY(-24.1em);
136167
}
137168
to {
138169
transform: translateY(0);

f/SamsungOne-300.woff

245 KB
Binary file not shown.

f/SamsungOne-400.woff

246 KB
Binary file not shown.

f/SamsungOne-600.woff

249 KB
Binary file not shown.

f/SamsungOne-700.woff

249 KB
Binary file not shown.

f/SamsungOne-800.woff

246 KB
Binary file not shown.

f/fonts.css

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
@font-face {
2+
font-family: 'Samsung One';
3+
font-style: normal;
4+
font-weight: 300;
5+
src: url('SamsungOne-300.woff');
6+
}
7+
8+
@font-face {
9+
font-family: 'Samsung One';
10+
font-style: normal;
11+
font-weight: 400;
12+
src: url('SamsungOne-400.woff');
13+
}
14+
15+
@font-face {
16+
font-family: 'Samsung One';
17+
font-style: normal;
18+
font-weight: 600;
19+
src: url('SamsungOne-600.woff');
20+
}
21+
22+
@font-face {
23+
font-family: 'Samsung One';
24+
font-style: normal;
25+
font-weight: 700;
26+
src: url('SamsungOne-700.woff');
27+
}
28+
29+
@font-face {
30+
font-family: 'Samsung One';
31+
font-style: normal;
32+
font-weight: 800;
33+
src: url('SamsungOne-800.woff');
34+
}

i/appHeader.png

-43.2 KB
Loading

i/appHeader.svg

+19
Loading

i/btnEllipsis.svg

+10
Loading

i/btnInstantShare.png

986 Bytes
Loading

i/btnSelectDevice.png

1.16 KB
Loading

i/downloadImage.png

10.6 KB
Loading

i/iconInstantShare.svg

+9
Loading

i/iconSelectDevice.svg

+11
Loading

i/sharingBanner.png

11 KB
Loading

0 commit comments

Comments
 (0)