@annalib/anna-core 12.7.1 → 12.8.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.
Files changed (30) hide show
  1. package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +3 -3
  2. package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +5 -3
  3. package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
  4. package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +4 -4
  5. package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +58 -1
  6. package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +13 -1
  7. package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +7 -1
  8. package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +1 -1
  9. package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +1 -1
  10. package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +5 -5
  11. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +18 -25
  12. package/fesm2015/annalib-anna-core.mjs +107 -37
  13. package/fesm2015/annalib-anna-core.mjs.map +1 -1
  14. package/fesm2020/annalib-anna-core.mjs +107 -37
  15. package/fesm2020/annalib-anna-core.mjs.map +1 -1
  16. package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +2 -1
  17. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +5 -0
  18. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
  19. package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +4 -0
  20. package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +1 -0
  21. package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +1 -0
  22. package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +0 -1
  23. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +5 -1
  24. package/package.json +1 -1
  25. package/src/lib/anna-common-scss/_common-order-listing-table.scss +165 -0
  26. package/src/lib/anna-common-scss/_easy-filter.scss +26 -1
  27. package/src/lib/anna-common-scss/_generic-table-common.scss +57 -0
  28. package/src/lib/anna-common-scss/_mat-menu.scss +17 -0
  29. package/src/lib/anna-common-scss/_sort.scss +1 -1
  30. package/src/lib/anna-common-scss/_generic-modal.scss +0 -59
@@ -1,11 +1,12 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class AnnaPayForPerformanceIconTemplateComponent implements OnInit {
4
+ isTitle: boolean;
4
5
  color: string;
5
6
  width: string;
6
7
  height: string;
7
8
  constructor();
8
9
  ngOnInit(): void;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPayForPerformanceIconTemplateComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "color": "color"; "width": "width"; "height": "height"; }, {}, never, never, false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "isTitle": "isTitle"; "color": "color"; "width": "width"; "height": "height"; }, {}, never, never, false, never>;
11
12
  }
@@ -32,6 +32,11 @@ export interface ITotalRowInfo {
32
32
  tooltipMessage?: string;
33
33
  isActionColumn?: boolean;
34
34
  actionData?: ClickableItem[];
35
+ isIconColumn?: boolean;
36
+ iconData?: {
37
+ class: string;
38
+ disabled?: boolean;
39
+ };
35
40
  }
36
41
  export interface IGtHeaderConfig {
37
42
  iconColumn: boolean;
@@ -9,9 +9,9 @@ export declare class AnnaDateTimeFormatService {
9
9
  constructor();
10
10
  convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
11
11
  convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
12
- formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
12
+ static formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
13
13
  convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
14
- removeZero(time: any): any;
14
+ static removeZero(time: any): any;
15
15
  addZero(time: any): any;
16
16
  sortByTimeAscending(a: any, b: any): number;
17
17
  sortByTimeDescending(a: any, b: any): number;
@@ -69,6 +69,10 @@ export declare class AnnaFilterService {
69
69
  }, key: string): boolean;
70
70
  updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
71
71
  updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
72
+ incrementHour(value: any): any;
73
+ decrementHour(value: any): any;
74
+ incrementMinute(value: any): any;
75
+ decrementMinute(value: any): any;
72
76
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
73
77
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
74
78
  }
@@ -1,6 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class AnnaNumberFormatService {
3
3
  static GetRoundedValueWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
4
+ static GetRoundedImpressionsWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
4
5
  static GetValueInUnits(inputValue: number): (string | number)[];
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNumberFormatService, never>;
6
7
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaNumberFormatService>;
@@ -3,6 +3,7 @@ export declare class AnnaPersistingFilterService {
3
3
  constructor();
4
4
  storeKeyValueInLocalStorage(val: any, isFilterKey?: boolean): string;
5
5
  getActualQueryParams(key: string): string;
6
+ convertObjToQueryString(paramsObject: any): string;
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPersistingFilterService, never>;
7
8
  static ɵprov: i0.ɵɵInjectableDeclaration<AnnaPersistingFilterService>;
8
9
  }
@@ -25,7 +25,6 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
25
25
  disableClearAll: boolean;
26
26
  searchItem: string;
27
27
  showSortComponent: boolean;
28
- disableCheckboxApply: boolean;
29
28
  selectedLabel: string;
30
29
  showFilterComponent: boolean;
31
30
  start: number;
@@ -50,6 +50,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
50
50
  clickableRow: boolean;
51
51
  setTableHeightWhenRowSizeIsFixed: boolean;
52
52
  tableBorderBottomClassRequired: boolean;
53
+ hideSomeTds: boolean;
54
+ tdsHaveRowSpan: boolean;
53
55
  toggleCheckbox: EventEmitter<any>;
54
56
  toggleRowCheckbox: EventEmitter<any>;
55
57
  toggleHeaderCheckbox: EventEmitter<any>;
@@ -66,6 +68,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
66
68
  gtViewDetailClicked: EventEmitter<any>;
67
69
  downloadSpotDetails: EventEmitter<any>;
68
70
  clickableDataClicked: EventEmitter<any>;
71
+ totalRowIconClicked: EventEmitter<any>;
69
72
  notificationIconHover: EventEmitter<any>;
70
73
  notificationIconHoverLeave: EventEmitter<any>;
71
74
  numberOfSkeletonRows: number[][];
@@ -298,7 +301,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
298
301
  mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
299
302
  onClickableDataClicked(Rowdata: any, id: number): void;
300
303
  removeTooltipOnScroll(): void;
304
+ iconClickedInTotalRow(colName: string): void;
301
305
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
302
- static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; }, never, never, false, never>;
306
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; }, never, never, false, never>;
303
307
  }
304
308
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "12.7.1",
3
+ "version": "12.8.1",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.4",
6
6
  "@angular/common": "^15.2.9",
@@ -0,0 +1,165 @@
1
+ @use "./fonts";
2
+ @use "./colors";
3
+ @use "./generic-table-common";
4
+
5
+ @mixin sticky-left($leftOffset, $zIndex) {
6
+ position: sticky;
7
+ left: $leftOffset;
8
+ z-index: $zIndex !important;
9
+ }
10
+
11
+ @mixin ellipsify(){
12
+ text-overflow: ellipsis;
13
+ overflow: hidden;
14
+ white-space: nowrap;
15
+ }
16
+
17
+ @mixin ellipsis() {
18
+ display: inline-block;
19
+ width: 93%;
20
+ @include ellipsify();
21
+ }
22
+
23
+ @mixin common-table($tableStartIndex, $tableEndIndex) {
24
+ thead {
25
+ tr th {
26
+ box-shadow: none !important;
27
+ }
28
+ tr th:nth-child(12) {
29
+ z-index: 101 !important;
30
+ }
31
+
32
+ tr th.mat-column-isOrderStarred,
33
+ tr th.mat-column-payForPerformanceColumnIcon {
34
+ background-color: white !important;
35
+ }
36
+
37
+ tr.total-row {
38
+ td {
39
+ color: #4a4a4a;
40
+
41
+ span {
42
+ color: #a7a7a7;
43
+ }
44
+
45
+ background: white;
46
+ @include fonts.fonts(Roboto, 0.75rem, normal, bold, normal, normal, 0.3px);
47
+ }
48
+
49
+ td:nth-of-type(1) {
50
+ @include sticky-left(0px, 501);
51
+ }
52
+
53
+ td:nth-of-type(2) {
54
+ box-shadow: inset 1px 0 0 0 rgb(0 0 0 / 75%), inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
55
+ padding-left: 37px;
56
+ @include sticky-left(62px, 501);
57
+ }
58
+
59
+ td:nth-of-type(n + 3) {
60
+ box-shadow: inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
61
+ }
62
+
63
+ td:last-of-type {
64
+ box-shadow: inset -1px 0 0 0 rgb(0 0 0 / 75%), inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
65
+ }
66
+ }
67
+ }
68
+
69
+ tbody {
70
+ tr {
71
+ cursor: pointer;
72
+
73
+ td {
74
+ background: white;
75
+ box-shadow: none !important;
76
+
77
+ div:nth-child(1) {
78
+ color: #000;
79
+ @include ellipsify();
80
+ @include fonts.fonts(Roboto, 0.75rem, normal, normal, normal, normal, 0px);
81
+ }
82
+
83
+ div:nth-child(2) {
84
+ color: #a7a7a7;
85
+ @include ellipsify();
86
+ @include fonts.fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.3px);
87
+ }
88
+ }
89
+
90
+ td:nth-of-type(1) {
91
+ @include sticky-left(0px, 102);
92
+ }
93
+
94
+ @for $i from calc($tableStartIndex) through calc($tableEndIndex) {
95
+ td:nth-of-type(#{$i}) {
96
+ box-shadow: inset 0px -1px 0px 0px #d4d4d4 !important;
97
+ }
98
+ }
99
+
100
+ td:nth-of-type(#{$tableStartIndex}) {
101
+ box-shadow: inset 1px -1px 0px 0px #d4d4d4 !important;
102
+ }
103
+
104
+ td:last-of-type {
105
+ box-shadow: inset -1px -1px 0px 0px #d4d4d4 !important;
106
+ }
107
+
108
+ td.mat-cell:first-of-type {
109
+ padding-left: 5px !important;
110
+
111
+ i {
112
+ font-size: 1.25rem;
113
+ cursor: pointer;
114
+ position: relative;
115
+ bottom: 2px;
116
+ }
117
+
118
+ i.mdi-star-outline {
119
+ color: #e6e6e6;
120
+ }
121
+
122
+ i.mdi-star {
123
+ color: #ffc107;
124
+ opacity: 0.5;
125
+ }
126
+ }
127
+ }
128
+
129
+ @include overrideEmptyTrBorders(3);
130
+ }
131
+
132
+ &.no-data-table {
133
+ tbody tr:first-of-type {
134
+ td:nth-of-type(#{$tableStartIndex}) {
135
+ box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
136
+ }
137
+
138
+ td:nth-of-type(#{$tableStartIndex + 1}),
139
+ td:nth-of-type(#{$tableStartIndex + 2}) {
140
+ box-shadow: none !important
141
+ }
142
+ }
143
+ }
144
+
145
+ &.no-data-table div.horizontal-scroll-for-table-container {
146
+ height: calc(162px) !important;
147
+ }
148
+
149
+ .table-container::-webkit-scrollbar {
150
+ width: 4px;
151
+ height: 4px;
152
+ }
153
+
154
+ .table-container::-webkit-scrollbar-thumb {
155
+ border-radius: 4px;
156
+ background-color: rgba(0, 0, 0, 0.4) !important;
157
+ border: 1px solid rgba(0, 0, 0, 0.2);
158
+ }
159
+
160
+ .table-container::-webkit-scrollbar-track {
161
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
162
+ margin-top: 105px;
163
+ }
164
+
165
+ }
@@ -1,4 +1,5 @@
1
- @import "./fonts", "./colors";
1
+ @use "./fonts";
2
+ @import "./colors";
2
3
 
3
4
  @mixin easy-filters() {
4
5
  display: flex;
@@ -34,4 +35,28 @@
34
35
  cursor: default;
35
36
  pointer-events: none;
36
37
  }
38
+ }
39
+
40
+ button.intelli-filter{
41
+ @include fonts.fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.6px);
42
+ color: #268bff;
43
+ padding: 5px 8px;
44
+ border: 1px solid #268bff;
45
+ background: white;
46
+ border-radius: 0.75rem;
47
+ height: 1.5rem;
48
+ margin-right: 8px;
49
+ }
50
+
51
+ button.intelli-filter.active{
52
+ color: white;
53
+ background: #268bff;
54
+ }
55
+
56
+ button.intelli-filter:disabled {
57
+ border: 1px solid #bdbdbd;
58
+ color: #4a4a4a;
59
+ background: #bdbdbd;
60
+ opacity: .5;
61
+ cursor: not-allowed;
37
62
  }
@@ -1,3 +1,6 @@
1
+ @use "./fonts";
2
+ @use "./colors";
3
+
1
4
  @mixin no-data-to-display-gt($tableHeight, $rowHeight, $noDataMarginTop) {
2
5
  .table-container {
3
6
  height: calc($tableHeight) !important;
@@ -36,6 +39,7 @@
36
39
  display: block;
37
40
  text-align: right;
38
41
  margin-left: auto;
42
+ width: fit-content;
39
43
  background-color: transparent;
40
44
  text-decoration: underline;
41
45
  color: #268bff;
@@ -114,3 +118,56 @@
114
118
  z-index: $z-index;
115
119
  }
116
120
 
121
+
122
+ @mixin genericTableHeaderShadow($columnNumber){
123
+ .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
124
+ border: none !important;
125
+ filter: drop-shadow(2px 0 2px colors.$lightGray-4);
126
+ }
127
+ }
128
+
129
+ @mixin genericTableTotalRowShadow($columnNumber){
130
+ .scroll-left-shadow-effect .total-row td:nth-of-type(#{$columnNumber}) {
131
+ filter: drop-shadow(2px 0 2px colors.$lightGray-4);
132
+ }
133
+ }
134
+
135
+ @mixin genericTableTableDataShadow($columnNumber){
136
+ .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
137
+ filter: drop-shadow(2px 0 1px colors.$lightGray-4);
138
+ }
139
+ }
140
+
141
+ @mixin genericTableOverrideHeaderShadow($columnNumber){
142
+ .scroll-left-shadow-effect .header-row th:nth-of-type(#{$columnNumber}) {
143
+ box-shadow: none !important;
144
+ border: none !important;
145
+ filter: none;
146
+ }
147
+ }
148
+
149
+ @mixin genericTableOverrideTableDataShadow($columnNumber){
150
+ .scroll-left-shadow-effect td:nth-of-type(#{$columnNumber}) {
151
+ filter: none;
152
+ }
153
+ }
154
+
155
+ @mixin overrideEmptyTrBorders($startIndex){
156
+
157
+ tr.no-border-tr:first-of-type{
158
+
159
+ td:nth-of-type(#{$startIndex}){
160
+ box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
161
+ }
162
+
163
+ td:nth-child(n+ #{$startIndex + 1}){
164
+ box-shadow: none !important;
165
+ }
166
+
167
+ td:last-of-type{
168
+ box-shadow: inset -1px 0px 0px 0px #d4d4d4 !important
169
+ }
170
+ }
171
+ }
172
+
173
+
@@ -0,0 +1,17 @@
1
+ @mixin mat-menu-styling() {
2
+ &.mat-elevation-z8 {
3
+ box-shadow: var(--dropdown-box-shadow);
4
+ }
5
+
6
+ button.mat-mdc-menu-item:hover {
7
+ background-color: var(--dropdown-hover-color);
8
+ }
9
+
10
+ & .mat-mdc-menu-content.mdc-list {
11
+ background-color: var(--body-color);
12
+ }
13
+
14
+ & .mat-mdc-menu-content {
15
+ padding: 0;
16
+ }
17
+ }
@@ -1,6 +1,6 @@
1
1
  @import "./fonts", "./colors";
2
2
 
3
- .sort-btn{
3
+ .sort-btn {
4
4
  background: white;
5
5
  border: none;
6
6
  border-right: 1px solid #1b88ff;
@@ -1,59 +0,0 @@
1
- @mixin generic-modal-for-user-popup {
2
- .float-end {
3
- margin-left: auto;
4
- }
5
-
6
- .close {
7
- margin-left: auto;
8
- }
9
- .modal-dialog {
10
- top: 100px !important;
11
- }
12
- .modal-content {
13
- min-width: 26.625rem;
14
- width: 26.625rem;
15
- max-width: 26.625rem;
16
- }
17
-
18
- .modal-header {
19
- background-image: url('../../../assets/images/bg-heads.png');
20
- color: var(--body-color);
21
- padding: 0.5rem 0.5rem 0.25rem 1rem;
22
- border-bottom: none !important;
23
-
24
- h3 {
25
- margin-top: auto;
26
- margin-bottom: 0;
27
- @include fonts(Roboto, 1.125rem, normal, normal, normal, normal, normal);
28
- }
29
- }
30
-
31
- .modal-body {
32
- padding: 1.5rem;
33
- font-size: 12px;
34
- }
35
-
36
- .buttons {
37
- display: flex;
38
- padding-inline: 0;
39
- justify-content: space-between;
40
- }
41
-
42
- .primary-button {
43
- @include modal-button(var(--primary-blue-color), var(--body-color), none);
44
- }
45
-
46
- .secondary-button {
47
- @include modal-button(var(--secondary-btn-bg-color), var(--primary-blue-color), 1px solid rgba(38,139,255,.12));
48
- }
49
-
50
- button:focus {
51
- outline: none;
52
- }
53
-
54
- button:disabled {
55
- background-color: var(--disabled-button-color);
56
- color: var(--primary-text-color-dark);
57
- opacity: 0.5;
58
- }
59
- }