mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-05-25 03:12:02 +00:00
Better seperation of alternative file upload mechanisms
Hover over button animation
This commit is contained in:
parent
c5b966c233
commit
83411dafcf
@ -272,11 +272,27 @@
|
|||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.google-drive-button {
|
.google-drive-button {
|
||||||
width: 2.5rem;
|
width: 2.5rem;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
cursor: pointer;
|
||||||
|
transition-duration: 0.4s;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
box-shadow: 0 0 5px var(--md-sys-color-on-surface-variant);
|
||||||
|
background-color: var(--md-sys-color-on-surface-container-high)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.horizontal-divider {
|
||||||
|
width: 85%;
|
||||||
|
border-top: 1px dashed;
|
||||||
|
padding: 0px;
|
||||||
|
margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.google-drive-button img {
|
.google-drive-button img {
|
||||||
width:100%
|
width:100%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.google-drive-button:hover {
|
||||||
|
background-color: var(--md-sys-color-on-surface-variant)
|
||||||
|
}
|
||||||
|
@ -240,11 +240,14 @@
|
|||||||
th:required="${notRequired} ? null : 'required'">
|
th:required="${notRequired} ? null : 'required'">
|
||||||
Browse
|
Browse
|
||||||
</label>
|
</label>
|
||||||
|
<div class="d-flex flex-column align-items-center">
|
||||||
<div class="d-flex justify-content-start align-items-center" id="fileInputText">
|
<div class="d-flex justify-content-start align-items-center" id="fileInputText">
|
||||||
<div th:text="#{fileChooser.click}" style="margin-right: 5px"></div>
|
<div th:text="#{fileChooser.click}" style="margin-right: 5px"></div>
|
||||||
<div th:text="#{fileChooser.or}" style="margin-right: 5px"></div>
|
<div th:text="#{fileChooser.or}" style="margin-right: 5px"></div>
|
||||||
<div th:text="#{fileChooser.dragAndDrop}" id="dragAndDrop"></div>
|
<div th:text="#{fileChooser.dragAndDrop}" id="dragAndDrop"></div>
|
||||||
</div>
|
</div>
|
||||||
|
<hr th:if="${@GoogleDriveEnabled == true}" class="horizontal-divider" >
|
||||||
|
</div>
|
||||||
<div th:if="${@GoogleDriveEnabled == true}" th:id="${name}+'-google-drive-button'" class="google-drive-button" th:attr="data-name=${name}, data-multiple=${!disableMultipleFiles}, data-accept=${accept}" >
|
<div th:if="${@GoogleDriveEnabled == true}" th:id="${name}+'-google-drive-button'" class="google-drive-button" th:attr="data-name=${name}, data-multiple=${!disableMultipleFiles}, data-accept=${accept}" >
|
||||||
<img th:src="@{'/images/google-drive.svg'}" alt="google drive">
|
<img th:src="@{'/images/google-drive.svg'}" alt="google drive">
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user