Skip to content

Commit

Permalink
1.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Jan 9, 2023
1 parent d301d4c commit 51fd867
Show file tree
Hide file tree
Showing 11 changed files with 128 additions and 23 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 1.9.8

(Refinement) Make scrollbar track for effects panel invisible
(Fix) Make collapsed sidebar not take up all the vertical height
(Fix) Ensure module is not styling Monk's Little Details' roundmarker chat messages
(Refinement) Fix double-shadowing of hotbar
(Refinement) Improve styling of Monk's Tokenbar
(Refinement) Minor updates to TAH styling

# 1.9.7

(Refinement) Extended dark theme styling to affect variable-action cost spell buttons
Expand Down
3 changes: 3 additions & 0 deletions sass/_effects-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
height: 100%;
padding-top: 5px;
padding-bottom: 10%; // Make room so panel can be scrolled up to read popouts without overlapping with UI
&::-webkit-scrollbar-track {
box-shadow: none;
}

.effect-item {
display: flex;
Expand Down
1 change: 1 addition & 0 deletions sass/_hotbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
width: calc(var(--macro-size) + 2px);
@include glass;
@include quick-transition;
box-shadow: none;

&.inactive::before,
&.active::before {
Expand Down
10 changes: 4 additions & 6 deletions sass/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ nav#navigation {
transition: 0.25s;
text-shadow: 0px 0px 3px black;

.scene-players {
text-shadow: none;
}

&:hover {
background-color: rgb(177 177 177 / 50%);
color: black;
Expand All @@ -37,9 +41,6 @@ nav#navigation {
&:hover {
color: white;
background-color: var(--primary-light);
a, a:hover {
text-shadow: 0px 0px 3px black;
}
}
}

Expand All @@ -51,9 +52,6 @@ nav#navigation {
&.view {
color: var(--color-text-light-highlight);
background-color: var(--secondary-light);
a, a:hover {
text-shadow: 0px 0px 3px black;
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions sass/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
#ui-right {
#sidebar {
height: -webkit-fill-available;
&.collapsed {
height: auto;
}
}
}

Expand Down
54 changes: 49 additions & 5 deletions sass/module-support.scss
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,13 @@ nav.damage-log-nav.tabs {
/* ----------------------------------------- */

#tokenbar {
gap: 3px;

.token-list {
gap: 5px;
border: none;
}

.bar-controls {
@include glass;
div#tokenbar-move-handle {
Expand All @@ -306,15 +313,25 @@ nav.damage-log-nav.tabs {
@include quick-transition;
.token-stats {
background: none;
text-shadow: 0px 0px 3px black;
}
&:hover .token-icon {
box-shadow: 0px 0px 10px rgba(220, 200, 100, 0.5) inset, var(--glassy);
&:hover {
background-color: var(--primary);
.token-icon {
// box-shadow: 0px 0px 10px rgba(220, 200, 100, 0.5) inset, var(--glassy);
box-shadow: none;
filter: drop-shadow(0px 0px 5px var(--tertiary));
}
}

.token-icon {
box-shadow: none;
border-radius: 3px;
}
.tooltip {
@include glass;
backdrop-filter: blur(5px);
}
}
}

Expand All @@ -331,7 +348,7 @@ nav.damage-log-nav.tabs {
margin: 2px;
box-shadow: 0 0 0 1px var(--tertiary), 0 0 0 2px var(--gold-brown);
border-radius: 3px;
text-shadow: none;
text-shadow: 0px 0px 3px black;
background-color: var(--primary-light);
color: var(--color-text-light-highlight);
}
Expand Down Expand Up @@ -408,13 +425,27 @@ nav.damage-log-nav.tabs {
#hotbar .hotbar-page .hotbar-page-row .bar-controls span.page-number,
#hotbar .hotbar-page .hotbar-page-row .bar-controls i {
line-height: 52px;
;
}

#hotbar .hotbar-page .hotbar-page-row.selected .bar-controls .page-number {
color: var(--tertiary-dark);
}

[data-tooltip="MonksHotbarExpansion.clear-row"] {
@include quick-transition;
&:hover {
i {
text-shadow: 0 0 8px var(--color-shadow-primary);
}
}
}

.hotbar-page .page-number{
@include quick-transition;
&:hover {
text-shadow: 0 0 8px var(--color-shadow-primary);
}
}
#hotbar {
width: 647px;

Expand Down Expand Up @@ -538,11 +569,19 @@ nav.damage-log-nav.tabs {
#tah-expand-hud, .tah-title-button {
@include quick-transition;
color: var(--color-text-light-heading);
padding: 3px 5px 3px 5px;
&:hover {
color: var(--color-text-light-highlight);
}
}

.tah-category.hover {
button.tah-title-button {
background-color: var(--primary);
color: var(--color-text-light-highlight);
}
}

.tah-subtitle {
width: 174px;
}
Expand Down Expand Up @@ -725,7 +764,12 @@ nav.damage-log-nav.tabs {
}
}

.chat-message>.message-header.dorako-header {
// This actually looks better just gone, regardles of dorako-header
// .chat-message>.message-header.dorako-header {
// margin-bottom: 0px;
// }

.chat-message>.message-header {
margin-bottom: 0px;
}

Expand Down
4 changes: 3 additions & 1 deletion scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ Hooks.on("renderCombatTracker", addScalingToCombatTrackerAvatars);

// Chat cards
Hooks.on("renderChatMessage", (chatMessage, html, messageData) => {
if (chatMessage.flags["narrator-tools"]) {
isNarratorToolsMessage = chatMessage.flags["narrator-tools"];
isRoundMarker = chatMessage.flags["monks-little-details"]?.roundmarker;
if (isNarratorToolsMessage || isRoundMarker) {
return;
}

Expand Down
16 changes: 10 additions & 6 deletions styles/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 44 additions & 3 deletions styles/module-support.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 51fd867

Please sign in to comment.