lock arrowhead in headlines-toolbar to webkit

This commit is contained in:
Andrew Dolgov 2011-12-20 22:47:36 +04:00
parent f10808259c
commit 73621c5605
1 changed files with 28 additions and 26 deletions

View File

@ -532,8 +532,9 @@ div#headlines-toolbar span.r {
/* http://css-tricks.com/adobe-like-arrow-headers/ */
div#headlines-toolbar span.r:before,
div#headlines-toolbar span.r:after {
@media screen and (-webkit-min-device-pixel-ratio:0) {
div#headlines-toolbar span.r:before,
div#headlines-toolbar span.r:after {
content: "";
position: absolute;
/* Pushed down half way, will get pulled back up half height of triangle
@ -541,8 +542,8 @@ div#headlines-toolbar span.r:after {
top: 50%;
width: 0;
height: 0;
}
div#headlines-toolbar span.r:before {
}
div#headlines-toolbar span.r:before {
left: -12px;
/* Triangle */
border-top: 8px solid transparent;
@ -550,14 +551,15 @@ div#headlines-toolbar span.r:before {
border-right: 8px solid white;
/* Pull-up */
margin-top: -8px;
}
div#headlines-toolbar span.r:after {
}
div#headlines-toolbar span.r:after {
/* Smaller and different position triangle */
left: -5px;
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
border-right: 6px solid #ecf4ff;
margin-top: -6px;
}
}
div#headlines-toolbar span.r span.error {