forked from inquid/github-stories
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-chat.css
More file actions
105 lines (93 loc) · 1.89 KB
/
Copy pathgithub-chat.css
File metadata and controls
105 lines (93 loc) · 1.89 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
#github-chat-extension-root {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
position: fixed;
right: 20px;
bottom: 20px;
z-index: 2147483647;
}
.github-chat-toggle {
align-items: center;
background: #2da44e;
border: 1px solid rgba(27, 31, 36, 0.15);
border-radius: 999px;
box-shadow: 0 8px 24px rgba(27, 31, 36, 0.22);
color: #ffffff;
cursor: pointer;
display: inline-flex;
font-size: 14px;
font-weight: 600;
min-height: 44px;
padding: 0 18px;
}
.github-chat-toggle:hover {
background: #2c974b;
}
.github-chat-panel {
background: #ffffff;
border: 1px solid #d0d7de;
border-radius: 8px;
bottom: 58px;
box-shadow: 0 16px 48px rgba(27, 31, 36, 0.28);
display: flex;
flex-direction: column;
height: min(620px, calc(100vh - 96px));
overflow: hidden;
position: absolute;
right: 0;
width: min(420px, calc(100vw - 32px));
}
.github-chat-panel[hidden] {
display: none;
}
.github-chat-header {
align-items: center;
background: #f6f8fa;
border-bottom: 1px solid #d0d7de;
display: flex;
justify-content: space-between;
min-height: 52px;
padding: 10px 12px;
}
.github-chat-header strong,
.github-chat-header span {
display: block;
}
.github-chat-header span {
color: #57606a;
font-size: 12px;
margin-top: 2px;
max-width: 320px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.github-chat-close {
background: transparent;
border: 0;
color: #57606a;
cursor: pointer;
font-size: 24px;
height: 32px;
line-height: 1;
padding: 0;
width: 32px;
}
.github-chat-close:hover {
color: #24292f;
}
.github-chat-frame {
border: 0;
flex: 1;
width: 100%;
}
@media (max-width: 520px) {
#github-chat-extension-root {
bottom: 12px;
right: 12px;
}
.github-chat-panel {
bottom: 56px;
height: min(620px, calc(100vh - 80px));
width: calc(100vw - 24px);
}
}