prosilver French edition

Have found a conflict with an extension - prosilver French edition

Re: Have found a conflict with an extension

by Bruce Banner » Mon Nov 20, 2023 12:38 am

One more, for now.

viewtopic.php?t=2590871

Lights on
Capture.PNG
Lights off
Capture2.PNG
Attachments
tatiana5.zip
(244.3 KiB) Downloaded 21 times
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: Have found a conflict with an extension

by cabot » Mon Nov 20, 2023 12:38 pm

Check

tatiana_popuppm_prosilver_fr.zip
(899 Bytes) Downloaded 30 times
User avatar
cabot
Jr. Style Validator
Posts: 1033
Joined: Sat Jan 07, 2012 4:16 pm

Re: Have found a conflict with an extension

by Bruce Banner » Mon Nov 20, 2023 12:43 pm

cabot wrote:Check

tatiana_popuppm_prosilver_fr.zip
Great, thanks. Not able to check that just yet but I'm sure it'll do the job great. :D
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: Have found a conflict with an extension

by Bruce Banner » Mon Nov 20, 2023 4:56 pm

Just have checked it now and it does work great, thanks! :D
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: Have found a conflict with an extension

by cabot » Mon Nov 20, 2023 6:13 pm

👍
User avatar
cabot
Jr. Style Validator
Posts: 1033
Joined: Sat Jan 07, 2012 4:16 pm

Re: Have found a conflict with an extension

by bennybernaer » Tue Nov 28, 2023 7:04 am

Hi cabot,

How can I make the color change between light and dark for topic example?

https://www.phpbb.com/customise/db/exte ... icpreview/
User avatar
bennybernaer
Registered User
Posts: 737
Joined: Tue Mar 22, 2011 9:53 pm

Re: Have found a conflict with an extension

by cabot » Tue Nov 28, 2023 9:22 am

Hello,
vse_topicpreview_prosilver_fr.zip
(1.01 KiB) Downloaded 26 times
User avatar
cabot
Jr. Style Validator
Posts: 1033
Joined: Sat Jan 07, 2012 4:16 pm

Re: Have found a conflict with an extension

by bennybernaer » Tue Nov 28, 2023 10:13 am

Thank you very much carbot! I took a look at your changes. Is it always that file that you have to adjust in terms of CSS?

There are some extensions (including cbb-chat & cbb-reactions) that only change between light and dark when you right the page). But somehow I also want to be able to do it myself, without always asking here, if I know what to look for.
User avatar
bennybernaer
Registered User
Posts: 737
Joined: Tue Mar 22, 2011 9:53 pm

Re: Have found a conflict with an extension

by cabot » Tue Nov 28, 2023 11:14 am

The folder contained in the archive only concerns the Topic Preview extension.

But you can also create a custom style sheet containing the CSS modifications for the extensions you use.
viewtopic.php?p=15933066#p15933066
User avatar
cabot
Jr. Style Validator
Posts: 1033
Joined: Sat Jan 07, 2012 4:16 pm

Re: Have found a conflict with an extension

by Bruce Banner » Tue Feb 13, 2024 10:57 pm

Hi again. That last file you posted for benny came in very handy for me too so thanks for that. Here's another extension there's a problem with.

https://www.phpbb.com/customise/db/exte ... te_bbcode/

Lights on,
Capture.PNG
Capture.PNG (1.48 KiB) Viewed 30 times
Lights off,
Capture2.png
Capture2.png (1.5 KiB) Viewed 30 times
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: Have found a conflict with an extension

by cabot » Wed Feb 14, 2024 11:04 am

Hello,

You can add the folder contained in this archive to the styles/ directory of the extension:
notebbcode_prosilver_fr.zip
(917 Bytes) Downloaded 22 times

Or add this to your custom stylesheet if you have one:

Code: Select all

html,
[data-theme=light] {
	--info-note-shadow: var(--color05);
}

@media (prefers-color-scheme:dark) {
	html {
		--info-note-shadow: var(--color02);
	}
}
[data-theme=dark] {
	--info-note-shadow: var(--color02);
}

.prosilver_fr #info_note table {
	background-color: var(--color02);
}

.prosilver_fr #info_note {
	box-shadow: 1px 2px 4px 1px var(--info-note-shadow);
}

.prosilver_fr .prime_bbcode_note_spur,
.prosilver_fr #note-close {
	background: none;
}

.prime_bbcode_note_spur::after,
#note-close::after {
	display: inline-block;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	font-size: 1em;
	line-height: 1;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	vertical-align: inherit;
}

.prime_bbcode_note_spur::after {
	content: '\f05a';
	margin-left: 0.15em;
}

#note-close::after {
	content: '\f057';
	font-size: 1.2em;
}
User avatar
cabot
Jr. Style Validator
Posts: 1033
Joined: Sat Jan 07, 2012 4:16 pm

Re: Have found a conflict with an extension

by Bruce Banner » Wed Feb 14, 2024 6:46 pm

cabot wrote:Hello,

You can add the folder contained in this archive to the styles/ directory of the extension:
notebbcode_prosilver_fr.zip
I don't have a custom stylesheet but that zip file worked great, thanks! :D
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am