@colijnit/relation 254.1.2 → 255.1.2

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.
@@ -27,6 +27,7 @@ export declare class RelationContactOptionsComponent extends RelationScreenConfi
27
27
  showNewPhone: boolean;
28
28
  showNewOther: boolean;
29
29
  newOtherType: CommunicationType;
30
+ showAddContact: boolean;
30
31
  private _otherTypePopupComponentRef;
31
32
  constructor(relationService: RelationService, iconCacheService: IconCacheService, relationConnectorService: RelationConnectorService, relationEventService: RelationEventService, _overlayService: OverlayService, _changeDetector: ChangeDetectorRef);
32
33
  showNewOtherPopup(): void;
@@ -2,6 +2,9 @@
2
2
  .co-relation-contact-options {
3
3
  font-family: $re-co-relation-contact-options-font-family;
4
4
  font-size: $re-co-relation-contact-options-font-size;
5
+ .relation-option-wrapper {
6
+ margin: 0 0 10px 0;
7
+ }
5
8
  .relation-contact-options-label {
6
9
  font-family: $re-co-relation-contact-options-label-font-family;
7
10
  font-size: $re-co-relation-contact-options-label-font-size;
@@ -16,11 +19,22 @@
16
19
  cursor: pointer;
17
20
  height: $re-co-relation-contact-options-label-icon-size;
18
21
  width: $re-co-relation-contact-options-label-icon-size;
22
+ svg {
23
+ fill: #1A73E8;
24
+ }
25
+ svg [fill] {
26
+ fill: #1A73E8;
27
+ }
28
+ }
29
+ .relation-contact-options-type-label {
30
+ font-size: 12px;
31
+ color: #1A73E8;
32
+ cursor: pointer;
19
33
  }
20
34
  }
21
35
  .contact-option-wrapper {
22
36
  display: flex;
23
- flex-direction: column;
37
+ flex-direction: row;
24
38
  gap: $re-co-relation-contact-options-type-gap;
25
39
  }
26
40
  &.adding-email-option, .adding-phone-option, .adding-other-option {
@@ -37,13 +51,45 @@
37
51
  align-items: center;
38
52
  gap: $re-co-relation-contact-option-gap;
39
53
  position: relative;
54
+ width: 50%;
55
+ .co-input-text {
56
+ width: 100%;
57
+ }
40
58
  .co-icon {
41
59
  cursor: pointer;
42
60
  height: $re-co-relation-contact-option-delete-icon-size;
43
61
  width: $re-co-relation-contact-option-delete-icon-size;
62
+ &.relation-delete {
63
+ width: 10px;
64
+ height: 10px;
65
+ position: absolute;
66
+ top: 5px;
67
+ right: 5px;
68
+ display: none;
69
+ & svg {
70
+ fill: #000;
71
+ }
72
+ & svg [fill] {
73
+ fill: #000;
74
+ }
75
+ }
44
76
  }
45
77
  &.new-contact-option {
46
78
  margin: $re-co-relation-contact-options-type-new-option-margin;
79
+ &:hover {
80
+ .co-icon {
81
+ &.relation-delete {
82
+ display: none;
83
+ }
84
+ }
85
+ }
86
+ }
87
+ &:hover {
88
+ .co-icon {
89
+ &.relation-delete {
90
+ display: block;
91
+ }
92
+ }
47
93
  }
48
94
  }
49
95
  .relation-contact-option-sequence {
@@ -5,12 +5,12 @@ $re-co-relation-contact-options-font-color: $re-color-font !default;
5
5
  $re-co-relation-contact-options-label-font-family: $re-font-family !default;
6
6
  $re-co-relation-contact-options-label-font-size: $re-font-size !default;
7
7
 
8
- $re-co-relation-contact-options-label-margin: 10px 0 !default;
9
- $re-co-relation-contact-options-label-gap: 10px !default;
10
- $re-co-relation-contact-options-label-icon-size: 15px !default;
8
+ $re-co-relation-contact-options-label-margin: 0 !default;
9
+ $re-co-relation-contact-options-label-gap: 0 !default;
10
+ $re-co-relation-contact-options-label-icon-size: 20px !default;
11
11
  $re-co-relation-contact-options-label-icon-color: $re-color-action !default;
12
12
  $re-co-relation-contact-options-type-gap: 5px !default;
13
- $re-co-relation-contact-options-type-new-option-margin: 0 0 10px 0 !default;
13
+ $re-co-relation-contact-options-type-new-option-margin: 0 !default;
14
14
 
15
15
  $re-co-relation-contact-options-sequence-background-color: #e85152 !default;
16
16
  $re-co-relation-contact-options-sequence-color: #f7fafa !default;