Fix attack creation from items. Make compact mode prettier

This commit is contained in:
Chris B
2017-08-07 10:21:50 -04:00
parent 9db467062a
commit 7755fca8bb
2 changed files with 33 additions and 16 deletions
+17
View File
@@ -3957,6 +3957,9 @@ input[type="text"].sheet-skill-conds {
.sheet-extra-damage-section .sheet-table-cell {
padding-right: .5em;
}
.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-section:not(.sheet-section-npc) > .sheet-h2-section:not(.sheet-wide-readonly).sheet-extra-damage-section {
width: 100%;
}
/* 3way */
/* readonly / edit mode button is reverse unchecked looks like checked */
/* button */
@@ -4179,6 +4182,11 @@ also if multiple repeating sects inside h2 they are 100% wide and only h2 is nar
display:block;
float:left;
}
.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-col.sheet-equipment {
display: flex;
float: none;
width: 100% !important;
}
.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-flex-row {
display: flex !important;
flex-flow: row nowrap;
@@ -4490,6 +4498,15 @@ also if multiple repeating sects inside h2 they are 100% wide and only h2 is nar
display:table;
flex-basis:100%;
}
.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-tab99:checked ~ .sheet-section-equipment .sheet-col.sheet-col2.sheet-worn-items {
display: block;
width: 100%;
}
.sheet-readonly-show:not(:checked) ~ .sheet-main .sheet-tab99:checked ~ .sheet-section-equipment .sheet-col.sheet-col2.sheet-worn-items .sheet-table {
display: inline-block;
width: calc(50% - 2px);
}
/* in case flex not supported: */
.sheet-h2-section.sheet-worn-items .sheet-table:first-child{
margin-right:.125em;
File diff suppressed because one or more lines are too long