
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
github.com/necolas/css3-facebook-buttons
Example: nicolasgallagher.com/lab/css3-facebook-buttons/
To create the default "button" add a class of uibutton
to any appropriate element. To create the blue variant include the additional class confirm
. To create the green variant include an additional class special
.
<a class="uibutton" href="#">Button</a>
<button class="uibutton" type="submit">Button</button>
<input class="uibutton" type="submit" value="Button">
To create larger buttons include an additional class of large
<a class="uibutton large" href="#button">Search</a>
To created grouped buttons wrap them in an element, or use a list, given the class 'uibutton-group'.
<div class="uibutton-group">
<a href="#button" class="uibutton">Dashboard</a>
<a href="#button" class="uibutton">Inbox</a>
<a href="#button" class="uibutton">Account</a>
<a href="#button" class="uibutton">Logout</a>
</div>
<ul class="uibutton-group">
<li><a href="#button" class="uibutton">Dashboard</a></li>
<li><a href="#button" class="uibutton">Inbox</a></li>
<li><a href="#button" class="uibutton">Account</a></li>
<li><a href="#button" class="uibutton">Logout</a></li>
</ul>
To display a toolbar of buttons and grouped buttons, use a wrapping element given the class uibutton-toolbar
.
<div class="uibutton-toolbar">
<a href="#button" class="uibutton">Mark as unread</a>
<div class="uibutton-group">
<a href="#button" class="uibutton">Report spam</a>
<a href="#button" class="uibutton">Delete</a>
</div>
<a href="#button" class="uibutton">Unsubscribe</a>
</div>
A range of icons can be added (only for links and buttons) by adding a class of icon
and any one of the provided icon classes.
<a href="#" class="button icon add">New message</a>
Full support: Firefox 3.5+, Google Chrome, Safari 4+, IE 9+, Opera 11.10+. Note: Some CSS3 enhancements are not supported in older versions of Opera and IE. The use of icons is not supported in IE 6 or IE 7.
Public domain: http://unlicense.org
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.