fixed comment test
This commit is contained in:
16
public/javascripts/src/lib/jquery.min.js
vendored
16
public/javascripts/src/lib/jquery.min.js
vendored
File diff suppressed because one or more lines are too long
1
public/javascripts/src/lib/jrails.min.js
vendored
1
public/javascripts/src/lib/jrails.min.js
vendored
@@ -1 +0,0 @@
|
||||
(function($){$.ajaxSettings.accepts._default="text/javascript, text/html, application/xml, text/xml, */*"})(jQuery);(function($){$.fn.reset=function(){return this.each(function(){if(typeof this.reset=="function"||(typeof this.reset=="object"&&!this.reset.nodeType)){this.reset()}})};$.fn.enable=function(){return this.each(function(){this.disabled=false})};$.fn.disable=function(){return this.each(function(){this.disabled=true})}})(jQuery);(function($){$.extend({fieldEvent:function(el,obs){var field=el[0]||el,e="change";if(field.type=="radio"||field.type=="checkbox"){e="click"}else{if(obs&&(field.type=="text"||field.type=="textarea"||field.type=="password")){e="keyup"}}return e}});$.fn.extend({delayedObserver:function(delay,callback){var el=$(this);if(typeof window.delayedObserverStack=="undefined"){window.delayedObserverStack=[]}if(typeof window.delayedObserverCallback=="undefined"){window.delayedObserverCallback=function(stackPos){var observed=window.delayedObserverStack[stackPos];if(observed.timer){clearTimeout(observed.timer)}observed.timer=setTimeout(function(){observed.timer=null;observed.callback(observed.obj,observed.obj.formVal())},observed.delay*1000);observed.oldVal=observed.obj.formVal()}}window.delayedObserverStack.push({obj:el,timer:null,delay:delay,oldVal:el.formVal(),callback:callback});var stackPos=window.delayedObserverStack.length-1;if(el[0].tagName=="FORM"){$(":input",el).each(function(){var field=$(this);field.bind($.fieldEvent(field,delay),function(){var observed=window.delayedObserverStack[stackPos];if(observed.obj.formVal()==observed.oldVal){return}else{window.delayedObserverCallback(stackPos)}})})}else{el.bind($.fieldEvent(el,delay),function(){var observed=window.delayedObserverStack[stackPos];if(observed.obj.formVal()==observed.oldVal){return}else{window.delayedObserverCallback(stackPos)}})}},formVal:function(){var el=this[0];if(el.tagName=="FORM"){return this.serialize()}if(el.type=="checkbox"||el.type=="radio"){return this.filter("input:checked").val()||""}else{return this.val()}}})})(jQuery);(function($){$.fn.extend({visualEffect:function(o,options){if(options){speed=options.duration*1000}else{speed=null}e=o.replace(/\_(.)/g,function(m,l){return l.toUpperCase()});return eval("$(this)."+e+"("+speed+")")},appear:function(speed,callback){return this.fadeIn(speed,callback)},blindDown:function(speed,callback){return this.show("blind",{direction:"vertical"},speed,callback)},blindUp:function(speed,callback){return this.hide("blind",{direction:"vertical"},speed,callback)},blindRight:function(speed,callback){return this.show("blind",{direction:"horizontal"},speed,callback)},blindLeft:function(speed,callback){this.hide("blind",{direction:"horizontal"},speed,callback);return this},dropOut:function(speed,callback){return this.hide("drop",{direction:"down"},speed,callback)},dropIn:function(speed,callback){return this.show("drop",{direction:"up"},speed,callback)},fade:function(speed,callback){return this.fadeOut(speed,callback)},fadeToggle:function(speed,callback){return this.animate({opacity:"toggle"},speed,callback)},fold:function(speed,callback){return this.hide("fold",{},speed,callback)},foldOut:function(speed,callback){return this.show("fold",{},speed,callback)},grow:function(speed,callback){return this.show("scale",{},speed,callback)},highlight:function(speed,callback){return this.show("highlight",{},speed,callback)},puff:function(speed,callback){return this.hide("puff",{},speed,callback)},pulsate:function(speed,callback){return this.show("pulsate",{},speed,callback)},shake:function(speed,callback){return this.show("shake",{},speed,callback)},shrink:function(speed,callback){return this.hide("scale",{},speed,callback)},squish:function(speed,callback){return this.hide("scale",{origin:["top","left"]},speed,callback)},slideUp:function(speed,callback){return this.hide("slide",{direction:"up"},speed,callback)},slideDown:function(speed,callback){return this.show("slide",{direction:"up"},speed,callback)},switchOff:function(speed,callback){return this.hide("clip",{},speed,callback)},switchOn:function(speed,callback){return this.show("clip",{},speed,callback)}})})(jQuery);
|
||||
@@ -3,11 +3,7 @@
|
||||
|
||||
body, div, h1, h2, h3, h4, h5, h6, p, ul, li, dd, dt, header, aside {
|
||||
font-family: Verdana, Geneva, sans-serif;
|
||||
line-height: 1.25em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
vertical-align: baseline; }
|
||||
line-height: 1.25em; }
|
||||
|
||||
body {
|
||||
font-size: 87.5%; }
|
||||
@@ -504,3 +500,51 @@ div#c-post-moderation aside {
|
||||
div#c-post-moderation section {
|
||||
float: left;
|
||||
width: 300px; }
|
||||
|
||||
/*** Note Container ***/
|
||||
div#note-container {
|
||||
position: absolute; }
|
||||
div#note-container div.note-body {
|
||||
background: #FFE;
|
||||
border: 1px solid black;
|
||||
max-width: 300px;
|
||||
min-width: 140px;
|
||||
min-height: 10px;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
overflow: auto; }
|
||||
div#note-container div.note-body p.tn {
|
||||
font-size: 0.8em;
|
||||
color: gray; }
|
||||
div#note-container div.note-box {
|
||||
position: absolute;
|
||||
border: 1px solid black;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
cursor: move;
|
||||
background: #FFE; }
|
||||
div#note-container div.note-box div.note-corner {
|
||||
background: black;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
cursor: se-resize; }
|
||||
div#note-container div.unsaved {
|
||||
background: #FFF;
|
||||
border: 1px solid red; }
|
||||
div#note-container div.unsaved div.note-corner {
|
||||
background: red; }
|
||||
|
||||
div#jquery-test div.note {
|
||||
background: #FFE;
|
||||
border: 1px solid black;
|
||||
max-width: 300px;
|
||||
min-width: 140px;
|
||||
min-height: 10px;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
overflow: auto; }
|
||||
|
||||
@@ -8,10 +8,6 @@ $link_hover_color: #9093FF;
|
||||
body, div, h1, h2, h3, h4, h5, h6, p, ul, li, dd, dt, header, aside {
|
||||
font-family: Verdana, Geneva, sans-serif;
|
||||
line-height: 1.25em;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -860,4 +856,68 @@ div#c-post-moderation {
|
||||
float: left;
|
||||
width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*** Note Container ***/
|
||||
div#note-container {
|
||||
position: absolute;
|
||||
|
||||
div.note-body {
|
||||
background: #FFE;
|
||||
border: 1px solid black;
|
||||
max-width: 300px;
|
||||
min-width: 140px;
|
||||
min-height: 10px;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
overflow: auto;
|
||||
|
||||
p.tn {
|
||||
font-size: 0.8em;
|
||||
color: gray;
|
||||
}
|
||||
}
|
||||
|
||||
div.note-box {
|
||||
position: absolute;
|
||||
border: 1px solid black;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
cursor: move;
|
||||
background: #FFE;
|
||||
|
||||
div.note-corner {
|
||||
background: black;
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
cursor: se-resize;
|
||||
}
|
||||
}
|
||||
|
||||
div.unsaved {
|
||||
background: #FFF;
|
||||
border: 1px solid red;
|
||||
|
||||
div.note-corner {
|
||||
background: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div#jquery-test div.note {
|
||||
background: #FFE;
|
||||
border: 1px solid black;
|
||||
max-width: 300px;
|
||||
min-width: 140px;
|
||||
min-height: 10px;
|
||||
position: absolute;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
overflow: auto;
|
||||
}
|
||||
Reference in New Issue
Block a user