Skip to content

Commit

Permalink
1.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Feb 18, 2023
1 parent e29e050 commit b06adcb
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 101 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.12.4

- (Fix) Rejiggered some css to fix an issue where certain window apps unintentionally got a sheet background. This also undoes the second SWADE bullet in 1.12.3.

# 1.12.3

- (SWADE) Added support for the Card Hand Mini Toolbar module. (Use 'above Players' position if used with centered hotbar)
Expand Down
102 changes: 50 additions & 52 deletions sass/foundry/_app-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,44 +22,6 @@
}

.dorako-ui.app {
@include glass;
border-radius: 5px;
box-shadow: var(--glassy), 0px 10px 30px 10px rgba(0, 0, 0, 0.5);

&.sidebar-popout {
border: none;

.window-content {
background: none;
box-shadow: none;
margin: 0px;
}
}
&.image-popout {
backdrop-filter: blur(5px);
.window-content {
background: none;
box-shadow: none;
}
}

&.window-app.maximized {
border-radius: 0;
margin: 0px;
box-shadow: none;
}

&.window-app.minimized.hazard {
background-color: #1c3531;
}

&.window-app.minimized.character {
background-color: #5d0e08;
}

&.window-app.minimized.npc {
background-color: #422d01;
}
}

.dorako-ui.app.journal-entry {
Expand All @@ -81,8 +43,11 @@
}
}

// ugly ":not"
.dorako-ui.window-app:not(.swpf-sheet) {
.dorako-ui.window-app {
@include glass;
border-radius: 5px;
box-shadow: var(--glassy), 0px 10px 30px 10px rgba(0, 0, 0, 0.5);

.window-header {
text-shadow: 0px 0px 3px black;
border: none;
Expand All @@ -93,23 +58,56 @@
box-shadow: 0 0 0 1px var(--gold-brown) inset, 0 0 0 2px var(--tertiary) inset;
border-radius: 0px 0px 3px 3px;
}
}

.window-app.chat-popout {
border-radius: 5px 5px 7px 7px;

.window-header {
&.sidebar-popout {
border: none;

.window-content {
background: none;
box-shadow: none;
margin: 0px;
}
}
.message.chat-message {
margin: 1px;

&.chat-popout {
border-radius: 5px 5px 7px 7px;
.window-header {
border: none;
}
.message.chat-message {
margin: 1px;
}
}
}

.dorako-ui.window-app .window-resizable-handle {
background: none;
border: none;
text-shadow: 0px 0px 3px black;
&.image-popout {
backdrop-filter: blur(5px);
.window-content {
background: none;
box-shadow: none;
}
}

&.maximized {
border-radius: 0;
margin: 0px;
box-shadow: none;
&.hazard {
background-color: #1c3531;
}

&.character {
background-color: #5d0e08;
}

&.npc {
background-color: #422d01;
}
}
.window-resizable-handle {
background: none;
border: none;
text-shadow: 0px 0px 3px black;
}
}

.dorako-ui.package-configuration aside.sidebar nav.tabs {
Expand Down
6 changes: 5 additions & 1 deletion sass/foundry/_application-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,14 @@
}
}

.dorako-ui .dorako-ui.dark-theme.window-content {
.dorako-ui.dark-theme.window-content {
@include sheet;
color: var(--color-text-light-heading);
}
.dorako-ui.dark-theme.window-app.chat-popout .window-content {
background: unset;
box-shadow: unset;
}

.dorako-ui.dark-theme.window-app {
// ::placeholder {
Expand Down
96 changes: 49 additions & 47 deletions styles/dorako-ui.css

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

Loading

0 comments on commit b06adcb

Please sign in to comment.