shoutbox.css in Shoutbox 6
Same filename and directory in other branches
#shoutbox-body {
font-size : xx-small;
margin: 0px;
padding: 2px;
border: 1px solid #bbb;
overflow: auto;
}
/* override drupal.css values */
.shoutbox-add-form .form-item {
margin-top: 0em;
margin-bottom: 0em;
}
.shoutbox-view-form .form-submit {
visibility: hidden;
display:none;
}
/*
shoutbox block: main divs
*/
div#shoutbox-posts {
text-align: left;
}
div.shoutbox-msg {
color: #000000;
font-size : xx-small;
padding: 5px 0px 5px 0px;
}
div.shoutbox-add-form {
text-align: center;
margin: 3px 0 0 0;
}
div.shoutbox-archive a, div.shoutbox-archive a:visited {
text-align: center;
color: #fff;
background-color: #999;
display: block;
}
div.shoutbox-archive a:hover {
color: #fff;
background-color: #aaa;
text-decoration: none;
}
/*
shoutbox box: nested elements
*/
div.shoutbox-even {
color : #000000;
background-color : #eee;
width: 100%;
}
div.shoutbox-odd {
color : #000000;
background-color : #fff;
width: 100%;
}
.shoutbox-addinput {
width: 100%;
}
.shoutbox-queue-title {
font-weight: bold;
color: #FFFFFF;
background-color: #999;
text-align: center;
}
/*
other shoutbox pages
*/
.shoutbox-add-form input.form-text {
width: 95%;
}
.shoutbox-add-form input.textarea {
width: 95%;
}
.shoutbox-unpublished {
background-color: #f00;
}
#shoutbox-throbber {
width: 16px;
height: 16px;
margin: 2px;
margin-left: 40%;
background: transparent url(throbber.gif) no-repeat;
}
/*
* Image replacement
*
*/
div.shoutbox-msg a.edit-shout,
div.shoutbox-msg a.delete-shout,
div.shoutbox-msg a.publish-shout,
div.shoutbox-msg a.unpublish-shout
{
display: block;
float: right;
padding-right: 1px;
}
div.shoutbox-msg a.edit-shout {
text-indent: -5000px;
background: url(icon_edit.gif) no-repeat;
height: 15px;
width: 15px;
}
div.shoutbox-msg a.delete-shout {
text-indent: -5000px;
background: url(icon_delete.gif) no-repeat;
height: 15px;
width: 15px;
}
div.shoutbox-msg a.publish-shout {
text-indent: -5000px;
background: url(thumb_up.gif) no-repeat;
height: 15px;
width: 15px;
}
div.shoutbox-msg a.unpublish-shout {
text-indent: -5000px;
background: url(thumb_down.gif) no-repeat;
height: 15px;
width: 15px;
}File
shoutbox.cssView source
-
- #shoutbox-body {
- font-size : xx-small;
- margin: 0px;
- padding: 2px;
- border: 1px solid #bbb;
- overflow: auto;
- }
-
- /* override drupal.css values */
- .shoutbox-add-form .form-item {
- margin-top: 0em;
- margin-bottom: 0em;
- }
-
- .shoutbox-view-form .form-submit {
- visibility: hidden;
- display:none;
- }
-
- /*
- shoutbox block: main divs
- */
- div#shoutbox-posts {
- text-align: left;
- }
-
- div.shoutbox-msg {
- color: #000000;
- font-size : xx-small;
- padding: 5px 0px 5px 0px;
- }
-
- div.shoutbox-add-form {
- text-align: center;
- margin: 3px 0 0 0;
- }
-
- div.shoutbox-archive a, div.shoutbox-archive a:visited {
- text-align: center;
- color: #fff;
- background-color: #999;
- display: block;
- }
-
- div.shoutbox-archive a:hover {
- color: #fff;
- background-color: #aaa;
- text-decoration: none;
- }
-
- /*
- shoutbox box: nested elements
- */
- div.shoutbox-even {
- color : #000000;
- background-color : #eee;
- width: 100%;
- }
-
- div.shoutbox-odd {
- color : #000000;
- background-color : #fff;
- width: 100%;
- }
-
- .shoutbox-addinput {
- width: 100%;
- }
-
- .shoutbox-queue-title {
- font-weight: bold;
- color: #FFFFFF;
- background-color: #999;
- text-align: center;
- }
-
- /*
- other shoutbox pages
- */
- .shoutbox-add-form input.form-text {
- width: 95%;
- }
-
- .shoutbox-add-form input.textarea {
- width: 95%;
- }
-
- .shoutbox-unpublished {
- background-color: #f00;
- }
-
- #shoutbox-throbber {
- width: 16px;
- height: 16px;
- margin: 2px;
- margin-left: 40%;
- background: transparent url(throbber.gif) no-repeat;
- }
-
- /*
- * Image replacement
- *
- */
- div.shoutbox-msg a.edit-shout,
- div.shoutbox-msg a.delete-shout,
- div.shoutbox-msg a.publish-shout,
- div.shoutbox-msg a.unpublish-shout
- {
- display: block;
- float: right;
- padding-right: 1px;
- }
-
- div.shoutbox-msg a.edit-shout {
- text-indent: -5000px;
- background: url(icon_edit.gif) no-repeat;
- height: 15px;
- width: 15px;
- }
-
- div.shoutbox-msg a.delete-shout {
- text-indent: -5000px;
- background: url(icon_delete.gif) no-repeat;
- height: 15px;
- width: 15px;
- }
-
- div.shoutbox-msg a.publish-shout {
- text-indent: -5000px;
- background: url(thumb_up.gif) no-repeat;
- height: 15px;
- width: 15px;
- }
-
- div.shoutbox-msg a.unpublish-shout {
- text-indent: -5000px;
- background: url(thumb_down.gif) no-repeat;
- height: 15px;
- width: 15px;
- }