Gathering detailed insights and metrics for niduscss-components-dropdown
Gathering detailed insights and metrics for niduscss-components-dropdown
Gathering detailed insights and metrics for niduscss-components-dropdown
Gathering detailed insights and metrics for niduscss-components-dropdown
A personal CSS framework to process with PostCSS
npm install niduscss-components-dropdown
Typescript
Module System
Min. Node Version
Node Version
NPM Version
69.7
Supply Chain
89.1
Quality
75.7
Maintenance
100
Vulnerability
100
License
CSS (88.59%)
JavaScript (11.41%)
Total Downloads
4,692
Last Day
1
Last Week
12
Last Month
28
Last Year
240
MIT License
2 Stars
83 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Sep 11, 2018
Minified
Minified + Gzipped
Latest Version
2.1.0
Package Id
niduscss-components-dropdown@2.1.0
Size
2.73 kB
NPM Version
3.10.10
Node Version
6.10.2
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
200%
12
Compared to previous week
Last Month
-39.1%
28
Compared to previous month
Last Year
36.4%
240
Compared to previous year
No dependencies detected.
Base styles to create dropdown components for niduscss framework.
1$ npm install niduscss-components-dropdown
Define the custom properties in a file if you like modify the default values:
Example: create a setting.css file:
1:root { 2 --Dropdown-z-index: 8000; 3 --Dropdown-checked-color: #fafafa; 4 --Dropdown-pointer-color: #fafafa; 5 --Dropdown-triger-width: 3rem; 6 --Dropdown-pointer-size: 0.75rem; 7 --Dropdown-list-gap: 0.5rem; 8}
Import styles:
styles.css:
1/* Import first de file with custom properties or declare before import the 2 component. 3 ========================================================================== */ 4 5@import "settings"; 6 7/* Components 8 ========================================================================== */ 9@import "niduscss-components-dropdown"; 10 11/* Other styles */
Use in html files (angular component)
1<div class="Dropdown"> 2 <input type="checkbox" id="LangList-toggle"> 3 <label class="Dropdown-label IconButton MaterialIcon" for="LangList-toggle">language</label> 4 <ul class="Dropdown-list dd-right dd-pointer" close-dd="LangList-toggle"> 5 <li ng-repeat="lang in $ctrl.languages"> 6 <div class="Dropdown-item u-textEllipsis" ng-click="$ctrl.changeLanguage(lang)"> 7 {{'BASE.HEADER.LANG.' + lang | translate}} 8 </div> 9 </li> 10 </ul> 11</div>
If use some of this class in ul
element (Dropdown-list) you can change the dropdown direction:
dd-pointer
: Put a poiter between triger button and the dropdown. (default: disabled).dd-right
: The dropdown start from left of triger button. (default: left).dd-up
: The dropdown start from the top of triger button. (default: down).No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
30 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More