Changed Spacing between between Buttons and Spacing of Settings Menu (#1864)

Co-authored-by: TSO <tim.sommer@bieber-marburg.de>
This commit is contained in:
Tim 2024-09-10 09:02:56 +02:00 committed by GitHub
parent 6410a99cf3
commit 7fad973a77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 7 deletions

View file

@ -82,16 +82,22 @@ td {
.modal-body, .modal-body,
.modal-footer { .modal-footer {
background-color: var(--md-sys-color-surface-5); background-color: var(--md-sys-color-surface-5);
padding: 1.5rem 2rem;
border: none; border: none;
} }
.modal-header { .modal-header {
border-radius: 2rem 2rem 0rem 0rem; border-radius: 2rem 2rem 0rem 0rem;
padding: 1.5rem 2rem 0.5rem;
}
.modal-body{
padding: 0.5rem 2rem;
} }
.modal-footer { .modal-footer {
border-radius: 0rem 0rem 2rem 2rem; border-radius: 0rem 0rem 2rem 2rem;
padding: 0.5rem 2rem 1.5rem;
} }
/* Icon fill */ /* Icon fill */
@ -538,6 +544,9 @@ fieldset:disabled .btn {
} }
/* Range Slider */ /* Range Slider */
.form-range{
margin-top: 0.25rem;
}
.form-range:focus::-webkit-slider-thumb { .form-range:focus::-webkit-slider-thumb {
box-shadow: 0 0 0 1px var(--md-sys-color-surface), 0 0 0 .25rem var(--md-sys-color-primary) box-shadow: 0 0 0 1px var(--md-sys-color-surface), 0 0 0 .25rem var(--md-sys-color-primary)
} }

View file

@ -41,9 +41,10 @@
<a <a
href="https://help.libreoffice.org/latest/en-US/text/shared/guide/supported_formats.html">https://help.libreoffice.org/latest/en-US/text/shared/guide/supported_formats.html</a> href="https://help.libreoffice.org/latest/en-US/text/shared/guide/supported_formats.html">https://help.libreoffice.org/latest/en-US/text/shared/guide/supported_formats.html</a>
</div> </div>
<br> <div>
<br/>
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{fileToPDF.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{fileToPDF.submit}"></button>
</div>
</form> </form>
</div> </div>

View file

@ -40,7 +40,6 @@
<option value="blackwhite" th:text="#{pdfToImage.blackwhite}"></option> <option value="blackwhite" th:text="#{pdfToImage.blackwhite}"></option>
</select> </select>
</div> </div>
<br>
<input type="hidden" id="override" name="override" value="multi"> <input type="hidden" id="override" name="override" value="multi">
<div class="mb-3"> <div class="mb-3">
<label th:text=#{imageToPDF.selectText.3}></label> <label th:text=#{imageToPDF.selectText.3}></label>
@ -49,7 +48,7 @@
<option value="convert" th:text=#{imageToPDF.selectText.5} selected></option> <option value="convert" th:text=#{imageToPDF.selectText.5} selected></option>
</select> </select>
</div> </div>
<br><br> <br>
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{imageToPDF.submit}"></button> <button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{imageToPDF.submit}"></button>
<script> <script>
$('#fileInput-input').on('change', function() { $('#fileInput-input').on('change', function() {

View file

@ -415,7 +415,7 @@
</select> </select>
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="zipThreshold" th:utext="#{settings.zipThreshold}"></label> <label for="zipThreshold" th:utext="#{settings.zipThreshold}"></label><br/>
<input type="range" class="form-range" min="1" max="9" step="1" id="zipThreshold" value="4"> <input type="range" class="form-range" min="1" max="9" step="1" id="zipThreshold" value="4">
<span id="zipThresholdValue" class="ms-2"></span> <span id="zipThresholdValue" class="ms-2"></span>
</div> </div>