-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdialog.ts
More file actions
53 lines (45 loc) · 1.44 KB
/
dialog.ts
File metadata and controls
53 lines (45 loc) · 1.44 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
export const dialogCss = ({ dt }: { dt: (token: string) => string }): string => `
.p-dialog .p-dialog-title {
font-family: ${dt('fonts.fontFamily.heading')};
font-size: ${dt('dialog.title.fontSize')};
font-weight: ${dt('dialog.title.fontWeight')};
line-height: ${dt('fonts.lineHeight.550')};
}
.p-dialog .p-dialog-content {
font-family: ${dt('fonts.fontFamily.base')};
font-size: ${dt('fonts.fontSize.300')};
font-weight: ${dt('fonts.fontWeight.regular')};
line-height: ${dt('fonts.lineHeight.500')};
}
.p-dialog .p-dialog-header {
border-bottom: ${dt('borderWidth.100')} solid ${dt('dialog.root.borderColor')};
display: flex;
align-items: center;
justify-content: space-between;
}
.p-dialog .p-dialog-header-actions {
display: flex;
align-items: center;
margin-left: auto;
}
.p-dialog .p-dialog-header-actions .p-dialog-close-button.p-button-text:focus-visible,
.p-dialog .p-dialog-header-actions .p-dialog-close-button.p-button:focus-visible,
.p-dialog .p-button-text:focus-visible,
.p-dialog .p-button:focus-visible {
outline: 0 none;
outline-color: transparent;
box-shadow: none;
}
.p-dialog {
width: ${dt('overlay.width')};
}
.p-dialog.p-component.p-dialog-sm {
width: ${dt('sizing.80x')};
}
.p-dialog.p-component.p-dialog-lg {
width: ${dt('sizing.120x')};
}
.p-dialog.p-component.p-dialog-xlg {
width: ${dt('sizing.128x')};
}
`;