mirror of
https://github.com/harrisonfishco/lu-behaviors.git
synced 2025-12-16 18:24:08 -06:00
Removed Unused Code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const createCard = (callback = null) => {
|
||||
const background = document.createElement('div')
|
||||
background.classList.add('edit-node-background')
|
||||
background.classList.add('card-background')
|
||||
document.body.appendChild(background)
|
||||
|
||||
background.addEventListener('click', e => {
|
||||
@@ -12,7 +12,7 @@ const createCard = (callback = null) => {
|
||||
})
|
||||
|
||||
const card = document.createElement('div')
|
||||
card.classList.add('edit-node-card')
|
||||
card.classList.add('card')
|
||||
background.appendChild(card)
|
||||
return [background, card]
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.edit-node-background {
|
||||
.card-background {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
@@ -29,7 +29,7 @@ body {
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.edit-node-background > .edit-node-card {
|
||||
.card-background > .card {
|
||||
width: 750px;
|
||||
margin-left: calc(-750px / 2);
|
||||
height: 500px;
|
||||
@@ -43,11 +43,11 @@ body {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.edit-node-param, .edit-node-info, .edit-node-type, .edit-node-id, .edit-node-effectID-div, .card-section-field-holder {
|
||||
.edit-node-type, .card-section-field-holder {
|
||||
padding: 8px 0px;
|
||||
}
|
||||
|
||||
.edit-node-param-value, .edit-node-id-value, .edit-node-effectID-input, .card-section-field-input {
|
||||
.card-section-field-input {
|
||||
float: right;
|
||||
text-align: right;
|
||||
width: 50px;
|
||||
|
||||
Reference in New Issue
Block a user