More template fixes
authorMarcel Werk <burntime@woltlab.com>
Wed, 28 Mar 2012 19:03:27 +0000 (21:03 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 28 Mar 2012 19:03:27 +0000 (21:03 +0200)
12 files changed:
com.woltlab.wcf/template/footerMenu.tpl
com.woltlab.wcf/template/permissionDenied.tpl
com.woltlab.wcf/template/redirect.tpl
com.woltlab.wcf/template/userException.tpl
wcfsetup/install/files/style/bootstrap.less
wcfsetup/install/files/style/codebox.less
wcfsetup/install/files/style/forms.less
wcfsetup/install/files/style/layout.less
wcfsetup/install/files/style/message.less
wcfsetup/install/files/style/navigation.less
wcfsetup/install/files/style/user.less
wcfsetup/install/files/style/variables.less

index a6fc493f34664819f61715ccb40575519f1e45a9..f98ff4236a04b2aa1337a1c8779850c65119f406 100644 (file)
@@ -1,9 +1,7 @@
 {if $__wcf->getPageMenu()->getMenuItems('footer')|count > 0}
-       <div class="wcf-menu">
-               <ul>
-                       {foreach from=$__wcf->getPageMenu()->getMenuItems('footer') item=menuItem}
-                               <li><a href="{$menuItem->getProcessor()->getLink()}">{lang}{$menuItem->menuItem}{/lang}{if $menuItem->getProcessor()->getNotifications()} <span class="wcf-badge">{#$menuItem->getProcessor()->getNotifications()}</span>{/if}</a></li>
-                       {/foreach}
-               </ul>
-       </div>
+       <ul>
+               {foreach from=$__wcf->getPageMenu()->getMenuItems('footer') item=menuItem}
+                       <li><a href="{$menuItem->getProcessor()->getLink()}">{lang}{$menuItem->menuItem}{/lang}{if $menuItem->getProcessor()->getNotifications()} <span class="badge badgeUpdate">{#$menuItem->getProcessor()->getNotifications()}</span>{/if}</a></li>
+               {/foreach}
+       </ul>
 {/if}
index 9ca3e87379878562f44120b7447da5670b7ab78e..10d70888647318dd8a995f4e33960166efc518ee 100644 (file)
@@ -8,7 +8,7 @@
 <body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
 {include file='header' sandbox=false}
        
-       <p class="wcf-error">{lang}wcf.global.error.permissionDenied{/lang}</p>
+<p class="error">{lang}wcf.global.error.permissionDenied{/lang}</p>
        
 {if ENABLE_DEBUG_MODE}
        <!-- 
index 76cddd562d1cb7cf6faec62eb3ef627b69babc7f..4c047aebaaed2c0ee5b14e31cd608b7ca6c8714e 100644 (file)
@@ -9,10 +9,10 @@
 <body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
 {include file='header' sandbox=false}
        
-       <div class="wcf-success">
-               <p>{@$message}</p>
-               <p><a href="{$url}">{lang}wcf.global.redirect.url{/lang}</a></p>
-       </div>
+<div class="success">
+       <p>{@$message}</p>
+       <p><a href="{$url}">{lang}wcf.global.redirect.url{/lang}</a></p>
+</div>
        
 {include file='footer' sandbox=false}
 </body>
index 8985770253c2c09de259299d07acde2d922447e0..1d5785ece308d9c01b1acf32cc66e9e0c7e28447 100644 (file)
@@ -7,16 +7,16 @@
 <body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
 {include file='header' sandbox=false}
        
-       <p id="errorMessage" class="wcf-error">
-               {@$message}
-       </p>
-       <script type="text/javascript">
-               //<![CDATA[
-               if (document.referrer) {
-                       $('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>'); 
-               }
-               //]]>
-       </script>
+<p id="errorMessage" class="error">
+       {@$message}
+</p>
+<script type="text/javascript">
+       //<![CDATA[
+       if (document.referrer) {
+               $('#errorMessage').append('<br /><a href="' + document.referrer + '">{lang}wcf.global.error.backward{/lang}</a>'); 
+       }
+       //]]>
+</script>
 
 {if ENABLE_DEBUG_MODE}
        <!-- 
index 1f31b5de055a0c2e4e102efbe6c81cb5487a127f..8579a2821c02e36e732ed8595801bb6685a93548 100644 (file)
 @import "codebox.less";
 @import "pagination.less";
 @import "comments.less";
+@import "user.less";
 
 @import "message.less";
 @import "dialog.less";
 @import "tooltip.less";
-@import "user.less";
 
 /* application */
 @import "wbb.less";
\ No newline at end of file
index 8d9412eb3d1a72940806f27ad91ebf7adbb805a9..7b8e862807b528b33cc4c0dedae72394e1d768fb 100644 (file)
 
 /* Quote Box */
 .quoteBox {
-       /*background: url("...quote.svg") 12px 12px no-repeat #fff;*/
        background-color: @wcfContentBackgroundColor;
+       background-image: url('../images/quote.png');
+       background-position: 12px 12px;
+       background-repeat: no-repeat;
        padding: 10px 20px 10px 58px;
        
        header {
index cadc19643afd7b761f19154070421b54ae4c23db..db7d19be8791e460b07ad432e4f6de1bc236619d 100644 (file)
@@ -18,13 +18,16 @@ fieldset:only-child {
 }
 
 fieldset legend {
-       color: @wcfLinkColor;
        margin: auto -@wcfGapSmall;
        padding: 0 @wcfGapSmall 0;
        
        .textShadow(@wcfContainerAccentBackgroundColor);
 }
 
+fieldset legend label {
+       color: @wcfColor;
+}
+
 fieldset legend ~ p {
        margin-bottom: @wcfGapMedium;
 }
@@ -37,7 +40,6 @@ fieldset legend ~ p {
 }
 
 .sidebar fieldset legend {
-       color: @wcfColor;
        padding: 0;
        text-transform: uppercase;
                
index a887cf5912d97f6b4dbfb93a1ffd58b6c6793611..30cc3df701a35d47a86847f7021383459dcf439b 100644 (file)
@@ -192,9 +192,7 @@ img {
 
 dl.dataList {
        display: inline-block;
-       font-size: 90%;
        margin: 0;
-       position: static;
        
        dd {
                display: inline-block;
index b8ebe752f040f9ec32f5b3d9abb614d3af9e5160..2c4b22d7eda829bc56155908765a6150f2d78e5f 100644 (file)
                display: block;
        }
        
-        > div {
+       > div {
                border-top: @wcfContainerBorderWidth dotted @wcfContainerBorderColor;
                display: block;
                overflow: hidden;
                padding: 10px 0;
        }
        
-       .signature {
-               overflow: hidden;
-               padding: 10px 0 20px;
+       > *:last-child {
+               padding-bottom: 20px;
        }
 }
 
index 9755b41a0e3a902a154607c757a31322764a9d9a..774ddd6b4f0d9ce656485e23921ac9c7cc3c0e81 100644 (file)
 
 .contentNavigation {
        display: table;
-       margin-top: @wcfGapMedium;
        width: 100%;
+       
+       > :first-child:before {
+               content: "";
+               display: block;
+               margin-top: @wcfGapMedium;
+       }
+       
        nav ul {
                float: left;
                
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..9013688e765ae249e2d4b3e84c7bd02f7fad5c60 100644 (file)
@@ -0,0 +1,55 @@
+.simpleUserList {
+       h2, p, dl {
+               font-size: 85%;
+       }
+       
+       p, dl {
+               margin-bottom: 2px;
+       }
+}
+
+.userList {
+       > li {
+               padding: 0;
+               float: left;
+               width: 50%;
+               height: 90px;
+               overflow: hidden;
+               
+               &:nth-child(2n) {
+                       float: right;
+                       
+                       &:last-child {
+                               .borderRadius(0, 0, @wcfContainerBorderRadius - 1, 0);
+                       }
+               }
+               
+               &:nth-child(2n+1) {
+                       &:last-child {
+                               .borderRadius(0, 0, 0, @wcfContainerBorderRadius - 1);
+                       }
+               }
+               
+               &:nth-last-child(2) {
+                       .borderRadius(0, 0, 0, @wcfContainerBorderRadius - 1);
+               }
+               
+               &:first-child {
+                       .borderRadius(@wcfContainerBorderRadius - 1, 0, 0, 0);
+               }
+               
+               &:nth-child(2) {
+                       .borderRadius(0, @wcfContainerBorderRadius - 1, 0, 0);
+               }
+               
+               > div {
+                       padding: 14px 21px;
+               }
+       }
+       
+       &:after {
+               content: "";
+               display: table;
+               clear: both;
+       }
+}
\ No newline at end of file
index 11114a2f14d15fa17407d7a21ee4c194d3796090..e40a16c93e4c70c3e01f3b9535a7632b446683f0 100644 (file)
 @wcfInputHoverBorderColor: darken(@wcfHoverBackgroundColor, 25%);
 
 /* form states and alerts */
-@warningColor: #c09853;
-@warningBackgroundColor: #fcf8e3;
-@warningBorderColor: darken(spin(@warningBackgroundColor, -10), 3%);
+@warningColor: #990;
+@warningBackgroundColor: #ffd;
+@warningBorderColor: #cc0;
 
-@errorColor: #b94a48;
-@errorBackgroundColor: #f2dede;
-@errorBorderColor: darken(spin(@errorBackgroundColor, -10), 3%);
+@errorColor: #c00;
+@errorBackgroundColor: #fee;
+@errorBorderColor: #f99;
 
-@successColor: #468847;
-@successBackgroundColor: #dff0d8;
-@successBorderColor: darken(spin(@successBackgroundColor, -10), 5%);
+@successColor: #090;
+@successBackgroundColor: #efe;
+@successBorderColor: #0c0;
 
-@infoColor: #3a87ad;
-@infoBackgroundColor: #d9edf7;
-@infoBorderColor: darken(spin(@infoBackgroundColor, -10), 7%);
+@infoColor: #68b;
+@infoBackgroundColor: #def;
+@infoBorderColor: #9be;
 
 /* layouts */
 @wcfLayoutFluidGap: 21px;