mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
invert the hide button to more clearly show what it is currently set as. (#150)
This commit is contained in:
parent
b7922d171d
commit
385771cba0
@ -24,7 +24,7 @@
|
||||
<span>Show subscribed only:</span>
|
||||
<div class="toggleBox">
|
||||
<input id="show_subed_only" onclick="toggleCheckbox(this)" type="checkbox" {% if show_subed_only %}checked{% endif %}>
|
||||
{% if show_subed_only %}
|
||||
{% if not show_subed_only %}
|
||||
<label for="" class="ofbtn">Off</label>
|
||||
{% else %}
|
||||
<label for="" class="onbtn">On</label>
|
||||
|
@ -71,7 +71,7 @@
|
||||
<span>Hide watched videos:</span>
|
||||
<div class="toggleBox">
|
||||
<input id="hide_watched" onclick="toggleCheckbox(this)" type="checkbox" {% if hide_watched %}checked{% endif %}>
|
||||
{% if hide_watched %}
|
||||
{% if not hide_watched %}
|
||||
<label for="" class="ofbtn">Off</label>
|
||||
{% else %}
|
||||
<label for="" class="onbtn">On</label>
|
||||
|
@ -33,7 +33,7 @@
|
||||
<span>Show only ignored videos:</span>
|
||||
<div class="toggleBox">
|
||||
<input id="show_ignored_only" onclick="toggleCheckbox(this)" type="checkbox" {% if show_ignored_only %}checked{% endif %}>
|
||||
{% if show_ignored_only %}
|
||||
{% if not show_ignored_only %}
|
||||
<label for="" class="ofbtn">Off</label>
|
||||
{% else %}
|
||||
<label for="" class="onbtn">On</label>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<span>Hide watched:</span>
|
||||
<div class="toggleBox">
|
||||
<input id="hide_watched" onclick="toggleCheckbox(this)" type="checkbox" {% if hide_watched %}checked{% endif %}>
|
||||
{% if hide_watched %}
|
||||
{% if not hide_watched %}
|
||||
<label for="" class="ofbtn">Off</label>
|
||||
{% else %}
|
||||
<label for="" class="onbtn">On</label>
|
||||
|
@ -23,7 +23,7 @@
|
||||
<span>Show subscribed only:</span>
|
||||
<div class="toggleBox">
|
||||
<input id="show_subed_only" onclick="toggleCheckbox(this)" type="checkbox" {% if show_subed_only %}checked{% endif %}>
|
||||
{% if show_subed_only %}
|
||||
{% if not show_subed_only %}
|
||||
<label for="" class="ofbtn">Off</label>
|
||||
{% else %}
|
||||
<label for="" class="onbtn">On</label>
|
||||
|
@ -68,7 +68,7 @@
|
||||
<span>Hide watched videos:</span>
|
||||
<div class="toggleBox">
|
||||
<input id="hide_watched" onclick="toggleCheckbox(this)" type="checkbox" {% if hide_watched %}checked{% endif %}>
|
||||
{% if hide_watched %}
|
||||
{% if not hide_watched %}
|
||||
<label for="" class="ofbtn">Off</label>
|
||||
{% else %}
|
||||
<label for="" class="onbtn">On</label>
|
||||
|
@ -155,8 +155,8 @@ button:hover {
|
||||
position: relative;
|
||||
width: 70px;
|
||||
height: 30px;
|
||||
background-color: var(--accent-font-dark);
|
||||
border-color: var(--accent-font-dark);
|
||||
background-color: var(--accent-font-light);
|
||||
border-color: var(--accent-font-light);
|
||||
appearance: none;
|
||||
border-radius: 15px;
|
||||
transition: 0.4s;
|
||||
@ -165,8 +165,8 @@ button:hover {
|
||||
}
|
||||
|
||||
.toggleBox > input:checked[type="checkbox"] {
|
||||
background-color: var(--accent-font-light);
|
||||
border-color: var(--accent-font-light);
|
||||
background-color: var(--accent-font-dark);
|
||||
border-color: var(--accent-font-dark);
|
||||
}
|
||||
|
||||
.toggleBox > input[type="checkbox"]::before {
|
||||
@ -200,14 +200,15 @@ button:hover {
|
||||
}
|
||||
|
||||
.toggleBox > .onbtn {
|
||||
right: 35%;
|
||||
right: 70%;
|
||||
top: 45%;
|
||||
transform: translate(50%,-50%);
|
||||
font-family: Sen-Regular, sans-serif;
|
||||
|
||||
}
|
||||
|
||||
.toggleBox > .ofbtn {
|
||||
left: 0;
|
||||
left: 37%;
|
||||
top: 45%;
|
||||
transform: translate(50%,-50%);
|
||||
font-family: Sen-Regular, sans-serif;
|
||||
|
Loading…
Reference in New Issue
Block a user