Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    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.

  2. #12
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,909
    Plugin Contributions
    96

    Default Re: CSS Buttons for Admin [Support Thread]

    v1.0.1 is now available in the plugins ...

  3. #13
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: CSS Buttons for Admin [Support Thread]

    A small point but I've noticed that in Option Values Manager the Update & Delete buttons are stacked rather than side-by-side.

    When I have 50 attributes displayed the first part of the page load (the attribute list) shows them as side-by-side but once the copy options at the bottom kick in the Update & Delete revert to being stacked.

  4. #14
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,909
    Plugin Contributions
    96

    Default Re: CSS Buttons for Admin [Support Thread]

    Quote Originally Posted by simon1066 View Post
    A small point but I've noticed that in Option Values Manager the Update & Delete buttons are stacked rather than side-by-side.

    When I have 50 attributes displayed the first part of the page load (the attribute list) shows them as side-by-side but once the copy options at the bottom kick in the Update & Delete revert to being stacked.
    I'll give it a look and report back ...

  5. #15
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,909
    Plugin Contributions
    96

    Default Re: CSS Buttons for Admin [Support Thread]

    Add the following to the bottom of the stylesheet_admin_css_buttons.css file. It makes the text size for the edit/delete buttons smaller and widens up the last column for tables that use the attributes-even (and -odd) class.

    Code:
    .attributes-odd td:last-child, .attributes-even td:last-child { width: 12%; }
    .attributes-even .button_edit, .attributes-odd .button_edit, .attributes-even .button_delete, .attributes-odd .button_delete { font-size: smaller; }

  6. #16
    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
    Add the following to the bottom of the stylesheet_admin_css_buttons.css file. It makes the text size for the edit/delete buttons smaller and widens up the last column for tables that use the attributes-even (and -odd) class.

    Code:
    .attributes-odd td:last-child, .attributes-even td:last-child { width: 12%; }
    .attributes-even .button_edit, .attributes-odd .button_edit, .attributes-even .button_delete, .attributes-odd .button_delete { font-size: smaller; }
    The second line may not be necessary as it makes the buttons too small (IMHO..)..
    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.

  7. #17
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,909
    Plugin Contributions
    96

    Default Re: CSS Buttons for Admin [Support Thread]

    Quote Originally Posted by DivaVocals View Post
    The second line may not be necessary as it makes the buttons too small (IMHO..)..
    I'm with you, how about simply
    Code:
    .attributes-odd td:last-child, .attributes-even td:last-child { width: 15%; }

  8. #18
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    application error Re: CSS Buttons for Admin [Support Thread]

    Quote Originally Posted by lat9 View Post
    Add the following to the bottom of the stylesheet_admin_css_buttons.css file. It makes the text size for the edit/delete buttons smaller and widens up the last column for tables that use the attributes-even (and -odd) class.

    Code:
    .attributes-odd td:last-child, .attributes-even td:last-child { width: 12%; }
    .attributes-even .button_edit, .attributes-odd .button_edit, .attributes-even .button_delete, .attributes-odd .button_delete { font-size: smaller; }
    Thank you, that's great. I've massaged the values slightly to fine tune.

  9. #19
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,909
    Plugin Contributions
    96

    Default Re: CSS Buttons for Admin [Support Thread]

    v1.0.4 is now available from the Plugins area. This version provides downwardly-compatible changes required for Zen Cart v1.5.4.

  10. #20
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,909
    Plugin Contributions
    96

    Default Re: CSS Buttons for Admin [Support Thread]

    I've just submitted v1.0.5 to the plugins for review, incorporating Zen Cart v1.5.5 changes.

 

 
Page 2 of 2 FirstFirst 12

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