Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Electron release (#112)
Browse files Browse the repository at this point in the history
* Remove old build files

* Add new ui build
  • Loading branch information
dwalintukan authored Feb 23, 2018
1 parent 332837a commit 045b3df
Show file tree
Hide file tree
Showing 14 changed files with 236 additions and 46 deletions.
12 changes: 6 additions & 6 deletions ui/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"main.css": "main.00a5bcec.css",
"main.js": "static/js/main.0e69ba02.js",
"static/js/0.23abf8d7.chunk.js": "static/js/0.23abf8d7.chunk.js",
"static/js/1.8e11803e.chunk.js": "static/js/1.8e11803e.chunk.js",
"static/js/2.1bc8ca81.chunk.js": "static/js/2.1bc8ca81.chunk.js",
"static/js/3.059aad53.chunk.js": "static/js/3.059aad53.chunk.js"
"main.css": "main.d2d5f145.css",
"main.js": "static/js/main.bd41b478.js",
"static/js/0.3a31595f.chunk.js": "static/js/0.3a31595f.chunk.js",
"static/js/1.5d38c727.chunk.js": "static/js/1.5d38c727.chunk.js",
"static/js/2.a911f12f.chunk.js": "static/js/2.a911f12f.chunk.js",
"static/js/3.e17b943b.chunk.js": "static/js/3.e17b943b.chunk.js"
}
2 changes: 1 addition & 1 deletion ui/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en" dir="ltr"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.png"><link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700" rel="stylesheet" async><link async rel="stylesheet" href="/css/ionicons.min.css"><link rel="stylesheet" href="https://unpkg.com/react-instantsearch-theme-algolia@4.0.0/style.min.css"><link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ==" crossorigin="" async/><title>Bodhi Prediction Market</title><link href="/static/css/main.c9c9412e.css" rel="stylesheet"><link href="/main.00a5bcec.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.0e69ba02.js" async></script></body></html>
<!DOCTYPE html><html lang="en" dir="ltr"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/manifest.json"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.png"><link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700" rel="stylesheet" async><link async rel="stylesheet" href="/css/ionicons.min.css"><link rel="stylesheet" href="https://unpkg.com/react-instantsearch-theme-algolia@4.0.0/style.min.css"><link rel="stylesheet" href="https://unpkg.com/leaflet@1.2.0/dist/leaflet.css" integrity="sha512-M2wvCLH6DSRazYeZRIm1JnYyh22purTM+FDB5CsyxtQJYeKq83arPe5wgbNmcFXGqiSH2XR8dT/fJISVA1r/zQ==" crossorigin="" async/><title>Bodhi Prediction Market</title><link href="/static/css/main.c9c9412e.css" rel="stylesheet"><link href="/main.d2d5f145.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/static/js/main.bd41b478.js" async></script></body></html>
256 changes: 223 additions & 33 deletions ui/main.00a5bcec.css → ui/main.d2d5f145.css
Original file line number Diff line number Diff line change
Expand Up @@ -8927,12 +8927,12 @@ input[type="checkbox"].disabled {
color: rgba(0, 0, 0, 0.65);
vertical-align: top;
}
.ant-form-item-control > .ant-form-item:last-child,
.ant-form-item [class^="ant-col-"] > .ant-form-item:only-child {
.ant-form-item > .ant-form-item:last-child,
.ant-form-item :not(.ant-form) > .ant-form-item {
margin-bottom: -24px;
}
.ant-form-item-control {
line-height: 31.9999px;
line-height: 32px;
position: relative;
zoom: 1;
}
Expand Down Expand Up @@ -9051,6 +9051,7 @@ form .ant-radio-vertical + .ant-radio-vertical {
margin-left: 0;
}
form .ant-input-number {
margin-top: -1px;
margin-right: 8px;
}
form .ant-select,
Expand All @@ -9069,16 +9070,6 @@ form .ant-input-group-addon .ant-select:only-child,
form .ant-input-group-addon .ant-cascader-picker:only-child {
display: inline-block;
}
form .ant-input-group-wrapper {
position: relative;
top: 2px;
}
form .ant-input-group-wrapper.ant-input-group-wrapper-lg {
top: 0;
}
form .ant-input-group-wrapper.ant-input-group-wrapper-sm {
top: 5px;
}
.ant-input-group-wrap .ant-select-selection {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
Expand Down Expand Up @@ -9470,6 +9461,165 @@ form .ant-input-group-wrapper.ant-input-group-wrapper-sm {
transform: scale(1);
}
}
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */
.ant-card {
background: #fff;
border-radius: 2px;
font-size: 12px;
position: relative;
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
}
.ant-card:not(.ant-card-no-hovering):hover {
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
border-color: rgba(0, 0, 0, 0.2);
}
.ant-card-bordered {
border: 1px solid #e9e9e9;
}
.ant-card-head {
height: 48px;
line-height: 48px;
background: #fff;
border-bottom: 1px solid #e9e9e9;
padding: 0 24px;
border-radius: 2px 2px 0 0;
zoom: 1;
margin-bottom: -1px;
display: -ms-flexbox;
display: flex;
}
.ant-card-head:before,
.ant-card-head:after {
content: " ";
display: table;
}
.ant-card-head:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
.ant-card-head-title {
font-size: 14px;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
max-width: 100%;
overflow: hidden;
white-space: nowrap;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
display: inline-block;
-ms-flex: 1 1;
flex: 1 1;
}
.ant-card-extra {
float: right;
text-align: right;
margin-left: auto;
}
.ant-card-body {
padding: 24px;
zoom: 1;
}
.ant-card-body:before,
.ant-card-body:after {
content: " ";
display: table;
}
.ant-card-body:after {
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
.ant-card-contain-grid .ant-card-body {
margin: -1px 0 0 -1px;
padding: 0;
}
.ant-card-grid {
border-radius: 0;
border: 0;
-webkit-box-shadow: 1px 0 0 0 #e9e9e9, 0 1px 0 0 #e9e9e9, 1px 1px 0 0 #e9e9e9, 1px 0 0 0 #e9e9e9 inset, 0 1px 0 0 #e9e9e9 inset;
box-shadow: 1px 0 0 0 #e9e9e9, 0 1px 0 0 #e9e9e9, 1px 1px 0 0 #e9e9e9, 1px 0 0 0 #e9e9e9 inset, 0 1px 0 0 #e9e9e9 inset;
width: 33.33%;
float: left;
padding: 24px;
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
}
.ant-card-grid:hover {
position: relative;
z-index: 1;
-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}
.ant-card-wider-padding .ant-card-head {
padding: 0 32px;
}
.ant-card-wider-padding .ant-card-body {
padding: 24px 32px;
}
.ant-card-wider-padding .ant-card-extra {
right: 32px;
}
.ant-card-padding-transition .ant-card-head,
.ant-card-padding-transition .ant-card-body {
-webkit-transition: padding .3s;
-o-transition: padding .3s;
transition: padding .3s;
}
.ant-card-padding-transition .ant-card-extra {
-webkit-transition: right .3s;
-o-transition: right .3s;
transition: right .3s;
}
.ant-card-loading .ant-card-body {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
padding: 0;
}
.ant-card-loading-content {
padding: 24px;
}
.ant-card-loading-block {
display: inline-block;
margin: 5px 1% 0;
height: 14px;
border-radius: 2px;
background: -webkit-gradient(linear, left top, right top, from(rgba(207, 216, 220, 0.2)), color-stop(rgba(207, 216, 220, 0.4)), to(rgba(207, 216, 220, 0.2)));
background: -webkit-linear-gradient(left, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
background: -o-linear-gradient(left, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
-webkit-animation: card-loading 1.4s ease infinite;
animation: card-loading 1.4s ease infinite;
background-size: 600% 600%;
}
@-webkit-keyframes card-loading {
0%,
100% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
}
@keyframes card-loading {
0%,
100% {
background-position: 0 50%;
}
50% {
background-position: 100% 50%;
}
}
#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;-webkit-box-shadow:0 0 10px #29d,0 0 5px #29d;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translateY(-4px);-ms-transform:rotate(3deg) translateY(-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.show-loading-animation.rect-shape,.show-loading-animation .rect-shape,.show-loading-animation.round-shape,.show-loading-animation .round-shape,.show-loading-animation.text-row,.show-loading-animation .text-row{-webkit-animation:react-placeholder-pulse 1.5s infinite;animation:react-placeholder-pulse 1.5s infinite}@-webkit-keyframes react-placeholder-pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}@keyframes react-placeholder-pulse{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */
Expand Down Expand Up @@ -9515,7 +9665,6 @@ form .ant-input-group-wrapper.ant-input-group-wrapper-sm {
position: relative;
}
.ant-progress-text {
word-break: normal;
width: 2em;
text-align: left;
font-size: 1em;
Expand Down Expand Up @@ -17240,12 +17389,12 @@ input[type="checkbox"].disabled {
color: rgba(0, 0, 0, 0.65);
vertical-align: top;
}
.ant-form-item-control > .ant-form-item:last-child,
.ant-form-item [class^="ant-col-"] > .ant-form-item:only-child {
.ant-form-item > .ant-form-item:last-child,
.ant-form-item :not(.ant-form) > .ant-form-item {
margin-bottom: -24px;
}
.ant-form-item-control {
line-height: 31.9999px;
line-height: 32px;
position: relative;
zoom: 1;
}
Expand Down Expand Up @@ -17375,6 +17524,7 @@ form .ant-radio-vertical + .ant-radio-vertical {
margin-left: 0;
}
form .ant-input-number {
margin-top: -1px;
margin-right: 8px;
}
form .ant-select,
Expand All @@ -17393,16 +17543,6 @@ form .ant-input-group-addon .ant-select:only-child,
form .ant-input-group-addon .ant-cascader-picker:only-child {
display: inline-block;
}
form .ant-input-group-wrapper {
position: relative;
top: 2px;
}
form .ant-input-group-wrapper.ant-input-group-wrapper-lg {
top: 0;
}
form .ant-input-group-wrapper.ant-input-group-wrapper-sm {
top: 5px;
}
.ant-input-group-wrap .ant-select-selection {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
Expand Down Expand Up @@ -23309,7 +23449,6 @@ textarea.ant-pagination-options-quick-jumper input {
position: relative;
}
.ant-progress-text {
word-break: normal;
width: 2em;
text-align: left;
font-size: 1em;
Expand Down Expand Up @@ -23701,7 +23840,6 @@ span.ant-radio + * {
font-size: 20px;
display: inline-block;
vertical-align: middle;
color: #f5a623;
}
.ant-rate-disabled .ant-rate-star {
cursor: not-allowed;
Expand All @@ -23720,7 +23858,7 @@ span.ant-radio + * {
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
color: inherit;
color: #e9e9e9;
cursor: pointer;
}
.ant-rate-star-first,
Expand All @@ -23732,7 +23870,6 @@ span.ant-radio + * {
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
color: #e9e9e9;
}
.ant-rate-star:hover {
-webkit-transform: scale(1.1);
Expand All @@ -23754,7 +23891,11 @@ span.ant-radio + * {
}
.ant-rate-star-half .ant-rate-star-first,
.ant-rate-star-full .ant-rate-star-second {
color: inherit;
color: #f5a623;
}
.ant-rate-star-half:hover .ant-rate-star-first,
.ant-rate-star-full:hover .ant-rate-star-second {
color: #f7b84f;
}
.ant-rate-text {
margin-left: 8px;
Expand Down Expand Up @@ -25642,7 +25783,7 @@ span.ant-radio + * {
.ant-table-placeholder .anticon {
margin-right: 4px;
}
.ant-table-pagination.ant-pagination {
.ant-table-pagination {
margin: 16px 0;
float: right;
}
Expand Down Expand Up @@ -28847,6 +28988,19 @@ a:hover {
.tabBtnGroup .controlBtnGroup {
text-align: right;
}
.event-empty {
width: 300px;
position: relative;
left: 50%;
margin-left: -150px;
top: 15vh;
text-align: center;
}
.event-empty .event-empty-icon {
font-size: 100px;
opacity: 0.1;
margin-bottom: 10px;
}
.app-load {
content: '';
position: absolute;
Expand Down Expand Up @@ -28936,6 +29090,27 @@ a:hover {
.ant-modal-content .ant-modal-footer {
text-align: center;
}
.corner-block-wrapper {
position: fixed;
right: 40px;
bottom: 40px;
text-align: right;
-webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
border-right: 4px;
}
.corner-block-wrapper p {
font-size: 10px;
}
.corner-network-icon {
margin-left: 3px;
}
.corner-network-icon.online {
color: #585AFA;
}
.corner-network-icon.offline {
color: #111;
}
.create-topic-container {
padding-left: 64px;
padding-right: 64px;
Expand Down Expand Up @@ -28994,3 +29169,18 @@ a:hover {
.create-topic-container .alert-container {
margin-bottom: 24px;
}
.create-topic-container .ant-form-item > .ant-form-item:last-child,
.create-topic-container .ant-form-item :not(.ant-form) > .ant-form-item {
margin-bottom: 24px;
}
.create-topic-container .ant-form-item > .ant-form-item:last-child,
.create-topic-container .ant-form-item :not(.ant-form) > .ant-form-item.ant-form-item-with-help {
margin-bottom: 6px;
}
.cardVoting .body .ant-radio-group .ant-radio-wrapper .ant-radio {
padding: 0;
height: 14px;
margin-right: 24px;
position: relative;
top: 27px;
}
Loading

0 comments on commit 045b3df

Please sign in to comment.