Commit 4e69832f8e825090a32d93c3153d50b506a3de86
1 parent
d3cf595986
Exists in
master
Ajout du style pour le upButton
Showing 1 changed file with 31 additions and 0 deletions Side-by-side Diff
templates/html/common/zim-style.css
| ... | ... | @@ -63,5 +63,36 @@ |
| 63 | 63 | font-size:small; |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | + #upBtn { | |
| 67 | + display: none; | |
| 68 | + position: fixed; | |
| 69 | + bottom: 20px; | |
| 70 | + right: 30px; | |
| 71 | + z-index: 99; | |
| 72 | + font-size: 18px; | |
| 73 | + border: none; | |
| 74 | + outline: none; | |
| 75 | + background-color: #7777; | |
| 76 | + color: white; | |
| 77 | + cursor: pointer; | |
| 78 | + padding: 15px; | |
| 79 | + border-radius: 4px; | |
| 80 | + } | |
| 81 | + | |
| 82 | + #upBtn::before { | |
| 83 | + border-style: solid; | |
| 84 | + border-width: 0.25em 0.25em 0 0; | |
| 85 | + content: ''; | |
| 86 | + display: inline-block; | |
| 87 | + height: 0.45em; | |
| 88 | + left: 0.15em; | |
| 89 | + position: relative; | |
| 90 | + top: 0.15em; | |
| 91 | + transform: rotate(-45deg); | |
| 92 | + vertical-align: top; | |
| 93 | + width: 0.45em; | |
| 94 | + margin-left:-0.2em; | |
| 95 | + } | |
| 96 | + | |
| 66 | 97 |