Skip to content

Commit 3e435c0

Browse files
committed
feat: refine styles
1 parent 14e8e0b commit 3e435c0

25 files changed

+191
-48
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
Changelog
22
---
3-
## 1.7.1
3+
## 1.7.2
4+
* Refined verified badge styles.
5+
* Fixed z-index of native hovercards over our hovercards.
46

7+
## 1.7.1
58
* Fixed rocket icon.
69

710
## 1.7.0
8-
911
* Added theme option and switched the default theme to “GitHub”.
1012
* Fixed emoji display.
1113
* Fixed extraction of sidebar users.

demo/dist/demo.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/dist/demo.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/chrome/hovercard.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
.windows .ghh ::-webkit-scrollbar-corner {
5555
background-color: transparent;
5656
}
57+
.Popover {
58+
z-index: 2147483647 !important;
59+
}
5760
/**********
5861
* Mixins
5962
**********/
@@ -308,6 +311,18 @@
308311
background-color: #fff;
309312
border-radius: 2px;
310313
}
314+
.ghh-theme-github .ghh-readme a,
315+
.ghh-theme-github .ghh-issue-body a {
316+
color: #0366d6;
317+
}
318+
.ghh-theme-github .ghh-readme a:hover,
319+
.ghh-theme-github .ghh-issue-body a:hover {
320+
text-decoration: underline;
321+
}
322+
.ghh-theme-github .ghh-readme .user-mention,
323+
.ghh-theme-github .ghh-issue-body .user-mention {
324+
color: #24292e;
325+
}
311326
.ghh-theme-github .ghh-readme h1,
312327
.ghh-theme-github .ghh-issue-body h1,
313328
.ghh-theme-github .ghh-readme h2,
@@ -1043,6 +1058,14 @@
10431058
font-size: 12px;
10441059
font-weight: 400;
10451060
}
1061+
.ghh-theme-github .ghh .ghh-state-verified {
1062+
color: #22863a;
1063+
border: 1px solid #e1e4e8;
1064+
background-color: #fff;
1065+
font-size: 10px;
1066+
padding: 0 4px;
1067+
line-height: 20px;
1068+
}
10461069
.ghh-theme-github .ghh-repo {
10471070
padding-left: 36px;
10481071
}

extensions/chrome/hovercard.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/chrome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"manifest_version": 2,
33
"name": "GitHub Hovercard",
44
"description": "Neat hovercards for GitHub.",
5-
"version": "1.7.1",
5+
"version": "1.7.2",
66
"icons": {
77
"128": "icon.png"
88
},

extensions/edge/hovercard.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
.windows .ghh ::-webkit-scrollbar-corner {
5555
background-color: transparent;
5656
}
57+
.Popover {
58+
z-index: 2147483647 !important;
59+
}
5760
/**********
5861
* Mixins
5962
**********/
@@ -308,6 +311,18 @@
308311
background-color: #fff;
309312
border-radius: 2px;
310313
}
314+
.ghh-theme-github .ghh-readme a,
315+
.ghh-theme-github .ghh-issue-body a {
316+
color: #0366d6;
317+
}
318+
.ghh-theme-github .ghh-readme a:hover,
319+
.ghh-theme-github .ghh-issue-body a:hover {
320+
text-decoration: underline;
321+
}
322+
.ghh-theme-github .ghh-readme .user-mention,
323+
.ghh-theme-github .ghh-issue-body .user-mention {
324+
color: #24292e;
325+
}
311326
.ghh-theme-github .ghh-readme h1,
312327
.ghh-theme-github .ghh-issue-body h1,
313328
.ghh-theme-github .ghh-readme h2,
@@ -1043,6 +1058,14 @@
10431058
font-size: 12px;
10441059
font-weight: 400;
10451060
}
1061+
.ghh-theme-github .ghh .ghh-state-verified {
1062+
color: #22863a;
1063+
border: 1px solid #e1e4e8;
1064+
background-color: #fff;
1065+
font-size: 10px;
1066+
padding: 0 4px;
1067+
line-height: 20px;
1068+
}
10461069
.ghh-theme-github .ghh-repo {
10471070
padding-left: 36px;
10481071
}

extensions/edge/hovercard.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/edge/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"storage",
2626
"https://github.com/*"
2727
],
28-
"version": "1.7.1",
28+
"version": "1.7.2",
2929
"-ms-preload": {
3030
"backgroundScript": "backgroundScriptsAPIBridge.js",
3131
"contentScript": "contentScriptsAPIBridge.js"

extensions/firefox/hovercard.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@
5454
.windows .ghh ::-webkit-scrollbar-corner {
5555
background-color: transparent;
5656
}
57+
.Popover {
58+
z-index: 2147483647 !important;
59+
}
5760
/**********
5861
* Mixins
5962
**********/
@@ -308,6 +311,18 @@
308311
background-color: #fff;
309312
border-radius: 2px;
310313
}
314+
.ghh-theme-github .ghh-readme a,
315+
.ghh-theme-github .ghh-issue-body a {
316+
color: #0366d6;
317+
}
318+
.ghh-theme-github .ghh-readme a:hover,
319+
.ghh-theme-github .ghh-issue-body a:hover {
320+
text-decoration: underline;
321+
}
322+
.ghh-theme-github .ghh-readme .user-mention,
323+
.ghh-theme-github .ghh-issue-body .user-mention {
324+
color: #24292e;
325+
}
311326
.ghh-theme-github .ghh-readme h1,
312327
.ghh-theme-github .ghh-issue-body h1,
313328
.ghh-theme-github .ghh-readme h2,
@@ -1043,6 +1058,14 @@
10431058
font-size: 12px;
10441059
font-weight: 400;
10451060
}
1061+
.ghh-theme-github .ghh .ghh-state-verified {
1062+
color: #22863a;
1063+
border: 1px solid #e1e4e8;
1064+
background-color: #fff;
1065+
font-size: 10px;
1066+
padding: 0 4px;
1067+
line-height: 20px;
1068+
}
10461069
.ghh-theme-github .ghh-repo {
10471070
padding-left: 36px;
10481071
}

0 commit comments

Comments
 (0)