Skip to content

Commit

Permalink
MappingEditor: Indicate saved/unsaved mapping (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Oct 8, 2018
1 parent cfcb76d commit daa5c35
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/MappingEditor.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<div id="mappingEditor">
<div
id="mappingEditor"
:class="canSaveMapping() ? 'mappingEditor-notSaved' : (canExportMapping() ? 'mappingEditor-saved' : 'mappingEditor-cantSave')">
<!-- Minimizer allows component to get minimized -->
<minimizer
ref="minimizer"
Expand Down Expand Up @@ -372,6 +374,15 @@ export default {
overflow: hidden;
display: flex;
}
.mappingEditor-cantSave {
border: 1px solid #ffffff00;
}
.mappingEditor-notSaved {
border: 1px solid #ff3333cc;
}
.mappingEditor-saved {
border: 1px solid #33ff33cc;
}
.mappingTypeSelection {
flex: none;
position: relative;
Expand Down

0 comments on commit daa5c35

Please # to comment.