Permalink
Browse files

Bust cache, color shorthands, fix dev flag

  • Loading branch information...
1 parent bee0bf3 commit cf9396581412e2a46d7735e501b705580bda3cf3 @lonekorean committed Nov 27, 2016
View
@@ -16,7 +16,7 @@ public class PageBase : System.Web.UI.Page
#region Constants
- private const string CACHE_KEY = "10-20-2016";
+ private const string CACHE_KEY = "11-27-2016";
#endregion
@@ -33,7 +33,7 @@ public class PageBase : System.Web.UI.Page
public bool IsDevEnvironment
{
- get { return (Request.Url.Host == "dev.regexstorm.net"); }
+ get { return HttpContext.Current.Request.IsLocal; }
}
public string RawPath
@@ -72,7 +72,7 @@ protected void PageBase_PreInit(object sender, EventArgs e)
AddStylesheet("~/Stylesheets/Base.css");
AddJavascript("http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js");
- // sessoin flag for excluding stats (so I can view the site in prod without google analytics)
+ // session flag for excluding stats (so I can view the site in prod without google analytics)
string excludeStats = Request.QueryString["excludestats"] ?? "";
if (excludeStats == "true" || IsDevEnvironment)
{
@@ -12,7 +12,7 @@ body
margin: 0px;
font-family: Arial, Sans-Serif;
font-size: 14px;
- color: #333333;
+ color: #333;
background-color: #e2e2e2;
background-image: url(../Images/body_back.gif);
}
@@ -50,7 +50,7 @@ a:hover
.nav_back
{
background-color: #2e2e2e;
- border-bottom: solid 1px #000000;
+ border-bottom: solid 1px #000;
}
.nav_wrap
@@ -59,7 +59,7 @@ a:hover
height: 36px;
margin: 0px auto;
text-align: right;
- color: #ffffff;
+ color: #fff;
}
.nav_wrap ul
@@ -83,7 +83,7 @@ a:hover
background: url(../Images/nav_divider.gif) no-repeat right center;
height: 16px;
padding: 10px 30px;
- color: #ffffff;
+ color: #fff;
}
.nav_wrap ul li a:hover
@@ -163,7 +163,7 @@ a:hover
.footer_back
{
height: 170px;
- border-top: solid 1px #ffffff;
+ border-top: solid 1px #fff;
background: #3f3f3f url(../Images/footer_fade.png) repeat-x;
}
@@ -174,7 +174,7 @@ a:hover
width: 918px;
height: 130px;
background: url(../Images/footer_leaves.png) no-repeat bottom right;
- color: #ffffff;
+ color: #fff;
}
.footer_block
@@ -187,10 +187,10 @@ a:hover
.footer_block_title
{
letter-spacing: 2px;
- color: #cccccc;
+ color: #ccc;
text-transform: uppercase;
padding-bottom: 10px;
- border-bottom: dotted 1px #666666;
+ border-bottom: dotted 1px #666;
margin-bottom: 10px;
background-repeat: no-repeat;
background-position: 0px 1px;
@@ -227,8 +227,8 @@ a:hover
float: left;
margin: 0px 10px 2px 10px;
padding: 2px 0px 2px 4px;
- border-bottom: dotted 1px #666666;
- color: #ffffff;
+ border-bottom: dotted 1px #666;
+ color: #fff;
width: 103px;
}
@@ -11,16 +11,16 @@
float: right;
width: 244px;
padding: 20px 20px 0px 20px;
- background-color: #ffffff;
- border: solid 1px #cccccc;
+ background-color: #fff;
+ border: solid 1px #ccc;
margin-left: 20px;
}
.updates_title
{
font-weight: bold;
padding-bottom: 10px;
- border-bottom: dotted 1px #cccccc;
+ border-bottom: dotted 1px #ccc;
margin-bottom: 10px;
}
@@ -46,7 +46,7 @@
.update_item_blurb
{
- color: #666666;
+ color: #666;
line-height: 140%;
}
@@ -22,8 +22,8 @@
height: 17px;
padding: 4px 0px;
margin: 0px;
- border-top: solid 1px #cccccc;
- border-bottom: solid 1px #cccccc;
+ border-top: solid 1px #ccc;
+ border-bottom: solid 1px #ccc;
border-left-style: none;
border-right-style: none;
background-color: #f7f7f7;
@@ -37,7 +37,7 @@
font-size: 12px;
font-family: Arial, Sans-Serif;
font-style: italic;
- color: #999999;
+ color: #999;
}
.element_search_button_wrap
@@ -72,21 +72,21 @@
font-weight: bold;
color: #464646;
padding: 16px 0px 4px 0px;
- border-bottom: solid 1px #cccccc;
+ border-bottom: solid 1px #ccc;
}
.ref_table td
{
position: relative; /* fixes IE cell display isses */
vertical-align: top;
- border-bottom: solid 1px #cccccc;
+ border-bottom: solid 1px #ccc;
}
.ref_table td em
{
font-weight: normal;
background-color: #f2f2f2;
- border: dashed 1px #cccccc;
+ border: dashed 1px #ccc;
padding: 1px;
}
@@ -66,7 +66,7 @@
{
float: left;
clear: left;
- border: solid 1px #cccccc;
+ border: solid 1px #ccc;
border-radius: 5px;
width: 696px;
padding: 6px;
@@ -205,7 +205,7 @@ pre
overflow: auto;
padding: 10px;
border-radius: 5px;
- border: solid 1px #cccccc;
+ border: solid 1px #ccc;
background: #f7f7f7 url(../Images/input_fade.png) repeat-x;
}
@@ -214,7 +214,7 @@ pre
clear: both;
overflow: auto;
padding-bottom: 8px;
- border-bottom: dotted 1px #cccccc;
+ border-bottom: dotted 1px #ccc;
margin-bottom: 6px;
}
@@ -267,8 +267,8 @@ pre
border-radius: 5px;
padding: 2px;
margin: 2px 0 0;
- border: solid 1px #cccccc;
- background-color: #ffffff;
+ border: solid 1px #ccc;
+ background-color: #fff;
font-size: 14px;
font-family: 'Droid Sans Mono', monospace;
text-align: right;
@@ -312,10 +312,10 @@ pre
{
float: left;
margin-right: 4px;
- border: solid 1px #cccccc;
+ border: solid 1px #ccc;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
- background: #eeeeee url(../Images/detail_tab_back.png) repeat-x;
+ background: #eee url(../Images/detail_tab_back.png) repeat-x;
}
.details_tabs li.details_tab_active
@@ -356,7 +356,7 @@ pre
.details_content
{
overflow: auto;
- border: solid 1px #cccccc;
+ border: solid 1px #ccc;
border-top: none;
padding: 10px 20px;
margin: 0px 30px;
@@ -367,7 +367,7 @@ pre
.details_content_no_script
{
margin-top: 20px;
- border-top: solid 1px #cccccc;
+ border-top: solid 1px #ccc;
}
.details_section
@@ -396,7 +396,7 @@ pre
.split_list li span.non-lit,
.captures ol li span.non-lit
{
- color: #999999;
+ color: #999;
font-style: italic;
}
@@ -432,21 +432,21 @@ pre
.permalink_input
{
- border: dotted 1px #cccccc;
+ border: dotted 1px #ccc;
background: url(../Images/Icons/permalink.png) no-repeat 6px 7px;
padding: 6px 6px 6px 26px;
- color: #666666;
+ color: #666;
width: 820px;
font-family: 'Droid Sans Mono', monospace;
- background-color: #ffffff;
+ background-color: #fff;
font-size: 14px;
}
.details_table_wrap
{
float: left;
width: 852px;
- border: solid 1px #cccccc;
+ border: solid 1px #ccc;
overflow: auto;
}
@@ -459,13 +459,13 @@ pre
.details_table_header_row
{
text-align: left;
- background-color: #999999;
+ background-color: #999;
background: url(../Images/table_header_back.gif) repeat-x;
}
.details_table tr.odd
{
- background-color: #ffffff;
+ background-color: #fff;
}
.details_table tr.even
@@ -476,16 +476,16 @@ pre
.details_table th
{
padding: 6px;
- border-left: solid 1px #cccccc;
+ border-left: solid 1px #ccc;
text-align: left;
white-space: nowrap;
}
.details_table td
{
padding: 6px;
- border-left: solid 1px #cccccc;
- border-top: solid 1px #cccccc;
+ border-left: solid 1px #ccc;
+ border-top: solid 1px #ccc;
vertical-align: top;
line-height: 140%;
}
@@ -504,7 +504,7 @@ pre
span.captures_count
{
- color: #999999;
+ color: #999;
margin-top: 2px;
white-space: nowrap;
}
@@ -514,7 +514,7 @@ a.captures_count
display: block;
background-image: url(../Images/Icons/bullet_toggle_plus.png);
background-repeat: no-repeat;
- background-position: 1px 4px;
+ background-position: 1px 5px;
padding-left: 12px;
margin-top: 2px;
white-space: nowrap;
@@ -533,19 +533,19 @@ a.captures_count
.captures ol li
{
padding-top: 2px;
- color: #999999;
+ color: #999;
}
.captures ol li span
{
- color: #333333;
+ color: #333;
}
.captures_remaining
{
white-space: nowrap;
padding-top: 2px;
- color: #999999;
+ color: #999;
font-style: italic;
}
@@ -559,9 +559,9 @@ a.captures_count
.details_context_no_script
{
- border: solid 1px #cccccc;
+ border: solid 1px #ccc;
padding: 10px;
- background-color: #ffffff;
+ background-color: #fff;
}
.details_context em
@@ -587,8 +587,8 @@ a.captures_count
{
margin: 0px;
padding: 6px 6px 6px 49px;
- border: solid 1px #cccccc;
- background-color: #ffffff;
+ border: solid 1px #ccc;
+ background-color: #fff;
}
.split_list li:first-child
@@ -599,11 +599,11 @@ a.captures_count
.split_list li
{
padding: 4px 0px;
- color: #999999;
+ color: #999;
border-top: solid 1px #e2e2e2;
}
.split_list li span
{
- color: #333333;
+ color: #333;
}

0 comments on commit cf93965

Please sign in to comment.