• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[Available via Style Properties] change background color of DELETE NOTICE

swatme

Well-known member
#1
when you delete the first post "unnoticeably"
you will have notice below color blue background
Note: This is the first post in the thread. Deleting it will delete the whole thread.


i suggest to have the background color change to more ATTRACTIVE color
or even just the text color maybe red.

to avoid accidental deletion of whole thread.

thinking that you selected the secondpost and youve unnoticed the
important note, bam whole thread deleted because the notice
is "unnoticeable" :)
 

Brogan

XenForo moderator
Staff member
#2
The colours are taken from the color palette.

You can change this yourself by changing it in Style Properties -> Form-Type Overlays: Sub-Heading

Or by editing xenforo_overlay.css
Code:
.xenOverlay .formOverlay .subHeading {
@property "formOverlaySubHeading";
font-size: 11px;
color: @primaryLightest;
background-color: @primaryMedium;
padding: 5px 10px;
margin-bottom: 10px;
border: 1px solid @primaryDark;
border-radius: 3px;
@property "/formOverlaySubHeading"; }
Or by adding some code to EXTRA.css for this class: .xenOverlay .formOverlay .subHeading
 

swatme

Well-known member
#3
is there such thing as TEMPLATE MAPPING
where it shows which specific file this section of the style is?

the hard part is identifying whats the name of that part in the template :)
so a mapping with the name of that part will help :)
 

Nasr

Well-known member
#4
The colours are taken from the color palette.

You can change this yourself by changing it in Style Properties -> Form-Type Overlays: Sub-Heading

Or by editing xenforo_overlay.css
Code:
.xenOverlay .formOverlay .subHeading {
@property "formOverlaySubHeading";
font-size: 11px;
color: @primaryLightest;
background-color: @primaryMedium;
padding: 5px 10px;
margin-bottom: 10px;
border: 1px solid @primaryDark;
border-radius: 3px;
@property "/formOverlaySubHeading"; }
Or by adding some code to EXTRA.css for this class: .xenOverlay .formOverlay .subHeading
is there such thing as TEMPLATE MAPPING
where it shows which specific file this section of the style is?

the hard part is identifying whats the name of that part in the template :)
so a mapping with the name of that part will help :)
;)
 

Brogan

XenForo moderator
Staff member
#5
is there such thing as TEMPLATE MAPPING
where it shows which specific file this section of the style is?
If you view the page source or use Firebug, the content class will identify the main template:

class.PNG

For a thread it's the thread_view template.

From there you can see all associated templates in the ACP.

The @property "formOverlaySubHeading" relates directly to the Style Property.
If you mouse over each one, the class name will pop up in a tooltip.

tooltip.png

This may be of some help: http://xenforo.com/help/styling/