Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hrtjps committed Aug 29, 2019
1 parent 7865d72 commit c46c0af
Show file tree
Hide file tree
Showing 22 changed files with 417 additions and 251 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"bootstrap-vue": "^2.0.0-rc.11",
"chart.js": "^2.7.3",
"core-js": "^2.5.7",
"country-region-data": "^1.4.7",
"css-vars-ponyfill": "^1.15.0",
"cxlt-vue2-toastr": "^1.1.0",
"express": "^4.17.1",
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions public/img/icons/initial_brown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions public/img/icons/initial_red.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions public/img/icons/initial_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions public/img/icons/stamp_brown.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions public/img/icons/stamp_red.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions public/img/icons/stamp_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/img/sign/sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion src/assets/scss/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ h1 {
}
.seperate-bar {
background: gray;
width: 100%;
}

.modal-dialog {
Expand Down Expand Up @@ -375,6 +376,8 @@ h1 {
border: solid 1px #ebebeb;

.input-group-prepend {

border-radius: 4px;
.input-group-text {
height: 40px;
width: 46px;
Expand All @@ -383,6 +386,8 @@ h1 {
background: white;
justify-content: center;
display: flex;

border-radius: 4px;
}
}
.form-control {
Expand Down Expand Up @@ -499,7 +504,7 @@ h1 {
section {
position: unset !important;
width: 100% !important;
max-height: 170px !important;
max-height: 176px !important;
ul.nav {
width: 100%;
.nav-dropdown.open {
Expand Down
2 changes: 2 additions & 0 deletions src/components/UserSidebarEx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
font-size: 1.1rem;
margin-right: 10px;
width: 16px;
color: rgb(180, 180, 180);
text-align: center;
}
&:hover {
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions src/components/UserSidebarEx.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ export default {
{ name: "Title", icon: "fa fa-briefcase" },
{ name: "Text", icon: "fa fa-file-text" },
{ name: "Date Signed", icon: "fa fa-calendar" },
{ name: "Initials", icon: "initial.png", img_mode: true},
{ name: "Stamp", icon: "stamp.png", img_mode: true},
{ name: "Initials", icon: "initial_white.svg", img_mode: true},
{ name: "Stamp", icon: "stamp_white.svg", img_mode: true},
{ name: "Attachments", icon: "fa fa-paperclip" },
];
const items = this.navItems.map(item => {
Expand Down
90 changes: 47 additions & 43 deletions src/containers/DocumentsContainer.scss
Original file line number Diff line number Diff line change
@@ -1,50 +1,54 @@
.prepare-tool-nav {
.tool-nav-item {
width: 100%;
border-radius: 5px;
box-shadow: 0 4px 20px 0 rgba(65, 48, 42, 0.15);
background-color: rgba(255, 255, 255, 0.2);
// background-color: white;
}
}
.doc-timeline {
display: flex;
margin-left: auto;
@media (max-width: 770px) {
display: none;
.document-container{
.prepare-tool-nav {
height: calc(100% - 60px);
overflow-y: auto;
.tool-nav-item {
width: 100%;
border-radius: 5px;
box-shadow: 0 4px 20px 0 rgba(65, 48, 42, 0.15);
background-color: rgba(255, 255, 255, 0.2);
// background-color: white;
}
}
.timeline-item {
.doc-timeline {
display: flex;
align-items: center;
.timeline-title {
margin-left: 5px;
font-size: 14px;
font-weight: 500;
line-height: 1.36;
color: #2e221e;
margin-left: auto;
@media (max-width: 770px) {
display: none;
}
.header-radio-dashline {
min-width: 61px;
border-top: dashed 2px gray;
height: 2px;
align-self: center;
margin-left: 15px;
margin-right: 15px;
@media (max-width: 1400px) {
min-width: 30px;
.timeline-item {
display: flex;
align-items: center;
.timeline-title {
margin-left: 5px;
font-size: 14px;
font-weight: 500;
line-height: 1.36;
color: #2e221e;
}
@media (max-width: 1190px) {
min-width: 0px;
margin-right: 10px;
margin-left: 0;
.header-radio-dashline {
min-width: 61px;
border-top: dashed 2px gray;
height: 2px;
align-self: center;
margin-left: 15px;
margin-right: 15px;
@media (max-width: 1400px) {
min-width: 30px;
}
@media (max-width: 1190px) {
min-width: 0px;
margin-right: 10px;
margin-left: 0;
}
}
.ready {
background-color: rgba(239, 99, 76, 0.1);
color: #ef634c;
}
.waiting {
color: #9ea0a5;
}
}
.ready {
background-color: rgba(239, 99, 76, 0.1);
color: #ef634c;
}
.waiting {
color: #9ea0a5;
}
}
}
}
27 changes: 12 additions & 15 deletions src/containers/DocumentsContainer.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
<template>
<div class="app">
<div class="app-body">
<AppSidebar >
<div class="app-body document-container">
<AppSidebar fixed>
<AppLogo></AppLogo>
<div class="p-3 side-menu">
<div class="w-100">
<div class="w-100 h-100">
<b-button block variant="primary" v-on:click="gotoPage('/landing')">Cancel</b-button>

<b-button
variant="primary"
class="d-block d-sm-none"
block
style="padding-top: 0.5rem;"
v-on:click="gotoPage('/payment/pricing-plan')"
>Upgrade Your Plan</b-button>
<hr class="seperate-bar" v-if="show_tool_menu"/>
<div class="prepare-tool-nav" v-if="show_tool_menu">
<hr class="seperate-bar" />
<UserSidebarEx :navItems="nav" @dragTool="dragTool"></UserSidebarEx>
<UserSidebarEx :navItems="nav" @toggleSidebar="toggleSidebar"></UserSidebarEx>
</div>
</div>
<Logout></Logout>
Expand Down Expand Up @@ -325,19 +324,18 @@ export default {
this.$refs["welcomemodal"].show();
}
this.setOptions();
this.$refs.sidebarToggleBtn.toggle();
// this.$root.on('toggleSidebar', () => {
// this.$refs.sidebarToggleBtn.toggle();
// });
this.toggleSidebar();
},
methods: {
dragTool() {
this.$refs.sidebarToggleBtn.toggle();
toggleSidebar() {
if(window.innerWidth<500){
console.log("toggled sidebar");
this.$refs.sidebarToggleBtn.toggle();
}
},
clickMain(e) {
if (e.target.className == "main") {
this.$refs.sidebarToggleBtn.toggle();
this.toggleSidebar();
}
},
hideModal(e) {
Expand Down Expand Up @@ -414,7 +412,6 @@ export default {
},
watch: {
$route() {
// this.$refs.sidebarToggleBtn.toggle();
this.setOptions();
}
}
Expand Down
Loading

0 comments on commit c46c0af

Please sign in to comment.