volt-semantic-ui 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/semanticui/assets/css/semantic.min.css +3 -3
- data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.eot +0 -0
- data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.svg +0 -0
- data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.ttf +0 -0
- data/app/semanticui/assets/css/themes/basic/assets/fonts/icons.woff +0 -0
- data/app/semanticui/assets/css/themes/default/assets/fonts/icons.eot +0 -0
- data/app/semanticui/assets/css/themes/default/assets/fonts/icons.otf +0 -0
- data/app/semanticui/assets/css/themes/default/assets/fonts/icons.svg +526 -465
- data/app/semanticui/assets/css/themes/default/assets/fonts/icons.ttf +0 -0
- data/app/semanticui/assets/css/themes/default/assets/fonts/icons.woff +0 -0
- data/app/semanticui/assets/css/themes/default/assets/fonts/icons.woff2 +0 -0
- data/app/semanticui/assets/css/themes/default/assets/images/flags.png +0 -0
- data/app/semanticui/assets/js/components/accordion.css +256 -0
- data/app/semanticui/assets/js/components/accordion.js +578 -0
- data/app/semanticui/assets/js/components/accordion.min.css +10 -0
- data/app/semanticui/assets/js/components/accordion.min.js +11 -0
- data/app/semanticui/assets/js/components/ad.css +276 -0
- data/app/semanticui/assets/js/components/ad.min.css +10 -0
- data/app/semanticui/assets/js/components/api.js +871 -0
- data/app/semanticui/assets/js/components/api.min.js +11 -0
- data/app/semanticui/assets/js/components/breadcrumb.css +124 -0
- data/app/semanticui/assets/js/components/breadcrumb.min.css +10 -0
- data/app/semanticui/assets/js/components/button.css +2391 -0
- data/app/semanticui/assets/js/components/button.min.css +10 -0
- data/app/semanticui/assets/js/components/card.css +909 -0
- data/app/semanticui/assets/js/components/card.min.css +10 -0
- data/app/semanticui/assets/js/components/checkbox.css +513 -0
- data/app/semanticui/assets/js/components/checkbox.js +509 -0
- data/app/semanticui/assets/js/components/checkbox.min.css +10 -0
- data/app/semanticui/assets/js/components/checkbox.min.js +11 -0
- data/app/semanticui/assets/js/components/comment.css +259 -0
- data/app/semanticui/assets/js/components/comment.min.css +10 -0
- data/app/semanticui/assets/js/components/dimmer.css +186 -0
- data/app/semanticui/assets/js/components/dimmer.js +669 -0
- data/app/semanticui/assets/js/components/dimmer.min.css +10 -0
- data/app/semanticui/assets/js/components/dimmer.min.js +11 -0
- data/app/semanticui/assets/js/components/divider.css +241 -0
- data/app/semanticui/assets/js/components/divider.min.css +10 -0
- data/app/semanticui/assets/js/components/dropdown.css +1103 -0
- data/app/semanticui/assets/js/components/dropdown.js +1795 -0
- data/app/semanticui/assets/js/components/dropdown.min.css +10 -0
- data/app/semanticui/assets/js/components/dropdown.min.js +11 -0
- data/app/semanticui/assets/js/components/feed.css +276 -0
- data/app/semanticui/assets/js/components/feed.min.css +10 -0
- data/app/semanticui/assets/js/components/flag.css +1024 -0
- data/app/semanticui/assets/js/components/flag.min.css +10 -0
- data/app/semanticui/assets/js/components/form.css +891 -0
- data/app/semanticui/assets/js/components/form.js +1118 -0
- data/app/semanticui/assets/js/components/form.min.css +10 -0
- data/app/semanticui/assets/js/components/form.min.js +11 -0
- data/app/semanticui/assets/js/components/grid.css +1871 -0
- data/app/semanticui/assets/js/components/grid.min.css +10 -0
- data/app/semanticui/assets/js/components/header.css +596 -0
- data/app/semanticui/assets/js/components/header.min.css +10 -0
- data/app/semanticui/assets/js/components/icon.css +2467 -0
- data/app/semanticui/assets/js/components/icon.min.css +10 -0
- data/app/semanticui/assets/js/components/image.css +288 -0
- data/app/semanticui/assets/js/components/image.min.css +10 -0
- data/app/semanticui/assets/js/components/input.css +439 -0
- data/app/semanticui/assets/js/components/input.min.css +10 -0
- data/app/semanticui/assets/js/components/item.css +456 -0
- data/app/semanticui/assets/js/components/item.min.css +10 -0
- data/app/semanticui/assets/js/components/label.css +963 -0
- data/app/semanticui/assets/js/components/label.min.css +10 -0
- data/app/semanticui/assets/js/components/list.css +878 -0
- data/app/semanticui/assets/js/components/list.min.css +10 -0
- data/app/semanticui/assets/js/components/loader.css +284 -0
- data/app/semanticui/assets/js/components/loader.min.css +10 -0
- data/app/semanticui/assets/js/components/menu.css +1608 -0
- data/app/semanticui/assets/js/components/menu.min.css +10 -0
- data/app/semanticui/assets/js/components/message.css +421 -0
- data/app/semanticui/assets/js/components/message.min.css +10 -0
- data/app/semanticui/assets/js/components/modal.css +432 -0
- data/app/semanticui/assets/js/components/modal.js +860 -0
- data/app/semanticui/assets/js/components/modal.min.css +10 -0
- data/app/semanticui/assets/js/components/modal.min.js +11 -0
- data/app/semanticui/assets/js/components/nag.css +148 -0
- data/app/semanticui/assets/js/components/nag.js +477 -0
- data/app/semanticui/assets/js/components/nag.min.css +10 -0
- data/app/semanticui/assets/js/components/nag.min.js +11 -0
- data/app/semanticui/assets/js/components/popup.css +293 -0
- data/app/semanticui/assets/js/components/popup.js +1224 -0
- data/app/semanticui/assets/js/components/popup.min.css +10 -0
- data/app/semanticui/assets/js/components/popup.min.js +11 -0
- data/app/semanticui/assets/js/components/progress.css +461 -0
- data/app/semanticui/assets/js/components/progress.js +785 -0
- data/app/semanticui/assets/js/components/progress.min.css +10 -0
- data/app/semanticui/assets/js/components/progress.min.js +11 -0
- data/app/semanticui/assets/js/components/rail.css +124 -0
- data/app/semanticui/assets/js/components/rail.min.css +10 -0
- data/app/semanticui/assets/js/components/rating.css +251 -0
- data/app/semanticui/assets/js/components/rating.js +451 -0
- data/app/semanticui/assets/js/components/rating.min.css +10 -0
- data/app/semanticui/assets/js/components/rating.min.js +11 -0
- data/app/semanticui/assets/js/components/reset.css +429 -0
- data/app/semanticui/assets/js/components/reset.min.css +10 -0
- data/app/semanticui/assets/js/components/reveal.css +293 -0
- data/app/semanticui/assets/js/components/reveal.min.css +10 -0
- data/app/semanticui/assets/js/components/search.css +329 -0
- data/app/semanticui/assets/js/components/search.js +1096 -0
- data/app/semanticui/assets/js/components/search.min.css +10 -0
- data/app/semanticui/assets/js/components/search.min.js +11 -0
- data/app/semanticui/assets/js/components/segment.css +635 -0
- data/app/semanticui/assets/js/components/segment.min.css +10 -0
- data/app/semanticui/assets/js/components/shape.css +154 -0
- data/app/semanticui/assets/js/components/shape.js +830 -0
- data/app/semanticui/assets/js/components/shape.min.css +10 -0
- data/app/semanticui/assets/js/components/shape.min.js +11 -0
- data/app/semanticui/assets/js/components/sidebar.css +625 -0
- data/app/semanticui/assets/js/components/sidebar.js +1089 -0
- data/app/semanticui/assets/js/components/sidebar.min.css +10 -0
- data/app/semanticui/assets/js/components/sidebar.min.js +11 -0
- data/app/semanticui/assets/js/components/site.css +160 -0
- data/app/semanticui/assets/js/components/site.js +487 -0
- data/app/semanticui/assets/js/components/site.min.css +10 -0
- data/app/semanticui/assets/js/components/site.min.js +11 -0
- data/app/semanticui/assets/js/components/state.js +695 -0
- data/app/semanticui/assets/js/components/state.min.js +11 -0
- data/app/semanticui/assets/js/components/statistic.css +409 -0
- data/app/semanticui/assets/js/components/statistic.min.css +10 -0
- data/app/semanticui/assets/js/components/step.css +432 -0
- data/app/semanticui/assets/js/components/step.min.css +10 -0
- data/app/semanticui/assets/js/components/sticky.css +79 -0
- data/app/semanticui/assets/js/components/sticky.js +792 -0
- data/app/semanticui/assets/js/components/sticky.min.css +10 -0
- data/app/semanticui/assets/js/components/sticky.min.js +11 -0
- data/app/semanticui/assets/js/components/tab.css +92 -0
- data/app/semanticui/assets/js/components/tab.js +802 -0
- data/app/semanticui/assets/js/components/tab.min.css +10 -0
- data/app/semanticui/assets/js/components/tab.min.js +11 -0
- data/app/semanticui/assets/js/components/table.css +1000 -0
- data/app/semanticui/assets/js/components/table.min.css +10 -0
- data/app/semanticui/assets/js/components/transition.css +1990 -0
- data/app/semanticui/assets/js/components/transition.js +1038 -0
- data/app/semanticui/assets/js/components/transition.min.css +10 -0
- data/app/semanticui/assets/js/components/transition.min.js +11 -0
- data/app/semanticui/assets/js/components/video.css +125 -0
- data/app/semanticui/assets/js/components/video.js +540 -0
- data/app/semanticui/assets/js/components/video.min.css +10 -0
- data/app/semanticui/assets/js/components/video.min.js +11 -0
- data/app/semanticui/assets/js/components/visibility.js +1032 -0
- data/app/semanticui/assets/js/components/visibility.min.js +11 -0
- data/app/semanticui/assets/js/semantic.min.js +9 -9
- data/lib/volt/semanticui.rb +0 -0
- data/lib/volt/semanticui/version.rb +1 -1
- data/volt-semantic-ui-0.0.1.gem +0 -0
- data/volt-semanticui-0.0.1.gem +0 -0
- data/volt-semanticui.gemspec +0 -0
- metadata +141 -10
@@ -0,0 +1,10 @@
|
|
1
|
+
/*!
|
2
|
+
* # Semantic UI 1.11.4 - Search
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/.ui.search{position:relative}.ui.search>.prompt{margin:0;outline:0;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(255,255,255,0);text-shadow:none;font-style:normal;font-weight:400;line-height:1.2;padding:.68571em 1em;font-size:1em;background:#fff;border:1px solid rgba(39,41,43,.15);color:rgba(0,0,0,.8);box-shadow:0 0 0 0 transparent inset;-webkit-transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}.ui.search .prompt{border-radius:500rem}.ui.search .prompt~.search.icon{cursor:pointer}.ui.search>.results{display:none;position:absolute;top:100%;left:0;background:#fff;margin-top:.5em;width:16em;border-radius:.25em;box-shadow:0 1px 3px 1px rgba(0,0,0,.2);z-index:998}.ui.search>.results .result{cursor:pointer;display:block;overflow:hidden;font-size:1em;padding:.5em 1em;color:rgba(0,0,0,.8);line-height:1.33;border-bottom:1px solid rgba(39,41,43,.15)}.ui.search>.results .result:last-child{border-bottom:none}.ui.search>.results .result .image{float:right;overflow:hidden;background:0 0;width:5em;height:3em;border-radius:.25em}.ui.search>.results .result .image img{display:block;width:auto;height:100%}.ui.search>.results .result .image+.content{margin:0 6em 0 0}.ui.search>.results .result .title{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-weight:700;font-size:1em;color:rgba(0,0,0,.85)}.ui.search>.results .result .description{margin-top:0;font-size:.9285em;color:rgba(0,0,0,.4)}.ui.search>.results .result .price{float:right;color:#5bbd72}.ui.search>.results>.message{padding:1em}.ui.search>.results>.message .header{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:1.1428em;font-weight:700;color:rgba(0,0,0,.8)}.ui.search>.results>.message .description{margin-top:.25rem;font-size:1em;color:rgba(0,0,0,.8)}.ui.search>.results>.action{display:block;border-top:none;background:#f0f0f0;padding:.5em 1em;color:rgba(0,0,0,.8);font-weight:700;text-align:center}.ui.loading.search .input>.icon:before{position:absolute;content:'';top:50%;left:50%;margin:-.64285em 0 0 -.64285em;width:1.2857em;height:1.2857em;border-radius:500rem;border:.2em solid rgba(0,0,0,.1)}.ui.loading.search .input>.icon:after{position:absolute;content:'';top:50%;left:50%;margin:-.64285em 0 0 -.64285em;width:1.2857em;height:1.2857em;-webkit-animation:button-spin .6s linear;animation:button-spin .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#aaa transparent transparent;border-style:solid;border-width:.2em;box-shadow:0 0 0 1px transparent}.ui.category.search>.results .category .result:hover,.ui.search>.results .result:hover{background:#fafafa}.ui.search .action:hover{background:#e0e0e0}.ui.search>.results .category.active{background:#f0f0f0}.ui.search>.results .category.active>.name{color:rgba(0,0,0,.8)}.ui.category.search>.results .category .result.active,.ui.search>.results .result.active{position:relative;border-left-color:transparent;background:#f0f0f0;box-shadow:3px 0 3px 0 rgba(39,41,43,.15)}.ui.search>.results .result.active .description,.ui.search>.results .result.active .title{color:rgba(0,0,0,.85)}.ui.category.search .results{width:28em}.ui.category.search>.results .category{background:#f0f0f0;box-shadow:none;border-bottom:1px solid rgba(39,41,43,.15);-webkit-transition:background .2s ease,border-color .2s ease;transition:background .2s ease,border-color .2s ease}.ui.category.search>.results .category:last-child{border-bottom:none}.ui.category.search>.results .category .result{background:#fff;margin-left:100px;border-left:1px solid rgba(39,41,43,.15);border-bottom:1px solid rgba(39,41,43,.15);-webkit-transition:background .2s ease,border-color .2s ease;transition:background .2s ease,border-color .2s ease}.ui.category.search>.results .category .result:last-child{border-bottom:none}.ui.category.search>.results .category>.name{width:100px;background:#f0f0f0;font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:1em;float:1em;float:left;padding:.4em 1em;font-weight:700;color:rgba(0,0,0,.4)}.ui[class*="left aligned"].search>.results{right:auto;left:0}.ui[class*="right aligned"].search>.results{right:0;left:auto}.ui.fluid.search .results{width:100%}.ui.search{font-size:1em}.ui.large.search{font-size:1.1em}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* # Semantic UI 1.11.4 - Search
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
!function(e,t,s,n){"use strict";e.fn.search=function(r){var a,i=e(this),o=i.selector||"",c=(new Date).getTime(),u=[],l=arguments[0],d="string"==typeof l,f=[].slice.call(arguments,1);return e(this).each(function(){var p,g=e.extend(!0,{},e.fn.search.settings,r),h=g.className,m=g.metadata,v=g.regExp,b=g.selector,y=g.error,w=g.namespace,R="."+w,C=w+"-module",x=e(this),A=x.find(b.prompt),k=x.find(b.searchButton),S=x.find(b.results),q=(x.find(b.result),x.find(b.category),this),E=x.data(C);p={initialize:function(){p.verbose("Initializing module");var e=A[0],t=e!==n&&e.oninput!==n?"input":e!==n&&e.onpropertychange!==n?"propertychange":"keyup";g.automatic&&A.on(t+R,p.throttle).attr("autocomplete","off"),A.on("focus"+R,p.event.focus).on("blur"+R,p.event.blur).on("keydown"+R,p.handleKeyboard),k.on("click"+R,p.query),S.on("mousedown"+R,p.event.result.mousedown).on("mouseup"+R,p.event.result.mouseup).on("click"+R,b.result,p.event.result.click),p.instantiate()},instantiate:function(){p.verbose("Storing instance of module",p),E=p,x.data(C,p)},destroy:function(){p.verbose("Destroying instance"),x.removeData(C),A.off(R),k.off(R),S.off(R)},event:{focus:function(){p.set.focus(),clearTimeout(p.timer),p.throttle(),p.has.minimumCharacters()&&p.showResults()},blur:function(){var e=s.activeElement===this;e||p.resultsClicked||(p.cancel.query(),p.remove.focus(),p.timer=setTimeout(p.hideResults,g.hideDelay))},result:{mousedown:function(){p.resultsClicked=!0},mouseup:function(){p.resultsClicked=!1},click:function(s){p.debug("Search result selected");var n=e(this),r=n.find(b.title).eq(0),a=n.find("a[href]").eq(0),i=a.attr("href")||!1,o=a.attr("target")||!1,c=(r.html(),r.length>0?r.text():!1),u=p.get.results(),l=p.get.result(c,u);return e.isFunction(g.onSelect)&&g.onSelect.call(q,l,u)===!1?void p.debug("Custom onSelect callback cancelled default select action"):(p.hideResults(),c&&p.set.value(c),void(i&&(p.verbose("Opening search link found in result",a),"_blank"==o||s.ctrlKey?t.open(i):t.location.href=i)))}}},handleKeyboard:function(e){var t,s=x.find(b.result),n=x.find(b.category),r=s.index(s.filter("."+h.active)),a=s.length,i=e.which,o={backspace:8,enter:13,escape:27,upArrow:38,downArrow:40};if(i==o.escape&&(p.verbose("Escape key pressed, blurring search field"),A.trigger("blur")),p.is.visible())if(i==o.enter){if(p.verbose("Enter key pressed, selecting active result"),s.filter("."+h.active).length>0)return p.event.result.click.call(s.filter("."+h.active),e),e.preventDefault(),!1}else i==o.upArrow?(p.verbose("Up key pressed, changing active result"),t=0>r-1?r:r-1,n.removeClass(h.active),s.removeClass(h.active).eq(t).addClass(h.active).closest(n).addClass(h.active),e.preventDefault()):i==o.downArrow&&(p.verbose("Down key pressed, changing active result"),t=r+1>=a?r:r+1,n.removeClass(h.active),s.removeClass(h.active).eq(t).addClass(h.active).closest(n).addClass(h.active),e.preventDefault());else i==o.enter&&(p.verbose("Enter key pressed, executing query"),p.query(),p.set.buttonPressed(),A.one("keyup",p.remove.buttonFocus))},setup:{api:function(){var e={on:!1,action:"search",onFailure:p.error};p.verbose("First request, initializing API"),x.api(e)}},can:{useAPI:function(){return e.fn.api!==n},transition:function(){return g.transition&&e.fn.transition!==n&&x.transition("is supported")}},is:{empty:function(){return""===S.html()},visible:function(){return S.filter(":visible").length>0},focused:function(){return A.filter(":focus").length>0}},get:{value:function(){return A.val()},results:function(){var e=x.data(m.results);return e},result:function(t,s){var n=!1;return t=t||p.get.value(),s=s||p.get.results(),"category"===g.type?(p.debug("Finding result that matches",t),e.each(s,function(s,r){return e.isArray(r.results)&&(n=p.search.object(t,r.results)[0],n&&n.length>0)?!0:void 0})):(p.debug("Finding result in results object",t),n=p.search.object(t,s)[0]),n}},set:{focus:function(){x.addClass(h.focus)},loading:function(){x.addClass(h.loading)},value:function(e){p.verbose("Setting search input value",e),A.val(e),p.query()},buttonPressed:function(){k.addClass(h.pressed)}},remove:{loading:function(){x.removeClass(h.loading)},focus:function(){x.removeClass(h.focus)},buttonPressed:function(){k.removeClass(h.pressed)}},query:function(){var t=p.get.value(),s=p.read.cache(t);s?(p.debug("Reading result for "+t+" from cache"),p.save.results(s.results),p.addResults(s.html)):(p.debug("Querying for "+t),e.isPlainObject(g.source)||e.isArray(g.source)?p.search.local(t):p.can.useAPI()?g.apiSettings?(p.debug("Searching with specified API settings",g.apiSettings),p.search.remote(t)):e.api.settings.api.search!==n?(p.debug("Searching with default search API endpoint"),p.search.remote(t)):p.error(y.noEndpoint):p.error(y.source),g.onSearchQuery.call(q,t))},search:{local:function(e){var t,s=p.search.object(e,g.content);p.set.loading(),p.save.results(s),p.debug("Returned local search results",s),t=p.generateResults({results:s}),p.remove.loading(),p.write.cache(e,{html:t,results:s}),p.addResults(t)},remote:function(t){var s={onSuccess:function(e){p.parse.response.call(q,e,t)},urlData:{query:t}};x.api("get request")||p.setup.api(),e.extend(!0,s,g.apiSettings),p.debug("Executing search",s),p.cancel.query(),x.api("setting",s).api("query")},object:function(t,s){var r=[],a=[],i=e.isArray(g.searchFields)?g.searchFields:[g.searchFields],o=t.replace(v.escape,"\\$&"),c=new RegExp(v.exact+o,"i");return s=s||g.source,s===n?(p.error(y.source),[]):(e.each(i,function(n,i){e.each(s,function(s,n){var o="string"==typeof n[i],u=-1==e.inArray(n,r)&&-1==e.inArray(n,a);o&&u&&(n[i].match(c)?r.push(n):g.searchFullText&&p.fuzzySearch(t,n[i])&&a.push(n))})}),e.merge(r,a))}},fuzzySearch:function(e,t){var s=t.length,n=e.length;if(e=e.toLowerCase(),t=t.toLowerCase(),n>s)return!1;if(n===s)return e===t;e:for(var r=0,a=0;n>r;r++){for(var i=e.charCodeAt(r);s>a;)if(t.charCodeAt(a++)===i)continue e;return!1}return!0},parse:{response:function(e,t){var s=p.generateResults(e);p.verbose("Parsing server response",e),e!==n&&t!==n&&e.results!==n&&(p.write.cache(t,{html:s,results:e.results}),p.save.results(e.results),p.addResults(s))}},throttle:function(){clearTimeout(p.timer),p.has.minimumCharacters()?p.timer=setTimeout(p.query,g.searchDelay):p.hideResults()},cancel:{query:function(){p.can.useAPI()&&x.api("abort")}},has:{minimumCharacters:function(){var e=p.get.value(),t=e.length;return t>=g.minCharacters}},read:{cache:function(e){var t=x.data(m.cache);return g.cache?(p.verbose("Checking cache for generated html for query",e),"object"==typeof t&&t[e]!==n?t[e]:!1):!1}},save:{results:function(e){p.verbose("Saving current search results to metadata",e),x.data(m.results,e)}},write:{cache:function(e,t){var s=x.data(m.cache)!==n?x.data(m.cache):{};g.cache&&(p.verbose("Writing generated html to cache",e,t),s[e]=t,x.data(m.cache,s))}},addResults:function(t){return e.isFunction(g.onResultsAdd)&&g.onResultsAdd.call(S,t)===!1?(p.debug("onResultsAdd callback cancelled default action"),!1):(S.html(t),void p.showResults())},showResults:function(){p.is.visible()||!p.is.focused()||p.is.empty()||(p.can.transition()?(p.debug("Showing results with css animations"),S.transition({animation:g.transition+" in",duration:g.duration,queue:!0})):(p.debug("Showing results with javascript"),S.stop().fadeIn(g.duration,g.easing)),g.onResultsOpen.call(S))},hideResults:function(){p.is.visible()&&(p.can.transition()?(p.debug("Hiding results with css animations"),S.transition({animation:g.transition+" out",duration:g.duration,queue:!0})):(p.debug("Hiding results with javascript"),S.stop().fadeOut(g.duration,g.easing)),g.onResultsClose.call(S))},generateResults:function(t){p.debug("Generating html from response",t);var s=g.templates[g.type],n=e.isPlainObject(t.results)&&!e.isEmptyObject(t.results),r=e.isArray(t.results)&&t.results.length>0,a="";return n||r?(g.maxResults>0&&(n?"standard"==g.type&&p.error(y.maxResults):t.results=t.results.slice(0,g.maxResults)),e.isFunction(s)?a=s(t):p.error(y.noTemplate,!1)):a=p.displayMessage(y.noResults,"empty"),g.onResults.call(q,t),a},displayMessage:function(e,t){return t=t||"standard",p.debug("Displaying message",e,t),p.addResults(g.templates.message(e,t)),g.templates.message(e,t)},setting:function(t,s){if(e.isPlainObject(t))e.extend(!0,g,t);else{if(s===n)return g[t];g[t]=s}},internal:function(t,s){if(e.isPlainObject(t))e.extend(!0,p,t);else{if(s===n)return p[t];p[t]=s}},debug:function(){g.debug&&(g.performance?p.performance.log(arguments):(p.debug=Function.prototype.bind.call(console.info,console,g.name+":"),p.debug.apply(console,arguments)))},verbose:function(){g.verbose&&g.debug&&(g.performance?p.performance.log(arguments):(p.verbose=Function.prototype.bind.call(console.info,console,g.name+":"),p.verbose.apply(console,arguments)))},error:function(){p.error=Function.prototype.bind.call(console.error,console,g.name+":"),p.error.apply(console,arguments)},performance:{log:function(e){var t,s,n;g.performance&&(t=(new Date).getTime(),n=c||t,s=t-n,c=t,u.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:q,"Execution Time":s})),clearTimeout(p.performance.timer),p.performance.timer=setTimeout(p.performance.display,100)},display:function(){var t=g.name+":",s=0;c=!1,clearTimeout(p.performance.timer),e.each(u,function(e,t){s+=t["Execution Time"]}),t+=" "+s+"ms",o&&(t+=" '"+o+"'"),i.length>1&&(t+=" ("+i.length+")"),(console.group!==n||console.table!==n)&&u.length>0&&(console.groupCollapsed(t),console.table?console.table(u):e.each(u,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),u=[]}},invoke:function(t,s,r){var i,o,c,u=E;return s=s||f,r=q||r,"string"==typeof t&&u!==n&&(t=t.split(/[\. ]/),i=t.length-1,e.each(t,function(s,r){var a=s!=i?r+t[s+1].charAt(0).toUpperCase()+t[s+1].slice(1):t;if(e.isPlainObject(u[a])&&s!=i)u=u[a];else{if(u[a]!==n)return o=u[a],!1;if(!e.isPlainObject(u[r])||s==i)return u[r]!==n?(o=u[r],!1):!1;u=u[r]}})),e.isFunction(o)?c=o.apply(r,s):o!==n&&(c=o),e.isArray(a)?a.push(c):a!==n?a=[a,c]:c!==n&&(a=c),o}},d?(E===n&&p.initialize(),p.invoke(l)):(E!==n&&E.invoke("destroy"),p.initialize())}),a!==n?a:this},e.fn.search.settings={name:"Search Module",namespace:"search",debug:!1,verbose:!0,performance:!0,type:"standard",minCharacters:1,apiSettings:!1,source:!1,searchFields:["title","description"],searchFullText:!0,automatic:"true",hideDelay:0,searchDelay:100,maxResults:7,cache:!0,transition:"scale",duration:300,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(){},onResults:function(){},onResultsOpen:function(){},onResultsClose:function(){},className:{active:"active",empty:"empty",focus:"focus",loading:"loading",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noEndpoint:"No search endpoint was specified",noTemplate:"A valid template name was not specified.",serverError:"There was an issue with querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined."},metadata:{cache:"cache",results:"results"},regExp:{escape:/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,exact:"(?:s|^)"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e){var t=/[&<>"'`]/g,s=/[&<>"'`]/,n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},r=function(e){return n[e]};return s.test(e)?e.replace(t,r):e},message:function(e,t){var s="";return e!==n&&t!==n&&(s+='<div class="message '+t+'">',s+="empty"==t?'<div class="header">No Results</div class="header"><div class="description">'+e+'</div class="description">':' <div class="description">'+e+"</div>",s+="</div>"),s},category:function(t){var s="",r=e.fn.search.settings.templates.escape;return t.results!==n?(e.each(t.results,function(t,a){a.results!==n&&a.results.length>0&&(s+='<div class="category"><div class="name">'+a.name+"</div>",e.each(a.results,function(e,t){s+='<div class="result">',t.url&&(s+='<a href="'+t.url+'"></a>'),t.image!==n&&(t.image=r(t.image),s+='<div class="image"> <img src="'+t.image+'" alt=""></div>'),s+='<div class="content">',t.price!==n&&(t.price=r(t.price),s+='<div class="price">'+t.price+"</div>"),t.title!==n&&(t.title=r(t.title),s+='<div class="title">'+t.title+"</div>"),t.description!==n&&(s+='<div class="description">'+t.description+"</div>"),s+="</div></div>"}),s+="</div>")}),t.action&&(s+='<a href="'+t.action.url+'" class="action">'+t.action.text+"</a>"),s):!1},standard:function(t){var s="";return t.results!==n?(e.each(t.results,function(e,t){s+=t.url?'<a class="result" href="'+t.url+'">':'<a class="result">',t.image!==n&&(s+='<div class="image"> <img src="'+t.image+'"></div>'),s+='<div class="content">',t.price!==n&&(s+='<div class="price">'+t.price+"</div>"),t.title!==n&&(s+='<div class="title">'+t.title+"</div>"),t.description!==n&&(s+='<div class="description">'+t.description+"</div>"),s+="</div>",s+="</a>"}),t.action&&(s+='<a href="'+t.action.url+'" class="action">'+t.action.text+"</a>"),s):!1}}}}(jQuery,window,document);
|
@@ -0,0 +1,635 @@
|
|
1
|
+
/*!
|
2
|
+
* # Semantic UI 1.11.4 - Segment
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
/*******************************
|
14
|
+
Segment
|
15
|
+
*******************************/
|
16
|
+
|
17
|
+
.ui.segment {
|
18
|
+
position: relative;
|
19
|
+
background-color: #ffffff;
|
20
|
+
box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
21
|
+
margin: 1rem 0em;
|
22
|
+
padding: 1em 1em;
|
23
|
+
border-radius: 0.2857rem;
|
24
|
+
border: none;
|
25
|
+
}
|
26
|
+
.ui.segment:first-child {
|
27
|
+
margin-top: 0em;
|
28
|
+
}
|
29
|
+
.ui.segment:last-child {
|
30
|
+
margin-bottom: 0em;
|
31
|
+
}
|
32
|
+
.ui.segment:after {
|
33
|
+
content: '';
|
34
|
+
display: block;
|
35
|
+
height: 0px;
|
36
|
+
clear: both;
|
37
|
+
visibility: hidden;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* Vertical */
|
41
|
+
.ui[class*="vertical segment"] {
|
42
|
+
margin: 0em;
|
43
|
+
padding-left: 0em;
|
44
|
+
padding-right: 0em;
|
45
|
+
background-color: transparent;
|
46
|
+
border-radius: 0px;
|
47
|
+
border: none;
|
48
|
+
box-shadow: 0px -1px 0px rgba(39, 41, 43, 0.15) inset;
|
49
|
+
}
|
50
|
+
.ui[class*="vertical segment"]:last-child {
|
51
|
+
box-shadow: none;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Horizontal */
|
55
|
+
.ui[class*="horizontal segment"] {
|
56
|
+
margin: 0em;
|
57
|
+
padding-top: 0em;
|
58
|
+
padding-bottom: 0em;
|
59
|
+
background-color: transparent;
|
60
|
+
border-radius: 0px;
|
61
|
+
border: none;
|
62
|
+
box-shadow: 1px 0px 0px rgba(39, 41, 43, 0.15);
|
63
|
+
}
|
64
|
+
|
65
|
+
/*-------------------
|
66
|
+
Loose Coupling
|
67
|
+
--------------------*/
|
68
|
+
|
69
|
+
|
70
|
+
/* Header */
|
71
|
+
.ui.inverted.segment > .ui.header {
|
72
|
+
color: #ffffff;
|
73
|
+
}
|
74
|
+
|
75
|
+
/* Label */
|
76
|
+
.ui[class*="bottom attached"].segment > [class*="top attached"].label {
|
77
|
+
border-top-left-radius: 0em;
|
78
|
+
border-top-right-radius: 0em;
|
79
|
+
}
|
80
|
+
.ui[class*="top attached"].segment > [class*="bottom attached"].label {
|
81
|
+
border-bottom-left-radius: 0em;
|
82
|
+
border-bottom-right-radius: 0em;
|
83
|
+
}
|
84
|
+
.ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
|
85
|
+
border-top-left-radius: 0em;
|
86
|
+
border-top-right-radius: 0em;
|
87
|
+
}
|
88
|
+
.ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
|
89
|
+
border-bottom-left-radius: 0em;
|
90
|
+
border-bottom-right-radius: 0em;
|
91
|
+
}
|
92
|
+
|
93
|
+
/* Grid */
|
94
|
+
.ui.page.grid.segment,
|
95
|
+
.ui.grid .ui.segment.column {
|
96
|
+
padding-top: 2em;
|
97
|
+
padding-bottom: 2em;
|
98
|
+
}
|
99
|
+
.ui.grid.segment {
|
100
|
+
margin: 1rem 0rem;
|
101
|
+
border-radius: 0.2857rem;
|
102
|
+
}
|
103
|
+
|
104
|
+
/* Table */
|
105
|
+
.ui.basic.table.segment {
|
106
|
+
background: #ffffff;
|
107
|
+
border: none;
|
108
|
+
box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
109
|
+
}
|
110
|
+
.ui[class*="very basic"].table.segment {
|
111
|
+
padding: 1em 1em;
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
/*******************************
|
116
|
+
Types
|
117
|
+
*******************************/
|
118
|
+
|
119
|
+
|
120
|
+
/*-------------------
|
121
|
+
Piled
|
122
|
+
--------------------*/
|
123
|
+
|
124
|
+
.ui.piled.segment {
|
125
|
+
margin: 3em 0em;
|
126
|
+
box-shadow: 0px 0px 1px 1px rgba(39, 41, 43, 0.15);
|
127
|
+
z-index: auto;
|
128
|
+
}
|
129
|
+
.ui.piled.segment:first-child {
|
130
|
+
margin-top: 0em;
|
131
|
+
}
|
132
|
+
.ui.piled.segment:last-child {
|
133
|
+
margin-bottom: 0em;
|
134
|
+
}
|
135
|
+
.ui.piled.segment:after,
|
136
|
+
.ui.piled.segment:before {
|
137
|
+
background-color: #ffffff;
|
138
|
+
visibility: visible;
|
139
|
+
content: '';
|
140
|
+
display: block;
|
141
|
+
height: 100%;
|
142
|
+
left: 0px;
|
143
|
+
position: absolute;
|
144
|
+
width: 100%;
|
145
|
+
box-shadow: 0px 0px 1px 1px rgba(39, 41, 43, 0.15);
|
146
|
+
}
|
147
|
+
.ui.piled.segment:after {
|
148
|
+
-webkit-transform: rotate(1.2deg);
|
149
|
+
-ms-transform: rotate(1.2deg);
|
150
|
+
transform: rotate(1.2deg);
|
151
|
+
top: 0;
|
152
|
+
z-index: -1;
|
153
|
+
}
|
154
|
+
.ui.piled.segment:before {
|
155
|
+
-webkit-transform: rotate(-1.2deg);
|
156
|
+
-ms-transform: rotate(-1.2deg);
|
157
|
+
transform: rotate(-1.2deg);
|
158
|
+
top: 0;
|
159
|
+
z-index: -2;
|
160
|
+
}
|
161
|
+
|
162
|
+
/* Piled Attached */
|
163
|
+
.ui[class*="top attached"].piled.segment {
|
164
|
+
margin-top: 3em;
|
165
|
+
margin-bottom: 0em;
|
166
|
+
}
|
167
|
+
.ui.piled.segment[class*="top attached"]:first-child {
|
168
|
+
margin-top: 0em;
|
169
|
+
}
|
170
|
+
.ui.piled.segment[class*="bottom attached"] {
|
171
|
+
margin-top: 0em;
|
172
|
+
margin-bottom: 3em;
|
173
|
+
}
|
174
|
+
.ui.piled.segment[class*="bottom attached"]:last-child {
|
175
|
+
margin-bottom: 0em;
|
176
|
+
}
|
177
|
+
|
178
|
+
/*-------------------
|
179
|
+
Stacked
|
180
|
+
--------------------*/
|
181
|
+
|
182
|
+
.ui.stacked.segment {
|
183
|
+
padding-bottom: 1.4em;
|
184
|
+
}
|
185
|
+
.ui.stacked.segment:after,
|
186
|
+
.ui.stacked.segment:before {
|
187
|
+
content: '';
|
188
|
+
position: absolute;
|
189
|
+
bottom: -3px;
|
190
|
+
left: 0%;
|
191
|
+
border-top: 1px solid rgba(39, 41, 43, 0.15);
|
192
|
+
background-color: rgba(0, 0, 0, 0.03);
|
193
|
+
width: 100%;
|
194
|
+
height: 6px;
|
195
|
+
visibility: visible;
|
196
|
+
}
|
197
|
+
.ui.stacked.segment:before {
|
198
|
+
display: none;
|
199
|
+
}
|
200
|
+
|
201
|
+
/* Add additional page */
|
202
|
+
.ui.tall.stacked.segment:before {
|
203
|
+
display: block;
|
204
|
+
bottom: 0px;
|
205
|
+
}
|
206
|
+
|
207
|
+
/* Inverted */
|
208
|
+
.ui.stacked.inverted.segment:after,
|
209
|
+
.ui.stacked.inverted.segment:before {
|
210
|
+
background-color: rgba(0, 0, 0, 0.03);
|
211
|
+
border-top: 1px solid rgba(39, 41, 43, 0.3);
|
212
|
+
}
|
213
|
+
|
214
|
+
/*-------------------
|
215
|
+
Compact
|
216
|
+
--------------------*/
|
217
|
+
|
218
|
+
.ui.compact.segment {
|
219
|
+
display: table;
|
220
|
+
}
|
221
|
+
|
222
|
+
/*-------------------
|
223
|
+
Circular
|
224
|
+
--------------------*/
|
225
|
+
|
226
|
+
.ui.circular.segment {
|
227
|
+
display: table-cell;
|
228
|
+
padding: 2em;
|
229
|
+
text-align: center;
|
230
|
+
vertical-align: middle;
|
231
|
+
border-radius: 500em;
|
232
|
+
}
|
233
|
+
|
234
|
+
/*-------------------
|
235
|
+
Raised
|
236
|
+
--------------------*/
|
237
|
+
|
238
|
+
.ui.raised.segment {
|
239
|
+
box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
|
240
|
+
}
|
241
|
+
|
242
|
+
|
243
|
+
/*******************************
|
244
|
+
States
|
245
|
+
*******************************/
|
246
|
+
|
247
|
+
|
248
|
+
/*--------------
|
249
|
+
Disabled
|
250
|
+
---------------*/
|
251
|
+
|
252
|
+
.ui.disabled.segment {
|
253
|
+
opacity: 0.3;
|
254
|
+
color: rgba(40, 40, 40, 0.3);
|
255
|
+
}
|
256
|
+
|
257
|
+
/*--------------
|
258
|
+
Loading
|
259
|
+
---------------*/
|
260
|
+
|
261
|
+
.ui.loading.segment {
|
262
|
+
position: relative;
|
263
|
+
cursor: default;
|
264
|
+
point-events: none;
|
265
|
+
text-shadow: none !important;
|
266
|
+
color: transparent !important;
|
267
|
+
-webkit-transition: all 0s linear;
|
268
|
+
transition: all 0s linear;
|
269
|
+
}
|
270
|
+
.ui.loading.segment:before {
|
271
|
+
position: absolute;
|
272
|
+
content: '';
|
273
|
+
top: 0%;
|
274
|
+
left: 0%;
|
275
|
+
background: rgba(255, 255, 255, 0.8);
|
276
|
+
width: 100%;
|
277
|
+
height: 100%;
|
278
|
+
border-radius: 0.2857rem;
|
279
|
+
z-index: 100;
|
280
|
+
}
|
281
|
+
.ui.loading.segment:after {
|
282
|
+
position: absolute;
|
283
|
+
content: '';
|
284
|
+
top: 50%;
|
285
|
+
left: 50%;
|
286
|
+
margin: -1.5em 0em 0em -1.5em;
|
287
|
+
width: 3em;
|
288
|
+
height: 3em;
|
289
|
+
-webkit-animation: segment-spin 0.6s linear;
|
290
|
+
animation: segment-spin 0.6s linear;
|
291
|
+
-webkit-animation-iteration-count: infinite;
|
292
|
+
animation-iteration-count: infinite;
|
293
|
+
border-radius: 500rem;
|
294
|
+
border-color: #aaaaaa rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
|
295
|
+
border-style: solid;
|
296
|
+
border-width: 0.2em;
|
297
|
+
box-shadow: 0px 0px 0px 1px transparent;
|
298
|
+
visibility: visible;
|
299
|
+
z-index: 101;
|
300
|
+
}
|
301
|
+
@-webkit-keyframes segment-spin {
|
302
|
+
from {
|
303
|
+
-webkit-transform: rotate(0deg);
|
304
|
+
transform: rotate(0deg);
|
305
|
+
}
|
306
|
+
to {
|
307
|
+
-webkit-transform: rotate(360deg);
|
308
|
+
transform: rotate(360deg);
|
309
|
+
}
|
310
|
+
}
|
311
|
+
@keyframes segment-spin {
|
312
|
+
from {
|
313
|
+
-webkit-transform: rotate(0deg);
|
314
|
+
transform: rotate(0deg);
|
315
|
+
}
|
316
|
+
to {
|
317
|
+
-webkit-transform: rotate(360deg);
|
318
|
+
transform: rotate(360deg);
|
319
|
+
}
|
320
|
+
}
|
321
|
+
|
322
|
+
|
323
|
+
/*******************************
|
324
|
+
Variations
|
325
|
+
*******************************/
|
326
|
+
|
327
|
+
|
328
|
+
/*-------------------
|
329
|
+
Basic
|
330
|
+
--------------------*/
|
331
|
+
|
332
|
+
.ui.basic.segment {
|
333
|
+
position: relative;
|
334
|
+
background-color: transparent;
|
335
|
+
box-shadow: none;
|
336
|
+
border-radius: 0px;
|
337
|
+
}
|
338
|
+
|
339
|
+
/*-------------------
|
340
|
+
Fittted
|
341
|
+
--------------------*/
|
342
|
+
|
343
|
+
.ui.fitted.segment {
|
344
|
+
padding: 0em;
|
345
|
+
}
|
346
|
+
|
347
|
+
/*-------------------
|
348
|
+
Colors
|
349
|
+
--------------------*/
|
350
|
+
|
351
|
+
.ui.black.segment:not(.inverted) {
|
352
|
+
border-top: 2px solid #1b1c1d;
|
353
|
+
}
|
354
|
+
.ui.blue.segment:not(.inverted) {
|
355
|
+
border-top: 2px solid #3b83c0;
|
356
|
+
}
|
357
|
+
.ui.green.segment:not(.inverted) {
|
358
|
+
border-top: 2px solid #5bbd72;
|
359
|
+
}
|
360
|
+
.ui.orange.segment:not(.inverted) {
|
361
|
+
border-top: 2px solid #e07b53;
|
362
|
+
}
|
363
|
+
.ui.pink.segment:not(.inverted) {
|
364
|
+
border-top: 2px solid #d9499a;
|
365
|
+
}
|
366
|
+
.ui.purple.segment:not(.inverted) {
|
367
|
+
border-top: 2px solid #564f8a;
|
368
|
+
}
|
369
|
+
.ui.red.segment:not(.inverted) {
|
370
|
+
border-top: 2px solid #d95c5c;
|
371
|
+
}
|
372
|
+
.ui.teal.segment:not(.inverted) {
|
373
|
+
border-top: 2px solid #00b5ad;
|
374
|
+
}
|
375
|
+
.ui.yellow.segment:not(.inverted) {
|
376
|
+
border-top: 2px solid #f2c61f;
|
377
|
+
}
|
378
|
+
.ui.black.segment:not(.inverted):not(.attached) {
|
379
|
+
border-top-left-radius: 0.2857rem !important;
|
380
|
+
border-top-right-radius: 0.2857rem !important;
|
381
|
+
}
|
382
|
+
.ui.blue.segment:not(.inverted):not(.attached) {
|
383
|
+
border-top-left-radius: 0.2857rem !important;
|
384
|
+
border-top-right-radius: 0.2857rem !important;
|
385
|
+
}
|
386
|
+
.ui.green.segment:not(.inverted):not(.attached) {
|
387
|
+
border-top-left-radius: 0.2857rem !important;
|
388
|
+
border-top-right-radius: 0.2857rem !important;
|
389
|
+
}
|
390
|
+
.ui.orange.segment:not(.inverted):not(.attached) {
|
391
|
+
border-top-left-radius: 0.2857rem !important;
|
392
|
+
border-top-right-radius: 0.2857rem !important;
|
393
|
+
}
|
394
|
+
.ui.pink.segment:not(.inverted):not(.attached) {
|
395
|
+
border-top-left-radius: 0.2857rem !important;
|
396
|
+
border-top-right-radius: 0.2857rem !important;
|
397
|
+
}
|
398
|
+
.ui.purple.segment:not(.inverted):not(.attached) {
|
399
|
+
border-top-left-radius: 0.2857rem !important;
|
400
|
+
border-top-right-radius: 0.2857rem !important;
|
401
|
+
}
|
402
|
+
.ui.red.segment:not(.inverted):not(.attached) {
|
403
|
+
border-top-left-radius: 0.2857rem !important;
|
404
|
+
border-top-right-radius: 0.2857rem !important;
|
405
|
+
}
|
406
|
+
.ui.teal.segment:not(.inverted):not(.attached) {
|
407
|
+
border-top-left-radius: 0.2857rem !important;
|
408
|
+
border-top-right-radius: 0.2857rem !important;
|
409
|
+
}
|
410
|
+
.ui.yellow.segment:not(.inverted):not(.attached) {
|
411
|
+
border-top-left-radius: 0.2857rem !important;
|
412
|
+
border-top-right-radius: 0.2857rem !important;
|
413
|
+
}
|
414
|
+
|
415
|
+
/*-------------------
|
416
|
+
Inverted Colors
|
417
|
+
--------------------*/
|
418
|
+
|
419
|
+
.ui.inverted.segment,
|
420
|
+
.ui.inverted.black.segment {
|
421
|
+
background-color: #1b1c1d !important;
|
422
|
+
color: #ffffff !important;
|
423
|
+
}
|
424
|
+
.ui.inverted.blue.segment {
|
425
|
+
background-color: #3b83c0 !important;
|
426
|
+
color: #ffffff !important;
|
427
|
+
}
|
428
|
+
.ui.inverted.green.segment {
|
429
|
+
background-color: #5bbd72 !important;
|
430
|
+
color: #ffffff !important;
|
431
|
+
}
|
432
|
+
.ui.inverted.orange.segment {
|
433
|
+
background-color: #e07b53 !important;
|
434
|
+
color: #ffffff !important;
|
435
|
+
}
|
436
|
+
.ui.inverted.pink.segment {
|
437
|
+
background-color: #d9499a !important;
|
438
|
+
color: #ffffff !important;
|
439
|
+
}
|
440
|
+
.ui.inverted.purple.segment {
|
441
|
+
background-color: #564f8a !important;
|
442
|
+
color: #ffffff !important;
|
443
|
+
}
|
444
|
+
.ui.inverted.red.segment {
|
445
|
+
background-color: #d95c5c !important;
|
446
|
+
color: #ffffff !important;
|
447
|
+
}
|
448
|
+
.ui.inverted.teal.segment {
|
449
|
+
background-color: #00b5ad !important;
|
450
|
+
color: #ffffff !important;
|
451
|
+
}
|
452
|
+
.ui.inverted.yellow.segment {
|
453
|
+
background-color: #f2c61f !important;
|
454
|
+
color: #ffffff !important;
|
455
|
+
}
|
456
|
+
|
457
|
+
/*-------------------
|
458
|
+
Aligned
|
459
|
+
--------------------*/
|
460
|
+
|
461
|
+
.ui[class*="left aligned"].segment {
|
462
|
+
text-align: left;
|
463
|
+
}
|
464
|
+
.ui[class*="right aligned"].segment {
|
465
|
+
text-align: right;
|
466
|
+
}
|
467
|
+
.ui[class*="center aligned"].segment {
|
468
|
+
text-align: center;
|
469
|
+
}
|
470
|
+
|
471
|
+
/*-------------------
|
472
|
+
Floated
|
473
|
+
--------------------*/
|
474
|
+
|
475
|
+
.ui.floated.segment,
|
476
|
+
.ui[class*="left floated"].segment {
|
477
|
+
float: left;
|
478
|
+
margin-right: 1rem;
|
479
|
+
}
|
480
|
+
.ui[class*="right floated"].segment {
|
481
|
+
float: right;
|
482
|
+
margin-left: 1rem;
|
483
|
+
}
|
484
|
+
|
485
|
+
/*-------------------
|
486
|
+
Inverted
|
487
|
+
--------------------*/
|
488
|
+
|
489
|
+
.ui.inverted.segment {
|
490
|
+
border: none;
|
491
|
+
box-shadow: none;
|
492
|
+
}
|
493
|
+
.ui.inverted.segment .segment {
|
494
|
+
color: rgba(0, 0, 0, 0.8);
|
495
|
+
}
|
496
|
+
.ui.inverted.segment .inverted.segment {
|
497
|
+
color: #ffffff;
|
498
|
+
}
|
499
|
+
.ui.inverted.segment,
|
500
|
+
.ui.primary.inverted.segment {
|
501
|
+
background-color: #1b1c1d;
|
502
|
+
color: #ffffff;
|
503
|
+
}
|
504
|
+
.ui.inverted.block.segment,
|
505
|
+
.ui.inverted.attached.segment {
|
506
|
+
border-color: #555555;
|
507
|
+
}
|
508
|
+
|
509
|
+
/*-------------------
|
510
|
+
Ordinality
|
511
|
+
--------------------*/
|
512
|
+
|
513
|
+
.ui.secondary.segment {
|
514
|
+
background: #faf9fa;
|
515
|
+
color: rgba(0, 0, 0, 0.8);
|
516
|
+
}
|
517
|
+
.ui.tertiary.segment {
|
518
|
+
background: #ebebeb;
|
519
|
+
color: rgba(0, 0, 0, 0.8);
|
520
|
+
}
|
521
|
+
.ui.secondary.inverted.segment {
|
522
|
+
background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
|
523
|
+
background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
|
524
|
+
color: #fafafa;
|
525
|
+
}
|
526
|
+
.ui.tertiary.inverted.segment {
|
527
|
+
background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
|
528
|
+
background: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
|
529
|
+
color: #f0f0f0;
|
530
|
+
}
|
531
|
+
|
532
|
+
/*-------------------
|
533
|
+
Attached
|
534
|
+
--------------------*/
|
535
|
+
|
536
|
+
.ui.segment.attached {
|
537
|
+
top: 0px;
|
538
|
+
bottom: 0px;
|
539
|
+
margin: 0em -1px;
|
540
|
+
width: -webkit-calc(100% + 2px );
|
541
|
+
width: calc(100% + 2px );
|
542
|
+
max-width: -webkit-calc(100% + 2px );
|
543
|
+
max-width: calc(100% + 2px );
|
544
|
+
border-radius: 0px;
|
545
|
+
box-shadow: none;
|
546
|
+
border: 1px solid #d4d4d5;
|
547
|
+
}
|
548
|
+
.ui.segment.attached + .ui.segment.attached:not(.top) {
|
549
|
+
border-top: none;
|
550
|
+
}
|
551
|
+
|
552
|
+
/* Top */
|
553
|
+
.ui[class*="top attached"].segment {
|
554
|
+
top: 0px;
|
555
|
+
bottom: 0px;
|
556
|
+
margin-top: 1rem;
|
557
|
+
margin-bottom: 0em;
|
558
|
+
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
559
|
+
}
|
560
|
+
.ui.segment[class*="top attached"]:first-child {
|
561
|
+
margin-top: 0em;
|
562
|
+
}
|
563
|
+
|
564
|
+
/* Bottom */
|
565
|
+
.ui.segment[class*="bottom attached"] {
|
566
|
+
top: 0px;
|
567
|
+
bottom: 0px;
|
568
|
+
margin-top: 0em;
|
569
|
+
margin-bottom: 1rem;
|
570
|
+
box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
571
|
+
border-radius: 0em 0em 0.2857rem 0.2857rem;
|
572
|
+
}
|
573
|
+
.ui.segment[class*="bottom attached"]:last-child {
|
574
|
+
margin-bottom: 0em;
|
575
|
+
}
|
576
|
+
|
577
|
+
/*-------------------
|
578
|
+
Groups
|
579
|
+
--------------------*/
|
580
|
+
|
581
|
+
.ui.segments {
|
582
|
+
margin: 1rem 0em;
|
583
|
+
}
|
584
|
+
.ui.segments:first-child {
|
585
|
+
margin-top: 0em;
|
586
|
+
}
|
587
|
+
.ui.segments:last-child {
|
588
|
+
margin-bottom: 0em;
|
589
|
+
}
|
590
|
+
.ui.segments > .segment {
|
591
|
+
top: 0px;
|
592
|
+
bottom: 0px;
|
593
|
+
margin: 0em -1px;
|
594
|
+
width: -webkit-calc(100% + 2px );
|
595
|
+
width: calc(100% + 2px );
|
596
|
+
max-width: -webkit-calc(100% + 2px );
|
597
|
+
max-width: calc(100% + 2px );
|
598
|
+
border-radius: 0px;
|
599
|
+
box-shadow: none;
|
600
|
+
border: 1px solid #d4d4d5;
|
601
|
+
}
|
602
|
+
.ui.segments > .segment:not(:first-child) {
|
603
|
+
border-top: none;
|
604
|
+
}
|
605
|
+
|
606
|
+
/* Top */
|
607
|
+
.ui.segments > .segment:first-child {
|
608
|
+
margin-top: 0em;
|
609
|
+
bottom: 0px;
|
610
|
+
margin-bottom: 0em;
|
611
|
+
top: 0px;
|
612
|
+
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
613
|
+
}
|
614
|
+
|
615
|
+
/* Bottom */
|
616
|
+
.ui.segments > .segment:last-child {
|
617
|
+
bottom: 0px;
|
618
|
+
margin-top: 0em;
|
619
|
+
margin-bottom: 0em;
|
620
|
+
top: 0px;
|
621
|
+
box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
622
|
+
border-radius: 0em 0em 0.2857rem 0.2857rem;
|
623
|
+
}
|
624
|
+
|
625
|
+
|
626
|
+
/*******************************
|
627
|
+
Theme Overrides
|
628
|
+
*******************************/
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
/*******************************
|
633
|
+
Site Overrides
|
634
|
+
*******************************/
|
635
|
+
|