Ширина форума. Можно менять

Здесь наше правительство. Обсуждаем какой нашей беседке быть, как выглядеть, категории, правила нашего поведения, наказания и назначаем наших шерифов и их помошников
Аватара пользователя
Сева
Сообщения: 657
Зарегистрирован: 29 янв 2002, 09:01
Благодарил (а): 14 раз
Поблагодарили: 25 раз

Ширина форума. Можно менять

Сообщение Сева »

sergant писал(а): 12 мар 2025, 17:59 Можно по"grep"ить по стилям и поменять.
Ничё команда не вернула увы
Я попробовал

Код: Выделить всё

cd forumfolder;egrep -r 'p class.*jumpbox.*' *
#Output:
ext/simplicity/template/jumpbox.html:   <p class="jumpbox-return">
ext/simplicity/template/jumpbox.html:   <p class="jumpbox-return">
ext/simplicity/template/jumpbox.html:   <p class="jumpbox-return">
ext/simplicity/template/jumpbox.html:   <p class="jumpbox-return">
styles/prosilver/template/jumpbox.html: <p class="jumpbox-return">
styles/prosilver/template/jumpbox.html: <p class="jumpbox-return">
styles/prosilver/template/jumpbox.html: <p class="jumpbox-return">
styles/prosilver/template/jumpbox.html: <p class="jumpbox-return">
styles/WildWest/template/jumpbox.html:  <p class="jumpbox-return">
styles/WildWest/template/jumpbox.html:  <p class="jumpbox-return">
styles/WildWest/template/jumpbox.html:  <p class="jumpbox-return">
styles/WildWest/template/jumpbox.html:  <p class="jumpbox-return">
Команда

Код: Выделить всё

egrep -r '[b]p[/b] class.*style="display:' *
ничего не нашла

Если без "p", то есть "egrep -r 'class.*style="display:' *"
то прорва результатов

Для ясности:

Код: Выделить всё

egrep -r 'class.*style="display:' *|cut -d":" -f1
выдаёт файлы

Код: Выделить всё

adm/style/permission_mask.html
adm/style/permission_mask.html
adm/style/acp_permission_roles.html
adm/style/acp_permission_roles.html
adm/style/acp_permission_roles.html
adm/style/acp_forums.html
adm/style/acp_forums.html
adm/style/acp_modules.html
adm/style/acp_modules.html
adm/style/acp_icons.html
adm/style/acp_icons.html
adm/style/acp_reasons.html
adm/style/acp_reasons.html
adm/style/admin.js
adm/style/acp_groups_position.html
adm/style/acp_groups_position.html
adm/style/acp_groups_position.html
adm/style/acp_groups_position.html
adm/style/acp_profile.html
adm/style/acp_profile.html
adm/style/acp_styles.html
cache/production/s9e_renderer_7e2613d6463c8cd6d08156b98388781860eceae6.php
cache/production/s9e_renderer_7e2613d6463c8cd6d08156b98388781860eceae6.php
cache/production/s9e_renderer_7e2613d6463c8cd6d08156b98388781860eceae6.php
ext/boardtools/quickreply/styles/all/template/event/search_results_post_before.html
ext/boardtools/quickreply/styles/all/template/quickreply_style.js
ext/boardtools/quickreply/styles/prosilver/template/quickreply_template.html
ext/gfksx/thanksforposts/styles/prosilver/template/toplist_body.html
ext/gfksx/thanksforposts/styles/prosilver/template/toplist_body.html
ext/gfksx/thanksforposts/styles/prosilver/template/toplist_body.html
ext/simplicity/template/memberlist_body.html
ext/simplicity/template/viewtopic_body.html
ext/simplicity/template/overall_footer.html
ext/simplicity/template/forum_fn.js
ext/simplicity/template/forum_fn.js
ext/simplicity/template/forum_fn.js
ext/simplicity/template/forum_fn.js
ext/simplicity/template/forum_fn.js
ext/simplicity/template/viewforum_body.html
ext/simplicity/template/viewforum_body.html
ext/simplicity/template/forumlist_body.html
ext/simplicity/template/forumlist_body.html
ext/simplicity/template/search_results.html
ext/simplicity/template/search_results.html
mobiquo/mbqFrame/MbqBaseStatus.php
mobiquo/mbqFrame/MbqBaseStatus.php
mobiquo/mbqFrame/MbqBaseStatus.php
styles/prosilver/template/memberlist_body.html
styles/prosilver/template/viewforum_body.html
styles/prosilver/template/viewforum_body.html
styles/prosilver/template/ucp_main_drafts.html
styles/prosilver/template/forumlist_body.html
styles/prosilver/template/viewtopic_body.html
styles/prosilver/template/ucp_main_bookmarks.html
styles/prosilver/template/ucp_main_subscribed.html
styles/prosilver/template/ucp_main_subscribed.html
styles/prosilver/template/timezone_option.html
styles/prosilver/template/overall_footer.html
styles/prosilver/template/mcp_forum.html
styles/prosilver/template/mcp_forum.html
styles/prosilver/template/search_results.html
styles/prosilver/template/search_results.html
styles/prosilver/template/drafts.html
styles/prosilver/template/ucp_main_front.html
styles/prosilver/template/forum_fn.js
styles/prosilver/template/forum_fn.js
styles/prosilver/template/forum_fn.js
styles/prosilver/template/mcp_reports.html
styles/prosilver/template/mcp_reports.html
styles/AllanStyle-SUBSILVER/template/forumlist_body.html
styles/AllanStyle-SUBSILVER/template/overall_footer.html
styles/AllanStyle-SUBSILVER/template/viewtopic_body.html
styles/prosilver_se/template/overall_footer.html
styles/se_square/template/overall_footer.html
styles/se_square/template/viewtopic_body.html
styles/se_square_left/template/overall_footer.html
styles/se_square_left/template/viewtopic_body.html
styles/acidtech/template/ucp_pm_history.html
styles/AllanStyleShadowGlow/template/viewtopic_body.html
styles/AllanStyleShadowGlow/template/overall_footer.html
styles/AllanStyleShadowGlow/template/viewforum_body.html
styles/AllanStyleShadowGlow/template/viewforum_body.html
styles/AllanStyleShadowGlow/template/forumlist_body.html
styles/AllanStyleShadowGlow/template/search_results.html
styles/AllanStyleShadowGlow/template/search_results.html
styles/AnimeZone/template/ucp_pm_history.html
styles/AnimeZone/template/timezone_option.html
styles/black_pearl/template/ucp_pm_history.html
styles/milky_way_red/template/ucp_pm_history.html
styles/milky_way_red/template/ucp_pm_history.html
styles/milky_way_red/template/ucp_pm_viewmessage.html
styles/RedSilver3/template/ucp_pm_history.html
styles/The_Doors/template/ucp_pm_history.html
styles/Orange_BBEs/template/viewtopic_body.html
styles/Orange_BBEs/template/overall_footer.html
styles/Orange_BBEs/template/viewforum_body.html
styles/Orange_BBEs/template/viewforum_body.html
styles/Orange_BBEs/template/forumlist_body.html
styles/pro_ubuntu_lucid/template/viewtopic_body.html
styles/pro_ubuntu_lucid/template/overall_footer.html
styles/pro_ubuntu_lucid/template/forumlist_body.html
styles/rockn_roll/template/viewtopic_body.html
styles/rockn_roll/template/overall_footer.html
styles/WildWest/template/memberlist_body.html
styles/WildWest/template/mcp_reports.html
styles/WildWest/template/mcp_reports.html
styles/WildWest/template/viewtopic_body.html
styles/WildWest/template/ucp_main_bookmarks.html
styles/WildWest/template/ucp_main_subscribed.html
styles/WildWest/template/ucp_main_subscribed.html
styles/WildWest/template/overall_footer.html
styles/WildWest/template/mcp_forum.html
styles/WildWest/template/mcp_forum.html
styles/WildWest/template/viewforum_body.html
styles/WildWest/template/viewforum_body.html
styles/WildWest/template/forumlist_body.html
styles/WildWest/template/ucp_main_front.html
styles/WildWest/template/search_results.html
styles/WildWest/template/search_results.html
styles/ProsilverSlideEdition/template/overall_footer.html
vendor/s9e/text-formatter/src/Bundles/Forum/Renderer.php
vendor/s9e/text-formatter/src/Bundles/Forum/Renderer.php
vendor/s9e/text-formatter/src/Bundles/Fatdown/Renderer.php
vendor/s9e/text-formatter/src/Bundles/Fatdown/Renderer.php
vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator/repository.xml
Ну это если раньше вдруг имели дело с движками phpBB
sergant
Сообщения: 73
Зарегистрирован: 10 мар 2025, 18:32
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Ширина форума. Можно менять

Сообщение sergant »

Изображение
файл "responsive.css" строка 76
заменить "none" -> "inline"
Аватара пользователя
Сева
Сообщения: 657
Зарегистрирован: 29 янв 2002, 09:01
Благодарил (а): 14 раз
Поблагодарили: 25 раз

Ширина форума. Можно менять

Сообщение Сева »

sergant писал(а): 12 мар 2025, 19:14 файл "responsive.css" строка 76
заменить "none" -> "inline"
Увы, нет там такого вхождения :(
styles/prosilver/theme/responsive.css

Ну это в основном дефолтовом стиле
sergant
Сообщения: 73
Зарегистрирован: 10 мар 2025, 18:32
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Ширина форума. Можно менять

Сообщение sergant »

Есть!

Код: Выделить всё

@media (max-width: 500px) {
	dd label {
		white-space: normal;
	}

	select, .inputbox {
		max-width: 260px;
	}

	.captcha-panel dd.captcha {
		margin-left: 0;
	}

	.captcha-panel dd.captcha-image img {
		width: 100%;
	}

	dl.details dt, dl.details dd {
		width: auto;
		float: none;
		text-align: left;
	}

	dl.details dd {
		margin-left: 20px;
	}

	p.responsive-center {
		float: none;
		text-align: center;
		margin-bottom: 5px;
	}

	.action-bar > div {
		margin-bottom: 5px;
 	}

	.action-bar > .pagination {
		float: none;
		clear: both;
		padding-bottom: 1px;
		text-align: center;
	}

	.action-bar > .pagination li.page-jump {
		margin: 0 2px;
	}

	p.jumpbox-return {
		display: none; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
	}

	.display-options > label:nth-child(1) {
		display: block;
		margin-bottom: 5px;
	}

	.attach-controls {
		margin-top: 5px;
		width: 100%;
	}

	.quick-links .dropdown-trigger span {
		display: none;
	}
}
Аватара пользователя
Сева
Сообщения: 657
Зарегистрирован: 29 янв 2002, 09:01
Благодарил (а): 14 раз
Поблагодарили: 25 раз

Ширина форума. Можно менять

Сообщение Сева »

sergant писал(а): 13 мар 2025, 15:17Есть!
ОК, каюсь, просмотрел.
77ю строку поменял (ссылка та же), чё-т поменялось (при изображении на мобилах таблетках) ?
sergant
Сообщения: 73
Зарегистрирован: 10 мар 2025, 18:32
Благодарил (а): 6 раз
Поблагодарили: 11 раз

Ширина форума. Можно менять

Сообщение sergant »

Теперь ссылка НЕ исчезает
Ответить