1
0

Include pluginmanager.css in style.css. Another HTTP request saved.

This commit is contained in:
Matthias Mees
2013-05-30 18:23:54 +02:00
parent c2c27470ff
commit d0d2b246e4
2 changed files with 55 additions and 23 deletions

View File

@ -11,7 +11,6 @@
<title>{if $admin_vars.title}{$admin_vars.title} | {/if}{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="{$admin_vars.css_file}">
<link rel="stylesheet" href="{$admin_vars.admin_css_file}">
<script src="{serendipity_getFile file='admin/js/modernizr-2.6.2.min.js'}"></script>
{if $admin_vars.admin_installed}
{serendipity_hookPlugin hook="backend_header" hookAll="true"}

View File

@ -1293,9 +1293,54 @@ form > .button_link:first-of-type { margin-top: 0; }
/* PLUGIN MANAGER
(These might go into pluginmanager.css or be merged with it.)
----------------------------------------------------------------- */
.pluginmanager_container {
background: transparent;
border: 1px solid #ddd;
height: 98%;
margin: 0;
min-height: 12.5em;
padding: 5px;
position: relative;
}
.pluginmanager_container .placeholder {
border: 1px solid black;
height: 50px;
position: relative;
}
.pluginmanager_container .placeholder:before {
border: 5px solid transparent;
border-left-color: red;
border-right: none;
content: "";
height: 0;
margin-top: -5px;
position: absolute;
left: -5px;
top: -4px;
width: 0;
}
.pluginmanager_plugin {
margin: 0 0 5px;
padding: 2em 5px 5px;
position: relative;
}
.pluginmanager_plugin:last-child { margin-bottom: 0; }
.pluginmanager_item_odd,
.pluginmanager_item_even {
background: #eee;
border: 1px solid #ddd;
}
.pluginmanager_place,
.pluginmanager_ownership,
.pluginmanager_move { text-align: right; }
.plugin_optiongroup_last { border-bottom: 1px solid #aaa; }
.plugin_count {
@ -1303,6 +1348,11 @@ form > .button_link:first-of-type { margin-top: 0; }
margin: 0 0 1.5em;
}
.pluginmanager .pluginmanager_grablet {
cursor: move;
display: block;
}
.pluginmanager .pluginmanager_grablet,
.pluginmanager .pluginmanager_configure {
position: absolute;
@ -1336,25 +1386,6 @@ form > .button_link:first-of-type { margin-top: 0; }
z-index: 2000;
}
.pluginmanager_container .placeholder {
border: 1px solid black;
height: 50px;
position: relative;
}
.pluginmanager_container .placeholder:before {
border: 5px solid transparent;
border-left-color: red;
border-right: none;
content: "";
height: 0;
margin-top: -5px;
position: absolute;
left: -5px;
top: -4px;
width: 0;
}
/* MEDIA DB
@ -1522,10 +1553,12 @@ form > .button_link:first-of-type { margin-top: 0; }
#serendipity_plugin_config > fieldset .form_radio,
#template_options fieldset .form_radio { margin-top: 0; }
/* Plugin manager might go into pluginmanager.css in the end */
/* Plugin manager */
.pluginmanager_side {
float: left;
margin: 0 0 1.5em;
vertical-align: top;
width: 33%;
}
#pluginlist_sidebar .pluginmanager_side {