Skip to content

Commit e525e02

Browse files
committed
feat: improved popup
1 parent 1ddfe3b commit e525e02

File tree

4 files changed

+57
-9
lines changed

4 files changed

+57
-9
lines changed
Loading
+16-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
<meta charset="utf-8">
22
<link rel="stylesheet" type="text/css" href="./popup.css">
33

4-
<p>
5-
<strong>Vue.js is detected on this page.</strong><br/>
6-
Open DevTools and look for the Vue panel.
7-
</p>
4+
<div class="flex">
5+
<div class="screenshot">
6+
<img src="./devtools-screenshot.png" alt="Screenshot">
7+
</div>
8+
9+
<div>
10+
<p>
11+
<strong>Vue.js is detected on this page.</strong><br/>
12+
Open DevTools and look for the Vue panel.
13+
</p>
14+
15+
<p>
16+
<a href="https://devtools.vuejs.org/guide/faq.html#the-vue-devtools-don-t-show-up" target="_blank">Troubleshooting</a>
17+
</p>
18+
</div>
19+
</div>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
<meta charset="utf-8">
22
<link rel="stylesheet" type="text/css" href="./popup.css">
33

4-
<p>
5-
<strong>Nuxt.js + Vue.js is detected on this page.</strong><br/>
6-
Open DevTools and look for the Vue panel.
7-
</p>
4+
<div class="flex">
5+
<div class="screenshot">
6+
<img src="./devtools-screenshot.png" alt="Screenshot">
7+
</div>
8+
9+
<div>
10+
<p>
11+
<strong>Nuxt.js + Vue.js is detected on this page.</strong><br/>
12+
Open DevTools and look for the Vue panel.
13+
</p>
14+
15+
<p>
16+
<a href="https://devtools.vuejs.org/guide/faq.html#the-vue-devtools-don-t-show-up" target="_blank">Troubleshooting</a>
17+
</p>
18+
</div>
19+
</div>

packages/shell-chrome/popups/popup.css

+25-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700,700i');
2+
13
body {
24
font-family: Roboto, Avenir, Helvetica, Arial, sans-serif;
35
font-size: 14px;
46
font-weight: 400;
57
line-height: 1.4;
6-
padding: 10px 12px 12px 12px;
8+
padding: 18px 24px;
79
color: #2c3e50;
810
}
911

@@ -21,3 +23,25 @@ p {
2123
min-width: initial;
2224
white-space: nowrap;
2325
}
26+
27+
a {
28+
color: #42B983;
29+
}
30+
31+
.flex {
32+
display: flex;
33+
align-items: center;
34+
}
35+
36+
.screenshot {
37+
position: relative;
38+
}
39+
40+
.screenshot > img {
41+
width: 140px;
42+
height: 140px;
43+
object-fit: cover;
44+
border-radius: 100%;
45+
margin-right: 24px;
46+
box-shadow: 0 0 15px rgb(0 0 0 / 10%);
47+
}

0 commit comments

Comments
 (0)