Results 1 to 10 of 20

Threaded View

  1. #19
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CSS Buttons for Admin [Support Thread]

    Quote Originally Posted by lat9 View Post
    Instead, how about
    1. Moving the @import url("stylesheet_admin_css_buttons.css"); statement to the bottom of the stylesheet.css
    2. Modifying stylesheet_admin_css_buttons.css to include the additional selectors:

    Code:
    .cssButton, .cssButton:hover, input.cssButton, .button, input.button, input[type=button] { background-color:white; border:1px solid #003366; color:#404040; border-radius:6px; display:inline-block; font-family:Verdana; font-size:11px; font-weight:bold; margin: 0; padding:3px 8px; text-decoration:none; }
    span.cssButton:hover { background-color: #dcdcdc; }
    input.cssButton:hover, .button:hover, input.button:hover, input[type=button]:hover { background-color:#ccc; border: 1px solid #003d00; cursor: pointer; }
    Only needed to execute step 2. Moving the import statement it appears stops all the CSS buttons from working..

    I also adjusted the background and text color for the hover:

    Code:
    span.cssButton:hover { 
        background-color: #dcdcdc; /* Grey Hover Color */ 
        }
    input.cssButton:hover, .button:hover, input.button:hover, input[type=button]:hover { 
        /*background-color:#599659;*/ /* Green Hover Color */ 
        background-color:#dcdcdc; /* Grey Hover Color */ 
        border: 1px solid #003d00; 
        /*color: white;*/
        cursor: pointer;
        }
    Last edited by DivaVocals; 3 Jan 2014 at 09:43 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v153 CSS JS Loader [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 169
    Last Post: 21 Dec 2024, 11:40 AM
  2. v151 Admin Keepalive Timer [Support Thread]
    By DrByte in forum Addon Admin Tools
    Replies: 78
    Last Post: 7 Apr 2019, 03:49 PM
  3. v150 CSS3 Buttons [support thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 148
    Last Post: 25 Oct 2017, 07:50 PM
  4. Admin Profiles (for v1.3.x only!) Support Thread
    By kuroi in forum All Other Contributions/Addons
    Replies: 1237
    Last Post: 15 Jan 2016, 10:24 PM
  5. v151 Blue Admin [Support Thread]
    By vvomble in forum Addon Templates
    Replies: 11
    Last Post: 27 May 2013, 09:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg