holygrail2 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/.editorconfig +13 -0
  2. package/.prettierrc +6 -0
  3. package/.stylelintrc +27 -0
  4. package/.vscode/settings.json +3 -0
  5. package/assets/images/minilogo.png +0 -0
  6. package/cssconfig.json +373 -0
  7. package/dist/style.css +10376 -0
  8. package/dist/style.css.map +1 -0
  9. package/doc/docs.css +1764 -0
  10. package/doc/docs.css.map +1 -0
  11. package/guide/index.html +3202 -0
  12. package/package.json +59 -0
  13. package/readme.md +123 -0
  14. package/scss/_partials.scss +44 -0
  15. package/scss/abstract/_0debug.scss +192 -0
  16. package/scss/abstract/_all.scss +4 -0
  17. package/scss/abstract/_breakpoints.scss +27 -0
  18. package/scss/abstract/_fonts.scss +22 -0
  19. package/scss/abstract/_mixins.scss +691 -0
  20. package/scss/abstract/_reset.scss +124 -0
  21. package/scss/abstract/_setup.scss +385 -0
  22. package/scss/base/_alignment.scss +294 -0
  23. package/scss/base/_animations.scss +64 -0
  24. package/scss/base/_extras.scss +21 -0
  25. package/scss/base/_grid.scss +361 -0
  26. package/scss/base/_height.scss +19 -0
  27. package/scss/base/_helpers.scss +814 -0
  28. package/scss/base/_icons.scss +162 -0
  29. package/scss/base/_ratios.scss +262 -0
  30. package/scss/base/_rtl.scss +480 -0
  31. package/scss/base/_spacing.scss +60 -0
  32. package/scss/base/_types.scss +117 -0
  33. package/scss/docs.scss +680 -0
  34. package/scss/elements/_animated.scss +73 -0
  35. package/scss/elements/_banners.scss +68 -0
  36. package/scss/elements/_buttons.scss +1324 -0
  37. package/scss/elements/_checkbox.scss +722 -0
  38. package/scss/elements/_color_selector.scss +112 -0
  39. package/scss/elements/_datalist.scss +55 -0
  40. package/scss/elements/_form.scss +708 -0
  41. package/scss/elements/_links.scss +268 -0
  42. package/scss/elements/_list.scss +271 -0
  43. package/scss/elements/_modal.scss +141 -0
  44. package/scss/elements/_progressbar.scss +20 -0
  45. package/scss/elements/_tabs.scss +216 -0
  46. package/scss/elements/_tabs_specials.scss +216 -0
  47. package/scss/elements/_tag.scss +58 -0
  48. package/scss/elements/_tooltip.scss +176 -0
  49. package/scss/layouts/_box3.scss +64 -0
  50. package/scss/layouts/_box4.scss +19 -0
  51. package/scss/layouts/_card.scss +24 -0
  52. package/scss/layouts/_card9.scss +348 -0
  53. package/scss/layouts/_feel.scss +2 -0
  54. package/scss/layouts/_header_account.scss +144 -0
  55. package/scss/layouts/_hgbread.scss +51 -0
  56. package/scss/layouts/_row1.scss +108 -0
  57. package/scss/style.scss +1 -0
package/package.json ADDED
@@ -0,0 +1,59 @@
1
+ {
2
+ "name": "holygrail2",
3
+ "version": "1.0.0",
4
+ "description": "A minimal, responsive, style-agnostic CSS framework.",
5
+ "main": "scss/style.scss",
6
+ "directories": {
7
+ "lib": "scss"
8
+ },
9
+ "scripts": {
10
+
11
+
12
+ "start": " npm run format && npm run docs && npm run build && npm run open:guide ",
13
+
14
+ "open:guide": "open guide/index.html",
15
+ "docs": "sass scss/docs.scss doc/docs.css --style expanded ",
16
+ "build": "sass scss/style.scss dist/style.css && sass scss/docs.scss doc/docs.css --style expanded ",
17
+ "build-sass": "sass --style expanded --source-map true scss/style.scss dist/style.css && sass --output-style expanded --source-map true scss/docs.scss doc/docs.css",
18
+
19
+ "lint": "stylelint 'scss/**/*.?(s)css'",
20
+ "lint2": "stylelint 'scss/*.?(s)css'",
21
+ "lint:fix": "stylelint --fix 'scss/**/*.?(s)css'",
22
+ "format": "npm run prettier -- --write",
23
+ "prettier": "prettier 'scss/**/*.+(css|scss)'"
24
+ },
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/holygrail2/holygrail.git"
28
+ },
29
+ "devDependencies": {
30
+ "open": "^9.1.0",
31
+ "prettier": "^3.0.2",
32
+ "sass": "^1.65.1",
33
+ "stylelint": "^15.10.2",
34
+ "stylelint-config-standard": "^34.0.0",
35
+ "stylelint-config-standard-scss": "^10.0.0",
36
+ "stylelint-order": "^6.0.3",
37
+ "stylelint-scss": "^5.1.0"
38
+ },
39
+ "keywords": [
40
+ "css",
41
+ "sass",
42
+ "minimal",
43
+ "responsive",
44
+ "style-agnostic",
45
+ "framework",
46
+ "toolkit",
47
+ "holygrail2"
48
+ ],
49
+ "author": "Manuel Ruiz",
50
+ "license": "MIT",
51
+ "bugs": {
52
+ "url": "https://github.com/holygrail2/holygrail/issues",
53
+ "email": "dev@digitalstrategy.es"
54
+ },
55
+ "homepage": "https://holygrail2.netlify.app/guide",
56
+ "dependencies": {
57
+ "stylelint": "^15.10.2"
58
+ }
59
+ }
package/readme.md ADDED
@@ -0,0 +1,123 @@
1
+ <p align="center">
2
+ <a href="https://holyguide.es">
3
+ <img width="200" src="https://res.cloudinary.com/manuel-ruiz/image/upload/v1576145416/holygrail/logoholy.svg">
4
+ </a>
5
+ </p>
6
+
7
+ <h1 align="center">Holygrail</h1>
8
+
9
+ <div align="center">
10
+
11
+
12
+ Una libreria agnostica y libreria de componentes html y scss.
13
+
14
+ [npm-url]: https://www.npmjs.com/package/holygrail2
15
+ [github-action-url]: https://github.com/ant-design/ant-design/actions?query=workflow%3A%22%E2%9C%85+test%22
16
+ [download-url]: https://npmjs.org/package/holygrail2
17
+
18
+
19
+ </div>
20
+
21
+
22
+ ## ✨ Features
23
+
24
+ - 🌈 Enterprise-class UI designed for web applications.
25
+ - 📦 A set of high-quality React components out of the box.
26
+ - 🛡 Written in TypeScript with predictable static types.
27
+ - ⚙️ Whole package of design resources and development tools.
28
+ - 🌍 Internationalization support for dozens of languages.
29
+ - 🎨 Powerful theme customization in every detail.
30
+
31
+ ## 🖥 Environment Support
32
+
33
+ - Modern browsers
34
+ - Server-side Rendering
35
+ - [Electron](https://www.electronjs.org/)
36
+
37
+ | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Electron |
38
+ | --- | --- | --- | --- | --- |
39
+ | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
40
+
41
+ ## 📦 Install
42
+
43
+ ```bash
44
+ npm install holygrail2
45
+ ```
46
+
47
+ ```bash
48
+ yarn add holygrail2
49
+ ```
50
+
51
+ ## 🔨 Usage
52
+
53
+ ```css
54
+
55
+ ```
56
+
57
+
58
+
59
+ ## 🌍 Internationalization
60
+
61
+ Dozens of languages are supported in `holygrail2`
62
+
63
+ ## 🔗 Links
64
+
65
+ - [Home page](https://holyguide.es/)
66
+
67
+
68
+ ## ⌨️ Development
69
+
70
+ Use Gitpod, a free online dev environment for GitHub for create your website.
71
+
72
+ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://github.com/holygrail2/holysite)
73
+
74
+
75
+ Or clone locally:
76
+ [https://www.jsdelivr.com/package/npm/holygrail2](https://www.jsdelivr.com/package/npm/holygrail2)
77
+
78
+ Feel free to raise an issue or submit a pull request.
79
+
80
+
81
+ Or clone locally:
82
+
83
+ ```bash
84
+ $ gh repo clone holygrail2/holysite
85
+ $ cd holysite
86
+ $ npm install
87
+ $ npm run docs
88
+ $ npm run build
89
+ $ npm run start Abrimos la aplicacion
90
+
91
+ "docs": "sass scss/docs.scss doc/docs.css --style expanded && sass scss/docs.scss doc/docs.min.css --style compressed",
92
+ "build": "sass scss/style.scss dist/style.css --style expanded && sass scss/style.scss dist/style.min.css --style compressed",
93
+ "build-sass": "sass --style expanded --source-map true scss/style.scss dist/style.css && sass --output-style expanded --source-map true scss/docs.scss doc/docs.css",
94
+ "start": "open guide/index.html",
95
+ "lint": "stylelint 'scss/**/*.?(s)css'",
96
+ "lint2": "stylelint 'scss/*.?(s)css'",
97
+ "lint:fix": "stylelint --fix 'scss/**/*.?(s)css'",
98
+ "format": "npm run prettier -- --write",
99
+ "prettier": "prettier 'scss/**/*.+(css|scss)'"
100
+
101
+ ```
102
+ ## Actualizar todos los packs a la ultima versión
103
+
104
+ ``````
105
+ npm outdated
106
+
107
+ npm install -g npm-check-updates
108
+
109
+ ncu -u
110
+ ``````
111
+
112
+
113
+
114
+
115
+ ## 🤝 Contributing [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
116
+
117
+
118
+ <p align="center">
119
+ Developed with ❤️ from Barcelona to the world
120
+ </p>
121
+
122
+
123
+
@@ -0,0 +1,44 @@
1
+ @import 'abstract/reset.scss';
2
+
3
+ @import 'base/_animations.scss';
4
+
5
+ @import 'abstract/_all.scss';
6
+
7
+ @import 'base/alignment';
8
+ @import 'base/grid';
9
+ @import 'base/height';
10
+ @import 'base/icons';
11
+ @import 'base/ratios';
12
+
13
+ @import 'base/types';
14
+ @import 'base/helpers';
15
+ @import 'base/_extras';
16
+ @import 'elements/animated';
17
+ @import 'elements/banners';
18
+ @import 'elements/buttons';
19
+ @import 'elements/checkbox';
20
+ @import 'elements/form';
21
+ @import 'elements/links';
22
+ @import 'elements/list';
23
+ @import 'elements/progressbar';
24
+ @import 'elements/tabs';
25
+ @import 'elements/tag';
26
+ @import 'elements/tooltip';
27
+ @import 'elements/datalist';
28
+ @import 'elements/tabs_specials';
29
+ @import 'elements/color_selector';
30
+ @import 'elements/modal';
31
+ @import 'layouts/row1';
32
+ @import 'layouts/card';
33
+ @import 'layouts/card9';
34
+
35
+ @import 'layouts/box3';
36
+ @import 'layouts/box4';
37
+ @import 'layouts/feel';
38
+
39
+ @import 'base/spacing';
40
+ @import 'layouts/header_account';
41
+ @import 'layouts/hgbread';
42
+ @import 'base/rtl';
43
+
44
+ //@import 'abstract/0debug';
@@ -0,0 +1,192 @@
1
+ @mixin random-bgr() {
2
+ background: rgb(math.random(255) math.random(255) math.random(255));
3
+ }
4
+
5
+ @mixin fixed-bgr() {
6
+ background: red;
7
+ }
8
+
9
+ @mixin debug-divs() {
10
+ @for $i from 1 through 500 {
11
+ div:nth-child(#{$i}) {
12
+ @include fixed-bgr;
13
+ }
14
+ }
15
+ }
16
+ @mixin debug-imgs() {
17
+ img {
18
+ outline: 5px solid red;
19
+ }
20
+ img[alt] {
21
+ outline: none;
22
+ }
23
+ img[alt=''] {
24
+ outline: 5px solid yellow;
25
+ }
26
+ }
27
+ @mixin debug-links() {
28
+ a {
29
+ outline: 5px solid yellow;
30
+ }
31
+ a[title] {
32
+ outline: none;
33
+ }
34
+ a[href='#'],
35
+ a[href*='javascript'] {
36
+ outline: 5px solid yellow;
37
+ }
38
+ a[target] {
39
+ outline: 5px solid yellow;
40
+ }
41
+ }
42
+ @mixin debug-forms() {
43
+ ul,
44
+ ol {
45
+ > *:not(li) {
46
+ outline: 5px solid red;
47
+ }
48
+ }
49
+ th {
50
+ outline: 5px solid yellow;
51
+ }
52
+ th[scope] {
53
+ outline: none;
54
+ }
55
+ table > tr {
56
+ outline: 5px solid yellow;
57
+ }
58
+ tbody + tfoot {
59
+ outline: 5px solid yellow;
60
+ }
61
+ form {
62
+ outline: 5px solid red;
63
+ }
64
+ form[action] {
65
+ outline: none;
66
+ }
67
+ textarea,
68
+ input {
69
+ outline: 5px solid red;
70
+ }
71
+ input[type] {
72
+ outline: none;
73
+ }
74
+ textarea[rows][cols] {
75
+ outline: none;
76
+ }
77
+ input[type='submit'] {
78
+ outline: 5px solid red;
79
+ }
80
+ input[type='submit'][value] {
81
+ outline: none;
82
+ }
83
+ }
84
+ @mixin debug-fine() {
85
+ [style] {
86
+ outline: 5px solid yellow;
87
+ }
88
+ :empty {
89
+ outline: 5px solid yellow;
90
+ }
91
+ [id] {
92
+ outline: 5px solid yellow;
93
+ }
94
+ div:empty,
95
+ span:empty,
96
+ li:empty,
97
+ p:empty,
98
+ td:empty,
99
+ th:empty {
100
+ margin: 5px;
101
+ border: 5px dotted yellow !important;
102
+ }
103
+ *[alt=''],
104
+ *[title=''],
105
+ *[class=''],
106
+ *[id=''],
107
+ a[href=''],
108
+ a[href='#'] {
109
+ border: 5px solid yellow !important;
110
+ }
111
+ applet,
112
+ basefont,
113
+ center,
114
+ dir,
115
+ font,
116
+ isindex,
117
+ menu,
118
+ s,
119
+ strike,
120
+ u {
121
+ border: 5px dotted red !important;
122
+ }
123
+ *[background],
124
+ *[bgcolor],
125
+ *[clear],
126
+ *[color],
127
+ *[compact],
128
+ *[noshade],
129
+ *[nowrap],
130
+ *[size],
131
+ *[start],
132
+ *[bottommargin],
133
+ *[leftmargin],
134
+ *[rightmargin],
135
+ *[topmargin],
136
+ *[marginheight],
137
+ *[marginwidth],
138
+ *[alink],
139
+ *[link],
140
+ *[text],
141
+ *[vlink],
142
+ *[align],
143
+ *[valign],
144
+ *[hspace],
145
+ *[vspace],
146
+ *[height],
147
+ *[width],
148
+ ul[type],
149
+ ol[type],
150
+ li[type] {
151
+ border: 5px solid red !important;
152
+ }
153
+ input[type='button'],
154
+ big,
155
+ tt {
156
+ border: 5px dotted #3f0 !important;
157
+ }
158
+ *[border],
159
+ a[target],
160
+ table[cellpadding],
161
+ table[cellspacing],
162
+ *[name] {
163
+ border: 5px solid #3f0 !important;
164
+ }
165
+ }
166
+ @mixin debug-all() {
167
+ @include debug-divs;
168
+ @include debug-links;
169
+ @include debug-forms;
170
+ @include debug-fine;
171
+ @include debug-types;
172
+ }
173
+ @mixin debug-types($headers) {
174
+ @for $i from 1 through length($headers) {
175
+ .#{nth(map-keys($headers), $i)} {
176
+ position: relative;
177
+ border: 1px solid #96c3ac;
178
+ &::after {
179
+ content: '#{nth(map-keys($headers), $i)} ' !important;
180
+ position: absolute;
181
+ background-color: red;
182
+ opacity: 1;
183
+ white-space: nowrap;
184
+ color: $c-white;
185
+ padding: 2px;
186
+ left: 0;
187
+ font-size: 10px;
188
+ font-weight: bold;
189
+ }
190
+ }
191
+ }
192
+ }
@@ -0,0 +1,4 @@
1
+ @import 'breakpoints';
2
+ @import 'setup';
3
+ @import 'fonts';
4
+ @import 'mixins';
@@ -0,0 +1,27 @@
1
+ $minbreakpoints: (
2
+ xs: 1px,
3
+ md: 992px,
4
+ ) !default;
5
+
6
+ $breakpoints: (
7
+ xs: 1px,
8
+ sm: 768px,
9
+ md: 992px,
10
+ lg: 1280px,
11
+ ) !default;
12
+ $breakpointscols: (
13
+ xs: 1px,
14
+ sm: 768px,
15
+ md: 992px,
16
+ lg: 1280px,
17
+ xl: 1440px,
18
+ ) !default;
19
+
20
+ $colBreakpoints: length($breakpoints) !default;
21
+ $colBreakpointscols: length($breakpointscols) !default;
22
+ $break-xs: nth(map-values($breakpoints), 1) !default;
23
+ $break-sm: nth(map-values($breakpoints), 2) !default;
24
+ $break-md: nth(map-values($breakpoints), 3) !default;
25
+ $break-lg: nth(map-values($breakpoints), 4) !default;
26
+ $break-xl: nth(map-values($breakpointscols), 5) !default;
27
+ $min-width: 320px !default;
@@ -0,0 +1,22 @@
1
+ $font-weight-light: 100 !default;
2
+ $font-weight-regular: 500 !default;
3
+ $font-weight-medium: 500 !default;
4
+ $font-weight-semibold: 700 !default;
5
+ $font-weight-bold: 900 !default;
6
+
7
+ $font-family-form-placeholder: arial, sans-serif !default;
8
+ $font-family-form: arial, sans-serif !default;
9
+
10
+ $font-family-a-l: arial, sans-serif !default;
11
+ $font-family-a-r: arial, sans-serif !default;
12
+ $font-family-a-m: arial, sans-serif !default;
13
+ $font-family-a-b: arial, sans-serif !default;
14
+ $font-family-a-sb: arial, sans-serif !default;
15
+
16
+ $font-family-b-r: 'arial black', sans-serif !default;
17
+ $font-family-b-m: 'arial black', sans-serif !default;
18
+ $font-family-b-b: 'arial black', sans-serif !default;
19
+
20
+ $font-family-c-r: 'ms-serif', serif !default;
21
+ $font-family-c-m: 'ms-serif', serif !default;
22
+ $font-family-c-b: 'ms-serif', serif !default;