summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron <byroncorrales@gmail.com>2011-11-02 01:02:01 -0600
committerByron <byroncorrales@gmail.com>2011-11-02 01:02:01 -0600
commitc8c866cccf2b9db30f3c6eab7275c095806d43d8 (patch)
treedc2d0bd4eac9131e6a4a1f81958ec69d30682845
parent710ebd587028a590f3fe9bd620b963f48a96b5ad (diff)
downloadaskbot-c8c866cccf2b9db30f3c6eab7275c095806d43d8.tar.gz
askbot-c8c866cccf2b9db30f3c6eab7275c095806d43d8.tar.bz2
askbot-c8c866cccf2b9db30f3c6eab7275c095806d43d8.zip
Whitespace in sortbar, rss icon position and popup style
-rw-r--r--askbot/skins/default/media/images/notification.pngbin0 -> 217 bytes
-rw-r--r--askbot/skins/default/media/style/lib_style.less2
-rw-r--r--askbot/skins/default/media/style/style.css64
-rw-r--r--askbot/skins/default/templates/question/answer_tab_bar.html2
4 files changed, 48 insertions, 20 deletions
diff --git a/askbot/skins/default/media/images/notification.png b/askbot/skins/default/media/images/notification.png
new file mode 100644
index 00000000..c33ba699
--- /dev/null
+++ b/askbot/skins/default/media/images/notification.png
Binary files differ
diff --git a/askbot/skins/default/media/style/lib_style.less b/askbot/skins/default/media/style/lib_style.less
index 796420c6..6d3bfa34 100644
--- a/askbot/skins/default/media/style/lib_style.less
+++ b/askbot/skins/default/media/style/lib_style.less
@@ -15,7 +15,7 @@
@body-font:"Trebuchet MS", sans-serif;
@sort-font:Georgia, serif;
@main-font:'Yanone Kaffeesatz', sans-serif;
-@secundary-font:Arial;
+@secondary-font:Arial;
/* Receive exactly positions for background Sprite */
diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css
index 34f694b6..bfd2e162 100644
--- a/askbot/skins/default/media/style/style.css
+++ b/askbot/skins/default/media/style/style.css
@@ -151,6 +151,10 @@ h1 {
.left{float:left}
.right{float:right}
.clean{clear:both}
+.center{
+ margin: 0 auto;
+ padding: 0;
+}
/* ----- Notify message bar , check blocks/system_messages.html ----- */
@@ -569,6 +573,7 @@ h1 {
text-decoration:none;
.rounded-corners(4px);
.box-shadow(1px, 1px, 2px, #636363);
+ .center;
}
a.followed:hover, a.follow:hover{
@@ -1415,9 +1420,10 @@ span.delete-icon:hover {
p.rss {
float:none;
clear:both;
- padding: 3px 0 0 1px;
+ padding: 3px 0 0 22px;
font-size: 15px;
width:110px;
+ background-position:center left;
}
@@ -1488,7 +1494,7 @@ span.delete-icon:hover {
background: #fff url(../images/background-user-info.png) repeat-x bottom;
float: right;
font-size: 9px;
- font-family:@secundary-font;
+ font-family:@secondary-font;
width: 173px;
padding:4px;
margin:0px 0px 5px 5px;
@@ -1854,6 +1860,12 @@ span.delete-icon:hover {
.vote-buttons .notify-sidebar label {
vertical-align: top;
}
+
+ .tabBar-answer{
+ margin-bottom:15px;
+ padding-left:15px;
+ }
+
.accepted-answer {
background-color: #f7fecc;
border-bottom-color: #9BD59B;
@@ -2169,6 +2181,38 @@ a:hover.medal {
.rounded-corners(4px);
}
+.vote-notification {
+ z-index: 1;
+ cursor: pointer;
+ display: none;
+ position: absolute;
+ font-family:@secondary-font;
+ font-size:14px;
+ font-weight:normal;
+ color: white;
+ background-color: #8e0000;
+ text-align: center;
+ padding-bottom:10px;
+ .box-shadow(0px, 2px, 4px, #370000);
+ .rounded-corners(4px);
+
+ h3{
+ background:url(../images/notification.png) repeat-x top;
+ padding:10px 10px 10px 10px;
+ font-size:13px;
+ margin-bottom:5px;
+ border-top:#8e0000 1px solid;
+ color:#fff;
+ font-weight:normal;
+ }
+ a {
+ color: #fb7321;
+ text-decoration: underline;
+ font-weight:bold;
+ }
+
+}
+
/* ----- Footer links , check blocks/footer.html----- */
#ground {
@@ -2933,22 +2977,6 @@ p.signup_p {
margin:0;
}
-.vote-notification {
- z-index: 1;
- cursor: pointer;
- display: none;
- position: absolute;
- padding: 15px;
- color: white;
- background-color: darkred;
- text-align: center;
-}
-
-.vote-notification a {
- color: white;
- text-decoration: underline;
-}
-
#responses {
clear:both;
line-height:18px;
diff --git a/askbot/skins/default/templates/question/answer_tab_bar.html b/askbot/skins/default/templates/question/answer_tab_bar.html
index 04584bbd..3bf0a2a0 100644
--- a/askbot/skins/default/templates/question/answer_tab_bar.html
+++ b/askbot/skins/default/templates/question/answer_tab_bar.html
@@ -1,4 +1,4 @@
-<div class="tabBar">
+<div class="tabBar tabBar-answer">
<h1 id="questionCount">
{% trans counter=answers|length %}
{{counter}} Answer