Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
scales-base-lists
Advanced tools
Simple list modifier to remove margin and bullets from a list.
Scales patterns use the Sass CSS preprocessor, you'll need either Ruby Sass or LibSass.
Sometimes you need a list without any margin or padding and no bullets.
<ul class="list--bare">
<li>Scales</li>
<li>Patterns</li>
<li>Lists</li>
</ul>
Since there are times when you might want to make a list bare without using a class, list--bare is also able to be used as a mixin or extended as a placeholder.
@include list--bare;
@extend %list--bare;
.list--bare
All Scales patterns expose the $scales-namespace
variable.
$scales-namespace
accepts a string that will prefix all Scales classes. The default value is null
.
To give all Scales classes a namespace, you will need to set this variable in a file that is imported before any scales files. For example:
@import your-project/settings; // $scales-namespace is set in this file
@import your-project/scales; // Imports the Scales library
@import your-project/project // The rest of your project imports
FAQs
Base list styles for Scales CSS
We found that scales-base-lists demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.