Plugin install cleanups from Simek. fixes #7717
git-svn-id: https://develop.svn.wordpress.org/trunk@8884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
97e3e4f23d
commit
110b6f1bbe
|
@ -819,3 +819,20 @@ table.diff .diff-addedline ins {
|
||||||
.vim-current {
|
.vim-current {
|
||||||
background-color: #CFEBF7 !important;
|
background-color: #CFEBF7 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Install Plugins */
|
||||||
|
.star-average, .star.star-rating {
|
||||||
|
background-color: #fc0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.star.select:hover {
|
||||||
|
background-color: #d00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugin-information .fyi ul {
|
||||||
|
background-color: #eaf3fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugin-information .fyi h2.mainheader {
|
||||||
|
background-color: #cee1ef;
|
||||||
|
}
|
|
@ -802,3 +802,20 @@ table.diff .diff-addedline ins {
|
||||||
.vim-current {
|
.vim-current {
|
||||||
background-color: #E4F2FD !important;
|
background-color: #E4F2FD !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Install Plugins */
|
||||||
|
.star-average, .star.star-rating {
|
||||||
|
background-color: #fc0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.star.select:hover {
|
||||||
|
background-color: #d00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugin-information .fyi ul {
|
||||||
|
background-color: #eaf3fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plugin-information .fyi h2.mainheader {
|
||||||
|
background-color: #cee1ef;
|
||||||
|
}
|
||||||
|
|
|
@ -5,29 +5,31 @@ div.star-holder {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
font-size: 19px;
|
font-size: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.star {
|
div.star {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0px;
|
top: 0;
|
||||||
left: 0px;
|
left: 0;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
letter-spacing: 1ex;
|
letter-spacing: 1ex;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
div.star.select:hover { background-color: #d00; }
|
|
||||||
.star1 { width: 20%; }
|
.star1 { width: 20%; }
|
||||||
.star2 { width: 40%; }
|
.star2 { width: 40%; }
|
||||||
.star3 { width: 60%; }
|
.star3 { width: 60%; }
|
||||||
.star4 { width: 80%; }
|
.star4 { width: 80%; }
|
||||||
.star5 { width: 100%; }
|
.star5 { width: 100%; }
|
||||||
.star-average, .star.star-rating { background-color: #fc0; } /* TODO: Colour CSS file */
|
|
||||||
.star img, div.star a, div.star a:hover, div.star a:visited {
|
.star img, div.star a, div.star a:hover, div.star a:visited {
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
right: 0;
|
||||||
border: none;
|
border: none;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.star img {
|
div.star img {
|
||||||
width: 19px;
|
width: 19px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
|
@ -36,7 +38,6 @@ div.star img {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Start custom CSS */
|
/* Start custom CSS */
|
||||||
/* TODO: Move remaining colours to Colours CSS */
|
|
||||||
/* Header on thickbox */
|
/* Header on thickbox */
|
||||||
#plugin-information-header {
|
#plugin-information-header {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -51,17 +52,23 @@ div.star img {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0px;
|
left: 0;
|
||||||
bottom: -1px;
|
bottom: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Install sidemenu */
|
/* Install sidemenu */
|
||||||
|
|
||||||
#plugin-information p.action-button {
|
#plugin-information p.action-button {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding-bottom:0;
|
padding-bottom: 0;
|
||||||
margin-bottom:0;
|
margin-bottom: 0;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
-moz-border-radius: 3px 0 0 3px;
|
||||||
|
-webkit-border-top-left-radius: 3px;
|
||||||
|
-khtml-border-top-left-radius: 3px;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
|
-webkit-border-bottom-left-radius: 3px;
|
||||||
|
-khtml-border-bottom-left-radius: 3px;
|
||||||
|
border-top-bottom-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information .action-button a {
|
#plugin-information .action-button a {
|
||||||
|
@ -85,27 +92,30 @@ div.star img {
|
||||||
|
|
||||||
#plugin-information .fyi h2 {
|
#plugin-information .fyi h2 {
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0;
|
||||||
margin-right: 0px;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information .fyi h2.mainheader {
|
#plugin-information .fyi h2.mainheader {
|
||||||
background-color: #cee1ef; /* TODO: Colour CSS file */
|
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
-moz-border-radius-topleft: 3px;
|
||||||
|
-webkit-border-top-left-radius: 3px;
|
||||||
|
-khtml-border-top-left-radius: 3px;
|
||||||
|
border-top-left-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information .fyi ul {
|
#plugin-information .fyi ul {
|
||||||
background-color: #eaf3fa; /* TODO: Colour CSS file */
|
padding: 10px 5px 10px 7px;
|
||||||
padding-top: 10px;
|
margin: 0;
|
||||||
padding-bottom: 10px;
|
|
||||||
padding-left: 7px;
|
|
||||||
padding-right: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
-moz-border-radius-bottomleft: 3px;
|
||||||
|
-webkit-border-bottom-left-radius: 3px;
|
||||||
|
-khtml-border-bottom-left-radius: 3px;
|
||||||
|
border-top-bottom-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information .fyi li {
|
#plugin-information .fyi li {
|
||||||
margin-right: 0px;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugin-information #section-holder {
|
#plugin-information #section-holder {
|
||||||
|
|
|
@ -207,8 +207,8 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
|
||||||
$title = '<a target="_blank" href="' . $plugin['homepage'] . '">' . $title . '</a>';
|
$title = '<a target="_blank" href="' . $plugin['homepage'] . '">' . $title . '</a>';
|
||||||
|
|
||||||
$action_links = array();
|
$action_links = array();
|
||||||
$action_links[] = '<a href="' . admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] .
|
$action_links[] = '<a href="' . admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] .
|
||||||
'&TB_iframe=true&width=600&height=800') . '" class="thickbox onclick" title="' .
|
'&TB_iframe=true&width=600&height=800') . '" class="thickbox onclick" title="' .
|
||||||
attribute_escape($name) . '">' . __('Install') . '</a>';
|
attribute_escape($name) . '">' . __('Install') . '</a>';
|
||||||
|
|
||||||
$action_links = apply_filters('plugin_install_action_links', $action_links, $plugin);
|
$action_links = apply_filters('plugin_install_action_links', $action_links, $plugin);
|
||||||
|
|
Loading…
Reference in New Issue