mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-06-25 12:01:26 +02:00
[bug] add missing input colour focus style
This commit is contained in:
parent
d3b70401a5
commit
6e68d03bea
@ -19,7 +19,7 @@
|
|||||||
box-shadow: 0 0 0.25em 0 rgba(var(--accent), 0.6), 0 0 0.5em 0 rgba(var(--accent), 0.4);
|
box-shadow: 0 0 0.25em 0 rgba(var(--accent), 0.6), 0 0 0.5em 0 rgba(var(--accent), 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-input[type="color"] {
|
.theme-input {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
width: 2px;
|
width: 2px;
|
||||||
min-width: 2px;
|
min-width: 2px;
|
||||||
@ -28,3 +28,10 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-input:focus+.theme-label {
|
||||||
|
background-color: var(--gray-03);
|
||||||
|
border-bottom-color: rgb(var(--accent));
|
||||||
|
color: var(--white);
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
@ -60,10 +60,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="head-item mb-3 mb-xl-0">
|
<div class="head-item mb-3 mb-xl-0">
|
||||||
<form class="theme">
|
<form class="theme">
|
||||||
|
<input id="accent-picker" type="color" class="theme-input" value="#ffaa33" tabindex="1">
|
||||||
<label class="button mb-0 theme-label" for="accent-picker">
|
<label class="button mb-0 theme-label" for="accent-picker">
|
||||||
<span class="button-text">Accent</span>
|
<span class="button-text">Accent</span>
|
||||||
</label>
|
</label>
|
||||||
<input id="accent-picker" type="color" class="theme-input" value="#ffaa33" tabindex="1">
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -86,6 +86,7 @@
|
|||||||
<script src="js/state.js"></script>
|
<script src="js/state.js"></script>
|
||||||
<script src="js/data.js"></script>
|
<script src="js/data.js"></script>
|
||||||
<script src="js/links.js"></script>
|
<script src="js/links.js"></script>
|
||||||
|
<script src="js/version.js"></script>
|
||||||
<script src="js/init.js"></script>
|
<script src="js/init.js"></script>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user