From b13c6ea9adde898d499fb70134fa5c99d324031a Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 4 Jun 2012 11:49:16 +0200 Subject: quattro: added editor buttons to comments --- view/theme/quattro/green/style.css | 102 +++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) (limited to 'view/theme/quattro/green') diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index f33c45eae..ecf4ff986 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -1734,3 +1734,105 @@ footer { #adminpage .selectall { text-align: right; } +/* edit buttons for comments */ +.icon.dim { + opacity: 0.3; + filter: alpha(opacity=30); +} +[class^="comment-edit-bb"] { + list-style: none; + display: none; + margin: 0px 0 0px 60px; + width: 75%; +} +[class^="comment-edit-bb"] > li { + display: inline-block; + margin: 10px 10px 0 0; + visibility: none; +} +[class^="comment-edit-bb-end"] { + clear: both; +} +.editicon { + display: inline-block; + width: 16px; + height: 16px; + background-image: url(bbedit.png); + text-decoration: none; +} +.editicon :hover { + background-color: #ccc; +} +.boldbb { + background-position: 0px 0px; +} +.boldbb:hover { + background-position: 0px -16px; +} +.italicbb { + background-position: -16px 0px; +} +.italicbb:hover { + background-position: -16px -16px; +} +.underlinebb { + background-position: -32px 0px; +} +.underlinebb:hover { + background-position: -32px -16px; +} +.quotebb { + background-position: -48px 0px; +} +.quotebb:hover { + background-position: -48px -16px; +} +.codebb { + background-position: -64px 0px; +} +.codebb:hover { + background-position: -64px -16px; +} +.imagebb { + background-position: -80px 0px; +} +.imagebb:hover { + background-position: -80px -16px; +} +.urlbb { + background-position: -96px 0px; +} +.urlbb:hover { + background-position: -96px -16px; +} +.videobb { + background-position: -112px 0px; +} +.videobb:hover { + background-position: -112px -16px; +} +.attachtype { + display: block; + width: 20px; + height: 23px; + float: left; + background-image: url('../../../images/content-types.png'); +} +.body-attach { + margin-top: 10px; +} +.type-video { + background-position: 0px 0px; +} +.type-image { + background-position: -20px 0px; +} +.type-audio { + background-position: -40px 0px; +} +.type-text { + background-position: -60px 0px; +} +.type-unkn { + background-position: -80px 0px; +} -- cgit v1.2.3