Skip to content

Commit

Permalink
stylization
Browse files Browse the repository at this point in the history
  • Loading branch information
wildercb committed Apr 17, 2024
1 parent 2182099 commit 0e37c38
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
30 changes: 15 additions & 15 deletions src/components/TokenBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,14 @@ export default {
...mapState(["currentPage"]),
symbolClass() {
switch (this.isSymbolActive) {
case 0: return "fas fa-minus-circle";
case 1: return "fas fa-check-circle";
case 2: return "fas fa-times-circle";
default: return "fas fa-question-circle";
case 0: return "fas fa-hourglass-start fa-lg"; // Suggested - Hourglass implies waiting or potential
case 1: return "fas fa-thumbs-up fa-lg"; //accepted
case 2: return "fas fa-skull-crossbones fa-lg"; //rejected
default: return "fas fa-question-circle fa-lg";
}
},
reviewedIconClass() {
return this.userHasToggled ? 'fas fa-square' : 'far fa-square';
},
return this.userHasToggled ? 'fas fa-toggle-on' : 'fas fa-toggle-off'; },
},
methods: {
toggleSymbol() {
Expand Down Expand Up @@ -117,23 +116,24 @@ export default {

<style lang="scss">
mark {
padding: 0.5rem;
padding: 0.7rem; /* Increased from 0.5rem */
position: relative;
background-color: burlywood;
border: 1px solid $grey-7;
border-radius: 0.35rem;
border: 2px solid $grey-7; /* Thicker border for emphasis */
border-radius: 0.5rem; /* Larger border-radius */
}
.tag {
background-color: whitesmoke;
padding: 4px 0 4px 8px;
border: 1px solid grey;
border-radius: 0.35rem;
font-size: x-small;
padding: 6px 0 8px 16px; /* Increased padding for larger tag area */
border: 2px solid grey; /* Thicker border */
border-radius: 0.5rem; /* Larger border-radius */
font-size: small; /* Increased font size for better visibility */
}
.shadow-unreviewed {
box-shadow: 0 0 10px 4px goldenrod;
box-shadow: 0 0 2px 2px goldenrod; /* Larger and more pronounced shadow */
}
.bg-red {
box-shadow: 0 0 10px 4px red;
box-shadow: 0 0 2px 2px red; /* Larger and more pronounced shadow */
}
</style>

3 changes: 2 additions & 1 deletion src/components/token-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class TokenManager {
end: _end,
name: name,
label: _class.name,
humanOpinion: humanOpinion,
humanOpinion: true,
initiallyNLP: initiallyNLP,
userHasToggled: userHasToggled, // Ensure it's set for the new block
isSymbolActive: isSymbolActive, // Ensure it's set for the new block
Expand Down Expand Up @@ -139,6 +139,7 @@ class TokenManager {
end: tokens[tokens.length - 1].end,
name: name,
tokens: tokens,
humanOpinion: true,
label: _class.name,
classId: _class.id || 0,
backgroundColor: _class.color || null,
Expand Down

0 comments on commit 0e37c38

Please sign in to comment.