rails-active-ui 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/javascript/ui/controllers/turbo_modal_controller.js +36 -0
- data/config/importmap.rb +1 -0
- data/formantic-ui/components/accordion.css +369 -0
- data/formantic-ui/components/accordion.js +595 -0
- data/formantic-ui/components/accordion.min.css +9 -0
- data/formantic-ui/components/accordion.min.js +11 -0
- data/formantic-ui/components/ad.css +264 -0
- data/formantic-ui/components/ad.min.css +10 -0
- data/formantic-ui/components/api.js +1225 -0
- data/formantic-ui/components/api.min.js +11 -0
- data/formantic-ui/components/breadcrumb.css +135 -0
- data/formantic-ui/components/breadcrumb.min.css +9 -0
- data/formantic-ui/components/button.css +4058 -0
- data/formantic-ui/components/button.min.css +9 -0
- data/formantic-ui/components/calendar.css +327 -0
- data/formantic-ui/components/calendar.js +2045 -0
- data/formantic-ui/components/calendar.min.css +9 -0
- data/formantic-ui/components/calendar.min.js +11 -0
- data/formantic-ui/components/card.css +1881 -0
- data/formantic-ui/components/card.min.css +9 -0
- data/formantic-ui/components/checkbox.css +785 -0
- data/formantic-ui/components/checkbox.js +888 -0
- data/formantic-ui/components/checkbox.min.css +9 -0
- data/formantic-ui/components/checkbox.min.js +11 -0
- data/formantic-ui/components/comment.css +283 -0
- data/formantic-ui/components/comment.min.css +9 -0
- data/formantic-ui/components/container.css +300 -0
- data/formantic-ui/components/container.min.css +9 -0
- data/formantic-ui/components/dimmer.css +367 -0
- data/formantic-ui/components/dimmer.js +732 -0
- data/formantic-ui/components/dimmer.min.css +9 -0
- data/formantic-ui/components/dimmer.min.js +11 -0
- data/formantic-ui/components/divider.css +287 -0
- data/formantic-ui/components/divider.min.css +9 -0
- data/formantic-ui/components/dropdown.css +2087 -0
- data/formantic-ui/components/dropdown.js +4432 -0
- data/formantic-ui/components/dropdown.min.css +9 -0
- data/formantic-ui/components/dropdown.min.js +11 -0
- data/formantic-ui/components/embed.css +155 -0
- data/formantic-ui/components/embed.js +688 -0
- data/formantic-ui/components/embed.min.css +9 -0
- data/formantic-ui/components/embed.min.js +11 -0
- data/formantic-ui/components/emoji.css +15311 -0
- data/formantic-ui/components/emoji.min.css +9 -0
- data/formantic-ui/components/feed.css +799 -0
- data/formantic-ui/components/feed.min.css +9 -0
- data/formantic-ui/components/flag.css +1149 -0
- data/formantic-ui/components/flag.min.css +9 -0
- data/formantic-ui/components/flyout.css +546 -0
- data/formantic-ui/components/flyout.js +1551 -0
- data/formantic-ui/components/flyout.min.css +9 -0
- data/formantic-ui/components/flyout.min.js +11 -0
- data/formantic-ui/components/form.css +1885 -0
- data/formantic-ui/components/form.js +2199 -0
- data/formantic-ui/components/form.min.css +9 -0
- data/formantic-ui/components/form.min.js +11 -0
- data/formantic-ui/components/grid.css +1952 -0
- data/formantic-ui/components/grid.min.css +9 -0
- data/formantic-ui/components/header.css +778 -0
- data/formantic-ui/components/header.min.css +9 -0
- data/formantic-ui/components/icon.css +7066 -0
- data/formantic-ui/components/icon.min.css +9 -0
- data/formantic-ui/components/image.css +315 -0
- data/formantic-ui/components/image.min.css +9 -0
- data/formantic-ui/components/input.css +1566 -0
- data/formantic-ui/components/input.min.css +9 -0
- data/formantic-ui/components/item.css +534 -0
- data/formantic-ui/components/item.min.css +9 -0
- data/formantic-ui/components/label.css +2114 -0
- data/formantic-ui/components/label.min.css +9 -0
- data/formantic-ui/components/list.css +955 -0
- data/formantic-ui/components/list.min.css +9 -0
- data/formantic-ui/components/loader.css +787 -0
- data/formantic-ui/components/loader.min.css +9 -0
- data/formantic-ui/components/menu.css +2131 -0
- data/formantic-ui/components/menu.min.css +9 -0
- data/formantic-ui/components/message.css +619 -0
- data/formantic-ui/components/message.min.css +9 -0
- data/formantic-ui/components/modal.css +779 -0
- data/formantic-ui/components/modal.js +1637 -0
- data/formantic-ui/components/modal.min.css +9 -0
- data/formantic-ui/components/modal.min.js +11 -0
- data/formantic-ui/components/nag.css +290 -0
- data/formantic-ui/components/nag.js +566 -0
- data/formantic-ui/components/nag.min.css +9 -0
- data/formantic-ui/components/nag.min.js +11 -0
- data/formantic-ui/components/placeholder.css +228 -0
- data/formantic-ui/components/placeholder.min.css +9 -0
- data/formantic-ui/components/popup.css +1184 -0
- data/formantic-ui/components/popup.js +1561 -0
- data/formantic-ui/components/popup.min.css +9 -0
- data/formantic-ui/components/popup.min.js +11 -0
- data/formantic-ui/components/progress.css +761 -0
- data/formantic-ui/components/progress.js +979 -0
- data/formantic-ui/components/progress.min.css +9 -0
- data/formantic-ui/components/progress.min.js +11 -0
- data/formantic-ui/components/rail.css +147 -0
- data/formantic-ui/components/rail.min.css +9 -0
- data/formantic-ui/components/rating.css +414 -0
- data/formantic-ui/components/rating.js +540 -0
- data/formantic-ui/components/rating.min.css +9 -0
- data/formantic-ui/components/rating.min.js +11 -0
- data/formantic-ui/components/reset.css +386 -0
- data/formantic-ui/components/reset.min.css +9 -0
- data/formantic-ui/components/reveal.css +277 -0
- data/formantic-ui/components/reveal.min.css +9 -0
- data/formantic-ui/components/search.css +541 -0
- data/formantic-ui/components/search.js +1641 -0
- data/formantic-ui/components/search.min.css +9 -0
- data/formantic-ui/components/search.min.js +11 -0
- data/formantic-ui/components/segment.css +1053 -0
- data/formantic-ui/components/segment.min.css +9 -0
- data/formantic-ui/components/shape.css +144 -0
- data/formantic-ui/components/shape.js +797 -0
- data/formantic-ui/components/shape.min.css +9 -0
- data/formantic-ui/components/shape.min.js +11 -0
- data/formantic-ui/components/sidebar.css +539 -0
- data/formantic-ui/components/sidebar.js +1054 -0
- data/formantic-ui/components/sidebar.min.css +9 -0
- data/formantic-ui/components/sidebar.min.js +11 -0
- data/formantic-ui/components/site.css +286 -0
- data/formantic-ui/components/site.js +455 -0
- data/formantic-ui/components/site.min.css +9 -0
- data/formantic-ui/components/site.min.js +11 -0
- data/formantic-ui/components/slider.css +926 -0
- data/formantic-ui/components/slider.js +1546 -0
- data/formantic-ui/components/slider.min.css +9 -0
- data/formantic-ui/components/slider.min.js +11 -0
- data/formantic-ui/components/state.js +697 -0
- data/formantic-ui/components/state.min.js +11 -0
- data/formantic-ui/components/statistic.css +586 -0
- data/formantic-ui/components/statistic.min.css +9 -0
- data/formantic-ui/components/step.css +1538 -0
- data/formantic-ui/components/step.min.css +9 -0
- data/formantic-ui/components/sticky.css +73 -0
- data/formantic-ui/components/sticky.js +917 -0
- data/formantic-ui/components/sticky.min.css +9 -0
- data/formantic-ui/components/sticky.min.js +11 -0
- data/formantic-ui/components/tab.css +84 -0
- data/formantic-ui/components/tab.js +967 -0
- data/formantic-ui/components/tab.min.css +9 -0
- data/formantic-ui/components/tab.min.js +11 -0
- data/formantic-ui/components/table.css +3473 -0
- data/formantic-ui/components/table.min.css +9 -0
- data/formantic-ui/components/text.css +155 -0
- data/formantic-ui/components/text.min.css +9 -0
- data/formantic-ui/components/toast.css +751 -0
- data/formantic-ui/components/toast.js +964 -0
- data/formantic-ui/components/toast.min.css +9 -0
- data/formantic-ui/components/toast.min.js +11 -0
- data/formantic-ui/components/transition.css +1148 -0
- data/formantic-ui/components/transition.js +1034 -0
- data/formantic-ui/components/transition.min.css +9 -0
- data/formantic-ui/components/transition.min.js +11 -0
- data/formantic-ui/components/visibility.js +1292 -0
- data/formantic-ui/components/visibility.min.js +11 -0
- data/formantic-ui/semantic.css +78485 -0
- data/formantic-ui/semantic.js +31036 -0
- data/formantic-ui/semantic.min.css +11 -0
- data/formantic-ui/semantic.min.js +11 -0
- data/formantic-ui/themes/basic/assets/fonts/LICENSE.txt +91 -0
- data/formantic-ui/themes/basic/assets/fonts/icons.woff +0 -0
- data/formantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LICENSE_Lato.txt +94 -0
- data/formantic-ui/themes/default/assets/fonts/LICENSE_icons.txt +165 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/icons.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
- data/formantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
- data/formantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
- data/formantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
- data/formantic-ui/themes/github/assets/fonts/LICENSE.txt +94 -0
- data/formantic-ui/themes/github/assets/fonts/octicons.woff +0 -0
- data/formantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
- data/formantic-ui/themes/material/assets/fonts/LICENSE.txt +202 -0
- data/formantic-ui/themes/material/assets/fonts/icons.woff +0 -0
- data/formantic-ui/themes/material/assets/fonts/icons.woff2 +0 -0
- data/lib/ui/version.rb +1 -1
- metadata +194 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* # Fomantic UI - 2.9.4
|
|
3
|
+
* https://github.com/fomantic/Fomantic-UI
|
|
4
|
+
* https://fomantic-ui.com/
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2025 Contributors
|
|
7
|
+
* Released under the MIT license
|
|
8
|
+
* https://opensource.org/licenses/MIT
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
!function(C,A,a){"use strict";A=void 0!==A&&A.Math===Math?A:globalThis,C.fn.state=function(g){var b,x=C(this),p=Date.now(),m=[],h=g,T="string"==typeof h,y=[].slice.call(arguments,1),w=function(e,t){var n;return 0<=[A,a].indexOf(e)?n=C(e):0===(n=C(t.document).find(e)).length&&(n=t.frameElement?w(e,t.parent):A),n};return x.each(function(){var i=C.isPlainObject(g)?C.extend(!0,{},C.fn.state.settings,g):C.extend({},C.fn.state.settings),c=i.error,n=i.metadata,t=i.className,e=i.namespace,a=i.states,o=i.text,s="."+e,r=e+"-module",l=C(this),u=i.context?w(i.context,A):l,d=this,f=l.data(r),v={initialize:function(){v.verbose("Initializing module"),i.automatic&&v.add.defaults(),u.on("mouseenter"+s,v.change.text).on("mouseleave"+s,v.reset.text).on("click"+s,v.toggle.state),v.instantiate()},instantiate:function(){v.verbose("Storing instance of module",v),f=v,l.data(r,v)},destroy:function(){v.verbose("Destroying previous module",f),u.off(s),l.removeData(n.storedText).removeData(r)},refresh:function(){v.verbose("Refreshing selector cache"),l=C(d)},add:{defaults:function(){var n=g&&C.isPlainObject(g.states)?g.states:{};C.each(i.defaults,function(e,t){void 0!==v.is[e]&&v.is[e]()&&(v.verbose("Adding default states",e,d),C.extend(i.states,t,n))})}},is:{active:function(){return l.hasClass(t.active)},loading:function(){return l.hasClass(t.loading)},inactive:function(){return!l.hasClass(t.active)},state:function(e){return void 0!==t[e]&&l.hasClass(t[e])},enabled:function(){return!l.is(i.filter.active)},disabled:function(){return l.is(i.filter.active)},textEnabled:function(){return!l.is(i.filter.text)},button:function(){return l.is(".button:not(a, .submit)")},input:function(){return l.is("input")},progress:function(){return l.is(".ui.progress")}},allow:function(e){v.debug("Now allowing state",e),a[e]=!0},disallow:function(e){v.debug("No longer allowing",e),a[e]=!1},allows:function(e){return a[e]||!1},enable:function(){l.removeClass(t.disabled)},disable:function(){l.addClass(t.disabled)},setState:function(e){v.allows(e)&&l.addClass(t[e])},removeState:function(e){v.allows(e)&&l.removeClass(t[e])},toggle:{state:function(){var e;if(v.allows("active")&&v.is.enabled()){if(v.refresh(),void 0!==C.fn.api)if(e=l.api("get request"),l.api("was cancelled"))v.debug("API Request cancelled by beforesend"),i.activateTest=function(){return!1},i.deactivateTest=function(){return!1};else if(e)return void v.listenTo(e);v.change.state()}}},listenTo:function(e){v.debug("API request detected, waiting for state signal",e),e&&(o.loading&&v.update.text(o.loading),C.when(e).then(function(){"resolved"===e.state()?(v.debug("API request succeeded"),i.activateTest=function(){return!0},i.deactivateTest=function(){return!0}):(v.debug("API request failed"),i.activateTest=function(){return!1},i.deactivateTest=function(){return!1}),v.change.state()}))},change:{state:function(){v.debug("Determining state change direction"),v.is.inactive()?v.activate():v.deactivate(),i.sync&&v.sync(),i.onChange.call(d)},text:function(){v.is.textEnabled()&&(v.is.disabled()?(v.verbose("Changing text to disabled text",o.hover),v.update.text(o.disabled)):v.is.active()?o.hover?(v.verbose("Changing text to hover text",o.hover),v.update.text(o.hover)):o.deactivate&&(v.verbose("Changing text to deactivating text",o.deactivate),v.update.text(o.deactivate)):o.hover?(v.verbose("Changing text to hover text",o.hover),v.update.text(o.hover)):o.activate&&(v.verbose("Changing text to activating text",o.activate),v.update.text(o.activate)))}},activate:function(){i.activateTest.call(d)&&(v.debug("Setting state to active"),l.addClass(t.active),v.update.text(o.active),i.onActivate.call(d))},deactivate:function(){i.deactivateTest.call(d)&&(v.debug("Setting state to inactive"),l.removeClass(t.active),v.update.text(o.inactive),i.onDeactivate.call(d))},sync:function(){v.verbose("Syncing other buttons to current state"),v.is.active()?x.not(l).state("activate"):x.not(l).state("deactivate")},get:{text:function(){return i.selector.text?l.find(i.selector.text).text():l.html()},textFor:function(e){return o[e]||!1}},flash:{text:function(e,t,n){var a=v.get.text();v.debug("Flashing text message",e,t),e=e||i.text.flash,t=t||i.flashDuration,n=n||function(){},v.update.text(e),setTimeout(function(){v.update.text(a),n.call(d)},t)}},reset:{text:function(){var e=o.active||l.data(n.storedText),t=o.inactive||l.data(n.storedText);v.is.textEnabled()&&(v.is.active()&&e?(v.verbose("Resetting active text",e),v.update.text(e)):t&&(v.verbose("Resetting inactive text",e),v.update.text(t)))}},update:{text:function(e){var t=v.get.text();e&&e!==t?(v.debug("Updating text",e),i.selector.text?l.data(n.storedText,e).find(i.selector.text).text(e):l.data(n.storedText,e).html(e)):v.debug("Text is already set, ignoring update",e)}},setting:function(e,t){if(v.debug("Changing setting",e,t),C.isPlainObject(e))C.extend(!0,i,e);else{if(void 0===t)return i[e];C.isPlainObject(i[e])?C.extend(!0,i[e],t):i[e]=t}},internal:function(e,t){if(C.isPlainObject(e))C.extend(!0,v,e);else{if(void 0===t)return v[e];v[e]=t}},debug:function(){!i.silent&&i.debug&&(i.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,i.name+":"),v.debug.apply(console,arguments)))},verbose:function(){!i.silent&&i.verbose&&i.debug&&(i.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,i.name+":"),v.verbose.apply(console,arguments)))},error:function(){i.silent||(v.error=Function.prototype.bind.call(console.error,console,i.name+":"),v.error.apply(console,arguments))},performance:{log:function(e){var t,n;i.performance&&(n=(t=Date.now())-(p||t),p=t,m.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:d,"Execution Time":n})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout(function(){v.performance.display()},500)},display:function(){var e=i.name+":",n=0;p=!1,clearTimeout(v.performance.timer),C.each(m,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",0<m.length&&(console.groupCollapsed(e),console.table?console.table(m):C.each(m,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),m=[]}},invoke:function(a,e,t){var i,o,n,s,r=f;return e=e||y,t=t||d,"string"==typeof a&&void 0!==r&&(a=a.split(/[ .]/),i=a.length-1,C.each(a,function(e,t){var n=e!==i?t+a[e+1].charAt(0).toUpperCase()+a[e+1].slice(1):a;if(C.isPlainObject(r[n])&&e!==i)r=r[n];else{if(void 0!==r[n])return o=r[n],!1;{if(!C.isPlainObject(r[t])||e===i)return void 0!==r[t]?o=r[t]:v.error(c.method,a),!1;r=r[t]}}})),"function"==typeof(s=o)&&"number"!=typeof s.nodeType?n=o.apply(t,e):void 0!==o&&(n=o),Array.isArray(b)?b.push(n):void 0!==b?b=[b,n]:void 0!==n&&(b=n),o}};T?(void 0===f&&v.initialize(),v.invoke(h)):(void 0!==f&&f.invoke("destroy"),v.initialize())}),void 0!==b?b:this},C.fn.state.settings={name:"State",debug:!1,verbose:!1,namespace:"state",performance:!0,onActivate:function(){},onDeactivate:function(){},onChange:function(){},activateTest:function(){return!0},deactivateTest:function(){return!0},automatic:!0,sync:!1,flashDuration:1e3,filter:{text:".loading, .disabled",active:".disabled"},context:!1,error:{method:"The method you called is not defined."},metadata:{promise:"promise",storedText:"stored-text"},className:{active:"active",disabled:"disabled",error:"error",loading:"loading",success:"success",warning:"warning"},selector:{text:!1},defaults:{input:{disabled:!0,loading:!0,active:!0},button:{disabled:!0,loading:!0,active:!0},progress:{active:!0,success:!0,warning:!0,error:!0}},states:{active:!0,disabled:!0,error:!0,loading:!0,success:!0,warning:!0},text:{disabled:!1,flash:!1,hover:!1,active:!1,inactive:!1,activate:!1,deactivate:!1}}}(jQuery,window,document);
|
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Fomantic-UI 2.9.4 - Statistic
|
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* https://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/*******************************
|
|
13
|
+
Statistic
|
|
14
|
+
*******************************/
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* Standalone */
|
|
18
|
+
.ui.statistic {
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
margin: 1em 0;
|
|
22
|
+
max-width: none;
|
|
23
|
+
}
|
|
24
|
+
.ui.statistic + .ui.statistic {
|
|
25
|
+
margin: 0 0 0 1.5em;
|
|
26
|
+
}
|
|
27
|
+
.ui.statistic:first-child {
|
|
28
|
+
margin-top: 0;
|
|
29
|
+
}
|
|
30
|
+
.ui.statistic:last-child {
|
|
31
|
+
margin-bottom: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/*******************************
|
|
36
|
+
Group
|
|
37
|
+
*******************************/
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/* Grouped */
|
|
41
|
+
.ui.statistics {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: flex-start;
|
|
44
|
+
flex-wrap: wrap;
|
|
45
|
+
}
|
|
46
|
+
.ui.statistics > .statistic {
|
|
47
|
+
display: inline-flex;
|
|
48
|
+
flex: 0 1 auto;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
margin: 0 1.5em 1em;
|
|
51
|
+
max-width: none;
|
|
52
|
+
}
|
|
53
|
+
.ui.statistics {
|
|
54
|
+
display: flex;
|
|
55
|
+
margin: 1em -1.5em -1em;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Clearing */
|
|
59
|
+
.ui.statistics::after {
|
|
60
|
+
display: block;
|
|
61
|
+
content: " ";
|
|
62
|
+
height: 0;
|
|
63
|
+
clear: both;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
visibility: hidden;
|
|
66
|
+
}
|
|
67
|
+
.ui.statistics:first-child {
|
|
68
|
+
margin-top: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
/*******************************
|
|
73
|
+
Content
|
|
74
|
+
*******************************/
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/* --------------
|
|
78
|
+
Value
|
|
79
|
+
--------------- */
|
|
80
|
+
.ui.statistics .statistic > .value,
|
|
81
|
+
.ui.statistic > .value {
|
|
82
|
+
font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
83
|
+
font-size: 4rem;
|
|
84
|
+
font-weight: normal;
|
|
85
|
+
line-height: 1em;
|
|
86
|
+
color: #1b1c1d;
|
|
87
|
+
text-transform: uppercase;
|
|
88
|
+
text-align: center;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* --------------
|
|
92
|
+
Label
|
|
93
|
+
--------------- */
|
|
94
|
+
.ui.statistics .statistic > .label,
|
|
95
|
+
.ui.statistic > .label {
|
|
96
|
+
font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
97
|
+
font-size: 1em;
|
|
98
|
+
font-weight: bold;
|
|
99
|
+
color: rgba(0, 0, 0, 0.87);
|
|
100
|
+
text-transform: uppercase;
|
|
101
|
+
text-align: center;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Top Label */
|
|
105
|
+
.ui.statistics .statistic > .label ~ .value,
|
|
106
|
+
.ui.statistic > .label ~ .value {
|
|
107
|
+
margin-top: 0;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Bottom Label */
|
|
111
|
+
.ui.statistics .statistic > .value ~ .label,
|
|
112
|
+
.ui.statistic > .value ~ .label {
|
|
113
|
+
margin-top: 0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
/*******************************
|
|
118
|
+
Types
|
|
119
|
+
*******************************/
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
/* --------------
|
|
123
|
+
Icon Value
|
|
124
|
+
--------------- */
|
|
125
|
+
.ui.statistics .statistic > .value > i.icon,
|
|
126
|
+
.ui.statistic > .value > i.icon {
|
|
127
|
+
opacity: 1;
|
|
128
|
+
width: auto;
|
|
129
|
+
margin: 0;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/* --------------
|
|
133
|
+
Text Value
|
|
134
|
+
--------------- */
|
|
135
|
+
.ui.statistics .statistic > .text.value,
|
|
136
|
+
.ui.statistic > .text.value {
|
|
137
|
+
line-height: 1em;
|
|
138
|
+
min-height: 2em;
|
|
139
|
+
font-weight: bold;
|
|
140
|
+
text-align: center;
|
|
141
|
+
}
|
|
142
|
+
.ui.statistics .statistic > .text.value + .label,
|
|
143
|
+
.ui.statistic > .text.value + .label {
|
|
144
|
+
text-align: center;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/* --------------
|
|
148
|
+
Image Value
|
|
149
|
+
--------------- */
|
|
150
|
+
.ui.statistics .statistic > .value img,
|
|
151
|
+
.ui.statistic > .value img {
|
|
152
|
+
max-height: 3rem;
|
|
153
|
+
vertical-align: baseline;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
/*******************************
|
|
158
|
+
Variations
|
|
159
|
+
*******************************/
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
/* --------------
|
|
163
|
+
Count
|
|
164
|
+
--------------- */
|
|
165
|
+
.ui.ten.statistics {
|
|
166
|
+
margin: 0 0 -1em;
|
|
167
|
+
}
|
|
168
|
+
.ui.ten.statistics .statistic {
|
|
169
|
+
min-width: 10%;
|
|
170
|
+
margin: 0 0 1em;
|
|
171
|
+
}
|
|
172
|
+
.ui.nine.statistics {
|
|
173
|
+
margin: 0 0 -1em;
|
|
174
|
+
}
|
|
175
|
+
.ui.nine.statistics .statistic {
|
|
176
|
+
min-width: 11.11111111%;
|
|
177
|
+
margin: 0 0 1em;
|
|
178
|
+
}
|
|
179
|
+
.ui.eight.statistics {
|
|
180
|
+
margin: 0 0 -1em;
|
|
181
|
+
}
|
|
182
|
+
.ui.eight.statistics .statistic {
|
|
183
|
+
min-width: 12.5%;
|
|
184
|
+
margin: 0 0 1em;
|
|
185
|
+
}
|
|
186
|
+
.ui.seven.statistics {
|
|
187
|
+
margin: 0 0 -1em;
|
|
188
|
+
}
|
|
189
|
+
.ui.seven.statistics .statistic {
|
|
190
|
+
min-width: 14.28571429%;
|
|
191
|
+
margin: 0 0 1em;
|
|
192
|
+
}
|
|
193
|
+
.ui.six.statistics {
|
|
194
|
+
margin: 0 0 -1em;
|
|
195
|
+
}
|
|
196
|
+
.ui.six.statistics .statistic {
|
|
197
|
+
min-width: 16.66666667%;
|
|
198
|
+
margin: 0 0 1em;
|
|
199
|
+
}
|
|
200
|
+
.ui.five.statistics {
|
|
201
|
+
margin: 0 0 -1em;
|
|
202
|
+
}
|
|
203
|
+
.ui.five.statistics .statistic {
|
|
204
|
+
min-width: 20%;
|
|
205
|
+
margin: 0 0 1em;
|
|
206
|
+
}
|
|
207
|
+
.ui.four.statistics {
|
|
208
|
+
margin: 0 0 -1em;
|
|
209
|
+
}
|
|
210
|
+
.ui.four.statistics .statistic {
|
|
211
|
+
min-width: 25%;
|
|
212
|
+
margin: 0 0 1em;
|
|
213
|
+
}
|
|
214
|
+
.ui.three.statistics {
|
|
215
|
+
margin: 0 0 -1em;
|
|
216
|
+
}
|
|
217
|
+
.ui.three.statistics .statistic {
|
|
218
|
+
min-width: 33.33333333%;
|
|
219
|
+
margin: 0 0 1em;
|
|
220
|
+
}
|
|
221
|
+
.ui.two.statistics {
|
|
222
|
+
margin: 0 0 -1em;
|
|
223
|
+
}
|
|
224
|
+
.ui.two.statistics .statistic {
|
|
225
|
+
min-width: 50%;
|
|
226
|
+
margin: 0 0 1em;
|
|
227
|
+
}
|
|
228
|
+
.ui.one.statistics {
|
|
229
|
+
margin: 0 0 -1em;
|
|
230
|
+
}
|
|
231
|
+
.ui.one.statistics .statistic {
|
|
232
|
+
min-width: 100%;
|
|
233
|
+
margin: 0 0 1em;
|
|
234
|
+
}
|
|
235
|
+
.ui.fluid.statistic {
|
|
236
|
+
width: 100%;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/* --------------
|
|
240
|
+
Horizontal
|
|
241
|
+
--------------- */
|
|
242
|
+
.ui.horizontal.statistic {
|
|
243
|
+
flex-direction: row;
|
|
244
|
+
align-items: center;
|
|
245
|
+
}
|
|
246
|
+
.ui.horizontal.statistics {
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
margin: 0;
|
|
249
|
+
max-width: none;
|
|
250
|
+
}
|
|
251
|
+
.ui.horizontal.statistics .statistic {
|
|
252
|
+
flex-direction: row;
|
|
253
|
+
align-items: center;
|
|
254
|
+
max-width: none;
|
|
255
|
+
margin: 1em 0;
|
|
256
|
+
}
|
|
257
|
+
.ui.horizontal.statistic > .text.value,
|
|
258
|
+
.ui.horizontal.statistics > .statistic > .text.value {
|
|
259
|
+
min-height: 0 !important;
|
|
260
|
+
}
|
|
261
|
+
.ui.horizontal.statistics .statistic > .value > i.icon,
|
|
262
|
+
.ui.horizontal.statistic > .value > i.icon {
|
|
263
|
+
width: 1.18em;
|
|
264
|
+
}
|
|
265
|
+
.ui.horizontal.statistics .statistic > .value,
|
|
266
|
+
.ui.horizontal.statistic > .value {
|
|
267
|
+
display: inline-block;
|
|
268
|
+
vertical-align: middle;
|
|
269
|
+
}
|
|
270
|
+
.ui.horizontal.statistics .statistic > .label,
|
|
271
|
+
.ui.horizontal.statistic > .label {
|
|
272
|
+
display: inline-block;
|
|
273
|
+
vertical-align: middle;
|
|
274
|
+
margin: 0 0 0 0.75em;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/* --------------
|
|
278
|
+
Inverted
|
|
279
|
+
--------------- */
|
|
280
|
+
.ui.inverted.statistics .statistic > .value,
|
|
281
|
+
.ui.inverted.statistic .value {
|
|
282
|
+
color: #fff;
|
|
283
|
+
}
|
|
284
|
+
.ui.inverted.statistics .statistic > .label,
|
|
285
|
+
.ui.inverted.statistic .label {
|
|
286
|
+
color: rgba(255, 255, 255, 0.9);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* --------------
|
|
290
|
+
Colors
|
|
291
|
+
--------------- */
|
|
292
|
+
.ui.primary.statistics .statistic > .value,
|
|
293
|
+
.ui.statistics .primary.statistic > .value,
|
|
294
|
+
.ui.primary.statistic > .value {
|
|
295
|
+
color: #2185d0;
|
|
296
|
+
}
|
|
297
|
+
.ui.inverted.primary.statistics .statistic > .value,
|
|
298
|
+
.ui.statistics .inverted.primary.statistic > .value,
|
|
299
|
+
.ui.inverted.primary.statistic > .value {
|
|
300
|
+
color: #54c8ff;
|
|
301
|
+
}
|
|
302
|
+
.ui.secondary.statistics .statistic > .value,
|
|
303
|
+
.ui.statistics .secondary.statistic > .value,
|
|
304
|
+
.ui.secondary.statistic > .value {
|
|
305
|
+
color: #1b1c1d;
|
|
306
|
+
}
|
|
307
|
+
.ui.inverted.secondary.statistics .statistic > .value,
|
|
308
|
+
.ui.statistics .inverted.secondary.statistic > .value,
|
|
309
|
+
.ui.inverted.secondary.statistic > .value {
|
|
310
|
+
color: #545454;
|
|
311
|
+
}
|
|
312
|
+
.ui.red.statistics .statistic > .value,
|
|
313
|
+
.ui.statistics .red.statistic > .value,
|
|
314
|
+
.ui.red.statistic > .value {
|
|
315
|
+
color: #db2828;
|
|
316
|
+
}
|
|
317
|
+
.ui.inverted.red.statistics .statistic > .value,
|
|
318
|
+
.ui.statistics .inverted.red.statistic > .value,
|
|
319
|
+
.ui.inverted.red.statistic > .value {
|
|
320
|
+
color: #ff695e;
|
|
321
|
+
}
|
|
322
|
+
.ui.orange.statistics .statistic > .value,
|
|
323
|
+
.ui.statistics .orange.statistic > .value,
|
|
324
|
+
.ui.orange.statistic > .value {
|
|
325
|
+
color: #f2711c;
|
|
326
|
+
}
|
|
327
|
+
.ui.inverted.orange.statistics .statistic > .value,
|
|
328
|
+
.ui.statistics .inverted.orange.statistic > .value,
|
|
329
|
+
.ui.inverted.orange.statistic > .value {
|
|
330
|
+
color: #ff851b;
|
|
331
|
+
}
|
|
332
|
+
.ui.yellow.statistics .statistic > .value,
|
|
333
|
+
.ui.statistics .yellow.statistic > .value,
|
|
334
|
+
.ui.yellow.statistic > .value {
|
|
335
|
+
color: #fbbd08;
|
|
336
|
+
}
|
|
337
|
+
.ui.inverted.yellow.statistics .statistic > .value,
|
|
338
|
+
.ui.statistics .inverted.yellow.statistic > .value,
|
|
339
|
+
.ui.inverted.yellow.statistic > .value {
|
|
340
|
+
color: #ffe21f;
|
|
341
|
+
}
|
|
342
|
+
.ui.olive.statistics .statistic > .value,
|
|
343
|
+
.ui.statistics .olive.statistic > .value,
|
|
344
|
+
.ui.olive.statistic > .value {
|
|
345
|
+
color: #b5cc18;
|
|
346
|
+
}
|
|
347
|
+
.ui.inverted.olive.statistics .statistic > .value,
|
|
348
|
+
.ui.statistics .inverted.olive.statistic > .value,
|
|
349
|
+
.ui.inverted.olive.statistic > .value {
|
|
350
|
+
color: #d9e778;
|
|
351
|
+
}
|
|
352
|
+
.ui.green.statistics .statistic > .value,
|
|
353
|
+
.ui.statistics .green.statistic > .value,
|
|
354
|
+
.ui.green.statistic > .value {
|
|
355
|
+
color: #21ba45;
|
|
356
|
+
}
|
|
357
|
+
.ui.inverted.green.statistics .statistic > .value,
|
|
358
|
+
.ui.statistics .inverted.green.statistic > .value,
|
|
359
|
+
.ui.inverted.green.statistic > .value {
|
|
360
|
+
color: #2ecc40;
|
|
361
|
+
}
|
|
362
|
+
.ui.teal.statistics .statistic > .value,
|
|
363
|
+
.ui.statistics .teal.statistic > .value,
|
|
364
|
+
.ui.teal.statistic > .value {
|
|
365
|
+
color: #00b5ad;
|
|
366
|
+
}
|
|
367
|
+
.ui.inverted.teal.statistics .statistic > .value,
|
|
368
|
+
.ui.statistics .inverted.teal.statistic > .value,
|
|
369
|
+
.ui.inverted.teal.statistic > .value {
|
|
370
|
+
color: #6dffff;
|
|
371
|
+
}
|
|
372
|
+
.ui.blue.statistics .statistic > .value,
|
|
373
|
+
.ui.statistics .blue.statistic > .value,
|
|
374
|
+
.ui.blue.statistic > .value {
|
|
375
|
+
color: #2185d0;
|
|
376
|
+
}
|
|
377
|
+
.ui.inverted.blue.statistics .statistic > .value,
|
|
378
|
+
.ui.statistics .inverted.blue.statistic > .value,
|
|
379
|
+
.ui.inverted.blue.statistic > .value {
|
|
380
|
+
color: #54c8ff;
|
|
381
|
+
}
|
|
382
|
+
.ui.violet.statistics .statistic > .value,
|
|
383
|
+
.ui.statistics .violet.statistic > .value,
|
|
384
|
+
.ui.violet.statistic > .value {
|
|
385
|
+
color: #6435c9;
|
|
386
|
+
}
|
|
387
|
+
.ui.inverted.violet.statistics .statistic > .value,
|
|
388
|
+
.ui.statistics .inverted.violet.statistic > .value,
|
|
389
|
+
.ui.inverted.violet.statistic > .value {
|
|
390
|
+
color: #a291fb;
|
|
391
|
+
}
|
|
392
|
+
.ui.purple.statistics .statistic > .value,
|
|
393
|
+
.ui.statistics .purple.statistic > .value,
|
|
394
|
+
.ui.purple.statistic > .value {
|
|
395
|
+
color: #a333c8;
|
|
396
|
+
}
|
|
397
|
+
.ui.inverted.purple.statistics .statistic > .value,
|
|
398
|
+
.ui.statistics .inverted.purple.statistic > .value,
|
|
399
|
+
.ui.inverted.purple.statistic > .value {
|
|
400
|
+
color: #dc73ff;
|
|
401
|
+
}
|
|
402
|
+
.ui.pink.statistics .statistic > .value,
|
|
403
|
+
.ui.statistics .pink.statistic > .value,
|
|
404
|
+
.ui.pink.statistic > .value {
|
|
405
|
+
color: #e03997;
|
|
406
|
+
}
|
|
407
|
+
.ui.inverted.pink.statistics .statistic > .value,
|
|
408
|
+
.ui.statistics .inverted.pink.statistic > .value,
|
|
409
|
+
.ui.inverted.pink.statistic > .value {
|
|
410
|
+
color: #ff8edf;
|
|
411
|
+
}
|
|
412
|
+
.ui.brown.statistics .statistic > .value,
|
|
413
|
+
.ui.statistics .brown.statistic > .value,
|
|
414
|
+
.ui.brown.statistic > .value {
|
|
415
|
+
color: #a5673f;
|
|
416
|
+
}
|
|
417
|
+
.ui.inverted.brown.statistics .statistic > .value,
|
|
418
|
+
.ui.statistics .inverted.brown.statistic > .value,
|
|
419
|
+
.ui.inverted.brown.statistic > .value {
|
|
420
|
+
color: #d67c1c;
|
|
421
|
+
}
|
|
422
|
+
.ui.grey.statistics .statistic > .value,
|
|
423
|
+
.ui.statistics .grey.statistic > .value,
|
|
424
|
+
.ui.grey.statistic > .value {
|
|
425
|
+
color: #767676;
|
|
426
|
+
}
|
|
427
|
+
.ui.inverted.grey.statistics .statistic > .value,
|
|
428
|
+
.ui.statistics .inverted.grey.statistic > .value,
|
|
429
|
+
.ui.inverted.grey.statistic > .value {
|
|
430
|
+
color: #dcddde;
|
|
431
|
+
}
|
|
432
|
+
.ui.black.statistics .statistic > .value,
|
|
433
|
+
.ui.statistics .black.statistic > .value,
|
|
434
|
+
.ui.black.statistic > .value {
|
|
435
|
+
color: #1b1c1d;
|
|
436
|
+
}
|
|
437
|
+
.ui.inverted.black.statistics .statistic > .value,
|
|
438
|
+
.ui.statistics .inverted.black.statistic > .value,
|
|
439
|
+
.ui.inverted.black.statistic > .value {
|
|
440
|
+
color: #545454;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/* --------------
|
|
444
|
+
Floated
|
|
445
|
+
--------------- */
|
|
446
|
+
.ui[class*="left floated"].statistic {
|
|
447
|
+
float: left;
|
|
448
|
+
margin: 0 2em 1em 0;
|
|
449
|
+
}
|
|
450
|
+
.ui[class*="right floated"].statistic {
|
|
451
|
+
float: right;
|
|
452
|
+
margin: 0 0 1em 2em;
|
|
453
|
+
}
|
|
454
|
+
.ui.floated.statistic:last-child {
|
|
455
|
+
margin-bottom: 0;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* --------------
|
|
459
|
+
Stackable
|
|
460
|
+
--------------- */
|
|
461
|
+
@media only screen and (max-width: 767.98px) {
|
|
462
|
+
.ui.stackable.statistics {
|
|
463
|
+
width: auto;
|
|
464
|
+
margin-left: 0 !important;
|
|
465
|
+
margin-right: 0 !important;
|
|
466
|
+
}
|
|
467
|
+
.ui.stackable.statistics > .statistic {
|
|
468
|
+
width: 100% !important;
|
|
469
|
+
margin: 0 !important;
|
|
470
|
+
padding: 1rem 1rem !important;
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/* --------------
|
|
475
|
+
Sizes
|
|
476
|
+
--------------- */
|
|
477
|
+
|
|
478
|
+
/* Medium */
|
|
479
|
+
.ui.statistics .statistic > .value,
|
|
480
|
+
.ui.statistic > .value {
|
|
481
|
+
font-size: 4rem;
|
|
482
|
+
}
|
|
483
|
+
.ui.horizontal.statistics .statistic > .value,
|
|
484
|
+
.ui.horizontal.statistic > .value {
|
|
485
|
+
font-size: 3rem;
|
|
486
|
+
}
|
|
487
|
+
.ui.statistics .statistic > .text.value,
|
|
488
|
+
.ui.statistic > .text.value {
|
|
489
|
+
font-size: 2rem;
|
|
490
|
+
}
|
|
491
|
+
.ui.mini.statistics .statistic > .value,
|
|
492
|
+
.ui.mini.statistic > .value {
|
|
493
|
+
font-size: 1.5rem;
|
|
494
|
+
}
|
|
495
|
+
.ui.mini.horizontal.statistics .statistic > .value,
|
|
496
|
+
.ui.mini.horizontal.statistic > .value {
|
|
497
|
+
font-size: 1.5rem;
|
|
498
|
+
}
|
|
499
|
+
.ui.mini.statistics .statistic > .text.value,
|
|
500
|
+
.ui.mini.statistic > .text.value {
|
|
501
|
+
font-size: 1rem;
|
|
502
|
+
}
|
|
503
|
+
.ui.tiny.statistics .statistic > .value,
|
|
504
|
+
.ui.tiny.statistic > .value {
|
|
505
|
+
font-size: 2rem;
|
|
506
|
+
}
|
|
507
|
+
.ui.tiny.horizontal.statistics .statistic > .value,
|
|
508
|
+
.ui.tiny.horizontal.statistic > .value {
|
|
509
|
+
font-size: 2rem;
|
|
510
|
+
}
|
|
511
|
+
.ui.tiny.statistics .statistic > .text.value,
|
|
512
|
+
.ui.tiny.statistic > .text.value {
|
|
513
|
+
font-size: 1rem;
|
|
514
|
+
}
|
|
515
|
+
.ui.small.statistics .statistic > .value,
|
|
516
|
+
.ui.small.statistic > .value {
|
|
517
|
+
font-size: 3rem;
|
|
518
|
+
}
|
|
519
|
+
.ui.small.horizontal.statistics .statistic > .value,
|
|
520
|
+
.ui.small.horizontal.statistic > .value {
|
|
521
|
+
font-size: 2rem;
|
|
522
|
+
}
|
|
523
|
+
.ui.small.statistics .statistic > .text.value,
|
|
524
|
+
.ui.small.statistic > .text.value {
|
|
525
|
+
font-size: 1rem;
|
|
526
|
+
}
|
|
527
|
+
.ui.large.statistics .statistic > .value,
|
|
528
|
+
.ui.large.statistic > .value {
|
|
529
|
+
font-size: 5rem;
|
|
530
|
+
}
|
|
531
|
+
.ui.large.horizontal.statistics .statistic > .value,
|
|
532
|
+
.ui.large.horizontal.statistic > .value {
|
|
533
|
+
font-size: 4rem;
|
|
534
|
+
}
|
|
535
|
+
.ui.large.statistics .statistic > .text.value,
|
|
536
|
+
.ui.large.statistic > .text.value {
|
|
537
|
+
font-size: 2.5rem;
|
|
538
|
+
}
|
|
539
|
+
.ui.big.statistics .statistic > .value,
|
|
540
|
+
.ui.big.statistic > .value {
|
|
541
|
+
font-size: 5.5rem;
|
|
542
|
+
}
|
|
543
|
+
.ui.big.horizontal.statistics .statistic > .value,
|
|
544
|
+
.ui.big.horizontal.statistic > .value {
|
|
545
|
+
font-size: 4.5rem;
|
|
546
|
+
}
|
|
547
|
+
.ui.big.statistics .statistic > .text.value,
|
|
548
|
+
.ui.big.statistic > .text.value {
|
|
549
|
+
font-size: 2.5rem;
|
|
550
|
+
}
|
|
551
|
+
.ui.huge.statistics .statistic > .value,
|
|
552
|
+
.ui.huge.statistic > .value {
|
|
553
|
+
font-size: 6rem;
|
|
554
|
+
}
|
|
555
|
+
.ui.huge.horizontal.statistics .statistic > .value,
|
|
556
|
+
.ui.huge.horizontal.statistic > .value {
|
|
557
|
+
font-size: 5rem;
|
|
558
|
+
}
|
|
559
|
+
.ui.huge.statistics .statistic > .text.value,
|
|
560
|
+
.ui.huge.statistic > .text.value {
|
|
561
|
+
font-size: 2.5rem;
|
|
562
|
+
}
|
|
563
|
+
.ui.massive.statistics .statistic > .value,
|
|
564
|
+
.ui.massive.statistic > .value {
|
|
565
|
+
font-size: 7rem;
|
|
566
|
+
}
|
|
567
|
+
.ui.massive.horizontal.statistics .statistic > .value,
|
|
568
|
+
.ui.massive.horizontal.statistic > .value {
|
|
569
|
+
font-size: 6rem;
|
|
570
|
+
}
|
|
571
|
+
.ui.massive.statistics .statistic > .text.value,
|
|
572
|
+
.ui.massive.statistic > .text.value {
|
|
573
|
+
font-size: 3rem;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
/*******************************
|
|
578
|
+
Theme Overrides
|
|
579
|
+
*******************************/
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
/*******************************
|
|
584
|
+
User Variable Overrides
|
|
585
|
+
*******************************/
|
|
586
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* # Fomantic-UI 2.9.4 - Statistic
|
|
3
|
+
* https://github.com/fomantic/Fomantic-UI/
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* Released under the MIT license
|
|
7
|
+
* https://opensource.org/licenses/MIT
|
|
8
|
+
*
|
|
9
|
+
*/.ui.statistic{display:inline-flex;flex-direction:column;margin:1em 0;max-width:none}.ui.statistic+.ui.statistic{margin:0 0 0 1.5em}.ui.statistic:first-child{margin-top:0}.ui.statistic:last-child{margin-bottom:0}.ui.statistics{display:flex;align-items:flex-start;flex-wrap:wrap}.ui.statistics>.statistic{display:inline-flex;flex:0 1 auto;flex-direction:column;margin:0 1.5em 1em;max-width:none}.ui.statistics{display:flex;margin:1em -1.5em -1em}.ui.statistics::after{display:block;content:" ";height:0;clear:both;overflow:hidden;visibility:hidden}.ui.statistics:first-child{margin-top:0}.ui.statistic>.value,.ui.statistics .statistic>.value{font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:4rem;font-weight:400;line-height:1em;color:#1b1c1d;text-transform:uppercase;text-align:center}.ui.statistic>.label,.ui.statistics .statistic>.label{font-family:Lato,system-ui,-apple-system,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1em;font-weight:700;color:rgba(0,0,0,.87);text-transform:uppercase;text-align:center}.ui.statistic>.label~.value,.ui.statistics .statistic>.label~.value{margin-top:0}.ui.statistic>.value~.label,.ui.statistics .statistic>.value~.label{margin-top:0}.ui.statistic>.value>i.icon,.ui.statistics .statistic>.value>i.icon{opacity:1;width:auto;margin:0}.ui.statistic>.text.value,.ui.statistics .statistic>.text.value{line-height:1em;min-height:2em;font-weight:700;text-align:center}.ui.statistic>.text.value+.label,.ui.statistics .statistic>.text.value+.label{text-align:center}.ui.statistic>.value img,.ui.statistics .statistic>.value img{max-height:3rem;vertical-align:baseline}.ui.ten.statistics{margin:0 0 -1em}.ui.ten.statistics .statistic{min-width:10%;margin:0 0 1em}.ui.nine.statistics{margin:0 0 -1em}.ui.nine.statistics .statistic{min-width:11.11111111%;margin:0 0 1em}.ui.eight.statistics{margin:0 0 -1em}.ui.eight.statistics .statistic{min-width:12.5%;margin:0 0 1em}.ui.seven.statistics{margin:0 0 -1em}.ui.seven.statistics .statistic{min-width:14.28571429%;margin:0 0 1em}.ui.six.statistics{margin:0 0 -1em}.ui.six.statistics .statistic{min-width:16.66666667%;margin:0 0 1em}.ui.five.statistics{margin:0 0 -1em}.ui.five.statistics .statistic{min-width:20%;margin:0 0 1em}.ui.four.statistics{margin:0 0 -1em}.ui.four.statistics .statistic{min-width:25%;margin:0 0 1em}.ui.three.statistics{margin:0 0 -1em}.ui.three.statistics .statistic{min-width:33.33333333%;margin:0 0 1em}.ui.two.statistics{margin:0 0 -1em}.ui.two.statistics .statistic{min-width:50%;margin:0 0 1em}.ui.one.statistics{margin:0 0 -1em}.ui.one.statistics .statistic{min-width:100%;margin:0 0 1em}.ui.fluid.statistic{width:100%}.ui.horizontal.statistic{flex-direction:row;align-items:center}.ui.horizontal.statistics{flex-direction:column;margin:0;max-width:none}.ui.horizontal.statistics .statistic{flex-direction:row;align-items:center;max-width:none;margin:1em 0}.ui.horizontal.statistic>.text.value,.ui.horizontal.statistics>.statistic>.text.value{min-height:0!important}.ui.horizontal.statistic>.value>i.icon,.ui.horizontal.statistics .statistic>.value>i.icon{width:1.18em}.ui.horizontal.statistic>.value,.ui.horizontal.statistics .statistic>.value{display:inline-block;vertical-align:middle}.ui.horizontal.statistic>.label,.ui.horizontal.statistics .statistic>.label{display:inline-block;vertical-align:middle;margin:0 0 0 .75em}.ui.inverted.statistic .value,.ui.inverted.statistics .statistic>.value{color:#fff}.ui.inverted.statistic .label,.ui.inverted.statistics .statistic>.label{color:rgba(255,255,255,.9)}.ui.primary.statistic>.value,.ui.primary.statistics .statistic>.value,.ui.statistics .primary.statistic>.value{color:#2185d0}.ui.inverted.primary.statistic>.value,.ui.inverted.primary.statistics .statistic>.value,.ui.statistics .inverted.primary.statistic>.value{color:#54c8ff}.ui.secondary.statistic>.value,.ui.secondary.statistics .statistic>.value,.ui.statistics .secondary.statistic>.value{color:#1b1c1d}.ui.inverted.secondary.statistic>.value,.ui.inverted.secondary.statistics .statistic>.value,.ui.statistics .inverted.secondary.statistic>.value{color:#545454}.ui.red.statistic>.value,.ui.red.statistics .statistic>.value,.ui.statistics .red.statistic>.value{color:#db2828}.ui.inverted.red.statistic>.value,.ui.inverted.red.statistics .statistic>.value,.ui.statistics .inverted.red.statistic>.value{color:#ff695e}.ui.orange.statistic>.value,.ui.orange.statistics .statistic>.value,.ui.statistics .orange.statistic>.value{color:#f2711c}.ui.inverted.orange.statistic>.value,.ui.inverted.orange.statistics .statistic>.value,.ui.statistics .inverted.orange.statistic>.value{color:#ff851b}.ui.statistics .yellow.statistic>.value,.ui.yellow.statistic>.value,.ui.yellow.statistics .statistic>.value{color:#fbbd08}.ui.inverted.yellow.statistic>.value,.ui.inverted.yellow.statistics .statistic>.value,.ui.statistics .inverted.yellow.statistic>.value{color:#ffe21f}.ui.olive.statistic>.value,.ui.olive.statistics .statistic>.value,.ui.statistics .olive.statistic>.value{color:#b5cc18}.ui.inverted.olive.statistic>.value,.ui.inverted.olive.statistics .statistic>.value,.ui.statistics .inverted.olive.statistic>.value{color:#d9e778}.ui.green.statistic>.value,.ui.green.statistics .statistic>.value,.ui.statistics .green.statistic>.value{color:#21ba45}.ui.inverted.green.statistic>.value,.ui.inverted.green.statistics .statistic>.value,.ui.statistics .inverted.green.statistic>.value{color:#2ecc40}.ui.statistics .teal.statistic>.value,.ui.teal.statistic>.value,.ui.teal.statistics .statistic>.value{color:#00b5ad}.ui.inverted.teal.statistic>.value,.ui.inverted.teal.statistics .statistic>.value,.ui.statistics .inverted.teal.statistic>.value{color:#6dffff}.ui.blue.statistic>.value,.ui.blue.statistics .statistic>.value,.ui.statistics .blue.statistic>.value{color:#2185d0}.ui.inverted.blue.statistic>.value,.ui.inverted.blue.statistics .statistic>.value,.ui.statistics .inverted.blue.statistic>.value{color:#54c8ff}.ui.statistics .violet.statistic>.value,.ui.violet.statistic>.value,.ui.violet.statistics .statistic>.value{color:#6435c9}.ui.inverted.violet.statistic>.value,.ui.inverted.violet.statistics .statistic>.value,.ui.statistics .inverted.violet.statistic>.value{color:#a291fb}.ui.purple.statistic>.value,.ui.purple.statistics .statistic>.value,.ui.statistics .purple.statistic>.value{color:#a333c8}.ui.inverted.purple.statistic>.value,.ui.inverted.purple.statistics .statistic>.value,.ui.statistics .inverted.purple.statistic>.value{color:#dc73ff}.ui.pink.statistic>.value,.ui.pink.statistics .statistic>.value,.ui.statistics .pink.statistic>.value{color:#e03997}.ui.inverted.pink.statistic>.value,.ui.inverted.pink.statistics .statistic>.value,.ui.statistics .inverted.pink.statistic>.value{color:#ff8edf}.ui.brown.statistic>.value,.ui.brown.statistics .statistic>.value,.ui.statistics .brown.statistic>.value{color:#a5673f}.ui.inverted.brown.statistic>.value,.ui.inverted.brown.statistics .statistic>.value,.ui.statistics .inverted.brown.statistic>.value{color:#d67c1c}.ui.grey.statistic>.value,.ui.grey.statistics .statistic>.value,.ui.statistics .grey.statistic>.value{color:#767676}.ui.inverted.grey.statistic>.value,.ui.inverted.grey.statistics .statistic>.value,.ui.statistics .inverted.grey.statistic>.value{color:#dcddde}.ui.black.statistic>.value,.ui.black.statistics .statistic>.value,.ui.statistics .black.statistic>.value{color:#1b1c1d}.ui.inverted.black.statistic>.value,.ui.inverted.black.statistics .statistic>.value,.ui.statistics .inverted.black.statistic>.value{color:#545454}.ui[class*="left floated"].statistic{float:left;margin:0 2em 1em 0}.ui[class*="right floated"].statistic{float:right;margin:0 0 1em 2em}.ui.floated.statistic:last-child{margin-bottom:0}@media only screen and (max-width:767.98px){.ui.stackable.statistics{width:auto;margin-left:0!important;margin-right:0!important}.ui.stackable.statistics>.statistic{width:100%!important;margin:0!important;padding:1rem 1rem!important}}.ui.statistic>.value,.ui.statistics .statistic>.value{font-size:4rem}.ui.horizontal.statistic>.value,.ui.horizontal.statistics .statistic>.value{font-size:3rem}.ui.statistic>.text.value,.ui.statistics .statistic>.text.value{font-size:2rem}.ui.mini.statistic>.value,.ui.mini.statistics .statistic>.value{font-size:1.5rem}.ui.mini.horizontal.statistic>.value,.ui.mini.horizontal.statistics .statistic>.value{font-size:1.5rem}.ui.mini.statistic>.text.value,.ui.mini.statistics .statistic>.text.value{font-size:1rem}.ui.tiny.statistic>.value,.ui.tiny.statistics .statistic>.value{font-size:2rem}.ui.tiny.horizontal.statistic>.value,.ui.tiny.horizontal.statistics .statistic>.value{font-size:2rem}.ui.tiny.statistic>.text.value,.ui.tiny.statistics .statistic>.text.value{font-size:1rem}.ui.small.statistic>.value,.ui.small.statistics .statistic>.value{font-size:3rem}.ui.small.horizontal.statistic>.value,.ui.small.horizontal.statistics .statistic>.value{font-size:2rem}.ui.small.statistic>.text.value,.ui.small.statistics .statistic>.text.value{font-size:1rem}.ui.large.statistic>.value,.ui.large.statistics .statistic>.value{font-size:5rem}.ui.large.horizontal.statistic>.value,.ui.large.horizontal.statistics .statistic>.value{font-size:4rem}.ui.large.statistic>.text.value,.ui.large.statistics .statistic>.text.value{font-size:2.5rem}.ui.big.statistic>.value,.ui.big.statistics .statistic>.value{font-size:5.5rem}.ui.big.horizontal.statistic>.value,.ui.big.horizontal.statistics .statistic>.value{font-size:4.5rem}.ui.big.statistic>.text.value,.ui.big.statistics .statistic>.text.value{font-size:2.5rem}.ui.huge.statistic>.value,.ui.huge.statistics .statistic>.value{font-size:6rem}.ui.huge.horizontal.statistic>.value,.ui.huge.horizontal.statistics .statistic>.value{font-size:5rem}.ui.huge.statistic>.text.value,.ui.huge.statistics .statistic>.text.value{font-size:2.5rem}.ui.massive.statistic>.value,.ui.massive.statistics .statistic>.value{font-size:7rem}.ui.massive.horizontal.statistic>.value,.ui.massive.horizontal.statistics .statistic>.value{font-size:6rem}.ui.massive.statistic>.text.value,.ui.massive.statistics .statistic>.text.value{font-size:3rem}
|