@things-factory/operato-fleet 7.0.1-alpha.2 → 7.0.1-alpha.21

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/_index.html CHANGED
@@ -52,6 +52,7 @@
52
52
  <!-- Performance tip: hint to the browser to start the handshake for the fonts site -->
53
53
  <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
54
54
  <link href="/node_modules/@material-design-icons/font/index.css" rel="stylesheet" />
55
+ <link href="/node_modules/material-symbols/index.css" rel="stylesheet" />
55
56
  <style>
56
57
  body {
57
58
  margin: 0;
@@ -1,4 +1,5 @@
1
1
  import '@operato/board/ox-board-viewer.js'
2
+ import '@operato/oops'
2
3
 
3
4
  import gql from 'graphql-tag'
4
5
  import { css, html } from 'lit'
@@ -44,7 +45,7 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
44
45
  flex: 1;
45
46
  }
46
47
 
47
- oops-spinner {
48
+ ox-oops-spinner {
48
49
  display: none;
49
50
  position: absolute;
50
51
  left: 50%;
@@ -52,11 +53,11 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
52
53
  transform: translate(-50%, -50%);
53
54
  }
54
55
 
55
- oops-spinner[show] {
56
+ ox-oops-spinner[show] {
56
57
  display: block;
57
58
  }
58
59
 
59
- oops-note {
60
+ ox-oops-note {
60
61
  display: block;
61
62
  position: absolute;
62
63
  left: 50%;
@@ -87,17 +88,12 @@ export class FMSReport extends connect(store)(localize(i18next)(PageView)) {
87
88
  return oops
88
89
  ? html`
89
90
  <div main>
90
- <oops-note
91
- icon=${oops.icon}
92
- title=${oops.title}
93
- description=${oops.description}
94
- @click=${oops.click || NOOP}
95
- ></oops-note>
91
+ <ox-oops-note icon=${oops.icon} title=${oops.title} description=${oops.description} @click=${oops.click || NOOP}></ox-oops-note>
96
92
  </div>
97
93
  `
98
94
  : html`
99
95
  <ox-board-viewer main .board=${this._board} .provider=${provider}></ox-board-viewer>
100
- <oops-spinner ?show=${this._showSpinner}></oops-spinner>
96
+ <ox-oops-spinner ?show=${this._showSpinner}></ox-oops-spinner>
101
97
  `
102
98
  }
103
99
 
@@ -82,6 +82,9 @@ body {
82
82
  --mdc-button-outline-width: 1px;
83
83
  --mdc-button-horizontal-padding: 16px;
84
84
 
85
+ --md-fab-container-color: var(--primary-color);
86
+ --md-fab-icon-color: var(--focus-color);
87
+
85
88
  /* button style */
86
89
  --button-background-color: #fafbfc;
87
90
  --button-border: var(--border-dark-color);
@@ -143,7 +143,7 @@ body {
143
143
  --record-view-footer-button-border-width: 0 0 0 1px;
144
144
  --record-view-footer-button-font: 17px;
145
145
  --record-view-footer-button-color: var(--theme-white-color);
146
- --record-view-footer-iconbutton-size: 35px;
146
+ --record-view-footer-iconbutton-size: 28px;
147
147
  --record-view-footer-focus-background: var(--primary-color);
148
148
 
149
149
  --ox-grist-padding: var(--padding-default) var(--padding-default) 0 var(--padding-default);