Skip to content

Commit

Permalink
Dev: boxes alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Nov 16, 2016
1 parent 783126c commit 1f244c9
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
14 changes: 9 additions & 5 deletions application/extensions/PannelBoxWidget/views/box.php
Expand Up @@ -4,11 +4,15 @@
<h3 class="panel-title"><?php eT($title);?></h3>
</div>
<div class="panel-body">
<a href="<?php echo $url; ?>"<?php if($external){ echo ' target="_blank"';}?>>
<span class="icon-<?php echo $ico;?>" style="font-size: 4em">
</span>
</a><br/><br/>
<a href="<?php echo $url; ?>"<?php if($external){ echo ' target="_blank"';}?>><?php eT($description);?></a>
<div class="panel-body-ico">
<a href="<?php echo $url; ?>"<?php if($external){ echo ' target="_blank"';}?>>
<span class="icon-<?php echo $ico;?>" style="font-size: 4em">
</span>
</a>
</div>
<div class="panel-body-link">
<a href="<?php echo $url; ?>"<?php if($external){ echo ' target="_blank"';}?>><?php eT($description);?></a>
</div>
</div>
</div>
</div>
24 changes: 24 additions & 0 deletions styles/Sea_Green/css/lime-admin-common.css
Expand Up @@ -2202,3 +2202,27 @@ table#responsedetail tr td{
height: 90%;
min-width: 200px;
}

.welcome .panel-heading {
height: 25%;
display:flex;
align-items: center;
justify-content: center;
}

.welcome .panel-body {
height: 75%;
width: 100%;
}

.welcome .panel-body .panel-body-ico, .welcome .panel-body .panel-body-link {
width: 100%;
height: 50%;
}


.welcome .panel-body .panel-body-link {
display:flex;
align-items: center;
justify-content: center;
}

0 comments on commit 1f244c9

Please sign in to comment.