foundry-vtt-system-midgard5/midgard5e/bundle.css

260 lines
5.3 KiB
CSS

.midgard5 .flexrow {
align-items: center;
}
.midgard5 h3 {
margin-top: 1rem;
}
.midgard5 .sheet.character form {
display: flex;
flex-direction: column;
}
.midgard5 .sheet.character .sheet-content {
height: 100%;
display: flex;
flex-direction: column;
}
.midgard5 .sheet.character .sheet-content .editor {
height: 100%;
}
.midgard5 .sheet.character .profile-img {
height: 64px;
width: 64px;
}
.midgard5 .sheet.character .description {
flex: 0 0 100%;
margin: 0;
}
.midgard5 .level-display {
text-align: right;
font-weight: bold;
}
.midgard5 td,
.midgard5 th {
padding: 0 0.5rem 0 0.5rem;
}
.midgard5 td.center,
.midgard5 th.center {
text-align: center;
}
.midgard5 td.fixed-value,
.midgard5 th.fixed-value {
width: 3rem;
text-align: center;
}
.midgard5 input.skill {
width: 5rem;
}
.midgard5 input.fixed {
width: 5rem;
}
.midgard5 .new-skill {
font-style: italic;
background: rgba(0, 0, 0, 0.3);
color: rgba(255, 255, 255);
}
.midgard5 .new-skill button {
background: rgba(255, 255, 255, 0.5);
}
.midgard5 button.roll-button {
background: url(/icons/svg/d20-black.svg) no-repeat;
background-size: 24px 24px;
width: 26px;
height: 26px;
}
.midgard5 span.spell-process {
color: #5d5d5d;
font-style: italic;
}
.midgard5 .filler {
flex: 1 1 auto;
}
.midgard5 .health-bar {
height: 2rem;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
flex-direction: row;
gap: 1px;
padding: 1px;
}
.midgard5 .health-bar input {
flex: 0 0 3rem;
text-align: center;
height: 100%;
background-color: #6d6c66;
color: #ffffff;
font-weight: bold;
border-radius: 0;
}
.midgard5 .health-bar .lp-bar-item-empty,
.midgard5 .health-bar .ap-bar-item-empty {
flex-grow: 1;
background-color: #c9c9c9;
}
.midgard5 .health-bar .lp-bar-item {
flex-grow: 1;
background-color: #39ea8b;
}
.midgard5 .health-bar .ap-bar-item {
flex-grow: 1;
background-color: #39a3ea;
}
.midgard5 .health-bar .negative-bar-item {
flex-grow: 1;
background-color: #ea3939;
}
.midgard5 .attributes {
display: flex;
flex-direction: row;
margin-bottom: 0.5rem;
}
.midgard5 .attributes .attribute {
flex: 0 0 7rem;
margin: 0;
border: 1px solid rgba(0, 0, 0, 0.5);
border-radius: 10;
display: flex;
flex-direction: column;
}
.midgard5 .attributes .attribute .attribute-header {
display: flex;
align-items: center;
text-align: center;
justify-content: center;
font-weight: bold;
background-color: rgba(0, 0, 0, 0.5);
color: #ffffff;
height: 2.5rem;
}
.midgard5 .attributes .attribute .attribute-main {
padding: 0.2rem;
}
.midgard5 .attributes .attribute .attribute-main .attribute-main-value {
text-align: center;
vertical-align: middle;
font-size: 2rem;
}
.midgard5 .attributes .attribute .attribute-main .attribute-main-bonus {
text-align: center;
vertical-align: middle;
font-size: 1rem;
}
.midgard5 .attributes .attribute .attribute-footer {
display: flex;
flex-direction: row;
gap: 0.3rem;
padding: 0.3rem;
background-color: rgba(0, 0, 0, 0.5);
}
.midgard5 .attributes .attribute .attribute-footer input {
flex-grow: 1;
text-align: center;
background-color: rgba(255, 255, 255, 0.8);
}
.midgard5.sheet.item form {
display: flex;
flex-direction: column;
}
.midgard5.sheet.item .sheet-content {
height: 100%;
display: flex;
flex-direction: column;
}
.midgard5.sheet.item .sheet-content .editor {
height: 100%;
}
.midgard5.sheet.item .item-img {
height: 64px;
width: 64px;
}
.midgard5.sheet.item td,
.midgard5.sheet.item th {
padding: 0 0.5rem 0 0.5rem;
}
.midgard5.sheet.item td.center,
.midgard5.sheet.item th.center {
text-align: center;
}
.midgard5.sheet.item td.fixed-value,
.midgard5.sheet.item th.fixed-value {
width: 3rem;
text-align: center;
}
.midgard5.sheet.item table.rolls-table .col-enabled {
width: 3rem;
text-align: center;
}
.midgard5.sheet.item table.rolls-table .col-create {
width: 3rem;
text-align: center;
}
.midgard5.sheet.item table.rolls-table .col-create button {
background: rgba(255, 255, 255, 0.5);
}
.midgard5.sheet.item table.rolls-table .col-delete {
width: 3rem;
text-align: center;
}
.midgard5.sheet.item table.rolls-table .col-label {
width: 6rem;
}
.m5-roll .roll-title {
text-align: center;
vertical-align: middle;
padding: 0.3rem 0 0.1rem 0;
font-weight: bold;
font-size: 1.3rem;
}
.m5-roll .roll-spell-details {
text-align: right;
padding-right: 1rem;
font-weight: bold;
}
.m5-roll .roll-result {
text-align: right;
padding-right: 1rem;
font-weight: bold;
display: flex;
flex-direction: row;
}
.m5-roll .roll-result .roll-total {
width: 100%;
}
.m5-roll .roll-result .roll-detail {
width: 100%;
margin-left: -100%;
}
.m5-roll .roll-row:not( :hover ) .roll-total {
visibility: visible;
}
.m5-roll .roll-row:not( :hover ) .roll-detail {
visibility: hidden;
}
.m5-roll .roll-row:hover .roll-total {
visibility: hidden;
}
.m5-roll .roll-row:hover .roll-detail {
visibility: visible;
}
.m5-roll .roll-ew-result-fumble {
background-color: #ca3636;
color: #ffffff;
}
.m5-roll .roll-ew-result-critical {
background-color: #cac536;
color: #000000;
}
.m5-roll .roll-ew-result-high {
background-color: #368aca;
color: #ffffff;
}
.m5-roll .roll-ew-result-fail {
background-color: #753f83;
color: #ffffff;
}
.m5-roll .roll-ew-result-pass {
background-color: #36ca58;
color: #000000;
}