diff --git a/apps/ssb.json b/apps/ssb.json index f36b6863..abce876a 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🐌", - "previous": "&W6OyIT7eLYsiAZ6BHEAsvF+OJXlVgFs1MH1eLf+EhkQ=.sha256" + "previous": "&W98iW3aUxCvTQovPohAd500SpJyOEwsVPDe4hoHaVMg=.sha256" } diff --git a/apps/ssb/index.html b/apps/ssb/index.html index 35a782dd..92dd8764 100644 --- a/apps/ssb/index.html +++ b/apps/ssb/index.html @@ -1,5 +1,5 @@ - + Tilde Friends @@ -10,8 +10,8 @@ } - - + + diff --git a/apps/ssb/tf-app.js b/apps/ssb/tf-app.js index c191e879..402482f9 100644 --- a/apps/ssb/tf-app.js +++ b/apps/ssb/tf-app.js @@ -205,7 +205,7 @@ class TfElement extends LitElement { @change=${this._handle_whoami_changed} > `; } else { return html` + @@ -526,7 +526,7 @@ class TfComposeElement extends LitElement { let draft = self.get_draft(); let content_warning = draft.content_warning !== undefined - ? html`
+ ? html`

${draft.content_warning}

` : undefined; @@ -534,14 +534,14 @@ class TfComposeElement extends LitElement { draft.encrypt_to !== undefined ? undefined : html``; let result = html`
${this.render_encrypt()} @@ -549,7 +549,7 @@ class TfComposeElement extends LitElement {

+

- (self.editing = Object.assign({}, self.editing, {publicWebHosting: event.srcElement.checked}))}> + (self.editing = Object.assign({}, self.editing, {publicWebHosting: event.srcElement.checked}))}>
- +
` 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`
  • 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`

    + +

  • `; 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; }