From 7c67b20bd530dace027ed9b3e700e151ace4e857 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 2 Nov 2012 23:26:37 +0100 Subject: [PATCH] Updated style list and preview image dimensions --- acptemplates/styleList.tpl | 54 +++++++++++++++++++----------------- files/style/styleEditor.less | 32 --------------------- language/de.xml | 2 +- 3 files changed, 29 insertions(+), 59 deletions(-) diff --git a/acptemplates/styleList.tpl b/acptemplates/styleList.tpl index bb6fd2f6ee..cbc66b9163 100644 --- a/acptemplates/styleList.tpl +++ b/acptemplates/styleList.tpl @@ -38,32 +38,34 @@
    {foreach from=$objects item=style}
  1. -
    -
    -
    -

    {$style->styleName}

    - {if $style->styleDescription}

    {$style->styleDescription}

    {/if} -
    -
      -
    • - {if !$style->isDefault} -
    • -
    • -
    • - {/if} -
    -
    -
    {lang}wcf.acp.style.users{/lang}
    -
    {#$style->users}
    -
    -
    -
    {lang}wcf.acp.style.styleVersion{/lang}
    -
    {$style->styleVersion} ({$style->styleDate})
    -
    -
    -
    {lang}wcf.acp.style.authorName{/lang}
    -
    {if $style->authorURL}{$style->authorName}{else}{$style->authorName}{/if}
    -
    +
    + +
    +
    +

    {$style->styleName}

    + {if $style->styleDescription}

    {$style->styleDescription}

    {/if} +
    +
      +
    • + {if !$style->isDefault} +
    • +
    • +
    • + {/if} +
    +
    +
    {lang}wcf.acp.style.users{/lang}
    +
    {#$style->users}
    +
    +
    +
    {lang}wcf.acp.style.styleVersion{/lang}
    +
    {$style->styleVersion} ({$style->styleDate})
    +
    +
    +
    {lang}wcf.acp.style.authorName{/lang}
    +
    {if $style->authorURL}{$style->authorName}{else}{$style->authorName}{/if}
    +
    +
  2. {/foreach} diff --git a/files/style/styleEditor.less b/files/style/styleEditor.less index 3bfd1decfb..820c8a1b02 100644 --- a/files/style/styleEditor.less +++ b/files/style/styleEditor.less @@ -35,35 +35,3 @@ display: block; } } - -.styleList > li { - min-height: 150px; - - &:hover > .styleInformation > .buttonList { - opacity: 1; - } - - > .previewImage { - float: left; - text-align: center; - width: 230px; - } - - > .styleInformation { - margin-left: 250px; - position: relative; - - > .buttonList { - opacity: 0; - position: absolute; - right: 0; - top: 0; - - .transition(opacity, .1s); - - > li:not(:last-child) { - margin-right: 7px; - } - } - } -} \ No newline at end of file diff --git a/language/de.xml b/language/de.xml index 8184842144..eacfc00bfa 100644 --- a/language/de.xml +++ b/language/de.xml @@ -72,7 +72,7 @@ - + -- 2.20.1