add position num/running
This commit is contained in:
parent
e279941168
commit
b99ff90cab
6 changed files with 85 additions and 29 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
.unit-toggle{
|
.field{
|
||||||
button:not(.spinner-btn) {
|
button:not(.spinner-btn) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.settings-subsection:not(:last-child) {
|
.settings-subsection {
|
||||||
border-bottom: 1px solid var(--color-interface-100);
|
border-bottom: 1px solid var(--color-interface-100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -164,10 +164,7 @@ input[type="checkbox"]:checked + label::before{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.checkbox-field{
|
|
||||||
display: block;
|
|
||||||
margin: calc(var(--space-xs)*2) 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.field-font{
|
.field-font{
|
||||||
|
|
@ -216,12 +213,27 @@ input[type="checkbox"]:checked + label::before{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.margins label{
|
.margins label{
|
||||||
color: var(--color-txt);
|
color: var(--color-txt);
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-decoration-color: var(--color-interface-300)!important;
|
text-decoration-color: var(--color-interface-300)!important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.field-generated-content{
|
||||||
|
|
||||||
|
|
||||||
|
.positions{
|
||||||
|
display: flex;
|
||||||
|
gap: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.group-position{
|
||||||
|
display: flex;
|
||||||
|
gap: 0.3em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -429,11 +429,6 @@ input[type=checkbox]:checked + label::before {
|
||||||
grid-column: 2;
|
grid-column: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.checkbox-field {
|
|
||||||
display: block;
|
|
||||||
margin: calc(var(--space-xs) * 2) 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.field-font {
|
.field-font {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: var(--label-w) 1fr;
|
grid-template-columns: var(--label-w) 1fr;
|
||||||
|
|
@ -482,6 +477,15 @@ input[type=checkbox]:checked + label::before {
|
||||||
text-decoration-color: var(--color-interface-300) !important;
|
text-decoration-color: var(--color-interface-300) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.field-generated-content .positions {
|
||||||
|
display: flex;
|
||||||
|
gap: 2em;
|
||||||
|
}
|
||||||
|
.field-generated-content .group-position {
|
||||||
|
display: flex;
|
||||||
|
gap: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
.label-with-tooltip {
|
.label-with-tooltip {
|
||||||
-webkit-text-decoration: underline dotted 1px var(--color-400);
|
-webkit-text-decoration: underline dotted 1px var(--color-400);
|
||||||
text-decoration: underline dotted 1px var(--color-400);
|
text-decoration: underline dotted 1px var(--color-400);
|
||||||
|
|
@ -585,7 +589,7 @@ input[type=number] {
|
||||||
margin-top: var(--space-xs);
|
margin-top: var(--space-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-subsection:not(:last-child) {
|
.settings-subsection {
|
||||||
border-bottom: 1px solid var(--color-interface-100);
|
border-bottom: 1px solid var(--color-interface-100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -600,7 +604,7 @@ input[type=number] {
|
||||||
color: var(--color-800);
|
color: var(--color-800);
|
||||||
}
|
}
|
||||||
|
|
||||||
.unit-toggle button:not(.spinner-btn) {
|
.field button:not(.spinner-btn) {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border: 1px solid var(--color-interface-400);
|
border: 1px solid var(--color-interface-400);
|
||||||
color: var(--color-interface-400);
|
color: var(--color-interface-400);
|
||||||
|
|
@ -609,10 +613,10 @@ input[type=number] {
|
||||||
padding: 0.1rem 0.3rem;
|
padding: 0.1rem 0.3rem;
|
||||||
height: calc(var(--input-h) * 0.75);
|
height: calc(var(--input-h) * 0.75);
|
||||||
}
|
}
|
||||||
.unit-toggle button:not(.spinner-btn):not(.active):hover {
|
.field button:not(.spinner-btn):not(.active):hover {
|
||||||
background-color: var(--color-interface-100);
|
background-color: var(--color-interface-100);
|
||||||
}
|
}
|
||||||
.unit-toggle button:not(.spinner-btn).active {
|
.field button:not(.spinner-btn).active {
|
||||||
color: var(--color-interface-050);
|
color: var(--color-interface-050);
|
||||||
background-color: var(--color-interface-500);
|
background-color: var(--color-interface-500);
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -271,25 +271,65 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="settings-subsection">
|
<div class="settings-subsection">
|
||||||
<div class="field checkbox-field">
|
|
||||||
|
<div class="field field-generated-content">
|
||||||
|
<div class="checkbox-field">
|
||||||
<input id="page-numbers" type="checkbox" v-model="pageNumbers" />
|
<input id="page-numbers" type="checkbox" v-model="pageNumbers" />
|
||||||
<label
|
<label
|
||||||
for="page-numbers"
|
for="page-numbers"
|
||||||
class="label-with-tooltip"
|
class="label-with-tooltip"
|
||||||
data-css="@bottom-left/right"
|
data-css="content: counter(page)"
|
||||||
>Numéro de page</label
|
>
|
||||||
>
|
Numéro de page
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="positions">
|
||||||
|
<div class="group-position">
|
||||||
|
<button data-css="@top/bottom-left">Gauche</button>
|
||||||
|
<button data-css="@top/bottom-center">Centre</button>
|
||||||
|
<button data-css="@top/bottom-right">Droite</button>
|
||||||
|
</div>
|
||||||
|
<div class="group-position">
|
||||||
|
<button data-css="@top-left/center/right">Haut</button>
|
||||||
|
<button data-css="@bottom-left/center/right">Bas</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="settings-subsection">
|
||||||
|
|
||||||
|
<div class="field field-generated-content">
|
||||||
|
<div class="checkbox-field">
|
||||||
|
<input id="running-title" type="checkbox" v-model="runningTitle" />
|
||||||
|
<label
|
||||||
|
for="running-title"
|
||||||
|
class="label-with-tooltip"
|
||||||
|
data-css="string-set"
|
||||||
|
>Titre courant</label
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
<div class="positions">
|
||||||
|
<div class="group-position">
|
||||||
|
<button data-css="@top/bottom-left">Gauche</button>
|
||||||
|
<button data-css="@top/bottom-center">Centre</button>
|
||||||
|
<button data-css="@top/bottom-right">Droite</button>
|
||||||
|
</div>
|
||||||
|
<div class="group-position">
|
||||||
|
<button data-css="@top-left/center/right">Haut</button>
|
||||||
|
<button data-css="@bottom-left/center/right">Bas</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="field checkbox-field">
|
|
||||||
<input id="running-title" type="checkbox" v-model="runningTitle" />
|
|
||||||
<label
|
|
||||||
for="running-title"
|
|
||||||
class="label-with-tooltip"
|
|
||||||
data-css="string-set"
|
|
||||||
>Titre courant</label
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue