-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from Arattian/dev-feature
Selected rows delete feature added, resizable sidebar. Some bugfixes.
- Loading branch information
Showing
43 changed files
with
1,297 additions
and
869 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,133 +1,185 @@ | ||
<template lang="pug"> | ||
#app | ||
Sidebar(class="sidebar") | ||
Main(class="main") | ||
rs-panes( | ||
split-to="columns" | ||
:allow-resize="true" | ||
:max-size="500" | ||
:min-size="150" | ||
:size="150" | ||
resizerColor="#121820" | ||
:resizerBorderThickness="1" | ||
) | ||
Sidebar(class="sidebar" slot="firstPane") | ||
Main(class="main" slot="secondPane") | ||
TableModals | ||
RecordModals | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { Vue, Component } from 'vue-property-decorator'; | ||
import { Getter, Mutation } from 'vuex-class'; | ||
import Main from './containers/Main.vue'; | ||
import Sidebar from './containers/Sidebar.vue'; | ||
import TableModals from './containers/TableModals.vue'; | ||
import RecordModals from './containers/RecordModals.vue'; | ||
@Component({ | ||
name: 'app', | ||
components: { | ||
Main, | ||
Sidebar, | ||
TableModals, | ||
RecordModals, | ||
}, | ||
}) | ||
export default class App extends Vue { | ||
} | ||
import { Vue, Component } from 'vue-property-decorator'; | ||
import { Getter, Mutation } from 'vuex-class'; | ||
import Main from './containers/Main.vue'; | ||
import Sidebar from './containers/Sidebar.vue'; | ||
import TableModals from './containers/TableModals.vue'; | ||
import RecordModals from './containers/RecordModals.vue'; | ||
@Component({ | ||
name: 'app', | ||
components: { | ||
Main, | ||
Sidebar, | ||
TableModals, | ||
RecordModals, | ||
}, | ||
}) | ||
export default class App extends Vue { | ||
} | ||
</script> | ||
|
||
<style lang="stylus"> | ||
@import url('https://fonts.googleapis.com/css?family=Roboto') | ||
* | ||
padding 0 | ||
margin 0 | ||
font-family 'Roboto', sans-serif | ||
box-sizing border-box | ||
*::-webkit-scrollbar | ||
width 5px | ||
background transparent | ||
*::-webkit-scrollbar-thumb | ||
background #484d54 | ||
border-radius 2px | ||
html,body | ||
height 100% | ||
width 100% | ||
font-size 14px | ||
overflow hidden | ||
::placeholder | ||
opacity 0.5 | ||
#app | ||
display flex | ||
// customizing some imported components and theme selectors | ||
input[type="text"]:disabled { | ||
color: #aaa !important; | ||
} | ||
.el-checkbox__inner | ||
border 1px solid #307CB0 !important; | ||
.el-popover | ||
border 1px solid #aaa !important | ||
.popper__arrow | ||
display none !important | ||
.el-input__inner | ||
background-color #2c323a !important | ||
.el-tag | ||
background #121820 !important | ||
color #fff !important | ||
.el-tag__close | ||
color #fff !important | ||
background none !important | ||
.cell | ||
text-overflow ellipsis | ||
white-space nowrap !important | ||
.el-tabs__header | ||
background none !important | ||
.el-color-picker__trigger | ||
border none !important | ||
.el-color-picker__color | ||
border 1px solid #121820 !important | ||
// table row height | ||
.el-table .cell | ||
line-height 20px !important | ||
.el-table, .el-list | ||
user-select none !important | ||
td | ||
cursor pointer | ||
.el-input__inner, .el-input | ||
border-radius 0px !important | ||
.jsoneditor | ||
border none !important | ||
height 100% !important | ||
.jsoneditor-field | ||
color #fff !important | ||
// jsoneditor KEY field hover background | ||
.jsoneditor-field:hover,.jsoneditor-field:focus | ||
color #fff !important | ||
background #191d25 !important | ||
border 1px solid #191d25 !important | ||
.jsoneditor-string | ||
color #46b7ff !important | ||
.jsoneditor-menu | ||
background none !important | ||
border none !important | ||
.jsoneditor-contextmenu .jsoneditor-menu | ||
background #fff !important | ||
.jsoneditor-contextmenu:active | ||
background none !important | ||
.jsoneditor-selected | ||
background none !important | ||
.jsoneditor-tree button | ||
color #000 !important | ||
// jsoneditor VALUE field hover background | ||
.jsoneditor-value:hover,.jsoneditor-value:focus | ||
color #fff !important | ||
background #191d25 !important | ||
border 1px solid #191d25 !important | ||
.jsoneditor-tree button:focus | ||
background none !important | ||
outline none !important | ||
.jsoneditor-highlight | ||
background none !important | ||
.jsoneditor-search input | ||
background #2c323a !important | ||
color #fff !important | ||
.jsoneditor-search div.jsoneditor-frame | ||
background #2c323a !important | ||
color #fff !important | ||
border-radius 2px !important | ||
border 1px solid #121820 !important | ||
.jsoneditor-next | ||
display none !important | ||
.jsoneditor-previous | ||
display none !important | ||
@import url('https://fonts.googleapis.com/css?family=Roboto') | ||
* | ||
padding 0 | ||
margin 0 | ||
font-family 'Roboto', sans-serif | ||
box-sizing border-box | ||
*::-webkit-scrollbar | ||
width 5px | ||
background transparent | ||
*::-webkit-scrollbar-thumb | ||
background #484d54 | ||
border-radius 2px | ||
html, body | ||
height 100% | ||
width 100% | ||
font-size 14px | ||
overflow hidden | ||
::placeholder | ||
opacity .5 | ||
#app | ||
display flex | ||
width 100% | ||
// customizing some imported components and theme selectors | ||
input[type='text']:disabled | ||
color #aaa !important | ||
.Resizer | ||
z-index 1 !important | ||
.el-dialog__body | ||
z-index 10000 !important | ||
.el-checkbox__inner | ||
border 1px solid #307CB0 !important | ||
.el-popover | ||
border 1px solid #aaa !important | ||
.popper__arrow | ||
display none !important | ||
.el-input__inner | ||
background-color #2c323a !important | ||
.el-tag | ||
background #121820 !important | ||
color #fff !important | ||
.el-tag__close | ||
color #fff !important | ||
background none !important | ||
.cell | ||
text-overflow ellipsis | ||
white-space nowrap !important | ||
.el-tabs__header | ||
background none !important | ||
.el-color-picker__trigger | ||
border none !important | ||
.el-color-picker__color | ||
border 1px solid #121820 !important | ||
// table row height | ||
.el-table .cell | ||
line-height 20px !important | ||
.el-table, .el-list | ||
user-select none !important | ||
td | ||
cursor pointer | ||
.el-input__inner, .el-input | ||
border-radius 0 !important | ||
.jsoneditor | ||
border none !important | ||
height 100% !important | ||
.jsoneditor-field | ||
color #fff !important | ||
// jsoneditor KEY field hover background | ||
.jsoneditor-field:hover, .jsoneditor-field:focus | ||
color #fff !important | ||
background #191d25 !important | ||
border 1px solid #191d25 !important | ||
.jsoneditor-string | ||
color #46b7ff !important | ||
.jsoneditor-menu | ||
background none !important | ||
border none !important | ||
.jsoneditor-contextmenu .jsoneditor-menu | ||
background #fff !important | ||
.jsoneditor-contextmenu:active | ||
background none !important | ||
.jsoneditor-selected | ||
background none !important | ||
.jsoneditor-tree button | ||
color #000 !important | ||
// jsoneditor VALUE field hover background | ||
.jsoneditor-value:hover, .jsoneditor-value:focus | ||
color #fff !important | ||
background #191d25 !important | ||
border 1px solid #191d25 !important | ||
.jsoneditor-tree button:focus | ||
background none !important | ||
outline none !important | ||
.jsoneditor-highlight | ||
background none !important | ||
.jsoneditor-search input | ||
background #2c323a !important | ||
color #fff !important | ||
.jsoneditor-search div.jsoneditor-frame | ||
background #2c323a !important | ||
color #fff !important | ||
border-radius 2px !important | ||
border 1px solid #121820 !important | ||
.jsoneditor-next | ||
display none !important | ||
.jsoneditor-previous | ||
display none !important | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.