Administrator
- Join Date:
- Sep 2009
- Location:
- Stuart, FL
- Posts:
- 14,142
- Plugin Contributions:
- 56
Administrator
Administrator
Once reviewed, the plugin will be available here: http://www.zen-cart.com/downloads.php?do=file&id=1804
Totally Zenned
lat9:
Once reviewed, the plugin will be available here: http://www.zen-cart.com/downloads.php?do=file&id=1804
I LOVE you!!! this will go GREAT with my admin templates.. My templates are simple templates which use some CSS3 and no images, but they make a nice change to the drab stock green admin (no offense..:laugh: ).. Just like the storefront CSS buttons eliminates the need for cumbersome storefront image button sets, I would LOVE LOVE LOVE to replace ALL the admin image buttons with CSS buttons.. It eliminates the need for creating buttons for contributions which have an admin interface..
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.
Administrator
DivaVocals:
It eliminates the need for creating buttons for contributions which have an admin interface..
That was the main reason I created the plugin; I was getting eye-strain from all the differently-formatted buttons ... although I do like the look of the button-pack provided by Super Orders. Have you ever considered just packaging up those buttons as an admin-level plugin?
Totally Zenned
lat9:
That was the main reason I created the plugin; I was getting eye-strain from all the differently-formatted buttons ...
That's why I eventually replaced the three Super Order buttons with CSS buttons. I thought the original SO buttons looked too "ugly". CSS buttons were cleaner..
lat9:
although I do like the look of the button-pack provided by Super Orders. Have you ever considered just packaging up those buttons as an admin-level plugin?I never thought about that.. I have to admit I "borrowed" those buttons and icons from one of the few available admin templates.. (Can't remember which one..) I loved the way those buttons looked and how they spruced up the look of the admin which is why I included them in the SO package.. Maybe I will package them up and submit them..
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.
Administrator
Totally Zenned
lat9:
The plugin is now available for download ...
Downloaded earlier this morning and now I am incorporating it into my admin template so I can submit it.. Well done.. installed SMOOTH as glass!!!
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.
Totally Zenned
Wanted to share a small change I made so that the buttons on the login page match the rest of the admin CSS buttons..
In "YOUR_ADMIN/includes/stylesheet.css" find the following:
body#login legend{
background:#ffffff;
border:1px solid #003D00;
color:#333333;
font-size:90%;
padding:0.2em 0.5em;
text-align:right;
}
After that add this:
/* <<<<<<<<<<<<<<<<< Begin CSS Login Buttons >>>>>>>>>>>>>>>>>>>> */
.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;
}
.button:hover, input.button:hover, input[type=button]:hover {
background-color:#ccc;
border: 1px solid #003d00;
cursor: pointer;
}
/* <<<<<<<<<<<<<<<<< End CSS Login Buttons >>>>>>>>>>>>>>>>>>>> */
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.
Administrator
Instead, how about
.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; }
Totally Zenned
lat9:
Instead, how about
.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; }
:laugh: Why not.. **lol**
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.
Totally Zenned
lat9:
Instead, how about
.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:
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;
}
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.
Administrator
Totally Zenned
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.
Simon
Administrator
simon1066:
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 ...
Administrator
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.
.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; }
Totally Zenned
lat9:
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.
.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..:smile:)..
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.
Administrator
DivaVocals:
The second line may not be necessary as it makes the buttons too small (IMHO..:smile:)..
I'm with you, how about simply
.attributes-odd td:last-child, .attributes-even td:last-child { width: 15%; }
Totally Zenned
lat9:
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.
.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.
Simon
Administrator
v1.0.4 is now available from the Plugins area. This version provides downwardly-compatible changes required for Zen Cart v1.5.4.
Administrator
I've just submitted v1.0.5 to the plugins for review, incorporating Zen Cart v1.5.5 changes.
Tell staff why this post should be reviewed.