Browse Source

Updates nag, tab. Fixes body end tag on some docs

Former-commit-id: 5c60e26cc43caa5a5b9a605ae1271ce42af9d3a4
Former-commit-id: 2e777dc9a0f3f769c68bc7adddc7b001a317c6b7
beta
Jack Lukic 11 years ago
parent
commit
d907e762fd
  1. 2
      build/minified/collections/menu.min.css
  2. 2
      build/minified/collections/message.min.css
  3. 2
      build/minified/elements/button.min.css
  4. 22
      build/minified/modules/nag.js
  5. 2
      build/minified/modules/nag.min.css
  6. 2
      build/minified/modules/nag.min.js
  7. 2
      build/minified/modules/reveal.min.css
  8. 15
      build/minified/modules/tab.js
  9. 2
      build/minified/modules/tab.min.js
  10. 2
      build/minified/views/comment.min.css
  11. 2
      build/minified/views/feed.min.css
  12. 22
      build/packaged/modules/nag.js
  13. 15
      build/packaged/modules/tab.js
  14. 2
      build/packaged/semantic.min.css.REMOVED.git-id
  15. 2
      build/packaged/semantic.min.js.REMOVED.git-id
  16. 17
      build/uncompressed/collections/menu.css
  17. 6
      build/uncompressed/collections/message.css
  18. 5
      build/uncompressed/elements/button.css
  19. 39
      build/uncompressed/modules/nag.css
  20. 22
      build/uncompressed/modules/nag.js
  21. 4
      build/uncompressed/modules/reveal.css
  22. 15
      build/uncompressed/modules/tab.js
  23. 1
      build/uncompressed/views/comment.css
  24. 1
      build/uncompressed/views/feed.css
  25. 4
      node/package.json
  26. 3
      node/src/documents/collection.html
  27. 3
      node/src/documents/collections/breadcrumb.html
  28. 3
      node/src/documents/collections/form.html
  29. 3
      node/src/documents/collections/grid.html
  30. 3
      node/src/documents/collections/menu.html
  31. 3
      node/src/documents/collections/message.html
  32. 3
      node/src/documents/collections/table.html
  33. 3
      node/src/documents/download.html
  34. 3
      node/src/documents/element.html
  35. 3
      node/src/documents/elements/button.html
  36. 3
      node/src/documents/elements/image.html
  37. 3
      node/src/documents/elements/input.html
  38. 3
      node/src/documents/elements/label.html
  39. 3
      node/src/documents/elements/loader.html
  40. 3
      node/src/documents/elements/step.html
  41. 9
      node/src/documents/index.html
  42. 4
      node/src/documents/modules/reveal.html
  43. 17
      node/src/files/components/semantic/collections/menu.css
  44. 6
      node/src/files/components/semantic/collections/message.css
  45. 5
      node/src/files/components/semantic/elements/button.css
  46. 39
      node/src/files/components/semantic/modules/nag.css
  47. 22
      node/src/files/components/semantic/modules/nag.js
  48. 4
      node/src/files/components/semantic/modules/reveal.css
  49. 15
      node/src/files/components/semantic/modules/tab.js
  50. 1
      node/src/files/components/semantic/views/comment.css
  51. 1
      node/src/files/components/semantic/views/feed.css
  52. 1
      src/modules/tab.js

2
build/minified/collections/menu.min.css

File diff suppressed because one or more lines are too long

2
build/minified/collections/message.min.css

@ -1 +1 @@
.ui.message{position:relative;min-height:18px;margin:1em 0;height:auto;background-color:#EFEFEF;padding:1em;line-height:1.33;color:rgba(0,0,0,.6);-webkit-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-moz-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-o-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-ms-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:.325em;-moz-border-radius:.325em;border-radius:.325em}.ui.message .header{margin:0;font-size:1.33em;font-weight:700}.ui.message .header+p{margin-top:0}.ui.message p{opacity:.85;margin:1em 0}.ui.message>:first-child{margin-top:0}.ui.message>:last-child{margin-bottom:0}.ui.message ul.list{opacity:.85;list-style-position:inside;margin:.2em 0;padding:0}.ui.message ul.list li{position:relative;list-style-type:none;font-style:italic;margin:0 0 0 1em;padding:0}.ui.message ul.list li:before{position:absolute;content:'\2022';top:-.05em;left:-.8em;height:100%;vertical-align:baseline;opacity:.5}.ui.message ul.list li:first-child{margin-top:0}.ui.message>.icon.close{cursor:pointer;position:absolute;top:1em;right:.5em;opacity:.7;-webkit-transition:opacity .1s linear;-moz-transition:opacity .1s linear;-o-transition:opacity .1s linear;-ms-transition:opacity .1s linear;transition:opacity .1s linear}.ui.message>.icon.close:hover{opacity:1}.ui.message.visible,.ui.header.visible{display:block!important}.ui.message.hidden,.ui.header.hidden{display:none}.ui.compact.message{display:inline-block}.ui.attached.message{margin-left:-1px;margin-right:-1px;margin-bottom:-1px;-webkit-border-radius:.325em .325em 0 0;-moz-border-radius:.325em .325em 0 0;border-radius:.325em .325em 0 0;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;box-shadow:0 0 0 1px rgba(0,0,0,.1) inset}.ui.bottom.attached.message{margin-top:-1px;-webkit-border-radius:0 0 .325em .325em;-moz-border-radius:0 0 .325em .325em;border-radius:0 0 .325em .325em}.ui.icon.message{display:table;width:100%}.ui.icon.message>.icon{display:table-cell;vertical-align:middle;font-size:3.8em;padding-right:.4em;opacity:.2}.ui.icon.message>.content{display:table-cell;vertical-align:middle}.ui.inverted.message{background-color:rgba(255,255,255,.05);color:rgba(255,255,255,.95)}.ui.black.message{background-color:#333;color:rgba(255,255,255,.95)}.ui.blue.message,.ui.info.message{background-color:#E6F4F9;color:#4D8796}.ui.green.message{background-color:#DEFCD5;color:#52A954}.ui.yellow.message,.ui.warning.message{background-color:#F6F3D5;color:#96904D}.ui.red.message{background-color:#F1D7D7;color:#A95252}.ui.success.message,.ui.positive.message{background-color:#5BBD72;color:#FFF}.ui.error.message,.ui.negative.message{background-color:#D95C5C;color:#FFF}.ui.small.message{font-size:.875em}.ui.message{font-size:1em}.ui.large.message{font-size:1.125em}.ui.huge.message{font-size:1.5em}.ui.massive.message{font-size:2em} .ui.message{position:relative;min-height:18px;margin:1em 0;height:auto;background-color:#EFEFEF;padding:1em;line-height:1.33;color:rgba(0,0,0,.6);-webkit-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-moz-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-o-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-ms-transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;transition:opacity .1s ease,color .1s ease,background .1s ease,box-shadow .1s ease;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:.325em;-moz-border-radius:.325em;border-radius:.325em}.ui.segment:first-child{margin-top:0}.ui.segment:last-child{margin-bottom:0}.ui.message .header{margin:0;font-size:1.33em;font-weight:700}.ui.message .header+p{margin-top:0}.ui.message p{opacity:.85;margin:1em 0}.ui.message>:first-child{margin-top:0}.ui.message>:last-child{margin-bottom:0}.ui.message ul.list{opacity:.85;list-style-position:inside;margin:.2em 0;padding:0}.ui.message ul.list li{position:relative;list-style-type:none;font-style:italic;margin:0 0 0 1em;padding:0}.ui.message ul.list li:before{position:absolute;content:'\2022';top:-.05em;left:-.8em;height:100%;vertical-align:baseline;opacity:.5}.ui.message ul.list li:first-child{margin-top:0}.ui.message>.icon.close{cursor:pointer;position:absolute;top:1em;right:.5em;opacity:.7;-webkit-transition:opacity .1s linear;-moz-transition:opacity .1s linear;-o-transition:opacity .1s linear;-ms-transition:opacity .1s linear;transition:opacity .1s linear}.ui.message>.icon.close:hover{opacity:1}.ui.message.visible,.ui.header.visible{display:block!important}.ui.message.hidden,.ui.header.hidden{display:none}.ui.compact.message{display:inline-block}.ui.attached.message{margin-left:-1px;margin-right:-1px;margin-bottom:-1px;-webkit-border-radius:.325em .325em 0 0;-moz-border-radius:.325em .325em 0 0;border-radius:.325em .325em 0 0;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1) inset;box-shadow:0 0 0 1px rgba(0,0,0,.1) inset}.ui.bottom.attached.message{margin-top:-1px;-webkit-border-radius:0 0 .325em .325em;-moz-border-radius:0 0 .325em .325em;border-radius:0 0 .325em .325em}.ui.icon.message{display:table;width:100%}.ui.icon.message>.icon{display:table-cell;vertical-align:middle;font-size:3.8em;padding-right:.4em;opacity:.2}.ui.icon.message>.content{display:table-cell;vertical-align:middle}.ui.inverted.message{background-color:rgba(255,255,255,.05);color:rgba(255,255,255,.95)}.ui.black.message{background-color:#333;color:rgba(255,255,255,.95)}.ui.blue.message,.ui.info.message{background-color:#E6F4F9;color:#4D8796}.ui.green.message{background-color:#DEFCD5;color:#52A954}.ui.yellow.message,.ui.warning.message{background-color:#F6F3D5;color:#96904D}.ui.red.message{background-color:#F1D7D7;color:#A95252}.ui.success.message,.ui.positive.message{background-color:#5BBD72;color:#FFF}.ui.error.message,.ui.negative.message{background-color:#D95C5C;color:#FFF}.ui.small.message{font-size:.875em}.ui.message{font-size:1em}.ui.large.message{font-size:1.125em}.ui.huge.message{font-size:1.5em}.ui.massive.message{font-size:2em}

2
build/minified/elements/button.min.css

File diff suppressed because one or more lines are too long

22
build/minified/modules/nag.js

@ -105,29 +105,36 @@
}, },
show: function() { show: function() {
if($.fn.popIn !== undefined) { if(settings.animation.show == 'fade') {
$module $module
.popIn(settings.duration) .fadeIn(settings.duration, settings.easing)
; ;
} }
else { else {
$module $module
.fadeIn(settings.duration, settings.easing) .slideDown(settings.duration, settings.easing)
; ;
} }
}, },
hide: function() { hide: function() {
if(settings.animation.show == 'fade') {
$module
.fadeIn(settings.duration, settings.easing)
;
}
else {
$module $module
.fadeOut(settings.duration, settings.easing, this.onHide) .slideUp(settings.duration, settings.easing)
; ;
}
}, },
onHide: function() { onHide: function() {
$module.remove(); $module.remove();
if (settings.onHide) { if (settings.onHide) {
settings.onHide(); settings.onHide();
}; }
}, },
stick: function() { stick: function() {
@ -297,6 +304,11 @@
// set to zero to manually dismiss, otherwise hides on its own // set to zero to manually dismiss, otherwise hides on its own
displayTime : 0, displayTime : 0,
animation : {
show: 'slide',
hide: 'slide'
},
// method of stickyness // method of stickyness
position : 'fixed', position : 'fixed',
scrollBarWidth : 18, scrollBarWidth : 18,

2
build/minified/modules/nag.min.css

@ -1 +1 @@
.ui.nag{display:none;opacity:.95;position:absolute;top:0;left:10%;z-index:101;width:80%;min-height:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;margin:0;padding:.75em 1em;background-color:#555;-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px 0 rgba(0,0,0,.2);box-shadow:0 1px 2px 0 rgba(0,0,0,.2);font-size:1em;text-align:center;color:rgba(255,255,255,.8);-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-transition:.2s background;-moz-transition:.2s background;-o-transition:.2s background;-ms-transition:.2s background;transition:.2s background}a.ui.nag{cursor:pointer}.ui.nag>.title{display:inline-block;margin:0 .5em;color:#FFF}.ui.nag>.icon.close{cursor:pointer;opacity:.4;position:absolute;top:50%;right:1em;margin-top:-.5em;color:#FFF;-webkit-transition:.1s opacity;-moz-transition:.1s opacity;-o-transition:.1s opacity;-ms-transition:.1s opacity;transition:.1s opacity}.ui.nag:hover{opacity:1}.ui.nag .close:hover{opacity:1}.ui.static.nag{position:static;display:block}.ui.fixed.nag{position:fixed}.ui.nag.bottom{-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.ui.nag.bottom.fixed{top:auto;bottom:0}.ui.nag.white{background-color:#F1F1F1;text-shadow:0 1px 0 rgba(255,255,255,.8);color:#ACACAC}.ui.nag.white .close,.ui.nag.white .title{color:#333} .ui.nag{display:none;opacity:.95;position:relative;top:0;left:0;z-index:101;min-height:0;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;margin:0;line-height:3em;padding:0 1em;background-color:#555;-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.2);-moz-box-shadow:0 1px 2px 0 rgba(0,0,0,.2);box-shadow:0 1px 2px 0 rgba(0,0,0,.2);font-size:1em;text-align:center;color:rgba(255,255,255,.8);-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-transition:.2s background;-moz-transition:.2s background;-o-transition:.2s background;-ms-transition:.2s background;transition:.2s background}a.ui.nag{cursor:pointer}.ui.nag>.title{display:inline-block;margin:0 .5em;color:#FFF}.ui.nag>.close.icon{cursor:pointer;opacity:.4;position:absolute;top:50%;right:1em;margin-top:-.5em;color:#FFF;-webkit-transition:.1s opacity;-moz-transition:.1s opacity;-o-transition:.1s opacity;-ms-transition:.1s opacity;transition:.1s opacity}.ui.nag:hover{opacity:1}.ui.nag .close:hover{opacity:1}.ui.overlay.nag{position:absolute;display:block}.ui.fixed.nag{position:fixed}.ui.botton.nag{-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.ui.fixed.bottom.nags,.ui.fixed.bottom.nag{top:auto;bottom:0}.ui.white.nags .nag,.ui.white.nag{background-color:#F1F1F1;text-shadow:0 1px 0 rgba(255,255,255,.8);color:#ACACAC}.ui.white.nags .nag .close,.ui.white.nags .nag .title,.ui.white.nag .close,.ui.white.nag .title{color:#333}.ui.nags .nag{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}

2
build/minified/modules/nag.min.js

@ -1 +1 @@
!function(a,b,c,d){a.fn.nag=function(c){var e=a.extend(!0,{},a.fn.nag.settings,c),f=arguments||!1;return a(this).each(function(){var c,g,h,i,j,k,l,m,n,o=a(this),p=o.find(e.selector.close),q=a(e.context),r=o.data("module"),s=e.className,t=b.requestAnimationFrame||b.mozRequestAnimationFrame||b.webkitRequestAnimationFrame||b.msRequestAnimationFrame||function(a){setTimeout(a,0)};return n={initialize:function(){c=o.offset(),g=o.outerHeight(),h=q.outerWidth(),i=q.outerHeight(),j=q.offset(),o.data("module",n),p.on("click",n.dismiss),e.context==b&&"fixed"==e.position&&o.addClass(s.fixed),e.sticky&&("absolute"==e.position?q.on("scroll resize",n.event.scroll):a(b).on("scroll resize",n.event.scroll),a.proxy(n.event.scroll,this)()),e.displayTime>0&&setTimeout(n.hide,e.displayTime),n.should.show()?o.is(":visible")||n.show():n.hide()},refresh:function(){c=o.offset(),g=o.outerHeight(),h=q.outerWidth(),i=q.outerHeight(),j=q.offset()},show:function(){a.fn.popIn!==d?o.popIn(e.duration):o.fadeIn(e.duration,e.easing)},hide:function(){o.fadeOut(e.duration,e.easing,this.onHide)},onHide:function(){o.remove(),e.onHide&&e.onHide()},stick:function(){if(n.refresh(),"fixed"==e.position){var c=a(b).prop("pageYOffset")||a(b).scrollTop(),d=o.hasClass(s.bottom)?j.top+(i-g)-c:j.top-c;o.css({position:"fixed",top:d,left:j.left,width:h-e.scrollBarWidth})}else o.css({top:l})},unStick:function(){o.css({top:""})},dismiss:function(a){e.storageMethod&&n.storage.set(e.storedKey,e.storedValue),n.hide(),a.stopImmediatePropagation(),a.preventDefault()},should:{show:function(){return e.persist||n.storage.get(e.storedKey)!=e.storedValue?!0:!1},stick:function(){return k=q.prop("pageYOffset")||q.scrollTop(),l=o.hasClass(s.bottom)?i-o.outerHeight()+k:k,l>c.top?!0:"fixed"==e.position?!0:!1}},storage:{set:function(c,f){"local"==e.storageMethod&&b.store!==d?b.store.set(c,f):a.cookie!==d?a.cookie(c,f):n.error(e.errors.noStorage)},get:function(c){return"local"==e.storageMethod&&b.store!==d?b.store.get(c):a.cookie!==d?a.cookie(c):(n.error(e.errors.noStorage),void 0)}},event:{scroll:function(){m!==d&&clearTimeout(m),m=setTimeout(function(){n.should.stick()?t(n.stick):n.unStick()},e.lag)}},error:function(a){console.log("Nag Module:"+a)},invoke:function(b,c,f){var g;return f=f||Array.prototype.slice.call(arguments,2),"string"==typeof b&&r!==d&&(b=b.split("."),a.each(b,function(b,c){return a.isPlainObject(r[c])?(r=r[c],!0):a.isFunction(r[c])?(g=r[c],!0):(n.error(e.errors.method),!1)})),a.isFunction(g)?g.apply(c,f):g}},r!==d&&f?("invoke"==f[0]&&(f=Array.prototype.slice.call(f,1)),n.invoke(f[0],this,Array.prototype.slice.call(f,1))):(n.initialize(),void 0)}),this},a.fn.nag.settings={persist:!1,displayTime:0,position:"fixed",scrollBarWidth:18,storageMethod:"cookie",storedKey:"nag",storedValue:"dismiss",sticky:!1,lag:0,context:b,errors:{noStorage:"Neither $.cookie or store is defined. A storage solution is required for storing state"},className:{bottom:"bottom",fixed:"fixed"},selector:{close:".icon.close"},speed:500,easing:"easeOutQuad",onHide:function(){}}}(jQuery,window,document); !function(a,b,c,d){a.fn.nag=function(c){var e=a.extend(!0,{},a.fn.nag.settings,c),f=arguments||!1;return a(this).each(function(){var c,g,h,i,j,k,l,m,n,o=a(this),p=o.find(e.selector.close),q=a(e.context),r=o.data("module"),s=e.className,t=b.requestAnimationFrame||b.mozRequestAnimationFrame||b.webkitRequestAnimationFrame||b.msRequestAnimationFrame||function(a){setTimeout(a,0)};return n={initialize:function(){c=o.offset(),g=o.outerHeight(),h=q.outerWidth(),i=q.outerHeight(),j=q.offset(),o.data("module",n),p.on("click",n.dismiss),e.context==b&&"fixed"==e.position&&o.addClass(s.fixed),e.sticky&&("absolute"==e.position?q.on("scroll resize",n.event.scroll):a(b).on("scroll resize",n.event.scroll),a.proxy(n.event.scroll,this)()),e.displayTime>0&&setTimeout(n.hide,e.displayTime),n.should.show()?o.is(":visible")||n.show():n.hide()},refresh:function(){c=o.offset(),g=o.outerHeight(),h=q.outerWidth(),i=q.outerHeight(),j=q.offset()},show:function(){"fade"==e.animation.show?o.fadeIn(e.duration,e.easing):o.slideDown(e.duration,e.easing)},hide:function(){"fade"==e.animation.show?o.fadeIn(e.duration,e.easing):o.slideUp(e.duration,e.easing)},onHide:function(){o.remove(),e.onHide&&e.onHide()},stick:function(){if(n.refresh(),"fixed"==e.position){var c=a(b).prop("pageYOffset")||a(b).scrollTop(),d=o.hasClass(s.bottom)?j.top+(i-g)-c:j.top-c;o.css({position:"fixed",top:d,left:j.left,width:h-e.scrollBarWidth})}else o.css({top:l})},unStick:function(){o.css({top:""})},dismiss:function(a){e.storageMethod&&n.storage.set(e.storedKey,e.storedValue),n.hide(),a.stopImmediatePropagation(),a.preventDefault()},should:{show:function(){return e.persist||n.storage.get(e.storedKey)!=e.storedValue?!0:!1},stick:function(){return k=q.prop("pageYOffset")||q.scrollTop(),l=o.hasClass(s.bottom)?i-o.outerHeight()+k:k,l>c.top?!0:"fixed"==e.position?!0:!1}},storage:{set:function(c,f){"local"==e.storageMethod&&b.store!==d?b.store.set(c,f):a.cookie!==d?a.cookie(c,f):n.error(e.errors.noStorage)},get:function(c){return"local"==e.storageMethod&&b.store!==d?b.store.get(c):a.cookie!==d?a.cookie(c):(n.error(e.errors.noStorage),void 0)}},event:{scroll:function(){m!==d&&clearTimeout(m),m=setTimeout(function(){n.should.stick()?t(n.stick):n.unStick()},e.lag)}},error:function(a){console.log("Nag Module:"+a)},invoke:function(b,c,f){var g;return f=f||Array.prototype.slice.call(arguments,2),"string"==typeof b&&r!==d&&(b=b.split("."),a.each(b,function(b,c){return a.isPlainObject(r[c])?(r=r[c],!0):a.isFunction(r[c])?(g=r[c],!0):(n.error(e.errors.method),!1)})),a.isFunction(g)?g.apply(c,f):g}},r!==d&&f?("invoke"==f[0]&&(f=Array.prototype.slice.call(f,1)),n.invoke(f[0],this,Array.prototype.slice.call(f,1))):(n.initialize(),void 0)}),this},a.fn.nag.settings={persist:!1,displayTime:0,animation:{show:"slide",hide:"slide"},position:"fixed",scrollBarWidth:18,storageMethod:"cookie",storedKey:"nag",storedValue:"dismiss",sticky:!1,lag:0,context:b,errors:{noStorage:"Neither $.cookie or store is defined. A storage solution is required for storing state"},className:{bottom:"bottom",fixed:"fixed"},selector:{close:".icon.close"},speed:500,easing:"easeOutQuad",onHide:function(){}}}(jQuery,window,document);

2
build/minified/modules/reveal.min.css

File diff suppressed because one or more lines are too long

15
build/minified/modules/tab.js

@ -1,5 +1,5 @@
/* ****************************** /* ******************************
Module - Simple Tab Navigation Module - Tabs
Author: Jack Lukic Author: Jack Lukic
Notes: First Commit Aug 15, 2012 Notes: First Commit Aug 15, 2012
@ -8,10 +8,10 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
$.fn.tabNavigation = function(parameters) { $.fn.tab = function(parameters) {
var var
settings = $.extend(true, {}, $.fn.tabNavigation.settings, parameters), settings = $.extend(true, {}, $.fn.tab.settings, parameters),
$module = $(this), $module = $(this),
$tabs = $(settings.context).find(settings.selector.tabs), $tabs = $(settings.context).find(settings.selector.tabs),
@ -162,7 +162,7 @@
var var
pushStateAvailable = (window.history && window.history.pushState), pushStateAvailable = (window.history && window.history.pushState),
shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad), shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
remoteContent = $.isPlainObject(settings.apiSettings), remoteContent = (settings.auto || $.isPlainObject(settings.apiSettings) ),
// only get default path if not remote content // only get default path if not remote content
pathArray = (remoteContent && !shouldIgnoreLoad) pathArray = (remoteContent && !shouldIgnoreLoad)
? module.utils.pathToArray(tabPath) ? module.utils.pathToArray(tabPath)
@ -544,7 +544,6 @@
}); });
} }
if ( $.isFunction( found ) ) { if ( $.isFunction( found ) ) {
module.verbose('Executing invoked function', found);
return found.apply(context, passedArguments); return found.apply(context, passedArguments);
} }
return found || false; return found || false;
@ -572,11 +571,11 @@
}; };
// shortcut for tabbed content with no defined navigation // shortcut for tabbed content with no defined navigation
$.tabNavigation = function(settings) { $.tab = function(settings) {
$(window).tabNavigation(settings); $(window).tab(settings);
}; };
$.fn.tabNavigation.settings = { $.fn.tab.settings = {
moduleName : 'Tab Module', moduleName : 'Tab Module',
verbose : true, verbose : true,

2
build/minified/modules/tab.min.js

File diff suppressed because one or more lines are too long

2
build/minified/views/comment.min.css

@ -1 +1 @@
.ui.comments a{cursor:pointer}.ui.comments .comment{position:relative;margin-top:.5em;padding-top:.5em}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .avatar{display:block;float:left;width:4em}.ui.comments .comment .avatar img{display:block;margin:0 auto;width:3em;height:3em;border-radius:500px}.ui.comments .comment>.content,.ui.comments .comment>.avatar{display:block}.ui.comments .comment .avatar~.content{padding:0 1em}.ui.comments .comment>.avatar~.content{padding-top:.25em;margin-left:3.5em}.ui.comments .comment .metadata{display:inline-block;margin-left:.3em;color:rgba(0,0,0,.4)}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .3em 0 0}.ui.comments .comment .text{margin:.25em 0 .5em}.ui.comments .comment .actions{font-size:.9em}.ui.comments .comment .actions a{display:inline-block;margin:0 .3em 0 0;color:rgba(0,0,0,.3)}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.6)}.ui.comments .reply.form{margin-top:.75em;width:100%;max-width:30em}.ui.comments .comment .reply.form{margin-left:2em}.ui.comments>.reply.form{margin-top:1.5em;max-width:40em}.ui.comments .reply.form textarea{height:12em}.ui.comments .comment .comments{margin-top:.5em;padding-top:.5em;padding-bottom:1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments>.comment .comments{margin-left:2em}.ui.comments>.comment>.comments>.comment>.comments{margin-left:1.75em}.ui.comments>.comment>.comments>.comment>.comments>.comment>.comments{margin-left:1.5em}.ui.comments>.comment>.comments>.comment>.comments>.comment>.comments>.comment .comments{margin-left:.5em}.ui.threaded.comments .comment .comments{margin-left:2em!important;padding-left:2em!important;-webkit-box-shadow:-1px 0 0 rgba(0,0,0,.05);-moz-box-shadow:-1px 0 0 rgba(0,0,0,.05);box-shadow:-1px 0 0 rgba(0,0,0,.05)}.ui.minimal.comments .comment .actions{opacity:0;-webkit-transition:opacity .1s ease-out;-moz-transition:opacity .1s ease-out;-o-transition:opacity .1s ease-out;-ms-transition:opacity .1s ease-out;transition:opacity .1s ease-out;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;-o-transition-delay:.1s;-ms-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.small.comments{font-size:.875em} .ui.comments a{cursor:pointer}.ui.comments .comment{position:relative;margin-top:.5em;padding-top:.5em}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .avatar{display:block;float:left;width:4em}.ui.comments .comment .avatar img{display:block;margin:0 auto;width:3em;height:3em;border-radius:500px}.ui.comments .comment>.content,.ui.comments .comment>.avatar{display:block}.ui.comments .comment .avatar~.content{padding:0 1em}.ui.comments .comment>.avatar~.content{padding-top:.25em;margin-left:3.5em}.ui.comments .comment .metadata{display:inline-block;margin-left:.3em;color:rgba(0,0,0,.4)}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .3em 0 0}.ui.comments .comment .text{margin:.25em 0 .5em;word-wrap:break-word}.ui.comments .comment .actions{font-size:.9em}.ui.comments .comment .actions a{display:inline-block;margin:0 .3em 0 0;color:rgba(0,0,0,.3)}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.6)}.ui.comments .reply.form{margin-top:.75em;width:100%;max-width:30em}.ui.comments .comment .reply.form{margin-left:2em}.ui.comments>.reply.form{margin-top:1.5em;max-width:40em}.ui.comments .reply.form textarea{height:12em}.ui.comments .comment .comments{margin-top:.5em;padding-top:.5em;padding-bottom:1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments>.comment .comments{margin-left:2em}.ui.comments>.comment>.comments>.comment>.comments{margin-left:1.75em}.ui.comments>.comment>.comments>.comment>.comments>.comment>.comments{margin-left:1.5em}.ui.comments>.comment>.comments>.comment>.comments>.comment>.comments>.comment .comments{margin-left:.5em}.ui.threaded.comments .comment .comments{margin-left:2em!important;padding-left:2em!important;-webkit-box-shadow:-1px 0 0 rgba(0,0,0,.05);-moz-box-shadow:-1px 0 0 rgba(0,0,0,.05);box-shadow:-1px 0 0 rgba(0,0,0,.05)}.ui.minimal.comments .comment .actions{opacity:0;-webkit-transition:opacity .1s ease-out;-moz-transition:opacity .1s ease-out;-o-transition:opacity .1s ease-out;-ms-transition:opacity .1s ease-out;transition:opacity .1s ease-out;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;-o-transition-delay:.1s;-ms-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.small.comments{font-size:.875em}

2
build/minified/views/feed.min.css

@ -1 +1 @@
.ui.feed a{cursor:pointer}.ui.feed,.ui.feed .event,.ui.feed .label,.ui.feed .content,.ui.feed .extra{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ui.feed .event{width:100%;display:table;padding:1em}.ui.feed .event:first-child{border-top:0}.ui.feed .event:last-child{margin-bottom:1em}.ui.feed .label{width:3em;display:table-cell;vertical-align:top;text-align:left}.ui.feed .label .icon{font-size:1.5em;margin:0}.ui.feed .label img{width:3em;margin:0;border-radius:50em}.ui.feed .label+.content{padding:.75em 1em 0}.ui.feed .content{display:table-cell;vertical-align:top;text-align:left}.ui.feed .content .date{float:right;padding-left:1em;color:rgba(0,0,0,.4)}.ui.feed .content .summary{color:rgba(0,0,0,.75)}.ui.feed .content .summary img{display:inline-block;margin-right:.25em;width:4em;border-radius:500px}.ui.feed .content .extra{margin:1em 0 0;padding:.5em 0 0;color:rgba(0,0,0,.5)}.ui.feed .content .extra.images img{display:inline-block;margin-right:.25em;width:6em}.ui.feed .content .extra.text{padding:.5em 1em;border-left:.2em solid rgba(0,0,0,.1)}.ui.small.feed .label img{width:2.5em}.ui.small.feed .label .icon{font-size:1.25em}.ui.feed .event{padding:.75em 0}.ui.small.feed .label+.content{padding:.5em .5em 0}.ui.small.feed .content .extra.images img{width:5em}.ui.small.feed .content .extra{margin:.5em 0 0}.ui.small.feed .content .extra.text{padding:.25em .5em} .ui.feed a{cursor:pointer}.ui.feed,.ui.feed .event,.ui.feed .label,.ui.feed .content,.ui.feed .extra{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.ui.feed .event{width:100%;display:table;padding:1em}.ui.feed .event:first-child{border-top:0}.ui.feed .event:last-child{margin-bottom:1em}.ui.feed .label{width:3em;display:table-cell;vertical-align:top;text-align:left}.ui.feed .label .icon{font-size:1.5em;margin:0}.ui.feed .label img{width:3em;margin:0;border-radius:50em}.ui.feed .label+.content{padding:.75em 1em 0}.ui.feed .content{display:table-cell;vertical-align:top;text-align:left;word-wrap:break-word}.ui.feed .content .date{float:right;padding-left:1em;color:rgba(0,0,0,.4)}.ui.feed .content .summary{color:rgba(0,0,0,.75)}.ui.feed .content .summary img{display:inline-block;margin-right:.25em;width:4em;border-radius:500px}.ui.feed .content .extra{margin:1em 0 0;padding:.5em 0 0;color:rgba(0,0,0,.5)}.ui.feed .content .extra.images img{display:inline-block;margin-right:.25em;width:6em}.ui.feed .content .extra.text{padding:.5em 1em;border-left:.2em solid rgba(0,0,0,.1)}.ui.small.feed .label img{width:2.5em}.ui.small.feed .label .icon{font-size:1.25em}.ui.feed .event{padding:.75em 0}.ui.small.feed .label+.content{padding:.5em .5em 0}.ui.small.feed .content .extra.images img{width:5em}.ui.small.feed .content .extra{margin:.5em 0 0}.ui.small.feed .content .extra.text{padding:.25em .5em}

22
build/packaged/modules/nag.js

@ -105,29 +105,36 @@
}, },
show: function() { show: function() {
if($.fn.popIn !== undefined) { if(settings.animation.show == 'fade') {
$module $module
.popIn(settings.duration) .fadeIn(settings.duration, settings.easing)
; ;
} }
else { else {
$module $module
.fadeIn(settings.duration, settings.easing) .slideDown(settings.duration, settings.easing)
; ;
} }
}, },
hide: function() { hide: function() {
if(settings.animation.show == 'fade') {
$module
.fadeIn(settings.duration, settings.easing)
;
}
else {
$module $module
.fadeOut(settings.duration, settings.easing, this.onHide) .slideUp(settings.duration, settings.easing)
; ;
}
}, },
onHide: function() { onHide: function() {
$module.remove(); $module.remove();
if (settings.onHide) { if (settings.onHide) {
settings.onHide(); settings.onHide();
}; }
}, },
stick: function() { stick: function() {
@ -297,6 +304,11 @@
// set to zero to manually dismiss, otherwise hides on its own // set to zero to manually dismiss, otherwise hides on its own
displayTime : 0, displayTime : 0,
animation : {
show: 'slide',
hide: 'slide'
},
// method of stickyness // method of stickyness
position : 'fixed', position : 'fixed',
scrollBarWidth : 18, scrollBarWidth : 18,

15
build/packaged/modules/tab.js

@ -1,5 +1,5 @@
/* ****************************** /* ******************************
Module - Simple Tab Navigation Module - Tabs
Author: Jack Lukic Author: Jack Lukic
Notes: First Commit Aug 15, 2012 Notes: First Commit Aug 15, 2012
@ -8,10 +8,10 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
$.fn.tabNavigation = function(parameters) { $.fn.tab = function(parameters) {
var var
settings = $.extend(true, {}, $.fn.tabNavigation.settings, parameters), settings = $.extend(true, {}, $.fn.tab.settings, parameters),
$module = $(this), $module = $(this),
$tabs = $(settings.context).find(settings.selector.tabs), $tabs = $(settings.context).find(settings.selector.tabs),
@ -162,7 +162,7 @@
var var
pushStateAvailable = (window.history && window.history.pushState), pushStateAvailable = (window.history && window.history.pushState),
shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad), shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
remoteContent = $.isPlainObject(settings.apiSettings), remoteContent = (settings.auto || $.isPlainObject(settings.apiSettings) ),
// only get default path if not remote content // only get default path if not remote content
pathArray = (remoteContent && !shouldIgnoreLoad) pathArray = (remoteContent && !shouldIgnoreLoad)
? module.utils.pathToArray(tabPath) ? module.utils.pathToArray(tabPath)
@ -544,7 +544,6 @@
}); });
} }
if ( $.isFunction( found ) ) { if ( $.isFunction( found ) ) {
module.verbose('Executing invoked function', found);
return found.apply(context, passedArguments); return found.apply(context, passedArguments);
} }
return found || false; return found || false;
@ -572,11 +571,11 @@
}; };
// shortcut for tabbed content with no defined navigation // shortcut for tabbed content with no defined navigation
$.tabNavigation = function(settings) { $.tab = function(settings) {
$(window).tabNavigation(settings); $(window).tab(settings);
}; };
$.fn.tabNavigation.settings = { $.fn.tab.settings = {
moduleName : 'Tab Module', moduleName : 'Tab Module',
verbose : true, verbose : true,

2
build/packaged/semantic.min.css.REMOVED.git-id

@ -1 +1 @@
e5f00a4a03f2dc3ae2f910e6450214154a358213 42c3cc4a99ed2e70ec4a11424d8530f09673eddd

2
build/packaged/semantic.min.js.REMOVED.git-id

@ -1 +1 @@
285c8f91c51a7e1a146de7ef602792de98242859 0c60aeca042691dfcd9275a809bfb1980469793e

17
build/uncompressed/collections/menu.css

@ -127,12 +127,10 @@
.ui.menu .menu { .ui.menu .menu {
margin: 0em; margin: 0em;
} }
.ui.menu .menu.left, .ui.menu .menu.left {
.ui.menu .item.left {
float: left; float: left;
} }
.ui.menu .menu.right, .ui.menu .menu.right {
.ui.menu .item.right {
float: right; float: right;
} }
/*-------------- /*--------------
@ -164,6 +162,10 @@
---------------*/ ---------------*/
.ui.menu .text.item > *, .ui.menu .text.item > *,
.ui.menu .item > p:only-child { .ui.menu .item > p:only-child {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
line-height: 1.3; line-height: 1.3;
color: rgba(0, 0, 0, 0.6); color: rgba(0, 0, 0, 0.6);
} }
@ -369,11 +371,14 @@
.ui.vertical.menu .item:first-child:before { .ui.vertical.menu .item:first-child:before {
background-image: none; background-image: none;
} }
.ui.vertical.menu .item:last-child::before {
display: block;
}
/*--- Dropdown ---*/ /*--- Dropdown ---*/
.ui.vertical.menu .dropdown.item > i { .ui.vertical.menu .dropdown.item > i {
float: right; float: right;
} }
.ui.vertical.menu .dropdown.item .menu { .ui.vertical.menu .simple.dropdown.item .menu {
top: 0% !important; top: 0% !important;
left: 100%; left: 100%;
margin: 0em; margin: 0em;
@ -699,7 +704,7 @@
; ;
} }
.ui.text.menu > .item:before { .ui.text.menu > .item:before {
display: none; display: none !important;
} }
.ui.text.menu .header.item { .ui.text.menu .header.item {
background-color: transparent; background-color: transparent;

6
build/uncompressed/collections/message.css

@ -34,6 +34,12 @@
-moz-border-radius: 0.325em 0.325em 0.325em 0.325em; -moz-border-radius: 0.325em 0.325em 0.325em 0.325em;
border-radius: 0.325em 0.325em 0.325em 0.325em; border-radius: 0.325em 0.325em 0.325em 0.325em;
} }
.ui.segment:first-child {
margin-top: 0em;
}
.ui.segment:last-child {
margin-bottom: 0em;
}
/*-------------- /*--------------
Content Content
---------------*/ ---------------*/

5
build/uncompressed/elements/button.css

@ -538,6 +538,7 @@
/*--- Tertiary ---*/ /*--- Tertiary ---*/
.ui.buttons.tertiary .button, .ui.buttons.tertiary .button,
.ui.tertiary.button { .ui.tertiary.button {
border-left: none !important;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
color: #999999; color: #999999;
@ -636,14 +637,12 @@
.ui.toggle.buttons .button.active, .ui.toggle.buttons .button.active,
.ui.buttons .button.toggle.active, .ui.buttons .button.toggle.active,
.ui.button.toggle.active { .ui.button.toggle.active {
background-color: #BBF0A9; color: #FFFFFF;
color: #1C8C21;
} }
.ui.buttons.toggle .ui.button.active.hover, .ui.buttons.toggle .ui.button.active.hover,
.ui.buttons .ui.button.toggle.active.hover, .ui.buttons .ui.button.toggle.active.hover,
.ui.button.toggle.active.hover { .ui.button.toggle.active.hover {
color: #FFFFFF; color: #FFFFFF;
background-color: #BBF0A9;
} }
/*-------------- /*--------------
Bubbly Bubbly

39
build/uncompressed/modules/nag.css

@ -15,18 +15,19 @@
.ui.nag { .ui.nag {
display: none; display: none;
opacity: 0.95; opacity: 0.95;
position: absolute; position: relative;
top: 0px; top: 0px;
left: 10%; left: 0%;
z-index: 101; z-index: 101;
width: 80%; min-height: 0;
min-height: 20px; width: 100%;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-ms-box-sizing: border-box; -ms-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
margin: 0em; margin: 0em;
padding: 0.75em 1em; line-height: 3em;
padding: 0em 1em;
background-color: #555555; background-color: #555555;
-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
@ -51,7 +52,7 @@ a.ui.nag {
margin: 0em 0.5em; margin: 0em 0.5em;
color: #FFFFFF; color: #FFFFFF;
} }
.ui.nag > .icon.close { .ui.nag > .close.icon {
cursor: pointer; cursor: pointer;
opacity: 0.4; opacity: 0.4;
position: absolute; position: absolute;
@ -81,8 +82,8 @@ a.ui.nag {
/*-------------- /*--------------
Static Static
---------------*/ ---------------*/
.ui.static.nag { .ui.overlay.nag {
position: static; position: absolute;
display: block; display: block;
} }
/*-------------- /*--------------
@ -94,24 +95,36 @@ a.ui.nag {
/*-------------- /*--------------
Bottom Bottom
---------------*/ ---------------*/
.ui.nag.bottom { .ui.botton.nag {
-webkit-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px; -moz-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px; border-radius: 5px 5px 0px 0px;
} }
.ui.nag.bottom.fixed { .ui.fixed.bottom.nags,
.ui.fixed.bottom.nag {
top: auto; top: auto;
bottom: 0px; bottom: 0px;
} }
/*-------------- /*--------------
White White
---------------*/ ---------------*/
.ui.nag.white { .ui.white.nags .nag,
.ui.white.nag {
background-color: #F1F1F1; background-color: #F1F1F1;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
color: #ACACAC; color: #ACACAC;
} }
.ui.nag.white .close, .ui.white.nags .nag .close,
.ui.nag.white .title { .ui.white.nags .nag .title,
.ui.white.nag .close,
.ui.white.nag .title {
color: #333333; color: #333333;
} }
/*******************************
Groups
*******************************/
.ui.nags .nag {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}

22
build/uncompressed/modules/nag.js

@ -105,29 +105,36 @@
}, },
show: function() { show: function() {
if($.fn.popIn !== undefined) { if(settings.animation.show == 'fade') {
$module $module
.popIn(settings.duration) .fadeIn(settings.duration, settings.easing)
; ;
} }
else { else {
$module $module
.fadeIn(settings.duration, settings.easing) .slideDown(settings.duration, settings.easing)
; ;
} }
}, },
hide: function() { hide: function() {
if(settings.animation.show == 'fade') {
$module
.fadeIn(settings.duration, settings.easing)
;
}
else {
$module $module
.fadeOut(settings.duration, settings.easing, this.onHide) .slideUp(settings.duration, settings.easing)
; ;
}
}, },
onHide: function() { onHide: function() {
$module.remove(); $module.remove();
if (settings.onHide) { if (settings.onHide) {
settings.onHide(); settings.onHide();
}; }
}, },
stick: function() { stick: function() {
@ -297,6 +304,11 @@
// set to zero to manually dismiss, otherwise hides on its own // set to zero to manually dismiss, otherwise hides on its own
displayTime : 0, displayTime : 0,
animation : {
show: 'slide',
hide: 'slide'
},
// method of stickyness // method of stickyness
position : 'fixed', position : 'fixed',
scrollBarWidth : 18, scrollBarWidth : 18,

4
build/uncompressed/modules/reveal.css

@ -56,7 +56,7 @@
overflow: hidden !important; overflow: hidden !important;
white-space: nowrap; white-space: nowrap;
} }
.ui.slide.reveal > * { .ui.slide.reveal > .content {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-ms-box-sizing: border-box; -ms-box-sizing: border-box;
@ -246,7 +246,7 @@
/*-------------- /*--------------
Instant Instant
---------------*/ ---------------*/
.ui.instant.reveal > * { .ui.instant.reveal > .content {
-webkit-transition-delay: 0s !important; -webkit-transition-delay: 0s !important;
-moz-transition-delay: 0s !important; -moz-transition-delay: 0s !important;
-o-transition-delay: 0s !important; -o-transition-delay: 0s !important;

15
build/uncompressed/modules/tab.js

@ -1,5 +1,5 @@
/* ****************************** /* ******************************
Module - Simple Tab Navigation Module - Tabs
Author: Jack Lukic Author: Jack Lukic
Notes: First Commit Aug 15, 2012 Notes: First Commit Aug 15, 2012
@ -8,10 +8,10 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
$.fn.tabNavigation = function(parameters) { $.fn.tab = function(parameters) {
var var
settings = $.extend(true, {}, $.fn.tabNavigation.settings, parameters), settings = $.extend(true, {}, $.fn.tab.settings, parameters),
$module = $(this), $module = $(this),
$tabs = $(settings.context).find(settings.selector.tabs), $tabs = $(settings.context).find(settings.selector.tabs),
@ -162,7 +162,7 @@
var var
pushStateAvailable = (window.history && window.history.pushState), pushStateAvailable = (window.history && window.history.pushState),
shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad), shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
remoteContent = $.isPlainObject(settings.apiSettings), remoteContent = (settings.auto || $.isPlainObject(settings.apiSettings) ),
// only get default path if not remote content // only get default path if not remote content
pathArray = (remoteContent && !shouldIgnoreLoad) pathArray = (remoteContent && !shouldIgnoreLoad)
? module.utils.pathToArray(tabPath) ? module.utils.pathToArray(tabPath)
@ -544,7 +544,6 @@
}); });
} }
if ( $.isFunction( found ) ) { if ( $.isFunction( found ) ) {
module.verbose('Executing invoked function', found);
return found.apply(context, passedArguments); return found.apply(context, passedArguments);
} }
return found || false; return found || false;
@ -572,11 +571,11 @@
}; };
// shortcut for tabbed content with no defined navigation // shortcut for tabbed content with no defined navigation
$.tabNavigation = function(settings) { $.tab = function(settings) {
$(window).tabNavigation(settings); $(window).tab(settings);
}; };
$.fn.tabNavigation.settings = { $.fn.tab.settings = {
moduleName : 'Tab Module', moduleName : 'Tab Module',
verbose : true, verbose : true,

1
build/uncompressed/views/comment.css

@ -74,6 +74,7 @@
---------------------*/ ---------------------*/
.ui.comments .comment .text { .ui.comments .comment .text {
margin: 0.25em 0em 0.5em; margin: 0.25em 0em 0.5em;
word-wrap: break-word;
} }
/*-------------------- /*--------------------
User Actions User Actions

1
build/uncompressed/views/feed.css

@ -64,6 +64,7 @@
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
text-align: left; text-align: left;
word-wrap: break-word;
} }
/* Date */ /* Date */
.ui.feed .content .date { .ui.feed .content .date {

4
node/package.json

@ -37,11 +37,11 @@
"npm": "1.1.x" "npm": "1.1.x"
}, },
"dependencies": { "dependencies": {
"docpad": "~6.45.0", "docpad": "~6.46.3",
"docpad-plugin-coffeescript": "~2.2.2", "docpad-plugin-coffeescript": "~2.2.2",
"docpad-plugin-eco": "~2.0.2", "docpad-plugin-eco": "~2.0.2",
"docpad-plugin-marked": "~2.1.1", "docpad-plugin-marked": "~2.1.1",
"docpad-plugin-partials": "~2.6.3", "docpad-plugin-partials": "~2.7.1",
"docpad-plugin-stylus": "~2.3.1", "docpad-plugin-stylus": "~2.3.1",
"docpad-plugin-text": "~2.2.4", "docpad-plugin-text": "~2.2.4",
"grunt": "~0.4.0", "grunt": "~0.4.0",

3
node/src/documents/collection.html

@ -96,6 +96,3 @@ type : 'Semantic'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/collections/breadcrumb.html

@ -65,6 +65,3 @@ type : 'UI Collection'
</div> </div>
</body>
</html>

3
node/src/documents/collections/form.html

@ -514,6 +514,3 @@ type : 'UI Collection'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/collections/grid.html

@ -714,6 +714,3 @@ type : 'UI Collection'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/collections/menu.html

@ -913,6 +913,3 @@ type : 'UI Collection'
</div> </div>
</body>
</html>

3
node/src/documents/collections/message.html

@ -236,6 +236,3 @@ type : 'UI Collection'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/collections/table.html

@ -594,6 +594,3 @@ type : 'UI Collection'
</table> </table>
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/download.html

@ -15,6 +15,3 @@ type : 'Library'
</div> </div>
</body>
</html>

3
node/src/documents/element.html

@ -217,6 +217,3 @@ type : 'Semantic'
</div> </div>
</body>
</html>

3
node/src/documents/elements/button.html

@ -312,6 +312,3 @@ type : 'UI Element'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/elements/image.html

@ -121,6 +121,3 @@ type : 'UI Element'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/elements/input.html

@ -119,6 +119,3 @@ type : 'UI Element'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/elements/label.html

@ -303,6 +303,3 @@ type : 'UI Element'
</div> </div>
</div> </div>
</body>
</html>

3
node/src/documents/elements/loader.html

@ -130,6 +130,3 @@ type : 'UI Element'
</div> </div>
</body>
</html>

3
node/src/documents/elements/step.html

@ -134,6 +134,3 @@ type : 'UI Element'
</div> </div>
</body>
</html>

9
node/src/documents/index.html

@ -34,7 +34,7 @@ type : 'Semantic'
<i class="circular lightning icon"></i> <i class="circular lightning icon"></i>
<div class="content"> <div class="content">
Built Lean Built Lean
<div class="sub header">Take only what you need. Leave the rest.</div> <div class="sub header">Take only what you need.</div>
</div> </div>
</h1> </h1>
<p>No need to buy into a framework, just use the bits you need. Need to redesign? Simply swap out your definition of what a menu is, or a button, no need to recode everything.</p> <p>No need to buy into a framework, just use the bits you need. Need to redesign? Simply swap out your definition of what a menu is, or a button, no need to recode everything.</p>
@ -44,7 +44,7 @@ type : 'Semantic'
<i class="circular settings icon"></i> <i class="circular settings icon"></i>
<div class="content"> <div class="content">
Made to Grow Made to Grow
<div class="sub header">Extend the language. Share with others.</div> <div class="sub header">Define your own language.</div>
</div> </div>
</h1> </h1>
<p>Semantic provides a rubric for developing re-usable UI that you can share with others, and re-use yourself between projects.</p> <p>Semantic provides a rubric for developing re-usable UI that you can share with others, and re-use yourself between projects.</p>
@ -168,8 +168,3 @@ type : 'Semantic'
</div> </div>
</div> </div>
</div> </div>
</body>
</html>

4
node/src/documents/modules/reveal.html

@ -51,7 +51,6 @@ type : 'UI Module'
<div class="hidden content"> <div class="hidden content">
<p>Bam another message</p> <p>Bam another message</p>
<div class="ui teal labeled icon button"><i class="sketchy x icon"></i> Bam here i am</div> <div class="ui teal labeled icon button"><i class="sketchy x icon"></i> Bam here i am</div>
</p>
</div> </div>
</div> </div>
</div> </div>
@ -165,6 +164,3 @@ type : 'UI Module'
</div> </div>
</body>
</html>

17
node/src/files/components/semantic/collections/menu.css

@ -127,12 +127,10 @@
.ui.menu .menu { .ui.menu .menu {
margin: 0em; margin: 0em;
} }
.ui.menu .menu.left, .ui.menu .menu.left {
.ui.menu .item.left {
float: left; float: left;
} }
.ui.menu .menu.right, .ui.menu .menu.right {
.ui.menu .item.right {
float: right; float: right;
} }
/*-------------- /*--------------
@ -164,6 +162,10 @@
---------------*/ ---------------*/
.ui.menu .text.item > *, .ui.menu .text.item > *,
.ui.menu .item > p:only-child { .ui.menu .item > p:only-child {
-webkit-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
line-height: 1.3; line-height: 1.3;
color: rgba(0, 0, 0, 0.6); color: rgba(0, 0, 0, 0.6);
} }
@ -369,11 +371,14 @@
.ui.vertical.menu .item:first-child:before { .ui.vertical.menu .item:first-child:before {
background-image: none; background-image: none;
} }
.ui.vertical.menu .item:last-child::before {
display: block;
}
/*--- Dropdown ---*/ /*--- Dropdown ---*/
.ui.vertical.menu .dropdown.item > i { .ui.vertical.menu .dropdown.item > i {
float: right; float: right;
} }
.ui.vertical.menu .dropdown.item .menu { .ui.vertical.menu .simple.dropdown.item .menu {
top: 0% !important; top: 0% !important;
left: 100%; left: 100%;
margin: 0em; margin: 0em;
@ -699,7 +704,7 @@
; ;
} }
.ui.text.menu > .item:before { .ui.text.menu > .item:before {
display: none; display: none !important;
} }
.ui.text.menu .header.item { .ui.text.menu .header.item {
background-color: transparent; background-color: transparent;

6
node/src/files/components/semantic/collections/message.css

@ -34,6 +34,12 @@
-moz-border-radius: 0.325em 0.325em 0.325em 0.325em; -moz-border-radius: 0.325em 0.325em 0.325em 0.325em;
border-radius: 0.325em 0.325em 0.325em 0.325em; border-radius: 0.325em 0.325em 0.325em 0.325em;
} }
.ui.segment:first-child {
margin-top: 0em;
}
.ui.segment:last-child {
margin-bottom: 0em;
}
/*-------------- /*--------------
Content Content
---------------*/ ---------------*/

5
node/src/files/components/semantic/elements/button.css

@ -538,6 +538,7 @@
/*--- Tertiary ---*/ /*--- Tertiary ---*/
.ui.buttons.tertiary .button, .ui.buttons.tertiary .button,
.ui.tertiary.button { .ui.tertiary.button {
border-left: none !important;
background-color: transparent; background-color: transparent;
background-image: none; background-image: none;
color: #999999; color: #999999;
@ -636,14 +637,12 @@
.ui.toggle.buttons .button.active, .ui.toggle.buttons .button.active,
.ui.buttons .button.toggle.active, .ui.buttons .button.toggle.active,
.ui.button.toggle.active { .ui.button.toggle.active {
background-color: #BBF0A9; color: #FFFFFF;
color: #1C8C21;
} }
.ui.buttons.toggle .ui.button.active.hover, .ui.buttons.toggle .ui.button.active.hover,
.ui.buttons .ui.button.toggle.active.hover, .ui.buttons .ui.button.toggle.active.hover,
.ui.button.toggle.active.hover { .ui.button.toggle.active.hover {
color: #FFFFFF; color: #FFFFFF;
background-color: #BBF0A9;
} }
/*-------------- /*--------------
Bubbly Bubbly

39
node/src/files/components/semantic/modules/nag.css

@ -15,18 +15,19 @@
.ui.nag { .ui.nag {
display: none; display: none;
opacity: 0.95; opacity: 0.95;
position: absolute; position: relative;
top: 0px; top: 0px;
left: 10%; left: 0%;
z-index: 101; z-index: 101;
width: 80%; min-height: 0;
min-height: 20px; width: 100%;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-ms-box-sizing: border-box; -ms-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
margin: 0em; margin: 0em;
padding: 0.75em 1em; line-height: 3em;
padding: 0em 1em;
background-color: #555555; background-color: #555555;
-webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
@ -51,7 +52,7 @@ a.ui.nag {
margin: 0em 0.5em; margin: 0em 0.5em;
color: #FFFFFF; color: #FFFFFF;
} }
.ui.nag > .icon.close { .ui.nag > .close.icon {
cursor: pointer; cursor: pointer;
opacity: 0.4; opacity: 0.4;
position: absolute; position: absolute;
@ -81,8 +82,8 @@ a.ui.nag {
/*-------------- /*--------------
Static Static
---------------*/ ---------------*/
.ui.static.nag { .ui.overlay.nag {
position: static; position: absolute;
display: block; display: block;
} }
/*-------------- /*--------------
@ -94,24 +95,36 @@ a.ui.nag {
/*-------------- /*--------------
Bottom Bottom
---------------*/ ---------------*/
.ui.nag.bottom { .ui.botton.nag {
-webkit-border-radius: 5px 5px 0px 0px; -webkit-border-radius: 5px 5px 0px 0px;
-moz-border-radius: 5px 5px 0px 0px; -moz-border-radius: 5px 5px 0px 0px;
border-radius: 5px 5px 0px 0px; border-radius: 5px 5px 0px 0px;
} }
.ui.nag.bottom.fixed { .ui.fixed.bottom.nags,
.ui.fixed.bottom.nag {
top: auto; top: auto;
bottom: 0px; bottom: 0px;
} }
/*-------------- /*--------------
White White
---------------*/ ---------------*/
.ui.nag.white { .ui.white.nags .nag,
.ui.white.nag {
background-color: #F1F1F1; background-color: #F1F1F1;
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
color: #ACACAC; color: #ACACAC;
} }
.ui.nag.white .close, .ui.white.nags .nag .close,
.ui.nag.white .title { .ui.white.nags .nag .title,
.ui.white.nag .close,
.ui.white.nag .title {
color: #333333; color: #333333;
} }
/*******************************
Groups
*******************************/
.ui.nags .nag {
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
border-radius: 0px;
}

22
node/src/files/components/semantic/modules/nag.js

@ -105,29 +105,36 @@
}, },
show: function() { show: function() {
if($.fn.popIn !== undefined) { if(settings.animation.show == 'fade') {
$module $module
.popIn(settings.duration) .fadeIn(settings.duration, settings.easing)
; ;
} }
else { else {
$module $module
.fadeIn(settings.duration, settings.easing) .slideDown(settings.duration, settings.easing)
; ;
} }
}, },
hide: function() { hide: function() {
if(settings.animation.show == 'fade') {
$module
.fadeIn(settings.duration, settings.easing)
;
}
else {
$module $module
.fadeOut(settings.duration, settings.easing, this.onHide) .slideUp(settings.duration, settings.easing)
; ;
}
}, },
onHide: function() { onHide: function() {
$module.remove(); $module.remove();
if (settings.onHide) { if (settings.onHide) {
settings.onHide(); settings.onHide();
}; }
}, },
stick: function() { stick: function() {
@ -297,6 +304,11 @@
// set to zero to manually dismiss, otherwise hides on its own // set to zero to manually dismiss, otherwise hides on its own
displayTime : 0, displayTime : 0,
animation : {
show: 'slide',
hide: 'slide'
},
// method of stickyness // method of stickyness
position : 'fixed', position : 'fixed',
scrollBarWidth : 18, scrollBarWidth : 18,

4
node/src/files/components/semantic/modules/reveal.css

@ -56,7 +56,7 @@
overflow: hidden !important; overflow: hidden !important;
white-space: nowrap; white-space: nowrap;
} }
.ui.slide.reveal > * { .ui.slide.reveal > .content {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-ms-box-sizing: border-box; -ms-box-sizing: border-box;
@ -246,7 +246,7 @@
/*-------------- /*--------------
Instant Instant
---------------*/ ---------------*/
.ui.instant.reveal > * { .ui.instant.reveal > .content {
-webkit-transition-delay: 0s !important; -webkit-transition-delay: 0s !important;
-moz-transition-delay: 0s !important; -moz-transition-delay: 0s !important;
-o-transition-delay: 0s !important; -o-transition-delay: 0s !important;

15
node/src/files/components/semantic/modules/tab.js

@ -1,5 +1,5 @@
/* ****************************** /* ******************************
Module - Simple Tab Navigation Module - Tabs
Author: Jack Lukic Author: Jack Lukic
Notes: First Commit Aug 15, 2012 Notes: First Commit Aug 15, 2012
@ -8,10 +8,10 @@
;(function ($, window, document, undefined) { ;(function ($, window, document, undefined) {
$.fn.tabNavigation = function(parameters) { $.fn.tab = function(parameters) {
var var
settings = $.extend(true, {}, $.fn.tabNavigation.settings, parameters), settings = $.extend(true, {}, $.fn.tab.settings, parameters),
$module = $(this), $module = $(this),
$tabs = $(settings.context).find(settings.selector.tabs), $tabs = $(settings.context).find(settings.selector.tabs),
@ -162,7 +162,7 @@
var var
pushStateAvailable = (window.history && window.history.pushState), pushStateAvailable = (window.history && window.history.pushState),
shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad), shouldIgnoreLoad = (pushStateAvailable && settings.ignoreFirstLoad && firstLoad),
remoteContent = $.isPlainObject(settings.apiSettings), remoteContent = (settings.auto || $.isPlainObject(settings.apiSettings) ),
// only get default path if not remote content // only get default path if not remote content
pathArray = (remoteContent && !shouldIgnoreLoad) pathArray = (remoteContent && !shouldIgnoreLoad)
? module.utils.pathToArray(tabPath) ? module.utils.pathToArray(tabPath)
@ -544,7 +544,6 @@
}); });
} }
if ( $.isFunction( found ) ) { if ( $.isFunction( found ) ) {
module.verbose('Executing invoked function', found);
return found.apply(context, passedArguments); return found.apply(context, passedArguments);
} }
return found || false; return found || false;
@ -572,11 +571,11 @@
}; };
// shortcut for tabbed content with no defined navigation // shortcut for tabbed content with no defined navigation
$.tabNavigation = function(settings) { $.tab = function(settings) {
$(window).tabNavigation(settings); $(window).tab(settings);
}; };
$.fn.tabNavigation.settings = { $.fn.tab.settings = {
moduleName : 'Tab Module', moduleName : 'Tab Module',
verbose : true, verbose : true,

1
node/src/files/components/semantic/views/comment.css

@ -74,6 +74,7 @@
---------------------*/ ---------------------*/
.ui.comments .comment .text { .ui.comments .comment .text {
margin: 0.25em 0em 0.5em; margin: 0.25em 0em 0.5em;
word-wrap: break-word;
} }
/*-------------------- /*--------------------
User Actions User Actions

1
node/src/files/components/semantic/views/feed.css

@ -64,6 +64,7 @@
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
text-align: left; text-align: left;
word-wrap: break-word;
} }
/* Date */ /* Date */
.ui.feed .content .date { .ui.feed .content .date {

1
src/modules/tab.js

@ -544,7 +544,6 @@
}); });
} }
if ( $.isFunction( found ) ) { if ( $.isFunction( found ) ) {
module.verbose('Executing invoked function', found);
return found.apply(context, passedArguments); return found.apply(context, passedArguments);
} }
return found || false; return found || false;

Loading…
Cancel
Save