Clean up automator Vue components and CSS

This commit is contained in:
SpectralFlame 2023-04-24 22:56:55 -05:00 committed by cyip92
parent c759bed76f
commit 9aa7175be0
3 changed files with 81 additions and 90 deletions

View File

@ -37,87 +37,6 @@
--color-blockmator-editor-background: black;
}
.l-automator-points-list-container {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 1rem;
-webkit-user-select: none;
user-select: none;
}
.c-automator-points-list-col {
position: relative;
text-align: left;
border: var(--var-border-width, 0.15rem) solid var(--color-text);
border-radius: var(--var-border-radius, 0.5rem);
padding: 1rem;
}
.l-automator-points-list-side-col {
display: flex;
flex-direction: column;
width: 35%;
justify-content: space-between;
}
.l-automator-points-list-center-col {
display: flex;
flex-direction: column;
width: 25%;
justify-content: space-between;
}
.c-automator-points-list-cell {
overflow: hidden;
width: 100%;
height: 48%;
position: relative;
text-align: left;
border: var(--var-border-width, 0.15rem) solid var(--color-text);
border-radius: var(--var-border-radius, 0.5rem);
padding: 1rem;
}
.c-automator-points-list-symbol {
display: flex;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
justify-content: center;
align-items: center;
font-size: 15rem;
opacity: 0.2;
text-shadow: 0 0 2rem;
pointer-events: none;
}
.c-automator-points-list-perk-label {
display: inline-block;
width: 3rem;
max-width: 3rem;
font-weight: bold;
}
.c-automator-points-list-single-entry {
position: relative;
}
.c-automator-points-list-ap {
position: absolute;
right: 0;
opacity: 0.8;
}
.c-automator-points-list-ap--large {
position: absolute;
right: 1rem;
font-size: 1.8rem;
opacity: 0.6;
}
.l-automator-pane {
display: flex;
flex-direction: column;
@ -157,12 +76,6 @@
padding: 0.3rem 0.8rem;
}
.l-automator__button--corner {
position: absolute;
top: 0;
right: 0;
}
.c-automator-editor__active-line {
background: var(--color-automator-active-line-background);
outline: 0.1rem solid var(--color-automator-active-line-outline);

View File

@ -16,9 +16,6 @@ export default {
};
},
computed: {
fullScreen() {
return this.$viewModel.tabs.reality.automator.fullScreen;
},
currentScriptID: {
get() {
return this.$viewModel.tabs.reality.automator.editorScriptID;

View File

@ -109,6 +109,87 @@ export default {
</template>
<style scoped>
.l-automator-points-list-container {
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 1rem;
-webkit-user-select: none;
user-select: none;
}
.c-automator-points-list-col {
position: relative;
text-align: left;
border: var(--var-border-width, 0.15rem) solid var(--color-text);
border-radius: var(--var-border-radius, 0.5rem);
padding: 1rem;
}
.l-automator-points-list-side-col {
display: flex;
flex-direction: column;
width: 35%;
justify-content: space-between;
}
.l-automator-points-list-center-col {
display: flex;
flex-direction: column;
width: 25%;
justify-content: space-between;
}
.c-automator-points-list-cell {
overflow: hidden;
width: 100%;
height: 48%;
position: relative;
text-align: left;
border: var(--var-border-width, 0.15rem) solid var(--color-text);
border-radius: var(--var-border-radius, 0.5rem);
padding: 1rem;
}
.c-automator-points-list-symbol {
display: flex;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
justify-content: center;
align-items: center;
font-size: 15rem;
opacity: 0.2;
text-shadow: 0 0 2rem;
pointer-events: none;
}
.c-automator-points-list-perk-label {
display: inline-block;
width: 3rem;
max-width: 3rem;
font-weight: bold;
}
.c-automator-points-list-single-entry {
position: relative;
}
.c-automator-points-list-ap {
position: absolute;
right: 0;
opacity: 0.8;
}
.c-automator-points-list-ap--large {
position: absolute;
right: 1rem;
font-size: 1.8rem;
opacity: 0.6;
}
.l-header {
font-size: 2rem;
}