Skip to content

Commit

Permalink
Merge pull request #12843 from Orchal/master
Browse files Browse the repository at this point in the history
Agone-(french) - Bug fixing and Summary rolls improved
  • Loading branch information
NBrooks-Roll20 authored Apr 30, 2024
2 parents 2753ee2 + 3ca8ca5 commit e7f0434
Show file tree
Hide file tree
Showing 4 changed files with 201 additions and 137 deletions.
30 changes: 19 additions & 11 deletions Agone-(french)/agone-sheet.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
/* General */
@import url('https://fonts.googleapis.com/css?family=Merienda+One&display=swap');
.sheetform { width: 870px; }
.sheet-darkmode .sheetform { background: none; }
.charsheet, .charsheet p {
font-family: 'Merienda One', cursive;
margin-left: -10px;
}

:root {
--background-img: url('https://imgsrv.roll20.net/?src=http%3A//legdf.free.fr/src/img/roll20-2/background.png');
Expand All @@ -21,6 +15,14 @@
--wood-shadow: 0 0 4px 0 black;
}

.sheetform { width: 870px; }
.sheet-darkmode .sheetform { background: none; }
.charsheet, .charsheet p {
font-family: 'Merienda One', cursive;
margin-left: -10px;
overflow: hidden;
}

.grid {
display: grid;
grid-auto-rows: minmax(30px, auto);
Expand Down Expand Up @@ -297,12 +299,20 @@ input[type="checkbox"].switch {
position: absolute;
left: 761px;
}
.summary-weapon {
opacity: 0;
z-index: -1000;
}
.summary-weapon.active {
opacity: 1;
z-index: 1;
}
.help-menu {
position: absolute;
left: 832px;
}
.lang-en .summary-menu { left: 756px; }
.lang-en .help-menu { left: 841px; }
.lang-en .summary-menu { left: 743px; }
.lang-en .help-menu { left: 829px; }

button.pc-sub-menu {
cursor: pointer;
Expand Down Expand Up @@ -370,14 +380,12 @@ button.pc-sub-menu.active { box-shadow: inset 1px 1px 2px 2px rgba(0, 0, 0, 0.65
}
.pc-summary {
justify-items: center;
grid-template-columns: 4fr repeat(4, 0.5fr) 4fr repeat(4, 0.5fr);
grid-template-columns: 2fr repeat(4, 0.5fr) repeat(3, 1.6fr 0.4fr);
}
.pc-summary-state-lbl { grid-column: 1/6; }
.pc-summary-rolls-lbl { grid-column: 6/-1; }
.pc-summary-state-first-full { grid-column: 2/4; }
.pc-summary-state-second-full { grid-column: 4/6; }
.pc-summary-rolls-first-full { grid-column: 7/9; }
.pc-summary-rolls-second-full { grid-column: 9/-1; }
.pc-summary-weapons {
justify-items: center;
grid-template-columns: repeat(5, 1fr);
Expand Down
Loading

0 comments on commit e7f0434

Please sign in to comment.