From c794134cf8c68316d757694980a11edfdc559ea2 Mon Sep 17 00:00:00 2001 From: Aaron Toponce Date: Mon, 19 Mar 2018 20:00:48 -0600 Subject: [PATCH] working dark theme, persistent across sessions --- ...c23d6f21827169ff51e7eebd05e75e655a666.css} | 18 ++++----- index.html | 8 ++-- ...ad6e4efdaa203f9a130a1a1cad11b36b05432b.js} | 40 ++++++++++++++++--- test.html | 3 +- what.html | 3 +- 5 files changed, 50 insertions(+), 22 deletions(-) rename assets/{style.2c2dcf0fed7d8edba17206a66156420e07f80fa621ce35301bfaa400.css => style.8bf288850a548162584c23d6f21827169ff51e7eebd05e75e655a666.css} (94%) rename js/{main.d8eddced37bac462f18a5cea384a64b162a001cdda15a438f26ab687.js => main.4a245bc74dbf3ef97dad6e4efdaa203f9a130a1a1cad11b36b05432b.js} (91%) diff --git a/assets/style.2c2dcf0fed7d8edba17206a66156420e07f80fa621ce35301bfaa400.css b/assets/style.8bf288850a548162584c23d6f21827169ff51e7eebd05e75e655a666.css similarity index 94% rename from assets/style.2c2dcf0fed7d8edba17206a66156420e07f80fa621ce35301bfaa400.css rename to assets/style.8bf288850a548162584c23d6f21827169ff51e7eebd05e75e655a666.css index 7c87e90..05ef5b2 100644 --- a/assets/style.2c2dcf0fed7d8edba17206a66156420e07f80fa621ce35301bfaa400.css +++ b/assets/style.8bf288850a548162584c23d6f21827169ff51e7eebd05e75e655a666.css @@ -5,23 +5,16 @@ /* body tags */ body { margin: 0; } select { - /* get consistency across all browsers */ -moz-appearance: none; -moz-border-radius: 2px; -webkit-appearance: none; - /*background-image: -webkit-gradient( - linear, left bottom, left top, - color-stop(0.16, rgb(207,207,207)), color-stop(0.79, rgb(252,252,252)) - ); - background-image: -moz-linear-gradient( - center bottom, rgb(207,207,207) 16%, rgb(252,252,252) 79% - );*/ background-color: #dddddd; border:1px solid black; border-radius: 2px; color: black; cursor: pointer; font-size: 12px; + height: 25px; padding: 3px 22px 3px 6px; width: 120px; } @@ -67,7 +60,14 @@ button:hover { /* classes */ .clear { clear: both; } -.contrast { +.dark_contrast { + text-shadow: + -1px -1px 0 #bbb, 0px -1px 0 #bbb, + 1px -1px 0 #bbb, -1px 0px 0 #bbb, + -1px 1px 0 #bbb, 0px 1px 0 #bbb, + 1px 1px 0 #bbb, 1px 0px #bbb; +} +.light_contrast { text-shadow: -1px -1px 0 #444, 0px -1px 0 #444, 1px -1px 0 #444, -1px 0px 0 #444, diff --git a/index.html b/index.html index e9fb10c..abda2d4 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - + Passphrase and Password Generator @@ -17,7 +17,7 @@

Passphrase and Password Generator

  • Generate Passwords
  • What is entropy?
  • Entropy Testing Meter
  • -
  • Dark Theme
  • +
  • Dark Theme
  • Select minimum entropy:

    @@ -187,7 +187,7 @@

    Passphrase and Password Generator

    - +