forked from bisq-network/bisq-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarkets.html
195 lines (155 loc) · 3.84 KB
/
markets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
---
layout: page
title: Bisq Markets ‹ Bisq - A decentralized bitcoin exchange network
ref: markets
lang: en
flag: 🌐
language: English
---
<!-- <h1>Bisq Markets</h1> -->
<link href="{{ '/css/chosen.css' | relative_url }}" rel="stylesheet">
<script defer src="/js/highstock.js"></script>
<script defer src="/js/drag-panes.js"></script>
<script defer src="/js/exporting.js"></script>
<script defer src="/js/chosen.jquery.min.js"></script>
<script defer src="/js/date.format.js"></script>
<script defer src="/js/markets.js"></script>
<div class="mt-0 mb-2">
<div class="mb-5 px-0 col-12 col-md-6">
<select id="currency" data-placeholder="Select BTC Pair" class="chosen-select" tabindex="10">
{% include market_currency_selector.html %}
</select>
</div>
<div id="container" style="height: 500px; min-width: 100%"></div>
</div>
<div id="tables" class="pt-5 pb-5">
{% assign item = site.data.en.markets %}
<div class="row mt-5 mb-5" id="offers" style="display:none">
<div class="col col-12 col-md-6 pr-3 pr-md-5">
<h3>{{ item.buy }}</h3>
<table class="mt-3" id="buy-offers">
<thead id="buy-offers-header">
</thead>
<tbody id="buy-offers-body">
</tbody>
</table>
</div>
<div class="col col-12 col-md-6 pl-3 pl-md-5 mt-5 mt-md-0">
<h3>{{ item.sell }}</h3>
<table class="mt-3" id="sell-offers">
<thead id="sell-offers-header">
</thead>
<tbody id="sell-offers-body">
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col col-12 mt-5">
<h3>{{ item.tradeHistory }}</h3>
<table class="mt-3" id="trade-history">
<thead id="trade-history-header">
</thead>
<tbody id="trade-history-body">
</tbody>
</table>
</div>
</div>
</div>
<style>
td {
padding: 0;
}
#container {
-webkit-box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.14);
-moz-box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.14);
box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.14);
/*
background: url(/images/green.svg);
background-repeat-y: no-repeat;
background-position: 0% 109.7%;
background-repeat: repeat-x;
*/
}
rect.highcharts-plot-background {
fill: #fff;
}
.highcharts-title {
z-index: 0;
}
.highcharts-tooltip {
z-index: 9998!important;
}
.highcharts-tooltip div {
background-color: white;
border: 1px solid #E2E2E2;
opacity: 1;
z-index: 9999!important;
padding: 5px
}
.highcharts-title .price, .highcharts-title .currency-pair, .highcharts-title .btc-note{
fill: #25B135;
color: #25B135;
font-weight: 300;
font-size: 40px;
font-family: 'IBM Plex Sans', sans-serif;
overflow-x: hidden;
letter-spacing: 0.03rem;
}
.highcharts-title .currency-pair {
font-size: 25px;
text-transform: uppercase;
font-weight: 400;
}
.highcharts-title .btc-note {
fill: #a5a5a5;
color: #a5a5a5;
font-size: 16px;
display: block;
}
.highcharts-tooltip {
-moz-box-shadow: 20px 20px 20px #888;
-webkit-box-shadow: 20px 20px 20px #888;
box-shadow: 20px 20px 20px #888;
min-width: 200px;
z-index: 1000000;
}
.highcharts-column-series rect{
opacity: .5
}
.xaxis-background {
position: absolute; bottom: 0; width: 100%; background: red
}
#tables tbody tr {
border-bottom: #ececec 1px solid;
margin: 20px 0;
}
#tables thead {
text-transform: uppercase;
font-weight: 200;
}
#tables tr:hover {
background: #ecf9ed;
}
#tables thead tr:hover {
background: initial;
}
#tables td{
text-align: left;
padding: 10px 0;
}
#tables td:last-child, #tables th:last-child {
text-align:right;
}
#tables th {
font-weight: 400;
font-size: 0.8em;
color: #ccc;
text-align: left;
}
#tables table {
border: none;
box-shadow: none;
width:100%;
}
</style>