Administrator
- Join Date:
- Sep 2009
- Posts:
- 13,980
- Plugin Contributions:
- 46
Administrator
Administrator
Totally Zenned
lat9:
Once reviewed, the plugin will be available here: http://www.zen-cart.com/downloads.php?do=file&id=1804
Administrator
DivaVocals:
It eliminates the need for creating buttons for contributions which have an admin interface..
Totally Zenned
lat9:
That was the main reason I created the plugin; I was getting eye-strain from all the differently-formatted buttons ...
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..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?
Administrator
Totally Zenned
lat9:
The plugin is now available for download ...
Totally Zenned
body#login legend{
background:#ffffff;
border:1px solid #003D00;
color:#333333;
font-size:90%;
padding:0.2em 0.5em;
text-align:right;
}/* <<<<<<<<<<<<<<<<< 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 >>>>>>>>>>>>>>>>>>>> */Administrator
.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
- Moving the @import url("stylesheet_admin_css_buttons.css"); statement to the bottom of the stylesheet.css
- Modifying stylesheet_admin_css_buttons.css to include the additional selectors:
.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
- Moving the @import url("stylesheet_admin_css_buttons.css"); statement to the bottom of the stylesheet.css
- Modifying stylesheet_admin_css_buttons.css to include the additional selectors:
.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; }
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;
}Administrator
Totally Zenned
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.
Administrator
.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; }
Administrator
DivaVocals:
The second line may not be necessary as it makes the buttons too small (IMHO..:smile:)..
.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; }
Administrator
Administrator
Destination thread ID and reason are required when shown.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.