Skip to content

Commit

Permalink
ThemeMagic: Fix theme in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
joomlart committed Oct 18, 2013
1 parent 883e6a7 commit a98d71c
Show file tree
Hide file tree
Showing 30 changed files with 2,438 additions and 1,236 deletions.
2 changes: 1 addition & 1 deletion source/plg_system_t3/admin/thememagic/thememagic.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@

<?php endif;?>
<div id="t3-admin-tm-preview">
<iframe id="t3-admin-tm-ifr-preview" frameborder="0" src="<?php echo $url . ($tplparams->get('theme', -1) != -1 ? ('&t3style=' . $tplparams->get('theme')) : '') ?>"></iframe>
<iframe id="t3-admin-tm-ifr-preview" frameborder="0" src="<?php echo $url ?>"></iframe>
</div>

</div>
Expand Down
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions source/plg_system_t3/base/etc/assets.xml

This file was deleted.

9 changes: 0 additions & 9 deletions source/plg_system_t3/base/js/less-1.3.3.min.js

This file was deleted.

File renamed without changes.
14 changes: 7 additions & 7 deletions source/plg_system_t3/base/less/mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// extend left offset
.offset (@gridColumnWidth, @gridGutterWidth) {
.offset-X (@index) when (@index > 0) {
(.offset-@{index}) { .offset-(@index); }
(~".offset-@{index}") { .offset-(@index); }
.offset-X(@index - 1);
}
.offset-X (0) {}
Expand All @@ -35,8 +35,8 @@
.fixOffsetX (@fluidGridColumnWidth, @fluidGridGutterWidth) {

.offsetX (@index) when (@index > 0) {
(.offset@{index}) { .offset(@index); }
(.offset@{index}:first-child) { .offsetFirstChild(@index); }
(~'.offset@{index}') { .offset(@index); }
(~'.offset@{index}:first-child') { .offsetFirstChild(@index); }
.offsetX(@index - 1);
}
.offsetX (0) {}
Expand All @@ -50,7 +50,7 @@
}

.offset-X (@index) when (@index > 0) {
(.offset-@{index}) { .offset-(@index); }
(~'.offset-@{index}') { .offset-(@index); }
.offset-X(@index - 1);
}
.offset-X (0) {}
Expand All @@ -67,7 +67,7 @@
.fluid (@fluidGridColumnWidth, @fluidGridGutterWidth) {

.spanX (@index) when (@index > 0) {
(.span@{index}) { .span(@index); }
(~".span@{index}") { .span(@index); }
.spanX(@index - 1);
}
.spanX (0) {}
Expand Down Expand Up @@ -105,7 +105,7 @@
*width: percentage(((@fluidGridColumnWidth * @cols) + (@fluidGridGutterWidth * (@cols - 1)))/((@fluidGridColumnWidth * @pcols) + (@fluidGridGutterWidth * (@pcols - 1)))) - (.5 / @gridRowWidth * 100 * 1%);
}
.spanXY (@indexx) when(@indexx > 0) {
(.span@{indexx}) {
(~".span@{indexx}") {
.row {
// span for spany in spanx
[class*="span"] {
Expand All @@ -117,7 +117,7 @@
}

.spanY (@indexy) when (@indexy > 0) {
(.span@{indexy}) {
(~".span@{indexy}") {
.spanxy_(@indexx, @indexy);
}
.spanY (@indexy - 1);
Expand Down
2 changes: 1 addition & 1 deletion source/plg_system_t3/base/less/t3.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

// Always Show Submenu
// -------------------
@media (max-width: @grid-float-breakpoint) {
@media (max-width: @navbarCollapseWidth) {
// Always show submenu for navigation
.always-show .mega > .mega-dropdown-menu,
.always-show .dropdown-menu {
Expand Down
9 changes: 0 additions & 9 deletions source/plg_system_t3/bs3/js/less-1.3.3.min.js

This file was deleted.

Loading

0 comments on commit a98d71c

Please sign in to comment.