News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SunRise

Started by SychO, September 22, 2018, 10:12:35 PM

Previous topic - Next topic

rille2000


Wow! Really impressed with this theme! :)
Top buttons disappeared after I logged out so it was difficult to login, had to do ?theme=1.

Quote from: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.

Sounds like a solution, how?

SychO

Quote from: rille2000 on October 15, 2018, 05:14:26 PM

Wow! Really impressed with this theme! :)
Top buttons disappeared after I logged out so it was difficult to login, had to do ?theme=1.

Quote from: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.

Sounds like a solution, how?

Try enabling "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout

I think I should not use that setting, something for the next update.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

rille2000

Quote from: SychO on October 15, 2018, 05:24:48 PM
Quote from: rille2000 on October 15, 2018, 05:14:26 PM

Wow! Really impressed with this theme! :)
Top buttons disappeared after I logged out so it was difficult to login, had to do ?theme=1.

Quote from: jafl on October 06, 2018, 11:59:49 AM
It is already resolved, thank you.

Sounds like a solution, how?

Try enabling "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout

I think I should not use that setting, something for the next update.

Worked! :)


Whyskas

Hello! Thanks for the work you've done. Great theme.
For a little development, I added Russian.

<?php
/**
 * ## SunRise SMF Theme
 * ## @author: SychO (M.S)
 * ## sycho.22web.org
 * 
 * ## Copyright (C) 2018 SychO (M.S)
 * ## This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 * ## This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 * ## You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 * ## LICENSE.TXT
 * 
 * ## version 2.0
*/

global $boardurl;

$txt['default_sr_mode'] = "Выбрать режим темы по умолчанию";
$txt['sr_sunrise'] = "Восход";
$txt['sr_midnight'] = "Полночь";

$txt['collapse'] = "Свернуть";
$txt['expand'] = "Развернуть";

$txt['sr_unread_since_visit'] = "Новые темы";
$txt['sr_show_unread_replies'] = "Новые ответы";
$txt['messages'] = "Входящие";
$txt['new_messages'] = "Новые сообщения";
$txt['maintain_mode_on'] = "Техническое обслуживание";
$txt['cop_y'] = " &copy; ".date("Y");
$txt['sr_mod_reports_waiting'] = "Обращения";
$txt['sr_approve_members_waiting'] = "Ожидают одобрения";
$txt['issue_warning'] = "Предупреждение о проблеме";
$txt['uppercase_forumtitle'] = "Прописные буквы в заголовках";
$txt['footer_copyright'] = "Копирайты";
$txt['forumtitle_size'] = "Размер шрифта заголовка";
$txt['forumtitle_size_d'] = "Указывается в пикселях, оставить пустым для настроек по умолчанию";
$txt['forum_width_desc'] = "Изменить ширину контента. Пример: 65%, 80%, 96%. <span class='error'>Значение в процентах!</span>";

$txt['top_section_width'] = "Растянуть навигацию по всей ширине окна";

$txt['more'] = "Дополнительно";
$txt['more_link'] = "Внешняя ссылка";
$txt['more_link_label'] = "Текст внешней ссылки";
$txt['more_link_fa'] = "Значёк внешней ссылки(FontAwesome fa-xxx)";
$txt['facebook'] = "Facebook";
$txt['youtube'] = "YouTube";
$txt['twitter'] = "Twitter";
$txt['steam'] = "Steam";
$txt['github'] = "Github";
$txt['instagram'] = "Instagram";
$txt['google_plus'] = "Google+";
$txt['discord'] = "Discord";

$txt['header_fa'] = "Добавить значек в заголовок форума";

$txt['hello'] = "Привет";

$txt['menu_buttons_settings'] = "Искать <a href='https://fontawesome.com/icons?from=io' target='_blank'>значки</a><br><span class='success'>Что бы указать значек бренда, добавьте \"fab\" в значение. Пример: (fab fa-google)</span>";
$txt['recent_view'] = "Последние сообщения";
$txt['menu'] = "Меню";
$txt['look_and_layout'] = "Внешний вид форума";
$txt['theme_settings'] = "Настройки темы";
$txt['notifications'] = "Уведомления";

$txt['news_fader'] = "Бегущая строка (На всех страницах)";
$txt['news_boardindex_only'] = "Бегущая строка только на главной странице";
$txt['admin_fader_delay'] = "Скорость бегущей строки (в Миллисекундах)";

$txt['footer_blinks_state'] = "Отобразить дополнительные ссылки в нижнем колонтитуле";
$txt['footer_blinks_title'] = "Дополнительные ссылки в нижнем колонтитуле";
$txt['footer_blinks_link'] = "Текст ссылки";
$txt['footer_blinks_href_link'] = "Ссылка";

$txt['sunrise_support'] = 'Вы можете оказать мне поддержку при помощи <a href="http://sycho.22web.org/donate.php">Пожетвования</a>, Ваша поддержка мне очень сильно поможет :)'
$txt['sunrise_qs'] = 'Вопросы и Отзывы Вы можете опубликовать на форуме SMF <a href="https://www.simplemachines.org/community/index.php?PHPSESSID=9524eed2d3a0089bd0e5a19c7f66f6e3&topic=562339.0">Тема посвящённая SunRise</a>';
$txt['sunrise_custom'] = 'Нужна тема по индивидуальному заказу? <a href="http://sycho.22web.org">Найми меня</a>';
$txt['sunrise_skidayo'] = "Понравилась ли Вам эта Тема?";

$txt['sunrise_cpr'] = '<br />Разработанно с <i class="fas fa-heart" style="color:red"></i>   от <a href="http://sycho.22web.org/?ref='.$boardurl.'" target="_blank" class="tooltip" title="Портфолио">SychO</a>';

$txt['sr_mode_0'] = 'Выключить свет';
$txt['sr_mode_1'] = 'Включить свет';

$txt['translation_by'] = 'Авторы перевода';

?>


SychO

Thanks for the translation :)
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

melanie1986

 I really love this theme, still tweaking it at the moment on my test site before I add it to my main site. So I will probably be asking a few questions.

First up. Can I remove the sun and moon symbols from the header?


SychO

Yea, add this to index.css

.sunmoon { display:none; }
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

melanie1986

 that should work, where exactly on the css should I add that? I'm not overly confident with my css editing abilities.  :o

SychO

just add it at the end of the file, also make sure you hard refresh your page after that to see the changes.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

melanie1986

 worked beautifully! thank you. I have to say, this is one of the best looking themes I've seen for SMF. Congrats for that  :)

SychO

Quote from: melanie1986 on November 01, 2018, 04:48:29 PM
worked beautifully! thank you. I have to say, this is one of the best looking themes I've seen for SMF. Congrats for that  :)

Thank you :) do enjoy
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

whoey

stunning theme... played with it a bit, and loving the overall feel of it!

Might switch over once I have a moment to add all the mods we use as well as a bit of customization

SychO

Glad you like it ^^ thanks for the feedback
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

chadon

#93
Hi, first of all thank you for your work in this beautifull theme.
I just have one problem though. I would like to altenate the background colors of each post inside a topic page like we have here.
It can generally be done by specifying the colors of the windobg and windowbg2 tags but I changed the values into the sunrise.css and midnight.css files but it doesn't affect anything. Can you tell me where I have to look at?
Thank you.

SychO

Quote from: ForumMustang.com on November 06, 2018, 09:23:23 AM
Hi, first of all thank you for your work in this beautifull theme.

You're welcome

Add the following code in each of sunrise.css & midnight.css and edit the value of the bg color#forumposts .windowbg2 {
    background: #f3f3f3;
}


This will be the alternative color, Also make sure you hard refresh your page to see the changes(CTRL+F5)
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

chadon


whoey

I was going to say the same thing, seems like the CSS is there for alternating backgrounds, but commented out and another item is forcing it all to be white.

SychO

Nothing is forcing anything, it simply is not alternating colors is all.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

chadon

Quote from: whoey on November 06, 2018, 01:52:16 PM
I was going to say the same thing, seems like the CSS is there for alternating backgrounds, but commented out and another item is forcing it all to be white.
Yes that's what I thought too but nothing would alternate colors until I added the code SychO suggested.

whoey

It's not a criticism, just an observation, the posted fix did nothing for me, and looking at the CSS I could see where it is set but commented out, and some other CSS seems to be disallowing the change.

index.css has an error on line 1707:
0: 0.9em
assume it's meant to be "font-size"

Any reason there's 2 line breaks as well as CSS margin at the bottom of the header? (IMHO  makes for a big unnecessary gap between header and main content)

Advertisement: