diff --git a/client/app/app.less b/client/app/app.less index 27ba2ba..1e4126a 100755 --- a/client/app/app.less +++ b/client/app/app.less @@ -26,79 +26,10 @@ height: 29px; } -/* - -#page-content { - min-height: 894px; -} - -.list-nostyle { - list-style: none outside none; - margin: 0; -} - -.list-horiz li { +.header .nav { float: left; - list-style-type: none; - position: relative; - padding-right: 20px; } -.truncate { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - -.non-url-button { - cursor: default; -} - -.chat-talk { - padding-top: 5px; -} - -.slimScrollDiv { - padding-left: 5px; - padding-right: 5px; -} - -.sidebar-alt-visible-lg #sidebar-alt { - width: 300px !important; -} - -.sidebar-alt-visible-lg #main-container { - margin-right: 300px !important; -} - -.sidebar-alt-visible-lg.header-fixed-top header.navbar-fixed-top, .sidebar-alt-visible-lg.header-fixed-bottom header.navbar-fixed-bottom, -.sidebar-alt-visible-lg.footer-fixed #main-container #page-content + footer { - right: 300px !important; -} - -.sidebar-content { - width: 100% !important; -} - -.search-result-image { - width: 32px; - height: 32px; -} - -.fa-1-3x { - font-size: 1.3em; -} - -.override-text-align { - text-align: left !important; -} - -h6.description { - font-weight: bold; - letter-spacing: 2px; - color: #999; - border-bottom: 1px solid rgba(0, 0, 0, 0.1); - padding-bottom: 5px; -} - -*/ \ No newline at end of file +.top-nav-buttons { + margin-left: 54px; +} \ No newline at end of file diff --git a/client/app/components/navbar/navbar.html b/client/app/components/navbar/navbar.html index ef5eb13..df65515 100755 --- a/client/app/components/navbar/navbar.html +++ b/client/app/components/navbar/navbar.html @@ -3,9 +3,13 @@ +
+ - + \ No newline at end of file diff --git a/client/app/oldnavbar.html b/client/app/oldnavbar.html deleted file mode 100644 index 6638270..0000000 --- a/client/app/oldnavbar.html +++ /dev/null @@ -1,104 +0,0 @@ - diff --git a/client/assets/flatlab/pulstate.js b/client/assets/flatlab/pulstate.js index 5dc6163..f06fc8b 100644 --- a/client/assets/flatlab/pulstate.js +++ b/client/assets/flatlab/pulstate.js @@ -1,4 +1,97 @@ -(function(c){var k={init:function(a){var b={color:c(this).css("background-color"),reach:20,speed:1E3,pause:0,glow:!0,repeat:!0,onHover:!1};c(this).css({"-moz-outline-radius":c(this).css("border-top-left-radius"),"-webkit-outline-radius":c(this).css("border-top-left-radius"),"outline-radius":c(this).css("border-top-left-radius")});a&&c.extend(b,a);b.color=c("
").css("background-color");!0!==b.repeat&&(!isNaN(b.repeat)&&0f?0:d;var h=(f-d)/f,e=a.color.split(","),h="rgba("+e[0].split("(")[1]+","+e[1]+","+e[2].split(")")[0]+","+h+")",e={outline:"2px solid "+h};a.glow?(e["box-shadow"]="0px 0px "+parseInt(d/1.5)+"px "+h,userAgent=navigator.userAgent||"",/(chrome)[ \/]([\w.]+)/.test(userAgent.toLowerCase())&& -(e["outline-offset"]=d+"px",e["outline-radius"]="100 px")):e["outline-offset"]=d+"px";c(b).css(e);b.timer&&clearTimeout(b.timer);b.timer=setTimeout(function(){if(d>=f&&!a.repeat)return c(b).pulsate("destroy"),!1;if(d>=f&&!0!==a.repeat&&!isNaN(a.repeat)&&0=f)return l(a,b,d+1),!1;g(a,b,d+1)},a.speed/f)},l=function(a,b,c){innerfunc=function(){g(a,b,c)};b.timer=setTimeout(innerfunc,a.pause)};c.fn.pulsate=function(a){if(k[a])return k[a].apply(this,Array.prototype.slice.call(arguments, - 1));if("object"===typeof a||!a)return k.init.apply(this,arguments);c.error("Method "+a+" does not exist on jQuery.pulsate")}})(jQuery); +(function( $ ){ + var methods = { + init: function(options) { + var settings = { + color: $(this).css("background-color"), + reach: 20, + speed: 1000, + pause: 0, + glow: true, + repeat: true, + onHover: false + }; + $(this).css({ + "-moz-outline-radius": $(this).css("border-top-left-radius"), + "-webkit-outline-radius": $(this).css("border-top-left-radius"), + "outline-radius": $(this).css("border-top-left-radius") + }); + + if (options) { + $.extend(settings, options); + } + settings.color = $("
").css("background-color"); + if(settings.repeat !== true && !isNaN(settings.repeat) && settings.repeat > 0) { + settings.repeat -=1; + } + + return this.each(function() { + if(settings.onHover) { + $(this).bind("mouseover", function () {pulse(settings, this, 0);}) + .bind("mouseout", function (){$(this).pulsate("destroy");}); + } else { + pulse(settings, this, 0); + } + }); + }, + destroy: function() { + return this.each(function() { + clearTimeout(this.timer); + $(this).css("outline",0); + }); + } + }; + + var pulse = function(options, el, count) { + var reach = options.reach, + count = count>reach ? 0 : count, + opacity = (reach-count)/reach, + colorarr = options.color.split(","), + color = "rgba(" + colorarr[0].split("(")[1] + "," + colorarr[1] + "," + colorarr[2].split(")")[0] + "," + opacity + ")", + cssObj = { + "outline": "2px solid " + color + }; + if(options.glow) { + cssObj["box-shadow"] = "0px 0px " + parseInt((count/1.5)) + "px " + color; + } + cssObj["outline-offset"] = count + "px"; + + $(el).css(cssObj); + + var innerfunc = function () { + if(count>=reach && !options.repeat) { + $(el).pulsate("destroy"); + return false; + } else if(count>=reach && options.repeat !== true && !isNaN(options.repeat) && options.repeat > 0) { + options.repeat = options.repeat-1; + } else if(options.pause && count>=reach) { + pause(options, el, count+1); + return false; + } + pulse(options, el, count+1); + }; + + if(el.timer){ + clearTimeout(el.timer); + } + el.timer = setTimeout(innerfunc, options.speed/reach); + }; + + var pause = function (options, el, count) { + innerfunc = function () { + pulse(options, el, count); + }; + el.timer = setTimeout(innerfunc, options.pause); + }; + + $.fn.pulsate = function( method ) { + // Method calling logic + if ( methods[method] ) { + return methods[ method ].apply( this, Array.prototype.slice.call( arguments, 1 )); + } else if ( typeof method === 'object' || ! method ) { + return methods.init.apply( this, arguments ); + } else { + $.error( 'Method ' + method + ' does not exist on jQuery.pulsate' ); + } + + }; +})( jQuery ); \ No newline at end of file diff --git a/client/scratch.html b/client/scratch.html index 476b52e..51ab782 100644 --- a/client/scratch.html +++ b/client/scratch.html @@ -1,71 +1,38 @@ -
-
- - - -
- -
-
-
-
- - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - -
- -
+ + + \ No newline at end of file