|
@@ -1,56 +1,55 @@
|
|
|
-.weapon-spell-container{
|
|
|
+.weapon-spell-container {
|
|
|
border: solid 1px var(--border-color);
|
|
|
- // background-color: var(--field-background-color);
|
|
|
- box-shadow: var(--shadow-small);
|
|
|
- border-radius: 10px;
|
|
|
- height: 35.5rem;
|
|
|
- display:flex;
|
|
|
- flex-direction: column;
|
|
|
-}
|
|
|
-
|
|
|
-.tab-row{
|
|
|
- display: flex;
|
|
|
- flex: 0 0 3rem;
|
|
|
- > *{
|
|
|
- flex: 1 1 0;
|
|
|
- }
|
|
|
- > :first-child{
|
|
|
- border-radius: 10px 0 0 0
|
|
|
- }
|
|
|
- > :last-child{
|
|
|
- border-radius: 0 10px 0 0
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-.tab-button{
|
|
|
- height: 2.25rem;
|
|
|
- font-size: 1.375rem;
|
|
|
- font-weight: 600;
|
|
|
- color: black;
|
|
|
- border: solid 1px var(--border-color);
|
|
|
- transition: all 0.25s ease-in-out;
|
|
|
- background-color: var(--primary-color-light);
|
|
|
-
|
|
|
- &.active{
|
|
|
- height: 2.75rem;
|
|
|
- background-color: var(--primary-color);
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-weapon-table{
|
|
|
- // 100% - tabbar height - add button height
|
|
|
- height: calc(100% - 8rem);
|
|
|
-}
|
|
|
-
|
|
|
-spell-table{
|
|
|
+ // background-color: var(--field-background-color);
|
|
|
+ box-shadow: var(--shadow-small);
|
|
|
+ border-radius: 10px;
|
|
|
+ height: 35.5rem;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+}
|
|
|
+
|
|
|
+.tab-row {
|
|
|
+ display: flex;
|
|
|
+ flex: 0 0 3rem;
|
|
|
+ > * {
|
|
|
+ flex: 1 1 0;
|
|
|
+ }
|
|
|
+ > :first-child {
|
|
|
+ border-radius: 10px 0 0 0;
|
|
|
+ }
|
|
|
+ > :last-child {
|
|
|
+ border-radius: 0 10px 0 0;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.tab-button {
|
|
|
+ height: 2.25rem;
|
|
|
+ font-size: 1.375rem;
|
|
|
+ font-weight: 600;
|
|
|
+ color: black;
|
|
|
+ border: solid 1px var(--border-color);
|
|
|
+ transition: all 0.25s ease-in-out;
|
|
|
+ background-color: var(--primary-color-light);
|
|
|
+
|
|
|
+ &.active {
|
|
|
+ height: 2.75rem;
|
|
|
+ background-color: var(--primary-color);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+weapon-table {
|
|
|
// 100% - tabbar height - add button height
|
|
|
- height: calc(100% - 8rem);
|
|
|
+ height: calc(100% - 8rem);
|
|
|
}
|
|
|
|
|
|
-.button-margin{
|
|
|
- margin: 1rem 0rem;
|
|
|
+spell-table {
|
|
|
+ // 100% - tabbar height - add button height
|
|
|
+ height: calc(100% - 3rem);
|
|
|
+ // height: 100%;
|
|
|
+}
|
|
|
|
|
|
+.button-margin {
|
|
|
+ margin: 1rem 0rem;
|
|
|
}
|
|
|
|
|
|
.example-list {
|
|
@@ -63,12 +62,12 @@ spell-table{
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
-.damage-list{
|
|
|
+.damage-list {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
}
|
|
|
|
|
|
-.damage-row{
|
|
|
+.damage-row {
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
justify-content: center;
|
|
@@ -76,7 +75,6 @@ spell-table{
|
|
|
gap: 0.1rem;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.example-box {
|
|
|
padding: 20px 10px;
|
|
|
border-bottom: solid 1px #ccc;
|
|
@@ -89,7 +87,7 @@ spell-table{
|
|
|
cursor: move;
|
|
|
background: white;
|
|
|
font-size: 14px;
|
|
|
- input{
|
|
|
+ input {
|
|
|
border: none;
|
|
|
background: transparent;
|
|
|
text-align: center;
|
|
@@ -98,82 +96,58 @@ spell-table{
|
|
|
|
|
|
//////////////// list item elemens ////////////////
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
//////////////////////////////////////////////////
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-.vertical-line{
|
|
|
+.vertical-line {
|
|
|
width: 1px;
|
|
|
height: 3rem;
|
|
|
- border-left: solid 1px rgb(121, 121, 121)
|
|
|
+ border-left: solid 1px rgb(121, 121, 121);
|
|
|
}
|
|
|
|
|
|
-.weapon-type{
|
|
|
+.weapon-type {
|
|
|
width: 2rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.weapon-proficient{
|
|
|
+.weapon-proficient {
|
|
|
width: 2rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.weapon-name{
|
|
|
+.weapon-name {
|
|
|
width: 6rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.weapon-attack-bonus{
|
|
|
+.weapon-attack-bonus {
|
|
|
width: 2rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.weapon-damage{
|
|
|
+.weapon-damage {
|
|
|
width: 3rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.weapon-range{
|
|
|
+.weapon-range {
|
|
|
width: 4rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.weapon-edit{
|
|
|
+.weapon-edit {
|
|
|
width: 3rem;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
// Drag and Drop
|
|
|
|
|
|
.cdk-drag-preview {
|
|
|
box-sizing: border-box;
|
|
|
border-radius: 4px;
|
|
|
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
|
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
|
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
|
+ box-shadow:
|
|
|
+ 0 5px 5px -3px rgba(0, 0, 0, 0.2),
|
|
|
+ 0 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
|
+ 0 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
|
}
|
|
|
|
|
|
.cdk-drag-placeholder {
|
|
@@ -191,4 +165,3 @@ spell-table{
|
|
|
.example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
|
|
|
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
|
|
|
}
|
|
|
-
|