#49 Ziehbare Items
Changes: + Items können jetzt zwischen Charakteren ausgetauscht werden (Nur Gegenstände, keine Zauber etc.) + Items können Sortiert werden durch verziehen und droppen Sneak Change: + Löschen button für mods hinzugefügt + ESLint und Prettier hinzugefügt, sorry für all die changes :D
This commit is contained in:
+305
-305
@@ -3,366 +3,366 @@
|
||||
@attributeBorderColor: rgba(0, 0, 0, 0.5);
|
||||
|
||||
.midgard5 {
|
||||
.flexbox {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexbox {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexcolumn {
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flexcolumn {
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.flexcolumn-1 {
|
||||
flex-basis: 100%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexcolumn-1 {
|
||||
flex-basis: 100%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexcolumn-2 {
|
||||
flex-basis: 50%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexcolumn-2 {
|
||||
flex-basis: 50%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexcolumn-3 {
|
||||
flex-basis: 33%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexcolumn-3 {
|
||||
flex-basis: 33%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexcolumn-4 {
|
||||
flex-basis: 25%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexcolumn-4 {
|
||||
flex-basis: 25%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexcolumn-5 {
|
||||
flex-basis: 20%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.flexcolumn-5 {
|
||||
flex-basis: 20%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.flexpart {
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
margin: 2px;
|
||||
background-color: beige;
|
||||
border-collapse: separate;
|
||||
border-radius: 10px;
|
||||
border: 2px solid black;
|
||||
}
|
||||
.flexpart {
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
margin: 2px;
|
||||
background-color: beige;
|
||||
border-collapse: separate;
|
||||
border-radius: 10px;
|
||||
border: 2px solid black;
|
||||
}
|
||||
|
||||
.flexpart-header {
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
text-align: center;
|
||||
color: black;
|
||||
}
|
||||
.flexpart-header {
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
text-align: center;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.flexpart-icon {
|
||||
height: 2rem;
|
||||
float: left;
|
||||
border: 0px solid transparent;
|
||||
}
|
||||
.flexpart-icon {
|
||||
height: 2rem;
|
||||
float: left;
|
||||
border: 0px solid transparent;
|
||||
}
|
||||
|
||||
.flexrow {
|
||||
align-items: center;
|
||||
}
|
||||
.flexrow {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h3 {
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
background-color: #eeede0;
|
||||
color: black;
|
||||
border-collapse: separate;
|
||||
border: 2px solid black;
|
||||
border-radius: 10px;
|
||||
}
|
||||
h3 {
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
background-color: #eeede0;
|
||||
color: black;
|
||||
border-collapse: separate;
|
||||
border: 2px solid black;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.profile-img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
border: 0px solid black;
|
||||
}
|
||||
.profile-img {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
border: 0px solid black;
|
||||
}
|
||||
|
||||
.sheet.character {
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.sheet.character {
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.sheet-content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.sheet-content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.editor {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.editor {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
flex: 0 0 100%;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
.description {
|
||||
flex: 0 0 100%;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sheet-navigation {
|
||||
margin: 4px 0;
|
||||
background-color: lightgrey;
|
||||
border-top: 2px solid black;
|
||||
border-bottom: 2px solid black;
|
||||
}
|
||||
.sheet-navigation {
|
||||
margin: 4px 0;
|
||||
background-color: lightgrey;
|
||||
border-top: 2px solid black;
|
||||
border-bottom: 2px solid black;
|
||||
}
|
||||
|
||||
.sheet-navigation .item {
|
||||
padding: 8px 12px 8px 12px;
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
}
|
||||
.sheet-navigation .item {
|
||||
padding: 8px 12px 8px 12px;
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
font-size: large;
|
||||
}
|
||||
|
||||
.sheet-navigation .active {
|
||||
background-color: darkgrey;
|
||||
}
|
||||
.sheet-navigation .active {
|
||||
background-color: darkgrey;
|
||||
}
|
||||
|
||||
.level-display {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
.level-display {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table {
|
||||
background-color: beige;
|
||||
border: 0px solid transparent;
|
||||
&.bordered {
|
||||
border-collapse: separate;
|
||||
border: 2px solid black;
|
||||
border-radius: 10px;
|
||||
font-size: larger;
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
table {
|
||||
background-color: beige;
|
||||
border: 0px solid transparent;
|
||||
&.bordered {
|
||||
border-collapse: separate;
|
||||
border: 2px solid black;
|
||||
border-radius: 10px;
|
||||
font-size: larger;
|
||||
font-weight: bolder;
|
||||
}
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0 0.5rem 0 0.5rem;
|
||||
text-align: left;
|
||||
td,
|
||||
th {
|
||||
padding: 0 0.5rem 0 0.5rem;
|
||||
text-align: left;
|
||||
|
||||
&.center {
|
||||
text-align: center;
|
||||
}
|
||||
&.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.fixed-value {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
&.fixed-value {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.attribute {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
&.attribute {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&.attribute-value {
|
||||
background: url(/icons/svg/d20-grey.svg) no-repeat;
|
||||
background-size: 50px 50px;
|
||||
background-position: center;
|
||||
color: black;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
&.attribute-value {
|
||||
background: url(/icons/svg/d20-grey.svg) no-repeat;
|
||||
background-size: 50px 50px;
|
||||
background-position: center;
|
||||
color: black;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
&.title {
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
&.title {
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
text-align: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
&.highlight {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
&.highlight {
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
.table-icon {
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
float: left;
|
||||
border: 0px solid transparent;
|
||||
}
|
||||
.table-icon {
|
||||
height: 1rem;
|
||||
width: 1rem;
|
||||
float: left;
|
||||
border: 0px solid transparent;
|
||||
}
|
||||
|
||||
input {
|
||||
border: 0px solid black;
|
||||
}
|
||||
input {
|
||||
border: 0px solid black;
|
||||
}
|
||||
|
||||
input.skill {
|
||||
width: 5rem;
|
||||
}
|
||||
input.skill {
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
input.fixed {
|
||||
width: 5rem;
|
||||
}
|
||||
input.fixed {
|
||||
width: 5rem;
|
||||
}
|
||||
|
||||
input.checkbox {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
input.checkbox {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.new-skill {
|
||||
font-style: italic;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
color: rgba(255, 255, 255);
|
||||
}
|
||||
.new-skill {
|
||||
font-style: italic;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
color: rgba(255, 255, 255);
|
||||
}
|
||||
|
||||
.roll-button {
|
||||
background: url(/icons/svg/d20-black.svg) no-repeat;
|
||||
background-size: 1rem 1rem;
|
||||
border: #000000 solid 0px;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
.roll-button {
|
||||
background: url(/icons/svg/d20-black.svg) no-repeat;
|
||||
background-size: 1rem 1rem;
|
||||
border: #000000 solid 0px;
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
|
||||
.wide-button {
|
||||
margin: 0.25rem 0;
|
||||
}
|
||||
.wide-button {
|
||||
margin: 0.25rem 0;
|
||||
}
|
||||
|
||||
.learn-button {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 1rem;
|
||||
width: 4rem;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
font-size: smaller;
|
||||
text-align: center;
|
||||
line-height: 0.8rem;
|
||||
}
|
||||
.learn-button {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 1rem;
|
||||
width: 4rem;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
font-size: smaller;
|
||||
text-align: center;
|
||||
line-height: 0.8rem;
|
||||
}
|
||||
|
||||
span.spell-process {
|
||||
color: rgb(93, 93, 93);
|
||||
font-style: italic;
|
||||
}
|
||||
span.spell-process {
|
||||
color: rgb(93, 93, 93);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.filler {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.filler {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.health-bar {
|
||||
height: 1rem;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1px;
|
||||
padding: 1px;
|
||||
//align-items: stretch;
|
||||
.health-bar {
|
||||
height: 1rem;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1px;
|
||||
padding: 1px;
|
||||
//align-items: stretch;
|
||||
|
||||
input,
|
||||
.max-value {
|
||||
flex: 0 0 2rem;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
background-color: rgba(109, 108, 102, 1);
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-weight: bold;
|
||||
border-radius: 0;
|
||||
}
|
||||
input,
|
||||
.max-value {
|
||||
flex: 0 0 2rem;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
background-color: rgba(109, 108, 102, 1);
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-weight: bold;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.lp-bar-item-empty,
|
||||
.ap-bar-item-empty {
|
||||
flex-grow: 1;
|
||||
background-color: white;
|
||||
}
|
||||
.lp-bar-item-empty,
|
||||
.ap-bar-item-empty {
|
||||
flex-grow: 1;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.lp-bar-item {
|
||||
flex-grow: 1;
|
||||
background-color: lightgreen;
|
||||
}
|
||||
.lp-bar-item {
|
||||
flex-grow: 1;
|
||||
background-color: lightgreen;
|
||||
}
|
||||
|
||||
.ap-bar-item {
|
||||
flex-grow: 1;
|
||||
background-color: lightblue;
|
||||
}
|
||||
.ap-bar-item {
|
||||
flex-grow: 1;
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
.negative-bar-item {
|
||||
flex-grow: 1;
|
||||
background-color: red;
|
||||
}
|
||||
}
|
||||
.negative-bar-item {
|
||||
flex-grow: 1;
|
||||
background-color: red;
|
||||
}
|
||||
}
|
||||
|
||||
.biography {
|
||||
margin: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
height: 180px;
|
||||
background-color: #eaead7;
|
||||
.editor {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.biography {
|
||||
margin: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
height: 180px;
|
||||
background-color: #eaead7;
|
||||
.editor {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.attributes {
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 0.5rem;
|
||||
background-color: beige;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
.attributes {
|
||||
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 0.5rem;
|
||||
background-color: beige;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
|
||||
.attribute {
|
||||
flex: 0 0 6rem;
|
||||
margin: 0;
|
||||
border: 1px solid @attributeBorderColor;
|
||||
//border-bottom: none;
|
||||
border-radius: 10;
|
||||
.attribute {
|
||||
flex: 0 0 6rem;
|
||||
margin: 0;
|
||||
border: 1px solid @attributeBorderColor;
|
||||
//border-bottom: none;
|
||||
border-radius: 10;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.attribute-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
.attribute-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
|
||||
font-weight: bold;
|
||||
background-color: @attributeBorderColor;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
font-weight: bold;
|
||||
background-color: @attributeBorderColor;
|
||||
color: rgba(255, 255, 255, 1);
|
||||
|
||||
//font-size: 1.0rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
//font-size: 1.0rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
|
||||
.attribute-main {
|
||||
padding: 0.2rem;
|
||||
.attribute-main {
|
||||
padding: 0.2rem;
|
||||
|
||||
.attribute-main-value {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-size: 2rem;
|
||||
}
|
||||
.attribute-main-value {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.attribute-main-bonus {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
.attribute-main-bonus {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.attribute-footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 0.3rem;
|
||||
padding: 0.3rem;
|
||||
background-color: @attributeBorderColor;
|
||||
.attribute-footer {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 0.3rem;
|
||||
padding: 0.3rem;
|
||||
background-color: @attributeBorderColor;
|
||||
|
||||
input {
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
input {
|
||||
flex-grow: 1;
|
||||
text-align: center;
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,58 +1,59 @@
|
||||
// main: midgard5.less
|
||||
|
||||
.midgard5.sheet.item {
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.sheet-content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.editor {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.item-img {
|
||||
height: 64px;
|
||||
width: 64px;
|
||||
}
|
||||
.midgard5.sheet.item {
|
||||
form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.sheet-content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.editor {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.item-img {
|
||||
height: 64px;
|
||||
width: 64px;
|
||||
}
|
||||
|
||||
td, th {
|
||||
padding: 0 0.5rem 0 0.5rem;
|
||||
td,
|
||||
th {
|
||||
padding: 0 0.5rem 0 0.5rem;
|
||||
|
||||
&.center {
|
||||
text-align: center;
|
||||
}
|
||||
&.center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.fixed-value {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
&.fixed-value {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
table.rolls-table {
|
||||
.col-enabled {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
table.rolls-table {
|
||||
.col-enabled {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.col-create {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
|
||||
button {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
}
|
||||
.col-create {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
|
||||
.col-delete {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
button {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.col-label {
|
||||
width: 6rem;
|
||||
}
|
||||
}
|
||||
.col-delete {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.col-label {
|
||||
width: 6rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+69
-69
@@ -1,84 +1,84 @@
|
||||
.m5-roll {
|
||||
.roll-title {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 0.3rem 0 0.1rem 0;
|
||||
font-weight: bold;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
.roll-title {
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 0.3rem 0 0.1rem 0;
|
||||
font-weight: bold;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
.roll-description-header {
|
||||
text-align: start;
|
||||
vertical-align: middle;
|
||||
padding: 0.3rem 0 0.1rem 0;
|
||||
font-weight: bold;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
.roll-description-header {
|
||||
text-align: start;
|
||||
vertical-align: middle;
|
||||
padding: 0.3rem 0 0.1rem 0;
|
||||
font-weight: bold;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.roll-spell-details {
|
||||
text-align: right;
|
||||
padding-right: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.roll-spell-details {
|
||||
text-align: right;
|
||||
padding-right: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.roll-result {
|
||||
text-align: right;
|
||||
padding-right: 1rem;
|
||||
font-weight: bold;
|
||||
.roll-result {
|
||||
text-align: right;
|
||||
padding-right: 1rem;
|
||||
font-weight: bold;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.roll-total {
|
||||
width: 100%;
|
||||
}
|
||||
.roll-total {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.roll-detail {
|
||||
width: 100%;
|
||||
margin-left: -100%;
|
||||
}
|
||||
}
|
||||
.roll-detail {
|
||||
width: 100%;
|
||||
margin-left: -100%;
|
||||
}
|
||||
}
|
||||
|
||||
.roll-row:not(:hover) {
|
||||
.roll-total {
|
||||
visibility: visible;
|
||||
}
|
||||
.roll-detail {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
.roll-row:not(:hover) {
|
||||
.roll-total {
|
||||
visibility: visible;
|
||||
}
|
||||
.roll-detail {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.roll-row:hover {
|
||||
.roll-total {
|
||||
visibility: hidden;
|
||||
}
|
||||
.roll-detail {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
.roll-row:hover {
|
||||
.roll-total {
|
||||
visibility: hidden;
|
||||
}
|
||||
.roll-detail {
|
||||
visibility: visible;
|
||||
}
|
||||
}
|
||||
|
||||
.roll-ew-result-fumble {
|
||||
background-color: rgb(202, 54, 54, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
.roll-ew-result-fumble {
|
||||
background-color: rgb(202, 54, 54, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.roll-ew-result-critical {
|
||||
background-color: rgb(202, 197, 54, 0.5);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
.roll-ew-result-critical {
|
||||
background-color: rgb(202, 197, 54, 0.5);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.roll-ew-result-high {
|
||||
background-color: rgb(54, 138, 202, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
.roll-ew-result-high {
|
||||
background-color: rgb(54, 138, 202, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.roll-ew-result-fail {
|
||||
background-color: rgb(117, 63, 131, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
.roll-ew-result-fail {
|
||||
background-color: rgb(117, 63, 131, 0.5);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.roll-ew-result-pass {
|
||||
background-color: rgb(54, 202, 88, 0.5);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
.roll-ew-result-pass {
|
||||
background-color: rgb(54, 202, 88, 0.5);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user