Skip to content

Commit

Permalink
Removed duplicated entry in help menu.
Browse files Browse the repository at this point in the history
And adjusted walkthrough modal styles.
  • Loading branch information
fcastill committed Mar 10, 2017
1 parent 6d7ffd4 commit eed88f2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,43 @@
padding: 0;
}

// need to use a string as less throws an error if we try to use /deep/ directly
@deep: ~"/deep/";
@{deep} .flogo-instructions-modal {
max-width: 980px;
}

.flogo-instructions {
margin: -30px;
padding: 60px 60px 40px;
padding: 40px 40px 20px;
}

.flogo-instructions-header {
padding-bottom: 43px;
}

.flogo-instructions-panel {
display:flex;
display: flex;
flex-direction: row;
margin-left: -60px;
margin-left: -40px;
}

@media (max-width: 768px) {
.flogo-instructions {
margin: -20px;
padding: 20px 20px 10px;
}

.flogo-instructions-panel {
margin: 0;
flex-direction: column;
}

@{deep} .flogo-instructions-modal {
margin: 0 auto;
width: 95%;
}

}

.flogo-instructions-footer {
Expand Down Expand Up @@ -50,14 +74,14 @@
}

.flogo-instructions-modal-close {
color: #b5b5b5;
position: fixed;
top: 44px;
right: 44px;

height: 18px;
width: 18px;

background: #fff url('/assets/svg/flogo.close.svg') no-repeat center center;
cursor: pointer;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<modal [size]="'lg'" #instructionsModal (onClose)="onModalCloseOrDismiss($event)"
<modal cssClass="flogo-instructions-modal" #instructionsModal (onClose)="onModalCloseOrDismiss($event)"
(onDismiss)="onModalCloseOrDismiss($event)">
<div class="flogo-instructions">
<div class="flogo-instructions-header">
<h3 class="flogo-instructions-modal-title">Getting started with Flogo</h3>
<i class="flogo-instructions-modal-close" (click)="closeModal()"></i>
<i class="flogo-icon-close flogo-instructions-modal-close" (click)="closeModal()"></i>
</div>

<div class="flogo-instructions-panel">
Expand Down
5 changes: 0 additions & 5 deletions src/client/app/flogo/components/flogo.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ import { LoadingStatusService } from '../../../common/services/loading-status.se
import { LanguageService } from '../../../common/services/language.service';
import { Observable } from 'rxjs/Observable';

//todo:remove
import 'rxjs/add/operator/do';


@Component({
selector: 'flogo-app',
moduleId: module.id,
Expand Down Expand Up @@ -40,7 +36,6 @@ export class FlogoAppComponent implements OnInit {
});

this.activatedRoute.queryParams
.do(params => console.log('params', params))
.subscribe((params: Params) => this.showNav = !params['nonav']);

}
Expand Down
3 changes: 0 additions & 3 deletions src/client/app/flogo/components/navbar.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<li><a href="https://www.youtube.com/watch?v=OHX4kKVdI28&feature=youtu.be" target="_blank">{{ 'NAVBAR:HELP-GETTING-STARTED' | translate }}</a></li>
<li><a (click)="activateInstructions($event)">{{ 'NAVBAR:HELP-OPEN-INSTRUCTIONS' | translate }}</a></li>
<li><a href="https://community.tibco.com/products/project-flogo?_ga=1.213003284.1423112884.1479356766" target="_blank">{{ 'NAVBAR:HELP-COMMUNITY' | translate }}</a></li>
<li role="separator" class="divider"></li>
<li><a href="https://github.com/TIBCOSoftware/flogo" target="_blank">{{ 'NAVBAR:HELP-GETTING-STARTED' | translate }}</a></li>
<li><a href="https://community.tibco.com/exchange?_ga=1.213003284.1423112884.1479356766" target="_blank">{{ 'NAVBAR:HELP-CONNECTORS' | translate }}</a></li>
</ul>
</div>
</div>
Expand Down

0 comments on commit eed88f2

Please sign in to comment.