Commit 53dd5a5f by Amiya

content focus when a answer or a comment is opened (Fixes #234)

parent c6a3629c
......@@ -479,3 +479,6 @@ h2 {font-size:22px; color:#c659ab; padding-top:12px; clear:both;}
* html .qa-tag-link {background:url(tag-icon-ie6.png) no-repeat left center;}
* html .qa-a-count {background:url(a-count-icon-ie6.png) no-repeat 32px 13px;}
* html .qa-favorite-image {background:url(favorite-heart-ie6.png) no-repeat 0 0px;}
.qa-c-list-item:target {animation: highlight 3s ease-in-out;}
.qa-a-list-item:target{animation: highlight 3s ease-in-out;}
@keyframes highlight {0% { background: #FFFFAA none; }25% { background: #FFFFD0 none; }50% { background: #FFFFDD none; }75% { background-color: #FFFFEA; }100% { background-color: #FFF; }}
\ No newline at end of file
......@@ -425,3 +425,6 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
.qa-part-form-plugin-0 {margin-top: 0;}
.qa-part-form-plugin-options {margin-top: -1px;}
.qa-part-form-profile .qa-form-wide-data {word-break: break-word;}
.qa-c-list-item:target {animation: highlight 3s ease-in-out;}
.qa-a-list-item:target{animation: highlight 3s ease-in-out;}
@keyframes highlight {0% { background-color: #FFFFAA ; }25% { background-color: #FFFFD0 ; }50% { background-color: #FFFFDD; }75% { background-color: #FFFFEA; }100% { background-color: #FFF; }}
\ No newline at end of file
......@@ -2548,3 +2548,12 @@ a.qa-browse-cat-link:visited {
padding-top: 0;
border-top: 0;
}
.qa-c-list-item:target {animation: highlight 3s ease-in-out;}
.qa-a-list-item:target{animation: highlight 3s ease-in-out;}
@keyframes highlight {
0% { background-color: #FFFFAA ; }
25% { background-color: #FFFFD0 ; }
50% { background-color: #FFFFDD; }
75% { background-color: #FFFFEA; }
100% { background-color: #FFF; }
}
\ No newline at end of file
......@@ -3591,3 +3591,23 @@ input[type="submit"], button {
.icon-reply:before {
content: '\e82e';
}
.qa-c-list-item:target {
animation: comment-highlight 3s ease-in-out;
}
@keyframes comment-highlight {
0% { background-color: #FFFFAA; }
25% { background-color: #FFFFD0; }
50% { background-color: #FFFFDD; }
75% { background-color: #FFFFEA; }
100% { background-color: #F4F4F4; }
}
.qa-a-list-item:target{
animation: answer-highlight 3s ease-in-out;
}
@keyframes answer-highlight {
0% { background-color: #FFFFAA; }
25% { background-color: #FFFFD0; }
50% { background-color: #FFFFDD; }
75% { background-color: #FFFFEA; }
100% { background-color: #FFF; }
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment