1
0

Revert relevant aspects of category overlay to hierarchical view.

Reference #254
This commit is contained in:
Matthias Mees
2014-12-31 14:52:39 +01:00
parent 1ac7f7141c
commit b141f4a410
2 changed files with 14 additions and 12 deletions

View File

@@ -129,7 +129,7 @@
{foreach from=$entry_vars.category_options item="entry_cat"} {foreach from=$entry_vars.category_options item="entry_cat"}
<div class="form_check"> <div class="form_check">
<input type="hidden" name="serendipity[had_categories]" value="1"> <input type="hidden" name="serendipity[had_categories]" value="1">
{* {$entry_cat.depth_pad} *} {$entry_cat.depth_pad}
<input id="serendipity_category_{$entry_cat.categoryid}" name="serendipity[categories][]" type="checkbox" value="{$entry_cat.categoryid}"{if $entry_cat.is_selected} checked="checked"{/if}> <input id="serendipity_category_{$entry_cat.categoryid}" name="serendipity[categories][]" type="checkbox" value="{$entry_cat.categoryid}"{if $entry_cat.is_selected} checked="checked"{/if}>
<label for="serendipity_category_{$entry_cat.categoryid}">{$entry_cat.category_name}</label> <label for="serendipity_category_{$entry_cat.categoryid}">{$entry_cat.category_name}</label>

View File

@@ -1663,11 +1663,13 @@ form > .button_link:first-of-type,
width: auto; width: auto;
} }
.mfp-content #s9y_links { .mfp-content #s9y_links,
.mfp-content #edit_entry_category {
max-width: 34em; max-width: 34em;
} }
.mfp-content #edit_entry_category, /* category-option */
/*.mfp-content #edit_entry_category,*/
.mfp-content #edit_entry_freetags { .mfp-content #edit_entry_freetags {
max-width: 60em; max-width: 60em;
} }
@@ -1680,9 +1682,9 @@ form > .button_link:first-of-type,
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
float: left; /*float: left;
margin: 0 0 .5em; margin: 0 0 .5em;
width: 50%; width: 50%;*/
} }
.mfp-content #edit_entry_category .form_check label { .mfp-content #edit_entry_category .form_check label {
@@ -1692,7 +1694,7 @@ form > .button_link:first-of-type,
border: 1px solid #fcfcfc; border: 1px solid #fcfcfc;
border-radius: 2px; border-radius: 2px;
cursor: pointer; cursor: pointer;
display: block !important; /*display: block !important;*/
overflow: hidden; overflow: hidden;
padding: .25em; padding: .25em;
width: 95%; width: 95%;
@@ -2034,7 +2036,7 @@ label .perm_name,
color: #3e5f81; color: #3e5f81;
text-align: center; text-align: center;
} }
#meta p { #meta p {
color: #666; color: #666;
margin: 0; margin: 0;
@@ -2917,9 +2919,9 @@ img.mfp-img {
margin: 0 0 0 .4em; margin: 0 0 0 .4em;
} }
.mfp-content #edit_entry_category .form_check { /*.mfp-content #edit_entry_category .form_check {
width: 25%; width: 25%;
} }*/
#meta_data > div, #meta_data > div,
#template_options fieldset legend, #template_options fieldset legend,
@@ -3112,7 +3114,7 @@ img.mfp-img {
#media_filter > div, #media_filter > div,
#media_pane_sort > .left, #media_pane_sort > .left,
#media_pane_sort > .center, #media_pane_sort > .center,
#media_pane_sort > .right, #media_pane_sort > .right,
#media_pane_sort > .grouped > div { #media_pane_sort > .grouped > div {
float: left; float: left;
width: 33% ; width: 33% ;
@@ -3271,9 +3273,9 @@ img.mfp-img {
width: 73%; width: 73%;
} }
.mfp-content #edit_entry_category .form_check { /*.mfp-content #edit_entry_category .form_check {
width: 20%; width: 20%;
} }*/
.installer #content { .installer #content {
float: none; float: none;