forked from webex/widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcampaign-task-popover.style.scss
More file actions
56 lines (49 loc) · 1.5 KB
/
Copy pathcampaign-task-popover.style.scss
File metadata and controls
56 lines (49 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.campaign-task-popover {
&__content {
display: flex;
flex-direction: column;
padding: 0.5rem;
gap: 0.5rem;
min-height: 0;
overflow: hidden;
// Cap the variables panel height inside the popover so it scrolls
// instead of overflowing past the popover boundary.
// Agent Desktop uses max-height: 120px (~7.5rem) on the details container.
.global-variables-panel--two-column {
max-height: 7.5rem;
overflow-y: auto;
}
}
&__list-item {
--mdc-listitem-padding-left-right: 0.75rem;
--mdc-listitem-padding-top-bottom: 0.5rem;
--mdc-listitem-background-color-hover: transparent;
--mdc-listitem-background-color-active: transparent;
--mdc-listitem-cursor: default;
width: 100%;
.campaign-avatar {
--mdc-avatar-default-background-color: var(--mds-color-theme-avatar-campaign);
--mdc-avatar-default-foreground-color: var(--mds-color-theme-indicator-stable);
}
}
// Action buttons — vertical column on the right (Accept on top, Skip + Remove below)
.campaign-task-actions {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: flex-end;
gap: 0.25rem;
height: 100%;
}
.campaign-task-skip-remove {
display: flex;
align-items: center;
gap: 0.25rem;
margin-left: auto;
}
// Icon buttons (skip / remove) — match call-control circular icon button style
.campaign-task-icon-button {
width: 1.75rem !important;
height: 1.75rem !important;
}
}