<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Control center - custom css</title>
		<link>http://www.allegro.cc/forums/view/616090</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 12 Mar 2016 15:16:50 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I was messing with <a href="https://www.allegro.cc/cc/theme-css">this page</a> just now.<br />My custom css looks like this 
</p><div class="source-code snippet"><div class="inner"><pre>div.signature <span class="k2">{</span>
  display: block <span class="k3">!</span>important<span class="k2">;</span>
<span class="k2">}</span>
span.cuss <span class="k2">{</span>color:#<span class="n">888</span><span class="k2">}</span>
div.instructions <span class="k2">{</span> font-family: Lucida Handwriting Italic<span class="k2">;</span> <span class="k2">}</span>
</pre></div></div><p>
I noticed that the browser is putting in requests to <span class="source-code">https:<span class="c">//djungxnpq2nug.cloudfront.net/css/div.signature {  display: block !important</span></span><br /> and <span class="source-code">https:<span class="c">//djungxnpq2nug.cloudfront.net/css/}span.cuss {color:#888}div.instructions { font-family: Lucida Handwriting Italic</span></span><br />So is there something screwy going on with the CSS parser?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Tue, 01 Mar 2016 21:07:23 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I don&#39;t seem to experience this. Are you sure you&#39;re putting your CSS in the correct field? If you examine the network tab of your browser&#39;s debugger you can confirm which field(s) have which data in the post request. I&#39;m guessing you&#39;re sending CSS code as a URL field... It should also suffice to just inspect the input/textarea element and check its name attribute.</p><p>Mine looks like:</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span>div.mockup div.spoiler,
<span class="number">  2</span>div.mockup div.source-code
<span class="number">  3</span><span class="k2">{</span>
<span class="number">  4</span>    max-width: <span class="n">80e</span>m<span class="k2">;</span>
<span class="number">  5</span><span class="k2">}</span>
<span class="number">  6</span>
<span class="number">  7</span>div.mockup div.source-code div.inner td,
<span class="number">  8</span>div.mockup pre.source-code div.inner td
<span class="number">  9</span><span class="k2">{</span>
<span class="number"> 10</span>    font-family: monospace <span class="k3">!</span>important<span class="k2">;</span>
<span class="number"> 11</span>    font-size: <span class="n">12</span>px <span class="k3">!</span>important<span class="k2">;</span>
<span class="number"> 12</span>    line-height: <span class="n">1</span>.<span class="n">2</span> <span class="k3">!</span>important<span class="k2">;</span>
<span class="number"> 13</span><span class="k2">}</span>
<span class="number"> 14</span>
<span class="number"> 15</span>span.url <span class="k2">{</span>display: none<span class="k2">}</span>
<span class="number"> 16</span>
<span class="number"> 17</span><span class="p">#thread-list tr.bookmark td.topic</span>
<span class="number"> 18</span><span class="k2">{</span>
<span class="number"> 19</span>    font-weight: normal<span class="k2">;</span>
<span class="number"> 20</span><span class="k2">}</span>
<span class="number"> 21</span>
<span class="number"> 22</span>.avatar_1111 <span class="k2">{</span>visibility: hidden<span class="k2">;</span><span class="k2">}</span>
</div></div><p>

I tried posting it again to ensure it wasn&#39;t a new &quot;save&quot; bug... <img src="http://www.allegro.cc/forums/smileys/huh.gif" alt="???" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Tue, 01 Mar 2016 21:55:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Maybe I am &#39;special&#39; (my mum says I am) - I tried it on Firefox/windows and Safari/OSX with the same result.<br /><span class="remote-thumbnail"><span class="json">{"name":"610220","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/1\/8163bb1a0a0b46a8c6042508d6b29e36.png","w":2264,"h":1452,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/8\/1\/8163bb1a0a0b46a8c6042508d6b29e36"}</span><img src="http://www.allegro.cc//djungxnpq2nug.cloudfront.net/image/cache/8/1/8163bb1a0a0b46a8c6042508d6b29e36-240.jpg" alt="610220" width="240" height="153" /></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Wed, 02 Mar 2016 01:10:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>View the HTML. You should just see a call to /1136 on css. I don&#39;t see how anything a.cc could be doing would cause those network loads.</p><p>You should have quotes around <i>Lucida Handwriting Italic</i>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Thu, 03 Mar 2016 15:27:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616090/1020551#target">Matthew Leverton</a> said:</div><div class="quote"><p> You should have quotes around Lucida Handwriting Italic
</p></div></div><p><a href="https://www.w3.org/TR/css-fonts-3/#family-name-value">Nope</a>.<br />Depends what you mean by &#39;should&#39; - it&#39;s not required although it is recommended (I tried it both ways)</p><p>The request is coming from a file called <span class="source-code">theme-css.html</span>, the top of which looks like this:
</p><div class="source-code"><div class="toolbar"><span class="button numbers"><b>#</b></span><span class="button select">Select</span><span class="button expand">Expand</span></div><div class="inner"><span class="number">  1</span><span class="k3">&lt;</span><span class="k3">!</span>DOCTYPE html PUBLIC <span class="s">"-//W3C//DTD HTML 4.01 Transitional//EN"</span> <span class="s">"http://www.w3.org/TR/html4/loose.dtd"</span><span class="k3">&gt;</span>
<span class="number">  2</span><span class="k3">&lt;</span>html&gt;
<span class="number">  3</span><span class="k3">&lt;</span>head&gt;
<span class="number">  4</span><span class="k3">&lt;</span>title&gt;Control Center<span class="k3">&lt;</span><span class="k3">/</span>title&gt;
<span class="number">  5</span><span class="k3">&lt;</span>meta http-equiv<span class="k3">=</span><span class="s">"Content-Type"</span> content<span class="k3">=</span><span class="s">"text/html; charset=utf-8"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number">  6</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"stylesheet"</span> type<span class="k3">=</span><span class="s">"text/css"</span> media<span class="k3">=</span><span class="s">"screen, projection"</span> href<span class="k3">=</span><span class="s">"/theme/default/css/global.css"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number">  7</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"stylesheet"</span> type<span class="k3">=</span><span class="s">"text/css"</span> media<span class="k3">=</span><span class="s">"screen, projection"</span> href<span class="k3">=</span><span class="s">"/theme/default/css/cc.css"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number">  8</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"stylesheet"</span> type<span class="k3">=</span><span class="s">"text/css"</span> media<span class="k3">=</span><span class="s">"screen, projection"</span> href<span class="k3">=</span><span class="s">"/css/user.css/1136"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number">  9</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"stylesheet"</span> type<span class="k3">=</span><span class="s">"text/css"</span> media<span class="k3">=</span><span class="s">"screen, projection"</span> href<span class="k3">=</span><span class="s">"//djungxnpq2nug.cloudfront.net/css/div.signature {</span>
<span class="number"> 10</span><span class="s">  display: block !important"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number"> 11</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"stylesheet"</span> type<span class="k3">=</span><span class="s">"text/css"</span> media<span class="k3">=</span><span class="s">"screen, projection"</span> href<span class="k3">=</span><span class="s">"//djungxnpq2nug.cloudfront.net/css/</span>
<span class="number"> 12</span><span class="s">}</span>
<span class="number"> 13</span><span class="s">span.cuss {color:#888}</span>
<span class="number"> 14</span><span class="s">div.instructions { font-family: Lucida Handwriting Italic"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number"> 15</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"stylesheet"</span> type<span class="k3">=</span><span class="s">"text/css"</span> media<span class="k3">=</span><span class="s">"screen, projection"</span> href<span class="k3">=</span><span class="s">"//djungxnpq2nug.cloudfront.net/css/ }"</span> <span class="k3">/</span><span class="k3">&gt;</span>
<span class="number"> 16</span><span class="k3">&lt;</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_531.html" target="_blank">link</a> rel<span class="k3">=</span><span class="s">"search"</span> type<span class="k3">=</span><span class="s">"application/opensearchdescription+xml"</span> title<span class="k3">=</span><span class="s">"Allegro.cc"</span> href<span class="k3">=</span><span class="s">"/opensearch.xml"</span> <span class="k3">/</span><span class="k3">&gt;</span>
</div></div><p>

And (if it&#39;s relevant) my user css code (from <a href="https://www.allegro.cc/css/user.css/1136">https://www.allegro.cc/css/user.css/1136</a>) looks like this:
</p><div class="source-code snippet"><div class="inner"><pre><span class="c">/* --------------- REMOTE LINKS --------------- */</span>
div.signature span.url <span class="k2">{</span>
  display: none<span class="k2">;</span>
<span class="k2">}</span>

div.signature <span class="k2">{</span>
  display: block <span class="k3">!</span>important<span class="k2">;</span>
<span class="k2">}</span>
span.cuss <span class="k2">{</span>color:#<span class="n">888</span><span class="k2">}</span>
div.instructions <span class="k2">{</span> font-family: Lucida Handwriting Italic<span class="k2">;</span> <span class="k2">}</span>
</pre></div></div><p>
with an extra rule at the top which isn&#39;t in the rules shown on the page.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Thu, 03 Mar 2016 18:38:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Does anyone have a good, dark theme I could just plunk in there?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Fri, 04 Mar 2016 09:58:43 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Oy, Weems, no! Get out of my thread! <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Fri, 04 Mar 2016 20:32:20 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It sounds like Peter is trying to hide something.  <img src="http://www.allegro.cc/forums/smileys/lipsrsealed.gif" alt=":-X" /></p><p>Either way, changes only seem to be reflected when linking to an external CSS file, not when filling in the &quot;Custom CSS&quot; text box.</p><p>... Never mind.  It was a cache issue.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Gideon Weems)</author>
		<pubDate>Sat, 05 Mar 2016 20:15:55 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>And what is causing this &quot;theme-css.html&quot; to load?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Fri, 11 Mar 2016 22:44:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title"><a href="http://www.allegro.cc/forums/thread/616090/1020714#target">Matthew Leverton</a> said:</div><div class="quote"><p> And what is causing this &quot;theme-css.html&quot; to load?
</p></div></div><p>Me. That&#39;s the name of the page where I am making my settings.<br />See attachments. I have a horrible feeling I&#39;m doing something stoopid. Is there anything I can do to be more helpful?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sat, 12 Mar 2016 02:23:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I can see the same thing if I go to <a href="https://www.allegro.cc/cc/theme-css">https://www.allegro.cc/cc/theme-css</a> with firefox:
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
GET /css/span.cuss%20%7B%20%20%20%20visibility:%20visible%20!important HTTP/1.1<br />Host: djungxnpq2nug.cloudfront.net<br />...
</p></div></div><p>

And the response:
</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
HTTP/1.1 302 Moved Temporarily<br />Location: <a href="http://www.allegro.cc/s404/css/span.cuss%20%7B%20%20%20%20visibility:%20visible%20!important">http://www.allegro.cc/s404/css/span.cuss%20%7B%20%20%20%20visibility:%20visible%20!important</a><br />...
</p></div></div><p>

I&#39;d just assume this is some kind of caching mechanism used by allegro.cc - I have no idea how it works though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Elias)</author>
		<pubDate>Sat, 12 Mar 2016 08:39:36 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Confirmed. The theme-css page appears to be severely broken. <img src="http://www.allegro.cc/forums/smileys/tongue.gif" alt=":P" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (bamccaig)</author>
		<pubDate>Sat, 12 Mar 2016 09:31:13 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Right. I initially thought it was every page but I think it&#39;s just the CSS editing page that does it.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sat, 12 Mar 2016 15:16:50 +0000</pubDate>
	</item>
</rss>
