.charsheet table { width: 100%; } .charsheet td { padding: 5px 2px 5px 2px; border: 0 solid #000; vertical-align: text-top; } .charsheet th { padding: 5px; border: 0 solid #000; background-color: #CCC; } .sheet-repetition div { margin: 3px; } input[type="text"], input[type="number"], select { background-color: transparent; border: 0 solid #000; border-bottom-width: 1px; border-left-width: 1px; } input[type="text"], select { width: 100%; margin: 0; } textarea { background-color: transparent; border: 0 solid #000; border-bottom-width: 1px; border-left-width: 1px; } .sheet-repetition input[type="text"] { width: 95%; } .sheet-repetition textarea { width: 95%; } .sheet-repetition select { width: 48%; } input[type="text"]:read-only, input[type="number"]:read-only { background-color: #d9d9d9; } .sheet-rolltemplate-oltree table, .sheet-rolltemplate-oltree_patrouille table, .sheet-rolltemplate-pnj_oltree table { width: 100%; background-color: #FFFFE5; border: 1px solid; color: black; font-size: 1em; font-family: "Helvetica Neue", Helvetica, sans-serif; } .sheet-rolltemplate-oltree th, .sheet-rolltemplate-oltree_patrouille th,.sheet-rolltemplate-pnj_oltree th { background-color: #4D2600; color: #ffffff; padding: 2px; border-bottom: 1px solid black; line-height: 1.2em; font-size: 1.1em; } .sheet-rolltemplate-oltree_patrouille .sheet-rt-note { text-align: center; background-color: #4D2600; color: #ffffff; padding: 2px; border-top: 1px solid black; line-height: 1.1em; font-size: 1.05em; } .sheet-rolltemplate-oltree .sheet-rt-note, .sheet-rolltemplate-pnj_oltree .sheet-rt-note { text-align: center; background-color: #4D2600; color: #ffffff; padding: 2px; border-top: 1px solid black; line-height: 1.1em; font-size: 1.05em; } /* Les onglets */ div[class^="sheet-section"] { visibility: hidden; opacity: 0; max-height: 0; overflow: hidden; } .sheet-tab { border-radius: 7px 7px 0 0; } input.sheet-tab { width: 70px; height: 20px; cursor: pointer; position: relative; opacity: 0; z-index: 9999; } input.sheet-tab:first-child { margin-left:0px; } span.sheet-tab { text-align: center; display: inline-block; font-size: 13px; background: #000; color: #FFF; font-weight: bold; width: 100px; height: 20px; cursor: pointer; position: relative; margin-left: -75px; } input.sheet-tab::before { content: attr(title); text-align: center; display: inline-block; width: 100%; height: 100%; background: #CCC; color: #FFF; font-weight: bold; } input.sheet-tab:checked::before { background: #000; color: #FFF; } .sheet-header-row { width: 100%; background-color: #CCC; color: #FFF; padding-left: 10px; min-height: 1em; margin-bottom: 0.5em; } input.sheet-tab1:checked ~ div.sheet-section-core, input.sheet-tab2:checked ~ div.sheet-section-pnj, input.sheet-tab3:checked ~ div.sheet-section-fortin{ max-height: 999999px; visibility: visible; opacity: 1; transition: opacity 0.5s linear 0s; overflow: hidden; } input.sheet-tab1:checked + span.sheet-tab1, input.sheet-tab2:checked + span.sheet-tab2, input.sheet-tab3:checked + span.sheet-tab3{ background: #ccc; color: #000; font-weight: bold; } button[type="roll"].sheet-pour-mj{ color: #f00; }