From d2cd4872fc6312ad913ddfe31b1641af4bd260e7 Mon Sep 17 00:00:00 2001 From: iamreyne Date: Fri, 27 Apr 2018 19:02:14 -0400 Subject: [PATCH 01/24] Themes System Addition 1: Added support for themes using css 2: Restored default bootstrap using CDN to avoid compatibility issues with themes system 3: Updated front-end html/css to use more efficient code for theme support. 4: Created light theme to-do: - re-create dark theme - add blue logos for light theme - update CMC widget to look nicer with both themes - Update "Contribute" page to match light theme possibilities: - buttons outside of address box for copy/explorer links - better default "Contribute" page --- .idea/modules.xml | 9 + .idea/nanoNodeMonitor.iml | 9 + .idea/vcs.xml | 6 + .idea/workspace.xml | 475 ++++++++++++++++++++++++++++++++++++ modules/config.sample.php | 3 + modules/defaults.php | 3 + modules/footer.php | 11 +- modules/header.php | 5 +- modules/navbar.php | 10 +- static/css/bg-logo-dark.png | Bin 0 -> 20052 bytes static/css/custom.css | 5 - static/css/light.css | 106 ++++++++ templates/index-temp.html | 131 ++++++++++ templates/index.hbs | 224 ++++++++--------- 14 files changed, 871 insertions(+), 126 deletions(-) create mode 100644 .idea/modules.xml create mode 100644 .idea/nanoNodeMonitor.iml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml create mode 100644 static/css/bg-logo-dark.png create mode 100644 static/css/light.css create mode 100644 templates/index-temp.html diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..1a7f04b --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/nanoNodeMonitor.iml b/.idea/nanoNodeMonitor.iml new file mode 100644 index 0000000..b1477d8 --- /dev/null +++ b/.idea/nanoNodeMonitor.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..fdb4f3d --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,475 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + DEFINITION_ORDER + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1524864650636 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From 7f4b5f31199ca73d8b88253e92a6522e9a735913 Mon Sep 17 00:00:00 2001 From: iamreyne Date: Fri, 27 Apr 2018 23:39:27 -0400 Subject: [PATCH 06/24] Re-Ignore .idea --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 5193ef3..c8ce735 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .vscode/ modules/config.php +.idea/ From b64434b337a1a274aa32a1e6b129db36e36f66a7 Mon Sep 17 00:00:00 2001 From: iamreyne Date: Sat, 28 Apr 2018 00:15:07 -0400 Subject: [PATCH 07/24] Added Dark Theme + Minor Bugfixes - Recreated dark theme to be compatible with theme system - Added dark theme logos - Made n-logo-theme around just text, not image - Added n-card-theme to cards, allowing greater customization for themes. - Removed old logos --- modules/navbar.php | 2 +- static/css/dark.css | 107 ++++++++++++++++++ static/css/light.css | 1 + .../{logo-white.svg => nano-full-dark.svg} | 0 ...logo-only-white.svg => nano-mark-dark.svg} | 0 templates/index.hbs | 8 +- 6 files changed, 113 insertions(+), 5 deletions(-) create mode 100644 static/css/dark.css rename static/img/{logo-white.svg => nano-full-dark.svg} (100%) rename static/img/{logo-only-white.svg => nano-mark-dark.svg} (100%) diff --git a/modules/navbar.php b/modules/navbar.php index 5cae99c..792be8e 100644 --- a/modules/navbar.php +++ b/modules/navbar.php @@ -1,6 +1,6 @@