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
129 lines (112 loc) · 2.8 KB
/
github-chat.css
File metadata and controls
129 lines (112 loc) · 2.8 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
124
125
126
127
128
129
.github-chat-extension {
bottom: 24px;
position: fixed;
right: 24px;
z-index: 2147483647;
}
.github-chat-extension__toggle,
.github-chat-extension__close {
align-items: center;
background: #24292f;
border: 0;
color: #ffffff;
cursor: pointer;
display: inline-flex;
font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
justify-content: center;
}
.github-chat-extension__toggle {
border-radius: 999px;
box-shadow: 0 8px 24px rgb(140 149 159 / 30%);
height: 44px;
padding: 0 18px;
}
.github-chat-extension__toggle:hover,
.github-chat-extension__close:hover {
background: #0969da;
}
.github-chat-extension__panel {
background: #ffffff;
border: 1px solid #d0d7de;
border-radius: 8px;
box-shadow: 0 16px 40px rgb(140 149 159 / 32%);
display: flex;
flex-direction: column;
height: min(680px, calc(100vh - 48px));
overflow: hidden;
width: min(420px, calc(100vw - 48px));
}
.github-chat-extension__header {
align-items: center;
background: #f6f8fa;
border-bottom: 1px solid #d0d7de;
color: #24292f;
display: flex;
font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
justify-content: space-between;
min-height: 42px;
padding: 0 8px 0 14px;
}
.github-chat-extension__close {
border-radius: 6px;
height: 28px;
width: 28px;
}
.github-chat-extension__frame {
border: 0;
flex: 1;
min-height: 0;
width: 100%;
}
.github-chat-extension__fallback {
align-items: center;
background: #ffffff;
color: #57606a;
display: none;
flex: 1;
flex-direction: column;
font: 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
gap: 12px;
justify-content: center;
padding: 24px;
text-align: center;
}
.github-chat-extension__fallback.is-visible {
display: flex;
}
.github-chat-extension__fallback.is-visible + .github-chat-extension__frame,
.github-chat-extension__fallback.is-visible ~ .github-chat-extension__frame {
display: none;
}
.github-chat-extension__fallback p {
margin: 0;
}
.github-chat-extension__fallback-link {
background: #1f883d;
border-radius: 6px;
color: #ffffff;
font-weight: 600;
padding: 9px 14px;
text-decoration: none;
}
.github-chat-extension__fallback-link:hover {
background: #1a7f37;
color: #ffffff;
text-decoration: none;
}
.github-chat-extension.is-collapsed .github-chat-extension__panel {
display: none;
}
.github-chat-extension:not(.is-collapsed) .github-chat-extension__toggle {
display: none;
}
@media (max-width: 480px) {
.github-chat-extension {
bottom: 12px;
right: 12px;
}
.github-chat-extension__panel {
height: calc(100vh - 24px);
width: calc(100vw - 24px);
}
}