@bryntum/demo-resources 7.1.1
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/README.md +78 -0
- package/fonts/_poppins-webpack.scss +77 -0
- package/fonts/_poppins.scss +76 -0
- package/fonts/poppins/poppins-v20-latin-100.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-200.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-300.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-500.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-600.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-700.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-800.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-900.woff2 +0 -0
- package/fonts/poppins/poppins-v20-latin-regular.woff2 +0 -0
- package/images/bryntum-symbol-blue.svg +1 -0
- package/images/bryntum-symbol-white.svg +1 -0
- package/images/favicon.png +0 -0
- package/images/transparent-users/adam.png +0 -0
- package/images/transparent-users/amit.png +0 -0
- package/images/transparent-users/angelo.png +0 -0
- package/images/transparent-users/arcady.png +0 -0
- package/images/transparent-users/arnold.png +0 -0
- package/images/transparent-users/barbara.png +0 -0
- package/images/transparent-users/celia.png +0 -0
- package/images/transparent-users/chang.png +0 -0
- package/images/transparent-users/dan.png +0 -0
- package/images/transparent-users/daniel.png +0 -0
- package/images/transparent-users/dave.png +0 -0
- package/images/transparent-users/david.png +0 -0
- package/images/transparent-users/don.png +0 -0
- package/images/transparent-users/doug.png +0 -0
- package/images/transparent-users/ellen.png +0 -0
- package/images/transparent-users/emilia.png +0 -0
- package/images/transparent-users/george.png +0 -0
- package/images/transparent-users/gloria.png +0 -0
- package/images/transparent-users/henrik.png +0 -0
- package/images/transparent-users/hitomi.png +0 -0
- package/images/transparent-users/james.png +0 -0
- package/images/transparent-users/jane.png +0 -0
- package/images/transparent-users/jenny.png +0 -0
- package/images/transparent-users/john.png +0 -0
- package/images/transparent-users/jong.png +0 -0
- package/images/transparent-users/karen.png +0 -0
- package/images/transparent-users/kate.png +0 -0
- package/images/transparent-users/lee.png +0 -0
- package/images/transparent-users/license.md +3 -0
- package/images/transparent-users/linda.png +0 -0
- package/images/transparent-users/lisa.png +0 -0
- package/images/transparent-users/lola.png +0 -0
- package/images/transparent-users/macy.png +0 -0
- package/images/transparent-users/madison.png +0 -0
- package/images/transparent-users/malik.png +0 -0
- package/images/transparent-users/mark.png +0 -0
- package/images/transparent-users/mary.png +0 -0
- package/images/transparent-users/maxim.png +0 -0
- package/images/transparent-users/melissa.png +0 -0
- package/images/transparent-users/mike.png +0 -0
- package/images/transparent-users/none.png +0 -0
- package/images/transparent-users/peter.png +0 -0
- package/images/transparent-users/rob.png +0 -0
- package/images/transparent-users/sam.png +0 -0
- package/images/transparent-users/steve.png +0 -0
- package/index.js +3 -0
- package/package.json +30 -0
- package/scss/_common.scss +145 -0
- package/scss/_header.scss +91 -0
- package/scss/_toolbar.scss +28 -0
- package/scss/example-webpack.scss +7 -0
- package/scss/example.scss +7 -0
package/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# @bryntum/demo-resources
|
|
2
|
+
|
|
3
|
+
This package contains fonts, images, and SCSS files used by Bryntum demos for styling headers and providing
|
|
4
|
+
resources. It is not needed in the final end-user application; however, it can serve as a model or basis for the
|
|
5
|
+
application's actual resources.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
If you ever need it, run the installation command in the root of your application folder.
|
|
10
|
+
The specific command depends on the package manager used by your application.
|
|
11
|
+
|
|
12
|
+
The following commands are most frequently used:
|
|
13
|
+
|
|
14
|
+
Install using `npm`:
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
npm install @bryntum/demo-resources
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Install using `yarn`:
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
yarn add @bryntum/demo-resources
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Importing in your application
|
|
27
|
+
|
|
28
|
+
For Angular:
|
|
29
|
+
|
|
30
|
+
```scss
|
|
31
|
+
@import '@bryntum/demo-resources/scss/example-webpack.scss';
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
For React + Vite or Vue 3 + Vite:
|
|
35
|
+
|
|
36
|
+
```scss
|
|
37
|
+
@import '@bryntum/demo-resources/scss/example.scss';
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## License and copyright
|
|
41
|
+
|
|
42
|
+
### Images
|
|
43
|
+
|
|
44
|
+
Images are from https://randomuser.me/photos.
|
|
45
|
+
|
|
46
|
+
*A copy of their copyright notice:*
|
|
47
|
+
|
|
48
|
+
**Copyright Notice**
|
|
49
|
+
|
|
50
|
+
All randomly generated photos were hand-picked from the authorized section of UI Faces. Please visit the UI Faces FAQ for
|
|
51
|
+
more information regarding how you can use these faces.
|
|
52
|
+
|
|
53
|
+
*From the UI Faces FAQ:*
|
|
54
|
+
|
|
55
|
+
**What can I use these faces for?**
|
|
56
|
+
|
|
57
|
+
Only mockups. Unless they're listed in the authorized section, those awesome folks allow their faces to be used on live
|
|
58
|
+
products.
|
|
59
|
+
|
|
60
|
+
### Fonts
|
|
61
|
+
|
|
62
|
+
[Poppins font license](https://fonts.google.com/specimen/Poppins/about):
|
|
63
|
+
|
|
64
|
+
These fonts are licensed under the
|
|
65
|
+
[Open Font License](https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL).
|
|
66
|
+
|
|
67
|
+
You can use them freely in your products and projects - print or digital, commercial or otherwise. However, you can't sell
|
|
68
|
+
the fonts on their own.
|
|
69
|
+
|
|
70
|
+
This isn't legal advice; please consider consulting a lawyer and see the full license for all details.
|
|
71
|
+
|
|
72
|
+
### Styles (SCSS files)
|
|
73
|
+
|
|
74
|
+
These files are part of commercial software that requires a paid license.
|
|
75
|
+
Please visit [Bryntum Licensing](https://bryntum.com/licensing/) for the full text of the license.
|
|
76
|
+
|
|
77
|
+
Copyright © 2009-2026, Bryntum
|
|
78
|
+
All rights reserved.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCSS file for Poppins font
|
|
3
|
+
* The ~ symbol in url is specific to certain module bundlers like Webpack
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* poppins-100 - latin */
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: 'Poppins';
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: 100;
|
|
11
|
+
src: local(''),
|
|
12
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-100.woff2') format('woff2')
|
|
13
|
+
}
|
|
14
|
+
/* poppins-200 - latin */
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: 'Poppins';
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 200;
|
|
19
|
+
src: local(''),
|
|
20
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-200.woff2') format('woff2')
|
|
21
|
+
}
|
|
22
|
+
/* poppins-300 - latin */
|
|
23
|
+
@font-face {
|
|
24
|
+
font-family: 'Poppins';
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-weight: 300;
|
|
27
|
+
src: local(''),
|
|
28
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-300.woff2') format('woff2')
|
|
29
|
+
}
|
|
30
|
+
/* poppins-regular - latin */
|
|
31
|
+
@font-face {
|
|
32
|
+
font-family: 'Poppins';
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
src: local(''),
|
|
36
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-regular.woff2') format('woff2')
|
|
37
|
+
}
|
|
38
|
+
/* poppins-500 - latin */
|
|
39
|
+
@font-face {
|
|
40
|
+
font-family: 'Poppins';
|
|
41
|
+
font-style: normal;
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
src: local(''),
|
|
44
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-500.woff2') format('woff2')
|
|
45
|
+
}
|
|
46
|
+
/* poppins-600 - latin */
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'Poppins';
|
|
49
|
+
font-style: normal;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
src: local(''),
|
|
52
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-600.woff2') format('woff2')
|
|
53
|
+
}
|
|
54
|
+
/* poppins-700 - latin */
|
|
55
|
+
@font-face {
|
|
56
|
+
font-family: 'Poppins';
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
src: local(''),
|
|
60
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-700.woff2') format('woff2')
|
|
61
|
+
}
|
|
62
|
+
/* poppins-800 - latin */
|
|
63
|
+
@font-face {
|
|
64
|
+
font-family: 'Poppins';
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-weight: 800;
|
|
67
|
+
src: local(''),
|
|
68
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-800.woff2') format('woff2')
|
|
69
|
+
}
|
|
70
|
+
/* poppins-900 - latin */
|
|
71
|
+
@font-face {
|
|
72
|
+
font-family: 'Poppins';
|
|
73
|
+
font-style: normal;
|
|
74
|
+
font-weight: 900;
|
|
75
|
+
src: local(''),
|
|
76
|
+
url('~@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-900.woff2') format('woff2')
|
|
77
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCSS file for Poppins font
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* poppins-100 - latin */
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: 'Poppins';
|
|
8
|
+
font-style: normal;
|
|
9
|
+
font-weight: 100;
|
|
10
|
+
src: local(''),
|
|
11
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-100.woff2') format('woff2')
|
|
12
|
+
}
|
|
13
|
+
/* poppins-200 - latin */
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'Poppins';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 200;
|
|
18
|
+
src: local(''),
|
|
19
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-200.woff2') format('woff2')
|
|
20
|
+
}
|
|
21
|
+
/* poppins-300 - latin */
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: 'Poppins';
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 300;
|
|
26
|
+
src: local(''),
|
|
27
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-300.woff2') format('woff2')
|
|
28
|
+
}
|
|
29
|
+
/* poppins-regular - latin */
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: 'Poppins';
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
src: local(''),
|
|
35
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-regular.woff2') format('woff2')
|
|
36
|
+
}
|
|
37
|
+
/* poppins-500 - latin */
|
|
38
|
+
@font-face {
|
|
39
|
+
font-family: 'Poppins';
|
|
40
|
+
font-style: normal;
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
src: local(''),
|
|
43
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-500.woff2') format('woff2')
|
|
44
|
+
}
|
|
45
|
+
/* poppins-600 - latin */
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: 'Poppins';
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-weight: 600;
|
|
50
|
+
src: local(''),
|
|
51
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-600.woff2') format('woff2')
|
|
52
|
+
}
|
|
53
|
+
/* poppins-700 - latin */
|
|
54
|
+
@font-face {
|
|
55
|
+
font-family: 'Poppins';
|
|
56
|
+
font-style: normal;
|
|
57
|
+
font-weight: 700;
|
|
58
|
+
src: local(''),
|
|
59
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-700.woff2') format('woff2')
|
|
60
|
+
}
|
|
61
|
+
/* poppins-800 - latin */
|
|
62
|
+
@font-face {
|
|
63
|
+
font-family: 'Poppins';
|
|
64
|
+
font-style: normal;
|
|
65
|
+
font-weight: 800;
|
|
66
|
+
src: local(''),
|
|
67
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-800.woff2') format('woff2')
|
|
68
|
+
}
|
|
69
|
+
/* poppins-900 - latin */
|
|
70
|
+
@font-face {
|
|
71
|
+
font-family: 'Poppins';
|
|
72
|
+
font-style: normal;
|
|
73
|
+
font-weight: 900;
|
|
74
|
+
src: local(''),
|
|
75
|
+
url('@bryntum/demo-resources/fonts/poppins/poppins-v20-latin-900.woff2') format('woff2')
|
|
76
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 354.9 144.52" xmlns="http://www.w3.org/2000/svg"><g fill="#0076f8"><path d="m305.63 144.52c-12.47 0-23.53-4.83-31.58-13.28v11.06h-25.54v-142.3h26.75v48.58c7.84-7.64 18.5-12.07 30.37-12.07 27.15 0 49.28 23.33 49.28 54.1s-22.12 53.9-49.28 53.9zm-3.82-83.47c-14.68 0-26.55 13.27-26.55 29.77s11.87 29.16 26.55 29.16 26.55-12.67 26.55-29.16-11.87-29.77-26.55-29.77z"/><path d="m148.02 0h74.01v29.78h-74.01z"/><path d="m0 56.26h222.03v29.78h-222.03z"/><path d="m74.01 112.52h148.02v29.6h-148.02z"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg viewBox="0 0 354.9 144.52" xmlns="http://www.w3.org/2000/svg"><g fill="#fff"><path d="m305.63 144.52c-12.47 0-23.53-4.83-31.58-13.28v11.06h-25.54v-142.3h26.75v48.58c7.84-7.64 18.5-12.07 30.37-12.07 27.15 0 49.28 23.33 49.28 54.1s-22.12 53.9-49.28 53.9zm-3.82-83.47c-14.68 0-26.55 13.27-26.55 29.77s11.87 29.16 26.55 29.16 26.55-12.67 26.55-29.16-11.87-29.77-26.55-29.77z"/><path d="m148.02 0h74.01v29.78h-74.01z"/><path d="m0 56.26h222.03v29.78h-222.03z"/><path d="m74.01 112.52h148.02v29.6h-148.02z"/></g></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bryntum/demo-resources",
|
|
3
|
+
"version": "7.1.1",
|
|
4
|
+
"description": "The resources used by Bryntum examples",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"bryntum",
|
|
7
|
+
"gantt",
|
|
8
|
+
"project",
|
|
9
|
+
"grid",
|
|
10
|
+
"scheduler",
|
|
11
|
+
"demo",
|
|
12
|
+
"example",
|
|
13
|
+
"resource"
|
|
14
|
+
],
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "Bryntum",
|
|
17
|
+
"url": "https://bryntum.com",
|
|
18
|
+
"email": "info@bryntum.com"
|
|
19
|
+
},
|
|
20
|
+
"license": "Commercial",
|
|
21
|
+
"homepage": "https://bryntum.com/products/grid/examples",
|
|
22
|
+
"bugs": "https://github.com/bryntum/support/issues",
|
|
23
|
+
"main": "index.js",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=0.10.0"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {},
|
|
28
|
+
"devDependencies": {},
|
|
29
|
+
"types": ""
|
|
30
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Common example scss file
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
// global styling
|
|
6
|
+
html,
|
|
7
|
+
body {
|
|
8
|
+
height : 100%;
|
|
9
|
+
width : 100%;
|
|
10
|
+
overflow : hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@keyframes background-animation {
|
|
14
|
+
0% {
|
|
15
|
+
background-position : bottom, right, bottom right;
|
|
16
|
+
background-size : 50% 50%, 75% 75%, 100% 100%;
|
|
17
|
+
}
|
|
18
|
+
50% {
|
|
19
|
+
background-position : top, left, bottom right;
|
|
20
|
+
background-size : 70% 70%, 40% 40%, 100% 100%;
|
|
21
|
+
}
|
|
22
|
+
100% {
|
|
23
|
+
background-position : bottom, right, bottom right;
|
|
24
|
+
background-size : 50% 50%, 75% 75%, 100% 100%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
body {
|
|
29
|
+
margin : 0;
|
|
30
|
+
padding : 0;
|
|
31
|
+
font-size : 14px;
|
|
32
|
+
font-family : Poppins, "Helvetica Neue", Arial, Helvetica, sans-serif;
|
|
33
|
+
display : flex;
|
|
34
|
+
flex-flow : column nowrap;
|
|
35
|
+
align-items : stretch;
|
|
36
|
+
|
|
37
|
+
background-color : var(--b-neutral-97);
|
|
38
|
+
background-image : radial-gradient(circle, rgba(108, 207, 250, .3), transparent 70%, transparent 100%), radial-gradient(circle, rgba(78, 34, 191, .1), transparent 70%, transparent 100%), radial-gradient(circle at right bottom, color-mix(in srgb, var(--b-primary, #1e88e5), transparent 90%), transparent 70%, transparent 100%);
|
|
39
|
+
background-position : bottom, right, bottom right;
|
|
40
|
+
background-size : 50% 50%, 75% 75%, 100% 100%;
|
|
41
|
+
background-repeat : repeat repeat;
|
|
42
|
+
//animation : background-animation 90s ease-in-out infinite;
|
|
43
|
+
|
|
44
|
+
/* Space around component, except in thumbs */
|
|
45
|
+
&:where(:not(.b-screenshot, .b-hide-header)) {
|
|
46
|
+
#container, #app, app-root, #root {
|
|
47
|
+
.demo-app,
|
|
48
|
+
> .b-split-container,
|
|
49
|
+
> .b-container.b-outer:where(:not(.no-demo-app-style, .b-demo-code-editor)) {
|
|
50
|
+
margin : 0 1em 1em;
|
|
51
|
+
box-shadow : 0.2rem 0.2rem 1.2rem rgb(0 0 0 / 5%);
|
|
52
|
+
overflow : clip;
|
|
53
|
+
transition : background var(--b-default-transition-duration), border var(--b-default-transition-duration), max-width var(--b-default-transition-duration);
|
|
54
|
+
|
|
55
|
+
background : var(--b-neutral-100);
|
|
56
|
+
border-radius : var(--b-widget-border-radius-large);
|
|
57
|
+
|
|
58
|
+
.b-theme-visby-dark &,
|
|
59
|
+
.b-theme-visby-light & {
|
|
60
|
+
border : 1px solid var(--app-border-color, var(--b-grid-cell-border-color, var(--b-neutral-80)));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.b-theme-high-contrast-dark &,
|
|
64
|
+
.b-theme-high-contrast-light & {
|
|
65
|
+
border : 1px solid var(--b-border-1);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.demo-header {
|
|
70
|
+
margin-inline : 1em;
|
|
71
|
+
border-bottom : none;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@media screen and (min-width : 1000px) {
|
|
76
|
+
#container, #app, app-root, #root {
|
|
77
|
+
.demo-app,
|
|
78
|
+
> .b-split-container,
|
|
79
|
+
> .b-container.b-outer:where(:not(.no-demo-app-style, .b-demo-code-editor)) {
|
|
80
|
+
margin : 1em 4em 4em;
|
|
81
|
+
|
|
82
|
+
&:where(:first-of-type:not(:last-child)):has(~ .b-container) {
|
|
83
|
+
margin-top : 1em;
|
|
84
|
+
margin-bottom : 2em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:where(:not(:first-of-type)):has(~ .b-container) {
|
|
88
|
+
margin-top : 2em;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.demo-header {
|
|
93
|
+
margin-top : 1em;
|
|
94
|
+
margin-inline : 4em;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* For Angular using web component ViewEncapsulation.ShadowDom */
|
|
102
|
+
:host {
|
|
103
|
+
@media screen and (height > 768px) and (min-width : 800px) {
|
|
104
|
+
.demo-header {
|
|
105
|
+
margin-top : 1em;
|
|
106
|
+
margin-inline : 4em;
|
|
107
|
+
border-bottom : none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.demo-app {
|
|
111
|
+
display : flex;
|
|
112
|
+
flex-direction : column;
|
|
113
|
+
|
|
114
|
+
margin : 1em 4em 4em;
|
|
115
|
+
box-shadow : 0.2rem 0.2rem 1.2rem rgb(0 0 0 / 5%);
|
|
116
|
+
overflow : clip;
|
|
117
|
+
transition : background var(--b-default-transition-duration, .2s), border var(--b-default-transition-duration, .2s), max-width var(--b-default-transition-duration, .2s);
|
|
118
|
+
|
|
119
|
+
background : var(--b-neutral-100, #fff);
|
|
120
|
+
border-radius : var(--b-widget-border-radius-large, 2em);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
#container, #app, #root {
|
|
126
|
+
position : relative;
|
|
127
|
+
flex : 1 1 100%;
|
|
128
|
+
min-height : 0;
|
|
129
|
+
display : flex;
|
|
130
|
+
flex-direction : column;
|
|
131
|
+
align-items : stretch;
|
|
132
|
+
transform : translate(0, 0);
|
|
133
|
+
top : 0;
|
|
134
|
+
left : 0;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.b-react-scheduler-container,
|
|
138
|
+
.b-vue-scheduler-container,
|
|
139
|
+
.b-angular-scheduler-container {
|
|
140
|
+
flex : 1;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.demo-app {
|
|
144
|
+
flex : 1;
|
|
145
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* common styles for header
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@media (max-width : 800px) {
|
|
6
|
+
#trial-button {
|
|
7
|
+
display : none;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.demo-header {
|
|
12
|
+
display : flex;
|
|
13
|
+
padding-inline : 0.7em 0;
|
|
14
|
+
padding-block : 0;
|
|
15
|
+
|
|
16
|
+
transition : background-color var(--b-default-transition-duration), padding var(--b-default-transition-duration), font-size .1s;
|
|
17
|
+
border-bottom : 1px solid var(--b-border-7);
|
|
18
|
+
|
|
19
|
+
/* DemoHeader.js gets this from being a widget, match here */
|
|
20
|
+
&, * {
|
|
21
|
+
box-sizing : border-box;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
a {
|
|
25
|
+
text-decoration : none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.b-icon {
|
|
29
|
+
font-size : 1.1em;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.title {
|
|
33
|
+
margin-inline-end : auto;
|
|
34
|
+
display : flex;
|
|
35
|
+
align-items : center;
|
|
36
|
+
white-space : nowrap;
|
|
37
|
+
color : var(--b-text-1);
|
|
38
|
+
|
|
39
|
+
&:focus-visible {
|
|
40
|
+
outline-offset : var(--b-button-focus-outline-offset);
|
|
41
|
+
outline : var(--b-button-focus-outline-width) solid var(--b-widget-focus-outline-color);
|
|
42
|
+
border-radius : var(--b-widget-border-radius);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h1 {
|
|
46
|
+
display : flex;
|
|
47
|
+
align-items : center;
|
|
48
|
+
margin : 0;
|
|
49
|
+
font-weight : 600;
|
|
50
|
+
font-size : 1.1em;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
svg {
|
|
54
|
+
margin-inline-end : .75em;
|
|
55
|
+
height : 2em;
|
|
56
|
+
width : 2em;
|
|
57
|
+
background : #0076f8;
|
|
58
|
+
padding-inline-end : .2em;
|
|
59
|
+
border-radius : 5px;
|
|
60
|
+
|
|
61
|
+
g {
|
|
62
|
+
fill : #fff;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.b-toolbar {
|
|
68
|
+
font-size : .9em;
|
|
69
|
+
|
|
70
|
+
--b-toolbar-padding : 0.7em;
|
|
71
|
+
--b-toolbar-background : transparent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
#tools {
|
|
75
|
+
display : flex;
|
|
76
|
+
align-items : center;
|
|
77
|
+
background-color : transparent;
|
|
78
|
+
font-size : .9em;
|
|
79
|
+
gap : 0.5em;
|
|
80
|
+
padding : 0.7em;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.b-button-text {
|
|
84
|
+
--b-button-type-text-hover-background : var(--b-neutral-100);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
#trial-button,
|
|
88
|
+
.b-button-filled {
|
|
89
|
+
margin-inline-end : 1em;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar sass file
|
|
3
|
+
*/
|
|
4
|
+
.demo-toolbar {
|
|
5
|
+
display : flex;
|
|
6
|
+
align-items : center;
|
|
7
|
+
|
|
8
|
+
border-bottom : 1px solid var(--b-border-7);
|
|
9
|
+
background-color : var(--b-grid-background);
|
|
10
|
+
color : var(--b-neutral-30);
|
|
11
|
+
padding : var(--b-toolbar-padding);
|
|
12
|
+
|
|
13
|
+
.spacer {
|
|
14
|
+
flex : 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&.align-right {
|
|
18
|
+
justify-content : flex-end;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&.align-justify {
|
|
22
|
+
justify-content : space-between;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
> *:not(:first-child) {
|
|
26
|
+
margin-left : 0.6em;
|
|
27
|
+
}
|
|
28
|
+
}
|