centre align, colour stuff and home icons
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
bottomInsertFileButtonContainer.style.transform = "translate(0, 50%)";
|
||||
|
||||
const bottomInsertFileButton = document.createElement('button');
|
||||
bottomInsertFileButton.classList.add("btn", "btn-primary", "insert-file-button", "align-center-right");
|
||||
bottomInsertFileButton.classList.add("btn", "btn-primary", "insert-file-button");
|
||||
bottomInsertFileButton.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-plus" viewBox="0 0 16 16">
|
||||
<path d="M8 6.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V11a.5.5 0 0 1-1 0V9.5H6a.5.5 0 0 1 0-1h1.5V7a.5.5 0 0 1 .5-.5z"/>
|
||||
<path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z"/>
|
||||
@@ -231,7 +231,7 @@
|
||||
insertFileButtonContainer.classList.add("insert-file-button-container", "align-top");
|
||||
|
||||
const insertFileButton = document.createElement('button');
|
||||
insertFileButton.classList.add("btn", "btn-primary", "insert-file-button", "align-center-right");
|
||||
insertFileButton.classList.add("btn", "btn-primary", "insert-file-button");
|
||||
insertFileButton.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-file-earmark-plus" viewBox="0 0 16 16">
|
||||
<path d="M8 6.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V11a.5.5 0 0 1-1 0V9.5H6a.5.5 0 0 1 0-1h1.5V7a.5.5 0 0 1 .5-.5z"/>
|
||||
<path d="M14 4.5V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h5.5L14 4.5zm-3 0A1.5 1.5 0 0 1 9.5 3V1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4.5h-2z"/>
|
||||
@@ -432,13 +432,12 @@
|
||||
transition: opacity 0.05s;
|
||||
}
|
||||
.insert-file-button {
|
||||
translate: 100% -50%;
|
||||
rotate: 45deg;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 50%;
|
||||
translate: 50% -50%;
|
||||
aspect-ratio: 1;
|
||||
border-radius: 100px 100px 100px 0;
|
||||
}
|
||||
.insert-file-button > * {
|
||||
rotate: -45deg;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
#add-pdf-button {
|
||||
|
||||
Reference in New Issue
Block a user