Skip to content

Commit c0ba802

Browse files
committed
reniced
1 parent eef364e commit c0ba802

File tree

7 files changed

+318
-22
lines changed

7 files changed

+318
-22
lines changed

webext/icons/LICENSE

Lines changed: 0 additions & 2 deletions
This file was deleted.

webext/icons/message-48.png

-670 Bytes
Binary file not shown.

webext/icons/message.svg

Lines changed: 0 additions & 8 deletions
This file was deleted.

webext/icons/shelve.svg

Lines changed: 297 additions & 0 deletions
Loading

webext/manifest.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22

33
"manifest_version": 2,
4-
"name": "Page to extension messaging",
5-
"description": "Visit https://mdn.github.io/webextensions-examples/content-script-page-script-messaging.html for the demo. See https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Examples#page-to-extension-messaging",
6-
"version": "1.0",
7-
"homepage_url": "https://github.com/mdn/webextensions-examples/tree/master/page-to-extension-messaging",
4+
"name": "Scuttle Shell Browser",
5+
"description": "Allows webpages to access Scuttlebutt",
6+
"version": "1.0.0",
7+
"homepage_url": "https://github.com/retog/scuttle-shell-browser",
88
"icons": {
9-
"48": "icons/message-48.png"
9+
"48": "icons/shelve.svg"
1010
},
1111

1212
"permissions": [
@@ -24,13 +24,13 @@
2424
],
2525

2626
"browser_action": {
27-
"default_icon": "icons/message.svg",
27+
"default_icon": "icons/shelve.svg",
2828
"default_popup": "menu.html"
2929
},
3030

3131
"browser_specific_settings": {
3232
"gecko": {
33-
"id": "ssb4all@example.org",
33+
"id": "scuttle-shell@example.org",
3434
"strict_min_version": "50.0"
3535
}
3636
},

webext/menu.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
</head>
99

1010
<body>
11-
<h1>SSBversive</h1>
1211
<div class="grid">
1312
<div class="left bold">SSB access on:</div>
1413
<div class="left" id="location">...</div>

webext/style.css

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
body {
2+
background-color: #ede7f6;
3+
font-family: sans-serif;
4+
}
5+
16
.bold {
27
font-weight: bold;
38
}
49

510
.grid {
611
display: grid;
7-
gap: 4px;
12+
gap: 2px 8px;
813
grid-template-columns: auto 68px;
914
}
1015

@@ -14,10 +19,15 @@
1419

1520
.right {
1621
grid-column: 2;
17-
grid-row: 1 / span 2;
22+
grid-row: 2;
1823
display: flex;
1924
flex-direction: column;
20-
justify-content: center;
25+
justify-content: flex-end;
26+
}
27+
28+
#location {
29+
font-size: smaller;
30+
line-height: 20px;
2131
}
2232

2333
/* The switch - the box around the slider */
@@ -43,7 +53,7 @@
4353
left: 0;
4454
right: 0;
4555
bottom: 0;
46-
background-color: #d1c4e9;
56+
background-color: #7e57c2;
4757
-webkit-transition: background-color .4s;
4858
transition: background-color .4s;
4959
}

0 commit comments

Comments
 (0)