From c8c866cccf2b9db30f3c6eab7275c095806d43d8 Mon Sep 17 00:00:00 2001 From: Byron Date: Wed, 2 Nov 2011 01:02:01 -0600 Subject: Whitespace in sortbar, rss icon position and popup style --- askbot/skins/default/media/images/notification.png | Bin 0 -> 217 bytes askbot/skins/default/media/style/lib_style.less | 2 +- askbot/skins/default/media/style/style.css | 64 +++++++++++++++------ .../default/templates/question/answer_tab_bar.html | 2 +- 4 files changed, 48 insertions(+), 20 deletions(-) create mode 100644 askbot/skins/default/media/images/notification.png 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 Binary files /dev/null and b/askbot/skins/default/media/images/notification.png 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 @@ -
+

{% trans counter=answers|length %} {{counter}} Answer -- cgit v1.2.3-1-g7c22