Skip to content

Commit f105886

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

File tree

4 files changed

+27
-22
lines changed

4 files changed

+27
-22
lines changed

dist/assets/css/main.css

Lines changed: 13 additions & 8 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,11 +220,17 @@ a:active {
219220

220221
.col-1 {
221222
width: 320px;
223+
box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.05);
224+
}
225+
226+
.col-2, .col-3 {
227+
background-color: rgba(0, 0, 0, 0.25);
222228
}
223229

224230
.col-2 {
225231
width: calc(40% - var(--menu-diff));
226232
left: calc(60% - var(--menu-diff));
233+
background: linear-gradient(-90deg, rgba(255, 0, 0, 0.05) 0%, #1d1d25 30%);
227234
}
228235

229236
.col-3 {
@@ -1379,12 +1386,11 @@ nav a:hover {
13791386

13801387
nav a.is-active, nav a:active {
13811388
opacity: 1;
1382-
color: var(--c-primary);
1383-
text-shadow: 0 0 10px var(--c-primary);
1389+
color: var(--c-white);
13841390
}
13851391

13861392
nav a.is-active .fa, nav a:active .fa {
1387-
color: var(--c-primary);
1393+
color: var(--c-white);
13881394
}
13891395

13901396
nav a.is-active .description, nav a:active .description {
@@ -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 {

scss/_grid.scss

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@
1313
width: 320px;
1414
box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.05);
1515
}
16+
&-2,
17+
&-3 {
18+
background-color: rgba(0, 0, 0, 0.25);
19+
}
1620
&-2 {
1721
width: calc(40% - var(--menu-diff));
1822
left: calc(60% - var(--menu-diff));
23+
background: linear-gradient(-90deg, rgba(255, 0, 0, 0.05) 0%, #1d1d25 30%);
1924
}
2025
&-3 {
2126
width: calc(60% - var(--menu-diff));
2227
left: calc(-40% + var(--menu-diff));
2328
}
24-
&-2,
25-
&-3 {
26-
background-color: rgba(0, 0, 0, 0.25);
27-
}
2829
}

scss/_navbar.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@ nav {
3838
&.is-active,
3939
&:active {
4040
opacity: 1;
41-
color: var(--c-primary);
42-
text-shadow: 0 0 10px var(--c-primary);
41+
color: var(--c-white);
4342
.fa {
44-
color: var(--c-primary);
43+
color: var(--c-white);
4544
}
4645
.description {
4746
text-shadow: none;

src/assets/css/main.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,21 @@ a:active {
223223
box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.05);
224224
}
225225

226+
.col-2, .col-3 {
227+
background-color: rgba(0, 0, 0, 0.25);
228+
}
229+
226230
.col-2 {
227231
width: calc(40% - var(--menu-diff));
228232
left: calc(60% - var(--menu-diff));
233+
background: linear-gradient(-90deg, rgba(255, 0, 0, 0.05) 0%, #1d1d25 30%);
229234
}
230235

231236
.col-3 {
232237
width: calc(60% - var(--menu-diff));
233238
left: calc(-40% + var(--menu-diff));
234239
}
235240

236-
.col-2, .col-3 {
237-
background-color: rgba(0, 0, 0, 0.25);
238-
}
239-
240241
.loading-app {
241242
position: fixed;
242243
color: var(--c-white);
@@ -1385,12 +1386,11 @@ nav a:hover {
13851386

13861387
nav a.is-active, nav a:active {
13871388
opacity: 1;
1388-
color: var(--c-primary);
1389-
text-shadow: 0 0 10px var(--c-primary);
1389+
color: var(--c-white);
13901390
}
13911391

13921392
nav a.is-active .fa, nav a:active .fa {
1393-
color: var(--c-primary);
1393+
color: var(--c-white);
13941394
}
13951395

13961396
nav a.is-active .description, nav a:active .description {

0 commit comments

Comments
 (0)