Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions frontend/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,17 @@ html(lang='en')
a.logo.noselect(href='/') zer0bin
.buttons.noselect
button#save-button.btn(aria-label='Save')
button#copy-button.btn(aria-label='Copy')
button#new-button.btn(aria-label='New paste')

button#markdown-button.btn(aria-label='Markdown')
button#single-view-button.btn(aria-label='Single View')
//- .fireBody(style='visibility: hidden')
//- - var parts = 20;
//- - while (parts--) {
//- .particle
//- - }
button#new-button.btn(aria-label='New paste')
button#copy-button.btn(aria-label='Copy')

button#share-button.btn(aria-label='Share')
a(href='https://github.com/zer0bin-dev/zer0bin' aria-label='GitHub repo')
button#github-button.btn(aria-label='GitHub')
Expand Down
15 changes: 8 additions & 7 deletions frontend/style/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pre {
display: flex;
}
.scrollbar-container {
height: 100%;
height: 90%;
}
.wrapper {
display: flex;
Expand Down Expand Up @@ -127,16 +127,17 @@ textarea {
}
.button-wrapper {
position: fixed !important;
top: 0;
right: 0;
padding: 0.7rem 0.7rem 0.5rem 0.7rem;
width: 100%;
padding: 0.5rem;
background-color: $bg_surface;
border-bottom-left-radius: 10px;
z-index: 10;
transition: opacity 0.2s, visibility 0.2s;
}
.buttons {
display: flex;
z-index: 10;
position: fixed !important;
top: 1rem;
left: 9rem;
> * {
+ {
* {
Expand Down Expand Up @@ -211,7 +212,7 @@ a {
.logo {
font-size: 1.8rem;
font-weight: 700;
text-align: center;
text-align: left;
text-decoration: none;
width: 100%;
font-family: $font-mono;
Expand Down