From e842c7501f48dce0cdaa98c6f076741c38b690db Mon Sep 17 00:00:00 2001 From: Tenyryas Date: Tue, 21 Dec 2021 02:13:49 +0100 Subject: [PATCH] bunch of bug fixes, also compatible with v9 --- module.json | 6 +- swade-cyber-css.zip | Bin 154565 -> 154815 bytes swade_cyber.css | 557 ++++++++++++++++++++++++++------------------ ui/sheet_armor.svg | 2 +- 4 files changed, 332 insertions(+), 233 deletions(-) diff --git a/module.json b/module.json index d0360d5..45c8098 100644 --- a/module.json +++ b/module.json @@ -6,9 +6,9 @@ "authors": [], "url": "https://github.com/Tenyryas/swade-cyber-css", "flags": {}, - "version": "1.2.22", + "version": "1.2.3", "minimumCoreVersion": "0.8.9", - "compatibleCoreVersion": "0.8.9", + "compatibleCoreVersion": "9.238", "scripts": ["./scripts/init.js"], "esmodules": [], "styles": [ @@ -38,7 +38,7 @@ "dependencies": [], "socket": false, "manifest": "https://raw.githubusercontent.com/Tenyryas/swade-cyber-css/master/module.json", - "download": "https://github.com/Tenyryas/swade-cyber-css/raw/v1.2.22/swade-cyber-css.zip", + "download": "https://github.com/Tenyryas/swade-cyber-css/raw/v1.2.3/swade-cyber-css.zip", "protected": false, "coreTranslation": false, "library": false diff --git a/swade-cyber-css.zip b/swade-cyber-css.zip index 113902d0956b0554c28cfd98236a0cb89a909ec3..5521cb88f95b53b206c52ba026f13426899e9b43 100644 GIT binary patch delta 4150 zcmY*cX&}^J_n-M)yX~K}=Z7P9c4Con-ePTs5X-T`lb?E8qFp z@*B5XlyQxmQc7=DB1vnEnQ?0HrLDPLI!(7%D?6O+!}VzHvHMFeHh1P_=djbO6N3py zeypRmbI|!LM~7+GPvc3Q4>~VvC6@E=1WEdF6@Sjk>+#S+gvk_(3~=nK6wgYSNxI`< zpk>gtf97AWrFT*gW`rHfQ2zD0mkmX?qDY2j1iosx(nmK&<)Zy=iKTwQkKrqw2Yc|O zt1qn%k48;2iVkBOgn~Z>Cn_!()$zR>s{E))=f%RS>3uhm*(}kZVmGF8(kUSp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CIdrnWAh#2?W3y)8qJ#ZwcWpn<1zt>-Ce%wIG#O*lmE94 z0007@fL4JpbmNt*6LpO^|0@}g1XpDO;syV^gqyjdKm`yS#1zB span { - color: var(--lightblue); -} - -.swade-official .item-create:hover, -.swade-official .item-create :focus { - color: var(--lightblue); -} - -section.inventory span.header-name { - padding-left: 12px; -} - -.swade-official .description .char-img-container { - background-image: url(./ui/char-bg.webp); -} - -.swade-official .description .char-img-container img { - max-width: 180px; - max-height: 180px; -} - -.swade-official .skills li { - border-bottom: 2px solid var(--lightblue); -} - -.swade-official .quickaccess .effects-list li { - border-bottom: 2px solid var(--lightblue); - color: var(--lightblue); -} - -.swade-official .quickaccess .effects-list li .fa-power-off:before { - color: var(--lightblue); +.swade.sheet .checkmark, +.swade-official .checkmark { + background-color: var(--darkgrey); } - -.swade-official .gear-card { - border-bottom: 2px solid var(--lightblue); +.swade.sheet .check-container:hover input ~ .checkmark, +.swade-official .check-container:hover input ~ .checkmark { + background-color: var(--lightblue); + border: 1px solid var(--white); } - -.swade-official .note-box { - grid-template-rows: minmax(3.2em, auto) 1fr 12em; +.swade.sheet .check-container:hover input ~ .checkmark:after, +.swade-official .check-container:hover input ~ .checkmark:after { + left: 5px; + top: 1px; + width: 5px; + height: 10px; + border-width: 0 3px 3px 0; + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); } - -.swade-official .note-box button { - color: var(--lightblue); +.swade.sheet .check-container input:checked ~ .checkmark, +.swade-official .check-container input:checked ~ .checkmark { + background-color: var(--darkgrey); } - -.swade-official .note-box .note-header { - background-image: var(--skills-header); +.swade.sheet .check-container:hover input:checked ~ .checkmark, +.swade-official .check-container:hover input:checked ~ .checkmark { + background-color: var(--darkgrey); } - -.swade-official .note-box .note-main { - background-image: var(--skills-body); +.swade.sheet .check-container .checkmark:after, +.swade-official .check-container .checkmark:after { + border: solid var(--lightblue); + border-width: 0 3px 3px 0; } -.swade-official .note-box .note-footer { - background-image: var(--skills-footer); - height: 48px; +.swade .check-container input:focus + .checkmark, +.swade-official .check-container input:focus + .checkmark { + outline: none; + box-shadow: 0 0 5px var(--lightblue); } - -/* figure.gridcell.branding { - content: url(); -} */ - -.swade-official .charname-container input[type] { - background: transparent; - min-width: 490px; +.swade .check-container:hover input ~ .checkmark, +.swade-official .check-container:hover input ~ .checkmark { + box-shadow: 0 0 5px var(--lightblue); } - -.swade-official button:hover, -.swade-official button:focus, -.swade-official input[type=text]:hover, -.swade-official input[type=text] :focus, -.swade-official input[type=number]:hover, -.swade-official input[type=number] :focus { - box-shadow: none !important; - text-shadow: 0 0 10px var(--lightblue) !important; +.swade .check-container:focus input ~ .checkmark, +.swade-official .check-container:focus input ~ .checkmark { + box-shadow: 0 0 5px var(--lightblue); } -.swade-official input[type="text"]:focus, -.swade-official input[type="number"]:focus, -.swade-official input[type="password"]:focus, -.swade-official input[type="date"]:focus, -.swade-official input[type="time"]:focus { - box-shadow: none !important; - text-shadow: 0 0 10px var(--lightblue) !important; -} -.swade-official .additional-stats { - color: var(--lightblue); -} -.swade-official .additional-stats input { - color: var(--darkgrey); - background: var(--gradient-light); - background-size: 51% 51%; - background-repeat: no-repeat; - border-radius: 0; -} +/********************************* +* +* PLAYER CHARACTER SHEET +* +*********************************/ + + .swade-official .window-content { + background-image: var(--bg-img); + background-color: var(--white); + animation: var(--animation); + } + + .swade-official .charname-container input[type] { + background: transparent; + min-width: 490px; + } + + .swade-official .wounds { + background-image: url(./ui/circle_wounds.webp); + } + + .swade-official .fatigue { + background-image: url(./ui/circle_fatigue.webp); + } + + .swade-official a:hover { + text-shadow: 0 0 8px var(--lightblue); + } + + .swade-official .header { + background: var(--gradient); + background-size: 50% 50%; + background-repeat: no-repeat; + border-radius: 0; + } + + .swade-official .tabs .active { + color: var(--lightblue); + text-shadow: 0 0 8px var(--white); + } + + .swade-official .section-header { + color: var(--lightblue); + border-radius: 0px; + text-shadow: 0 0 8px var(--white); + } + + .swade-official .armor-display { + background-image: url(./ui/sheet_armor.svg); + color: var(--darkgrey); + padding-bottom: 4px; + } + + .swade-official .parry-display { + background-image: url(./ui/sheet_parry.svg); + color: var(--darkgrey); + padding-bottom: 4px; + } + + /********************************* + * + * Gear + * + *********************************/ + + .swade-official .section-header .controls, + .swade-official .item-create, + section.inventory header > span { + color: var(--lightblue); + } + + .swade-official .item-create:hover, + .swade-official .item-create :focus { + color: var(--lightblue); + } + + section.inventory span.header-name { + padding-left: 12px; + } + + /********************************* + * + * Quick Access & Skills + * + *********************************/ + + .swade-official .note-box .section-header { + color: var(--lightblue); + background: none; + text-shadow: 0 0 8px var(--lightblue); + } + + .swade-official .skills li { + border-bottom: 2px solid var(--lightblue); + } + + .swade-official .quickaccess .effects-list li { + border-bottom: 2px solid var(--lightblue); + color: var(--lightblue); + } + + .swade-official .quickaccess .effects-list li .fa-power-off:before { + color: var(--lightblue); + } + + .swade-official .gear-card { + border-bottom: 2px solid var(--lightblue); + } + + .swade-official .note-box { + grid-template-rows: minmax(3.2em, auto) 1fr 12em; + } + + .swade-official .note-box button { + color: var(--lightblue); + } + + .swade-official .note-box .note-header { + background-image: var(--skills-header); + } + + .swade-official .note-box .note-main { + background-image: var(--skills-body); + } + + .swade-official .note-box .note-footer { + background-image: var(--skills-footer); + height: 48px; + } + + /********************************* + * + * Inputs + * + *********************************/ + + .swade-official button:hover, + .swade-official button:focus, + .swade-official input[type=text]:hover, + .swade-official input[type=text] :focus, + .swade-official input[type=number]:hover, + .swade-official input[type=number] :focus, + .swade-official input[type="text"]:focus, + .swade-official input[type="number"]:focus, + .swade-official input[type="password"]:focus, + .swade-official input[type="date"]:focus, + .swade-official input[type="time"]:focus { + box-shadow: none !important; + text-shadow: 0 0 10px var(--lightblue) !important; + } + + .swade-official #conviction input, + .swade-official .derived input, + .swade-official .currency input, + .swade-official .powers .pp-counter input, + .swade-official .powers .pp-adjust { + background: var(--gradient); + color: var(--lightblue); + background-size: 51% 51%; + background-repeat: no-repeat; + border-radius: 0px; + } + + /********************************* + * + * Additional stats + * + *********************************/ + + .swade-official .additional-stats { + color: var(--lightblue); + } + + .swade-official .additional-stats input { + color: var(--darkgrey); + background: var(--gradient-light); + background-size: 51% 51%; + background-repeat: no-repeat; + border-radius: 0; + } + + + /********************************* + * + * About + * + *********************************/ + + .swade-official .description .char-img-container { + background-image: url(./ui/char-bg.webp); + } + + .swade-official .description .char-img-container img { + max-width: 180px; + max-height: 180px; + } + + + + /********************************* + * + * Branding + * + *********************************/ + + /* figure.gridcell.branding { + content: url(); + } */ diff --git a/ui/sheet_armor.svg b/ui/sheet_armor.svg index 90c78e6..2622294 100644 --- a/ui/sheet_armor.svg +++ b/ui/sheet_armor.svg @@ -8,7 +8,7 @@ } .st1 { - fill: #0a1629; + fill: #0dabe8; }