Skip to content

Commit 975c751

Browse files
committed
2.0 - Updating UI
1 parent 0a258c4 commit 975c751

File tree

6 files changed

+20
-10
lines changed

6 files changed

+20
-10
lines changed

scss/_global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ a {
4242
#app-container {
4343
position: relative;
4444
height: 100%;
45+
background: linear-gradient(120deg, rgba(255, 38, 38, 0.1) 0%, var(--c-base) 30%);
4546
}

scss/_grid.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
position: relative;
1212
&-1 {
1313
width: 320px;
14+
box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.05);
1415
}
1516
&-2 {
1617
width: calc(40% - var(--menu-diff));
@@ -20,4 +21,8 @@
2021
width: calc(60% - var(--menu-diff));
2122
left: calc(-40% + var(--menu-diff));
2223
}
24+
&-2,
25+
&-3 {
26+
background-color: rgba(0, 0, 0, 0.25);
27+
}
2328
}

scss/_search.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,11 @@
3535
color: inherit;
3636
z-index: 1;
3737
transition: all 0.1s ease-out;
38-
border-bottom: 1px solid #2f2f3a;
3938
&::-webkit-input-placeholder {
4039
color: rgba(255, 255, 255, 0.3);
4140
}
4241
&:focus + .search-icon {
43-
color: var(--c-white);
42+
color: rgba(255, 255, 255, 0.6);
4443
}
4544
}
4645
.clear-button {

scss/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $f-32: 32px;
6161
// If you don't use darken and other sass functions use this
6262
:root {
6363
// un albastru smecher de tinut minte #1e232f old -> #17171d #1b2029
64-
--c-base: #1b1b23;
64+
--c-base: #272731;
6565
--c-primary: red;
6666
--c-primary-active: #d42222;
6767
--c-primary-active-focus: #bb2222;

scss/_videos.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ iframe {
6161
}
6262

6363
.video-item-head {
64-
background-color: rgba(255, 255, 255, 0.03);
64+
background-color: rgba(255, 255, 255, 0.04);
6565
color: var(--c-white);
6666
width: 100%;
6767
height: 39px;
@@ -307,7 +307,7 @@ iframe {
307307

308308
&::-webkit-scrollbar {
309309
width: 6px;
310-
background-color: var(--c-dark-gray);
310+
background-color: transparent;
311311
}
312312

313313
&::-webkit-scrollbar-thumb {

src/assets/css/main.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
}
4242

4343
:root {
44-
--c-base: #1b1b23;
44+
--c-base: #272731;
4545
--c-primary: red;
4646
--c-primary-active: #d42222;
4747
--c-primary-active-focus: #bb2222;
@@ -113,6 +113,7 @@ a:active {
113113
#app-container {
114114
position: relative;
115115
height: 100%;
116+
background: linear-gradient(120deg, rgba(255, 38, 38, 0.1) 0%, var(--c-base) 30%);
116117
}
117118

118119
.btn {
@@ -219,6 +220,7 @@ a:active {
219220

220221
.col-1 {
221222
width: 320px;
223+
box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.05);
222224
}
223225

224226
.col-2 {
@@ -231,6 +233,10 @@ a:active {
231233
left: calc(-40% + var(--menu-diff));
232234
}
233235

236+
.col-2, .col-3 {
237+
background-color: rgba(0, 0, 0, 0.25);
238+
}
239+
234240
.loading-app {
235241
position: fixed;
236242
color: var(--c-white);
@@ -1433,15 +1439,14 @@ nav a.is-active .description, nav a:active .description {
14331439
color: inherit;
14341440
z-index: 1;
14351441
transition: all 0.1s ease-out;
1436-
border-bottom: 1px solid #2f2f3a;
14371442
}
14381443

14391444
#main-search input[type="text"]::-webkit-input-placeholder {
14401445
color: rgba(255, 255, 255, 0.3);
14411446
}
14421447

14431448
#main-search input[type="text"]:focus + .search-icon {
1444-
color: var(--c-white);
1449+
color: rgba(255, 255, 255, 0.6);
14451450
}
14461451

14471452
#main-search .clear-button {
@@ -1541,7 +1546,7 @@ iframe {
15411546
}
15421547

15431548
.video-item-head {
1544-
background-color: rgba(255, 255, 255, 0.03);
1549+
background-color: rgba(255, 255, 255, 0.04);
15451550
color: var(--c-white);
15461551
width: 100%;
15471552
height: 39px;
@@ -1815,7 +1820,7 @@ iframe {
18151820

18161821
#playlist-video-list .playlist-video-content::-webkit-scrollbar {
18171822
width: 6px;
1818-
background-color: var(--c-dark-gray);
1823+
background-color: transparent;
18191824
}
18201825

18211826
#playlist-video-list .playlist-video-content::-webkit-scrollbar-thumb {

0 commit comments

Comments
 (0)