Skip to content

Commit 946e0ef

Browse files
committed
2.0 - UI Fixes and small updates to packages
1 parent 9b6e08c commit 946e0ef

17 files changed

+229
-277
lines changed

dist/assets/css/main.css

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

4343
:root {
44-
--c-base: #212129;
44+
--c-base: #1e1e27;
4545
--c-primary: red;
4646
--c-primary-active: #d42222;
4747
--c-primary-active-focus: #bb2222;
@@ -87,6 +87,7 @@ body {
8787
font-weight: 400;
8888
font-size: 14px;
8989
line-height: 1.5;
90+
user-select: none;
9091
margin: 0;
9192
padding: 0;
9293
cursor: default;
@@ -114,17 +115,6 @@ a:active {
114115
height: 100%;
115116
}
116117

117-
#app-container:before {
118-
content: '';
119-
background-image: url(http://blog.marmakoide.org/wp-content/uploads/2012/06/noise-good.png);
120-
position: absolute;
121-
top: 0;
122-
left: 0;
123-
width: 100%;
124-
height: 100%;
125-
opacity: 0.025;
126-
}
127-
128118
.btn {
129119
display: inline-block;
130120
color: var(--c-white);
@@ -655,7 +645,7 @@ a:active {
655645
position: relative;
656646
border: none;
657647
outline: none;
658-
color: var(--c-primary);
648+
color: rgba(255, 255, 255, 0.3);
659649
height: 30px;
660650
width: 30px;
661651
font-size: 12px;
@@ -728,7 +718,7 @@ a:active {
728718

729719
.player-range {
730720
width: 100%;
731-
height: 16px;
721+
height: 3px;
732722
cursor: pointer;
733723
background: transparent;
734724
-webkit-appearance: none;
@@ -762,13 +752,16 @@ a:active {
762752
visibility: hidden;
763753
}
764754

755+
.current-video-range {
756+
margin: 12px auto;
757+
padding: 3px 0;
758+
}
759+
765760
.duration-range-container {
766761
position: relative;
767-
height: 9px;
762+
height: 3px;
768763
background-color: var(--c-gray);
769764
width: 100%;
770-
margin-top: 10px;
771-
margin-bottom: 10px;
772765
border-radius: 20px;
773766
}
774767

@@ -779,24 +772,24 @@ a:active {
779772
height: 100%;
780773
border-radius: 0;
781774
background-color: var(--c-primary);
782-
border-radius: 20px;
783775
box-shadow: 0 0 10px transparent;
784776
transition: box-shadow 0.2s ease-out;
785777
}
786778

787779
.duration-range-container .player-range {
788780
-webkit-appearance: none;
789781
z-index: 1;
790-
position: relative;
782+
position: absolute;
783+
top: 0;
791784
overflow: visible;
792785
}
793786

794787
.duration-range-container .player-range::-webkit-slider-thumb {
795788
position: relative;
796789
-webkit-appearance: none;
797-
top: -4px;
798-
height: 16px;
799-
width: 16px;
790+
top: 0;
791+
height: 15px;
792+
width: 15px;
800793
border-radius: 50px;
801794
background-color: var(--c-white);
802795
opacity: 0;
@@ -822,17 +815,15 @@ a:active {
822815
.volume-input-container {
823816
position: relative;
824817
width: 80px;
825-
height: 8px;
818+
height: 3px;
826819
background-color: var(--c-gray);
827-
border-radius: 5px;
828820
}
829821

830822
.volume-input-container .volume-input-shadow {
831823
position: absolute;
832824
top: 0;
833825
left: 0;
834826
height: 100%;
835-
border-radius: 20px;
836827
background-color: var(--c-primary);
837828
box-shadow: 0 0 10px transparent;
838829
transition: box-shadow 0.2s ease-out;
@@ -849,7 +840,7 @@ a:active {
849840
top: 0;
850841
left: 0;
851842
width: 100%;
852-
height: 11px;
843+
height: 3px;
853844
-webkit-appearance: none;
854845
outline: 0;
855846
z-index: 1;
@@ -858,7 +849,7 @@ a:active {
858849
.volume-input-container .volume-input::-webkit-slider-thumb {
859850
position: relative;
860851
-webkit-appearance: none;
861-
top: -2px;
852+
top: 0;
862853
height: 12px;
863854
width: 12px;
864855
border-radius: 50px;
@@ -1015,7 +1006,6 @@ input[type="radio"]:checked + label .round-check:after {
10151006
position: absolute;
10161007
left: 0;
10171008
top: 0;
1018-
border-bottom: 1px solid #383846;
10191009
}
10201010

10211011
.header-bar h1 {
@@ -1124,23 +1114,23 @@ input[type="radio"]:checked + label .round-check:after {
11241114
background-repeat: no-repeat;
11251115
background-position: center center;
11261116
background-size: 13px auto;
1127-
width: 30px;
1117+
width: 35px;
11281118
}
11291119

11301120
#win-maximize:active {
1131-
background-color: var(--c-light-gray);
1121+
background-color: rgba(255, 255, 255, 0.15);
11321122
}
11331123

11341124
#win-minimize {
11351125
background-image: url("../img/ui/win-minim.png");
11361126
background-repeat: no-repeat;
11371127
background-position: center center;
11381128
background-size: 13px auto;
1139-
width: 20px;
1129+
width: 25px;
11401130
}
11411131

11421132
#win-minimize:active {
1143-
background-color: var(--c-light-gray);
1133+
background-color: rgba(255, 255, 255, 0.15);
11441134
}
11451135

11461136
#logo {
@@ -1157,6 +1147,10 @@ input[type="radio"]:checked + label .round-check:after {
11571147
color: var(--c-primary);
11581148
}
11591149

1150+
#logo a {
1151+
-webkit-user-drag: none;
1152+
}
1153+
11601154
.logo-svg {
11611155
display: block;
11621156
width: 111px;
@@ -1290,6 +1284,7 @@ nav a {
12901284
text-decoration: none;
12911285
color: var(--c-white);
12921286
font-size: 14px;
1287+
-webkit-user-drag: none;
12931288
position: relative;
12941289
padding: 10px 15px 10px 35px;
12951290
transition: all 0.1s ease-out;
@@ -1479,7 +1474,7 @@ iframe {
14791474
background-color: var(--c-primary);
14801475
cursor: pointer;
14811476
color: var(--c-wihte);
1482-
border-radius: 3px;
1477+
border-radius: 20px;
14831478
padding: 4px 8px;
14841479
margin-top: 2px;
14851480
text-transform: uppercase;

dist/inline.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)