News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Reseller

Started by Diego Andrés, July 30, 2014, 11:08:08 AM

Previous topic - Next topic

Senkusha

This is probably a dumb question, but, is there a "dark mode" for this theme?  I really like the color scheme of this theme, but I can see some people prefer darker themes, and I'd rather stay consistent in my site's visual display.

How difficult would it be to achieve a dark mode color scheme?
-- Senkusha
The Kawaii Klub
The Creative Anime Role Playing Community.
(SMF v. 2.1.4, PHP v. 8.0)

Diego Andrés

Quote from: Senkusha on March 27, 2025, 07:49:37 AMIt appears that I'm getting this error whenever a guest attempts to load a page they don't have permission for:

You cannot view this attachment.

This specific error involves Tiny Portal, since this is happening on this theme, I'd check here first. 

I clicked on the URL, and noticed all of this:
You cannot view this attachment.
You cannot view this attachment.

When I look at the link using the Default theme, I get this result/error:
You cannot view this attachment.

I can't reproduce the issue, I tested with TP

You cannot view this attachment.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Quote from: Senkusha on March 28, 2025, 07:02:38 PMThis is probably a dumb question, but, is there a "dark mode" for this theme?  I really like the color scheme of this theme, but I can see some people prefer darker themes, and I'd rather stay consistent in my site's visual display.

How difficult would it be to achieve a dark mode color scheme?
All my themes for 2.1 are modular, including dark mode is as simple as turning on a boolean.
However, as usual, creating the dark CSS file is a pain in the ass, need to fiddle around with changing colors, etc.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

2.0.13 - 9 April 2025
  • Bug Fix Hide undefined error for menu language string.
  • New Feature Added Threads and BlueSky social options.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

2.0.14 - 12 April 2025
  • Bug Fix Fixed layout issues in Who's Online list.
Full Changelog: v2.0.13...v2.0.14

SMF Tricks - Free & Premium Responsive Themes for SMF.

FrizzleFried

I am not having this issue with Curve... so I am left to think it's either a setting i have messed up or perhaps not?  Why do I see smileys in the editor (and in previews) ... but I see either just text smileys (Firefox) or these broken image smileys (Chrome) in the actual forums?

Thanks... I really like your theme.  One last question... font size and/or border padding in the editor... easily modifiable?

Diego Andrés

Quote from: FrizzleFried on May 05, 2025, 10:08:25 AMI am not having this issue with Curve... so I am left to think it's either a setting i have messed up or perhaps not?  Why do I see smileys in the editor (and in previews) ... but I see either just text smileys (Firefox) or these broken image smileys (Chrome) in the actual forums?

Probably smiley settings, check if you disable the smileys in other themes.

Quote from: FrizzleFried on May 05, 2025, 10:08:25 AMThanks... I really like your theme.  One last question... font size and/or border padding in the editor... easily modifiable?
Sure, are you talking about WYSIWYG or source mode?

SMF Tricks - Free & Premium Responsive Themes for SMF.

FrizzleFried

I found the issue.  It was an http vs https issue in one setting.

>argh<

Sorry for the bother.

FrizzleFried

Missed question 2... source mode...

EDIT: Actually... both.

See below for WYSIWYG... same with source.

Thank you again!  :)

FrizzleFried

Oh... and in a perfect world I'd learn how to add "Admin. Center" to the Admin drop down and make it clickable to go to https://xxx.xxxxxx.xxx/index.php?action=admin ...


Senkusha

Two things:

1.  How could I automatically expand the text area for the post box to make it much longer vertically by default?
2.  How could I change the font of the text area for posts to Georgia?  I know I add something to custom-css.

Thank you!
-- Senkusha
The Kawaii Klub
The Creative Anime Role Playing Community.
(SMF v. 2.1.4, PHP v. 8.0)

Diego Andrés

Quote from: FrizzleFried on May 05, 2025, 12:35:35 PMMissed question 2... source mode...

EDIT: Actually... both.

See below for WYSIWYG... same with source.

Thank you again!  :)


2.0.15 - 20 May 2025
  • Improvement Added padding in textarea for posting in the sceditor.
  • Improvement Minor code changes to Theme Customs.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Quote from: FrizzleFried on May 07, 2025, 01:27:33 PMOh... and in a perfect world I'd learn how to add "Admin. Center" to the Admin drop down and make it clickable to go to https://xxx.xxxxxx.xxx/index.php?action=admin ...



Themes/Reseller/index.template.php
Code (Search) Select
// 2nd level menus
        if (!empty($button['sub_buttons']))
        {
            echo '
                        <ul class="dropdown-menu dropdown-menu-end">';
Code (Replace) Select
// 2nd level menus
if (!empty($button['sub_buttons']))
{
echo '
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="', $button['href'], '"', isset($button['target']) ? ' target="' . $button['target'] . '"' : '', '>
', $button['title'], !empty($button['amt']) ? ' <span class="amt">' . $button['amt'] . '</span>' : '', '
</a>
</li>';

SMF Tricks - Free & Premium Responsive Themes for SMF.

Diego Andrés

Quote from: Senkusha on May 16, 2025, 08:59:56 PM1.  How could I automatically expand the text area for the post box to make it much longer vertically by default?
https://custom.simplemachines.org/index.php?mod=4332

Quote from: Senkusha on May 16, 2025, 08:59:56 PM2.  How could I change the font of the text area for posts to Georgia?  I know I add something to custom-css.
Themes/Reseller/css/compat/jquery.sceditor.css
Code (Search) Select
.sceditor-container iframe,
.sceditor-container textarea {
    background: var(--input-bg);
    border: 0;
    flex: 1 1 0%;
    margin: 0;
    min-height: 0;
    outline: none;
    padding: .5em .75em;
    resize: none;
}
Code (Replace) Select
.sceditor-container iframe,
.sceditor-container textarea {
    background: var(--input-bg);
    border: 0;
    flex: 1 1 0%;
    font-family: 'Georgia', serif;
    margin: 0;
    min-height: 0;
    outline: none;
    padding: .5em .75em;
    resize: none;
}

Themes/Reseller/css/compat/jquery.sceditor.default.css
Code (Search) Select
body[contenteditable] {
    flex: 1;
    background: var(--input-bg);
    color: var(--input-color);
    font: 1em / var(--input-line-height) var(--body-font-family);
}
Code (Replace) Select
body[contenteditable] {
    --body-font-family: 'Georgia', serif
    flex: 1;
    background: var(--input-bg);
    color: var(--input-color);
    font: 1em / var(--input-line-height) var(--body-font-family);
}

SMF Tricks - Free & Premium Responsive Themes for SMF.

FrizzleFried

Diego...

Upon installation of the new version I notice a couple minor issues.  See below. 

Seen when posting replies and new topics.

You cannot view this attachment.

Diego Andrés

I can't reproduce that issue, I'm not seen the highlighted gap on my instance.

SMF Tricks - Free & Premium Responsive Themes for SMF.

FrizzleFried

Strange... the width issue was resolved by removing my Tiny Portal column from the left (which I didn't have to do prior, but isn't a big deal).   After removing the column,  the issue with the buttons dropping down resolved (of course) but those tiny gaps are still there...  Not a deal-breaker though.

Thanks for looking.

FrizzleFried

BTW... those tiny gaps... I just checked... they were there for with the last version as well...


Diego Andrés

Quote from: FrizzleFried on May 21, 2025, 07:57:31 AMBTW... those tiny gaps... I just checked... they were there for with the last version as well...



Mmm then I certainly can't notice or reproduce the issue.
What browser are you using?
MODs?

Maybe try a fresh install in a test forum?

SMF Tricks - Free & Premium Responsive Themes for SMF.

FrizzleFried

I'm pretty mod-light...

... probably Tiny Portal... but who knows.

1    Link Previews    2.0.1    May 02, 2025, 07:32 AM     
2    TinyPortal    3.0.2    Apr 25, 2025, 02:39 PM     
3    Anti-spam by CleanTalk    2.36    Apr 25, 2025, 12:50 PM     
4    FancyBox 4 SMF    1.3.1    May 07, 2025, 01:44 PM     
5    Optimus    3.0 RC4    May 17, 2025, 06:13 PM     
6    PDF Embedding in Posts    2.1.01    Apr 26, 2025, 09:06 AM     
7    SMFPacks Media Embedder


Advertisement: