1
0

Stylesheet readability.

This commit is contained in:
Matthias Mees
2013-05-27 11:00:55 +02:00
parent 65d5cd5918
commit a0333cfffc

@ -397,7 +397,7 @@ nav ol { padding: 0; }
/* replace w/ .level_inblock */ /* replace w/ .level_inblock */
.icon_link, .icon_link,
#insert_image, #insert_image,
form>a, form > a,
#user_menu li, #user_menu li,
.edit_actions li, .edit_actions li,
.actions li, .actions li,
@ -432,8 +432,8 @@ form>a,
/* replace w/ .level_block */ /* replace w/ .level_block */
.block_level, .block_level,
.form_multiselect label, .form_multiselect label,
label>span, label > span,
legend>span>span, legend > span > span,
#back_to_blog, #back_to_blog,
#meta small, #meta small,
.msg_error, .msg_error,
@ -465,7 +465,7 @@ table,
details, details,
.standalone, .standalone,
.form_buttons, .form_buttons,
form>a { form > a {
margin-top: 1.5em; margin-top: 1.5em;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
@ -497,7 +497,7 @@ input[type="checkbox"] {
} }
.button_link:focus, .button_link:focus,
#template_options div>a:focus, #template_options div > a:focus,
button:focus, button:focus,
input:focus, input:focus,
select:focus, select:focus,
@ -520,7 +520,7 @@ input[type="checkbox"]:active {
} }
.button_link, .button_link,
#template_options div>a, #template_options div > a,
button, button,
input[type="button"], input[type="button"],
input[type="reset"], input[type="reset"],
@ -543,7 +543,7 @@ input[type="submit"] {
} }
.button_link, .button_link,
#template_options div>a, #template_options div > a,
button, button,
input[type="button"] { input[type="button"] {
background: #ddd; background: #ddd;
@ -584,7 +584,7 @@ input[type="submit"].state_cancel:visited {
} }
.button_link:hover, .button_link:hover,
#template_options div>a:hover, #template_options div > a:hover,
button:hover, button:hover,
input[type="button"]:hover { input[type="button"]:hover {
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fff), color-stop(1px, #eee), color-stop(100%, #ccc)); background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fff), color-stop(1px, #eee), color-stop(100%, #ccc));
@ -617,7 +617,7 @@ input[type="submit"].state_cancel:focus {
} }
.button_link:active, .button_link:active,
#template_options div>a:active, #template_options div > a:active,
button:active, button:active,
input[type="button"]:active { input[type="button"]:active {
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fff), color-stop(1px, #ddd), color-stop(100%, #eee)); background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #fff), color-stop(1px, #ddd), color-stop(100%, #eee));
@ -802,11 +802,11 @@ optgroup {
/* BACKEND FORM STYLES /* BACKEND FORM STYLES
----------------------------------------------------------------- */ ----------------------------------------------------------------- */
label, label,
legend>span, legend > span,
figcaption { font-weight: bold; } figcaption { font-weight: bold; }
label>span, label > span,
legend>span>span, legend > span > span,
input[type=checkbox] + label, input[type=checkbox] + label,
input[type=radio] + label, input[type=radio] + label,
.form_check label { font-weight: normal; } .form_check label { font-weight: normal; }
@ -822,7 +822,7 @@ input[type=checkbox] { margin-right: .4em; }
.form_check label { display: inline-block !important; } .form_check label { display: inline-block !important; }
.serendipity_commentDirection, .serendipity_commentDirection,
.configuration_group fieldset>fieldset, .configuration_group fieldset > fieldset,
#preview, #preview,
.form_field, .form_field,
.form_area, .form_area,
@ -871,15 +871,15 @@ a:focus { color: #d06604; }
a.button_link, a.button_link,
a.button_link:hover, a.button_link:hover,
a.button_link:focus, a.button_link:focus,
#template_options div>a, #template_options div > a,
#template_options div>a:hover, #template_options div > a:hover,
#template_options div>a:focus, #template_options div > a:focus,
.button_link>span:before { .button_link > span:before {
color: #000; color: #000;
text-decoration: none; text-decoration: none;
} }
.button_link>span:before { .button_link > span:before {
margin-right: 0; margin-right: 0;
width: auto; width: auto;
} }
@ -972,7 +972,7 @@ summary {
/* LAYOUT /* LAYOUT
----------------------------------------------------------------- */ ----------------------------------------------------------------- */
#top>div, #top > div,
main { main {
margin: 0 auto; margin: 0 auto;
max-width: 1280px; max-width: 1280px;
@ -1140,7 +1140,7 @@ fieldset p,
.media_file_meta, .media_file_meta,
.image_resize_hint p { margin: 0; } .image_resize_hint p { margin: 0; }
.importer_data .clearfix>div { .importer_data .clearfix > div {
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
} }
@ -1175,12 +1175,12 @@ fieldset p,
.comment_data, .comment_data,
.configuration_group h3, .configuration_group h3,
form>.button_link:first-of-type { margin-top: 0; } form > .button_link:first-of-type { margin-top: 0; }
#template_options, #template_options,
#pluginlist_sidebar { margin-bottom: 3em; } #pluginlist_sidebar { margin-bottom: 3em; }
.configuration_group>fieldset { margin-bottom: 1.5em; } .configuration_group > fieldset { margin-bottom: 1.5em; }
.editor_toolbar { margin-top: .25em; } .editor_toolbar { margin-top: .25em; }
@ -1194,7 +1194,7 @@ form>.button_link:first-of-type { margin-top: 0; }
#template_select article, #template_select article,
.media_file, .media_file,
.plugins_installable>li { .plugins_installable > li {
background: #eee; background: #eee;
margin: 0 0 1em; margin: 0 0 1em;
padding: 0 .5em 1em; padding: 0 .5em 1em;
@ -1214,7 +1214,7 @@ form>.button_link:first-of-type { margin-top: 0; }
#serendipityScaleImg img, #serendipityScaleImg img,
.media_file, .media_file,
.media_file_preview img, .media_file_preview img,
.plugins_installable>li { border: 1px solid #aaa; } .plugins_installable > li { border: 1px solid #aaa; }
#serendipityScaleImg img { max-width: 99%; } #serendipityScaleImg img { max-width: 99%; }
@ -1237,11 +1237,11 @@ form>.button_link:first-of-type { margin-top: 0; }
#serendipity_image_folders .odd, #serendipity_image_folders .odd,
#serendipity_image_folders .even { border-top: 1px solid #aaa; } #serendipity_image_folders .even { border-top: 1px solid #aaa; }
.zebra_list>li, .zebra_list > li,
#categories, #categories,
#serendipity_image_folders { border-bottom: 1px solid #aaa; } #serendipity_image_folders { border-bottom: 1px solid #aaa; }
.zebra_list>.odd, .zebra_list > .odd,
#categories .odd, #categories .odd,
#serendipity_image_folders .odd { background: #eee; } #serendipity_image_folders .odd { background: #eee; }
@ -1251,11 +1251,11 @@ form>.button_link:first-of-type { margin-top: 0; }
line-height: 1.5; line-height: 1.5;
} }
#entries_list>li, #entries_list > li,
#serendipity_comments_list>li { padding: 0 0 0 .4em; } #serendipity_comments_list > li { padding: 0 0 0 .4em; }
#categories li>ul, #categories li > ul,
#serendipity_image_folders li>ul { padding: 0 0 0 1em; } #serendipity_image_folders li > ul { padding: 0 0 0 1em; }
#categories .edit_actions li, #categories .edit_actions li,
#serendipity_image_folders .edit_actions li { padding: 0; } #serendipity_image_folders .edit_actions li { padding: 0; }
@ -1356,7 +1356,7 @@ form>.button_link:first-of-type { margin-top: 0; }
.lt-ie8 #banner, .lt-ie8 #banner,
.lt-ie8 #user_menu { width: 48.5%; } .lt-ie8 #user_menu { width: 48.5%; }
#banner>span { margin: 0 0 1.5em; } #banner > span { margin: 0 0 1.5em; }
#user_menu ul { #user_menu ul {
font-size: 1.5em; font-size: 1.5em;
@ -1411,7 +1411,7 @@ form>.button_link:first-of-type { margin-top: 0; }
margin: 1.71429em 0; margin: 1.71429em 0;
} }
#image_directory_edit_form>.clearfix>div { #image_directory_edit_form > .clearfix > div {
float: left; float: left;
margin: 0 5% 0 0; margin: 0 5% 0 0;
} }
@ -1436,7 +1436,7 @@ form>.button_link:first-of-type { margin-top: 0; }
#template_options .form_select select, #template_options .form_select select,
#template_options .form_field input, #template_options .form_field input,
#template_options fieldset legend, #template_options fieldset legend,
#template_options fieldset>.clearfix, #template_options fieldset > .clearfix,
.configuration_group .form_select label, .configuration_group .form_select label,
.configuration_group .form_multiselect label, .configuration_group .form_multiselect label,
.configuration_group .form_field label, .configuration_group .form_field label,
@ -1445,16 +1445,16 @@ form>.button_link:first-of-type { margin-top: 0; }
.configuration_group .form_multiselect select, .configuration_group .form_multiselect select,
.configuration_group .form_field input, .configuration_group .form_field input,
.configuration_group .form_area textarea, .configuration_group .form_area textarea,
.configuration_group fieldset>fieldset legend, .configuration_group fieldset > fieldset legend,
.configuration_group fieldset>fieldset .clearfix, .configuration_group fieldset > fieldset .clearfix,
#uploadform .form_select label, #uploadform .form_select label,
#uploadform .form_field label, #uploadform .form_field label,
#uploadform .form_select select, #uploadform .form_select select,
#uploadform .form_field input, #uploadform .form_field input,
#serendipity_plugin_config fieldset legend, #serendipity_plugin_config fieldset legend,
#serendipity_plugin_config fieldset>.clearfix, #serendipity_plugin_config fieldset > .clearfix,
#serendipity_category fieldset legend, #serendipity_category fieldset legend,
#serendipity_category fieldset>.clearfix { #serendipity_category fieldset > .clearfix {
float: left; float: left;
margin-right: 2%; margin-right: 2%;
width: 48%; width: 48%;
@ -1475,7 +1475,7 @@ form>.button_link:first-of-type { margin-top: 0; }
.configuration_group .form_multiselect, .configuration_group .form_multiselect,
.configuration_group .form_field, .configuration_group .form_field,
.configuration_group .form_area, .configuration_group .form_area,
.configuration_group fieldset>fieldset, .configuration_group fieldset > fieldset,
#template_select .odd, #template_select .odd,
.media_pane .odd { clear: left; } .media_pane .odd { clear: left; }
@ -1483,14 +1483,14 @@ form>.button_link:first-of-type { margin-top: 0; }
.configuration_group .form_multiselect, .configuration_group .form_multiselect,
.configuration_group .form_field, .configuration_group .form_field,
.configuration_group .form_area, .configuration_group .form_area,
.configuration_group fieldset>fieldset, .configuration_group fieldset > fieldset,
#serendipityScaleImg, #serendipityScaleImg,
.media_file header { overflow: hidden; } .media_file header { overflow: hidden; }
#serendipityScaleImg { margin-top: 2.25em; } #serendipityScaleImg { margin-top: 2.25em; }
.configuration_group fieldset>fieldset .form_radio, .configuration_group fieldset > fieldset .form_radio,
#serendipity_plugin_config>fieldset .form_radio, #serendipity_plugin_config > fieldset .form_radio,
#template_options fieldset .form_radio { margin-top: 0; } #template_options fieldset .form_radio { margin-top: 0; }
/* Plugin manager might go into pluginmanager.css in the end */ /* Plugin manager might go into pluginmanager.css in the end */
@ -1544,8 +1544,8 @@ form>.button_link:first-of-type { margin-top: 0; }
margin: 0 0 0 2%; margin: 0 0 0 2%;
} }
#edit_entry_metadata>div, #edit_entry_metadata > div,
#edit_entry_submit>div { #edit_entry_submit > div {
float: left; float: left;
width: 50%; width: 50%;
} }
@ -1553,12 +1553,12 @@ form>.button_link:first-of-type { margin-top: 0; }
#edit_entry_submit .form_buttons { text-align: right; } #edit_entry_submit .form_buttons { text-align: right; }
#sort_entries .form_select, #sort_entries .form_select,
#filter_comments .clearfix>div, #filter_comments .clearfix > div,
#serendipity_category>.clearfix>div, #serendipity_category > .clearfix > div,
#serendipity_comment .form_field, #serendipity_comment .form_field,
#media_filter>div, #media_filter > div,
#moreFilter>div, #moreFilter > div,
#media_pane_sort>.clearfix>div { #media_pane_sort > .clearfix > div {
float: left; float: left;
width: 33% ; width: 33% ;
} }
@ -1612,7 +1612,7 @@ form>.button_link:first-of-type { margin-top: 0; }
margin: .75em 0; margin: .75em 0;
} }
#banner>span { #banner > span {
float: left; float: left;
margin: 2.35em 0 1.5em 3.35em; margin: 2.35em 0 1.5em 3.35em;
} }
@ -1631,5 +1631,5 @@ form>.button_link:first-of-type { margin-top: 0; }
@media only screen and (min-width: 1400px) { @media only screen and (min-width: 1400px) {
body { font-size: 1.125em; } body { font-size: 1.125em; }
#banner>span { margin: 2.35em 0 1.5em 2em; } #banner > span { margin: 2.35em 0 1.5em 2em; }
} }