Skip to content

Commit

Permalink
feat: author page
Browse files Browse the repository at this point in the history
  • Loading branch information
bayang committed Mar 13, 2022
1 parent a705075 commit 1e80993
Show file tree
Hide file tree
Showing 25 changed files with 1,336 additions and 10,285 deletions.
6,934 changes: 97 additions & 6,837 deletions package-lock.json

Large diffs are not rendered by default.

3,378 changes: 9 additions & 3,369 deletions src/jelu-ui/package-lock.json

Large diffs are not rendered by default.

47 changes: 44 additions & 3 deletions src/jelu-ui/src/assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ $navbar-dropdown-background-color:$jelu_background_accent;
$text : $jelu_text_primary;
$text-strong : $jelu_text_secondary;
$text-invert: findColorInvert($text);
$subtitle-color: $text-strong;

$field-label-color: $text;

Expand Down Expand Up @@ -174,8 +175,6 @@ $typewriter-font: 'AnotherTypewriter', sans-serif;
max-height: calc(100vh - 40px);
}



.event-modal {
// position: relative;
// overflow-y: scroll;
Expand All @@ -193,7 +192,7 @@ $typewriter-font: 'AnotherTypewriter', sans-serif;
overflow: auto;
position: relative;
// width: 100%;
max-width: 95vh;
max-width: 95vw;
height: 90vh;
}

Expand All @@ -205,6 +204,28 @@ $typewriter-font: 'AnotherTypewriter', sans-serif;
padding: 20px;
}

.author-modal {
background-color: $jelu_background_accent;
display: flex;
flex-direction: column;
max-height: calc(100vh - 40px);

margin: 0 20px;
max-height: 100%;
overflow: auto;
position: relative;
width: min(600px, 90vw);
height: 90vh;
}

.author-modal-body {
-webkit-overflow-scrolling: touch;
flex-grow: 1;
flex-shrink: 1;
overflow: visible;
padding: 20px;
}

.small-cover {
width: 100px;
}
Expand Down Expand Up @@ -253,6 +274,19 @@ $typewriter-font: 'AnotherTypewriter', sans-serif;
box-shadow: 10px 10px 10px 0px $jelu_background;
}

.hoverable {
box-shadow: 3px 3px 3px 0px $jelu_background;
}

.hoverable:hover {
box-shadow: 7px 7px 7px 0px $jelu_background;
transform: translateY(-0.15em);
}

.lighter-background {
background-color: #535353;
}

$tag-color: findColorInvert($tag-background-color);

span.tag a {
Expand Down Expand Up @@ -351,3 +385,10 @@ footer.card-footer span.tag {
background-color: $success;
color: $success-invert;
}

.background-on-hover:hover {
background-color: #cccccccc;
border-radius: 10px;
padding: 3px;
}

5 changes: 4 additions & 1 deletion src/jelu-ui/src/components/AddBook.vue
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,10 @@ let displayDatepicker = computed(() => {
:disabled="!store.state.serverSettings.metadataFetchEnabled"
@click="toggleModal"
>
Auto fill
<span class="icon">
<i class="mdi mdi-auto-fix" />
</span>
<span>Auto fill</span>
</button>
</o-tooltip>
</div>
Expand Down
Loading

0 comments on commit 1e80993

Please sign in to comment.