Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
SH20RAJ authored Dec 23, 2020
1 parent cba51e3 commit 2fd2ba0
Show file tree
Hide file tree
Showing 7 changed files with 565 additions and 0 deletions.
145 changes: 145 additions & 0 deletions city/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
.vjs-theme-city {
--vjs-theme-city--primary: #bf3b4d;
--vjs-theme-city--secondary: #fff;
}

.vjs-theme-city .vjs-control-bar {
height: 70px;
padding-top: 20px;
background: none;
background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0));
}

.vjs-theme-city .vjs-button > .vjs-icon-placeholder::before {
line-height: 50px;
}

.vjs-theme-city .vjs-play-progress::before {
display: none;
}

.vjs-theme-city .vjs-progress-control {
position: absolute;
top: 0;
right: 0;
left: 0;
width: 100%;
height: 20px;
}

.vjs-theme-city .vjs-progress-control .vjs-progress-holder {
position: absolute;
top: 20px;
right: 0;
left: 0;
width: 100%;
margin: 0;
}

.vjs-theme-city .vjs-play-progress {
background-color: var(--vjs-theme-city--primary);
}

.vjs-theme-city .vjs-remaining-time {
order: 1;
line-height: 50px;
flex: 3;
text-align: left;
}

.vjs-theme-city .vjs-play-control {
order: 2;
flex: 8;
font-size: 1.75em;
}

.vjs-theme-city .vjs-volume-panel,
.vjs-theme-city .vjs-picture-in-picture-control,
.vjs-theme-city .vjs-fullscreen-control {
order: 3;
flex: 1;
}

/* Volume stuff */
.vjs-theme-city .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal {
height: 100%;
}

.vjs-theme-city .vjs-mute-control {
display: none;
}

.vjs-theme-city .vjs-volume-panel {
margin-left: 0.5em;
margin-right: 0.5em;
padding-top: 1.5em;
}

.vjs-theme-city .vjs-volume-panel,
.vjs-theme-city .vjs-volume-panel:hover,
.vjs-theme-city .vjs-volume-panel.vjs-volume-panel-horizontal:hover,
.vjs-theme-city .vjs-volume-panel:focus .vjs-volume-control.vjs-volume-horizontal,
.vjs-theme-city .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal,
.vjs-theme-city .vjs-volume-panel:active .vjs-volume-control.vjs-volume-horizontal,
.vjs-theme-city .vjs-volume-panel.vjs-volume-panel-horizontal:hover,
.vjs-theme-city .vjs-volume-bar.vjs-slider-horizontal {
width: 3em;
}

.vjs-theme-city .vjs-volume-level::before {
font-size: 1em;
}

.vjs-theme-city .vjs-volume-panel .vjs-volume-control {
opacity: 1;
width: 100%;
height: 100%;
}

.vjs-theme-city .vjs-volume-bar {
background-color: transparent;
margin: 0;
}

.vjs-theme-city .vjs-slider-horizontal .vjs-volume-level {
height: 100%;
}

.vjs-theme-city .vjs-volume-bar.vjs-slider-horizontal {
margin-top: 0;
margin-bottom: 0;
height: 100%;
}

.vjs-theme-city .vjs-volume-bar::before {
content: '';
z-index: 0;
width: 0;
height: 0;
position: absolute;
top: 0px;
left: 0;

border-style: solid;
border-width: 0 0 1.75em 3em;
border-color: transparent transparent rgba(255, 255, 255, 0.25) transparent;
}

.vjs-theme-city .vjs-volume-level {
overflow: hidden;
background-color: transparent;
}

.vjs-theme-city .vjs-volume-level::before {
content: '';
z-index: 1;
width: 0;
height: 0;
position: absolute;
top: 0;
left: 0;

border-style: solid;
border-width: 0 0 1.75em 3em;
border-color: transparent transparent var(--vjs-theme-city--secondary) transparent;
}
59 changes: 59 additions & 0 deletions fantasy/icons/nyan-cat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 116 additions & 0 deletions fantasy/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
.vjs-theme-fantasy {
--vjs-theme-fantasy--primary: #9f44b4;
--vjs-theme-fantasy--secondary: #fff;
}

.vjs-theme-fantasy .vjs-big-play-button {
width: 70px;
height: 70px;
background: none;
line-height: 70px;
font-size: 80px;
border: none;
top: 50%;
left: 50%;
margin-top: -35px;
margin-left: -35px;
color: var(--vjs-theme-fantasy--primary);
}

.vjs-theme-fantasy:hover .vjs-big-play-button,
.vjs-theme-fantasy.vjs-big-play-button:focus {
background-color: transparent;
color: #fff;
}

.vjs-theme-fantasy .vjs-control-bar {
height: 54px;
}

.vjs-theme-fantasy .vjs-button > .vjs-icon-placeholder::before {
line-height: 54px;
}

.vjs-theme-fantasy .vjs-time-control {
line-height: 54px;
}

/* Play Button */
.vjs-theme-fantasy .vjs-play-control {
font-size: 1.5em;
position: relative;
}

.vjs-theme-fantasy .vjs-volume-panel {
order: 4;
}

.vjs-theme-fantasy .vjs-volume-bar {
margin-top: 2.5em;
}

.vjs-theme-city .vjs-volume-panel:hover .vjs-volume-control.vjs-volume-horizontal {
height: 100%;
}

.vjs-theme-fantasy .vjs-progress-control .vjs-progress-holder {
font-size: 1.5em;
}

.vjs-theme-fantasy .vjs-progress-control:hover .vjs-progress-holder {
font-size: 1.5em;
}

.vjs-theme-fantasy .vjs-play-control .vjs-icon-placeholder::before {
height: 1.3em;
width: 1.3em;
margin-top: 0.2em;
border-radius: 1em;
border: 3px solid var(--vjs-theme-fantasy--secondary);
top: 2px;
left: 9px;
line-height: 1.1;
}

.vjs-theme-fantasy .vjs-play-control:hover .vjs-icon-placeholder::before {
border: 3px solid var(--vjs-theme-fantasy--secondary);
}

.vjs-theme-fantasy .vjs-play-progress {
background-color: var(--vjs-theme-fantasy--primary);
}

.vjs-theme-fantasy .vjs-play-progress::before {
height: 0.8em;
width: 0.8em;
content: '';
background-color: var(--vjs-theme-fantasy--primary);
border: 4px solid var(--vjs-theme-fantasy--secondary);
border-radius: 0.8em;
top: -0.25em;
}

.vjs-theme-fantasy .vjs-progress-control {
font-size: 14px;
}

.vjs-theme-fantasy .vjs-fullscreen-control {
order: 6;
}

.vjs-theme-fantasy .vjs-remaining-time {
display: none;
}

/* Nyan version */
.vjs-theme-fantasy.nyan .vjs-play-progress {
background: linear-gradient(to bottom, #fe0000 0%, #fe9a01 16.666666667%, #fe9a01 16.666666667%, #ffff00 33.332666667%, #ffff00 33.332666667%, #32ff00 49.999326667%, #32ff00 49.999326667%, #0099fe 66.6659926%, #0099fe 66.6659926%, #6633ff 83.33266%, #6633ff 83.33266%);
}

.vjs-theme-fantasy.nyan .vjs-play-progress::before {
height: 1.3em;
width: 1.3em;
background: svg-load('icons/nyan-cat.svg', fill=#fff) no-repeat;
border: none;
top: -0.35em;
}
3 changes: 3 additions & 0 deletions forest/icons/play-btn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions forest/icons/play-small.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2fd2ba0

Please sign in to comment.