namirasoft-account-react 1.4.190 → 1.4.192

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.
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { Component } from 'react';
3
3
  import { EnvService, FilterItem, FilterItemOperator, SortItem } from 'namirasoft-core';
4
- import { NSButtonBlue, NSDialog, NSLoading, NSNoData } from "namirasoft-site-react";
4
+ import { NSButtonBlue, NSDialog, NSLoading, NSNoData, StringFormatter } from "namirasoft-site-react";
5
5
  import { NamirasoftMessageMetaDatabase, NamirasoftMessageServer } from 'namirasoft-message';
6
6
  import Styles from './NSAMessageListDialog.module.css';
7
7
  export class NSAMessageListDialog extends Component {
@@ -41,7 +41,7 @@ export class NSAMessageListDialog extends Component {
41
41
  this.props.onMessageClick();
42
42
  window.open(REACT_APP_BASE_URL_MESSAGE_CONSOLE + "/message/" + message.id + "/view", "_blank");
43
43
  this.props.onClose();
44
- }, children: [_jsx("ul", { className: Styles.nsa_message_item_ul, children: _jsx("li", { className: `${Styles.nsa_message_item_title}`, children: message.title }) }), _jsx("p", { className: `${Styles.nsa_message_item_content} nsa_font_13_normal`, children: message.body.replace(/\n/gm, "<br/>") }), _jsx("span", { style: { fontSize: "10px" }, children: new Date(message.created_at).toLocaleString() })] }, message.id));
44
+ }, children: [_jsx("ul", { className: Styles.nsa_message_item_ul, children: _jsx("li", { className: `${Styles.nsa_message_item_title}`, children: message.title }) }), _jsx("p", { className: `${Styles.nsa_message_item_content} nsa_font_13_normal`, children: StringFormatter.toHTML(message.body) }), _jsx("span", { style: { fontSize: "10px" }, children: new Date(message.created_at).toLocaleString() })] }, message.id));
45
45
  content = (_jsxs(_Fragment, { children: [_jsxs("div", { className: Styles.nsa_toast, children: [_jsx("div", { className: Styles.nsa_toast_header, children: _jsxs("figure", { className: 'd-flex flex-row justify-content-center align-item-center mb-0', style: { cursor: "pointer" }, children: [_jsx("img", { src: "https://static.namirasoft.com/image/concept/mark-all/blue.svg", alt: "Message Header", width: 22, onClick: this.onMarkAll }), _jsx("figcaption", { className: `${Styles.nsa_message_title} ms-2`, onClick: this.onMarkAll, children: "Mark All As Seen" })] }) }), _jsx("div", { className: Styles.nsa_toast_body, children: content_messages }), _jsx("div", { className: 'pt-3 mx-0 d-flex justify-content-center', children: _jsx(NSButtonBlue, { onClick: () => {
46
46
  window.open(REACT_APP_BASE_URL_MESSAGE_CONSOLE + "/message/list", "_blank");
47
47
  }, title: 'View All' }) })] }), _jsx("div", { className: Styles.nsa_toast_background })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"NSAMessageListDialog.js","sourceRoot":"","sources":["../../src/components/NSAMessageListDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACvF,OAAO,EAAuB,YAAY,EAAE,QAAQ,EAAiB,SAAS,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACxH,OAAO,EAAE,6BAA6B,EAAc,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAExG,OAAO,MAAM,MAAM,mCAAmC,CAAC;AAcvD,MAAM,OAAO,oBAAqB,SAAQ,SAA+D;IAExG,YAAY,KAAgC;QAE3C,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IACQ,iBAAiB;QAEzB,IAAI,0BAA0B,GAAG,IAAI,UAAU,CAAC,4BAA4B,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QAChG,IAAI,MAAM,GAAG,IAAI,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AK,EAAE,EAAE,EACT,OAAO,EAAE,IAAI,CAAC,SAAS,GACtB,EACF,qBACC,SAAS,EAAE,GAAG,MAAM,CAAC,iBAAiB,OAAO,EAC7C,OAAO,EAAE,IAAI,CAAC,SAAS,iCAGX,IACL,GACJ,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,cAAc,YACnC,gBAAgB,GACZ,EACN,cAAK,SAAS,EAAC,yCAAyC,YACvD,KAAC,YAAY,IACZ,OAAO,EAAE,GAAG,EAAE;wCAEb,MAAM,CAAC,IAAI,CAAC,kCAAkC,GAAG,eAAe,EAAE,QAAQ,CAAC,CAAC;oCAC7E,CAAC,EACD,KAAK,EAAC,UAAU,GACf,GACG,IACD,EACN,cAAK,SAAS,EAAE,MAAM,CAAC,oBAAoB,GACrC,IACJ,CACH,CAAC;QACH,CAAC;QACD,OAAO,CACN,KAAC,QAAQ,oBAAK,IAAI,CAAC,KAAK,IACvB,EAAE,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,EACjB,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS,EAC/B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,YAEtB,OAAO,IACG,CACZ,CAAC;IACH,CAAC;CACD"}
@@ -42,7 +42,9 @@ export function NSAVerificationPage(props) {
42
42
  let code = (_b = (_a = NSBoxString_Ref.current) === null || _a === void 0 ? void 0 : _a.getValue()) !== null && _b !== void 0 ? _b : "";
43
43
  yield props.onVerify(code);
44
44
  props.notifier.onSuccess("Verification has been successfully done.");
45
- props.onFinished();
45
+ setTimeout(() => {
46
+ props.onFinished();
47
+ }, 3000);
46
48
  }
47
49
  catch (error) {
48
50
  props.notifier.onError(error);
@@ -52,7 +54,7 @@ export function NSAVerificationPage(props) {
52
54
  return (_jsx(_Fragment, { children: _jsxs(NSSection, { children: [_jsxs("div", { className: `${Styles.nsa_verification_container} ${(_c = (_b = props.classList) === null || _b === void 0 ? void 0 : _b.join(" ")) !== null && _c !== void 0 ? _c : ""}`, style: props.style, children: [_jsx("img", { src: "https://static.namirasoft.com/image/concept/verification/purple.png", alt: 'verification vector', className: Styles.nsa_verification_vector }), _jsxs("div", { className: 'm-0', children: [_jsxs("p", { className: 'm-2', children: ["Type: ", props.contact_type] }), ((state.isSendCode || !props.children) && props.getContactValue(false)) &&
53
55
  _jsxs("p", { className: 'm-2', children: [props.contact_value_name, ": ", props.getContactValue(false)] }), props.children &&
54
56
  _jsx("div", { style: { display: state.isSendCode ? "none" : undefined }, children: props.children })] }), state.isSendCode ?
55
- _jsxs(_Fragment, { children: [_jsx("p", { children: "Please enter the code you received" }), _jsx(NSBoxString, { ref: NSBoxString_Ref, title: 'Verification Code', hideHeader: true, required: true, min_length: 6, max_length: 6 })] }) :
57
+ _jsxs(_Fragment, { children: [_jsx("p", { style: { margin: "0px" }, children: "Please enter the code you received" }), _jsx(NSBoxString, { ref: NSBoxString_Ref, title: 'Verification Code', hideHeader: true, required: true, min_length: 6, max_length: 6, input: { style: { fontSize: '24px', fontWeight: "bold", textAlign: "center" } } })] }) :
56
58
  _jsx(_Fragment, { children: _jsx(NSButtonBlue, { onClick: onRequest, title: 'Send Code' }) })] }), _jsx(NSSpace, { size: NSSpaceSizeType.NORMAL }), state.isSendCode &&
57
59
  _jsxs(_Fragment, { children: [_jsx(NSButtonBlue, { title: "Verify", onClick: () => onVerify() }), _jsx(NSSpace, { size: NSSpaceSizeType.SMALL }), _jsx("button", { onClick: () => {
58
60
  setState(prevState => (Object.assign(Object.assign({}, prevState), { isSendCode: false })));
@@ -1 +1 @@
1
- {"version":3,"file":"NSAVerificationPage.js","sourceRoot":"","sources":["../../src/pages/NSAVerificationPage.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,MAAM,MAAM,kCAAkC,CAAC;AACtD,OAAO,EAAuC,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzF,OAAO,EAAa,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,E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AC,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,GAAI,EAC1D,KAAC,OAAO,IAAC,IAAI,EAAE,eAAe,CAAC,KAAK,GAAY,EAChD,iBAAQ,OAAO,EAAE,GAAG,EAAE;oCAErB,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,iCAAM,SAAS,KAAE,UAAU,EAAE,KAAK,IAAG,CAAC,CAAA;gCAC7D,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,iBAAiB,4BAAsB,IAC1D,IAEQ,GACX,CACH,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.190",
11
+ "version": "1.4.192",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -37,7 +37,7 @@
37
37
  "namirasoft-secret": "^1.4.26",
38
38
  "namirasoft-site": "^1.4.8",
39
39
  "namirasoft-site-map": "^1.4.12",
40
- "namirasoft-site-react": "^1.4.241",
40
+ "namirasoft-site-react": "^1.4.244",
41
41
  "namirasoft-workspace": "^1.4.14",
42
42
  "os-browserify": "^0.3.0",
43
43
  "path-browserify": "^1.0.1",
@@ -1,6 +1,6 @@
1
1
  import { Component } from 'react';
2
2
  import { EnvService, FilterItem, FilterItemOperator, SortItem } from 'namirasoft-core';
3
- import { IBaseComponentProps, NSButtonBlue, NSDialog, NSDialogProps, NSLoading, NSNoData } from "namirasoft-site-react";
3
+ import { IBaseComponentProps, NSButtonBlue, NSDialog, NSDialogProps, NSLoading, NSNoData, StringFormatter } from "namirasoft-site-react";
4
4
  import { NamirasoftMessageMetaDatabase, MessageRow, NamirasoftMessageServer } from 'namirasoft-message';
5
5
  import { INSARouterProps } from '../INSARouterProps';
6
6
  import Styles from './NSAMessageListDialog.module.css';
@@ -74,7 +74,9 @@ export class NSAMessageListDialog extends Component<NSAMessageListDialogProps, N
74
74
  <ul className={Styles.nsa_message_item_ul}>
75
75
  <li className={`${Styles.nsa_message_item_title}`}>{message.title}</li>
76
76
  </ul>
77
- <p className={`${Styles.nsa_message_item_content} nsa_font_13_normal`}>{message.body.replace(/\n/gm, "<br/>")}</p>
77
+ <p className={`${Styles.nsa_message_item_content} nsa_font_13_normal`}>{
78
+ StringFormatter.toHTML(message.body)
79
+ }</p>
78
80
  <span style={{ fontSize: "10px" }}>{new Date(message.created_at).toLocaleString()}</span>
79
81
  </div>
80
82
  );
@@ -56,7 +56,10 @@ export function NSAVerificationPage(props: INSAVerificationPageProps)
56
56
  let code = NSBoxString_Ref.current?.getValue() ?? "";
57
57
  await props.onVerify(code);
58
58
  props.notifier.onSuccess("Verification has been successfully done.");
59
- props.onFinished();
59
+ setTimeout(() =>
60
+ {
61
+ props.onFinished();
62
+ }, 3000);
60
63
  } catch (error)
61
64
  {
62
65
  props.notifier.onError(error as Error);
@@ -91,7 +94,9 @@ export function NSAVerificationPage(props: INSAVerificationPageProps)
91
94
  {
92
95
  state.isSendCode ?
93
96
  <>
94
- <p>Please enter the code you received</p>
97
+ <p
98
+ style={{ margin: "0px" }}
99
+ >Please enter the code you received</p>
95
100
  <NSBoxString
96
101
  ref={NSBoxString_Ref}
97
102
  title='Verification Code'
@@ -99,6 +104,7 @@ export function NSAVerificationPage(props: INSAVerificationPageProps)
99
104
  required={true}
100
105
  min_length={6}
101
106
  max_length={6}
107
+ input={{ style: { fontSize: '24px', fontWeight: "bold", textAlign: "center" } }}
102
108
  />
103
109
  </> :
104
110
  <>
@@ -118,7 +124,7 @@ export function NSAVerificationPage(props: INSAVerificationPageProps)
118
124
  }} className={Styles.nsa_resend_button}>Resend Code</button>
119
125
  </>
120
126
  }
121
- </NSSection>
127
+ </NSSection >
122
128
  </>
123
129
  );
124
130
  }
package/dist/App.css DELETED
@@ -1,32 +0,0 @@
1
- @font-face {
2
- font-family: inter;
3
- src: url("../src/assets/fonts/Inter-Regular.ttf");
4
- }
5
-
6
- body {
7
- margin: 0;
8
- font-family: inter;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- }
12
-
13
-
14
- .btn-close {
15
- background: url(https://static.namirasoft.com/image/concept/close/blue.svg) center/1em auto no-repeat !important;
16
- opacity: 1 !important;
17
- }
18
-
19
- .nsa_font_16_bold {
20
- font-size: 16px;
21
- font-weight: 600;
22
- }
23
-
24
- .nsa_font_13_normal {
25
- font-size: 13px;
26
- font-weight: 300;
27
- }
28
-
29
- .nsa_font_12_normal {
30
- font-size: 12px;
31
- font-weight: 300;
32
- }
@@ -1,72 +0,0 @@
1
- .nsa_access_list_dialog_container {
2
- width: 302px;
3
- }
4
-
5
- .nsa_access_list_dialog_container p {
6
- padding: 0;
7
- margin: 0;
8
- }
9
-
10
- .nsa_access_list_dialog_item_id {
11
- color: rgba(3, 119, 255, 1);
12
- text-align: right;
13
- font-weight: 600;
14
- font-size: 16px;
15
- cursor: pointer;
16
- margin: 0;
17
- }
18
-
19
- .nsa_access_list_dialog_item_name {
20
- color: rgba(20, 27, 92, 1);
21
- font-weight: 600;
22
- font-size: 16px;
23
- text-align: left;
24
- cursor: pointer;
25
- margin: 0px;
26
- }
27
-
28
- .nsa_access_list_dialog_item_email {
29
- color: rgba(20, 27, 92, 1);
30
- }
31
-
32
- .nsa_access_list_dialog_main_name {
33
- color: rgba(20, 27, 92, 1);
34
- font-weight: 600;
35
- font-size: 24px;
36
- text-align: center;
37
- cursor: pointer;
38
- margin: 0px;
39
- }
40
-
41
- .nsa_access_list_dialog_main_email {
42
- color: rgba(20, 27, 92, 1);
43
- }
44
-
45
- .nsa_access_list_dialog_main_id {
46
- color: rgba(3, 119, 255, 1);
47
- text-align: center;
48
- font-weight: 600;
49
- font-size: 16px;
50
- cursor: pointer;
51
- margin: 0;
52
- }
53
-
54
- .nsa_access_list_dialog_users_container {
55
- padding: 0px 16px 0px 16px;
56
- display: flex;
57
- cursor: pointer;
58
- border: none;
59
- background-color: rgba(224, 226, 235, 1);
60
- border-radius: 8px;
61
- align-items: center;
62
- max-width: 100%;
63
- }
64
-
65
- .nsa_access_list_dialog_users_container:hover {
66
- background-color: rgba(178, 187, 217, 1);
67
- transition: all 0.3s ease-in-out;
68
- }
69
-
70
- .nsa_access_list_dialog_users_container img {
71
- cursor: pointer;
72
- }
@@ -1,100 +0,0 @@
1
- .nsa_message_icon {
2
- cursor: pointer;
3
- }
4
-
5
- .nsa_message_title {
6
- color: hsla(212, 100%, 51%, 1)
7
- }
8
-
9
- .nsa_message_item {
10
- background-color: hsla(157, 94%, 42%, 0.1);
11
- padding: 8px 16px;
12
- cursor: pointer !important;
13
- margin: 8px 0;
14
- border-radius: 8px;
15
- }
16
-
17
- .nsa_message_item_title {
18
- color: hsla(234, 64%, 22%, 1);
19
- font-size: 16px;
20
- font-weight: 600;
21
- text-align: left;
22
- }
23
-
24
- .nsa_message_item_content {
25
- color: hsla(234, 64%, 22%, 1);
26
- margin: 0;
27
- text-align: left;
28
- overflow: hidden;
29
- text-overflow: ellipsis;
30
- white-space: nowrap;
31
- }
32
-
33
- .nsa_message_item_ul {
34
- display: flex;
35
- padding-left: 16px !important;
36
- margin-bottom: 0px;
37
- }
38
-
39
- .nsa_message_item_ul li::marker {
40
- color: hsla(157, 94%, 42%, 1);
41
- padding: 20px;
42
- }
43
-
44
- .nsa_message_item_dot_green {
45
- width: 8px;
46
- height: 8px;
47
- background: hsla(157, 94%, 42%, 1);
48
- border-radius: 50%;
49
- }
50
-
51
- .nsa_message_item_dot_gray {
52
- width: 8px;
53
- height: 8px;
54
- background: hsla(228, 9%, 66%, 1);
55
- border-radius: 50%;
56
- }
57
-
58
- .nsa_body_gray {
59
- background-color: #fff;
60
- padding: 16px;
61
- box-shadow: 0px 2px 5px #e6e6e6;
62
- cursor: pointer !important;
63
- }
64
-
65
- .nsa_count {
66
- position: absolute;
67
- background: rgba(3, 119, 255, 1);
68
- right: -5px;
69
- top: -5px;
70
- color: #fff;
71
- width: 18px;
72
- height: 18px;
73
- border-radius: 50%;
74
- display: flex;
75
- justify-content: center;
76
- align-items: center;
77
- }
78
-
79
- .nsa_parent_count {
80
- position: relative;
81
- width: max-content;
82
- }
83
-
84
- .nsa_toast_body {
85
- padding: 0 !important;
86
- height: 100%;
87
- max-width: 302px;
88
- overflow-y: auto;
89
- }
90
-
91
- .nsa_toast_header {
92
- padding: 2px !important;
93
- display: flex;
94
- justify-content: space-between !important;
95
- align-items: center;
96
- }
97
-
98
- .nsa_close_icon {
99
- cursor: pointer;
100
- }
@@ -1,45 +0,0 @@
1
- .nsa_product_list_container {
2
- display: grid;
3
- flex-direction: row;
4
- grid-template-columns: repeat(3, 1fr);
5
- align-items: flex-start;
6
- justify-content: center;
7
- width: 100%;
8
- height: 400px;
9
- overflow: auto;
10
- margin-top: 16px;
11
- }
12
-
13
- .nsa_product_list_container::-webkit-scrollbar {
14
- width: 1rem;
15
- }
16
-
17
- .nsa_product_list_container::-webkit-scrollbar-track {
18
- box-shadow: inset 0 0 6px #E8EBF6;
19
- }
20
-
21
- .nsa_product_list_container::-webkit-scrollbar-thumb {
22
- background-color: #A1A4B0;
23
- border-radius: 8px;
24
- }
25
-
26
- .nsa_product_list {
27
- display: flex;
28
- flex-direction: column;
29
- justify-content: center;
30
- align-items: center;
31
- text-align: center;
32
- margin-top: 24px;
33
- gap: 8px;
34
- }
35
- .nsa_product_list a{
36
- text-decoration: none;
37
- color: rgba(20, 27, 92, 1);
38
- }
39
-
40
- .nsa_product_logo {
41
- display: flex;
42
- flex-direction: column;
43
- justify-content: center;
44
- align-items: center;
45
- }
@@ -1,42 +0,0 @@
1
- .nsa_workspace_h2 {
2
- color: rgba(3, 119, 255, 1);
3
- text-align: center;
4
- font-weight: 600;
5
- font-size: 16px;
6
- cursor: pointer;
7
- }
8
-
9
- .nsa_workspace_h6 {
10
- color: rgba(20, 27, 92, 1);
11
- text-align: center;
12
- font-weight: 300;
13
- font-size: 16px;
14
- cursor: pointer;
15
- margin: 0;
16
- }
17
-
18
- .nsa_workspace_list {
19
- overflow-y: auto;
20
- height: 320px;
21
- width: 302px;
22
- }
23
-
24
- .nsa_workspace_border {
25
- margin-top: 16px;
26
- display: flex;
27
- flex-direction: row;
28
- justify-content: left;
29
- align-items: center;
30
- gap: 8px;
31
- border-radius: 8px;
32
- border: 1px solid gray;
33
- padding: 8px;
34
- transition: all .2s ease-in-out;
35
- flex-wrap: wrap;
36
- }
37
-
38
- .nsa_workspace_border:hover {
39
- background-color: rgba(20, 27, 92, 0.3);
40
- color: white;
41
- cursor: pointer;
42
- }
package/dist/index.css DELETED
File without changes
@@ -1,5 +0,0 @@
1
- @media screen and (min-width: 768px) {
2
- .nsa_section_edit_tab_page {
3
- min-width: 560px;
4
- }
5
- }
@@ -1,48 +0,0 @@
1
- .nsa_section_tabs_parent {
2
- display: flex;
3
- flex-wrap: wrap;
4
- flex-direction: column;
5
- gap: 0px 64px;
6
- }
7
-
8
- .nsa_section_tabs_item {
9
- color: black;
10
- display: flex;
11
- flex-direction: column;
12
- }
13
-
14
- .nsa_section_tabs_item>span {
15
- margin: 0px;
16
- }
17
-
18
- .nsa_section_tabs_item>div {
19
- margin: 0px;
20
- }
21
-
22
- @media only screen and (min-width: 480px) {
23
- .nsa_section_tabs_item {
24
- display: flex;
25
- flex-direction: row;
26
- }
27
-
28
- .nsa_section_tabs_item>span {
29
- min-width: 200px;
30
- }
31
- }
32
-
33
- @media only screen and (min-width: 768px) {
34
- .nsa_section_tabs_parent {
35
- gap: 16px 64px;
36
- }
37
- }
38
-
39
- @media only screen and (min-width: 1024px) {
40
- .nsa_section_tabs_parent {
41
- flex-direction: row;
42
- gap: 16px 64px;
43
- }
44
-
45
- .nsa_section_tabs_item {
46
- flex-direction: column;
47
- }
48
- }
@@ -1,24 +0,0 @@
1
- .nsa_home_container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- justify-content: center;
6
- align-items: center;
7
- text-align: center;
8
- color: #141B5C;
9
- }
10
-
11
- .nsa_home_container h2 {
12
- color: #141B5C;
13
- font-size: 48px;
14
- font-weight: 600;
15
- text-align: center;
16
- }
17
-
18
- .nsa_home_container p {
19
- color: #141B5C;
20
- font-size: 16px;
21
- max-width: 960px;
22
- text-align: center;
23
- margin-bottom: 0;
24
- }
@@ -1,27 +0,0 @@
1
- .nsa_login_page_container {
2
- display: flex;
3
- flex-direction: column;
4
- align-items: center;
5
- justify-content: center;
6
- min-height: 100vh;
7
- }
8
-
9
- .nsa_login_page_logo {
10
- text-align: center;
11
- }
12
-
13
- .nsa_login_page_title {
14
- font-size: 32px;
15
- font-weight: 700;
16
- text-align: center;
17
- }
18
-
19
- .nsa_login_page_button {
20
- text-align: center;
21
- }
22
-
23
- .nsa_login_page_version {
24
- position: fixed;
25
- left: 16px;
26
- bottom: 16px;
27
- }
@@ -1,32 +0,0 @@
1
- .nsa_verification_container {
2
- background-color: #FFF;
3
- border: 1px solid #A1A4B0;
4
- backdrop-filter: blur(5px);
5
- border-radius: 8px;
6
- width: 100%;
7
- max-width: 594px;
8
- padding: 16px;
9
- color: #141B5C !important;
10
- display: flex;
11
- flex-direction: column;
12
- gap: 16px;
13
- align-items: center;
14
- }
15
-
16
- .nsa_verification_container p {
17
- text-align: center;
18
- }
19
-
20
- .nsa_verification_vector {
21
- width: 224px;
22
- height: 224px;
23
- }
24
-
25
- .nsa_resend_button {
26
- border: 0;
27
- outline: 0;
28
- background: none;
29
- color: #141B5C;
30
- font-size: 16px;
31
- font-weight: 500;
32
- }