-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstyles.ts
107 lines (93 loc) · 2.04 KB
/
styles.ts
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
import { IterableEmbeddedDefaultAction } from '../../embedded';
export const defaultNotificationStyles = (
defaultAction?: IterableEmbeddedDefaultAction
) => `
background: white;
border-radius: 10px;
padding: 20px;
border: 1px solid #ccc;
margin-bottom: 10px;
cursor: ${defaultAction ? 'pointer' : 'auto'};
@media screen and (max-width: 800px) {
display: flex;
flex-direction: column;
}
`;
export const defaultTitleStyles = `
margin-top: 0px;
font-size: 20px;
font-weight: bold;
margin-bottom: 4px;
color: rgb(61, 58, 59);
display: block;
@media screen and (max-width: 800px) {
line-height: 1.3em;
display: flex;
flex-direction: column;
}
`;
export const defaultBodyStyles = `
margin-top: 0.2em;
font-size: 17px;
margin-bottom: 10px;
display: block;
color: rgb(120, 113, 116);
@media screen and (max-width: 800px) {
line-height: 1.3em;
display: flex;
flex-direction: column;
}
`;
export const defaultButtonsDiv = `
margin-top: auto;
@media screen and (max-width: 800px) {
display: flex;
flex-direction: column;
}
`;
export const defaultTextParentStyles = `
overflow-wrap: break-word;
@media screen and (max-width: 800px) {
display: flex;
flex-direction: column;
}
`;
export const defaultButtonStyles = `
max-width: calc(50% - 32px);
text-align: center;
font-weight: bold;
border-radius: 100px;
padding: 8px 0px;
margin-right: 12px;
cursor: pointer;
border: none;
font-size: 16px;
color: #622a6a;
background: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
`;
export const notificationButtons = `
margin-top: auto;
display:flex;
flex-direction:row;
flex-wrap: wrap;
row-gap: 0.3em;
`;
export const defaultPrimaryButtonStyle = `
background: #622a6a;
color: white;
padding: 8px 12px;
`;
export const mediaStyle = `
@media screen and (max-width: 800px) {
.titleText {
line-height: 1.3em;
}
.notification {
display: flex;
flex-direction: column;
}
}
`;