@frxjs/ngx-timeline 1.0.3 → 1.0.7

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 (89) hide show
  1. package/README.md +136 -127
  2. package/bundles/frxjs-ngx-timeline.umd.js +696 -0
  3. package/bundles/frxjs-ngx-timeline.umd.js.map +1 -0
  4. package/bundles/frxjs-ngx-timeline.umd.min.js +2 -0
  5. package/bundles/frxjs-ngx-timeline.umd.min.js.map +1 -0
  6. package/esm2015/frxjs-ngx-timeline.js +8 -0
  7. package/esm2015/lib/components/index.js +3 -0
  8. package/esm2015/lib/components/ngx-timeline-event/ngx-timeline-event.component.js +55 -0
  9. package/esm2015/lib/components/ngx-timeline.component.js +147 -0
  10. package/esm2015/lib/models/NgxConfigObj.js +93 -0
  11. package/esm2015/lib/models/NgxTimelineEvent.js +6 -0
  12. package/esm2015/lib/models/index.js +3 -0
  13. package/esm2015/lib/ngx-timeline.module.js +23 -0
  14. package/esm2015/lib/pipes/index.js +2 -0
  15. package/esm2015/lib/pipes/ngx-date-pipe.js +28 -0
  16. package/esm2015/public-api.js +8 -0
  17. package/fesm2015/frxjs-ngx-timeline.js +350 -0
  18. package/fesm2015/frxjs-ngx-timeline.js.map +1 -0
  19. package/frxjs-ngx-timeline.d.ts +7 -0
  20. package/frxjs-ngx-timeline.metadata.json +1 -0
  21. package/{projects/ngx-timeline/src/lib/components/index.ts → lib/components/index.d.ts} +2 -2
  22. package/lib/components/ngx-timeline-event/ngx-timeline-event.component.d.ts +35 -0
  23. package/lib/components/ngx-timeline.component.d.ts +76 -0
  24. package/lib/models/NgxConfigObj.d.ts +59 -0
  25. package/lib/models/NgxTimelineEvent.d.ts +29 -0
  26. package/{projects/ngx-timeline/src/lib/models/index.ts → lib/models/index.d.ts} +2 -2
  27. package/lib/ngx-timeline.module.d.ts +2 -0
  28. package/{projects/ngx-timeline/src/lib/pipes/index.ts → lib/pipes/index.d.ts} +1 -1
  29. package/lib/pipes/ngx-date-pipe.d.ts +7 -0
  30. package/package.json +21 -50
  31. package/{projects/ngx-timeline/src/public-api.ts → public-api.d.ts} +4 -7
  32. package/.editorconfig +0 -16
  33. package/.github/workflows/main.yml +0 -25
  34. package/angular.json +0 -169
  35. package/docs/3rdpartylicenses.txt +0 -268
  36. package/docs/assets/inter.png +0 -0
  37. package/docs/favicon.ico +0 -0
  38. package/docs/index.html +0 -13
  39. package/docs/main.6005a10000c87d7095d3.js +0 -1
  40. package/docs/polyfills.f8ddde825b13760c1743.js +0 -1
  41. package/docs/runtime.0e49e2b53282f40c8925.js +0 -1
  42. package/docs/styles.09e2c710755c8867a460.css +0 -0
  43. package/package-lock.json +0 -14400
  44. package/projects/demo-app/.browserslistrc +0 -17
  45. package/projects/demo-app/e2e/protractor.conf.js +0 -37
  46. package/projects/demo-app/e2e/src/app.e2e-spec.ts +0 -23
  47. package/projects/demo-app/e2e/src/app.po.ts +0 -11
  48. package/projects/demo-app/e2e/tsconfig.json +0 -13
  49. package/projects/demo-app/karma.conf.js +0 -44
  50. package/projects/demo-app/src/app/app.component.html +0 -90
  51. package/projects/demo-app/src/app/app.component.scss +0 -417
  52. package/projects/demo-app/src/app/app.component.ts +0 -147
  53. package/projects/demo-app/src/app/app.module.ts +0 -20
  54. package/projects/demo-app/src/assets/.gitkeep +0 -0
  55. package/projects/demo-app/src/assets/inter.png +0 -0
  56. package/projects/demo-app/src/environments/environment.prod.ts +0 -3
  57. package/projects/demo-app/src/environments/environment.ts +0 -16
  58. package/projects/demo-app/src/favicon.ico +0 -0
  59. package/projects/demo-app/src/index.html +0 -13
  60. package/projects/demo-app/src/main.ts +0 -12
  61. package/projects/demo-app/src/polyfills.ts +0 -63
  62. package/projects/demo-app/src/styles.scss +0 -1
  63. package/projects/demo-app/src/test.ts +0 -25
  64. package/projects/demo-app/tsconfig.app.json +0 -26
  65. package/projects/demo-app/tsconfig.spec.json +0 -18
  66. package/projects/demo-app/tslint.json +0 -17
  67. package/projects/ngx-timeline/README.md +0 -127
  68. package/projects/ngx-timeline/karma.conf.js +0 -44
  69. package/projects/ngx-timeline/ng-package.json +0 -7
  70. package/projects/ngx-timeline/package.json +0 -17
  71. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.html +0 -37
  72. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.scss +0 -197
  73. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.spec.ts +0 -89
  74. package/projects/ngx-timeline/src/lib/components/ngx-timeline-event/ngx-timeline-event.component.ts +0 -66
  75. package/projects/ngx-timeline/src/lib/components/ngx-timeline.component.html +0 -98
  76. package/projects/ngx-timeline/src/lib/components/ngx-timeline.component.spec.ts +0 -160
  77. package/projects/ngx-timeline/src/lib/components/ngx-timeline.component.ts +0 -187
  78. package/projects/ngx-timeline/src/lib/components/ngx-timeline.scss +0 -226
  79. package/projects/ngx-timeline/src/lib/models/NgxConfigObj.ts +0 -110
  80. package/projects/ngx-timeline/src/lib/models/NgxTimelineEvent.ts +0 -32
  81. package/projects/ngx-timeline/src/lib/ngx-timeline.module.ts +0 -21
  82. package/projects/ngx-timeline/src/lib/pipes/ngx-date-pipe.ts +0 -29
  83. package/projects/ngx-timeline/src/test.ts +0 -26
  84. package/projects/ngx-timeline/tsconfig.lib.json +0 -25
  85. package/projects/ngx-timeline/tsconfig.lib.prod.json +0 -10
  86. package/projects/ngx-timeline/tsconfig.spec.json +0 -17
  87. package/projects/ngx-timeline/tslint.json +0 -17
  88. package/tsconfig.json +0 -35
  89. package/tslint.json +0 -140
@@ -1,17 +0,0 @@
1
- # This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
2
- # For additional information regarding the format and rule options, please see:
3
- # https://github.com/browserslist/browserslist#queries
4
-
5
- # For the full list of supported browsers by the Angular framework, please see:
6
- # https://angular.io/guide/browser-support
7
-
8
- # You can see what browsers were selected by your queries by running:
9
- # npx browserslist
10
-
11
- last 1 Chrome version
12
- last 1 Firefox version
13
- last 2 Edge major versions
14
- last 2 Safari major versions
15
- last 2 iOS major versions
16
- Firefox ESR
17
- not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
@@ -1,37 +0,0 @@
1
- // @ts-check
2
- // Protractor configuration file, see link for more information
3
- // https://github.com/angular/protractor/blob/master/lib/config.ts
4
-
5
- const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter');
6
-
7
- /**
8
- * @type { import("protractor").Config }
9
- */
10
- exports.config = {
11
- allScriptsTimeout: 11000,
12
- specs: [
13
- './src/**/*.e2e-spec.ts'
14
- ],
15
- capabilities: {
16
- browserName: 'chrome'
17
- },
18
- directConnect: true,
19
- SELENIUM_PROMISE_MANAGER: false,
20
- baseUrl: 'http://localhost:4200/',
21
- framework: 'jasmine',
22
- jasmineNodeOpts: {
23
- showColors: true,
24
- defaultTimeoutInterval: 30000,
25
- print: function() {}
26
- },
27
- onPrepare() {
28
- require('ts-node').register({
29
- project: require('path').join(__dirname, './tsconfig.json')
30
- });
31
- jasmine.getEnv().addReporter(new SpecReporter({
32
- spec: {
33
- displayStacktrace: StacktraceOption.PRETTY
34
- }
35
- }));
36
- }
37
- };
@@ -1,23 +0,0 @@
1
- import { AppPage } from './app.po';
2
- import { browser, logging } from 'protractor';
3
-
4
- describe('workspace-project App', () => {
5
- let page: AppPage;
6
-
7
- beforeEach(() => {
8
- page = new AppPage();
9
- });
10
-
11
- it('should display welcome message', async () => {
12
- await page.navigateTo();
13
- expect(await page.getTitleText()).toEqual('demo-app app is running!');
14
- });
15
-
16
- afterEach(async () => {
17
- // Assert that there are no errors emitted from the browser
18
- const logs = await browser.manage().logs().get(logging.Type.BROWSER);
19
- expect(logs).not.toContain(jasmine.objectContaining({
20
- level: logging.Level.SEVERE,
21
- } as logging.Entry));
22
- });
23
- });
@@ -1,11 +0,0 @@
1
- import { browser, by, element } from 'protractor';
2
-
3
- export class AppPage {
4
- async navigateTo(): Promise<unknown> {
5
- return browser.get(browser.baseUrl);
6
- }
7
-
8
- async getTitleText(): Promise<string> {
9
- return element(by.css('app-root .content span')).getText();
10
- }
11
- }
@@ -1,13 +0,0 @@
1
- /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
- {
3
- "extends": "../../../tsconfig.json",
4
- "compilerOptions": {
5
- "outDir": "../../../out-tsc/e2e",
6
- "module": "commonjs",
7
- "target": "es2018",
8
- "types": [
9
- "jasmine",
10
- "node"
11
- ]
12
- }
13
- }
@@ -1,44 +0,0 @@
1
- // Karma configuration file, see link for more information
2
- // https://karma-runner.github.io/1.0/config/configuration-file.html
3
-
4
- module.exports = function (config) {
5
- config.set({
6
- basePath: '',
7
- frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
- plugins: [
9
- require('karma-jasmine'),
10
- require('karma-chrome-launcher'),
11
- require('karma-jasmine-html-reporter'),
12
- require('karma-coverage'),
13
- require('@angular-devkit/build-angular/plugins/karma')
14
- ],
15
- client: {
16
- jasmine: {
17
- // you can add configuration options for Jasmine here
18
- // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
- // for example, you can disable the random execution with `random: false`
20
- // or set a specific seed with `seed: 4321`
21
- },
22
- clearContext: false // leave Jasmine Spec Runner output visible in browser
23
- },
24
- jasmineHtmlReporter: {
25
- suppressAll: true // removes the duplicated traces
26
- },
27
- coverageReporter: {
28
- dir: require('path').join(__dirname, '../../coverage/demo-app'),
29
- subdir: '.',
30
- reporters: [
31
- { type: 'html' },
32
- { type: 'text-summary' }
33
- ]
34
- },
35
- reporters: ['progress', 'kjhtml'],
36
- port: 9876,
37
- colors: true,
38
- logLevel: config.LOG_INFO,
39
- autoWatch: false,
40
- browsers: ['Chrome'],
41
- singleRun: true,
42
- restartOnFileChange: true
43
- });
44
- };
@@ -1,90 +0,0 @@
1
- <!-- Toolbar -->
2
- <div class="toolbar" role="banner">
3
- <img
4
- width="40"
5
- alt="Angular Logo"
6
- src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg=="
7
- />
8
- <span>Welcome</span>
9
- <div class="spacer"></div>
10
- <a aria-label="Angular on twitter" target="_blank" rel="noopener" href="https://twitter.com/angular" title="Twitter">
11
- <svg id="twitter-logo" height="24" data-name="Logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 400">
12
- <rect width="400" height="400" fill="none"/>
13
- <path d="M153.62,301.59c94.34,0,145.94-78.16,145.94-145.94,0-2.22,0-4.43-.15-6.63A104.36,104.36,0,0,0,325,122.47a102.38,102.38,0,0,1-29.46,8.07,51.47,51.47,0,0,0,22.55-28.37,102.79,102.79,0,0,1-32.57,12.45,51.34,51.34,0,0,0-87.41,46.78A145.62,145.62,0,0,1,92.4,107.81a51.33,51.33,0,0,0,15.88,68.47A50.91,50.91,0,0,1,85,169.86c0,.21,0,.43,0,.65a51.31,51.31,0,0,0,41.15,50.28,51.21,51.21,0,0,1-23.16.88,51.35,51.35,0,0,0,47.92,35.62,102.92,102.92,0,0,1-63.7,22A104.41,104.41,0,0,1,75,278.55a145.21,145.21,0,0,0,78.62,23" fill="#fff"/>
14
- </svg>
15
- </a>
16
- </div>
17
- <div class="content" role="main">
18
-
19
- <h2 class="title">Ngx-Timeline</h2>
20
-
21
- <div class="inner-container">
22
-
23
- <!-- ALL CONFIGURATIONS -->
24
- <form [formGroup]="form">
25
- <div class="form-container">
26
- <div class="form-select" *ngFor="let configuration of configurations">
27
- <label>{{configuration.label}}</label>
28
- <select formControlName="{{configuration.formControlName}}">
29
- <option *ngFor="let option of configuration.options" [ngValue]="option.value">{{ option.name }}</option>
30
- </select>
31
- </div>
32
- </div>
33
- </form>
34
-
35
- <!-- ngx-timeline -->
36
- <ngx-timeline
37
- [events]="events"
38
- [ngClass]="form.get('customClass').value ? 'inter' : ''"
39
- [langCode]="form.get('langCode').value"
40
- [enableAnimation]="form.get('enableAnimation').value"
41
- [groupEvent]="form.get('groupEvent').value"
42
- [changeSideInGroup]="form.get('changeSideInGroup').value"
43
- [eventCustomTemplate]="form.get('eventCustomTemplate').value ? eventCustomTemplate : null"
44
- [innerEventCustomTemplate]="form.get('innerEventCustomTemplate').value ? innerEventCustomTemplate : null"
45
- [centerIconCustomTemplate]="form.get('centerIconCustomTemplate').value ? centerIconCustomTemplate : null"
46
- [dateInstantCustomTemplate]="form.get('dateInstantCustomTemplate').value ? dateInstantCustomTemplate : null"
47
- [periodCustomTemplate]="form.get('periodCustomTemplate').value ? periodCustomTemplate : null"
48
- (clickEmitter)="form.get('clickEmitter').value ? handleClick($event) : null"
49
- ></ngx-timeline>
50
- </div>
51
-
52
- <!-- CUSTOM TEMPLATES -->
53
- <ng-template #periodCustomTemplate let-period=period let-index=index>
54
- <div [ngClass]="{'transparent first-line': !index}" class="line"></div>
55
- <div class="period-container">
56
- <p>
57
- {{index}} - {{period?.firstDate | ngxdate }}
58
- </p>
59
- </div>
60
- <div class="line"></div>
61
- </ng-template>
62
-
63
- <ng-template #centerIconCustomTemplate>
64
- <div class="icon-container">
65
- <img src="assets/inter.png"/>
66
- </div>
67
- </ng-template>
68
-
69
- <ng-template #innerEventCustomTemplate let-event=event>
70
- <div class="event" (click)="handleClick(event)">
71
- {{event | json}}
72
- </div>
73
- </ng-template>
74
-
75
- <ng-template #eventCustomTemplate let-event=event let-colSidePosition=colSidePosition>
76
- <div class="event" (click)="handleClick(event)">
77
- {{event | json}}
78
- </div>
79
- </ng-template>
80
-
81
- <ng-template #dateInstantCustomTemplate let-item=item>
82
- <span>
83
- {{item?.timestamp | ngxdate : ngxDateFormat.FULL_DATE }}
84
- </span>
85
- </ng-template>
86
-
87
-
88
- </div>
89
-
90
-
@@ -1,417 +0,0 @@
1
- :host {
2
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3
- font-size: 14px;
4
- color: #333;
5
- box-sizing: border-box;
6
- -webkit-font-smoothing: antialiased;
7
- -moz-osx-font-smoothing: grayscale;
8
- }
9
-
10
- h1,
11
- h2,
12
- h3,
13
- h4,
14
- h5,
15
- h6 {
16
- margin: 8px 0;
17
- }
18
-
19
- p {
20
- margin: 0;
21
- }
22
-
23
- .spacer {
24
- flex: 1;
25
- }
26
-
27
- .toolbar {
28
- position: absolute;
29
- top: 0;
30
- left: 0;
31
- right: 0;
32
- height: 60px;
33
- display: flex;
34
- align-items: center;
35
- background-color: #1976d2;
36
- color: white;
37
- font-weight: 600;
38
- }
39
-
40
- .toolbar img {
41
- margin: 0 16px;
42
- }
43
-
44
- .toolbar #twitter-logo {
45
- height: 40px;
46
- margin: 0 16px;
47
- }
48
-
49
- .toolbar #twitter-logo:hover {
50
- opacity: 0.8;
51
- }
52
-
53
- .content {
54
- display: flex;
55
- margin: 82px auto 32px;
56
- padding: 0 16px;
57
- flex-direction: column;
58
- align-items: center;
59
-
60
- .title {
61
- margin-bottom: 2rem;
62
- }
63
- }
64
-
65
- svg.material-icons {
66
- height: 24px;
67
- width: auto;
68
- }
69
-
70
- svg.material-icons:not(:last-child) {
71
- margin-right: 8px;
72
- }
73
-
74
- .card svg.material-icons path {
75
- fill: #888;
76
- }
77
-
78
- .card-container {
79
- display: flex;
80
- flex-wrap: wrap;
81
- justify-content: center;
82
- margin-top: 16px;
83
- }
84
-
85
- .card {
86
- border-radius: 4px;
87
- border: 1px solid #eee;
88
- background-color: #fafafa;
89
- height: 40px;
90
- width: 200px;
91
- margin: 0 8px 16px;
92
- padding: 16px;
93
- display: flex;
94
- flex-direction: row;
95
- justify-content: center;
96
- align-items: center;
97
- transition: all 0.2s ease-in-out;
98
- line-height: 24px;
99
- }
100
-
101
- .card-container .card:not(:last-child) {
102
- margin-right: 0;
103
- }
104
-
105
- .card.card-small {
106
- height: 16px;
107
- width: 168px;
108
- }
109
-
110
- .card-container .card:not(.highlight-card) {
111
- cursor: pointer;
112
- }
113
-
114
- .card-container .card:not(.highlight-card):hover {
115
- transform: translateY(-3px);
116
- box-shadow: 0 4px 17px rgba(0, 0, 0, 0.35);
117
- }
118
-
119
- .card-container .card:not(.highlight-card):hover .material-icons path {
120
- fill: rgb(105, 103, 103);
121
- }
122
-
123
- .card.highlight-card {
124
- background-color: #1976d2;
125
- color: white;
126
- font-weight: 600;
127
- border: none;
128
- width: auto;
129
- min-width: 30%;
130
- position: relative;
131
- }
132
-
133
- .card.card.highlight-card span {
134
- margin-left: 60px;
135
- }
136
-
137
- svg#rocket {
138
- width: 80px;
139
- position: absolute;
140
- left: -10px;
141
- top: -24px;
142
- }
143
-
144
- svg#rocket-smoke {
145
- height: calc(100vh - 95px);
146
- position: absolute;
147
- top: 10px;
148
- right: 180px;
149
- z-index: -10;
150
- }
151
-
152
- a,
153
- a:visited,
154
- a:hover {
155
- color: #1976d2;
156
- text-decoration: none;
157
- }
158
-
159
- a:hover {
160
- color: #125699;
161
- }
162
-
163
- .terminal {
164
- position: relative;
165
- width: 80%;
166
- max-width: 600px;
167
- border-radius: 6px;
168
- padding-top: 45px;
169
- margin-top: 8px;
170
- overflow: hidden;
171
- background-color: rgb(15, 15, 16);
172
- }
173
-
174
- .terminal::before {
175
- content: "\2022 \2022 \2022";
176
- position: absolute;
177
- top: 0;
178
- left: 0;
179
- height: 4px;
180
- background: rgb(58, 58, 58);
181
- color: #c2c3c4;
182
- width: 100%;
183
- font-size: 2rem;
184
- line-height: 0;
185
- padding: 14px 0;
186
- text-indent: 4px;
187
- }
188
-
189
- .terminal pre {
190
- font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
191
- color: white;
192
- padding: 0 1rem 1rem;
193
- margin: 0;
194
- }
195
-
196
- .circle-link {
197
- height: 40px;
198
- width: 40px;
199
- border-radius: 40px;
200
- margin: 8px;
201
- background-color: white;
202
- border: 1px solid #eeeeee;
203
- display: flex;
204
- justify-content: center;
205
- align-items: center;
206
- cursor: pointer;
207
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
208
- transition: 1s ease-out;
209
- }
210
-
211
- .circle-link:hover {
212
- transform: translateY(-0.25rem);
213
- box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.2);
214
- }
215
-
216
- footer {
217
- margin-top: 8px;
218
- display: flex;
219
- align-items: center;
220
- line-height: 20px;
221
- }
222
-
223
- footer a {
224
- display: flex;
225
- align-items: center;
226
- }
227
-
228
- .github-star-badge {
229
- color: #24292e;
230
- display: flex;
231
- align-items: center;
232
- font-size: 12px;
233
- padding: 3px 10px;
234
- border: 1px solid rgba(27,31,35,.2);
235
- border-radius: 3px;
236
- background-image: linear-gradient(-180deg,#fafbfc,#eff3f6 90%);
237
- margin-left: 4px;
238
- font-weight: 600;
239
- font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
240
- }
241
-
242
- .github-star-badge:hover {
243
- background-image: linear-gradient(-180deg,#f0f3f6,#e6ebf1 90%);
244
- border-color: rgba(27,31,35,.35);
245
- background-position: -.5em;
246
- }
247
-
248
- .github-star-badge .material-icons {
249
- height: 16px;
250
- width: 16px;
251
- margin-right: 4px;
252
- }
253
-
254
- svg#clouds {
255
- position: fixed;
256
- bottom: -160px;
257
- left: -230px;
258
- z-index: -10;
259
- width: 1920px;
260
- }
261
-
262
- .form-container {
263
- display: flex;
264
- flex-direction: column;
265
-
266
- .form-select {
267
- display: flex;
268
- justify-content: space-between;
269
- margin-bottom: 0.5rem;
270
-
271
- select {
272
- min-width: 15.625rem;
273
- padding: 0.5rem 0.25rem;
274
- }
275
- }
276
- }
277
-
278
- .line {
279
- min-height: 50%;
280
- max-height: 50%;
281
- height: 50%;
282
- background: #464646;
283
- width: 0.1rem;
284
-
285
- &.transparent {
286
- background: transparent;
287
- }
288
- }
289
-
290
- .period-container {
291
- display: flex;
292
- justify-content: center;
293
- align-items: center;
294
- width: max-content;
295
- padding: 0.25rem;
296
- color: lightgrey;
297
- }
298
-
299
- /* Responsive Styles */
300
- @media screen and (max-width: 767px) {
301
-
302
- .card-container > *:not(.circle-link) ,
303
- .terminal {
304
- width: 100%;
305
- }
306
-
307
- .card:not(.highlight-card) {
308
- height: 16px;
309
- margin: 8px 0;
310
- }
311
-
312
- .card.highlight-card span {
313
- margin-left: 72px;
314
- }
315
-
316
- svg#rocket-smoke {
317
- right: 120px;
318
- transform: rotate(-5deg);
319
- }
320
- }
321
-
322
- .inner-container {
323
- display: flex;
324
- width: 100%;
325
- justify-content: space-evenly;
326
- align-items: center;
327
-
328
- form {
329
- display: flex;
330
- align-items: flex-start;
331
- flex: 0 0 20%;
332
- height: 100vh;
333
-
334
- label {
335
- font-weight: bold;
336
- }
337
- }
338
-
339
- ngx-timeline {
340
- max-width: 900px;
341
- display: flex;
342
- flex: 0 0 80%;
343
- }
344
-
345
- }
346
-
347
- .event {
348
- border: solid 1px red;
349
- }
350
-
351
- .icon-container {
352
- padding: .8rem 0;
353
- display: flex;
354
- justify-content: center;
355
- align-items: center;
356
- position: absolute;
357
- height: 10px;
358
- width: 10px;
359
- background: white;
360
-
361
- .icon {
362
- height: 1rem;
363
- width: 1rem;
364
- border-radius: 50%;
365
- background: red;
366
- margin: 0;
367
- position: absolute;
368
- }
369
- img {
370
- max-width: 1.25rem;
371
- max-height: 1.25rem;
372
- }
373
- }
374
-
375
- ::ng-deep ngx-timeline.inter {
376
- .period-container {
377
- background: blue !important;
378
- .period-inner-container {
379
- background: blue !important;
380
- }
381
- }
382
- .line:not(.first-line):not(.last-line) {
383
- background-color: lightgrey !important;
384
- }
385
- .center-icon-container .icon {
386
- background: blue !important;
387
- }
388
- }
389
-
390
- @media screen and (max-width: 1300px) {
391
- svg#rocket-smoke {
392
- display: none;
393
- visibility: hidden;
394
- }
395
-
396
- .inner-container {
397
- display: flex;
398
- width: 100%;
399
- flex-direction: column;
400
- justify-content: space-evenly;
401
- align-items: center;
402
-
403
- form {
404
- justify-content: space-between;
405
- height: auto;
406
-
407
- .form-container {
408
- min-width: 60vw;
409
- }
410
- }
411
-
412
- ngx-timeline {
413
- min-width: 80vw;
414
- }
415
-
416
- }
417
- }