Compat v14 : CSS for Dice (Chat & RnK)
This commit is contained in:
@@ -6,7 +6,9 @@ Date format : day/month/year
|
|||||||
> - `foundry-version`: Stick to the major version of FoundryVTT.
|
> - `foundry-version`: Stick to the major version of FoundryVTT.
|
||||||
> - `system-version`: System functionalities and Fixes.
|
> - `system-version`: System functionalities and Fixes.
|
||||||
|
|
||||||
## 1.13.5 - ??/03/2026 - ???
|
## 1.14.0 - ??/04/2026 - Foundry v14 Compatibility
|
||||||
|
__! Be certain to carefully back up any critical user data before installing this update !__
|
||||||
|
- Updated the System to FoundryVTT v14.
|
||||||
- Fix List without bullet on item sheets.
|
- Fix List without bullet on item sheets.
|
||||||
- Fix black embedded links displays on Tooltips.
|
- Fix black embedded links displays on Tooltips.
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -6,6 +6,9 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
height: 48px;
|
||||||
|
width: 48px;
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -20,6 +23,7 @@
|
|||||||
color: white;
|
color: white;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-of-type,
|
&:last-of-type,
|
||||||
&:nth-child(6),
|
&:nth-child(6),
|
||||||
&:nth-child(12),
|
&:nth-child(12),
|
||||||
@@ -28,10 +32,12 @@
|
|||||||
padding: 0 0.175rem 0 0.15rem;
|
padding: 0 0.175rem 0 0.15rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.rerolled {
|
&.rerolled {
|
||||||
> img {
|
> img {
|
||||||
border-bottom: 0 none;
|
border-bottom: 0 none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: "\f2f9";
|
content: "\f2f9";
|
||||||
background: orangered;
|
background: orangered;
|
||||||
@@ -42,6 +48,7 @@
|
|||||||
> img {
|
> img {
|
||||||
border-bottom: 0 none;
|
border-bottom: 0 none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: "\f337";
|
content: "\f337";
|
||||||
background: fuchsia;
|
background: fuchsia;
|
||||||
@@ -50,9 +57,9 @@
|
|||||||
|
|
||||||
> img {
|
> img {
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
height: auto;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
.chat-dice {
|
.chat-dice {
|
||||||
}
|
}
|
||||||
@@ -72,6 +79,7 @@
|
|||||||
margin: 0.25rem;
|
margin: 0.25rem;
|
||||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
&-element {
|
&-element {
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
@@ -79,11 +87,13 @@
|
|||||||
&-skill {
|
&-skill {
|
||||||
flex-grow: 3;
|
flex-grow: 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child {
|
||||||
flex-grow: 2;
|
flex-grow: 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dice-formula,
|
.dice-formula,
|
||||||
.dice-total {
|
.dice-total {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
@@ -91,44 +101,51 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0.5rem 0;
|
margin: 0.5rem 0;
|
||||||
padding: 0.25rem 0.5rem 0.25rem 0.25rem;
|
padding: 0.25rem 0.5rem 0.25rem 0.25rem;
|
||||||
|
|
||||||
&-rnk {
|
&-rnk {
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
|
|
||||||
&.chat-dice-rnk {
|
&.chat-dice-rnk {
|
||||||
cursor: url("../assets/cursors/pointer.webp"), pointer;
|
cursor: url("../assets/cursors/pointer.webp"), pointer;
|
||||||
color: $white;
|
color: $white;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
$l5r5e-linear-gradient-third,
|
$l5r5e-linear-gradient-third,
|
||||||
$l5r5e-linear-gradient-third-dark,
|
$l5r5e-linear-gradient-third-dark,
|
||||||
$l5r5e-linear-gradient-third
|
$l5r5e-linear-gradient-third
|
||||||
);
|
);
|
||||||
background-origin: padding-box;
|
background-origin: padding-box;
|
||||||
border-image: url("../assets/ui/macro-button.webp") 10 repeat;
|
border-image: url("../assets/ui/macro-button.webp") 10 repeat;
|
||||||
border-image-width: 0.5rem;
|
border-image-width: 0.5rem;
|
||||||
border-image-outset: 0px;
|
border-image-outset: 0px;
|
||||||
margin: 0.5rem 0 0;
|
margin: 0.5rem 0 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
$l5r5e-linear-gradient-first-dark,
|
$l5r5e-linear-gradient-first-dark,
|
||||||
$l5r5e-linear-gradient-first,
|
$l5r5e-linear-gradient-first,
|
||||||
$l5r5e-linear-gradient-first-dark
|
$l5r5e-linear-gradient-first-dark
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.chat-dice-rnk-ended {
|
&.chat-dice-rnk-ended {
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
$l5r5e-linear-gradient-second,
|
$l5r5e-linear-gradient-second,
|
||||||
$l5r5e-linear-gradient-second-dark,
|
$l5r5e-linear-gradient-second-dark,
|
||||||
$l5r5e-linear-gradient-second
|
$l5r5e-linear-gradient-second
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dice-result-rnk {
|
.dice-result-rnk {
|
||||||
background: rgba(0, 0, 255, 0.1);
|
background: rgba(0, 0, 255, 0.1);
|
||||||
border: 1px solid rgba(55, 55, 155, 0.75);
|
border: 1px solid rgba(55, 55, 155, 0.75);
|
||||||
@@ -137,25 +154,30 @@
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-shadow: 0 0 0 $black;
|
text-shadow: 0 0 0 $black;
|
||||||
|
|
||||||
&.success {
|
&.success {
|
||||||
background: rgba(0, 255, 0, 0.1);
|
background: rgba(0, 255, 0, 0.1);
|
||||||
border-color: rgba(55, 155, 55, 0.75);
|
border-color: rgba(55, 155, 55, 0.75);
|
||||||
color: rgba(55, 155, 55, 0.75);
|
color: rgba(55, 155, 55, 0.75);
|
||||||
|
|
||||||
i.i_success {
|
i.i_success {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.unknown {
|
&.unknown {
|
||||||
background: rgba(121, 121, 121, 0.1);
|
background: rgba(121, 121, 121, 0.1);
|
||||||
border-color: rgba(124, 124, 124, 0.75);
|
border-color: rgba(124, 124, 124, 0.75);
|
||||||
color: rgba(91, 91, 91, 0.75);
|
color: rgba(91, 91, 91, 0.75);
|
||||||
}
|
}
|
||||||
|
|
||||||
&.fail {
|
&.fail {
|
||||||
background: rgba(255, 0, 0, 0.1);
|
background: rgba(255, 0, 0, 0.1);
|
||||||
border-color: rgba(155, 55, 55, 0.75);
|
border-color: rgba(155, 55, 55, 0.75);
|
||||||
color: rgba(155, 55, 55, 0.75);
|
color: rgba(155, 55, 55, 0.75);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.target,
|
.target,
|
||||||
.item-infos {
|
.item-infos {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -166,20 +188,25 @@
|
|||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgba(255, 255, 255, 0.1);
|
||||||
border: solid 1px rgba(100, 0, 0, 0.75);
|
border: solid 1px rgba(100, 0, 0, 0.75);
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
||||||
.profile {
|
.profile {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin: 0.25rem 0.25rem 0 0;
|
margin: 0.25rem 0.25rem 0 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.profile-img {
|
.profile-img {
|
||||||
position: relative;
|
position: relative;
|
||||||
border: none;
|
border: none;
|
||||||
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.66));
|
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.66));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
flex: 6;
|
flex: 6;
|
||||||
font-family: "BrushtipTexe", sans-serif;
|
font-family: "BrushtipTexe", sans-serif;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-link {
|
.content-link {
|
||||||
background: unset;
|
background: unset;
|
||||||
border: unset;
|
border: unset;
|
||||||
@@ -188,8 +215,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-infos {
|
.item-infos {
|
||||||
border: solid 1px rgba(0, 78, 100, 0.75);
|
border: solid 1px rgba(0, 78, 100, 0.75);
|
||||||
|
|
||||||
i {
|
i {
|
||||||
font-size: var(--font-size-12);
|
font-size: var(--font-size-12);
|
||||||
}
|
}
|
||||||
@@ -199,3 +228,4 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -213,6 +213,7 @@
|
|||||||
td {
|
td {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -310,6 +311,7 @@
|
|||||||
.dice-ct {
|
.dice-ct {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
|
width: 48px;
|
||||||
&:before {
|
&:before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -145,6 +145,11 @@ input[type="time"]:focus {
|
|||||||
line-height: initial;
|
line-height: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Remove icon on link (bc specificity)
|
||||||
|
#sidebar-content .content-link i.l5r5e {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
button:hover {
|
button:hover {
|
||||||
box-shadow: 0 0 10px $red;
|
box-shadow: 0 0 10px $red;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
"changelog": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/CHANGELOG.md",
|
||||||
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
"license": "https://gitlab.com/teaml5r/l5r5e/-/blob/master/LICENSE.md",
|
||||||
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
|
||||||
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.13.4/raw/l5r5e.zip?job=build",
|
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.14.0/raw/l5r5e.zip?job=build",
|
||||||
"version": "1.13.4",
|
"version": "1.14.0",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "13",
|
"minimum": "13",
|
||||||
"verified": "13",
|
"verified": "13",
|
||||||
"maximum": "13"
|
"maximum": "14"
|
||||||
},
|
},
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"authors": [
|
"authors": [
|
||||||
|
|||||||
Reference in New Issue
Block a user