@enigmatry/entry-components 1.15.1-preview.5 → 1.15.1-preview.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 (27) hide show
  1. package/package.json +1 -1
  2. package/styles/_generator.scss +4 -0
  3. package/styles/modules/components/forms/_generator.scss +9 -0
  4. package/styles/modules/components/forms/outlines/_field-outlines.scss +45 -0
  5. package/styles/modules/components/forms/outlines/_form-fields.scss +26 -0
  6. package/styles/modules/components/forms/outlines/_general.scss +9 -0
  7. package/styles/modules/components/forms/selectors/_checkboxes.scss +55 -0
  8. package/styles/modules/components/forms/selectors/_radio-buttons.scss +39 -0
  9. package/styles/modules/components/tables/_cells.scss +23 -0
  10. package/styles/modules/components/tables/_generator.scss +7 -0
  11. package/styles/modules/components/tables/_no-result.scss +12 -0
  12. package/styles/modules/components/tables/_rows.scss +53 -0
  13. package/styles/modules/components/tables/_sorting.scss +18 -0
  14. package/styles/modules/components/tables/_table-body.scss +11 -0
  15. package/styles/modules/elements/_generator.scss +1 -1
  16. package/styles/partials/core/components/_index.scss +4 -0
  17. package/styles/partials/core/components/dialogs/_general.scss +6 -10
  18. package/styles/partials/core/components/forms/_general.scss +32 -0
  19. package/styles/partials/core/components/tables/_action-cells.scss +26 -0
  20. package/styles/partials/core/components/tables/_cells.scss +39 -0
  21. package/styles/partials/core/components/tables/_index.scss +5 -0
  22. package/styles/partials/core/components/tables/_layout.scss +47 -0
  23. package/styles/partials/core/components/tables/_rows.scss +13 -0
  24. package/styles/partials/core/components/tables/_sorting.scss +8 -0
  25. package/styles/partials/test.scss +35 -0
  26. package/styles/partials/theming.scss +1 -0
  27. package/styles/partials/main.scss +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enigmatry/entry-components",
3
- "version": "1.15.1-preview.5",
3
+ "version": "1.15.1-preview.7",
4
4
  "author": "Enigmatry",
5
5
  "description": "Enigmatry entry angular material components",
6
6
  "homepage": "https://github.com/enigmatry/entry-angular-building-blocks/tree/master/libs/entry-components#readme",
@@ -1,5 +1,7 @@
1
1
  @use 'modules/components/dialogs/generator' as dialog;
2
2
  @use 'modules/components/headers/generator' as header;
3
+ @use 'modules/components/tables/generator' as table;
4
+ @use 'modules/components/forms/generator' as form;
3
5
  @use 'modules/elements/generator' as elements;
4
6
  @use 'modules/default-theme' as default;
5
7
  @use 'sass:map';
@@ -8,6 +10,8 @@
8
10
  $merged-theme: map.deep-merge(default.$theme, $custom-theme);
9
11
 
10
12
  @include elements.generate-from($merged-theme);
13
+ @include table.generate-from($merged-theme);
14
+ @include form.generate-from($merged-theme);
11
15
  @include dialog.generate-from($merged-theme);
12
16
  @include header.generate-from($merged-theme);
13
17
  }
@@ -0,0 +1,9 @@
1
+ @use 'outlines/general' as appearance-outlines;
2
+ @use 'selectors/checkboxes';
3
+ @use 'selectors/radio-buttons';
4
+
5
+ @mixin generate-from($theme) {
6
+ @include appearance-outlines.generate-from($theme);
7
+ @include checkboxes.generate-from($theme);
8
+ @include radio-buttons.generate-from($theme);
9
+ }
@@ -0,0 +1,45 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin -generate($border-value, $theme) {
4
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
5
+ .mat-form-field-outline-start, .mat-form-field-outline-gap, .mat-form-field-outline-end {
6
+ border: $border-value;
7
+ }
8
+
9
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
10
+ .mat-form-field-outline-start, .mat-form-field-outline-gap {
11
+ border-right-style: map.get($theme, 'forms', 'fields', 'outline', 'border-right');
12
+ }
13
+
14
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
15
+ .mat-form-field-outline-end, .mat-form-field-outline-gap {
16
+ border-left-style: map.get($theme, 'forms', 'fields', 'outline', 'border-left');
17
+ }
18
+ }
19
+
20
+ @mixin generate-from($theme) {
21
+ @include -generate(map.get($theme, 'forms', 'fields', 'outline', 'border'), $theme);
22
+
23
+ &.mat-focused, &:hover {
24
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
25
+ .mat-form-field-outline {
26
+ border-bottom: map.get($theme, 'forms', 'fields', 'outline', 'border-hover');
27
+ }
28
+
29
+ @include -generate(transparent, $theme);
30
+ }
31
+
32
+ &.mat-form-field-disabled {
33
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
34
+ .mat-form-field-outline {
35
+ background-color: map.get($theme, 'forms', 'fields', 'outline', 'disabled-background');
36
+ }
37
+
38
+ &:hover {
39
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
40
+ .mat-form-field-outline-start, .mat-form-field-outline-gap, .mat-form-field-outline-end {
41
+ border-color: map.get($theme, 'forms', 'fields', 'outline', 'disabled-hover');
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,26 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin generate-from($theme) {
4
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
5
+ .mat-form-field-label {
6
+ color: map.get($theme, 'forms', 'fields', 'label-color');
7
+ }
8
+
9
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
10
+ .mat-form-field-infix {
11
+ padding: {
12
+ top: map.get($theme, 'forms', 'fields', 'infix-padding-top');
13
+ bottom: map.get($theme, 'forms', 'fields', 'infix-padding-bottom');
14
+ }
15
+ }
16
+
17
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
18
+ .mat-form-field-flex {
19
+ background-color: map.get($theme, 'general', 'inputs', 'background-color');
20
+ }
21
+
22
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
23
+ .mat-form-field-underline {
24
+ display: map.get($theme, 'forms', 'fields', 'underline-display');
25
+ }
26
+ }
@@ -0,0 +1,9 @@
1
+ @use 'field-outlines';
2
+ @use 'form-fields';
3
+
4
+ @mixin generate-from($theme) {
5
+ .mat-form-field-appearance-outline {
6
+ @include field-outlines.generate-from($theme);
7
+ @include form-fields.generate-from($theme);
8
+ }
9
+ }
@@ -0,0 +1,55 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin generate-from($theme) {
4
+ .mat-checkbox {
5
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
6
+ .mat-checkbox-inner-container {
7
+ width: map.get($theme, 'forms', 'checkboxes', 'width');
8
+ height: map.get($theme, 'forms', 'checkboxes', 'height');
9
+ background-color: map.get($theme, 'forms', 'checkboxes', 'background-color');
10
+ }
11
+
12
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
13
+ .mat-checkbox-label {
14
+ white-space: map.get($theme, 'forms', 'checkboxes', 'label-breaking');
15
+ }
16
+
17
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
18
+ .mat-checkbox-frame {
19
+ border: map.get($theme, 'forms', 'checkboxes', 'border');
20
+ border-radius: map.get($theme, 'forms', 'checkboxes', 'border-radius');
21
+ }
22
+
23
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
24
+ .mat-checkbox-checkmark-path {
25
+ /* stylelint-disable-next-line declaration-no-important */
26
+ stroke: map.get($theme, 'forms', 'checkboxes', 'checkmark-color') !important;
27
+ }
28
+
29
+ &:hover {
30
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
31
+ .mat-checkbox-frame {
32
+ border: map.get($theme, 'forms', 'checkboxes', 'border-hover');
33
+ }
34
+ }
35
+
36
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
37
+ &.mat-checkbox-checked {
38
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
39
+ .mat-checkbox-background {
40
+ background-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
41
+
42
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
43
+ .mat-checkbox-checkmark-path {
44
+ /* stylelint-disable-next-line declaration-no-important */
45
+ stroke: map.get($theme, 'forms', 'checkboxes', 'selected-checkmark-color') !important;
46
+ }
47
+ }
48
+
49
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
50
+ .mat-checkbox-frame {
51
+ border-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
52
+ }
53
+ }
54
+ }
55
+ }
@@ -0,0 +1,39 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin generate-from($theme) {
4
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
5
+ .mat-radio-group {
6
+
7
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
8
+ .mat-radio-label {
9
+ align-items: map.get($theme, 'forms', 'radio-buttons', 'align');
10
+ white-space: map.get($theme, 'forms', 'radio-buttons', 'white-space');
11
+ }
12
+
13
+ $background: map.get($theme, 'general', 'inputs', 'background-color');
14
+
15
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
16
+ .mat-radio-button {
17
+
18
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
19
+ .mat-radio-outer-circle {
20
+ border-color: $background;
21
+ background-color: $background;
22
+ }
23
+
24
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
25
+ &.mat-radio-checked {
26
+
27
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
28
+ .mat-radio-outer-circle {
29
+ border-color: $background;
30
+ }
31
+
32
+ /* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
33
+ .mat-radio-inner-circle {
34
+ background-color: map.get($theme, 'general', 'colors', 'primary');
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,23 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin generate-from($theme) {
4
+ .mat-mdc-cell {
5
+ color: map.get($theme, 'general', 'colors', 'dark');
6
+ }
7
+
8
+ .mat-mdc-cell, .mat-mdc-header-cell {
9
+ font-size: map.get($theme, 'general', 'font', 'size');
10
+ }
11
+
12
+ .mat-mdc-header-cell:first-of-type, .mat-mdc-cell:first-of-type, .mat-mdc-footer-cell:first-of-type {
13
+ padding-left: map.get($theme, 'tables', 'cells', 'first-cell-padding-left');
14
+ }
15
+
16
+ .mat-mdc-header-cell:last-of-type, .mat-mdc-cell:last-of-type, .mat-mdc-footer-cell:last-of-type {
17
+ padding-right: map.get($theme, 'tables', 'cells', 'last-cell-padding-right');
18
+ }
19
+
20
+ .entry-table-checkbox-cell, .entry-table-context-menu-cell {
21
+ min-width: map.get($theme, 'tables', 'cells', 'min-width');
22
+ }
23
+ }
@@ -0,0 +1,7 @@
1
+ @use 'no-result';
2
+ @use 'table-body' as table;
3
+
4
+ @mixin generate-from($theme) {
5
+ @include table.generate-from($theme);
6
+ @include no-result.generate-from($theme);
7
+ }
@@ -0,0 +1,12 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin generate-from($theme) {
4
+ .entry-table-no-result {
5
+ text-transform: map.get($theme, 'tables', 'contents', 'no-result', 'text-transform');
6
+
7
+ font: {
8
+ size: map.get($theme, 'tables', 'contents', 'no-result', 'font-size');
9
+ weight: map.get($theme, 'tables', 'contents', 'no-result', 'font-weight');
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,53 @@
1
+ @use 'sass:map';
2
+ @use '@enigmatry/scss-foundation/src/modules/lists/row-coloring' as list;
3
+
4
+ @mixin generate-from($theme) {
5
+ .mat-mdc-row {
6
+ $edge-selected-color: map.get($theme, 'forms', 'checkboxes', 'selected-border-color');
7
+
8
+ @include list.row-coloring(map.get($theme, 'tables', 'rows', 'odd-even-background'),
9
+ map.get($theme, 'tables', 'rows', 'odd-even-row'));
10
+
11
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
12
+ .mat-checkbox-inner-container {
13
+ background-color: map.get($theme, 'forms', 'checkboxes', 'background-color');
14
+ }
15
+
16
+ &.selected {
17
+ background-color: map.get($theme, 'tables', 'rows', 'selected-background-color');
18
+
19
+ .mat-mdc-cell {
20
+ color: map.get($theme, 'tables', 'rows', 'selected-color');
21
+ }
22
+
23
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
24
+ .mat-checkbox-checked {
25
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
26
+ .mat-checkbox-background {
27
+ background-color: map.get($theme, 'forms', 'checkboxes', 'selected-background-color');
28
+
29
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
30
+ /* stylelint-disable-next-line max-nesting-depth, selector-max-combinators, selector-max-compound-selectors */
31
+ .mat-checkbox-checkmark-path {
32
+ /* stylelint-disable-next-line declaration-no-important */
33
+ stroke: $edge-selected-color !important;
34
+ }
35
+ }
36
+
37
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
38
+ .mat-checkbox-frame {
39
+ border-color: $edge-selected-color;
40
+ }
41
+ }
42
+ }
43
+ }
44
+
45
+ .mat-row-disabled {
46
+ background-color: map.get($theme, 'general', 'colors', 'disabled-light');
47
+ }
48
+
49
+ .entry-table-menu .context-menu-item:hover {
50
+ background-color: map.get($theme, 'general', 'colors', 'accent');
51
+ color: map.get($theme, 'general', 'colors', 'dark');
52
+ }
53
+ }
@@ -0,0 +1,18 @@
1
+ @use 'sass:map';
2
+
3
+ @mixin generate-from($theme) {
4
+ .mat-sort-header-sorted {
5
+ font: {
6
+ size: map.get($theme, 'general', 'font', 'size');
7
+ weight: map.get($theme, 'tables', 'columns', 'sorted', 'font-weight');
8
+ }
9
+ }
10
+
11
+ .mat-sort-header-sorted, .mat-sort-header-arrow {
12
+ color: map.get($theme, 'general', 'colors', 'dark');
13
+ }
14
+
15
+ .mat-sort-header-content {
16
+ text-align: map.get($theme, 'tables', 'columns', 'sorted', 'content-align');
17
+ }
18
+ }
@@ -0,0 +1,11 @@
1
+ @use 'rows';
2
+ @use 'sorting';
3
+ @use 'cells';
4
+
5
+ @mixin generate-from($theme) {
6
+ .entry-table {
7
+ @include rows.generate-from($theme);
8
+ @include sorting.generate-from($theme);
9
+ @include cells.generate-from($theme);
10
+ }
11
+ }
@@ -12,7 +12,7 @@ $default-theme: default.$theme;
12
12
  $font-family: map.get($merged-theme, 'general', 'font', 'family');
13
13
 
14
14
  @if $font-family == '' {
15
- @include fonts.generate-default-font();
15
+ // @include fonts.generate-default-font();
16
16
  }
17
17
 
18
18
  @include anchors.generate-from($merged-theme);
@@ -0,0 +1,4 @@
1
+ @use 'dialogs/general' as dialogs;
2
+ @use 'headers/general' as headers;
3
+ @use 'tables';
4
+ @use 'forms/general' as forms;
@@ -1,8 +1,5 @@
1
1
  @use 'sass:color';
2
2
  @use '@enigmatry/scss-foundation/src/modules/display/items';
3
- @use '../../../../../../styles/modules/variables' as vars;
4
- @use '../../../../../../styles/modules/states/hover';
5
- @use '../../../../../../styles/modules/typography/fonts' as fonts;
6
3
 
7
4
  $border-dark: #000;
8
5
  $default-gap: 16px;
@@ -12,13 +9,13 @@ $large-gap: calc(#{$default-gap} * 2);
12
9
  .dialog-container {
13
10
  /* stylelint-disable-next-line declaration-no-important */
14
11
  position: absolute !important;
15
- top: vars.$large-gap;
12
+ top: $large-gap;
16
13
  width: 100%;
17
14
  max: {
18
15
  /* stylelint-disable-next-line declaration-no-important */
19
16
  width: 700px !important;
20
17
  /* stylelint-disable-next-line declaration-no-important */
21
- height: calc(100% - 2 * vars.$large-gap) !important;
18
+ height: calc(100% - 2 * $large-gap) !important;
22
19
  }
23
20
 
24
21
  &.wide {
@@ -40,12 +37,11 @@ $large-gap: calc(#{$default-gap} * 2);
40
37
  @include items.fully-align(center, space-between, row, nowrap);
41
38
 
42
39
  .title {
43
- // @include fonts.title-font();
44
40
  line-height: 1.2;
45
41
  }
46
42
 
47
43
  .close-button {
48
- margin-left: vars.$default-gap;
44
+ margin-left: $default-gap;
49
45
  border: none;
50
46
  background: none;
51
47
  }
@@ -53,8 +49,8 @@ $large-gap: calc(#{$default-gap} * 2);
53
49
 
54
50
  .dialog-content {
55
51
  margin: {
56
- top: vars.$default-gap;
57
- bottom: vars.$large-gap;
52
+ top: $default-gap;
53
+ bottom: $large-gap;
58
54
  }
59
55
  line-height: 1.4;
60
56
 
@@ -75,7 +71,7 @@ $large-gap: calc(#{$default-gap} * 2);
75
71
 
76
72
  .dialog-radio-button {
77
73
  display: block;
78
- margin-top: vars.$default-gap;
74
+ margin-top: $default-gap;
79
75
  white-space: break;
80
76
  }
81
77
  }
@@ -0,0 +1,32 @@
1
+ @use '@enigmatry/scss-foundation/src/modules/display/items';
2
+
3
+ .entry-form {
4
+ .action-buttons {
5
+ margin-top: 25px;
6
+
7
+ .button {
8
+ margin-left: 10px;
9
+
10
+ &:first-child {
11
+ margin-left: 0;
12
+ }
13
+ }
14
+ }
15
+ }
16
+
17
+ .mat-form-field-appearance-outline .mat-form-field-should-float .mat-form-field-label {
18
+ top: 31px;
19
+ }
20
+
21
+ .datetimepicker {
22
+ .mat-form-field-appearance-outline .mat-form-field-infix {
23
+ padding: {
24
+ top: 8px;
25
+ bottom: 8px;
26
+ }
27
+ }
28
+ }
29
+
30
+ .entry-date-time-picker {
31
+ @include items.fully-align(baseline, space-between, row, nowrap);
32
+ }
@@ -0,0 +1,26 @@
1
+ @use '@enigmatry/scss-foundation/src/modules/display/items';
2
+
3
+ .entry-table .mat-mdc-icon-button {
4
+ width: unset;
5
+ @include items.align-center();
6
+ }
7
+
8
+ .entry-table-checkbox-cell, .entry-table-context-menu-cell {
9
+ flex: none;
10
+ width: 56px;
11
+ max-width: 40px;
12
+
13
+ .mat-mdc-checkbox {
14
+ display: flex;
15
+ margin: 0 10px;
16
+ }
17
+
18
+ /* TODO(mdc-migration): The following rule targets internal classes of checkbox that may no longer apply for the MDC version. */
19
+ .mat-checkbox-inner-container {
20
+ margin-left: 0;
21
+ }
22
+
23
+ .mat-mdc-icon-button {
24
+ padding-top: 2px;
25
+ }
26
+ }
@@ -0,0 +1,39 @@
1
+ .entry-table {
2
+ .mat-mdc-cell, .mat-mdc-header-cell {
3
+ padding: 0 10px;
4
+ border-bottom: none;
5
+ }
6
+
7
+ .mat-mdc-header-cell, .mat-mdc-footer-cell, .mat-mdc-cell {
8
+ box-sizing: border-box;
9
+ padding: 4px 10px;
10
+
11
+ &.entry-table-checkbox-cell {
12
+ padding: {
13
+ right: 10px;
14
+ left: 10px;
15
+ }
16
+ }
17
+ }
18
+
19
+ .mat-mdc-table {
20
+ .mat-mdc-header-cell, .mat-mdc-footer-cell, .mat-mdc-cell {
21
+ &:not(.entry-table-checkbox-cell) {
22
+ min-width: 80px;
23
+ }
24
+ }
25
+ }
26
+
27
+ .mat-header-cell-inner {
28
+ display: flex;
29
+ align-items: center;
30
+ }
31
+
32
+ .currency {
33
+ text-align: right;
34
+
35
+ .mat-header-cell-inner {
36
+ justify-content: right;
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,5 @@
1
+ @use 'action-cells';
2
+ @use 'cells';
3
+ @use 'layout';
4
+ @use 'rows';
5
+ @use 'sorting';
@@ -0,0 +1,47 @@
1
+ @use '@enigmatry/scss-foundation/src/modules/display/items';
2
+
3
+ .entry-table {
4
+ display: flex;
5
+ position: relative;
6
+ flex-direction: column;
7
+ width: 100%;
8
+
9
+ .mat-mdc-table-container {
10
+ overflow: auto;
11
+
12
+ &.mat-mdc-table-with-data {
13
+ flex: 1;
14
+ }
15
+ }
16
+
17
+ .mat-mdc-table {
18
+ min-width: 100%;
19
+ border-collapse: separate;
20
+ }
21
+ /* TODO(mdc-migration): The following rule targets internal classes of paginator that may no longer apply for the MDC version. */
22
+ .mat-paginator-hidden {
23
+ display: none;
24
+ }
25
+ }
26
+
27
+ .entry-table-layout {
28
+ display: flex;
29
+ flex: 1 1 auto;
30
+ overflow: auto;
31
+ }
32
+
33
+ .entry-table-content {
34
+ flex-direction: column;
35
+ width: 0;
36
+ }
37
+
38
+ .entry-table-footer {
39
+ position: relative;
40
+ z-index: 1;
41
+ }
42
+
43
+ .entry-table-no-result {
44
+ @include items.align-absolute-center();
45
+ flex: 1;
46
+ min-height: 50px;
47
+ }
@@ -0,0 +1,13 @@
1
+ .entry-table {
2
+ .mat-row, .mat-header-row {
3
+ height: 36px;
4
+ }
5
+ }
6
+
7
+ .entry-table-menu {
8
+ min-height: 40px;
9
+
10
+ .mat-menu-content:not(:empty) {
11
+ padding: 0;
12
+ }
13
+ }
@@ -0,0 +1,8 @@
1
+ .entry-table {
2
+ .mat-sort-header-icon {
3
+ width: 18px;
4
+ height: 18px;
5
+ margin: 0 4px;
6
+ font-size: 18px;
7
+ }
8
+ }
@@ -0,0 +1,35 @@
1
+ @use '../generator';
2
+
3
+ $custom-theme: (
4
+ general: (
5
+ colors: (
6
+ primary: #FAE3C1
7
+ ),
8
+ font: (
9
+ size: 13px
10
+ ),
11
+ buttons: (
12
+ color: #AAA
13
+ )
14
+ ),
15
+ forms: (
16
+ fields: (
17
+ infix-padding-top: 41px,
18
+ outline: (
19
+ border-hover: 2px solid #666
20
+ )
21
+ )
22
+ ),
23
+ tables: (
24
+ cells: (
25
+ first-cell-padding-left: 11px
26
+ )
27
+ ),
28
+ headers: (
29
+ title: (
30
+ size: 41px
31
+ )
32
+ ),
33
+ );
34
+
35
+ @include generator.generate-from($custom-theme);
@@ -0,0 +1 @@
1
+ @use 'core/components';
@@ -1,18 +0,0 @@
1
- @use '../generator';
2
-
3
- $custom-theme: (
4
- general: (
5
- colors: (
6
- primary: #FAE3C1
7
- ),
8
- font: (
9
- family: 'Some Custom font',
10
- size: 13px
11
- ),
12
- buttons: (
13
- color: #AAA
14
- )
15
- )
16
- );
17
-
18
- @include generator.generate-from($custom-theme);