-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathFeedbackForm.module.css
More file actions
123 lines (108 loc) · 2.7 KB
/
FeedbackForm.module.css
File metadata and controls
123 lines (108 loc) · 2.7 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
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
:global(.webchat) .feedback-form {
display: contents;
.feedback-form__vote-button-bar {
display: flex;
gap: 2px;
}
.feedback-form__form {
display: flex;
flex-direction: column;
gap: 4px;
position: relative;
/* The form should take the full width of the flex container width. */
width: 100%;
}
.feedback-form__form-header {
color: #373435;
display: flex;
flex-direction: column;
font-family: var(--webchat__font--primary);
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
}
.feedback-form__text-box {
background-color: #ffffff;
border-radius: 4px;
border: 1px solid #e8e8e8;
font-size: 14px;
line-height: 20px;
overflow: hidden;
padding: 8px 12px;
position: relative;
&::after {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
border-bottom: 3px solid var(--webchat__color--accent);
bottom: -1px;
clip-path: inset(calc(100% - 3px) 50% 0 50%);
content: '';
height: 4px;
left: -1px;
position: absolute;
right: -1px;
transition: none;
}
&:focus-within {
border: 1px solid #e8e8e8;
}
&:focus-within::after {
clip-path: inset(calc(100% - 3px) 0 0 0);
transition: clip-path 200ms cubic-bezier(0, 0, 0, 1);
}
}
.feedback-form__text-area {
resize: none;
margin-inline-end: -8px;
}
.feedback-form__form-footer {
color: var(--webchat__color--subtle);
font-family: var(--webchat__font--primary);
font-size: 10px;
font-style: normal;
font-weight: 400;
line-height: 14px;
}
.feedback-form__submission-button-bar {
display: flex;
gap: 8px;
margin-block-start: 6px;
}
.feedback-form__submit-button {
background-color: var(--webchat__color--accent);
border-radius: 4px;
border: 1px solid var(--webchat__color--accent);
color: #ffffff;
cursor: pointer;
font-family: var(--webchat__font--primary);
font-size: 12px;
height: 24px;
padding: 0 8px;
}
.feedback-form__submit-button:hover {
background-color: #004a98;
border: 1px solid #004a98;
color: #ffffff;
}
.feedback-form__submit-button:active {
background-color: #004a98;
border: 1px solid #004a98;
color: #ffffff;
}
.feedback-form__cancel-button {
background-color: #ffffff;
border-radius: 4px;
border: 1px solid #e8e8e8;
color: var(--webchat__color--subtle);
cursor: pointer;
font-family: var(--webchat__font--primary);
font-size: 12px;
height: 24px;
padding: 0 8px;
}
.feedback-form__cancel-button:hover {
background-color: var(--webchat__color--subtle);
color: #ffffff;
}
}