aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-17 21:34:06 +0000
committerMario <mario@mariovavti.com>2024-03-17 21:34:06 +0000
commit0745d0616a144b23d342604657669ecc2514b9e3 (patch)
tree9bfb3efd6415ca5184f71e65b450897491d28776
parent2114779037637115870b9a44cd9dea8382531ae2 (diff)
parent9cbb9a48742d41eba8d2d65e1a74cd0d6fe61554 (diff)
downloadvolse-hubzilla-0745d0616a144b23d342604657669ecc2514b9e3.tar.gz
volse-hubzilla-0745d0616a144b23d342604657669ecc2514b9e3.tar.bz2
volse-hubzilla-0745d0616a144b23d342604657669ecc2514b9e3.zip
Merge branch 'dev' into 9.0RC
-rw-r--r--Zotlabs/Render/Theme.php7
-rw-r--r--boot.php10
-rw-r--r--include/plugin.php8
-rw-r--r--view/css/conversation.css6
-rw-r--r--view/css/zen.css1
-rw-r--r--view/theme/redbasic/php/theme.php4
6 files changed, 13 insertions, 23 deletions
diff --git a/Zotlabs/Render/Theme.php b/Zotlabs/Render/Theme.php
index dc23eae84..543bf7a3f 100644
--- a/Zotlabs/Render/Theme.php
+++ b/Zotlabs/Render/Theme.php
@@ -97,14 +97,9 @@ class Theme {
*
* Provide a sane default if nothing is chosen or the specified theme does not exist.
*
- * @param bool $installing (optional) default false, if true return the name of the first base theme
- *
* @return string
*/
- static public function url($installing = false) {
-
- if($installing)
- return self::$base_themes[0];
+ static public function url() {
$uid = App::$profile_uid ?: local_channel();
diff --git a/boot.php b/boot.php
index 44f07ae16..2677405dd 100644
--- a/boot.php
+++ b/boot.php
@@ -2331,8 +2331,6 @@ function construct_page() {
require_once(theme_include('theme_init.php'));
- $installing = false;
-
$uid = ((App::$profile_uid) ? App::$profile_uid : local_channel());
$navbar = get_config('system', 'navbar', 'default');
@@ -2344,14 +2342,10 @@ function construct_page() {
$navbar = App::$layout['navbar'];
}
- if (App::$module == 'setup') {
- $installing = true;
- }
- else {
+ if (App::$module !== 'setup') {
nav($navbar);
}
-
$current_theme = Zotlabs\Render\Theme::current();
// logger('current_theme: ' . print_r($current_theme,true));
// Zotlabs\Render\Theme::debug();
@@ -2372,7 +2366,7 @@ function construct_page() {
if (($p = theme_include('mod_' . App::$module . '.css')) != '')
head_add_css('mod_' . App::$module . '.css');
- head_add_css(Zotlabs\Render\Theme::url($installing));
+ head_add_css(Zotlabs\Render\Theme::url());
if (($p = theme_include('mod_' . App::$module . '.js')) != '')
head_add_js('mod_' . App::$module . '.js');
diff --git a/include/plugin.php b/include/plugin.php
index cc740f915..bbfeab988 100644
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -985,12 +985,12 @@ function format_css_if_exists($source) {
}
} else {
// It's a file from the theme
- $path = '/' . theme_include($script);
+ $path = theme_include($script);
}
if($path) {
$qstring = ((parse_url($path, PHP_URL_QUERY)) ? '&' : '?') . 'v=' . STD_VERSION;
- return '<link rel="stylesheet" href="' . $path_prefix . $path . $qstring . '" type="text/css" media="' . $source[1] . '">' . "\r\n";
+ return '<link rel="stylesheet" href="' . $path_prefix . '/' . $path . $qstring . '" type="text/css" media="' . $source[1] . '">' . "\r\n";
}
}
@@ -1057,11 +1057,11 @@ function format_js_if_exists($source) {
}
else {
// It's a file from the theme
- $path = '/' . theme_include($source);
+ $path = theme_include($source);
}
if($path) {
$qstring = ((parse_url($path, PHP_URL_QUERY)) ? '&' : '?') . 'v=' . STD_VERSION;
- return '<script src="' . $path_prefix . $path . $qstring . '" ></script>' . "\r\n" ;
+ return '<script src="' . $path_prefix . '/' . $path . $qstring . '" ></script>' . "\r\n" ;
}
}
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 6958e9bf2..491cee92e 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -304,7 +304,7 @@ code.inline-code {
}
img.emoji {
- height: 1.2rem;
+ height: 1.3rem;
vertical-align: baseline;
margin-bottom: -.2rem;
}
@@ -314,9 +314,9 @@ img.emoji.single-emoji {
}
img.emoji:not(.single-emoji):hover {
- transform: scale(2);
+ transform: scale(1.8);
transition: transform .1s ease-out;
- filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, .5));
+ filter: drop-shadow(0px 0px 0.05rem rgba(0, 0, 0, .5));
}
.checklist input {
diff --git a/view/css/zen.css b/view/css/zen.css
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/view/css/zen.css
@@ -0,0 +1 @@
+
diff --git a/view/theme/redbasic/php/theme.php b/view/theme/redbasic/php/theme.php
index c33c4f78e..1f50ed786 100644
--- a/view/theme/redbasic/php/theme.php
+++ b/view/theme/redbasic/php/theme.php
@@ -4,8 +4,8 @@
* * Name: Redbasic
* * Description: Hubzilla standard theme
* * Version: 2.2
- * * MinVersion: 8.0
- * * MaxVersion: 9.0
+ * * MinVersion: 9.0
+ * * MaxVersion: 10.0
* * Author: Fabrixxm
* * Maintainer: Mike Macgirvin
* * Maintainer: Mario Vavti