Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | @import "../../styles/colors";
.header-tag {
position: relative;
float: left;
height: 26px;
padding: 0 10px 0 12px;
margin: 5px 20px;
font-size: 14px;
line-height: 24px;
color: #fff;
text-decoration: none;
background: $tag-blue;
border-radius: 0 4px 4px 0;
&::before {
position: absolute;
top: 0;
left: -12px;
width: 0;
height: 0;
content: "";
border-color: transparent $tag-blue transparent transparent;
border-style: solid;
border-width: 12px 12px 14px 0;
}
&::after {
position: absolute;
top: 10px;
left: 0;
width: 4px;
height: 4px;
content: "";
background: #fff;
border-radius: 2px;
box-shadow: -1px -1px 2px #004977;
}
&:hover {
$color: #e4e4e4;
background: $color;
&::before {
border-color: transparent $color transparent transparent;
}
}
}
|