More style-prefixes & bug-fixes
authorLuzifr <szekely@woltlab.com>
Thu, 9 Feb 2012 17:48:55 +0000 (18:48 +0100)
committerLuzifr <szekely@woltlab.com>
Thu, 9 Feb 2012 17:49:01 +0000 (18:49 +0100)
com.woltlab.wcf/template/mainMenu.tpl
com.woltlab.wcf/template/mainMenuSubMenu.tpl
com.woltlab.wcf/template/permissionDenied.tpl
com.woltlab.wcf/template/redirect.tpl
com.woltlab.wcf/template/userException.tpl
wcfsetup/install/files/acp/style/wcf.css

index 921803ea8023fc51a919566453575119fc9506dd..db48b45c880eb94b98c0ef5ff6e692bc1b2db332 100644 (file)
@@ -1,8 +1,8 @@
 {if $__wcf->getPageMenu()->getMenuItems('header')|count > 0}
-       <nav id="mainMenu" class="mainMenu">
+       <nav id="mainMenu" class="wcf-mainMenu">
                <ul>
                        {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=menuItem}
-                               <li{if $__wcf->getPageMenu()->getActiveMenuItem() == $menuItem->menuItem} class="activeMenuItem"{/if}><a href="{$menuItem->getProcessor()->getLink()}">{lang}{$menuItem->menuItem}{/lang}{if $menuItem->getProcessor()->getNotifications()} <span class="badge">{#$menuItem->getProcessor()->getNotifications()}</span>{/if}</a></li>
+                               <li{if $__wcf->getPageMenu()->getActiveMenuItem() == $menuItem->menuItem} class="activeMenuItem"{/if}><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>
        </nav>
index b581ac2e642a9229f3147614245ea71de7650978..c7d7ee5b7e8ca3271702e62307d9e5b976707513 100644 (file)
@@ -1,8 +1,8 @@
 {foreach from=$__wcf->getPageMenu()->getMenuItems('header') item=menuItem}
        {if $__wcf->getPageMenu()->getMenuItems($menuItem->menuItem)|count > 0}
-               <ul class="subMenu">
+               <ul class="wcf-subMenu">
                        {foreach from=$__wcf->getPageMenu()->getMenuItems($menuItem->menuItem) item=subMenuItem}
-                               <li><a href="{$subMenuItem->getProcessor()->getLink()}" title="{lang}{$subMenuItem->menuItem}{/lang}">{lang}{$subMenuItem->menuItem}{/lang}</a>{if $subMenuItem->getProcessor()->getNotifications()} <span class="badge">{#$subMenuItem->getProcessor()->getNotifications()}</span>{/if}</li>
+                               <li><a href="{$subMenuItem->getProcessor()->getLink()}" title="{lang}{$subMenuItem->menuItem}{/lang}">{lang}{$subMenuItem->menuItem}{/lang}</a>{if $subMenuItem->getProcessor()->getNotifications()} <span class="wcf-badge">{#$subMenuItem->getProcessor()->getNotifications()}</span>{/if}</li>
                        {/foreach}
                </ul>
        {/if}
index 298fe316b7f7a69ef20dc49044a79a712d06a90f..711d8c2110c3ca6d3d5b378f664ca5dbc51f534d 100644 (file)
@@ -3,12 +3,13 @@
        <title>{lang}wcf.global.error.permissionDenied.title{/lang} - {lang}{PAGE_TITLE}{/lang}</title>
        {include file='headInclude' sandbox=false}
 </head>
+
 <body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
 {include file='header' sandbox=false}
 
-<div id="main">
+<div id="main" class="wcf-main">
        
-       <p class="error">{lang}wcf.global.error.permissionDenied{/lang}</p>
+       <p class="wcf-error">{lang}wcf.global.error.permissionDenied{/lang}</p>
 
 </div>
 
index 9f7cf9fc34003a9c10d2388b6890785df62a4aa1..18840b671d4375c3210e7a43da3eba6c05c9a126 100644 (file)
@@ -4,12 +4,13 @@
        {include file='headInclude' sandbox=false}
        <meta http-equiv="refresh" content="{if $wait|isset}{@$wait}{else}10{/if};URL={$url}" />
 </head>
+
 <body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
 {include file='header' sandbox=false}
 
-<div id="main">
+<div id="main" class="wcf-main">
        
-       <div class="success">
+       <div class="wcf-success">
                <p>{@$message}</p>
                <p><a href="{$url}">{lang}wcf.global.redirect.url{/lang}</a></p>
        </div>
index 253a566994ec9ef7d527fd7af99d01169fc97fc9..7b15dd15c7739b9751eac016010866704b9a29c0 100644 (file)
@@ -3,11 +3,12 @@
        <title>{lang}wcf.global.error.title{/lang} - {lang}{PAGE_TITLE}{/lang}</title>
        {include file='headInclude' sandbox=false}
 </head>
+
 <body{if $templateName|isset} id="tpl{$templateName|ucfirst}"{/if}>
 {include file='header' sandbox=false}
 
-<div id="main">
-       <p class="error" id="errorMessage">
+<div id="main" class="wcf-main">
+       <p id="errorMessage" class="wcf-error">
                {@$message}
        </p>
 </div>
index e5c11ec6066cb80b3a323eeaac74178288ec37b6..89edfc3f2233cbc4524143ed21b88e9898e9df90 100644 (file)
@@ -567,6 +567,8 @@ nav.wcf-topMenu {
        float: left;
 }
 
+
+
 /* -- -- -- Main Menu -- -- -- */
 
 .wcf-mainMenu {
@@ -588,6 +590,7 @@ nav.wcf-topMenu {
        border-top-right-radius: 5px;
        background-color: rgba(0, 0, 0, .4);
        display: inline-block;
+       position: relative;
 }
 
 .wcf-mainMenu > ul > li {
@@ -632,7 +635,6 @@ nav.wcf-topMenu {
        cursor: pointer;
        display: inline-block;
        position: relative;
-       z-index: 1;
        
        -webkit-transition-property: border, background-color, background-image, color;
        -webkit-transition-duration: .3s;
@@ -699,29 +701,29 @@ nav.wcf-topMenu {
        z-index: 10;
 }
 
-/* Rounded Bottom Corners */
+/* Rounded Bottom Corners: Active Tab */
 
 .wcf-mainMenu > ul > li.activeMenuItem > a:before {
-       position: absolute;
+       border-bottom-right-radius: 6px;
+    border-width: 0 1px 1px 0;
+    position: absolute;
     bottom: 0;
+    left: -7px;
     width: 7px;
     height: 7px;
-    content: " ";
-    left: -7px;
-    border-bottom-right-radius: 6px;
-    border-width: 0 1px 1px 0;
+    content: "";
     box-shadow: 2px 2px 0 #e7f2fd;
 }
 
 .wcf-mainMenu > ul > li.activeMenuItem > a:after {
-       position: absolute;
+       border-bottom-left-radius: 6px;
+    border-width: 0 0 1px 1px;
+    position: absolute;
+    right: -7px;
     bottom: 0;
     width: 7px;
     height: 7px;
-    content: " ";
-    right: -7px;
-    border-bottom-left-radius: 6px;
-    border-width: 0 0 1px 1px;
+    content: "";
     box-shadow: -2px 2px 0 #e7f2fd;
 }
 
@@ -3762,7 +3764,7 @@ tr .columnIcon img {
 
 /* Globals */
 
-.wcf-clipboardEditor li {
+.wcf-clipboardEditor > ul > li {
        font-size: .85em;
        border-radius: 30px;
        margin-top: 7px;
@@ -3772,7 +3774,7 @@ tr .columnIcon img {
        float: left;
 }
 
-.wcf-clipboardEditor li span {
+.wcf-clipboardEditor > ul > li span {
        text-decoration: none !important;
        cursor: pointer;
        background-image: url('../../icon/dropdown1.svg');