@@ -634,7 +634,7 @@ ${JSON.stringify(content, null, 2)}
${content.text} ${this.render_votes()}
-
@@ -691,7 +691,7 @@ ${JSON.stringify(content, null, 2)}
Reply
@@ -714,7 +714,7 @@ ${JSON.stringify(content, null, 2)}
@@ -730,7 +730,7 @@ ${JSON.stringify(content, null, 2)}
${reply}
-
+
React
diff --git a/apps/ssb/tf-profile.js b/apps/ssb/tf-profile.js
index 762baa9c..4a490440 100644
--- a/apps/ssb/tf-profile.js
+++ b/apps/ssb/tf-profile.js
@@ -215,49 +215,49 @@ class TfProfileElement extends LitElement {
let server_follow;
if (this.server_follows_me === true) {
server_follow = html`
this.server_follow_me(false)}
>
Server, Stop Following Me
`;
} else if (this.server_follows_me === false) {
server_follow = html`
this.server_follow_me(true)}
>
Server, Follow Me
`;
}
edit = html`
-
+
Save Profile
-
+
Discard
${server_follow}
`;
} else {
- edit = html`
+ edit = html`
Edit Profile
`;
}
}
if (this.id !== this.whoami && this.following !== undefined) {
follow = this.following
- ? html`
+ ? html`
Unfollow
`
- : html`
+ : html`
Follow
`;
}
if (this.id !== this.whoami && this.blocking !== undefined) {
block = this.blocking
- ? html`
+ ? html`
Unblock
`
- : html`
+ : html`
Block
`;
}
@@ -267,16 +267,16 @@ class TfProfileElement extends LitElement {
`
diff --git a/apps/ssb/tf-styles.js b/apps/ssb/tf-styles.js
index 475d968e..4db41413 100644
--- a/apps/ssb/tf-styles.js
+++ b/apps/ssb/tf-styles.js
@@ -1,17 +1,6 @@
import {css} from './lit-all.min.js';
const tf = css`
- a:link {
- color: #bbf;
- }
-
- a:visited {
- color: #ddd;
- }
-
- a:hover {
- color: #ddf;
- }
img {
max-width: min(640px, 100%);
@@ -1692,4 +1681,29 @@ const w3 = css`
}
`;
-export let styles = [tf, w3];
+const w3_2016_snorkel_blue = css`
+ .w3-theme-l5 {color:#000 !important; background-color:#e9f5ff !important}
+ .w3-theme-l4 {color:#000 !important; background-color:#b5dffd !important}
+ .w3-theme-l3 {color:#000 !important; background-color:#6bc0fc !important}
+ .w3-theme-l2 {color:#fff !important; background-color:#21a0fa !important}
+ .w3-theme-l1 {color:#fff !important; background-color:#0479cc !important}
+ .w3-theme-d1 {color:#fff !important; background-color:#024575 !important}
+ .w3-theme-d2 {color:#fff !important; background-color:#023e68 !important}
+ .w3-theme-d3 {color:#fff !important; background-color:#02365b !important}
+ .w3-theme-d4 {color:#fff !important; background-color:#022e4e !important}
+ .w3-theme-d5 {color:#fff !important; background-color:#012641 !important}
+
+ .w3-theme-light {color:#000 !important; background-color:#e9f5ff !important}
+ .w3-theme-dark {color:#fff !important; background-color:#012641 !important}
+ .w3-theme-action {color:#fff !important; background-color:#012641 !important}
+
+ .w3-theme {color:#fff !important; background-color:#034f84 !important}
+ .w3-text-theme {color:#034f84 !important}
+ .w3-border-theme {border-color:#034f84 !important}
+
+ .w3-hover-theme:hover {color:#fff !important; background-color:#034f84 !important}
+ .w3-hover-text-theme:hover {color:#034f84 !important}
+ .w3-hover-border-theme:hover {border-color:#034f84 !important}
+`;
+
+export let styles = [tf, w3, w3_2016_snorkel_blue];
diff --git a/apps/ssb/tf-tab-connections.js b/apps/ssb/tf-tab-connections.js
index bc596e4e..45721c07 100644
--- a/apps/ssb/tf-tab-connections.js
+++ b/apps/ssb/tf-tab-connections.js
@@ -61,7 +61,7 @@ class TfTabConnectionsElement extends LitElement {
return html`
self._tunnel(connection.tunnel.id, connection.pubkey)}
>
Connect
@@ -75,7 +75,7 @@ class TfTabConnectionsElement extends LitElement {
return html`
tfrpc.rpc.connect(connection)}
>
Connect
@@ -94,7 +94,7 @@ class TfTabConnectionsElement extends LitElement {
render_connection(connection) {
return html`
tfrpc.rpc.closeConnection(connection.id)}
>
Close
@@ -117,9 +117,9 @@ class TfTabConnectionsElement extends LitElement {
return html`
New Connection
-
+
tfrpc.rpc.connect(self.renderRoot.getElementById('code').value)}
>
@@ -143,13 +143,13 @@ class TfTabConnectionsElement extends LitElement {
(x) => html`
self.forget_stored_connection(x)}
>
Forget
tfrpc.rpc.connect(x)}
>
Connect
diff --git a/apps/ssb/tf-tab-news-feed.js b/apps/ssb/tf-tab-news-feed.js
index 52a76650..f6c455d1 100644
--- a/apps/ssb/tf-tab-news-feed.js
+++ b/apps/ssb/tf-tab-news-feed.js
@@ -187,7 +187,7 @@ class TfTabNewsFeedElement extends LitElement {
if (!this.hash.startsWith('#@') && !this.hash.startsWith('#%')) {
more = html`
-
+
Load More
diff --git a/apps/ssb/tf-tab-news.js b/apps/ssb/tf-tab-news.js
index 1ffd4cbc..29250d41 100644
--- a/apps/ssb/tf-tab-news.js
+++ b/apps/ssb/tf-tab-news.js
@@ -119,7 +119,7 @@ class TfTabNewsElement extends LitElement {
return html`
${this.new_messages_text()}
diff --git a/apps/ssb/tf-tab-query.js b/apps/ssb/tf-tab-query.js
index 3f0a5a15..179750bd 100644
--- a/apps/ssb/tf-tab-query.js
+++ b/apps/ssb/tf-tab-query.js
@@ -110,14 +110,14 @@ class TfTabQueryElement extends LitElement {
self.search(self.renderRoot.getElementById('search').value)}
>
diff --git a/apps/ssb/tf-tab-search.js b/apps/ssb/tf-tab-search.js
index b36bc823..ec5588f9 100644
--- a/apps/ssb/tf-tab-search.js
+++ b/apps/ssb/tf-tab-search.js
@@ -78,8 +78,8 @@ class TfTabSearchElement extends LitElement {
let self = this;
return html`
-
- self.search(self.renderRoot.getElementById('search').value)}>Search
+
+ self.search(self.renderRoot.getElementById('search').value)}>Search
`;
diff --git a/core/style.css b/core/style.css
index da3f635a..fbc5853a 100644
--- a/core/style.css
+++ b/core/style.css
@@ -15,22 +15,6 @@ body {
margin: 0;
}
-a:link {
- color: #268bd2;
-}
-
-a:visited {
- color: #6c71c4;
-}
-
-a:hover {
- color: #859900;
-}
-
-a:active {
- color: #2aa198;
-}
-
#logo {
vertical-align: middle;
}