* improve UI of block views for placement in small column.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<style>
|
||||
.block-flowchart {}
|
||||
.block-flowchart .panel-body {padding-top: 0}
|
||||
.block-flowchart .table {margin-bottom: 0;}
|
||||
.block-flowchart .table > thead > tr > th,
|
||||
@@ -8,8 +7,8 @@
|
||||
.block-flowchart .table > thead > tr > th:first-child,
|
||||
.block-flowchart .table > tbody > tr > td:first-child,
|
||||
.block-flowchart .table > tbody > tr > th:first-child {text-align: left;}
|
||||
.block-flowchart .table > thead > tr > th {width: 18%;vertical-align: top;}
|
||||
.block-flowchart .table > thead > tr > th:first-child {width: auto;padding: 10px 10px 15px 10px;background: none;}
|
||||
.block-flowchart .table > thead > tr > th {width: 18%; padding-top: 0}
|
||||
.block-flowchart .table > thead > tr > th:first-child {width: auto; padding: 0 10px 0 10px;background: none;}
|
||||
.block-flowchart .table > thead > tr > th:first-child + th > div {background: none;}
|
||||
.block-flowchart .table > thead > tr > th,
|
||||
.block-flowchart .table > thead > tr > th > div {padding: 0;background: url('data:image/gif;base64,R0lGODlhLQAPAJEAAAAAAP///+7u7v///yH5BAEAAAMALAAAAAAtAA8AAAJEnH8imMvKopzKofrg3FRfb2Dc+FmNOYgkqZ4ZunZwm4KxHNH0nds1uuOFfDqf8NcDGoW7IuzYtAWZROmSF1U+oc+qsAAAOw==') no-repeat;background-position: right -22px top 15px;}
|
||||
@@ -19,11 +18,14 @@
|
||||
.block-flowchart .table > tbody > tr:nth-child(even) > td {background: #f7f8f9;}
|
||||
.block-flowchart .flowchart-title {font-size: 14px;font-weight: bold;color: #3c4353;}
|
||||
.block-flowchart .flowchart-step {display: inline-block;width: 24px;height: 24px;font-size: 14px;line-height: 24px;color: #fff; border-radius: 50%;}
|
||||
.block-flowchart.block-sm .table > tbody > tr > td,
|
||||
.block-flowchart.block-sm .table > tbody > tr > th {padding: 10px 4px; font-size: 12px;}
|
||||
.block-flowchart.block-sm .table > thead > tr > th:first-child {padding: 0 4px 0 4px; width: 65px}
|
||||
</style>
|
||||
<div class='panel-body has-table scrollbar-hover'>
|
||||
<table class="table table-borderless">
|
||||
<thead>
|
||||
<tr>
|
||||
<tr class='text-middle'>
|
||||
<?php for($i = 0; $i < 6; $i++):?>
|
||||
<?php if($i == 0):?>
|
||||
<th><span class="flowchart-title"><?php echo $lang->block->role?></span></th>
|
||||
@@ -35,7 +37,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($lang->block->flowchart as $flowchart):?>
|
||||
<tr>
|
||||
<tr class='text-middle'>
|
||||
<?php for($i = 0; $i < 6; $i++):?>
|
||||
<?php if($i == 0):?>
|
||||
<th><?php echo $flowchart[$i];?></th>
|
||||
|
||||
Reference in New Issue
Block a user