Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit d62d43d

Browse files
authored
new loading page (#862)
* homepage and support pages stackoverflow changes * typography changes for readme section * initial dropdown styling * code cleanup for dropdown component * further code cleanup for dropdowns * added comments * new loading page * code mirror background colour change * select state in code mirror colour change * table heading spacing change and transaction button alignment fix * header padding changes
1 parent 9ebc4ae commit d62d43d

File tree

6 files changed

+20
-7
lines changed

6 files changed

+20
-7
lines changed

packages/composer-playground/src/app/editor/editor.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ app-editor {
3535
.business-network-details {
3636
display: flex;
3737
height:50px;
38+
margin-bottom: 0.5rem;
3839

3940
.business-network-version {
4041
margin-right: $space-smedium;

packages/composer-playground/src/app/registry/registry.component.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ registry {
3636
margin: $space-large 0;
3737

3838
.id {
39-
width: 25%
39+
width: 25%;
40+
padding-bottom: 0.5rem;
4041
}
4142

4243
.data {
43-
width: 75%
44+
width: 75%;
45+
padding-bottom: 0.5rem;
4446
}
4547

4648
.title {
@@ -58,6 +60,7 @@ registry {
5860
padding: $space-medium;
5961
position: relative;
6062
box-shadow: 0 2px 5px -1px $fifth-highlight;
63+
border-radius: 4px;
6164

6265
.resource-content {
6366
display: flex;

packages/composer-playground/src/app/test/test.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ app-test {
3131
.side-button {
3232
flex : 1;
3333
margin: 0 auto;
34+
margin-left: $space-large;
3435

3536
.button-item {
3637
padding-top: 5rem;

packages/composer-playground/src/assets/styles/base/_codemirror.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,20 @@
2424
}
2525

2626
.cm-s-default.CodeMirror {
27-
background: #424747;
27+
background: #262A35;
2828
color: #FFFFFF;
2929
border: none;
3030
border-radius: 4px;
3131
box-shadow: 0 1px 4px 0 rgba(0,0,0,0.10);
3232
}
3333

34-
.cm-s-default div.CodeMirror-selected { background: #303030; }
34+
.cm-s-default div.CodeMirror-selected { background: #393F4F; }
3535
.cm-s-default .CodeMirror-line::selection, .cm-s-default .CodeMirror-line > span::selection, .cm-s-default .CodeMirror-line > span > span::selection { background: rgba(48, 48, 48, .99); }
3636
.cm-s-default .CodeMirror-line::-moz-selection,
3737
.cm-s-default .CodeMirror-line > span::-moz-selection,
3838
.cm-s-default .CodeMirror-line > span > span::-moz-selection { background: rgba(48, 48, 48, .99); }
3939
.cm-s-default .CodeMirror-gutters {
40-
background: #424747;
40+
background: #262A35;
4141
border-right: 0px;
4242
}
4343
.cm-s-default .CodeMirror-guttermarker { color: #ffffff; }

packages/composer-playground/src/assets/styles/base/_core.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ body.composer {
44
font-family: $font-stack;
55
color: $primary-text;
66
background-color: $white;
7+
8+
.initial-loading-elements {
9+
margin-top: 40vh;
10+
color: $primary-text;
11+
text-align: center;
12+
}
713
}
814

915
.composer * {

packages/composer-playground/src/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
</head>
1717

1818
<body class="composer">
19-
2019
<app>
21-
Loading...
20+
<div class="initial-loading-elements" style="margin-top: 40vh; color: #19273C;">
21+
<h1 style="font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 1.25em; font-weight: 300; text-align: center; line-height: 100%;">Loading Hyperledger Composer...</h1>
22+
<p style="font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 0.9rem; font-weight: 400; text-align: center; color: #8C9696; margin-bottom: 1.3em;">Prepare to Blockchain</p>
23+
</div>
2224
</app>
2325

2426
<script>

0 commit comments

Comments
 (0)