Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arimichi/17397ab344b68b28d2fc17da42a76180 to your computer and use it in GitHub Desktop.
Save arimichi/17397ab344b68b28d2fc17da42a76180 to your computer and use it in GitHub Desktop.
div.p7button[data-align='right'] div.p7button-right {
background: #fff;
border: 1px solid #bbb;
border-radius: 3px;
color: #aaa;
display: inline-block;
height: 20px;
text-align: center;
margin-left: 0;
min-width: auto;
padding: 0;
width: 25px;
}
div.p7button[data-align='right'] div.p7button-right {
top: 11px;
}
div.p7button[data-align='right'] div.p7button-right::after,
div.p7button[data-align='right'] div.p7button-right::before {
border: solid transparent;
content: " ";
height: 0;
left: auto;
position: absolute;
pointer-events: none;
right: 100%;
top: 50%;
width: 0;
}
div.p7button[data-align='right'] div.p7button-right::after {
border-color: rgba(255, 255, 255, 0);
border-right-color: #fff;
border-width: 3px;
margin-top: -3px;
}
div.p7button[data-align='right'] div.p7button-right::before {
background: none;
border-color: rgba(119, 119, 119, 0);
border-right-color: #bbb;
border-width: 4px;
margin-top: -4px;
transform: none;
}
div.p7button a {
height: 45px;
margin-right: 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment