Fixes some "button" issues
authorLuzifr <szekely@woltlab.com>
Thu, 26 Jan 2012 16:36:01 +0000 (17:36 +0100)
committerLuzifr <szekely@woltlab.com>
Thu, 26 Jan 2012 16:36:07 +0000 (17:36 +0100)
wcfsetup/install/files/acp/style/wcf.css
wcfsetup/install/files/acp/templates/cronjobList.tpl

index 0060004cbc2b9af1a74576e60e3089846cf11ad0..3a3013dd366d4a2ca32d27c9943c70353deef195 100644 (file)
@@ -3670,8 +3670,6 @@ button {
 input[type='reset']:hover,
 input[type='submit']:hover,
 input[type='button']:hover,
-input[type='button'].default:hover,
-input[type='button'].default:hover,
 button:hover {
        text-decoration: none;
        color: rgba(102, 102, 102, 1);
@@ -3689,20 +3687,19 @@ button:hover {
 
 /* Active State */
 
-.button:focus,                                         
+.button:focus,
 .active .button,
-.default .button:focus                                         
-input[type='reset']:focus,                     
-input[type='submit']:focus,                    
-input[type='button']:focus,                    
-input[type='button'].default:focus,    
+.default .button:focus,
+input[type='reset']:focus,
+input[type='submit']:focus,
+input[type='button']:focus,
 button:focus,
 
 .button:active,
+.default .button:active,
 input[type='reset']:active,
 input[type='submit']:active,
 input[type='button']:active,
-input[type='button'].default:active,
 button:active {
        color: #333;
        border-width: 1px;
index f6c760e969e1b95528f57a18c6f6380d5b72ddd8..9e3dc29a78d7b1ff04d78ea30fcabd27a5bbf791 100644 (file)
@@ -42,7 +42,7 @@
                        <ul class="largeButtons">
                                {content}
                                        {if $__wcf->session->getPermission('admin.system.cronjob.canAddCronjob')}
-                                               <li><a href="{link controller='CronjobAdd'}{/link}" title="{lang}wcf.acp.cronjob.add{/lang}"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.cronjob.add{/lang}</span></a></li>
+                                               <li><a href="{link controller='CronjobAdd'}{/link}" title="{lang}wcf.acp.cronjob.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.cronjob.add{/lang}</span></a></li>
                                        {/if}
 
                                        {event name='largeButtons'}
                {if $__wcf->session->getPermission('admin.system.cronjob.canAddCronjob')}
                        <nav>
                                <ul class="largeButtons">
-                                       <li><a href="{link controller='CronjobAdd'}{/link}" title="{lang}wcf.acp.cronjob.add{/lang}"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.cronjob.add{/lang}</span></a></li>
+                                       <li><a href="{link controller='CronjobAdd'}{/link}" title="{lang}wcf.acp.cronjob.add{/lang}" class="button"><img src="{@RELATIVE_WCF_DIR}icon/add1.svg" alt="" /> <span>{lang}wcf.acp.cronjob.add{/lang}</span></a></li>
                                </ul>
                        </nav>
                {/if}