@edifice.io/bootstrap 2.0.0-develop-rc.15
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.
- package/LICENSE +661 -0
- package/README.md +54 -0
- package/dist/fonts/dyslexic/OpenDyslexic.woff +0 -0
- package/dist/fonts/ecriture-a/EcritureA-Italique-Orne.woff2 +0 -0
- package/dist/fonts/ecriture-a/EcritureA-Romain-Orne.woff2 +0 -0
- package/dist/fonts/kg-june/KGJuneBug.ttf +0 -0
- package/dist/icons/apps.svg +483 -0
- package/dist/images/avatar/no-avatar.svg +14 -0
- package/dist/images/backgrounds/christmas.png +0 -0
- package/dist/images/backgrounds/circus.jpg +0 -0
- package/dist/images/backgrounds/desert.jpg +0 -0
- package/dist/images/backgrounds/hills.svg +360 -0
- package/dist/images/backgrounds/ocean.jpg +0 -0
- package/dist/images/backgrounds/panda.jpg +0 -0
- package/dist/images/backgrounds/sparkly.jpg +0 -0
- package/dist/images/common/image-creative-commons.png +0 -0
- package/dist/images/common/image-library.png +0 -0
- package/dist/images/common/image-placeholder.png +0 -0
- package/dist/images/common/image-status-error.svg +4 -0
- package/dist/images/emptyscreen/illu-blog.svg +1 -0
- package/dist/images/emptyscreen/illu-collaborativeeditor.svg +1 -0
- package/dist/images/emptyscreen/illu-collaborativewall.svg +1 -0
- package/dist/images/emptyscreen/illu-error.svg +60 -0
- package/dist/images/emptyscreen/illu-exercizer.svg +1 -0
- package/dist/images/emptyscreen/illu-mindmap.svg +1 -0
- package/dist/images/emptyscreen/illu-no-content-in-folder.svg +31 -0
- package/dist/images/emptyscreen/illu-pad.svg +1 -0
- package/dist/images/emptyscreen/illu-scrapbook.svg +1 -0
- package/dist/images/emptyscreen/illu-search.svg +1 -0
- package/dist/images/emptyscreen/illu-timeline.svg +1 -0
- package/dist/images/emptyscreen/illu-timelinegenerator.svg +1 -0
- package/dist/images/emptyscreen/illu-trash.svg +1 -0
- package/dist/images/emptyscreen/illu-wiki.svg +15 -0
- package/dist/images/loading/screen-loading.gif +0 -0
- package/dist/images/neo/illu-empty-search-actualites.svg +25 -0
- package/dist/images/neo/illu-empty-search-blog.svg +25 -0
- package/dist/images/neo/illu-empty-search-collaborativewall.svg +25 -0
- package/dist/images/neo/illu-empty-search-community.svg +25 -0
- package/dist/images/neo/illu-empty-search-exercizer.svg +25 -0
- package/dist/images/neo/illu-empty-search-formulaire.svg +27 -0
- package/dist/images/neo/illu-empty-search-forum.svg +25 -0
- package/dist/images/neo/illu-empty-search-homeworks.svg +25 -0
- package/dist/images/neo/illu-empty-search-magneto.svg +26 -0
- package/dist/images/neo/illu-empty-search-mindmap.svg +25 -0
- package/dist/images/neo/illu-empty-search-pages.svg +25 -0
- package/dist/images/neo/illu-empty-search-scrapbook.svg +25 -0
- package/dist/images/neo/illu-empty-search-timelinegenerator.svg +25 -0
- package/dist/images/neo/illu-empty-search-wiki.svg +26 -0
- package/dist/images/neo/illu-empty-search-workspace.svg +25 -0
- package/dist/images/neo/illu-empty-search.svg +62 -0
- package/dist/images/neo/image-library-year-end.gif +0 -0
- package/dist/images/neo/image-library.svg +188 -0
- package/dist/images/onboarding/illu-blog.svg +17 -0
- package/dist/images/onboarding/illu-editor.svg +54 -0
- package/dist/images/onboarding/illu-reaction.svg +49 -0
- package/dist/images/onboarding/illu-trash-delete.svg +22 -0
- package/dist/images/onboarding/illu-trash-menu.svg +43 -0
- package/dist/images/onboarding/illu-trash-notif.svg +12 -0
- package/dist/images/one/illu-empty-search-actualites.svg +25 -0
- package/dist/images/one/illu-empty-search-blog.svg +25 -0
- package/dist/images/one/illu-empty-search-collaborativewall.svg +25 -0
- package/dist/images/one/illu-empty-search-community.svg +25 -0
- package/dist/images/one/illu-empty-search-exercizer.svg +25 -0
- package/dist/images/one/illu-empty-search-formulaire.svg +27 -0
- package/dist/images/one/illu-empty-search-forum.svg +25 -0
- package/dist/images/one/illu-empty-search-homeworks.svg +25 -0
- package/dist/images/one/illu-empty-search-magneto.svg +26 -0
- package/dist/images/one/illu-empty-search-mindmap.svg +25 -0
- package/dist/images/one/illu-empty-search-pages.svg +25 -0
- package/dist/images/one/illu-empty-search-scrapbook.svg +25 -0
- package/dist/images/one/illu-empty-search-timelinegenerator.svg +25 -0
- package/dist/images/one/illu-empty-search-wiki.svg +26 -0
- package/dist/images/one/illu-empty-search-workspace.svg +25 -0
- package/dist/images/one/illu-empty-search.svg +62 -0
- package/dist/images/one/image-library-year-end.gif +0 -0
- package/dist/images/one/image-library.svg +188 -0
- package/dist/index.css +1 -0
- package/dist/index.css.map +1 -0
- package/package.json +53 -0
package/README.md
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Edifice Bootstrap
|
|
2
|
+
|
|
3
|
+
Edifice Bootstrap is a comprehensive CSS framework that includes all the UI components utilized across our applications. It is built upon the latest version of Bootstrap.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
Install it by cloning the repository:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @edifice.io/bootstrap
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Override a component
|
|
14
|
+
|
|
15
|
+
Based on Bootstrap 5.3, many components use CSS Variables (CSS Custom Properties). We adhere to this guideline to create our own components or to override Bootstrap components.
|
|
16
|
+
|
|
17
|
+
```scss
|
|
18
|
+
// _form-control.scss
|
|
19
|
+
|
|
20
|
+
.form-control {
|
|
21
|
+
--#{$prefix}input-padding-y: #{$input-padding-y};
|
|
22
|
+
--#{$prefix}input-padding-x: #{$input-padding-x};
|
|
23
|
+
--#{$prefix}input-padding-y-lg: #{$input-padding-y-lg};
|
|
24
|
+
--#{$prefix}input-padding-x-lg: #{$input-padding-x-lg};
|
|
25
|
+
--#{$prefix}input-font-size-lg: #{$input-font-size-lg};
|
|
26
|
+
--#{$prefix}input-padding-y-sm: #{$input-padding-y-sm};
|
|
27
|
+
--#{$prefix}input-padding-x-sm: #{$input-padding-x-sm};
|
|
28
|
+
--#{$prefix}input-font-size-sm: #{$input-font-size-sm};
|
|
29
|
+
--#{$prefix}input-border-color: #{$input-border-color};
|
|
30
|
+
--#{$prefix}input-disabled-bg: #{$input-disabled-bg};
|
|
31
|
+
--#{$prefix}input-disabled-color: #{$input-disabled-color};
|
|
32
|
+
--#{$prefix}input-disabled-border-color: #{$input-disabled-border-color};
|
|
33
|
+
--#{$prefix}input-placeholder-color: #{$input-placeholder-color};
|
|
34
|
+
--#{$prefix}input-focus-border-color: #{$input-focus-border-color};
|
|
35
|
+
--#{$prefix}input-filled-border-color: #{$input-filled-border-color};
|
|
36
|
+
--#{$prefix}input-border-radius: #{$input-border-radius-lg};
|
|
37
|
+
--#{$prefix}input-border-radius-sm: #{$input-border-radius};
|
|
38
|
+
--#{$prefix}input-border-radius-lg: #{$input-border-radius-lg};
|
|
39
|
+
padding: var(--#{$prefix}input-padding-y) var(--#{$prefix}input-padding-x);
|
|
40
|
+
border-color: var(--#{$prefix}input-border-color);
|
|
41
|
+
font-size: var(--#{$prefix}input-font-size-lg);
|
|
42
|
+
min-height: inherit;
|
|
43
|
+
|
|
44
|
+
...
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Overring style should be done in component file with data-attribute selector `[data-product="one"]` or `[data-product="neo"]`.
|
|
49
|
+
|
|
50
|
+
```scss
|
|
51
|
+
.form-control {
|
|
52
|
+
--#{$prefix}input-focus-border-color: var(--#{$prefix}color);
|
|
53
|
+
}
|
|
54
|
+
```
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|