summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/media/style/style.css56
1 files changed, 48 insertions, 8 deletions
diff --git a/askbot/media/style/style.css b/askbot/media/style/style.css
index cb5f3801..5e07a0ed 100644
--- a/askbot/media/style/style.css
+++ b/askbot/media/style/style.css
@@ -2191,7 +2191,8 @@ ul#related-tags li {
margin-top: 10px;
margin-bottom: 8px;
}
-.question-page .post-controls a {
+.question-page .post-controls a,
+.question-page .post-controls span.dropdown-toggle {
color: #777;
padding: 0px 7px 3px 18px;
cursor: pointer;
@@ -2200,19 +2201,58 @@ ul#related-tags li {
font-family: Arial;
text-decoration: none;
height: 18px;
- display: block;
- float: right;
line-height: 18px;
margin-top: -2px;
margin-left: 4px;
}
-.question-page .post-controls a:hover {
+.question-page .post-controls a:hover,
+.question-page .post-controls span.dropdown-toggle:hover {
background-color: #f5f0c9;
+}
+.question-page .post-controls span.dropdown-toggle {
+ background: url(../images/sprites.png) no-repeat -7px -242px;
border-radius: 3px;
-ms-border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
-khtml-border-radius: 3px;
+ position: relative;
+}
+.question-page .post-controls span.dropdown-toggle:hover {
+ padding-right: 0;
+ background: url(../images/sprites.png) no-repeat -7px -274px;
+}
+.question-page .post-controls span.dropdown-toggle:hover form {
+ margin: 0;
+}
+.question-page .post-controls span.dropdown-toggle:hover input {
+ display: block !important;
+ height: 20px !important;
+ line-height: 20px !important;
+ margin: 0;
+ padding: 0 5px;
+ border-radius: 0;
+ -ms-border-radius: 0;
+ -moz-border-radius: 0;
+ -webkit-border-radius: 0;
+ -khtml-border-radius: 0;
+ width: 100% !important;
+}
+.question-page .post-controls span.dropdown-toggle:hover .dropdown-menu {
+ display: block;
+ padding: 5px 0;
+ right: -5px !important;
+ left: auto;
+}
+.question-page .post-controls span.dropdown-toggle:hover .dropdown-menu li,
+.question-page .post-controls span.dropdown-toggle:hover .dropdown-menu li:hover {
+ display: block !important;
+ margin: 0;
+ padding: 0;
+ width: 100% !important;
+}
+.question-page .post-controls span.dropdown-toggle:hover .dropdown-menu li:hover {
+ background-color: #f5f0c9;
}
.question-page .post-controls .sep {
color: #ccc;
@@ -2222,12 +2262,12 @@ ul#related-tags li {
}
.question-page .post-controls .question-delete,
.question-page .answer-controls .question-delete {
- background: url(../images/delete.png) no-repeat left 2px;
+ background: url(../images/delete.png) no-repeat left -1px;
padding-left: 11px;
}
.question-page .post-controls .question-flag,
.question-page .answer-controls .question-flag {
- background: url(../images/flag.png) no-repeat center left;
+ background: url(../images/flag.png) no-repeat 2px 0;
}
.question-page .post-controls .answer-publish,
.question-page .answer-controls .answer-publish {
@@ -2239,7 +2279,7 @@ ul#related-tags li {
}
.question-page .post-controls .question-edit,
.question-page .answer-controls .question-edit {
- background: url(../images/edit2.png) no-repeat 2px center;
+ background: url(../images/edit2.png) no-repeat 3px 1px;
}
.question-page .post-controls .question-retag,
.question-page .answer-controls .question-retag {
@@ -2251,7 +2291,7 @@ ul#related-tags li {
}
.question-page .post-controls .permant-link,
.question-page .answer-controls .permant-link {
- background: url(../images/link.png) no-repeat center left;
+ background: url(../images/link.png) no-repeat 2px 1px;
}
.question-page .post-controls .answer-convert,
.question-page .answer-controls .answer-convert {