File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 85
85
< body >
86
86
87
87
< div class ="top ">
88
- < h1 class ="icon regexr-logo "> </ h1 > < h1 class ="regexr-text "> RegExr</ h1 > < span class ="version regexr-text "> v2.0</ span >
88
+ < h1 class ="icon regexr-logo "> </ h1 > < h1 class ="regexr-text "> RegExr</ h1 > < span class ="version regexr-text "> v2.0< span class =" beta-banner hidden " > BETA </ span > < /span >
89
89
< div class ="links ">
90
90
by < a href ="http://twitter.com/gskinner/ " target ="_blank "> gskinner</ a >
91
91
< a href ="./v1/ " target ="_blank "> RegExr v1</ a >
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ SOFTWARE.
40
40
return ;
41
41
}
42
42
43
+ if ( document . location . host != "regexr.com" && document . location . host != "www.regexr.com" ) {
44
+ $ . removeClass ( $ . el ( ".beta-banner" ) , "hidden" ) ;
45
+ }
46
+
43
47
// Setup our copy functionality.
44
48
ZeroClipboard . config (
45
49
{
Original file line number Diff line number Diff line change 41
41
@include vendor-prefix (transform , translate (-50% , -50% ));
42
42
}
43
43
}
44
+
45
+ .beta-banner {
46
+ color : #ff0000 ;
47
+ font-weight : bold ;
48
+ font-size : .70rem ;
49
+ padding-left : 0.2rem ;
50
+ }
You can’t perform that action at this time.
0 commit comments