David Fifield
36815bd57b
Popup CSS for dark mode.
...
In Firefox, this requires version 67 for support for
prefers-color-scheme media queries.
https://hacks.mozilla.org/2019/05/firefox-67-dark-mode-css-webrender/
To force Firefox into dark mode, set ui.systemUsesDarkTheme=1 (and
optionally browser.in-content.dark-mode=true, to put pages such as
about:addons into dark mode as well) in about:config. You can check if
it's working at https://bugzilla.mozilla.org/ , which has its own
dark-mode styling. Note that this kind of dark mode is *independent* of
the "Dark" theme that can be selected in about:addons.
Chrome requires version 76 for prefers-color-scheme. You can force it by
running with the --force-dark-mode command-line option.
2019-08-19 12:24:09 -06:00
David Fifield
1e6dd4d86f
Redo the status-running icon to match the others.
...
This one was missing from the redesigned icons. I made it by making a
copy of status-on.svg and changing the fill from #8000D7 to #40E0D0.
I didn't make a separate dark-mode version of the icon.
2019-08-19 12:24:09 -06:00
David Fifield
7e2936dcec
Dark-mode images from Antonela.
...
https://bugs.torproject.org/31170#comment:3
Also revises the light-mode images.
2019-08-19 12:24:09 -06:00
Arlo Breault
4e5a50f2b5
Start localization
...
Trac 30310
2019-08-15 17:15:37 -04:00
David Fifield
990047b2f5
Control statusimg using CSS, rather than setting an img src.
2019-07-31 19:09:46 -06:00
David Fifield
8f885c7557
Set an "error" class instead of hardcoding a text color.
2019-07-31 19:09:46 -06:00
David Fifield
8a56baa8e1
Identify popup elements by id.
2019-07-31 19:09:44 -06:00
Arlo Breault
b324d9d42f
Move icons/ to assets/
...
There's a default alias for icons/ in apache,
https://www.electrictoolbox.com/apache-icons-directory/
2019-07-31 17:59:48 -04:00
Arlo Breault
aa27c0556c
Redirect removed snowflake.html
2019-07-31 15:49:21 -04:00
Arlo Breault
e60f22833a
Reimagine the badge
...
Trac 27385
2019-07-27 12:01:03 -04:00
Arlo Breault
d6d42e82aa
Update the main page on the static website
2019-07-13 15:53:37 +02:00
Arlo Breault
f3254e3402
Remove Modernizr dependency
...
And inline its only use site.
2019-05-08 11:23:49 -04:00
Arlo Breault
622005c79e
Remove copy/paste signalling
2019-05-08 11:21:56 -04:00
David Fifield
bf82ef5192
Bump last updated date.
2019-01-22 11:26:45 -07:00
David Fifield
627f37e004
Move the Yes/No buttons into index.html; redirect options.html to it.
2018-12-20 20:50:39 -07:00
David Fifield
9e2a85d753
Bump last updated date.
2018-12-20 20:48:50 -07:00
David Fifield
27b74b1666
Use a relative URL for the embed in the sample page.
...
To facilitate local testing.
2018-12-20 20:48:22 -07:00
David Fifield
82b696709d
Escape quoted HTML markup within textarea.
2018-12-20 20:14:47 -07:00
David Fifield
5667aa8ebb
Fix HTML tag typo.
2018-12-20 18:29:51 -07:00
David Fifield
01bdcd6b28
Bump last updated date.
2018-12-19 21:34:06 -07:00
David Fifield
52e79a4b43
Bump last updated date.
2018-12-05 13:39:01 -07:00
David Fifield
9545be1c9f
'//' is not a CSS comment.
...
I got the warning:
Expected declaration but found ‘/’. Skipped to next declaration.
2018-12-04 15:46:12 -07:00
David Fifield
fd9efa1001
Fix text-shadow CSS.
...
The semicolons made it look like the end of a declaration. I got these
errors in the Firefox console:
Expected declaration but found ‘1px’. Skipped to next declaration. 1 embed.html:29:17
Expected declaration but found ‘-1px’. Skipped to next declaration. 1 embed.html:30:17
2018-04-17 17:21:46 -07:00
Arlo Breault
433a47fdf7
Only unset the header for the page being rendered
2018-04-17 16:43:01 -04:00
Arlo Breault
b441ae4bf4
Add an .htaccess file to unset X-Frame-Options
2018-04-17 16:05:39 -04:00
David Fifield
a9630a8234
keroserene.net/snowflake → snowflake.torproject.org
2018-04-16 10:24:00 -07:00
David Fifield
a762becbaa
Link to wiki page rather than github source code.
...
I'm intuiting that the purpose of linking to github was to show the
README, not to link to the source code per se, so I changed the link to
point to the wiki page rather than gitweb.torproject.org/....
https://bugs.torproject.org/23947#comment:15
2018-04-16 10:24:00 -07:00
David Fifield
9f1c7b12c8
Link to Snowflake wiki page rather than mailing list post.
...
The wiki page in turn links to the post.
2018-04-15 17:36:53 -07:00
David Fifield
933c117a48
Declare utf-8 in index.html.
2018-04-15 17:32:36 -07:00
David Fifield
5a1dffcceb
Update "last updated" date; remove "~Serene" signoff.
2018-04-15 17:25:10 -07:00
David Fifield
bcef2ee7fb
Add <title> to index.html and snowflake.html.
2018-04-15 17:23:16 -07:00
David Fifield
0ccb4b7cc8
Have embed.html refresh itself once a day.
...
This is a hedge against any bugs that may cause the badge to hang when
left running for a long time, and it also means that badges will
effectively check for updated code once a day.
2017-07-15 14:38:01 -07:00
David Fifield
f2ee53e42e
Use https links for keroserene.net.
2017-07-14 18:36:44 -07:00
Serene H
58d2854bbd
implement snowflake-allow cookie check, messaging for when cookies disabled in options page. close #21
2017-01-02 14:43:45 -08:00
Serene H
c6b02fdaca
implement options page opt-in button, messaging and styling.
...
clicking the badge links to options page, and tested no-js mode #21
2017-01-02 14:23:21 -08:00
Serene H
f2bbf80c7d
begin options page for proxy #21
2017-01-02 13:41:28 -08:00
Arlo Breault
77c41207ef
Drop unmaintained coffee-snowflake.html
2016-12-20 08:21:35 -08:00
David Fifield
0690b0620d
Make koch.jpg square and tile better.
...
It was wider than tall and there was a column of black pixels at the far
right.
2016-05-16 16:43:33 -07:00
Arlo Breault
d567e2312f
Feature detect with Modernizr
...
* A start on #34
2016-04-05 10:30:45 -07:00
Serene Han
6fb2e4753f
Update Snowflake embed, and add info page about it ( close #16 )
2016-02-10 14:03:13 -08:00
Serene Han
21c38a04ce
Snowflake badge works, and animates when serving client (issue #16 ) and some logging cleanups
2016-02-03 21:37:21 -08:00
Serene Han
7677707249
Begin embeddable snowflake badge (issue #16 )
2016-02-03 20:28:31 -08:00
Serene Han
30bfeb247e
Status bar for the snowflake console, instead of cluttered log messages during
...
polling
2016-01-28 15:21:30 -08:00
Serene Han
fa9f58c9ab
split and organize coffee files, improve Cake build tasks
2016-01-14 16:28:32 -08:00