Skip to content

Commit

Permalink
Quickicons wrap-able text
Browse files Browse the repository at this point in the history
  • Loading branch information
ciar4n committed Mar 12, 2017
1 parent 2c2d159 commit 8331685
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
6 changes: 3 additions & 3 deletions administrator/templates/atum/css/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -9194,9 +9194,9 @@ iframe {
vertical-align: middle; }
.quick-icons a span {
z-index: 1;
padding-left: .9rem;
font-size: 1.2rem;
line-height: 4.7rem; }
font-size: 1.2rem; }
.quick-icons a span.j-links-link {
padding-left: 1rem; }
@media (max-width: 575px) {
.quick-icons a span {
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion administrator/templates/atum/css/template.css.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions administrator/templates/atum/css/template.min.css

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions administrator/templates/atum/scss/blocks/_quickicons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,12 @@

span {
z-index: 1;
padding-left: .9rem;
font-size: 1.2rem;
line-height: 4.7rem;

&.j-links-link {
padding-left: 1rem;

}

@include media-breakpoint-only(xs) {
padding: 0;
Expand All @@ -64,7 +67,7 @@
}

&[class*=" icon-"],
&[class^="icon-"] {
&[class^="icon-"] {
width: 5rem;
height: 4.7rem;
padding-left: 2px;
Expand Down
2 changes: 1 addition & 1 deletion layouts/joomla/quickicons/icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<div class="col-4 col-md-3"<?php echo $id; ?>>
<a href="<?php echo $displayData['link']; ?>" class="d-flex align-items-stretch<?php echo $pulse; ?>"<?php echo $target . $onclick . $title; ?>>
<span class="mr-1 icon-<?php echo $displayData['image']; ?> text-center"></span>
<span class="hidden-xs-down"><?php echo $text; ?></span>
<span class="d-flex align-items-center hidden-xs-down"><?php echo $text; ?></span>
</a>
<span class="hidden-sm-up quickicon-text-xs"><?php echo $text; ?></span>
</div>

0 comments on commit 8331685

Please sign in to comment.