From 137a94f2514feeca6785c382655b0001fb0576e6 Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Wed, 18 Jan 2017 15:04:09 +0200 Subject: [PATCH] Began moving character sheet and related menus to Polymer 1 --- .../client/views/GeneralCSS/typography.css | 27 ++++++++- .../characterSettings/shareDialog.html | 58 +++++++++---------- .../characterSettings/shareDialog.js | 23 +++++--- .../client/views/character/characterSheet.css | 11 ++++ .../views/character/characterSheet.html | 48 +++++++-------- .../client/views/character/characterSheet.js | 15 +++-- rpg-docs/client/views/layout/layout.html | 8 +-- .../client/views/layout/polymerImports.html | 4 +- .../colorDropdown/colorDropdown.css | 11 +--- .../colorDropdown/colorDropdown.html | 28 +++------ .../colorDropdown/colorDropdown.js | 5 +- .../server/publications/singleCharacter.js | 4 -- rpg-docs/server/publications/users.js | 7 +++ 13 files changed, 142 insertions(+), 107 deletions(-) create mode 100644 rpg-docs/server/publications/users.js diff --git a/rpg-docs/client/views/GeneralCSS/typography.css b/rpg-docs/client/views/GeneralCSS/typography.css index 5c770053..862706e2 100644 --- a/rpg-docs/client/views/GeneralCSS/typography.css +++ b/rpg-docs/client/views/GeneralCSS/typography.css @@ -1,41 +1,64 @@ +.white-text { + color: #dedede; + color: rgba(255,255,255,0.87); +} + .white-text .paper-font-display2{ + color: #8a8a8a; color: rgba(255,255,255,0.54); } .white-text .paper-font-display1, .white-text.paper-font-display1{ + color: #8a8a8a; color: rgba(255,255,255,0.54); } .white-text h1, .white-text .paper-font-headline, .white-text.paper-font-headline{ + color: #dedede; color: rgba(255,255,255,0.87); } .white-text h2, .white-text .paper-font-title, .white-text.paper-font-title{ + color: #dedede; color: rgba(255,255,255,0.87); } .white-text h3, .white-text .paper-font-subhead{ + color: #dedede; color: rgba(255,255,255,0.87); } .white-text .paper-font-body2{ + color: #dedede; color: rgba(255,255,255,0.87); } .white-text p, .white-text .paper-font-body1{ + color: #dedede; color: rgba(255,255,255,0.87); } .white-text .paper-font-caption{ + color: #8a8a8a; color: rgba(255,255,255,0.54); } .black54 { - color: #444; + color: #757575; color: rgba(0,0,0,0.54); } .white54 { - color: #eee; + color: #8a8a8a; color: rgba(255,255,255,0.54); } + +.black87 { + color: #212121; + color: rgba(0,0,0,0.87); +} + +.white87 { + color: #dedede; + color: rgba(255,255,255,0.87); +} diff --git a/rpg-docs/client/views/character/characterSettings/shareDialog.html b/rpg-docs/client/views/character/characterSettings/shareDialog.html index d788ac2e..a5203959 100644 --- a/rpg-docs/client/views/character/characterSettings/shareDialog.html +++ b/rpg-docs/client/views/character/characterSettings/shareDialog.html @@ -1,43 +1,43 @@