Difference between revisions of "User agent stylesheet"

From PowerUI
Jump to: navigation, search
(Created page with "Like ordinary web browsers, PowerUI also contains its own user agent stylesheet. It's mainly a slightly modified version of the ones from Gecko (Firefox). In here you'll find...")
 
Line 1: Line 1:
 
Like ordinary web browsers, PowerUI also contains its own user agent stylesheet. It's mainly a slightly modified version of the ones from Gecko (Firefox). In here you'll find the default styling for things like the scrollbars and buttons etc, and it's available at this location:
 
Like ordinary web browsers, PowerUI also contains its own user agent stylesheet. It's mainly a slightly modified version of the ones from Gecko (Firefox). In here you'll find the default styling for things like the scrollbars and buttons etc, and it's available at this location:
  
 +
<blockquote>
 
PowerUI/Resources/xhtml-style.html
 
PowerUI/Resources/xhtml-style.html
 +
</blockquote>
  
 
''Note that it is actually a .css file but Unity doesn't recognise 'css' as a text file type.''
 
''Note that it is actually a .css file but Unity doesn't recognise 'css' as a text file type.''
Line 7: Line 9:
 
There's a few other stylesheets around, such as the one for MathML:
 
There's a few other stylesheets around, such as the one for MathML:
  
 +
<blockquote>
 
PowerUI/Source/Extras/MathML/Resources/mml-style.html
 
PowerUI/Source/Extras/MathML/Resources/mml-style.html
 +
</blockquote>

Revision as of 20:02, 13 January 2017

Like ordinary web browsers, PowerUI also contains its own user agent stylesheet. It's mainly a slightly modified version of the ones from Gecko (Firefox). In here you'll find the default styling for things like the scrollbars and buttons etc, and it's available at this location:

PowerUI/Resources/xhtml-style.html

Note that it is actually a .css file but Unity doesn't recognise 'css' as a text file type.

There's a few other stylesheets around, such as the one for MathML:

PowerUI/Source/Extras/MathML/Resources/mml-style.html