Commit 1fe98f9f by Scott

Merge branch 'pr/305' into dev

parents 8f92561a cf088330
......@@ -317,6 +317,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Answer view */
.qa-a-list-item {margin-bottom:40px; zoom:1; padding-bottom:1px;} /* zoom for IE, padding for early FF */
.qa-a-list-item:target{-webkit-animation: highlight 2s ease-in-out; animation: highlight 2s ease-in-out;}
.qa-a-list-item-hidden {}
.qa-a-list-item-hidden .qa-voting {background:#FFF; border:1px solid #ccc; color:#ccc;}
.qa-a-list-item-hidden .qa-a-item-content {color:#999;}
......@@ -355,6 +356,7 @@ h2 {font-size:16px; padding-top:12px; clear:both;}
/* Comments */
.qa-c-list-item {border-bottom:1px dotted #666; padding:6px; padding-right:0;}
.qa-c-list-item:target {-webkit-animation: highlight 2s ease-in-out; animation: highlight 2s ease-in-out;}
.qa-c-item-hidden {}
.qa-c-item-hidden .qa-c-item-content {color:#bbb;}
.qa-c-item-hidden .qa-c-item-link {color:#aaf;}
......@@ -425,3 +427,12 @@ 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;}
@-webkit-keyframes highlight {
0% { background-color: #ffffaa; }
100% { background-color: #fff; }
}
@keyframes highlight {
0% { background-color: #ffffaa; }
100% { background-color: #fff; }
}
......@@ -1911,6 +1911,10 @@ a.qa-browse-cat-link:visited {
border-bottom: 1px solid #ccc;
min-height: 108px; /* prevent tick icon being hidden */
}
.qa-a-list-item:target {
-webkit-animation: highlight 2s ease-in-out;
animation: highlight 2s ease-in-out;
}
/* zoom for IE, padding for early FF */
.qa-a-list-item-selected {
......@@ -2057,6 +2061,10 @@ a.qa-browse-cat-link:visited {
border-bottom: 1px solid #ccc;
padding: 8px 0 8px 8px;
}
.qa-c-list-item:target {
-webkit-animation: highlight 2s ease-in-out;
animation: highlight 2s ease-in-out;
}
.qa-c-list-item:nth-child(odd) {
background: #fafafa;
......@@ -2548,3 +2556,12 @@ a.qa-browse-cat-link:visited {
padding-top: 0;
border-top: 0;
}
@-webkit-keyframes highlight {
0% { background-color: #ffffaa; }
100% { background-color: #fff; }
}
@keyframes highlight {
0% { background-color: #ffffaa; }
100% { background-color: #fff; }
}
......@@ -2472,6 +2472,11 @@ input[type="submit"], button {
position: relative;
min-height: 190px;
}
/* highlight selected answer */
.qa-a-list-item:target{
-webkit-animation: answer-highlight 2s ease-in-out;
animation: answer-highlight 2s ease-in-out;
}
.qa-a-item-avatar-meta {
font-size: 12px;
......@@ -2604,6 +2609,12 @@ input[type="submit"], button {
background-color: #f4f4f4;
position: relative;
}
/* highlight selected comment */
.qa-c-list-item:target {
-webkit-animation: comment-highlight 2s ease-in-out;
animation: comment-highlight 2s ease-in-out;
}
.qa-c-list-item .qa-form-light-button {
padding: 10px 15px;
background: #bdc3c7 none center no-repeat;
......@@ -3602,3 +3613,21 @@ input[type="submit"], button {
.icon-reply:before {
content: '\e82e';
}
@-webkit-keyframes answer-highlight {
0% { background-color: #ffffaa; }
100% { background-color: #fff; }
}
@keyframes answer-highlight {
0% { background-color: #ffffaa; }
100% { background-color: #fff; }
}
@-webkit-keyframes comment-highlight {
0% { background-color: #ffffaa; }
100% { background-color: #f4f4f4; }
}
@keyframes comment-highlight {
0% { background-color: #ffffaa; }
100% { background-color: #f4f4f4; }
}
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