This repository was archived by the owner on Mar 29, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathoverlay.scss
More file actions
74 lines (66 loc) · 1.36 KB
/
overlay.scss
File metadata and controls
74 lines (66 loc) · 1.36 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@use '@carbon/styles/scss/spacing';
@use '@carbon/styles/scss/type';
@import '~@openmrs/esm-styleguide/src/vars';
@import '../root.scss';
.desktopOverlay {
position: fixed;
top: spacing.$spacing-09;
right: 0;
width: 50%;
max-width: 30rem;
height: 25rem;
background-color: #FEFEFE;
border: 1px solid #CFCFCF;
padding: 0 0.5rem;
overflow-y: auto;
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: spacing.$spacing-04;
z-index: 999;
}
.tabletOverlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 9999;
background-color: white;
overflow: hidden;
padding-top: spacing.$spacing-09;
display: grid;
grid-template-rows: 1fr auto;
}
.tabletOverlayHeader {
button {
background-color: $brand-01 !important;
}
.headerContent {
color: $ui-02;
}
}
.desktopHeader {
display: flex;
justify-content: space-between;
align-items: center;
background-color: $ui-03;
border-bottom: 1px solid $text-03;
}
.headerContent {
@include type.type-style('heading-compact-02');
padding: 0 spacing.$spacing-05;
color: $ui-05;
}
.closeButton {
background-color: $ui-02;
}
.overlayContent {
overflow-y: auto;
}
.buttonsGroup {
align-self: end;
}
.buttonsGroup button {
max-width: unset !important;
}