diff --git a/Knight/knight.css b/Knight/knight.css index 4e7fad73f0..d61691d641 100644 --- a/Knight/knight.css +++ b/Knight/knight.css @@ -401,7 +401,8 @@ input.sheet-tabMenu[value="8"] ~ div.sheet-tab8, input.sheet-tabMenu[value="9"] ~ div.sheet-tab9, input.sheet-tabMenu[value="10"] ~ div.sheet-tab10, input.sheet-tabMenu[value="11"] ~ div.sheet-tab11, -input.sheet-tabMenu[value="12"] ~ div.sheet-tab12 +input.sheet-tabMenu[value="12"] ~ div.sheet-tab12, +input.sheet-tabMenu[value="13"] ~ div.sheet-tab13 { display: block; } @@ -420,6 +421,7 @@ input.sheet-tabMenu[value="12"] ~ div.sheet-tab12 .sheet-tab-content { min-width:823px; + margin-top:5px; } .sheet-tab-content > .sheet-2colrow @@ -3289,10 +3291,6 @@ input.sheet-tabDistance[value="1"] ~ div div.sheet-tabDistance, input.sheet-tabContact[value="2"] ~ div div.sheet-tabContact, input.sheet-tabAutre[value="3"] ~ div div.sheet-tabAutre, input.sheet-tabEquipementDefensif[value="4"] ~ div div.sheet-tabEquipementDefensif, -input.sheet-ranger50-2[value="0"] ~ div div.sheet-rangerNot50-2, -input.sheet-ranger50-2[value="on"] ~ div div.sheet-ranger50-2, -input.sheet-ranger100[value="0"] ~ div div div.sheet-rangerNot100, -input.sheet-ranger100[value="on"] ~ div div div.sheet-ranger100, input.sheet-psion150[value="on"] ~ div div.sheet-psion150, input.sheet-psion150[value="0"] ~ div div.sheet-psionNot150, input.sheet-psion150[value=""] ~ div div.sheet-psionNot150, @@ -4072,6 +4070,16 @@ input.sheet-fanMade[value=""] ~ div div.sheet-notFanMade flex-wrap:wrap; } +input.sheet-ranger50-2[value="0"] ~ div div.sheet-rangerNot50-2, +input.sheet-ranger50-2[value="on"] ~ div div.sheet-ranger50-2, +input.sheet-ranger100[value="0"] ~ div div div.sheet-rangerNot100, +input.sheet-ranger100[value="on"] ~ div div div.sheet-ranger100 +{ + display: flex !important; + width: 100%; + flex-wrap:wrap; +} + input.sheet-chairAEMineur[value="1"] ~ div div.sheet-chairAEMineur, input.sheet-chairAEMajeur[value="1"] ~ div div.sheet-chairAEMajeur, input.sheet-beteAEMineur[value="1"] ~ div div.sheet-beteAEMineur, @@ -4283,7 +4291,8 @@ input.sheet-IAI[value="1"] ~ div.sheet-menu label.sheet-IAI, input.sheet-vehicule[value="1"] ~ div.sheet-menu label.sheet-vehicule, input.sheet-Modules[value="1"] ~ div.sheet-menu label.sheet-Modules, input.sheet-ficheType[value="0"] ~ div.sheet-menu label.sheet-Modules, -input.sheet-AI[value="1"] ~ div.sheet-menu label.sheet-armesImprovisees +input.sheet-AI[value="1"] ~ div.sheet-menu label.sheet-armesImprovisees, +input.sheet-art[value="1"] ~ div.sheet-menu label.sheet-art { display:block !important; } @@ -4291,7 +4300,7 @@ input.sheet-AI[value="1"] ~ div.sheet-menu label.sheet-armesImprovisees input.sheet-ranger50-1[value="0"] ~ div div.sheet-rangerNot50-1 { display: flex !important; - width: calc(50% - 3px); + width: calc(50% - 1px); flex-wrap:wrap; } @@ -4299,7 +4308,7 @@ input.sheet-ranger50-1[value="on"] ~ div div.sheet-rangerNot50-1, input.sheet-ranger50-1[value="on"] ~ div div.sheet-ranger50-1 { display: flex !important; - width: calc(33.33% - 4px); + width: calc(33.33% - 1px); flex-wrap:wrap; } @@ -4625,13 +4634,13 @@ div.sheet-moduleListDCL > .repcontainer > div:nth-of-type(odd).repitem border-left:1px solid RGB(93,111,179); border-bottom:1px solid RGB(213, 215, 237); border-right:1px solid RGB(213, 215, 237); + border-top:1px solid RGB(213, 215, 237); } div.sheet-moduleListDCL > .repcontainer > div:nth-of-type(even).repitem { - border-bottom:1px solid RGB(213, 215, 237); - border-left:1px solid RGB(213, 215, 237); - border-right:1px solid RGB(93,111,179); + border:1px solid RGB(213, 215, 237); + margin-right:1px; } div.sheet-moduleListDCL > .editmode > div:nth-of-type(even).repitem, @@ -4838,6 +4847,18 @@ div.sheet-moduleListDCL > .editmode > .repitem width:100%; } +div.sheet-moduleList > .editmode > div:nth-of-type(2).repitem, +div.sheet-moduleListDCL > .editmode > div:nth-of-type(2).repitem +{ + margin-top:5px; +} + +div.sheet-moduleList > .repcontainer > div:nth-of-type(1n+3).repitem, +div.sheet-moduleListDCL > .repcontainer > div:nth-of-type(1n+3).repitem +{ + margin-top:5px; +} + div.sheet-moduleList > .editmode > .repitem > label, div.sheet-moduleList > .editmode > .repitem > div:nth-of-type(2), div.sheet-moduleList > .editmode > .repitem > div.sheet-slots, @@ -5052,6 +5073,7 @@ div.sheet-PNJCapacite border-right: 1px solid RGB(93,111,179); border-left: 1px solid RGB(93,111,179); flex-wrap: wrap; + margin-top:5px; } div.sheet-PNJAE > h4, @@ -5144,6 +5166,474 @@ div.sheet-PNJCapacite > .repcontrol border-top:1px solid var(--sombre); } +div.sheet-optionsLongbow +{ + display:flex; + width:calc(50% - 3px); + flex-wrap:wrap; + justify-content:space-around; + padding-bottom:2px; +} + +div.sheet-optionsLongbow > div +{ + display:flex; + width:100%; + justify-content:center; + margin-top:1px; + margin-left:1px; + margin-right:1px; +} + +div.sheet-optionsLongbow > label.sheet-simple +{ + width: 123px; + height: 21px; + display: inline-block; + margin: 2px; + padding: 0px; +} + +div.sheet-optionsLongbow > label.sheet-double +{ + width: 123px; + height: 21px; + display: inline-block; + margin: 2px; + padding: 0px; +} + +div.sheet-optionsLongbow > label.sheet-simple > input[type="checkbox"] +{ + width: calc(123px + 2px); + height: 23px; + opacity: 0; + position: absolute; + margin-left: -2px; +} + +div.sheet-optionsLongbow > label.sheet-double > input[type="checkbox"] +{ + width: calc(123px + 1px - 29px); + height: 23px; + opacity: 0; + position: absolute; + margin-left: -1px; +} + +div.sheet-optionsLongbow > label.sheet-simple > span::before +{ + width: 123px; + line-height: 21px; + height: 21px; + text-align: center !important; + background: RGB(93,111,179); + color: White; + padding: 0px; + display: inline-block; + content: attr(title); + border: 1px solid black; + font-size: 12px; + margin-left: -2px; +} + +div.sheet-optionsLongbow > label.sheet-double > span::before +{ + width: calc(123px - 30px); + line-height: 21px; + height: 21px; + text-align: center !important; + background: RGB(93,111,179); + color: White; + padding: 0px; + display: inline-block; + content: attr(title); + border: 1px solid black; + font-size: 12px; + margin-left: -2px; + padding-right: 25px; +} + +div.sheet-optionsLongbow > label.sheet-simple > input[type="checkbox"] ~ span::before, +div.sheet-optionsLongbow > label.sheet-double > input[type="checkbox"] ~ span::before +{ + box-shadow: 0px 0px 7px 0px #000000 inset; +} + +div.sheet-optionsLongbow > label.sheet-double > input[type="number"] +{ + width: 30px; + height: 23px; + border-top: 1px solid black; + border-right: 1px solid black; + border-bottom: 1px solid black; + border-left: none; + border-radius: 0px; + text-align: center; + position: absolute; + margin-left: -25px; +} + +div.sheet-PNJCapaciteSpecial +{ + display:flex; + background-color:var(--clair); + flex-wrap:wrap; + justify-content:space-evenly; + width:100%; + border:1px solid var(--sombre); + padding-bottom:2px; + margin-top:5px; +} + +div.sheet-PNJCapaciteSpecial > h4 +{ + display:flex; + background-color:var(--sombre); + color:white; + flex-wrap:wrap; + justify-content:center; + width:100%; + padding:0px; + height:28px; + line-height:28px; +} + +div.sheet-PNJCapaciteSpecial > label +{ + width: 155px; + height: 21px; + display: flex; + margin: 2px; + padding: 0px; +} + +div.sheet-PNJCapaciteSpecial > label > input[type="checkbox"] +{ + width: calc(155px + 2px); + height: 23px; + opacity: 0; + position: absolute; +} + +div.sheet-PNJCapaciteSpecial > label > input[type="checkbox"] ~ span::before +{ + width: 155px; + line-height: 21px; + height: 21px; + text-align: center; + background-color: var(--sombre); + color: White; + padding: 0px; + display: inline-block; + content: attr(title); + border: 1px solid black; + font-size: 12px; +} + +div.sheet-PNJCapaciteSpecial > label > input[type="checkbox"]:checked ~ span::before +{ + box-shadow: 0px 0px 7px 0px #000000 inset; +} + +input[type="hidden"][value="0"].sheet-phase2 ~ div.sheet-phase2 +{ + display:none; +} + +input[type="hidden"][value="0"].sheet-phase2 ~ div.sheet-mainBlock +{ + margin-top:5px; +} + +input[type="hidden"][value="1"].sheet-phase2 ~ div.sheet-phase2 +{ + margin-bottom:5px; +} + +div.sheet-domaineArtistique +{ + display:flex; + flex-wrap:wrap; + background-color: var(--sombre); + border:1px solid var(--sombre); +} + +div.sheet-domaineArtistique > input[type="text"] +{ + display:flex; + width:calc(100% - 27px); + background: transparent; + border:0px; + color:white; + padding:0px; + text-align:center; + font-weight:bold; + line-height:28px; + padding-left:27px; +} + +div.sheet-domaineArtistique > button[type="roll"] +{ + display:flex; + width:25px; + margin:0px; + padding: 0px; + border-radius: 0px; + height: 25px; + font-size: 24px; + line-height: 23px; + justify-content: center; +} + +/* div.sheet-domaineArtistique > button[type="roll"]::before */ +/* { */ + /* font-family:"dicefontd6"; */ + /* content:"r"; */ +/* } */ + +div.sheet-domaineArtistique > div, +div.sheet-domaineArtistique > label +{ + display:flex; + width:100%; + background-color:var(--clair); + border-bottom:1px solid var(--sombre); + justify-content:space-between; +} + +div.sheet-domaineArtistique > div > select +{ + display:flex; + margin:0px; + padding:0px; + width:50%; +} + +div.sheet-domaineArtistique > label +{ + margin:0px; + padding:0px; + font-size:13px; + color:black; +} + +div.sheet-domaineArtistique > label:last-of-type +{ + border-bottom:0px; +} + +div.sheet-domaineArtistique > div > span +{ + display:flex; + justify-content:center; + font-weight:bold; + font-size:14px; + color:black; + align-items:center; +} + +div.sheet-domaineArtistique > span +{ + display:flex; + justify-content:center; + font-weight:bold; + font-size:14px; + color:black; + align-items:center; + width:100%; + background-color:var(--clair); + border-top:1px solid var(--sombre); + border-bottom:1px solid var(--sombre); +} + +div.sheet-domaineArtistique > div > span:nth-of-type(1) +{ + width:120px; + text-align:center; +} + +div.sheet-domaineArtistique > div > span:nth-of-type(2) +{ + width:calc(100% - 120px); +} + +div.sheet-domaineArtistique > label > span +{ + display:flex; + font-size:14px; + color:black; + align-items:center; +} + +div.sheet-domaineArtistique > label > span:nth-of-type(1) +{ + width:75px; + padding-left:2px; +} + +div.sheet-domaineArtistique > label > span:nth-of-type(2) +{ + width:45px; + justify-content:center; +} + +div.sheet-domaineArtistique > label > div +{ + display:flex; + width:calc(100% - 120px); + color:black; +} + +div.sheet-domaineArtistique > div:last-of-type +{ + border-bottom:0px; +} + +div.sheet-oeuvreArt, +div.sheet-oeuvreArtCree +{ + display:flex; + flex-wrap:wrap; + justify-content:space-between; + background-color:var(--sombre); + border:1px solid var(--sombre); +} + +div.sheet-oeuvreArt > h4, +div.sheet-oeuvreArtCree > h4 +{ + display:flex; + flex-wrap:wrap; + width:100%; + color:white; + justify-content:center; + line-height:28px; +} + +div.sheet-oeuvreArt > div:nth-of-type(1) +{ + display:flex; + flex-wrap:wrap; + width:100%; + justify-content:space-between; + border-bottom:1px solid var(--sombre); +} + +div.sheet-oeuvreArt > div, +div.sheet-oeuvreArtCree > div +{ + background-color:var(--clair); +} + +div.sheet-oeuvreArt > div > span +{ + display:flex; + flex-wrap:wrap; + justify-content:center; + font-weight:bold; + font-size:14px; +} + +div.sheet-oeuvreArt > div > span:nth-of-type(1) +{ + width:120px; +} + +div.sheet-oeuvreArt > div > span:nth-of-type(2) +{ + width:calc(100% - 120px); +} + +div.sheet-oeuvreArt > .repcontainer > .repitem, +div.sheet-oeuvreArtCree > .repcontainer > .repitem +{ + display:flex; + width:100%; + justify-content:space-between; + background-color:var(--clair); + border-bottom:1px solid var(--sombre); + flex-wrap:wrap; +} + +div.sheet-oeuvreArt > .repcontainer > .repitem > input[type="text"] +{ + padding:0px; + border-top:0px; + border-bottom:0px; + line-height:25px; +} + +div.sheet-oeuvreArt > .repcontainer > .repitem > input[type="text"]:nth-of-type(1) +{ + width:120px; + text-align:center; + border-right:0px; +} + +div.sheet-oeuvreArt > .repcontainer > .repitem > input[type="text"]:nth-of-type(2) +{ + width:calc(100% - 120px); +} + +div.sheet-oeuvreArt > .repcontainer > .repitem > .itemcontrol > .btn +{ + padding-top:0px; + padding-bottom:0px; + line-height:23px; +} + +div.sheet-oeuvreArtCree +{ + margin-top:5px; +} + +div.sheet-oeuvreArtCree > .repcontainer > .repitem +{ + background-color:var(--sombre); +} + +div.sheet-oeuvreArtCree > .repcontainer > div:not(:first-of-type).repitem +{ + border-top:2px double var(--sombre); +} + +div.sheet-oeuvreArtCree > .repcontainer > .repitem > label +{ + display:flex; + width:100%; + justify-content:space-between; + background-color:var(--clair); + margin:0px; + padding:0px; +} + +div.sheet-oeuvreArtCree > .repcontainer > .repitem > label > span +{ + display:flex; + width:100px; + padding-left:2px; + font-weight:bold; + font-size:14px; + align-items:center; +} + +div.sheet-oeuvreArtCree > .repcontainer > .repitem > label > input[type="text"] +{ + display:flex; + width:calc(100% - 100px); + line-height:28px; + padding:0px; + border-top:0px; + border-bottom:0px; + border-right:0px; +} + +div.sheet-oeuvreArtCree > .repcontainer > .repitem > div +{ + border-top:1px solid var(--sombre); +} + /*------------ Templates --------------*/ @@ -5163,7 +5653,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock, .sheet-rolltemplate-bande div.sheet-mainBlock, -.sheet-rolltemplate-vehicule div.sheet-mainBlock +.sheet-rolltemplate-vehicule div.sheet-mainBlock, +.sheet-rolltemplate-base { width:100%; display:flex; @@ -5187,7 +5678,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock div, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock div, .sheet-rolltemplate-bande div.sheet-mainBlock div, -.sheet-rolltemplate-vehicule div.sheet-mainBlock div +.sheet-rolltemplate-vehicule div.sheet-mainBlock div, +.sheet-rolltemplate-base div { width:100%; display:flex; @@ -5217,7 +5709,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock div.sheet-fondSombre, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock div.sheet-fondSombre, .sheet-rolltemplate-bande div.sheet-mainBlock div.sheet-fondSombre, -.sheet-rolltemplate-vehicule div.sheet-mainBlock div.sheet-fondSombre +.sheet-rolltemplate-vehicule div.sheet-mainBlock div.sheet-fondSombre, +.sheet-rolltemplate-base div.sheet-fondSombre { background-color:RGB(93,111,179); } @@ -5237,7 +5730,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock div:first-child, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock div:first-child, .sheet-rolltemplate-bande div.sheet-mainBlock div:first-child, -.sheet-rolltemplate-vehicule div.sheet-mainBlock div:first-child +.sheet-rolltemplate-vehicule div.sheet-mainBlock div:first-child, +.sheet-rolltemplate-base div:first-child { margin-top:0px; } @@ -5257,11 +5751,25 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock div:last-child, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock div:last-child, .sheet-rolltemplate-bande div.sheet-mainBlock div:last-child, -.sheet-rolltemplate-vehicule div.sheet-mainBlock div:last-child +.sheet-rolltemplate-vehicule div.sheet-mainBlock div:last-child, +.sheet-rolltemplate-base div:last-child { border-bottom:1px solid RGB(93,111,179); } +.sheet-rolltemplate-simple div.sheet-spaceBetween +{ + justify-content:space-between; +} + +.sheet-rolltemplate-simple a[href^="~"] +{ + background-color: RGB(91, 111, 179); + font-weight: bold; + border: 0px; + border-radius: 5px; +} + .sheet-rolltemplate-initiative div.sheet-mainBlock .sheet-titre, .sheet-rolltemplate-simple div.sheet-mainBlock .sheet-titre, .sheet-rolltemplate-distance div.sheet-mainBlock .sheet-titre, @@ -5277,7 +5785,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock .sheet-titre, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock .sheet-titre, .sheet-rolltemplate-bande div.sheet-mainBlock .sheet-titre, -.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-titre +.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-titre, +.sheet-rolltemplate-base .sheet-titre { line-height:28px; height:28px; @@ -5304,7 +5813,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock .sheet-center, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock .sheet-center, .sheet-rolltemplate-bande div.sheet-mainBlock .sheet-center, -.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-center +.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-center, +.sheet-rolltemplate-base .sheet-center { text-align:center; width:100%; @@ -5353,7 +5863,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock .sheet-textCenter, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock .sheet-textCenter, .sheet-rolltemplate-bande div.sheet-mainBlock .sheet-textCenter, -.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-textCenter +.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-textCenter, +.sheet-rolltemplate-base .sheet-textCenter { text-align:center; } @@ -5440,7 +5951,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock .sheet-W80, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock .sheet-W80, .sheet-rolltemplate-bande div.sheet-mainBlock .sheet-W80, -.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-W80 +.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-W80, +.sheet-rolltemplate-base .sheet-W80 { width:80%; } @@ -5479,7 +5991,8 @@ Templates .sheet-rolltemplate-distancePNJ div.sheet-mainBlock .sheet-W20, .sheet-rolltemplate-contactPNJ div.sheet-mainBlock .sheet-W20, .sheet-rolltemplate-bande div.sheet-mainBlock .sheet-W20, -.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-W20 +.sheet-rolltemplate-vehicule div.sheet-mainBlock .sheet-W20, +.sheet-rolltemplate-base .sheet-W20 { width:20%; } @@ -5515,7 +6028,8 @@ Templates .sheet-rolltemplate-contactPNJ .inlinerollresult, .sheet-rolltemplate-initiativePNJ .inlinerollresult, .sheet-rolltemplate-bande .inlinerollresult, -.sheet-rolltemplate-vehicule .inlinerollresult +.sheet-rolltemplate-vehicule .inlinerollresult, +.sheet-rolltemplate-base .inlinerollresult { background-color: transparent; border: none; @@ -5537,7 +6051,8 @@ Templates .sheet-rolltemplate-contactPNJ .inlinerollresult.fullcrit, .sheet-rolltemplate-initiativePNJ .inlinerollresult.fullcrit, .sheet-rolltemplate-bande .inlinerollresult.fullcrit, -.sheet-rolltemplate-vehicule .inlinerollresult.fullcrit +.sheet-rolltemplate-vehicule .inlinerollresult.fullcrit, +.sheet-rolltemplate-base .inlinerollresult.fullcrit { border: none; } @@ -5557,7 +6072,8 @@ Templates .sheet-rolltemplate-contactPNJ .inlinerollresult.fullfail, .sheet-rolltemplate-initiativePNJ .inlinerollresult.fullfail, .sheet-rolltemplate-bande .inlinerollresult.fullfail, -.sheet-rolltemplate-vehicule .inlinerollresult.fullfail +.sheet-rolltemplate-vehicule .inlinerollresult.fullfail, +.sheet-rolltemplate-base .inlinerollresult.fullfail { border: none; } @@ -5577,7 +6093,8 @@ Templates .sheet-rolltemplate-contactPNJ .inlinerollresult.importantroll, .sheet-rolltemplate-initiativePNJ .inlinerollresult.importantroll, .sheet-rolltemplate-bande .inlinerollresult.importantroll, -.sheet-rolltemplate-vehicule .inlinerollresult.importantroll +.sheet-rolltemplate-vehicule .inlinerollresult.importantroll, +.sheet-rolltemplate-base .inlinerollresult.importantroll { border: none; } \ No newline at end of file diff --git a/Knight/knight.html b/Knight/knight.html index 20b93f6aa5..b0cbda474f 100644 --- a/Knight/knight.html +++ b/Knight/knight.html @@ -4544,6 +4544,12 @@ Utiliser les capacités héroïques. +