mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-03 13:38:12 +00:00
Styl checkboxów
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="message_checkboxes">
|
<div class="message_checkboxes">
|
||||||
<label for="copy-increment">
|
<label for="copy-increment" class="g-checkbox">
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="copy-increment"
|
name="copy-increment"
|
||||||
@@ -27,10 +27,9 @@
|
|||||||
v-model="incrementOnCopy"
|
v-model="incrementOnCopy"
|
||||||
@change="onCheckboxChange"
|
@change="onCheckboxChange"
|
||||||
/>
|
/>
|
||||||
Aktualizuj numer rozkazu po skopiowaniu
|
<span>Aktualizuj numer rozkazu po skopiowaniu</span>
|
||||||
</label>
|
</label>
|
||||||
<br />
|
<label for="save-increment" class="g-checkbox">
|
||||||
<label for="save-increment">
|
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
name="save-increment"
|
name="save-increment"
|
||||||
@@ -38,7 +37,7 @@
|
|||||||
v-model="incrementOnSave"
|
v-model="incrementOnSave"
|
||||||
@change="onCheckboxChange"
|
@change="onCheckboxChange"
|
||||||
/>
|
/>
|
||||||
Aktualizuj numer rokazu po zapisaniu
|
<span>Aktualizuj numer rokazu po zapisaniu</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -38,9 +38,9 @@
|
|||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label for="fill-checkpoint">
|
<label for="fill-checkpoint" class="g-checkbox">
|
||||||
<input type="checkbox" name="fill-checkpoint" id="fill-checkpoint" v-model="fillCheckpointName" />
|
<input type="checkbox" name="fill-checkpoint" id="fill-checkpoint" v-model="fillCheckpointName" />
|
||||||
Uzupełniaj skrót post.
|
<span> Uzupełniaj skrót post.</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -143,3 +143,40 @@ ul {
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Checkbox
|
||||||
|
label.g-checkbox {
|
||||||
|
display: inline-block;
|
||||||
|
margin: 0.25em 0;
|
||||||
|
cursor: pointer;
|
||||||
|
color: #aaa;
|
||||||
|
|
||||||
|
span::before {
|
||||||
|
content: '';
|
||||||
|
display: inline-block;
|
||||||
|
width: 1ch;
|
||||||
|
height: 1ch;
|
||||||
|
|
||||||
|
background-color: #aaa;
|
||||||
|
border-radius: 50%;
|
||||||
|
margin-right: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
width: 0;
|
||||||
|
opacity: 0;
|
||||||
|
|
||||||
|
&:focus-visible + span {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:checked + span {
|
||||||
|
color: greenyellow;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
background-color: greenyellow;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user