File tree Expand file tree Collapse file tree 6 files changed +148
-32
lines changed Expand file tree Collapse file tree 6 files changed +148
-32
lines changed Original file line number Diff line number Diff line change 13
13
box-sizing : border-box;
14
14
}
15
15
16
+ body ,
17
+ html {
18
+ width : 100% ;
19
+ height : 100% ;
20
+ display : block;
21
+ }
22
+
16
23
body {
17
- background-color : # f7f8fa ;
24
+ background-color : # ffffff ;
18
25
font-family : 'Source Sans Pro' , sans-serif;
19
26
font-size : 14px ;
20
27
line-height : 1.5 ;
23
30
user-select : none;
24
31
cursor : default;
25
32
color : # 212121 ;
26
- width : 100% ;
27
- height : 45px ;
28
- padding-top : 45px ;
29
33
-webkit-app-region : drag;
30
34
overflow : hidden;
31
35
}
@@ -111,9 +115,31 @@ a:active {
111
115
background-color : # 99a6bf ;
112
116
}
113
117
118
+ .container {
119
+ height : 100% ;
120
+ display : flex;
121
+ }
122
+
123
+ .col {
124
+ position : relative;
125
+ height : 100% ;
126
+ }
127
+
128
+ .col-2 {
129
+ width : 16.666667% ;
130
+ }
131
+
132
+ .col-3 {
133
+ width : 25% ;
134
+ }
135
+
136
+ .col-6 {
137
+ width : 50% ;
138
+ }
139
+
114
140
.loading-app {
115
141
position : fixed;
116
- color : # e52d27 ;
142
+ color : # ffffff ;
117
143
top : 50% ;
118
144
left : 50% ;
119
145
transform : translate (-50% , -50% );
@@ -168,6 +194,36 @@ input[type="radio"]:checked + label .round-check:after {
168
194
left : 22px ;
169
195
}
170
196
197
+ .app-yt-2 {
198
+ height : 100% ;
199
+ }
200
+
201
+ .app {
202
+ position : relative;
203
+ height : 100% ;
204
+ color : # ffffff ;
205
+ }
206
+
207
+ .app-content {
208
+ height : calc (100% - 120px );
209
+ display : block;
210
+ position : absolute;
211
+ overflow : auto;
212
+ bottom : 0 ;
213
+ }
214
+
215
+ .app-services {
216
+ background-color : # 212121 ;
217
+ }
218
+
219
+ .app-feed {
220
+ background-color : # 212121 ;
221
+ }
222
+
223
+ .app-player {
224
+ background-color : # e52d27 ;
225
+ }
226
+
171
227
header {
172
228
position : absolute;
173
229
height : 45px ;
@@ -314,18 +370,6 @@ footer .col {
314
370
padding : 0 15px ;
315
371
}
316
372
317
- footer .col-2 {
318
- width : 16.666667% ;
319
- }
320
-
321
- footer .col-3 {
322
- width : 25% ;
323
- }
324
-
325
- footer .col-6 {
326
- width : 50% ;
327
- }
328
-
329
373
footer .col : first-child {
330
374
padding-left : 0 ;
331
375
}
@@ -817,3 +861,7 @@ iframe {
817
861
.video-list-clear .fa {
818
862
margin-right : 5px ;
819
863
}
864
+
865
+ app-yt {
866
+ display : none;
867
+ }
Original file line number Diff line number Diff line change 1
1
.loading-app {
2
2
position : fixed ;
3
- color : $c-primary ;
3
+ color : $c-white ;
4
4
top : 50% ;
5
5
left : 50% ;
6
6
transform : translate (-50% , -50% )
@@ -53,3 +53,37 @@ input[type="radio"]:checked {
53
53
}
54
54
}
55
55
}
56
+
57
+
58
+ // app-yt-2
59
+
60
+ .app-yt-2 {
61
+ height : 100% ;
62
+ }
63
+
64
+ .app {
65
+ position : relative ;
66
+ height : 100% ;
67
+ color : $c-white ;
68
+ & -content {
69
+ height : calc (100% - 120px );
70
+ display : block ;
71
+ position : absolute ;
72
+ overflow : auto ;
73
+ bottom : 0 ;
74
+
75
+ }
76
+ & -head {
77
+
78
+ }
79
+ & -services {
80
+ background-color : $c-black ;
81
+ }
82
+ & -feed {
83
+ background-color : $c-black ;
84
+ }
85
+ & -player {
86
+ background-color : $c-primary ;
87
+ }
88
+ }
89
+
Original file line number Diff line number Diff line change @@ -9,15 +9,6 @@ footer {
9
9
padding : 5px 15px ;
10
10
.col {
11
11
padding : 0 15px ;
12
- & -2 {
13
- width : 16.666667% ;
14
- }
15
- & -3 {
16
- width : 25% ;
17
- }
18
- & -6 {
19
- width : 50% ;
20
- }
21
12
& :first-child {
22
13
padding-left : 0 ;
23
14
}
Original file line number Diff line number Diff line change 2
2
box-sizing : border-box ;
3
3
}
4
4
5
+ body ,
6
+ html {
7
+ width : 100% ;
8
+ height : 100% ;
9
+ display : block ;
10
+ }
5
11
body {
6
- background-color : $c-base ;
12
+ background-color : $c-white ;
7
13
font-family : ' Source Sans Pro' , sans-serif ;
8
14
font-size : $f-14 ;
9
15
line-height : 1.5 ;
12
18
user-select : none ;
13
19
cursor : default ;
14
20
color : $c-black ;
15
- width : 100% ;
16
- height : 45px ;
17
- padding-top : 45px ;
18
21
-webkit-app-region : drag;
19
22
overflow : hidden ;
20
23
}
Original file line number Diff line number Diff line change 4
4
@import ' global' ;
5
5
6
6
@import ' buttons' ;
7
+ @import ' grid' ;
7
8
@import ' common' ;
8
9
9
10
@import ' header' ;
10
11
@import ' footer' ;
11
12
12
13
@import ' navbar' ;
13
14
@import ' search' ;
14
- @import ' videos' ;
15
+ @import ' videos' ;
16
+
17
+ app-yt {
18
+ display : none ;
19
+ }
Original file line number Diff line number Diff line change 16
16
</ div >
17
17
</ app-yt >
18
18
19
+ < div class ="app-yt-2 ">
20
+ < div class ="container ">
21
+ < div class ="col col-3 ">
22
+ < div class ="app app-services ">
23
+ < div class ="app-head ">
24
+ YouTube
25
+ </ div >
26
+ < div class ="app-content ">
27
+
28
+ </ div >
29
+ </ div >
30
+ </ div >
31
+ < div class ="col col-6 ">
32
+ < div class ="app app-feed ">
33
+ < div class ="app-head ">
34
+ Feed
35
+ </ div >
36
+ < div class ="app-content ">
37
+
38
+ </ div >
39
+ </ div >
40
+ </ div >
41
+ < div class ="col col-3 ">
42
+ < div class ="app app-player ">
43
+ < div class ="app-head ">
44
+ Player
45
+ </ div >
46
+ < div class ="app-content ">
47
+
48
+ </ div >
49
+ </ div >
50
+ </ div >
51
+ </ div >
52
+ </ div >
53
+
19
54
< script >
20
55
/*
21
56
// Reload pentru NWJS (DE EDITAT)
You can’t perform that action at this time.
0 commit comments