Update the display order of the elements of the UI
The pages display the graph at the top instead at the bottom. Also added some css to improve the look of the UI
This commit is contained in:
@ -1,4 +1,13 @@
|
||||
.no-select {
|
||||
-webkit-user-select: none; /* safari */
|
||||
-ms-user-select: none; /* IE 10+ and Edge */
|
||||
user-select: none; /* standard syntax */
|
||||
}
|
||||
|
||||
.img-character {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 256px;
|
||||
height: 256px;
|
||||
}
|
||||
@ -6,5 +15,9 @@
|
||||
#table-classes-content > tr > td {
|
||||
text-align: center;
|
||||
display: block !important;
|
||||
padding-top: 1%;
|
||||
padding-top: 3.7%;
|
||||
}
|
||||
|
||||
.data-table-title {
|
||||
text-align: center;
|
||||
}
|
@ -18,12 +18,12 @@
|
||||
<link rel="stylesheet" href="css/app.css">
|
||||
<link rel="stylesheet" href="css/index.css">
|
||||
</head>
|
||||
<body>
|
||||
<body class="no-select">
|
||||
<div id="app">
|
||||
<!-- Status bar overlay for fullscreen mode-->
|
||||
<div class="statusbar"></div>
|
||||
<!-- Left panel with cover effect-->
|
||||
<div class="panel panel-left panel-cover theme-dark">
|
||||
<div class="panel panel-left panel-cover">
|
||||
<div class="view">
|
||||
<div class="page">
|
||||
<div class="navbar">
|
||||
|
@ -11,6 +11,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-content">
|
||||
<div class="list no-hairlines-md">
|
||||
<figure class="highcharts-figure">
|
||||
<div id="container-comparator"></div>
|
||||
</figure>
|
||||
<div class="block">
|
||||
<p class="segmented segmented-raised segmented-round">
|
||||
<button id="btn-graph-spider-web" class="button button-round button-active">Spider web</button>
|
||||
<button id="btn-graph-column-chart" class="button button-round">Column chart</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card data-table data-table-collapsible data-table-init">
|
||||
<table id="table-comparator">
|
||||
<thead id="table-comparator-header">
|
||||
@ -22,34 +33,16 @@
|
||||
<tbody id="table-comparator-content">
|
||||
</tbody>
|
||||
</table>
|
||||
<button id="btn-compare" class="button button-fill">Compare</button>
|
||||
<button id="btn-compare" class="button button-fill">Select characters to compare</button>
|
||||
<a class="item-link smart-select smart-select-init" data-open-in="popup" data-searchbar="true" data-searchbar-placeholder="Search a character...">
|
||||
<select id="select-compare" multiple maxlength="8">
|
||||
</select>
|
||||
<div class="item-content" hidden>
|
||||
<div class="item-inner">
|
||||
<div class="item-title">Comparator</div>
|
||||
<div class="item-title">Select characters (8 max)</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="list no-hairlines-md">
|
||||
<ul>
|
||||
<li class="item-content item-input">
|
||||
<div class="item-media">
|
||||
<i class="icon demo-list-icon"></i>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<figure class="highcharts-figure">
|
||||
<div id="container-comparator"></div>
|
||||
</figure>
|
||||
<div class="block">
|
||||
<p class="segmented segmented-raised segmented-round">
|
||||
<button id="btn-graph-spider-web" class="button button-round button-active">Spider web</button>
|
||||
<button id="btn-graph-column-chart" class="button button-round">Column chart</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,28 +11,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="page-content">
|
||||
<div class="card data-table data-table-collapsible data-table-init">
|
||||
<div class="data-table-title">Growth rates :</div>
|
||||
<table id="table-growth-rates">
|
||||
<thead>
|
||||
<tr id="table-gr-header">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="table-gr-content">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<div class="list no-hairlines-md">
|
||||
<ul>
|
||||
<li class="item-content item-input">
|
||||
<div class="item-media">
|
||||
<i class="icon demo-list-icon"></i>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<figure class="highcharts-figure">
|
||||
<div id="container-class-gr"></div>
|
||||
</figure>
|
||||
@ -44,5 +24,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card data-table data-table-collapsible data-table-init">
|
||||
<div class="data-table-title">Growth rates</div>
|
||||
<table id="table-growth-rates">
|
||||
<thead>
|
||||
<tr id="table-gr-header">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="table-gr-content">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -12,21 +12,11 @@
|
||||
</div>
|
||||
<div class="page-content">
|
||||
<img id="picture-char" class="img-character">
|
||||
<div class="card data-table data-table-collapsible data-table-init">
|
||||
<div class="data-table-title">Growth rates :</div>
|
||||
<table id="table-growth-rates">
|
||||
<thead>
|
||||
<tr id="table-gr-header">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="table-gr-content">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<div class="list no-hairlines-md">
|
||||
<figure class="highcharts-figure">
|
||||
<div id="container-char-gr"></div>
|
||||
</figure>
|
||||
<ul>
|
||||
<li class="item-content item-input">
|
||||
<div class="item-media">
|
||||
@ -41,9 +31,6 @@
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<figure class="highcharts-figure">
|
||||
<div id="container-char-gr"></div>
|
||||
</figure>
|
||||
<div class="block">
|
||||
<p class="segmented segmented-raised segmented-round">
|
||||
<button id="btn-graph-spider-web" class="button button-round button-active">Spider web</button>
|
||||
@ -52,5 +39,18 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card data-table data-table-collapsible data-table-init">
|
||||
<div class="data-table-title">Growth rates</div>
|
||||
<table id="table-growth-rates">
|
||||
<thead>
|
||||
<tr id="table-gr-header">
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr id="table-gr-content">
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user