Skip to content

Commit

Permalink
Merge pull request #410 from TIBCOSoftware/401/fix-font-issues
Browse files Browse the repository at this point in the history
Fix momentary issue with missing labels in flow details page
  • Loading branch information
fcastill authored May 19, 2017
2 parents c7c302f + b75a2fc commit c5c6a5e
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@
@color-error: @color-danger;
@color-error--selected: #a23746;

@font-face{
font-family: SourceSansPro-Regular;
src: url('/assets/fonts/SourceSansPro-Regular.ttf'),
url('/assets/fonts/SourceSansPro-Regular.eot');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: SourceSansPro-Bold;
src: url('/assets/fonts/SourceSansPro-Bold.ttf'),
url('/assets/fonts/SourceSansPro-Bold.eot');
font-weight: normal;
font-style: normal;
}
@font-face{
font-family: SourceSansPro-Semibold;
src: url('/assets/fonts/SourceSansPro-Semibold.ttf');
font-weight: normal;
font-style: normal;
}

@diagram-node-height: 112px;
@diagram-placeholder-node-height: 70px;
@diagram-row-height: 140px;
Expand Down Expand Up @@ -79,7 +58,7 @@

white-space: normal;

font-family: SourceSansPro-Regular;
font-family: 'SourceSansPro-Regular';
font-size: @diagram-node-font-size-large;
line-height: 1;
letter-spacing: 1px;
Expand Down Expand Up @@ -135,7 +114,7 @@

&.flogo-flows-detail-diagram-node-has-warn {
.flogo-flows-detail-diagram-node-detail-description {
font-family: SourceSansPro-Regular;
font-family: 'SourceSansPro-Regular';
font-size: @diagram-node-font-size-small;
color: #fff;
}
Expand Down Expand Up @@ -351,7 +330,7 @@
}

.flogo-flows-detail-diagram-node-detail-title{
font-family: SourceSansPro-Bold;
font-family: 'SourceSansPro-Bold';
font-weight: 600;
padding-bottom: 10px;
letter-spacing: .4px;
Expand All @@ -372,7 +351,7 @@
}
&.flogo-flows-detail-diagram-node-has-warn {
.flogo-flows-detail-diagram-node-detail-description {
font-family: SourceSansPro-Semibold;
font-family: 'SourceSansPro-Semibold';
font-size: 11px;
color: #ff9f00;
}
Expand Down
23 changes: 23 additions & 0 deletions src/client/assets/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,29 @@ body {
font-weight: 300;
}

@font-face{
font-family: 'SourceSansPro-Regular';
src: url('fonts/SourceSansPro-Regular.eot');
src: url('fonts/SourceSansPro-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face{
font-family: 'SourceSansPro-Bold';
src: url('fonts/SourceSansPro-Bold.eot');
src: url('fonts/SourceSansPro-Bold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face{
font-family: 'SourceSansPro-Semibold';
src: url('fonts/SourceSansPro-Semibold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

/* Set up a default font and some padding to provide breathing room */
body {
font-family: 'Source Sans Pro', sans-serif;
Expand Down

0 comments on commit c5c6a5e

Please sign in to comment.