Drupal CSS for forms, collapsible settings, comment


Just want to share some drupal css for forms, collapsible admin settings, and comment border.

/* make form radios and checkboxes inline with its label */
.form-radios .form-item p, .form-checkboxes .form-item p{
display: inline;
}
.form-item label.option, .form-checkboxes label.option{
display:inline;
font-weight:normal;
position:relative;
top:4px;
}
.form-checkboxes, .form-radios {
margin:0;
}

/*———- collapsible setting ————-*/
fieldset {
border:1px solid;
display:block;
padding:10px;
position:relative;
}
html.js fieldset.collapsed {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-origin:padding;
background:transparent none repeat scroll 0 0;
padding:10px;
}

/* give dotted border for margin that is published */

.comment-published {
margin-left:10px;
padding:10px;
border:2px dotted #DBDBDB;
}

One response to “Drupal CSS for forms, collapsible settings, comment”

  1. WP Themes says :

    Amiable brief and this mail helped me alot in my college assignement. Gratefulness you seeking your information.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: