Skip to content

Commit

Permalink
Prepare for NPM packages usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hjemmesidekongen committed May 17, 2017
1 parent 59f17be commit eb4c9fa
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 22 deletions.
62 changes: 57 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,58 @@
src/vendor
node_modules/
!src/scss/**/vendor
# --------------------------------------------------
# - Custom ignore
# --------------------------------------------------

# Ignore docs files
_gh_pages
_site
.ruby-version

# Numerous always-ignore extensions
*.diff
*.err
*.log
*.orig
*.rej
*.swo
*.swp
*.vi
*.zip
*~

# OS or Editor folders
._*
.cache
.DS_Store
.idea
.DS_store
others/
.project
.vscode
.settings
.tmproj
*.esproj
*.sublime-project
*.sublime-workspace
nbproject
Thumbs.db

# Komodo
.komodotools
*.komodoproject

# grunt-html-validation
validation-report.json
validation-status.json

# Folders to ignore
bower_components
node_modules
logs
sessions
tmp
share
others
private
design

# Files that might appear on external disks
.Spotlight-V100
.Trashes
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
Easy flexible lists with CSS.

Based on the Skeletonic file structure (https://github.com/hjemmesidekongen/skeletonic).
17 changes: 8 additions & 9 deletions src/less/flexy-list.less → less/flexy-list.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// |--------------------------------------------------------------------------
// | List
// | Flexy list
// |--------------------------------------------------------------------------
// |
// | This file contains styles for the following:
Expand Down Expand Up @@ -57,25 +57,25 @@
// --------------------------------------------------

// Mobile - and up
@media @media-query-mobile {}
@media @breakpoint-mobile-and-up {}

// Mobile - only
@media @media-query-mobile-only {}
@media @breakpoint-mobile-only {}

// Tablet - and up
@media @media-query-tablet {}
@media @breakpoint-tablet-and-up {}

// Tablet - only
@media @media-query-tablet-only {}
@media @breakpoint-tablet-only {}

// Desktop - and up
@media @media-query-desktop {}
@media @breakpoint-desktop-and-up {}

// Desktop - only
@media @media-query-desktop-only {}
@media @breakpoint-desktop-only {}

// Large desktop - and up
@media @media-query-large-desktop {}
@media @breakpoint-large-desktop-and-up {}

// Print
@media print {}
Expand All @@ -85,4 +85,3 @@

// No touch
.no-touchevents {}

18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "flexy-list",
"version": "1.0.0",
"description": "Easy flexible lists with CSS.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hjemmesidekongen/flexy-list.git"
},
"author": "Morten Nissen <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/hjemmesidekongen/flexy-list/issues"
},
"homepage": "https://github.com/hjemmesidekongen/flexy-list#readme"
}
16 changes: 8 additions & 8 deletions src/scss/flexy-list.scss → scss/flexy-list.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// |--------------------------------------------------------------------------
// | List
// | Flexy list
// |--------------------------------------------------------------------------
// |
// | This file contains styles for the following:
Expand Down Expand Up @@ -57,25 +57,25 @@ $flexy-list-item-spacing: 30px;
// --------------------------------------------------

// Mobile - and up
@include media-breakpoint-up(xs) {}
@media #{$breakpoint-mobile-and-up} {}

// Mobile - only
@include media-breakpoint-only(xs) {}
@media #{$breakpoint-mobile-only} {}

// Tablet - and up
@include media-breakpoint-up(sm) {}
@media #{$breakpoint-tablet-and-up} {}

// Tablet - only
@include media-breakpoint-only(sm) {}
@media #{$breakpoint-tablet-only} {}

// Desktop - and up
@include media-breakpoint-up(md) {}
@media #{$breakpoint-desktop-and-up} {}

// Desktop - only
@include media-breakpoint-only(md) {}
@media #{$breakpoint-desktop-only} {}

// Large desktop - and up
@include media-breakpoint-up(lg) {}
@media #{$breakpoint-large-desktop-and-up} {}

// Print
@media print {}
Expand Down

0 comments on commit eb4c9fa

Please sign in to comment.