Refine UI: Fix plugin icon position, increase plugin name width, synchronize version display
This commit is contained in:
@ -105,31 +105,31 @@
|
|||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Place plugin icon on the left of the plugin name, moved 35px to the right */
|
/* Place plugin icon on the left of the plugin name without the extra offset */
|
||||||
body.wp-admin .plugin-card .plugin-icon {
|
body.wp-admin .plugin-card .plugin-icon {
|
||||||
position: relative !important;
|
position: relative !important;
|
||||||
float: left !important;
|
float: left !important;
|
||||||
top: auto !important;
|
top: auto !important;
|
||||||
right: auto !important;
|
right: auto !important;
|
||||||
left: 35px !important;
|
left: 0 !important;
|
||||||
margin: 0 20px 0 0 !important;
|
margin: 0 20px 0 0 !important;
|
||||||
width: 64px !important;
|
width: 64px !important;
|
||||||
height: 64px !important;
|
height: 64px !important;
|
||||||
z-index: 1 !important;
|
z-index: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Position name next to the icon with consistent width, moved 35px left and narrower wrap */
|
/* Position name next to the icon with wider width for better text wrap */
|
||||||
body.wp-admin .plugin-card .name.column-name {
|
body.wp-admin .plugin-card .name.column-name {
|
||||||
margin-left: -35px !important;
|
margin-left: 0 !important;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
margin-bottom: 10px !important;
|
margin-bottom: 10px !important;
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
text-align: left !important;
|
text-align: left !important;
|
||||||
display: inline-block !important;
|
display: inline-block !important;
|
||||||
width: calc(75% - 155px) !important;
|
width: calc(95% - 155px) !important;
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
vertical-align: top !important;
|
vertical-align: top !important;
|
||||||
padding-left: 35px !important;
|
padding-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.wp-admin .plugin-card .name.column-name h3 {
|
body.wp-admin .plugin-card .name.column-name h3 {
|
||||||
@ -147,6 +147,7 @@
|
|||||||
display: flex !important;
|
display: flex !important;
|
||||||
flex-direction: column !important;
|
flex-direction: column !important;
|
||||||
align-items: flex-end !important;
|
align-items: flex-end !important;
|
||||||
|
min-width: 120px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.wp-admin .plugin-card .action-links .plugin-action-buttons {
|
body.wp-admin .plugin-card .action-links .plugin-action-buttons {
|
||||||
|
@ -20,7 +20,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Define plugin version
|
// Define plugin version
|
||||||
define( 'WP_ALLSTARS_VERSION', '1.0.0' );
|
define( 'WP_ALLSTARS_VERSION', '0.1 (Beta)' );
|
||||||
|
|
||||||
// Activation hook
|
// Activation hook
|
||||||
function wp_allstars_activate() {
|
function wp_allstars_activate() {
|
||||||
|
Reference in New Issue
Block a user