Skip to content

Commit e8e249e

Browse files
committed
1.7 - Updating colors and video lists
1 parent a932977 commit e8e249e

26 files changed

+63636
-63964
lines changed

dist/assets/css/main.css

Lines changed: 68 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ a:active {
262262
}
263263

264264
.app-services {
265-
background: black;
265+
background: #232228;
266266
}
267267

268268
.app-services .app-head {
@@ -780,14 +780,24 @@ nav a {
780780
text-decoration: none;
781781
color: #ffffff;
782782
font-size: 14px;
783-
padding: 10px 15px;
783+
position: relative;
784+
padding: 10px 15px 10px 35px;
784785
transition: all 0.1s ease-out;
785786
border-left: 3px solid transparent;
786787
}
787788

788789
nav a .fa {
789-
margin-right: 10px;
790-
color: #e52d27;
790+
color: #ffffff;
791+
position: absolute;
792+
left: 10px;
793+
top: 50%;
794+
transform: translateY(-50%);
795+
}
796+
797+
nav a .description {
798+
display: block;
799+
font-size: 12px;
800+
color: rgba(255, 255, 255, 0.5);
791801
}
792802

793803
nav a:hover {
@@ -924,8 +934,8 @@ iframe {
924934
display: flex;
925935
align-items: center;
926936
background-color: #ffffff;
927-
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
928-
padding: 10px 10px 0;
937+
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
938+
padding: 5px 10px;
929939
cursor: pointer;
930940
}
931941

@@ -938,12 +948,17 @@ iframe {
938948
margin: 0;
939949
}
940950

951+
.video-item-count {
952+
font-family: 'Muli', sans-serif;
953+
padding-right: 7px;
954+
}
955+
941956
.video-item:last-child {
942957
padding-bottom: 10px;
943958
}
944959

945960
.video-item-image {
946-
flex: 0 0 55px;
961+
flex: 0 0 45px;
947962
margin: 0 10px 0 0;
948963
}
949964

@@ -984,7 +999,7 @@ iframe {
984999
display: flex;
9851000
background-color: transparent;
9861001
flex-wrap: nowrap;
987-
border-bottom: none;
1002+
padding: 5px 10px;
9881003
transition: box-shadow 0.1s ease-out;
9891004
}
9901005

@@ -995,7 +1010,7 @@ iframe {
9951010
}
9961011

9971012
#related-video-list .video-item-image img {
998-
width: 60px;
1013+
width: 45px;
9991014
height: auto;
10001015
}
10011016

@@ -1033,32 +1048,32 @@ iframe {
10331048
top: inherit;
10341049
bottom: 0;
10351050
max-height: none;
1036-
height: calc(100% - 150px);
1051+
height: calc(100% - 177px);
10371052
width: 100%;
10381053
transition: height 0.1s ease-out 0.1s;
10391054
}
10401055

10411056
#history-video-list .video-item-head {
1042-
background-color: #111111;
1057+
background-color: #1c1b20;
10431058
}
10441059

10451060
#history-video-list .video-item {
10461061
display: flex;
10471062
background-color: transparent;
10481063
flex-wrap: nowrap;
1049-
border-bottom: none;
1064+
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
10501065
transition: box-shadow 0.1s ease-out;
10511066
padding: 5px;
10521067
}
10531068

10541069
#history-video-list .video-item-image {
10551070
flex: inherit;
1056-
margin: 0 10px 0 0;
1071+
margin: 0 5px 0 0;
10571072
position: relative;
10581073
}
10591074

10601075
#history-video-list .video-item-image img {
1061-
width: 60px;
1076+
width: 45px;
10621077
height: auto;
10631078
}
10641079

@@ -1068,7 +1083,7 @@ iframe {
10681083
height: calc(100% - 39px);
10691084
width: 100%;
10701085
overflow: auto;
1071-
background-color: #0c0c0c;
1086+
background-color: #17161a;
10721087
color: #ffffff;
10731088
}
10741089

@@ -1136,10 +1151,12 @@ iframe {
11361151
background-color: transparent;
11371152
border-bottom: none;
11381153
line-height: 16px;
1154+
padding-left: 5px;
1155+
padding-right: 5px;
11391156
}
11401157

11411158
#feed-video-list .video-item:first-child {
1142-
display: none;
1159+
display: none !important;
11431160
}
11441161

11451162
#feed-video-list::-webkit-scrollbar-track {
@@ -1166,22 +1183,54 @@ iframe {
11661183
padding-top: 10px;
11671184
}
11681185

1186+
#feed-video-list.grid-list .video-item-count {
1187+
position: absolute;
1188+
top: 0;
1189+
left: 0;
1190+
background-color: rgba(0, 0, 0, 0.7);
1191+
padding: 7px 12px;
1192+
color: #ffffff;
1193+
z-index: 1;
1194+
}
1195+
11691196
#feed-video-list.grid-list .video-item {
1170-
width: 33.333%;
1197+
width: calc(33.333% - 10px);
11711198
display: block;
1172-
padding: 0 5px;
1199+
margin: 0 5px;
1200+
padding: 0;
1201+
position: relative;
11731202
}
11741203

11751204
#feed-video-list.grid-list .video-item .video-item-image {
11761205
margin: 0;
1206+
position: relative;
11771207
}
11781208

11791209
#feed-video-list.grid-list .video-item .video-item-content {
11801210
margin: 5px 0 15px 0;
11811211
}
11821212

1213+
#feed-video-list.grid-list .video-item.hidden-thumbnails .video-item-count {
1214+
position: relative;
1215+
text-align: center;
1216+
background-color: #232228;
1217+
padding: 5px;
1218+
}
1219+
1220+
#feed-video-list.grid-list .video-item:hover .video-item-image:before {
1221+
content: '\25B6 Play';
1222+
color: #ffffff;
1223+
background-color: rgba(0, 0, 0, 0.6);
1224+
padding: 8px 15px;
1225+
display: block;
1226+
position: absolute;
1227+
top: 50%;
1228+
right: 50%;
1229+
transform: translate(50%, -50%);
1230+
}
1231+
11831232
#feed-video-list.grid-list .video-item-details {
1184-
flex-wrap: wrap;
1233+
text-align: center;
11851234
margin-top: 8px;
11861235
}
11871236

dist/assets/scss/_common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
bottom: 0;
103103
}
104104
&-services {
105-
background: darken($c-gray, 10%);
105+
background: $c-primary-inverse;
106106
.app-head {
107107
position: relative;
108108
}

dist/assets/scss/_navbar.scss

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,21 @@ nav {
2828
text-decoration: none;
2929
color: $c-white;
3030
font-size: 14px;
31-
padding: 10px 15px;
31+
position: relative;
32+
padding: 10px 15px 10px 35px;
3233
transition: all 0.1s ease-out;
3334
border-left: 3px solid transparent;
3435
.fa {
35-
margin-right: 10px;
36-
color: $c-primary;
36+
color: $c-white;
37+
position: absolute;
38+
left: 10px;
39+
top: 50%;
40+
transform: translateY(-50%);
41+
}
42+
.description {
43+
display: block;
44+
font-size: 12px;
45+
color: rgba($c-white, 0.5);
3746
}
3847
&:hover {
3948
border-left-color: $c-primary;

dist/assets/scss/_variables.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ $c-base: #f7f8fa;
44
$c-default: #f5f5f5;
55
$c-primary: #e52d27;
66
$c-primary-active: darken(#e52d27, 10%);
7+
$c-primary-inverse: #232228;
78
$c-secondary: #167ac6;
89

910
$c-gray: #111111;

0 commit comments

Comments
 (0)