<div dir="ltr">was hoping for a unique user agent.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 21, 2017 at 4:01 PM, Sebastian Silva <span dir="ltr"><<a href="mailto:sebastian@fuentelibre.org" target="_blank">sebastian@fuentelibre.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi Tim,</p>
<p>Sugar web uses the following conditional css link to include
styles for the XO:</p>
<p> <link rel="stylesheet" media="screen and (device-width:
1200px) and (device-height: 900px)"<br>
href="lib/sugar-web/graphics/<wbr>css/sugar-200dpi.css"><br>
</p>
I haven't run into other devices with this particular screen size, I
think it's a safe bet to try.<br>
<br>
Regards<br>
Sebastian<span class=""><br>
<br>
<br>
<div class="m_4398321700462159926moz-cite-prefix">On 21/05/17 12:56, Tim Moody wrote:<br>
</div>
</span><blockquote type="cite"><span class="">
<div dir="ltr">we are including xo-common.css for all user agents
to internet in a box. is there a browser detection scheme I
can use for an xo, especially one that I can use in javascript
so we only include this css if the user has an xo?
<div><br>
</div>
<div>Thanks.</div>
</div>
<br>
<fieldset class="m_4398321700462159926mimeAttachmentHeader"></fieldset>
<br>
</span><pre>______________________________<wbr>_________________
Sugar-devel mailing list
<a class="m_4398321700462159926moz-txt-link-abbreviated" href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.<wbr>org</a>
<a class="m_4398321700462159926moz-txt-link-freetext" href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/<wbr>listinfo/sugar-devel</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>