Skip to content

Commit

Permalink
Merge pull request #30 from etiquettestartshere/4.0.1
Browse files Browse the repository at this point in the history
4.0.1
  • Loading branch information
etiquettestartshere authored Oct 28, 2024
2 parents b7896e2 + e46342a commit 93b52d3
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 38 deletions.
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
]
}
},
"version": "0.3.6",
"version": "4.0.1",
"compatibility": {
"minimum": "11",
"verified": "12"
Expand Down
5 changes: 3 additions & 2 deletions styles/hide-item-img.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
}

.dnd5e2 .card-header .name-stacked {
.subtitle {

& .subtitle {
position: relative;
bottom: 4px;
margin-bottom: -6px;
}

.title {
& .title {
margin-top: -4px;
}
}
5 changes: 3 additions & 2 deletions styles/hide-item-subtitle.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.dnd5e2 .card-header .name-stacked {
.subtitle {

& .subtitle {
display: none;
}

.title {
& .title {
margin-top: unset;
}
}
5 changes: 3 additions & 2 deletions styles/hide-portrait.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
:is(.chat-popout, #chat-log) .message .message-header {
.message-sender .avatar {

& .message-sender .avatar {
display: none;
}

.name-stacked {
& .name-stacked {
margin-left: .4em;
}
}
5 changes: 3 additions & 2 deletions styles/hide-subtitle.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
:is(.chat-popout, #chat-log) .message:not(.whisper) .message-header {
.subtitle {

& .subtitle {
visibility: hidden;
}

.title {
& .title {
position: relative;
top: .2rem;
}
Expand Down
4 changes: 2 additions & 2 deletions styles/purple-whispers.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
:is(.chat-popout, #chat-log) {

.message.whisper::before {
& .message.whisper::before {
filter: hue-rotate(270deg)
saturate(3.5)
}

.message.whisper.blind::before {
& .message.whisper.blind::before {
mix-blend-mode: unset;
filter: hue-rotate(230deg)
saturate(3.5);
Expand Down
58 changes: 31 additions & 27 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,73 +8,73 @@
margin-right: 2px;
margin-left: 2px;

.reference-link a,
a.content-link,
a.inline-roll,
.roll-link a {
& .reference-link a,
& a.content-link,
& a.inline-roll,
& .roll-link a {
padding: 0px 4px;
}

.effects.unlist {
& .effects.unlist {
margin-bottom: .1em !important;
}
}

:is(.chat-popout, #chat-log) .message {
padding: .05em;

.message-header {
& .message-header {
margin-bottom: 0.6px;
bottom: 1px;
position: relative;

.message-metadata {
& .message-metadata {
margin-top: 4px;
margin-right: 2px;
}

.message-sender {
& .message-sender {
display: flex;
align-items: start;

.avatar {
& .avatar {
position: relative;
min-height: unset;
left: 3px;
right: 0px;

img {
& img {
width: 25px;
height: 25px;
scale: 100%;
}
}
}

.title {
& .title {
font-family: var(--dnd5e-font-roboto-slab);
font-size: var(--font-size-12);
font-weight: bold;
color: var(--color-text-dark-primary);
min-height: unset;
}

.subtitle {
& .subtitle {
min-height: 1px;
line-height: 14px;
position: relative;
bottom: .07rem;
}

.flavor-text {
& .flavor-text {
position: relative;
top: .65em;
margin-bottom: .71em;
margin-left: .32em;
margin-block-start: -8px;
}

.name-stacked {
& .name-stacked {
flex: 1;
display: flex;
min-height: unset;
Expand All @@ -90,72 +90,76 @@
}
}

.dnd5e2.evaluation {
& .dnd5e2.evaluation {
margin: 0.170rem 0 0;
gap: 0;

.target .name-stacked .title {
& .target .name-stacked .title {
font-size: var(--font-size-13);
display: flex;
align-items: center;
gap: 0.170rem;
}

.target>img {
& .target>img {
width: 28px;
height: 28px;
}
}

.dice .total .label {
& .dice .total .label {
white-space: nowrap;
}
}

.dnd5e2.chat-card {
gap: 0.100rem;

.card-buttons {
& .card-buttons {
gap: 0.15rem;
}

.description {
& .description {
padding: 0.15rem;
margin-bottom: 0.05rem;
}

+.dice-roll {
& +.dice-roll {
margin-top: 0.170rem;
}
}


.dnd5e2 {

button[data-action="save"] {
& button[data-action="save"] {
font-size: .73rem;
}

button > i {
& button > i {
margin-right: unset;
}

div:not(:has(.damage-application)) button {
& div:not(:has(.damage-application)) button {
line-height: 20px;

&:has(.visible-dc, .hidden-dc) {
font-size: var(--font-size-12)
}
}

.pills {
& .pills {
gap: 0.15rem;
}
}

.dice-result {

.dice-formula {
& .dice-formula {
line-height: 20px;
}

.dice-total {
& .dice-total {
font-weight: bold;
font-size: var(--font-size-20);
padding: 0.075rem;
Expand Down

0 comments on commit 93b52d3

Please sign in to comment.