Skip to content

Commit 96e0dc1

Browse files
Alexander ZidyganovAlexander Zidyganov
Alexander Zidyganov
authored and
Alexander Zidyganov
committed
update
1 parent b2ea5d6 commit 96e0dc1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1946
-252
lines changed

.babelrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"presets": [
3+
"env"
4+
],
5+
"plugins": [
6+
"@babel/plugin-syntax-dynamic-import"
7+
]
8+
}

.editorconfig

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
6+
[*]
7+
charset = utf-8
8+
9+
# Tab indentation (no size specified)
10+
[*.{md}]
11+
indent_style = tab
12+
13+
# 2 space indentation
14+
[*.{css,json,yml,js,scss,sass,styl,vue,twig,html,hbr}]
15+
indent_style = space
16+
indent_size = 2
17+
18+
# 4 spase indentation
19+
[*.{jade,pug}]
20+
indent_style = space
21+
indent_size = 4

.eslintrc.js

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
'parserOptions': {
3+
'ecmaVersion': 6,
4+
'sourceType': 'module'
5+
},
6+
'env': {
7+
'browser': true,
8+
'node': true,
9+
'es6': true,
10+
},
11+
'globals': {
12+
Vue: 1,
13+
window: 1,
14+
document: 1,
15+
},
16+
'extends': ['eslint:recommended'],
17+
'rules': {
18+
'indent': ["error", 2],
19+
'semi': ['error', 'always'],
20+
'quotes': ['error', 'single'],
21+
'comma-dangle': ['error', 'never'],
22+
'no-cond-assign': ['error', 'always'],
23+
'no-constant-condition': ['error', { 'checkLoops': false }],
24+
'no-console': 'off'
25+
}
26+
};

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
/.idea
2+
/node_modules
23
.DS_Store
4+
/_accessDeploy.json
5+
/yarn.lock

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Bootstrap Silent Grid
22

3-
## My problem when I used Bootstrap Grid
3+
Source file SCSS [link](https://github.com/csscoderRU/bootstrap-silent-grid/blob/master/source/scss/_bootstrap-silent-grid.scss)
4+
5+
## I want to be free in class naming
46

57
I like Bootstrap 4 grid on Flex, but do not like clutter up HTML. I have a visual discomfort, difficult to track steps of media queries when I use bootstrap naming in HTML. For example
68

@@ -54,4 +56,4 @@ When I write SCSS with **Bootstrap Silent Grid** I can write with silent class a
5456
## Limitations
5557

5658
1. May be is not will be good on very big project.
57-
2. For get smaller result CSS file you need use GLOB imports SCSS code (if you use more than 1 SCSS file).
59+
2. For get smaller result CSS file you need use GLOB imports SCSS code (if you use more than 1 SCSS file).

_accessDeployExample.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"hostname": "1.1.1.1",
3+
"username": "user",
4+
"port": 22,
5+
"hostDestination": "/home/www/"
6+
}

_deploy.js

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
//Rsync
2+
const Rsync = require('rsync');
3+
const pkg = require('./package.json');
4+
const access = require('./_accessDeploy.json');
5+
6+
console.log(`path: ${__dirname}/build/`);
7+
8+
const directory = pkg.name;
9+
const localPath = 'build/';
10+
const hostname = access.hostname;
11+
const username = access.username;
12+
const port = access.port;
13+
const hostDestination = `${access.hostDestination}${directory}`;
14+
const rsync = new Rsync()
15+
.set('progress')
16+
.shell(`ssh -p ${port}`)
17+
.exclude(['.git', '.DS_Store'])
18+
.set('delete')
19+
.flags('av')
20+
.source(localPath)
21+
.destination(`${username}@${hostname}:${hostDestination}/`);
22+
23+
rsync.execute(function (error, code, cmd) {
24+
if (error) {
25+
console.log(error);
26+
}
27+
if (code === 0) {
28+
console.log(`Deployed 'build/' to ${username}@${hostname}:${hostDestination}/`);
29+
console.log(`https://dev.csscoder.pro/${directory}/`);
30+
}
31+
});

_pagesList.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"pages": [
3+
{
4+
"viewFile": "pages/layout/list.pug",
5+
"pageName": "list.html",
6+
"name": "List"
7+
},
8+
{
9+
"viewFile": "pages/homepage.pug",
10+
"pageName": "index.html",
11+
"name": "Go to simple Example"
12+
}
13+
]
14+
}

bootstrap-silent-grid.scss

-250
This file was deleted.

build/css/style.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/favicons/favicon-16x16.png

713 Bytes
Loading

build/favicons/favicon-32x32.png

1.99 KB
Loading

build/favicons/favicon-96x96.png

10.4 KB
Loading

build/favicons/iPad-Pro.png

24.5 KB
Loading

build/favicons/iPad-Retina.png

21.5 KB
Loading

build/favicons/iPhone-6-Plus.png

27.2 KB
Loading

build/favicons/older-iPhone.png

15.2 KB
Loading

0 commit comments

Comments
 (0)