mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 04:14:39 -05:00
add dark info panel :3
This commit is contained in:
parent
e6fd2d51af
commit
d539c657d2
1 changed files with 64 additions and 2 deletions
|
@ -476,6 +476,47 @@ text-shadow: 1px 1px #000,1px 1px 0.1px #000;!important;
|
|||
|
||||
<% } %>
|
||||
</style>
|
||||
<% if(dm) { %>
|
||||
<style>
|
||||
:root {
|
||||
--div-gradient: linear-gradient(to bottom right, #33078c, #7a4d3f) !important;
|
||||
}
|
||||
|
||||
.subscribe-button > a {
|
||||
color: rgb(232, 230, 227) !important;
|
||||
text-decoration-color: currentcolor;
|
||||
}
|
||||
|
||||
.subscribe-button {
|
||||
color: rgb(255, 26, 26);
|
||||
background-color: rgb(24, 26, 27);
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.subscribe-button:hover {
|
||||
background-color: rgb(24, 26, 27);
|
||||
background-image: linear-gradient(90deg, rgb(166, 30, 99), rgb(111, 88, 0), rgb(166, 30, 99), rgb(111, 88, 0));
|
||||
box-shadow: rgb(0, 0, 0) 0px 3px 14px;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-color: #454a4d #202324;
|
||||
}
|
||||
|
||||
.new-button:hover {
|
||||
border-color: rgb(48, 52, 54);
|
||||
box-shadow: rgb(0, 0, 0) 0px 3px 14px;
|
||||
}
|
||||
|
||||
.new-button.engagement:hover {
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.new-button {
|
||||
border-color: rgb(61, 11, 120);
|
||||
}
|
||||
</style>
|
||||
<% } %>
|
||||
|
||||
|
||||
</head>
|
||||
|
@ -616,6 +657,27 @@ But Please note that unofficial instances can add the same lock icon, so please
|
|||
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (!dm) { %>
|
||||
|
||||
<a href="/watch?v=<%=inv_vid.videoId%>&dm=true" title="Enable dark video info panel" style="text-decoration: none;" class="dropdown__item">
|
||||
<i class="fa-light fa-sun-bright"></i>
|
||||
Dark Info Panel • off
|
||||
</a>
|
||||
|
||||
<% } %>
|
||||
<% if (dm) { %>
|
||||
|
||||
|
||||
<a title="Enable Dark video info" href="/watch?v=<%=inv_vid.videoId%>" style="text-decoration: none;" class="dropdown__item">
|
||||
<i class="fa-light fa-moon" style="width: 1em;margin-left: 4px;"></i>
|
||||
Dark Info Panel • on
|
||||
</a>
|
||||
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (!universe) { %>
|
||||
|
||||
<a href="/watch?v=<%=inv_vid.videoId%>&universe=2" title="test out the new layout of poketube!" style="text-decoration: none;" class="dropdown__item">
|
||||
|
|
Loading…
Reference in a new issue