aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/css/dark.css5
-rw-r--r--view/theme/redbasic/css/fancy.css6
-rw-r--r--view/theme/redbasic/php/style.php9
3 files changed, 13 insertions, 7 deletions
diff --git a/view/theme/redbasic/css/dark.css b/view/theme/redbasic/css/dark.css
new file mode 100644
index 000000000..869f8ec3d
--- /dev/null
+++ b/view/theme/redbasic/css/dark.css
@@ -0,0 +1,5 @@
+body, button, input, select, textarea {color: #eec !important; background: #2e2f2e;}
+.wall-item-outside-wrapper.shiny, .wall-item-content-wrapper.shiny, .shiny {background: #2e3436;}
+.wall-item-outside-wrapper, .wall-item-content-wrapper.comment {background: #2e2f2e;}
+#profile-jot-text, #photo-edit-perms-select, #photos-upload-permissions-wrapper, #profile-jot-acl-wrapper, #jot #jot-title, #jot-category, .tab {background: #333; color: #eec;}
+.wall-item \ No newline at end of file
diff --git a/view/theme/redbasic/css/fancy.css b/view/theme/redbasic/css/fancy.css
index f5316e31e..6c3c5b722 100644
--- a/view/theme/redbasic/css/fancy.css
+++ b/view/theme/redbasic/css/fancy.css
@@ -40,7 +40,7 @@ border-radius: 0px 0px 20px 0px;}
.wall-item-content-wrapper {
position: relative;
- background: #fff;
+/* background: #fff; */
border-radius: 10px;
box-shadow: 8px 8px 8px #000;
border: 1px solid #eec;
@@ -58,7 +58,7 @@ border-radius: 0px 0px 20px 0px;}
/* This shadow isn't quite right - not sure if it's colour or size */
.wall-item-content-wrapper.comment {
- background: #fff;
+/* background: #fff; */
border-left: 1px solid #e0e0e0;
margin-left: 50px;
margin-top: 15px;
@@ -103,7 +103,7 @@ opacity: 1;
.comment-edit-wrapper {
margin-top: 15px;
- background: #ffffff;
+/* background: #ffffff; */
margin-left: 50px;
}
diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php
index f9e70d4ff..1423e512a 100644
--- a/view/theme/redbasic/php/style.php
+++ b/view/theme/redbasic/php/style.php
@@ -53,10 +53,11 @@
}
echo "\r\n";
- //if($colour != "light" { grab the contents of file $colour which doesn't exist yet, and echo it when it does}
- //see the displaystyle bit to see how this works.
- //Then, grab the "Light" PCSS from KakSte Friendica theme, flip the colours, and the job is 90% done
- //$colour_scheme (not yet implemented) should be used for idiot mode
+// use $colour_scheme (not yet implemented) for idiot mode.
+ if($colour === "dark") {if (file_exists('view/theme/' . current_theme() . '/css/dark.css')) {
+ $dark = (file_get_contents('view/theme/' . current_theme() . '/css/dark.css'));
+ echo "$dark";}
+ }
// Enforce sane limits for expert mode - otherwise we'll end up with "experts" who think font size is a percentage.