diff options
| author | Pascal Szewczyk <ps@elektrowecker.de> | 2016-07-18 23:23:54 +0200 | 
|---|---|---|
| committer | Pascal Szewczyk <ps@elektrowecker.de> | 2016-07-18 23:23:54 +0200 | 
| commit | c94fb32c7a3c28b18a27460aa2447eeec1fac1de (patch) | |
| tree | e3bb35d57f90256698135c722eadeb784b47992c | |
| parent | 89685742de42cb8e54ebdbaf7a207cfe16fa62b8 (diff) | |
uikit added
217 files changed, 51413 insertions, 60 deletions
| diff --git a/css/components/accordion.almost-flat.css b/css/components/accordion.almost-flat.css new file mode 100755 index 0000000..8961cb1 --- /dev/null +++ b/css/components/accordion.almost-flat.css | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Accordion | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object: `uk-accordion-title` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-accordion-title { | ||
| 8 | margin-top: 0; | ||
| 9 | margin-bottom: 15px; | ||
| 10 | padding: 5px 15px; | ||
| 11 | background: #f5f5f5; | ||
| 12 | font-size: 18px; | ||
| 13 | line-height: 24px; | ||
| 14 | cursor: pointer; | ||
| 15 | border: 1px solid #ddd; | ||
| 16 | border-radius: 4px; | ||
| 17 | } | ||
| 18 | /* Sub-object: `uk-accordion-content` | ||
| 19 | ========================================================================== */ | ||
| 20 | .uk-accordion-content { | ||
| 21 | padding: 0 15px 15px 15px; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * Micro clearfix to make panels more robust | ||
| 25 | */ | ||
| 26 | .uk-accordion-content:before, | ||
| 27 | .uk-accordion-content:after { | ||
| 28 | content: ""; | ||
| 29 | display: table; | ||
| 30 | } | ||
| 31 | .uk-accordion-content:after { | ||
| 32 | clear: both; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Remove margin from the last-child | ||
| 36 | */ | ||
| 37 | .uk-accordion-content > :last-child { | ||
| 38 | margin-bottom: 0; | ||
| 39 | } | ||
| diff --git a/css/components/accordion.almost-flat.min.css b/css/components/accordion.almost-flat.min.css new file mode 100755 index 0000000..973109f --- /dev/null +++ b/css/components/accordion.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f5f5f5;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file | ||
| diff --git a/css/components/accordion.css b/css/components/accordion.css new file mode 100755 index 0000000..b7092e6 --- /dev/null +++ b/css/components/accordion.css | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Accordion | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object: `uk-accordion-title` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-accordion-title { | ||
| 8 | margin-top: 0; | ||
| 9 | margin-bottom: 15px; | ||
| 10 | padding: 5px 15px; | ||
| 11 | background: #eee; | ||
| 12 | font-size: 18px; | ||
| 13 | line-height: 24px; | ||
| 14 | cursor: pointer; | ||
| 15 | } | ||
| 16 | /* Sub-object: `uk-accordion-content` | ||
| 17 | ========================================================================== */ | ||
| 18 | .uk-accordion-content { | ||
| 19 | padding: 0 15px 15px 15px; | ||
| 20 | } | ||
| 21 | /* | ||
| 22 | * Micro clearfix to make panels more robust | ||
| 23 | */ | ||
| 24 | .uk-accordion-content:before, | ||
| 25 | .uk-accordion-content:after { | ||
| 26 | content: ""; | ||
| 27 | display: table; | ||
| 28 | } | ||
| 29 | .uk-accordion-content:after { | ||
| 30 | clear: both; | ||
| 31 | } | ||
| 32 | /* | ||
| 33 | * Remove margin from the last-child | ||
| 34 | */ | ||
| 35 | .uk-accordion-content > :last-child { | ||
| 36 | margin-bottom: 0; | ||
| 37 | } | ||
| diff --git a/css/components/accordion.gradient.css b/css/components/accordion.gradient.css new file mode 100755 index 0000000..2cb6d63 --- /dev/null +++ b/css/components/accordion.gradient.css | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Accordion | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object: `uk-accordion-title` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-accordion-title { | ||
| 8 | margin-top: 0; | ||
| 9 | margin-bottom: 15px; | ||
| 10 | padding: 5px 15px; | ||
| 11 | background: #f7f7f7; | ||
| 12 | font-size: 18px; | ||
| 13 | line-height: 24px; | ||
| 14 | cursor: pointer; | ||
| 15 | border: 1px solid #ddd; | ||
| 16 | border-radius: 4px; | ||
| 17 | } | ||
| 18 | /* Sub-object: `uk-accordion-content` | ||
| 19 | ========================================================================== */ | ||
| 20 | .uk-accordion-content { | ||
| 21 | padding: 0 15px 15px 15px; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * Micro clearfix to make panels more robust | ||
| 25 | */ | ||
| 26 | .uk-accordion-content:before, | ||
| 27 | .uk-accordion-content:after { | ||
| 28 | content: ""; | ||
| 29 | display: table; | ||
| 30 | } | ||
| 31 | .uk-accordion-content:after { | ||
| 32 | clear: both; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Remove margin from the last-child | ||
| 36 | */ | ||
| 37 | .uk-accordion-content > :last-child { | ||
| 38 | margin-bottom: 0; | ||
| 39 | } | ||
| diff --git a/css/components/accordion.gradient.min.css b/css/components/accordion.gradient.min.css new file mode 100755 index 0000000..a1881e9 --- /dev/null +++ b/css/components/accordion.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#f7f7f7;font-size:18px;line-height:24px;cursor:pointer;border:1px solid #ddd;border-radius:4px}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file | ||
| diff --git a/css/components/accordion.min.css b/css/components/accordion.min.css new file mode 100755 index 0000000..b196556 --- /dev/null +++ b/css/components/accordion.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-accordion-title{margin-top:0;margin-bottom:15px;padding:5px 15px;background:#eee;font-size:18px;line-height:24px;cursor:pointer}.uk-accordion-content{padding:0 15px 15px 15px}.uk-accordion-content:after,.uk-accordion-content:before{content:"";display:table}.uk-accordion-content:after{clear:both}.uk-accordion-content>:last-child{margin-bottom:0} \ No newline at end of file | ||
| diff --git a/css/components/autocomplete.almost-flat.css b/css/components/autocomplete.almost-flat.css new file mode 100755 index 0000000..7def17e --- /dev/null +++ b/css/components/autocomplete.almost-flat.css | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Autocomplete | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Container width fits its content | ||
| 7 | * 2. Create position context | ||
| 8 | * 3. Prevent `inline-block` consequences | ||
| 9 | * 4. Remove the gap between the container and its child element | ||
| 10 | */ | ||
| 11 | .uk-autocomplete { | ||
| 12 | /* 1 */ | ||
| 13 | display: inline-block; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | max-width: 100%; | ||
| 18 | /* 4 */ | ||
| 19 | vertical-align: middle; | ||
| 20 | } | ||
| 21 | /* Legacy dropdown modifier */ | ||
| 22 | .uk-dropdown-flip { | ||
| 23 | left: auto; | ||
| 24 | right: 0; | ||
| 25 | } | ||
| 26 | /* Nav modifier `uk-nav-autocomplete` | ||
| 27 | ========================================================================== */ | ||
| 28 | /* | ||
| 29 | * Items | ||
| 30 | */ | ||
| 31 | .uk-nav-autocomplete > li > a { | ||
| 32 | color: #444; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Active | ||
| 36 | * 1. Remove default focus style | ||
| 37 | */ | ||
| 38 | .uk-nav-autocomplete > li.uk-active > a { | ||
| 39 | background: #00a8e6; | ||
| 40 | color: #fff; | ||
| 41 | /* 1 */ | ||
| 42 | outline: none; | ||
| 43 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 44 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 45 | } | ||
| 46 | /* | ||
| 47 | * Sub-object: `uk-nav-header` | ||
| 48 | */ | ||
| 49 | .uk-nav-autocomplete .uk-nav-header { | ||
| 50 | color: #999; | ||
| 51 | } | ||
| 52 | /* | ||
| 53 | * Sub-object: `uk-nav-divider` | ||
| 54 | */ | ||
| 55 | .uk-nav-autocomplete .uk-nav-divider { | ||
| 56 | border-top: 1px solid #ddd; | ||
| 57 | } | ||
| diff --git a/css/components/autocomplete.almost-flat.min.css b/css/components/autocomplete.almost-flat.min.css new file mode 100755 index 0000000..eb691ac --- /dev/null +++ b/css/components/autocomplete.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-dropdown-flip{left:auto;right:0}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file | ||
| diff --git a/css/components/autocomplete.css b/css/components/autocomplete.css new file mode 100755 index 0000000..5c6993c --- /dev/null +++ b/css/components/autocomplete.css | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Autocomplete | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Container width fits its content | ||
| 7 | * 2. Create position context | ||
| 8 | * 3. Prevent `inline-block` consequences | ||
| 9 | * 4. Remove the gap between the container and its child element | ||
| 10 | */ | ||
| 11 | .uk-autocomplete { | ||
| 12 | /* 1 */ | ||
| 13 | display: inline-block; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | max-width: 100%; | ||
| 18 | /* 4 */ | ||
| 19 | vertical-align: middle; | ||
| 20 | } | ||
| 21 | /* Legacy dropdown modifier */ | ||
| 22 | .uk-dropdown-flip { | ||
| 23 | left: auto; | ||
| 24 | right: 0; | ||
| 25 | } | ||
| 26 | /* Nav modifier `uk-nav-autocomplete` | ||
| 27 | ========================================================================== */ | ||
| 28 | /* | ||
| 29 | * Items | ||
| 30 | */ | ||
| 31 | .uk-nav-autocomplete > li > a { | ||
| 32 | color: #444; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Active | ||
| 36 | * 1. Remove default focus style | ||
| 37 | */ | ||
| 38 | .uk-nav-autocomplete > li.uk-active > a { | ||
| 39 | background: #00a8e6; | ||
| 40 | color: #fff; | ||
| 41 | /* 1 */ | ||
| 42 | outline: none; | ||
| 43 | } | ||
| 44 | /* | ||
| 45 | * Sub-object: `uk-nav-header` | ||
| 46 | */ | ||
| 47 | .uk-nav-autocomplete .uk-nav-header { | ||
| 48 | color: #999; | ||
| 49 | } | ||
| 50 | /* | ||
| 51 | * Sub-object: `uk-nav-divider` | ||
| 52 | */ | ||
| 53 | .uk-nav-autocomplete .uk-nav-divider { | ||
| 54 | border-top: 1px solid #ddd; | ||
| 55 | } | ||
| diff --git a/css/components/autocomplete.gradient.css b/css/components/autocomplete.gradient.css new file mode 100755 index 0000000..3fb9e3d --- /dev/null +++ b/css/components/autocomplete.gradient.css | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Autocomplete | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Container width fits its content | ||
| 7 | * 2. Create position context | ||
| 8 | * 3. Prevent `inline-block` consequences | ||
| 9 | * 4. Remove the gap between the container and its child element | ||
| 10 | */ | ||
| 11 | .uk-autocomplete { | ||
| 12 | /* 1 */ | ||
| 13 | display: inline-block; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | max-width: 100%; | ||
| 18 | /* 4 */ | ||
| 19 | vertical-align: middle; | ||
| 20 | } | ||
| 21 | /* Legacy dropdown modifier */ | ||
| 22 | .uk-dropdown-flip { | ||
| 23 | left: auto; | ||
| 24 | right: 0; | ||
| 25 | } | ||
| 26 | /* Nav modifier `uk-nav-autocomplete` | ||
| 27 | ========================================================================== */ | ||
| 28 | /* | ||
| 29 | * Items | ||
| 30 | */ | ||
| 31 | .uk-nav-autocomplete > li > a { | ||
| 32 | color: #444; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Active | ||
| 36 | * 1. Remove default focus style | ||
| 37 | */ | ||
| 38 | .uk-nav-autocomplete > li.uk-active > a { | ||
| 39 | background: #009dd8; | ||
| 40 | color: #fff; | ||
| 41 | /* 1 */ | ||
| 42 | outline: none; | ||
| 43 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 44 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 45 | } | ||
| 46 | /* | ||
| 47 | * Sub-object: `uk-nav-header` | ||
| 48 | */ | ||
| 49 | .uk-nav-autocomplete .uk-nav-header { | ||
| 50 | color: #999; | ||
| 51 | } | ||
| 52 | /* | ||
| 53 | * Sub-object: `uk-nav-divider` | ||
| 54 | */ | ||
| 55 | .uk-nav-autocomplete .uk-nav-divider { | ||
| 56 | border-top: 1px solid #ddd; | ||
| 57 | } | ||
| diff --git a/css/components/autocomplete.gradient.min.css b/css/components/autocomplete.gradient.min.css new file mode 100755 index 0000000..ceb6f66 --- /dev/null +++ b/css/components/autocomplete.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-dropdown-flip{left:auto;right:0}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file | ||
| diff --git a/css/components/autocomplete.min.css b/css/components/autocomplete.min.css new file mode 100755 index 0000000..1925dc7 --- /dev/null +++ b/css/components/autocomplete.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-autocomplete{display:inline-block;position:relative;max-width:100%;vertical-align:middle}.uk-dropdown-flip{left:auto;right:0}.uk-nav-autocomplete>li>a{color:#444}.uk-nav-autocomplete>li.uk-active>a{background:#00a8e6;color:#fff;outline:0}.uk-nav-autocomplete .uk-nav-header{color:#999}.uk-nav-autocomplete .uk-nav-divider{border-top:1px solid #ddd} \ No newline at end of file | ||
| diff --git a/css/components/datepicker.almost-flat.css b/css/components/datepicker.almost-flat.css new file mode 100755 index 0000000..dd857b0 --- /dev/null +++ b/css/components/datepicker.almost-flat.css | |||
| @@ -0,0 +1,129 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Datepicker | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Highest z-index | ||
| 7 | * 2. Reset dropdown width | ||
| 8 | * 3. Set animation | ||
| 9 | * 4. Needed for scale animation | ||
| 10 | */ | ||
| 11 | .uk-datepicker { | ||
| 12 | /* 1 */ | ||
| 13 | z-index: 1050; | ||
| 14 | /* 2 */ | ||
| 15 | width: auto; | ||
| 16 | /* 3 */ | ||
| 17 | -webkit-animation: uk-fade 0.2s ease-in-out; | ||
| 18 | animation: uk-fade 0.2s ease-in-out; | ||
| 19 | /* 4 */ | ||
| 20 | -webkit-transform-origin: 0 0; | ||
| 21 | transform-origin: 0 0; | ||
| 22 | } | ||
| 23 | /* Sub-object: `uk-datepicker-nav` | ||
| 24 | ========================================================================== */ | ||
| 25 | .uk-datepicker-nav { | ||
| 26 | margin-bottom: 15px; | ||
| 27 | text-align: center; | ||
| 28 | line-height: 20px; | ||
| 29 | } | ||
| 30 | /* | ||
| 31 | * Micro clearfix | ||
| 32 | */ | ||
| 33 | .uk-datepicker-nav:before, | ||
| 34 | .uk-datepicker-nav:after { | ||
| 35 | content: ""; | ||
| 36 | display: table; | ||
| 37 | } | ||
| 38 | .uk-datepicker-nav:after { | ||
| 39 | clear: both; | ||
| 40 | } | ||
| 41 | /* | ||
| 42 | * Previous and next navigation | ||
| 43 | */ | ||
| 44 | .uk-datepicker-nav a { | ||
| 45 | color: #444; | ||
| 46 | text-decoration: none; | ||
| 47 | } | ||
| 48 | .uk-datepicker-nav a:hover { | ||
| 49 | color: #444; | ||
| 50 | } | ||
| 51 | .uk-datepicker-previous { | ||
| 52 | float: left; | ||
| 53 | } | ||
| 54 | .uk-datepicker-next { | ||
| 55 | float: right; | ||
| 56 | } | ||
| 57 | .uk-datepicker-previous:after, | ||
| 58 | .uk-datepicker-next:after { | ||
| 59 | width: 20px; | ||
| 60 | font-family: FontAwesome; | ||
| 61 | } | ||
| 62 | .uk-datepicker-previous:after { | ||
| 63 | content: "\f053"; | ||
| 64 | } | ||
| 65 | .uk-datepicker-next:after { | ||
| 66 | content: "\f054"; | ||
| 67 | } | ||
| 68 | /* Sub-object: `uk-datepicker-heading` | ||
| 69 | ========================================================================== */ | ||
| 70 | /* Sub-object: `uk-datepicker-table` | ||
| 71 | ========================================================================== */ | ||
| 72 | /* Block element behavior */ | ||
| 73 | .uk-datepicker-table { | ||
| 74 | width: 100%; | ||
| 75 | } | ||
| 76 | .uk-datepicker-table th, | ||
| 77 | .uk-datepicker-table td { | ||
| 78 | padding: 2px; | ||
| 79 | } | ||
| 80 | .uk-datepicker-table th { | ||
| 81 | font-size: 12px; | ||
| 82 | } | ||
| 83 | /* | ||
| 84 | * Item | ||
| 85 | */ | ||
| 86 | .uk-datepicker-table a { | ||
| 87 | display: block; | ||
| 88 | width: 26px; | ||
| 89 | line-height: 24px; | ||
| 90 | text-align: center; | ||
| 91 | color: #444; | ||
| 92 | text-decoration: none; | ||
| 93 | border: 1px solid transparent; | ||
| 94 | border-radius: 4px; | ||
| 95 | } | ||
| 96 | /* | ||
| 97 | * Sub-object: `uk-datepicker-table-muted` | ||
| 98 | */ | ||
| 99 | a.uk-datepicker-table-muted { | ||
| 100 | color: #999; | ||
| 101 | } | ||
| 102 | /* | ||
| 103 | * Hover | ||
| 104 | * 1. Apply hover style also to focus state | ||
| 105 | * 2. Remove default focus style | ||
| 106 | */ | ||
| 107 | .uk-datepicker-table a:hover, | ||
| 108 | .uk-datepicker-table a:focus { | ||
| 109 | background-color: #fafafa; | ||
| 110 | color: #444; | ||
| 111 | /* 2 */ | ||
| 112 | outline: none; | ||
| 113 | border-color: rgba(0, 0, 0, 0.16); | ||
| 114 | text-shadow: 0 1px 0 #fff; | ||
| 115 | } | ||
| 116 | /* OnClick */ | ||
| 117 | .uk-datepicker-table a:active { | ||
| 118 | background-color: #eee; | ||
| 119 | color: #444; | ||
| 120 | } | ||
| 121 | /* | ||
| 122 | * Active | ||
| 123 | */ | ||
| 124 | .uk-datepicker-table a.uk-active { | ||
| 125 | background: #00a8e6; | ||
| 126 | color: #fff; | ||
| 127 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 128 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 129 | } | ||
| diff --git a/css/components/datepicker.almost-flat.min.css b/css/components/datepicker.almost-flat.min.css new file mode 100755 index 0000000..2a7d912 --- /dev/null +++ b/css/components/datepicker.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none;border:1px solid transparent;border-radius:4px}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.16);text-shadow:0 1px 0 #fff}.uk-datepicker-table a:active{background-color:#eee;color:#444}.uk-datepicker-table a.uk-active{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)} \ No newline at end of file | ||
| diff --git a/css/components/datepicker.css b/css/components/datepicker.css new file mode 100755 index 0000000..8f48fdf --- /dev/null +++ b/css/components/datepicker.css | |||
| @@ -0,0 +1,123 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Datepicker | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Highest z-index | ||
| 7 | * 2. Reset dropdown width | ||
| 8 | * 3. Set animation | ||
| 9 | * 4. Needed for scale animation | ||
| 10 | */ | ||
| 11 | .uk-datepicker { | ||
| 12 | /* 1 */ | ||
| 13 | z-index: 1050; | ||
| 14 | /* 2 */ | ||
| 15 | width: auto; | ||
| 16 | /* 3 */ | ||
| 17 | -webkit-animation: uk-fade 0.2s ease-in-out; | ||
| 18 | animation: uk-fade 0.2s ease-in-out; | ||
| 19 | /* 4 */ | ||
| 20 | -webkit-transform-origin: 0 0; | ||
| 21 | transform-origin: 0 0; | ||
| 22 | } | ||
| 23 | /* Sub-object: `uk-datepicker-nav` | ||
| 24 | ========================================================================== */ | ||
| 25 | .uk-datepicker-nav { | ||
| 26 | margin-bottom: 15px; | ||
| 27 | text-align: center; | ||
| 28 | line-height: 20px; | ||
| 29 | } | ||
| 30 | /* | ||
| 31 | * Micro clearfix | ||
| 32 | */ | ||
| 33 | .uk-datepicker-nav:before, | ||
| 34 | .uk-datepicker-nav:after { | ||
| 35 | content: ""; | ||
| 36 | display: table; | ||
| 37 | } | ||
| 38 | .uk-datepicker-nav:after { | ||
| 39 | clear: both; | ||
| 40 | } | ||
| 41 | /* | ||
| 42 | * Previous and next navigation | ||
| 43 | */ | ||
| 44 | .uk-datepicker-nav a { | ||
| 45 | color: #444; | ||
| 46 | text-decoration: none; | ||
| 47 | } | ||
| 48 | .uk-datepicker-nav a:hover { | ||
| 49 | color: #444; | ||
| 50 | } | ||
| 51 | .uk-datepicker-previous { | ||
| 52 | float: left; | ||
| 53 | } | ||
| 54 | .uk-datepicker-next { | ||
| 55 | float: right; | ||
| 56 | } | ||
| 57 | .uk-datepicker-previous:after, | ||
| 58 | .uk-datepicker-next:after { | ||
| 59 | width: 20px; | ||
| 60 | font-family: FontAwesome; | ||
| 61 | } | ||
| 62 | .uk-datepicker-previous:after { | ||
| 63 | content: "\f053"; | ||
| 64 | } | ||
| 65 | .uk-datepicker-next:after { | ||
| 66 | content: "\f054"; | ||
| 67 | } | ||
| 68 | /* Sub-object: `uk-datepicker-heading` | ||
| 69 | ========================================================================== */ | ||
| 70 | /* Sub-object: `uk-datepicker-table` | ||
| 71 | ========================================================================== */ | ||
| 72 | /* Block element behavior */ | ||
| 73 | .uk-datepicker-table { | ||
| 74 | width: 100%; | ||
| 75 | } | ||
| 76 | .uk-datepicker-table th, | ||
| 77 | .uk-datepicker-table td { | ||
| 78 | padding: 2px; | ||
| 79 | } | ||
| 80 | .uk-datepicker-table th { | ||
| 81 | font-size: 12px; | ||
| 82 | } | ||
| 83 | /* | ||
| 84 | * Item | ||
| 85 | */ | ||
| 86 | .uk-datepicker-table a { | ||
| 87 | display: block; | ||
| 88 | width: 26px; | ||
| 89 | line-height: 24px; | ||
| 90 | text-align: center; | ||
| 91 | color: #444; | ||
| 92 | text-decoration: none; | ||
| 93 | } | ||
| 94 | /* | ||
| 95 | * Sub-object: `uk-datepicker-table-muted` | ||
| 96 | */ | ||
| 97 | a.uk-datepicker-table-muted { | ||
| 98 | color: #999; | ||
| 99 | } | ||
| 100 | /* | ||
| 101 | * Hover | ||
| 102 | * 1. Apply hover style also to focus state | ||
| 103 | * 2. Remove default focus style | ||
| 104 | */ | ||
| 105 | .uk-datepicker-table a:hover, | ||
| 106 | .uk-datepicker-table a:focus { | ||
| 107 | background-color: #ddd; | ||
| 108 | color: #444; | ||
| 109 | /* 2 */ | ||
| 110 | outline: none; | ||
| 111 | } | ||
| 112 | /* OnClick */ | ||
| 113 | .uk-datepicker-table a:active { | ||
| 114 | background-color: #ccc; | ||
| 115 | color: #444; | ||
| 116 | } | ||
| 117 | /* | ||
| 118 | * Active | ||
| 119 | */ | ||
| 120 | .uk-datepicker-table a.uk-active { | ||
| 121 | background: #00a8e6; | ||
| 122 | color: #fff; | ||
| 123 | } | ||
| diff --git a/css/components/datepicker.gradient.css b/css/components/datepicker.gradient.css new file mode 100755 index 0000000..4201c09 --- /dev/null +++ b/css/components/datepicker.gradient.css | |||
| @@ -0,0 +1,139 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Datepicker | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Highest z-index | ||
| 7 | * 2. Reset dropdown width | ||
| 8 | * 3. Set animation | ||
| 9 | * 4. Needed for scale animation | ||
| 10 | */ | ||
| 11 | .uk-datepicker { | ||
| 12 | /* 1 */ | ||
| 13 | z-index: 1050; | ||
| 14 | /* 2 */ | ||
| 15 | width: auto; | ||
| 16 | /* 3 */ | ||
| 17 | -webkit-animation: uk-fade 0.2s ease-in-out; | ||
| 18 | animation: uk-fade 0.2s ease-in-out; | ||
| 19 | /* 4 */ | ||
| 20 | -webkit-transform-origin: 0 0; | ||
| 21 | transform-origin: 0 0; | ||
| 22 | } | ||
| 23 | /* Sub-object: `uk-datepicker-nav` | ||
| 24 | ========================================================================== */ | ||
| 25 | .uk-datepicker-nav { | ||
| 26 | margin-bottom: 15px; | ||
| 27 | text-align: center; | ||
| 28 | line-height: 20px; | ||
| 29 | } | ||
| 30 | /* | ||
| 31 | * Micro clearfix | ||
| 32 | */ | ||
| 33 | .uk-datepicker-nav:before, | ||
| 34 | .uk-datepicker-nav:after { | ||
| 35 | content: ""; | ||
| 36 | display: table; | ||
| 37 | } | ||
| 38 | .uk-datepicker-nav:after { | ||
| 39 | clear: both; | ||
| 40 | } | ||
| 41 | /* | ||
| 42 | * Previous and next navigation | ||
| 43 | */ | ||
| 44 | .uk-datepicker-nav a { | ||
| 45 | color: #444; | ||
| 46 | text-decoration: none; | ||
| 47 | } | ||
| 48 | .uk-datepicker-nav a:hover { | ||
| 49 | color: #444; | ||
| 50 | } | ||
| 51 | .uk-datepicker-previous { | ||
| 52 | float: left; | ||
| 53 | } | ||
| 54 | .uk-datepicker-next { | ||
| 55 | float: right; | ||
| 56 | } | ||
| 57 | .uk-datepicker-previous:after, | ||
| 58 | .uk-datepicker-next:after { | ||
| 59 | width: 20px; | ||
| 60 | font-family: FontAwesome; | ||
| 61 | } | ||
| 62 | .uk-datepicker-previous:after { | ||
| 63 | content: "\f053"; | ||
| 64 | } | ||
| 65 | .uk-datepicker-next:after { | ||
| 66 | content: "\f054"; | ||
| 67 | } | ||
| 68 | /* Sub-object: `uk-datepicker-heading` | ||
| 69 | ========================================================================== */ | ||
| 70 | /* Sub-object: `uk-datepicker-table` | ||
| 71 | ========================================================================== */ | ||
| 72 | /* Block element behavior */ | ||
| 73 | .uk-datepicker-table { | ||
| 74 | width: 100%; | ||
| 75 | } | ||
| 76 | .uk-datepicker-table th, | ||
| 77 | .uk-datepicker-table td { | ||
| 78 | padding: 2px; | ||
| 79 | } | ||
| 80 | .uk-datepicker-table th { | ||
| 81 | font-size: 12px; | ||
| 82 | } | ||
| 83 | /* | ||
| 84 | * Item | ||
| 85 | */ | ||
| 86 | .uk-datepicker-table a { | ||
| 87 | display: block; | ||
| 88 | width: 26px; | ||
| 89 | line-height: 24px; | ||
| 90 | text-align: center; | ||
| 91 | color: #444; | ||
| 92 | text-decoration: none; | ||
| 93 | border: 1px solid transparent; | ||
| 94 | border-radius: 4px; | ||
| 95 | background-origin: border-box; | ||
| 96 | } | ||
| 97 | /* | ||
| 98 | * Sub-object: `uk-datepicker-table-muted` | ||
| 99 | */ | ||
| 100 | a.uk-datepicker-table-muted { | ||
| 101 | color: #999; | ||
| 102 | } | ||
| 103 | /* | ||
| 104 | * Hover | ||
| 105 | * 1. Apply hover style also to focus state | ||
| 106 | * 2. Remove default focus style | ||
| 107 | */ | ||
| 108 | .uk-datepicker-table a:hover, | ||
| 109 | .uk-datepicker-table a:focus { | ||
| 110 | background-color: #fafafa; | ||
| 111 | color: #444; | ||
| 112 | /* 2 */ | ||
| 113 | outline: none; | ||
| 114 | border-color: rgba(0, 0, 0, 0.2); | ||
| 115 | border-bottom-color: rgba(0, 0, 0, 0.3); | ||
| 116 | text-shadow: 0 1px 0 #fff; | ||
| 117 | } | ||
| 118 | /* OnClick */ | ||
| 119 | .uk-datepicker-table a:active { | ||
| 120 | background-color: #f5f5f5; | ||
| 121 | color: #444; | ||
| 122 | border-color: rgba(0, 0, 0, 0.2); | ||
| 123 | border-top-color: rgba(0, 0, 0, 0.3); | ||
| 124 | background-image: none; | ||
| 125 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 126 | } | ||
| 127 | /* | ||
| 128 | * Active | ||
| 129 | */ | ||
| 130 | .uk-datepicker-table a.uk-active { | ||
| 131 | background: #009dd8; | ||
| 132 | color: #fff; | ||
| 133 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 134 | border-bottom-color: rgba(0, 0, 0, 0.4); | ||
| 135 | background-origin: border-box; | ||
| 136 | background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); | ||
| 137 | background-image: linear-gradient(to bottom, #00b4f5, #008dc5); | ||
| 138 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 139 | } | ||
| diff --git a/css/components/datepicker.gradient.min.css b/css/components/datepicker.gradient.min.css new file mode 100755 index 0000000..d851927 --- /dev/null +++ b/css/components/datepicker.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none;border:1px solid transparent;border-radius:4px;background-origin:border-box}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);text-shadow:0 1px 0 #fff}.uk-datepicker-table a:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-datepicker-table a.uk-active{background:#009dd8;color:#fff;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);text-shadow:0 -1px 0 rgba(0,0,0,.2)} \ No newline at end of file | ||
| diff --git a/css/components/datepicker.min.css b/css/components/datepicker.min.css new file mode 100755 index 0000000..9c37c48 --- /dev/null +++ b/css/components/datepicker.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-datepicker{z-index:1050;width:auto;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-datepicker-nav{margin-bottom:15px;text-align:center;line-height:20px}.uk-datepicker-nav:after,.uk-datepicker-nav:before{content:"";display:table}.uk-datepicker-nav:after{clear:both}.uk-datepicker-nav a{color:#444;text-decoration:none}.uk-datepicker-nav a:hover{color:#444}.uk-datepicker-previous{float:left}.uk-datepicker-next{float:right}.uk-datepicker-next:after,.uk-datepicker-previous:after{width:20px;font-family:FontAwesome}.uk-datepicker-previous:after{content:"\f053"}.uk-datepicker-next:after{content:"\f054"}.uk-datepicker-table{width:100%}.uk-datepicker-table td,.uk-datepicker-table th{padding:2px}.uk-datepicker-table th{font-size:12px}.uk-datepicker-table a{display:block;width:26px;line-height:24px;text-align:center;color:#444;text-decoration:none}a.uk-datepicker-table-muted{color:#999}.uk-datepicker-table a:focus,.uk-datepicker-table a:hover{background-color:#ddd;color:#444;outline:0}.uk-datepicker-table a:active{background-color:#ccc;color:#444}.uk-datepicker-table a.uk-active{background:#00a8e6;color:#fff} \ No newline at end of file | ||
| diff --git a/css/components/dotnav.almost-flat.css b/css/components/dotnav.almost-flat.css new file mode 100755 index 0000000..30d9b16 --- /dev/null +++ b/css/components/dotnav.almost-flat.css | |||
| @@ -0,0 +1,128 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Dotnav | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Gutter | ||
| 7 | * 2. Remove default list style | ||
| 8 | */ | ||
| 9 | .uk-dotnav { | ||
| 10 | display: -ms-flexbox; | ||
| 11 | display: -webkit-flex; | ||
| 12 | display: flex; | ||
| 13 | -ms-flex-wrap: wrap; | ||
| 14 | -webkit-flex-wrap: wrap; | ||
| 15 | flex-wrap: wrap; | ||
| 16 | /* 1 */ | ||
| 17 | margin-left: -15px; | ||
| 18 | margin-top: -15px; | ||
| 19 | /* 2 */ | ||
| 20 | padding: 0; | ||
| 21 | list-style: none; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * 1. Space is allocated solely based on content dimensions | ||
| 25 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 26 | */ | ||
| 27 | .uk-dotnav > * { | ||
| 28 | /* 1 */ | ||
| 29 | -ms-flex: none; | ||
| 30 | -webkit-flex: none; | ||
| 31 | flex: none; | ||
| 32 | /* 2 */ | ||
| 33 | padding-left: 15px; | ||
| 34 | margin-top: 15px; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * DEPRECATED IE9 Support | ||
| 38 | */ | ||
| 39 | .uk-dotnav:before, | ||
| 40 | .uk-dotnav:after { | ||
| 41 | content: ""; | ||
| 42 | display: block; | ||
| 43 | overflow: hidden; | ||
| 44 | } | ||
| 45 | .uk-dotnav:after { | ||
| 46 | clear: both; | ||
| 47 | } | ||
| 48 | .uk-dotnav > * { | ||
| 49 | float: left; | ||
| 50 | } | ||
| 51 | /* Items | ||
| 52 | ========================================================================== */ | ||
| 53 | /* | ||
| 54 | * Items | ||
| 55 | * 1. Hide text if present | ||
| 56 | */ | ||
| 57 | .uk-dotnav > * > * { | ||
| 58 | display: block; | ||
| 59 | box-sizing: content-box; | ||
| 60 | width: 20px; | ||
| 61 | height: 20px; | ||
| 62 | border-radius: 50%; | ||
| 63 | background: rgba(50, 50, 50, 0.1); | ||
| 64 | /* 1 */ | ||
| 65 | text-indent: 100%; | ||
| 66 | overflow: hidden; | ||
| 67 | white-space: nowrap; | ||
| 68 | -webkit-transition: all 0.2s ease-in-out; | ||
| 69 | transition: all 0.2s ease-in-out; | ||
| 70 | } | ||
| 71 | /* | ||
| 72 | * Hover | ||
| 73 | * 1. Apply hover style also to focus state | ||
| 74 | * 2. Remove default focus style | ||
| 75 | */ | ||
| 76 | .uk-dotnav > * > :hover, | ||
| 77 | .uk-dotnav > * > :focus { | ||
| 78 | background: rgba(50, 50, 50, 0.4); | ||
| 79 | /* 2 */ | ||
| 80 | outline: none; | ||
| 81 | } | ||
| 82 | /* OnClick */ | ||
| 83 | .uk-dotnav > * > :active { | ||
| 84 | background: rgba(50, 50, 50, 0.6); | ||
| 85 | } | ||
| 86 | /* Active */ | ||
| 87 | .uk-dotnav > .uk-active > * { | ||
| 88 | background: rgba(50, 50, 50, 0.4); | ||
| 89 | -webkit-transform: scale(1.3); | ||
| 90 | transform: scale(1.3); | ||
| 91 | } | ||
| 92 | /* Modifier: `uk-dotnav-contrast` | ||
| 93 | ========================================================================== */ | ||
| 94 | .uk-dotnav-contrast > * > * { | ||
| 95 | background: rgba(255, 255, 255, 0.4); | ||
| 96 | } | ||
| 97 | /* | ||
| 98 | * Hover | ||
| 99 | * 1. Apply hover style also to focus state | ||
| 100 | */ | ||
| 101 | .uk-dotnav-contrast > * > :hover, | ||
| 102 | .uk-dotnav-contrast > * > :focus { | ||
| 103 | background: rgba(255, 255, 255, 0.7); | ||
| 104 | } | ||
| 105 | /* OnClick */ | ||
| 106 | .uk-dotnav-contrast > * > :active { | ||
| 107 | background: rgba(255, 255, 255, 0.9); | ||
| 108 | } | ||
| 109 | /* Active */ | ||
| 110 | .uk-dotnav-contrast > .uk-active > * { | ||
| 111 | background: rgba(255, 255, 255, 0.9); | ||
| 112 | } | ||
| 113 | /* Modifier: 'uk-dotnav-vertical' | ||
| 114 | ========================================================================== */ | ||
| 115 | /* | ||
| 116 | * DEPRECATED | ||
| 117 | */ | ||
| 118 | .uk-dotnav-vertical { | ||
| 119 | -ms-flex-direction: column; | ||
| 120 | -webkit-flex-direction: column; | ||
| 121 | flex-direction: column; | ||
| 122 | } | ||
| 123 | /* | ||
| 124 | * DEPRECATED IE9 Support | ||
| 125 | */ | ||
| 126 | .uk-dotnav-vertical > * { | ||
| 127 | float: none; | ||
| 128 | } | ||
| diff --git a/css/components/dotnav.almost-flat.min.css b/css/components/dotnav.almost-flat.min.css new file mode 100755 index 0000000..f216455 --- /dev/null +++ b/css/components/dotnav.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4);-webkit-transform:scale(1.3);transform:scale(1.3)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file | ||
| diff --git a/css/components/dotnav.css b/css/components/dotnav.css new file mode 100755 index 0000000..f3c2e60 --- /dev/null +++ b/css/components/dotnav.css | |||
| @@ -0,0 +1,124 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Dotnav | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Gutter | ||
| 7 | * 2. Remove default list style | ||
| 8 | */ | ||
| 9 | .uk-dotnav { | ||
| 10 | display: -ms-flexbox; | ||
| 11 | display: -webkit-flex; | ||
| 12 | display: flex; | ||
| 13 | -ms-flex-wrap: wrap; | ||
| 14 | -webkit-flex-wrap: wrap; | ||
| 15 | flex-wrap: wrap; | ||
| 16 | /* 1 */ | ||
| 17 | margin-left: -15px; | ||
| 18 | margin-top: -15px; | ||
| 19 | /* 2 */ | ||
| 20 | padding: 0; | ||
| 21 | list-style: none; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * 1. Space is allocated solely based on content dimensions | ||
| 25 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 26 | */ | ||
| 27 | .uk-dotnav > * { | ||
| 28 | /* 1 */ | ||
| 29 | -ms-flex: none; | ||
| 30 | -webkit-flex: none; | ||
| 31 | flex: none; | ||
| 32 | /* 2 */ | ||
| 33 | padding-left: 15px; | ||
| 34 | margin-top: 15px; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * DEPRECATED IE9 Support | ||
| 38 | */ | ||
| 39 | .uk-dotnav:before, | ||
| 40 | .uk-dotnav:after { | ||
| 41 | content: ""; | ||
| 42 | display: block; | ||
| 43 | overflow: hidden; | ||
| 44 | } | ||
| 45 | .uk-dotnav:after { | ||
| 46 | clear: both; | ||
| 47 | } | ||
| 48 | .uk-dotnav > * { | ||
| 49 | float: left; | ||
| 50 | } | ||
| 51 | /* Items | ||
| 52 | ========================================================================== */ | ||
| 53 | /* | ||
| 54 | * Items | ||
| 55 | * 1. Hide text if present | ||
| 56 | */ | ||
| 57 | .uk-dotnav > * > * { | ||
| 58 | display: block; | ||
| 59 | box-sizing: content-box; | ||
| 60 | width: 20px; | ||
| 61 | height: 20px; | ||
| 62 | border-radius: 50%; | ||
| 63 | background: rgba(50, 50, 50, 0.1); | ||
| 64 | /* 1 */ | ||
| 65 | text-indent: 100%; | ||
| 66 | overflow: hidden; | ||
| 67 | white-space: nowrap; | ||
| 68 | } | ||
| 69 | /* | ||
| 70 | * Hover | ||
| 71 | * 1. Apply hover style also to focus state | ||
| 72 | * 2. Remove default focus style | ||
| 73 | */ | ||
| 74 | .uk-dotnav > * > :hover, | ||
| 75 | .uk-dotnav > * > :focus { | ||
| 76 | background: rgba(50, 50, 50, 0.4); | ||
| 77 | /* 2 */ | ||
| 78 | outline: none; | ||
| 79 | } | ||
| 80 | /* OnClick */ | ||
| 81 | .uk-dotnav > * > :active { | ||
| 82 | background: rgba(50, 50, 50, 0.6); | ||
| 83 | } | ||
| 84 | /* Active */ | ||
| 85 | .uk-dotnav > .uk-active > * { | ||
| 86 | background: rgba(50, 50, 50, 0.4); | ||
| 87 | } | ||
| 88 | /* Modifier: `uk-dotnav-contrast` | ||
| 89 | ========================================================================== */ | ||
| 90 | .uk-dotnav-contrast > * > * { | ||
| 91 | background: rgba(255, 255, 255, 0.4); | ||
| 92 | } | ||
| 93 | /* | ||
| 94 | * Hover | ||
| 95 | * 1. Apply hover style also to focus state | ||
| 96 | */ | ||
| 97 | .uk-dotnav-contrast > * > :hover, | ||
| 98 | .uk-dotnav-contrast > * > :focus { | ||
| 99 | background: rgba(255, 255, 255, 0.7); | ||
| 100 | } | ||
| 101 | /* OnClick */ | ||
| 102 | .uk-dotnav-contrast > * > :active { | ||
| 103 | background: rgba(255, 255, 255, 0.9); | ||
| 104 | } | ||
| 105 | /* Active */ | ||
| 106 | .uk-dotnav-contrast > .uk-active > * { | ||
| 107 | background: rgba(255, 255, 255, 0.9); | ||
| 108 | } | ||
| 109 | /* Modifier: 'uk-dotnav-vertical' | ||
| 110 | ========================================================================== */ | ||
| 111 | /* | ||
| 112 | * DEPRECATED | ||
| 113 | */ | ||
| 114 | .uk-dotnav-vertical { | ||
| 115 | -ms-flex-direction: column; | ||
| 116 | -webkit-flex-direction: column; | ||
| 117 | flex-direction: column; | ||
| 118 | } | ||
| 119 | /* | ||
| 120 | * DEPRECATED IE9 Support | ||
| 121 | */ | ||
| 122 | .uk-dotnav-vertical > * { | ||
| 123 | float: none; | ||
| 124 | } | ||
| diff --git a/css/components/dotnav.gradient.css b/css/components/dotnav.gradient.css new file mode 100755 index 0000000..30d9b16 --- /dev/null +++ b/css/components/dotnav.gradient.css | |||
| @@ -0,0 +1,128 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Dotnav | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Gutter | ||
| 7 | * 2. Remove default list style | ||
| 8 | */ | ||
| 9 | .uk-dotnav { | ||
| 10 | display: -ms-flexbox; | ||
| 11 | display: -webkit-flex; | ||
| 12 | display: flex; | ||
| 13 | -ms-flex-wrap: wrap; | ||
| 14 | -webkit-flex-wrap: wrap; | ||
| 15 | flex-wrap: wrap; | ||
| 16 | /* 1 */ | ||
| 17 | margin-left: -15px; | ||
| 18 | margin-top: -15px; | ||
| 19 | /* 2 */ | ||
| 20 | padding: 0; | ||
| 21 | list-style: none; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * 1. Space is allocated solely based on content dimensions | ||
| 25 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 26 | */ | ||
| 27 | .uk-dotnav > * { | ||
| 28 | /* 1 */ | ||
| 29 | -ms-flex: none; | ||
| 30 | -webkit-flex: none; | ||
| 31 | flex: none; | ||
| 32 | /* 2 */ | ||
| 33 | padding-left: 15px; | ||
| 34 | margin-top: 15px; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * DEPRECATED IE9 Support | ||
| 38 | */ | ||
| 39 | .uk-dotnav:before, | ||
| 40 | .uk-dotnav:after { | ||
| 41 | content: ""; | ||
| 42 | display: block; | ||
| 43 | overflow: hidden; | ||
| 44 | } | ||
| 45 | .uk-dotnav:after { | ||
| 46 | clear: both; | ||
| 47 | } | ||
| 48 | .uk-dotnav > * { | ||
| 49 | float: left; | ||
| 50 | } | ||
| 51 | /* Items | ||
| 52 | ========================================================================== */ | ||
| 53 | /* | ||
| 54 | * Items | ||
| 55 | * 1. Hide text if present | ||
| 56 | */ | ||
| 57 | .uk-dotnav > * > * { | ||
| 58 | display: block; | ||
| 59 | box-sizing: content-box; | ||
| 60 | width: 20px; | ||
| 61 | height: 20px; | ||
| 62 | border-radius: 50%; | ||
| 63 | background: rgba(50, 50, 50, 0.1); | ||
| 64 | /* 1 */ | ||
| 65 | text-indent: 100%; | ||
| 66 | overflow: hidden; | ||
| 67 | white-space: nowrap; | ||
| 68 | -webkit-transition: all 0.2s ease-in-out; | ||
| 69 | transition: all 0.2s ease-in-out; | ||
| 70 | } | ||
| 71 | /* | ||
| 72 | * Hover | ||
| 73 | * 1. Apply hover style also to focus state | ||
| 74 | * 2. Remove default focus style | ||
| 75 | */ | ||
| 76 | .uk-dotnav > * > :hover, | ||
| 77 | .uk-dotnav > * > :focus { | ||
| 78 | background: rgba(50, 50, 50, 0.4); | ||
| 79 | /* 2 */ | ||
| 80 | outline: none; | ||
| 81 | } | ||
| 82 | /* OnClick */ | ||
| 83 | .uk-dotnav > * > :active { | ||
| 84 | background: rgba(50, 50, 50, 0.6); | ||
| 85 | } | ||
| 86 | /* Active */ | ||
| 87 | .uk-dotnav > .uk-active > * { | ||
| 88 | background: rgba(50, 50, 50, 0.4); | ||
| 89 | -webkit-transform: scale(1.3); | ||
| 90 | transform: scale(1.3); | ||
| 91 | } | ||
| 92 | /* Modifier: `uk-dotnav-contrast` | ||
| 93 | ========================================================================== */ | ||
| 94 | .uk-dotnav-contrast > * > * { | ||
| 95 | background: rgba(255, 255, 255, 0.4); | ||
| 96 | } | ||
| 97 | /* | ||
| 98 | * Hover | ||
| 99 | * 1. Apply hover style also to focus state | ||
| 100 | */ | ||
| 101 | .uk-dotnav-contrast > * > :hover, | ||
| 102 | .uk-dotnav-contrast > * > :focus { | ||
| 103 | background: rgba(255, 255, 255, 0.7); | ||
| 104 | } | ||
| 105 | /* OnClick */ | ||
| 106 | .uk-dotnav-contrast > * > :active { | ||
| 107 | background: rgba(255, 255, 255, 0.9); | ||
| 108 | } | ||
| 109 | /* Active */ | ||
| 110 | .uk-dotnav-contrast > .uk-active > * { | ||
| 111 | background: rgba(255, 255, 255, 0.9); | ||
| 112 | } | ||
| 113 | /* Modifier: 'uk-dotnav-vertical' | ||
| 114 | ========================================================================== */ | ||
| 115 | /* | ||
| 116 | * DEPRECATED | ||
| 117 | */ | ||
| 118 | .uk-dotnav-vertical { | ||
| 119 | -ms-flex-direction: column; | ||
| 120 | -webkit-flex-direction: column; | ||
| 121 | flex-direction: column; | ||
| 122 | } | ||
| 123 | /* | ||
| 124 | * DEPRECATED IE9 Support | ||
| 125 | */ | ||
| 126 | .uk-dotnav-vertical > * { | ||
| 127 | float: none; | ||
| 128 | } | ||
| diff --git a/css/components/dotnav.gradient.min.css b/css/components/dotnav.gradient.min.css new file mode 100755 index 0000000..f216455 --- /dev/null +++ b/css/components/dotnav.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4);-webkit-transform:scale(1.3);transform:scale(1.3)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file | ||
| diff --git a/css/components/dotnav.min.css b/css/components/dotnav.min.css new file mode 100755 index 0000000..f18865e --- /dev/null +++ b/css/components/dotnav.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-dotnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-15px;margin-top:-15px;padding:0;list-style:none}.uk-dotnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:15px;margin-top:15px}.uk-dotnav:after,.uk-dotnav:before{content:"";display:block;overflow:hidden}.uk-dotnav:after{clear:both}.uk-dotnav>*{float:left}.uk-dotnav>*>*{display:block;box-sizing:content-box;width:20px;height:20px;border-radius:50%;background:rgba(50,50,50,.1);text-indent:100%;overflow:hidden;white-space:nowrap}.uk-dotnav>*>:focus,.uk-dotnav>*>:hover{background:rgba(50,50,50,.4);outline:0}.uk-dotnav>*>:active{background:rgba(50,50,50,.6)}.uk-dotnav>.uk-active>*{background:rgba(50,50,50,.4)}.uk-dotnav-contrast>*>*{background:rgba(255,255,255,.4)}.uk-dotnav-contrast>*>:focus,.uk-dotnav-contrast>*>:hover{background:rgba(255,255,255,.7)}.uk-dotnav-contrast>*>:active{background:rgba(255,255,255,.9)}.uk-dotnav-contrast>.uk-active>*{background:rgba(255,255,255,.9)}.uk-dotnav-vertical{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-dotnav-vertical>*{float:none} \ No newline at end of file | ||
| diff --git a/css/components/form-advanced.almost-flat.css b/css/components/form-advanced.almost-flat.css new file mode 100755 index 0000000..f46ee81 --- /dev/null +++ b/css/components/form-advanced.almost-flat.css | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form advanced | ||
| 4 | Note: Only works in Webkit at the moment | ||
| 5 | ========================================================================== */ | ||
| 6 | /* | ||
| 7 | * 1. Style | ||
| 8 | * 2. Makes box more robust so it clips the child element | ||
| 9 | * 3. Vertical alignment | ||
| 10 | * 4. Remove default style | ||
| 11 | * 5. Fix black background on iOS | ||
| 12 | */ | ||
| 13 | .uk-form input[type="radio"], | ||
| 14 | .uk-form input[type="checkbox"] { | ||
| 15 | /* 1 */ | ||
| 16 | display: inline-block; | ||
| 17 | height: 14px; | ||
| 18 | width: 14px; | ||
| 19 | border: 1px solid #aaa; | ||
| 20 | /* 2 */ | ||
| 21 | overflow: hidden; | ||
| 22 | /* 3 */ | ||
| 23 | margin-top: -4px; | ||
| 24 | vertical-align: middle; | ||
| 25 | /* 4 */ | ||
| 26 | -webkit-appearance: none; | ||
| 27 | outline: 0; | ||
| 28 | /* 5 */ | ||
| 29 | background: transparent; | ||
| 30 | } | ||
| 31 | /* Radio */ | ||
| 32 | .uk-form input[type="radio"] { | ||
| 33 | border-radius: 50%; | ||
| 34 | } | ||
| 35 | /* | ||
| 36 | * Checked | ||
| 37 | */ | ||
| 38 | .uk-form input[type=radio]:before, | ||
| 39 | .uk-form input[type=checkbox]:before { | ||
| 40 | display: block; | ||
| 41 | } | ||
| 42 | /* Radio */ | ||
| 43 | .uk-form input[type=radio]:checked:before { | ||
| 44 | content: ''; | ||
| 45 | width: 8px; | ||
| 46 | height: 8px; | ||
| 47 | margin: 2px auto 0; | ||
| 48 | border-radius: 50%; | ||
| 49 | background: #00a8e6; | ||
| 50 | } | ||
| 51 | /* Checkbox */ | ||
| 52 | .uk-form input[type=checkbox]:checked:before, | ||
| 53 | .uk-form input[type=checkbox]:indeterminate:before { | ||
| 54 | content: "\f00c"; | ||
| 55 | font-family: FontAwesome; | ||
| 56 | font-size: 12px; | ||
| 57 | -webkit-font-smoothing: antialiased; | ||
| 58 | text-align: center; | ||
| 59 | line-height: 12px; | ||
| 60 | color: #00a8e6; | ||
| 61 | } | ||
| 62 | .uk-form input[type=checkbox]:indeterminate:before { | ||
| 63 | content: "\f068"; | ||
| 64 | } | ||
| 65 | /* | ||
| 66 | * Disabled | ||
| 67 | */ | ||
| 68 | .uk-form input[type=radio]:disabled, | ||
| 69 | .uk-form input[type=checkbox]:disabled { | ||
| 70 | border-color: #ddd; | ||
| 71 | } | ||
| 72 | .uk-form input[type=radio]:disabled:checked:before { | ||
| 73 | background-color: #aaa; | ||
| 74 | } | ||
| 75 | .uk-form input[type=checkbox]:disabled:checked:before, | ||
| 76 | .uk-form input[type=checkbox]:disabled:indeterminate:before { | ||
| 77 | color: #aaa; | ||
| 78 | } | ||
| diff --git a/css/components/form-advanced.almost-flat.min.css b/css/components/form-advanced.almost-flat.min.css new file mode 100755 index 0000000..d18464f --- /dev/null +++ b/css/components/form-advanced.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file | ||
| diff --git a/css/components/form-advanced.css b/css/components/form-advanced.css new file mode 100755 index 0000000..f46ee81 --- /dev/null +++ b/css/components/form-advanced.css | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form advanced | ||
| 4 | Note: Only works in Webkit at the moment | ||
| 5 | ========================================================================== */ | ||
| 6 | /* | ||
| 7 | * 1. Style | ||
| 8 | * 2. Makes box more robust so it clips the child element | ||
| 9 | * 3. Vertical alignment | ||
| 10 | * 4. Remove default style | ||
| 11 | * 5. Fix black background on iOS | ||
| 12 | */ | ||
| 13 | .uk-form input[type="radio"], | ||
| 14 | .uk-form input[type="checkbox"] { | ||
| 15 | /* 1 */ | ||
| 16 | display: inline-block; | ||
| 17 | height: 14px; | ||
| 18 | width: 14px; | ||
| 19 | border: 1px solid #aaa; | ||
| 20 | /* 2 */ | ||
| 21 | overflow: hidden; | ||
| 22 | /* 3 */ | ||
| 23 | margin-top: -4px; | ||
| 24 | vertical-align: middle; | ||
| 25 | /* 4 */ | ||
| 26 | -webkit-appearance: none; | ||
| 27 | outline: 0; | ||
| 28 | /* 5 */ | ||
| 29 | background: transparent; | ||
| 30 | } | ||
| 31 | /* Radio */ | ||
| 32 | .uk-form input[type="radio"] { | ||
| 33 | border-radius: 50%; | ||
| 34 | } | ||
| 35 | /* | ||
| 36 | * Checked | ||
| 37 | */ | ||
| 38 | .uk-form input[type=radio]:before, | ||
| 39 | .uk-form input[type=checkbox]:before { | ||
| 40 | display: block; | ||
| 41 | } | ||
| 42 | /* Radio */ | ||
| 43 | .uk-form input[type=radio]:checked:before { | ||
| 44 | content: ''; | ||
| 45 | width: 8px; | ||
| 46 | height: 8px; | ||
| 47 | margin: 2px auto 0; | ||
| 48 | border-radius: 50%; | ||
| 49 | background: #00a8e6; | ||
| 50 | } | ||
| 51 | /* Checkbox */ | ||
| 52 | .uk-form input[type=checkbox]:checked:before, | ||
| 53 | .uk-form input[type=checkbox]:indeterminate:before { | ||
| 54 | content: "\f00c"; | ||
| 55 | font-family: FontAwesome; | ||
| 56 | font-size: 12px; | ||
| 57 | -webkit-font-smoothing: antialiased; | ||
| 58 | text-align: center; | ||
| 59 | line-height: 12px; | ||
| 60 | color: #00a8e6; | ||
| 61 | } | ||
| 62 | .uk-form input[type=checkbox]:indeterminate:before { | ||
| 63 | content: "\f068"; | ||
| 64 | } | ||
| 65 | /* | ||
| 66 | * Disabled | ||
| 67 | */ | ||
| 68 | .uk-form input[type=radio]:disabled, | ||
| 69 | .uk-form input[type=checkbox]:disabled { | ||
| 70 | border-color: #ddd; | ||
| 71 | } | ||
| 72 | .uk-form input[type=radio]:disabled:checked:before { | ||
| 73 | background-color: #aaa; | ||
| 74 | } | ||
| 75 | .uk-form input[type=checkbox]:disabled:checked:before, | ||
| 76 | .uk-form input[type=checkbox]:disabled:indeterminate:before { | ||
| 77 | color: #aaa; | ||
| 78 | } | ||
| diff --git a/css/components/form-advanced.gradient.css b/css/components/form-advanced.gradient.css new file mode 100755 index 0000000..f46ee81 --- /dev/null +++ b/css/components/form-advanced.gradient.css | |||
| @@ -0,0 +1,78 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form advanced | ||
| 4 | Note: Only works in Webkit at the moment | ||
| 5 | ========================================================================== */ | ||
| 6 | /* | ||
| 7 | * 1. Style | ||
| 8 | * 2. Makes box more robust so it clips the child element | ||
| 9 | * 3. Vertical alignment | ||
| 10 | * 4. Remove default style | ||
| 11 | * 5. Fix black background on iOS | ||
| 12 | */ | ||
| 13 | .uk-form input[type="radio"], | ||
| 14 | .uk-form input[type="checkbox"] { | ||
| 15 | /* 1 */ | ||
| 16 | display: inline-block; | ||
| 17 | height: 14px; | ||
| 18 | width: 14px; | ||
| 19 | border: 1px solid #aaa; | ||
| 20 | /* 2 */ | ||
| 21 | overflow: hidden; | ||
| 22 | /* 3 */ | ||
| 23 | margin-top: -4px; | ||
| 24 | vertical-align: middle; | ||
| 25 | /* 4 */ | ||
| 26 | -webkit-appearance: none; | ||
| 27 | outline: 0; | ||
| 28 | /* 5 */ | ||
| 29 | background: transparent; | ||
| 30 | } | ||
| 31 | /* Radio */ | ||
| 32 | .uk-form input[type="radio"] { | ||
| 33 | border-radius: 50%; | ||
| 34 | } | ||
| 35 | /* | ||
| 36 | * Checked | ||
| 37 | */ | ||
| 38 | .uk-form input[type=radio]:before, | ||
| 39 | .uk-form input[type=checkbox]:before { | ||
| 40 | display: block; | ||
| 41 | } | ||
| 42 | /* Radio */ | ||
| 43 | .uk-form input[type=radio]:checked:before { | ||
| 44 | content: ''; | ||
| 45 | width: 8px; | ||
| 46 | height: 8px; | ||
| 47 | margin: 2px auto 0; | ||
| 48 | border-radius: 50%; | ||
| 49 | background: #00a8e6; | ||
| 50 | } | ||
| 51 | /* Checkbox */ | ||
| 52 | .uk-form input[type=checkbox]:checked:before, | ||
| 53 | .uk-form input[type=checkbox]:indeterminate:before { | ||
| 54 | content: "\f00c"; | ||
| 55 | font-family: FontAwesome; | ||
| 56 | font-size: 12px; | ||
| 57 | -webkit-font-smoothing: antialiased; | ||
| 58 | text-align: center; | ||
| 59 | line-height: 12px; | ||
| 60 | color: #00a8e6; | ||
| 61 | } | ||
| 62 | .uk-form input[type=checkbox]:indeterminate:before { | ||
| 63 | content: "\f068"; | ||
| 64 | } | ||
| 65 | /* | ||
| 66 | * Disabled | ||
| 67 | */ | ||
| 68 | .uk-form input[type=radio]:disabled, | ||
| 69 | .uk-form input[type=checkbox]:disabled { | ||
| 70 | border-color: #ddd; | ||
| 71 | } | ||
| 72 | .uk-form input[type=radio]:disabled:checked:before { | ||
| 73 | background-color: #aaa; | ||
| 74 | } | ||
| 75 | .uk-form input[type=checkbox]:disabled:checked:before, | ||
| 76 | .uk-form input[type=checkbox]:disabled:indeterminate:before { | ||
| 77 | color: #aaa; | ||
| 78 | } | ||
| diff --git a/css/components/form-advanced.gradient.min.css b/css/components/form-advanced.gradient.min.css new file mode 100755 index 0000000..d18464f --- /dev/null +++ b/css/components/form-advanced.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file | ||
| diff --git a/css/components/form-advanced.min.css b/css/components/form-advanced.min.css new file mode 100755 index 0000000..d18464f --- /dev/null +++ b/css/components/form-advanced.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form input[type=radio],.uk-form input[type=checkbox]{display:inline-block;height:14px;width:14px;border:1px solid #aaa;overflow:hidden;margin-top:-4px;vertical-align:middle;-webkit-appearance:none;outline:0;background:0 0}.uk-form input[type=radio]{border-radius:50%}.uk-form input[type=checkbox]:before,.uk-form input[type=radio]:before{display:block}.uk-form input[type=radio]:checked:before{content:'';width:8px;height:8px;margin:2px auto 0;border-radius:50%;background:#00a8e6}.uk-form input[type=checkbox]:checked:before,.uk-form input[type=checkbox]:indeterminate:before{content:"\f00c";font-family:FontAwesome;font-size:12px;-webkit-font-smoothing:antialiased;text-align:center;line-height:12px;color:#00a8e6}.uk-form input[type=checkbox]:indeterminate:before{content:"\f068"}.uk-form input[type=checkbox]:disabled,.uk-form input[type=radio]:disabled{border-color:#ddd}.uk-form input[type=radio]:disabled:checked:before{background-color:#aaa}.uk-form input[type=checkbox]:disabled:checked:before,.uk-form input[type=checkbox]:disabled:indeterminate:before{color:#aaa} \ No newline at end of file | ||
| diff --git a/css/components/form-file.almost-flat.css b/css/components/form-file.almost-flat.css new file mode 100755 index 0000000..59e4c18 --- /dev/null +++ b/css/components/form-file.almost-flat.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form file | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-file { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 2. Expand height and required for the cursor | ||
| 22 | */ | ||
| 23 | .uk-form-file input[type="file"] { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | opacity: 0; | ||
| 29 | cursor: pointer; | ||
| 30 | /* 1 */ | ||
| 31 | left: 0; | ||
| 32 | /* 2 */ | ||
| 33 | font-size: 500px; | ||
| 34 | } | ||
| diff --git a/css/components/form-file.almost-flat.min.css b/css/components/form-file.almost-flat.min.css new file mode 100755 index 0000000..6a75f13 --- /dev/null +++ b/css/components/form-file.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file | ||
| diff --git a/css/components/form-file.css b/css/components/form-file.css new file mode 100755 index 0000000..59e4c18 --- /dev/null +++ b/css/components/form-file.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form file | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-file { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 2. Expand height and required for the cursor | ||
| 22 | */ | ||
| 23 | .uk-form-file input[type="file"] { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | opacity: 0; | ||
| 29 | cursor: pointer; | ||
| 30 | /* 1 */ | ||
| 31 | left: 0; | ||
| 32 | /* 2 */ | ||
| 33 | font-size: 500px; | ||
| 34 | } | ||
| diff --git a/css/components/form-file.gradient.css b/css/components/form-file.gradient.css new file mode 100755 index 0000000..59e4c18 --- /dev/null +++ b/css/components/form-file.gradient.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form file | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-file { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 2. Expand height and required for the cursor | ||
| 22 | */ | ||
| 23 | .uk-form-file input[type="file"] { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | opacity: 0; | ||
| 29 | cursor: pointer; | ||
| 30 | /* 1 */ | ||
| 31 | left: 0; | ||
| 32 | /* 2 */ | ||
| 33 | font-size: 500px; | ||
| 34 | } | ||
| diff --git a/css/components/form-file.gradient.min.css b/css/components/form-file.gradient.min.css new file mode 100755 index 0000000..6a75f13 --- /dev/null +++ b/css/components/form-file.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file | ||
| diff --git a/css/components/form-file.min.css b/css/components/form-file.min.css new file mode 100755 index 0000000..6a75f13 --- /dev/null +++ b/css/components/form-file.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-file{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-file input[type=file]{position:absolute;top:0;z-index:1;width:100%;opacity:0;cursor:pointer;left:0;font-size:500px} \ No newline at end of file | ||
| diff --git a/css/components/form-password.almost-flat.css b/css/components/form-password.almost-flat.css new file mode 100755 index 0000000..bd0b9c5 --- /dev/null +++ b/css/components/form-password.almost-flat.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form password | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Container width fits its content | ||
| 7 | * 2. Create position context | ||
| 8 | * 3. Prevent `inline-block` consequences | ||
| 9 | */ | ||
| 10 | .uk-form-password { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | /* 2 */ | ||
| 14 | position: relative; | ||
| 15 | /* 3 */ | ||
| 16 | max-width: 100%; | ||
| 17 | } | ||
| 18 | .uk-form-password-toggle { | ||
| 19 | display: block; | ||
| 20 | position: absolute; | ||
| 21 | top: 50%; | ||
| 22 | right: 10px; | ||
| 23 | margin-top: -6px; | ||
| 24 | font-size: 13px; | ||
| 25 | line-height: 13px; | ||
| 26 | color: #999; | ||
| 27 | } | ||
| 28 | .uk-form-password-toggle:hover { | ||
| 29 | color: #999; | ||
| 30 | text-decoration: none; | ||
| 31 | } | ||
| 32 | .uk-form-password > input { | ||
| 33 | padding-right: 50px !important; | ||
| 34 | } | ||
| diff --git a/css/components/form-password.almost-flat.min.css b/css/components/form-password.almost-flat.min.css new file mode 100755 index 0000000..0afeaf2 --- /dev/null +++ b/css/components/form-password.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file | ||
| diff --git a/css/components/form-password.css b/css/components/form-password.css new file mode 100755 index 0000000..bd0b9c5 --- /dev/null +++ b/css/components/form-password.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form password | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Container width fits its content | ||
| 7 | * 2. Create position context | ||
| 8 | * 3. Prevent `inline-block` consequences | ||
| 9 | */ | ||
| 10 | .uk-form-password { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | /* 2 */ | ||
| 14 | position: relative; | ||
| 15 | /* 3 */ | ||
| 16 | max-width: 100%; | ||
| 17 | } | ||
| 18 | .uk-form-password-toggle { | ||
| 19 | display: block; | ||
| 20 | position: absolute; | ||
| 21 | top: 50%; | ||
| 22 | right: 10px; | ||
| 23 | margin-top: -6px; | ||
| 24 | font-size: 13px; | ||
| 25 | line-height: 13px; | ||
| 26 | color: #999; | ||
| 27 | } | ||
| 28 | .uk-form-password-toggle:hover { | ||
| 29 | color: #999; | ||
| 30 | text-decoration: none; | ||
| 31 | } | ||
| 32 | .uk-form-password > input { | ||
| 33 | padding-right: 50px !important; | ||
| 34 | } | ||
| diff --git a/css/components/form-password.gradient.css b/css/components/form-password.gradient.css new file mode 100755 index 0000000..bd0b9c5 --- /dev/null +++ b/css/components/form-password.gradient.css | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form password | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Container width fits its content | ||
| 7 | * 2. Create position context | ||
| 8 | * 3. Prevent `inline-block` consequences | ||
| 9 | */ | ||
| 10 | .uk-form-password { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | /* 2 */ | ||
| 14 | position: relative; | ||
| 15 | /* 3 */ | ||
| 16 | max-width: 100%; | ||
| 17 | } | ||
| 18 | .uk-form-password-toggle { | ||
| 19 | display: block; | ||
| 20 | position: absolute; | ||
| 21 | top: 50%; | ||
| 22 | right: 10px; | ||
| 23 | margin-top: -6px; | ||
| 24 | font-size: 13px; | ||
| 25 | line-height: 13px; | ||
| 26 | color: #999; | ||
| 27 | } | ||
| 28 | .uk-form-password-toggle:hover { | ||
| 29 | color: #999; | ||
| 30 | text-decoration: none; | ||
| 31 | } | ||
| 32 | .uk-form-password > input { | ||
| 33 | padding-right: 50px !important; | ||
| 34 | } | ||
| diff --git a/css/components/form-password.gradient.min.css b/css/components/form-password.gradient.min.css new file mode 100755 index 0000000..0afeaf2 --- /dev/null +++ b/css/components/form-password.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file | ||
| diff --git a/css/components/form-password.min.css b/css/components/form-password.min.css new file mode 100755 index 0000000..0afeaf2 --- /dev/null +++ b/css/components/form-password.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-password{display:inline-block;position:relative;max-width:100%}.uk-form-password-toggle{display:block;position:absolute;top:50%;right:10px;margin-top:-6px;font-size:13px;line-height:13px;color:#999}.uk-form-password-toggle:hover{color:#999;text-decoration:none}.uk-form-password>input{padding-right:50px!important} \ No newline at end of file | ||
| diff --git a/css/components/form-select.almost-flat.css b/css/components/form-select.almost-flat.css new file mode 100755 index 0000000..cfdf373 --- /dev/null +++ b/css/components/form-select.almost-flat.css | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form select | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-select { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 1. Required for Webkit to make `height` work | ||
| 22 | */ | ||
| 23 | .uk-form-select select { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | height: 100%; | ||
| 29 | opacity: 0; | ||
| 30 | cursor: pointer; | ||
| 31 | /* 1 */ | ||
| 32 | left: 0; | ||
| 33 | /* 2 */ | ||
| 34 | -webkit-appearance: none; | ||
| 35 | } | ||
| diff --git a/css/components/form-select.almost-flat.min.css b/css/components/form-select.almost-flat.min.css new file mode 100755 index 0000000..5a0f833 --- /dev/null +++ b/css/components/form-select.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file | ||
| diff --git a/css/components/form-select.css b/css/components/form-select.css new file mode 100755 index 0000000..cfdf373 --- /dev/null +++ b/css/components/form-select.css | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form select | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-select { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 1. Required for Webkit to make `height` work | ||
| 22 | */ | ||
| 23 | .uk-form-select select { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | height: 100%; | ||
| 29 | opacity: 0; | ||
| 30 | cursor: pointer; | ||
| 31 | /* 1 */ | ||
| 32 | left: 0; | ||
| 33 | /* 2 */ | ||
| 34 | -webkit-appearance: none; | ||
| 35 | } | ||
| diff --git a/css/components/form-select.gradient.css b/css/components/form-select.gradient.css new file mode 100755 index 0000000..cfdf373 --- /dev/null +++ b/css/components/form-select.gradient.css | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Form select | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Behave like form elements | ||
| 7 | * 2. Create position context for dropdowns | ||
| 8 | * 3. Clip content | ||
| 9 | */ | ||
| 10 | .uk-form-select { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | vertical-align: middle; | ||
| 14 | /* 2 */ | ||
| 15 | position: relative; | ||
| 16 | /* 3 */ | ||
| 17 | overflow: hidden; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * 1. Required for Firefox | ||
| 21 | * 1. Required for Webkit to make `height` work | ||
| 22 | */ | ||
| 23 | .uk-form-select select { | ||
| 24 | position: absolute; | ||
| 25 | top: 0; | ||
| 26 | z-index: 1; | ||
| 27 | width: 100%; | ||
| 28 | height: 100%; | ||
| 29 | opacity: 0; | ||
| 30 | cursor: pointer; | ||
| 31 | /* 1 */ | ||
| 32 | left: 0; | ||
| 33 | /* 2 */ | ||
| 34 | -webkit-appearance: none; | ||
| 35 | } | ||
| diff --git a/css/components/form-select.gradient.min.css b/css/components/form-select.gradient.min.css new file mode 100755 index 0000000..5a0f833 --- /dev/null +++ b/css/components/form-select.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file | ||
| diff --git a/css/components/form-select.min.css b/css/components/form-select.min.css new file mode 100755 index 0000000..5a0f833 --- /dev/null +++ b/css/components/form-select.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-form-select{display:inline-block;vertical-align:middle;position:relative;overflow:hidden}.uk-form-select select{position:absolute;top:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer;left:0;-webkit-appearance:none} \ No newline at end of file | ||
| diff --git a/css/components/htmleditor.almost-flat.css b/css/components/htmleditor.almost-flat.css new file mode 100755 index 0000000..169d7c4 --- /dev/null +++ b/css/components/htmleditor.almost-flat.css | |||
| @@ -0,0 +1,222 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: HTML editor | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object `uk-htmleditor-navbar` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-htmleditor-navbar { | ||
| 8 | background: #f5f5f5; | ||
| 9 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 10 | border-top-left-radius: 4px; | ||
| 11 | border-top-right-radius: 4px; | ||
| 12 | } | ||
| 13 | /* | ||
| 14 | * Micro clearfix | ||
| 15 | */ | ||
| 16 | .uk-htmleditor-navbar:before, | ||
| 17 | .uk-htmleditor-navbar:after { | ||
| 18 | content: ""; | ||
| 19 | display: table; | ||
| 20 | } | ||
| 21 | .uk-htmleditor-navbar:after { | ||
| 22 | clear: both; | ||
| 23 | } | ||
| 24 | /* Sub-object `uk-htmleditor-navbar-nav` | ||
| 25 | ========================================================================== */ | ||
| 26 | .uk-htmleditor-navbar-nav { | ||
| 27 | margin: 0; | ||
| 28 | padding: 0; | ||
| 29 | list-style: none; | ||
| 30 | float: left; | ||
| 31 | } | ||
| 32 | .uk-htmleditor-navbar-nav > li { | ||
| 33 | float: left; | ||
| 34 | } | ||
| 35 | /* | ||
| 36 | * 1. Dimensions | ||
| 37 | * 2. Style | ||
| 38 | */ | ||
| 39 | .uk-htmleditor-navbar-nav > li > a { | ||
| 40 | display: block; | ||
| 41 | box-sizing: border-box; | ||
| 42 | text-decoration: none; | ||
| 43 | /* 1 */ | ||
| 44 | height: 41px; | ||
| 45 | padding: 0 15px; | ||
| 46 | line-height: 40px; | ||
| 47 | /* 2 */ | ||
| 48 | color: #444; | ||
| 49 | font-size: 11px; | ||
| 50 | cursor: pointer; | ||
| 51 | margin-top: -1px; | ||
| 52 | margin-left: -1px; | ||
| 53 | border: 1px solid transparent; | ||
| 54 | border-bottom-width: 0; | ||
| 55 | text-shadow: 0 1px 0 #fff; | ||
| 56 | } | ||
| 57 | /* | ||
| 58 | * Hover | ||
| 59 | * 1. Apply hover style also to focus state | ||
| 60 | * 2. Remove default focus style | ||
| 61 | */ | ||
| 62 | .uk-htmleditor-navbar-nav > li:hover > a, | ||
| 63 | .uk-htmleditor-navbar-nav > li > a:focus { | ||
| 64 | background-color: #fafafa; | ||
| 65 | color: #444; | ||
| 66 | outline: none; | ||
| 67 | /* 2 */ | ||
| 68 | position: relative; | ||
| 69 | z-index: 1; | ||
| 70 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 71 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 72 | border-top-color: rgba(0, 0, 0, 0.1); | ||
| 73 | } | ||
| 74 | /* OnClick */ | ||
| 75 | .uk-htmleditor-navbar-nav > li > a:active { | ||
| 76 | background-color: #eee; | ||
| 77 | color: #444; | ||
| 78 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 79 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 80 | border-top-color: rgba(0, 0, 0, 0.2); | ||
| 81 | } | ||
| 82 | /* Active */ | ||
| 83 | .uk-htmleditor-navbar-nav > li.uk-active > a { | ||
| 84 | background-color: #fafafa; | ||
| 85 | color: #444; | ||
| 86 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 87 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 88 | border-top-color: rgba(0, 0, 0, 0.1); | ||
| 89 | } | ||
| 90 | /* Sub-object: `uk-htmleditor-navbar-flip` | ||
| 91 | ========================================================================== */ | ||
| 92 | .uk-htmleditor-navbar-flip { | ||
| 93 | float: right; | ||
| 94 | } | ||
| 95 | /* Sub-object for special buttons | ||
| 96 | ========================================================================== */ | ||
| 97 | [data-mode='split'] .uk-htmleditor-button-code, | ||
| 98 | [data-mode='split'] .uk-htmleditor-button-preview { | ||
| 99 | display: none; | ||
| 100 | } | ||
| 101 | /* Sub-object `uk-htmleditor-content` | ||
| 102 | ========================================================================== */ | ||
| 103 | .uk-htmleditor-content { | ||
| 104 | border-left: 1px solid #ddd; | ||
| 105 | border-right: 1px solid #ddd; | ||
| 106 | border-bottom: 1px solid #ddd; | ||
| 107 | background: #fff; | ||
| 108 | border-bottom-left-radius: 4px; | ||
| 109 | border-bottom-right-radius: 4px; | ||
| 110 | } | ||
| 111 | /* | ||
| 112 | * Micro clearfix | ||
| 113 | */ | ||
| 114 | .uk-htmleditor-content:before, | ||
| 115 | .uk-htmleditor-content:after { | ||
| 116 | content: ""; | ||
| 117 | display: table; | ||
| 118 | } | ||
| 119 | .uk-htmleditor-content:after { | ||
| 120 | clear: both; | ||
| 121 | } | ||
| 122 | /* Modifier `uk-htmleditor-fullscreen` | ||
| 123 | ========================================================================== */ | ||
| 124 | .uk-htmleditor-fullscreen { | ||
| 125 | position: fixed; | ||
| 126 | top: 0; | ||
| 127 | left: 0; | ||
| 128 | right: 0; | ||
| 129 | bottom: 0; | ||
| 130 | z-index: 990; | ||
| 131 | } | ||
| 132 | .uk-htmleditor-fullscreen .uk-htmleditor-content { | ||
| 133 | position: absolute; | ||
| 134 | top: 41px; | ||
| 135 | left: 0; | ||
| 136 | right: 0; | ||
| 137 | bottom: 0; | ||
| 138 | } | ||
| 139 | .uk-htmleditor-fullscreen .uk-icon-expand:before { | ||
| 140 | content: "\f066"; | ||
| 141 | } | ||
| 142 | /* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` | ||
| 143 | ========================================================================== */ | ||
| 144 | .uk-htmleditor-code, | ||
| 145 | .uk-htmleditor-preview { | ||
| 146 | box-sizing: border-box; | ||
| 147 | } | ||
| 148 | .uk-htmleditor-preview { | ||
| 149 | padding: 20px; | ||
| 150 | overflow-y: scroll; | ||
| 151 | position: relative; | ||
| 152 | } | ||
| 153 | /* | ||
| 154 | * Tab view | ||
| 155 | */ | ||
| 156 | [data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, | ||
| 157 | [data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { | ||
| 158 | display: none; | ||
| 159 | } | ||
| 160 | /* | ||
| 161 | * Split view | ||
| 162 | */ | ||
| 163 | [data-mode='split'] .uk-htmleditor-code, | ||
| 164 | [data-mode='split'] .uk-htmleditor-preview { | ||
| 165 | float: left; | ||
| 166 | width: 50%; | ||
| 167 | } | ||
| 168 | [data-mode='split'] .uk-htmleditor-code { | ||
| 169 | border-right: 1px solid #eee; | ||
| 170 | } | ||
| 171 | /* Sub-object `uk-htmleditor-iframe` | ||
| 172 | ========================================================================== */ | ||
| 173 | .uk-htmleditor-iframe { | ||
| 174 | position: absolute; | ||
| 175 | top: 0; | ||
| 176 | left: 0; | ||
| 177 | width: 100%; | ||
| 178 | height: 100%; | ||
| 179 | } | ||
| 180 | /* CodeMirror modifications | ||
| 181 | ========================================================================== */ | ||
| 182 | .uk-htmleditor .CodeMirror { | ||
| 183 | padding: 10px; | ||
| 184 | box-sizing: border-box; | ||
| 185 | } | ||
| 186 | /* | ||
| 187 | * Apply same `border-radius` as `uk-htmleditor-navbar` | ||
| 188 | */ | ||
| 189 | .uk-htmleditor-navbar-nav:first-child > li:first-child > a { | ||
| 190 | border-top-left-radius: 4px; | ||
| 191 | } | ||
| 192 | /* | ||
| 193 | * Sub-modifier `uk-htmleditor-navbar-flip` | ||
| 194 | */ | ||
| 195 | /* Collapse border */ | ||
| 196 | .uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav > li > a { | ||
| 197 | margin-left: 0; | ||
| 198 | margin-right: -1px; | ||
| 199 | } | ||
| 200 | /* Apply same `border-radius` as `uk-htmleditor-navbar` */ | ||
| 201 | .uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child > li:first-child > a { | ||
| 202 | border-top-left-radius: 0; | ||
| 203 | } | ||
| 204 | .uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child > li:last-child > a { | ||
| 205 | border-top-right-radius: 4px; | ||
| 206 | } | ||
| 207 | /* | ||
| 208 | * Sub-modifier `uk-htmleditor-fullscreen` | ||
| 209 | */ | ||
| 210 | .uk-htmleditor-fullscreen .uk-htmleditor-navbar { | ||
| 211 | border-top: none; | ||
| 212 | border-left: none; | ||
| 213 | border-right: none; | ||
| 214 | border-radius: 0; | ||
| 215 | } | ||
| 216 | .uk-htmleditor-fullscreen .uk-htmleditor-content { | ||
| 217 | border: none; | ||
| 218 | border-radius: 0; | ||
| 219 | } | ||
| 220 | .uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav > li > a { | ||
| 221 | border-radius: 0 !important; | ||
| 222 | } | ||
| diff --git a/css/components/htmleditor.almost-flat.min.css b/css/components/htmleditor.almost-flat.min.css new file mode 100755 index 0000000..a3d1468 --- /dev/null +++ b/css/components/htmleditor.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-htmleditor-navbar{background:#f5f5f5;border:1px solid rgba(0,0,0,.06);border-top-left-radius:4px;border-top-right-radius:4px}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:#fafafa;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li>a:active{background-color:#eee;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2)}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:41px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;box-sizing:border-box}.uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px}.uk-htmleditor-fullscreen .uk-htmleditor-navbar{border-top:none;border-left:none;border-right:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-content{border:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav>li>a{border-radius:0!important} \ No newline at end of file | ||
| diff --git a/css/components/htmleditor.css b/css/components/htmleditor.css new file mode 100755 index 0000000..1193c59 --- /dev/null +++ b/css/components/htmleditor.css | |||
| @@ -0,0 +1,164 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: HTML editor | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object `uk-htmleditor-navbar` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-htmleditor-navbar { | ||
| 8 | background: #eee; | ||
| 9 | } | ||
| 10 | /* | ||
| 11 | * Micro clearfix | ||
| 12 | */ | ||
| 13 | .uk-htmleditor-navbar:before, | ||
| 14 | .uk-htmleditor-navbar:after { | ||
| 15 | content: ""; | ||
| 16 | display: table; | ||
| 17 | } | ||
| 18 | .uk-htmleditor-navbar:after { | ||
| 19 | clear: both; | ||
| 20 | } | ||
| 21 | /* Sub-object `uk-htmleditor-navbar-nav` | ||
| 22 | ========================================================================== */ | ||
| 23 | .uk-htmleditor-navbar-nav { | ||
| 24 | margin: 0; | ||
| 25 | padding: 0; | ||
| 26 | list-style: none; | ||
| 27 | float: left; | ||
| 28 | } | ||
| 29 | .uk-htmleditor-navbar-nav > li { | ||
| 30 | float: left; | ||
| 31 | } | ||
| 32 | /* | ||
| 33 | * 1. Dimensions | ||
| 34 | * 2. Style | ||
| 35 | */ | ||
| 36 | .uk-htmleditor-navbar-nav > li > a { | ||
| 37 | display: block; | ||
| 38 | box-sizing: border-box; | ||
| 39 | text-decoration: none; | ||
| 40 | /* 1 */ | ||
| 41 | height: 40px; | ||
| 42 | padding: 0 15px; | ||
| 43 | line-height: 40px; | ||
| 44 | /* 2 */ | ||
| 45 | color: #444; | ||
| 46 | font-size: 11px; | ||
| 47 | cursor: pointer; | ||
| 48 | } | ||
| 49 | /* | ||
| 50 | * Hover | ||
| 51 | * 1. Apply hover style also to focus state | ||
| 52 | * 2. Remove default focus style | ||
| 53 | */ | ||
| 54 | .uk-htmleditor-navbar-nav > li:hover > a, | ||
| 55 | .uk-htmleditor-navbar-nav > li > a:focus { | ||
| 56 | background-color: #f5f5f5; | ||
| 57 | color: #444; | ||
| 58 | outline: none; | ||
| 59 | /* 2 */ | ||
| 60 | } | ||
| 61 | /* OnClick */ | ||
| 62 | .uk-htmleditor-navbar-nav > li > a:active { | ||
| 63 | background-color: #ddd; | ||
| 64 | color: #444; | ||
| 65 | } | ||
| 66 | /* Active */ | ||
| 67 | .uk-htmleditor-navbar-nav > li.uk-active > a { | ||
| 68 | background-color: #f5f5f5; | ||
| 69 | color: #444; | ||
| 70 | } | ||
| 71 | /* Sub-object: `uk-htmleditor-navbar-flip` | ||
| 72 | ========================================================================== */ | ||
| 73 | .uk-htmleditor-navbar-flip { | ||
| 74 | float: right; | ||
| 75 | } | ||
| 76 | /* Sub-object for special buttons | ||
| 77 | ========================================================================== */ | ||
| 78 | [data-mode='split'] .uk-htmleditor-button-code, | ||
| 79 | [data-mode='split'] .uk-htmleditor-button-preview { | ||
| 80 | display: none; | ||
| 81 | } | ||
| 82 | /* Sub-object `uk-htmleditor-content` | ||
| 83 | ========================================================================== */ | ||
| 84 | .uk-htmleditor-content { | ||
| 85 | border-left: 1px solid #ddd; | ||
| 86 | border-right: 1px solid #ddd; | ||
| 87 | border-bottom: 1px solid #ddd; | ||
| 88 | background: #fff; | ||
| 89 | } | ||
| 90 | /* | ||
| 91 | * Micro clearfix | ||
| 92 | */ | ||
| 93 | .uk-htmleditor-content:before, | ||
| 94 | .uk-htmleditor-content:after { | ||
| 95 | content: ""; | ||
| 96 | display: table; | ||
| 97 | } | ||
| 98 | .uk-htmleditor-content:after { | ||
| 99 | clear: both; | ||
| 100 | } | ||
| 101 | /* Modifier `uk-htmleditor-fullscreen` | ||
| 102 | ========================================================================== */ | ||
| 103 | .uk-htmleditor-fullscreen { | ||
| 104 | position: fixed; | ||
| 105 | top: 0; | ||
| 106 | left: 0; | ||
| 107 | right: 0; | ||
| 108 | bottom: 0; | ||
| 109 | z-index: 990; | ||
| 110 | } | ||
| 111 | .uk-htmleditor-fullscreen .uk-htmleditor-content { | ||
| 112 | position: absolute; | ||
| 113 | top: 40px; | ||
| 114 | left: 0; | ||
| 115 | right: 0; | ||
| 116 | bottom: 0; | ||
| 117 | } | ||
| 118 | .uk-htmleditor-fullscreen .uk-icon-expand:before { | ||
| 119 | content: "\f066"; | ||
| 120 | } | ||
| 121 | /* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` | ||
| 122 | ========================================================================== */ | ||
| 123 | .uk-htmleditor-code, | ||
| 124 | .uk-htmleditor-preview { | ||
| 125 | box-sizing: border-box; | ||
| 126 | } | ||
| 127 | .uk-htmleditor-preview { | ||
| 128 | padding: 20px; | ||
| 129 | overflow-y: scroll; | ||
| 130 | position: relative; | ||
| 131 | } | ||
| 132 | /* | ||
| 133 | * Tab view | ||
| 134 | */ | ||
| 135 | [data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, | ||
| 136 | [data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { | ||
| 137 | display: none; | ||
| 138 | } | ||
| 139 | /* | ||
| 140 | * Split view | ||
| 141 | */ | ||
| 142 | [data-mode='split'] .uk-htmleditor-code, | ||
| 143 | [data-mode='split'] .uk-htmleditor-preview { | ||
| 144 | float: left; | ||
| 145 | width: 50%; | ||
| 146 | } | ||
| 147 | [data-mode='split'] .uk-htmleditor-code { | ||
| 148 | border-right: 1px solid #eee; | ||
| 149 | } | ||
| 150 | /* Sub-object `uk-htmleditor-iframe` | ||
| 151 | ========================================================================== */ | ||
| 152 | .uk-htmleditor-iframe { | ||
| 153 | position: absolute; | ||
| 154 | top: 0; | ||
| 155 | left: 0; | ||
| 156 | width: 100%; | ||
| 157 | height: 100%; | ||
| 158 | } | ||
| 159 | /* CodeMirror modifications | ||
| 160 | ========================================================================== */ | ||
| 161 | .uk-htmleditor .CodeMirror { | ||
| 162 | padding: 10px; | ||
| 163 | box-sizing: border-box; | ||
| 164 | } | ||
| diff --git a/css/components/htmleditor.gradient.css b/css/components/htmleditor.gradient.css new file mode 100755 index 0000000..91e8984 --- /dev/null +++ b/css/components/htmleditor.gradient.css | |||
| @@ -0,0 +1,229 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: HTML editor | ||
| 4 | ========================================================================== */ | ||
| 5 | /* Sub-object `uk-htmleditor-navbar` | ||
| 6 | ========================================================================== */ | ||
| 7 | .uk-htmleditor-navbar { | ||
| 8 | background: #f7f7f7; | ||
| 9 | border: 1px solid rgba(0, 0, 0, 0.1); | ||
| 10 | border-bottom-color: rgba(0, 0, 0, 0.2); | ||
| 11 | border-top-left-radius: 4px; | ||
| 12 | border-top-right-radius: 4px; | ||
| 13 | background-origin: border-box; | ||
| 14 | background-image: -webkit-linear-gradient(top, #fff, #eee); | ||
| 15 | background-image: linear-gradient(to bottom, #fff, #eee); | ||
| 16 | } | ||
| 17 | /* | ||
| 18 | * Micro clearfix | ||
| 19 | */ | ||
| 20 | .uk-htmleditor-navbar:before, | ||
| 21 | .uk-htmleditor-navbar:after { | ||
| 22 | content: ""; | ||
| 23 | display: table; | ||
| 24 | } | ||
| 25 | .uk-htmleditor-navbar:after { | ||
| 26 | clear: both; | ||
| 27 | } | ||
| 28 | /* Sub-object `uk-htmleditor-navbar-nav` | ||
| 29 | ========================================================================== */ | ||
| 30 | .uk-htmleditor-navbar-nav { | ||
| 31 | margin: 0; | ||
| 32 | padding: 0; | ||
| 33 | list-style: none; | ||
| 34 | float: left; | ||
| 35 | } | ||
| 36 | .uk-htmleditor-navbar-nav > li { | ||
| 37 | float: left; | ||
| 38 | } | ||
| 39 | /* | ||
| 40 | * 1. Dimensions | ||
| 41 | * 2. Style | ||
| 42 | */ | ||
| 43 | .uk-htmleditor-navbar-nav > li > a { | ||
| 44 | display: block; | ||
| 45 | box-sizing: border-box; | ||
| 46 | text-decoration: none; | ||
| 47 | /* 1 */ | ||
| 48 | height: 41px; | ||
| 49 | padding: 0 15px; | ||
| 50 | line-height: 40px; | ||
| 51 | /* 2 */ | ||
| 52 | color: #444; | ||
| 53 | font-size: 11px; | ||
| 54 | cursor: pointer; | ||
| 55 | margin-top: -1px; | ||
| 56 | margin-left: -1px; | ||
| 57 | border: 1px solid transparent; | ||
| 58 | border-bottom-width: 0; | ||
| 59 | text-shadow: 0 1px 0 #fff; | ||
| 60 | } | ||
| 61 | /* | ||
| 62 | * Hover | ||
| 63 | * 1. Apply hover style also to focus state | ||
| 64 | * 2. Remove default focus style | ||
| 65 | */ | ||
| 66 | .uk-htmleditor-navbar-nav > li:hover > a, | ||
| 67 | .uk-htmleditor-navbar-nav > li > a:focus { | ||
| 68 | background-color: transparent; | ||
| 69 | color: #444; | ||
| 70 | outline: none; | ||
| 71 | /* 2 */ | ||
| 72 | position: relative; | ||
| 73 | z-index: 1; | ||
| 74 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 75 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 76 | border-top-color: rgba(0, 0, 0, 0.1); | ||
| 77 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 78 | } | ||
| 79 | /* OnClick */ | ||
| 80 | .uk-htmleditor-navbar-nav > li > a:active { | ||
| 81 | background-color: #f5f5f5; | ||
| 82 | color: #444; | ||
| 83 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 84 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 85 | border-top-color: rgba(0, 0, 0, 0.2); | ||
| 86 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 87 | } | ||
| 88 | /* Active */ | ||
| 89 | .uk-htmleditor-navbar-nav > li.uk-active > a { | ||
| 90 | background-color: #fafafa; | ||
| 91 | color: #444; | ||
| 92 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 93 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 94 | border-top-color: rgba(0, 0, 0, 0.2); | ||
| 95 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 96 | } | ||
| 97 | /* Sub-object: `uk-htmleditor-navbar-flip` | ||
| 98 | ========================================================================== */ | ||
| 99 | .uk-htmleditor-navbar-flip { | ||
| 100 | float: right; | ||
| 101 | } | ||
| 102 | /* Sub-object for special buttons | ||
| 103 | ========================================================================== */ | ||
| 104 | [data-mode='split'] .uk-htmleditor-button-code, | ||
| 105 | [data-mode='split'] .uk-htmleditor-button-preview { | ||
| 106 | display: none; | ||
| 107 | } | ||
| 108 | /* Sub-object `uk-htmleditor-content` | ||
| 109 | ========================================================================== */ | ||
| 110 | .uk-htmleditor-content { | ||
| 111 | border-left: 1px solid #ddd; | ||
| 112 | border-right: 1px solid #ddd; | ||
| 113 | border-bottom: 1px solid #ddd; | ||
| 114 | background: #fff; | ||
| 115 | border-bottom-left-radius: 4px; | ||
| 116 | border-bottom-right-radius: 4px; | ||
| 117 | } | ||
| 118 | /* | ||
| 119 | * Micro clearfix | ||
| 120 | */ | ||
| 121 | .uk-htmleditor-content:before, | ||
| 122 | .uk-htmleditor-content:after { | ||
| 123 | content: ""; | ||
| 124 | display: table; | ||
| 125 | } | ||
| 126 | .uk-htmleditor-content:after { | ||
| 127 | clear: both; | ||
| 128 | } | ||
| 129 | /* Modifier `uk-htmleditor-fullscreen` | ||
| 130 | ========================================================================== */ | ||
| 131 | .uk-htmleditor-fullscreen { | ||
| 132 | position: fixed; | ||
| 133 | top: 0; | ||
| 134 | left: 0; | ||
| 135 | right: 0; | ||
| 136 | bottom: 0; | ||
| 137 | z-index: 990; | ||
| 138 | } | ||
| 139 | .uk-htmleditor-fullscreen .uk-htmleditor-content { | ||
| 140 | position: absolute; | ||
| 141 | top: 41px; | ||
| 142 | left: 0; | ||
| 143 | right: 0; | ||
| 144 | bottom: 0; | ||
| 145 | } | ||
| 146 | .uk-htmleditor-fullscreen .uk-icon-expand:before { | ||
| 147 | content: "\f066"; | ||
| 148 | } | ||
| 149 | /* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview` | ||
| 150 | ========================================================================== */ | ||
| 151 | .uk-htmleditor-code, | ||
| 152 | .uk-htmleditor-preview { | ||
| 153 | box-sizing: border-box; | ||
| 154 | } | ||
| 155 | .uk-htmleditor-preview { | ||
| 156 | padding: 20px; | ||
| 157 | overflow-y: scroll; | ||
| 158 | position: relative; | ||
| 159 | } | ||
| 160 | /* | ||
| 161 | * Tab view | ||
| 162 | */ | ||
| 163 | [data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview, | ||
| 164 | [data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { | ||
| 165 | display: none; | ||
| 166 | } | ||
| 167 | /* | ||
| 168 | * Split view | ||
| 169 | */ | ||
| 170 | [data-mode='split'] .uk-htmleditor-code, | ||
| 171 | [data-mode='split'] .uk-htmleditor-preview { | ||
| 172 | float: left; | ||
| 173 | width: 50%; | ||
| 174 | } | ||
| 175 | [data-mode='split'] .uk-htmleditor-code { | ||
| 176 | border-right: 1px solid #eee; | ||
| 177 | } | ||
| 178 | /* Sub-object `uk-htmleditor-iframe` | ||
| 179 | ========================================================================== */ | ||
| 180 | .uk-htmleditor-iframe { | ||
| 181 | position: absolute; | ||
| 182 | top: 0; | ||
| 183 | left: 0; | ||
| 184 | width: 100%; | ||
| 185 | height: 100%; | ||
| 186 | } | ||
| 187 | /* CodeMirror modifications | ||
| 188 | ========================================================================== */ | ||
| 189 | .uk-htmleditor .CodeMirror { | ||
| 190 | padding: 10px; | ||
| 191 | box-sizing: border-box; | ||
| 192 | } | ||
| 193 | /* | ||
| 194 | * Apply same `border-radius` as `uk-htmleditor-navbar` | ||
| 195 | */ | ||
| 196 | .uk-htmleditor-navbar-nav:first-child > li:first-child > a { | ||
| 197 | border-top-left-radius: 4px; | ||
| 198 | } | ||
| 199 | /* | ||
| 200 | * Sub-modifier `uk-htmleditor-navbar-flip` | ||
| 201 | */ | ||
| 202 | /* Collapse border */ | ||
| 203 | .uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav > li > a { | ||
| 204 | margin-left: 0; | ||
| 205 | margin-right: -1px; | ||
| 206 | } | ||
| 207 | /* Apply same `border-radius` as `uk-htmleditor-navbar` */ | ||
| 208 | .uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child > li:first-child > a { | ||
| 209 | border-top-left-radius: 0; | ||
| 210 | } | ||
| 211 | .uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child > li:last-child > a { | ||
| 212 | border-top-right-radius: 4px; | ||
| 213 | } | ||
| 214 | /* | ||
| 215 | * Sub-modifier `uk-htmleditor-fullscreen` | ||
| 216 | */ | ||
| 217 | .uk-htmleditor-fullscreen .uk-htmleditor-navbar { | ||
| 218 | border-top: none; | ||
| 219 | border-left: none; | ||
| 220 | border-right: none; | ||
| 221 | border-radius: 0; | ||
| 222 | } | ||
| 223 | .uk-htmleditor-fullscreen .uk-htmleditor-content { | ||
| 224 | border: none; | ||
| 225 | border-radius: 0; | ||
| 226 | } | ||
| 227 | .uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav > li > a { | ||
| 228 | border-radius: 0 !important; | ||
| 229 | } | ||
| diff --git a/css/components/htmleditor.gradient.min.css b/css/components/htmleditor.gradient.min.css new file mode 100755 index 0000000..cff230e --- /dev/null +++ b/css/components/htmleditor.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-htmleditor-navbar{background:#f7f7f7;border:1px solid rgba(0,0,0,.1);border-bottom-color:rgba(0,0,0,.2);border-top-left-radius:4px;border-top-right-radius:4px;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee)}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:transparent;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li>a:active{background-color:#f5f5f5;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:41px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;box-sizing:border-box}.uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0}.uk-htmleditor-navbar-flip .uk-htmleditor-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px}.uk-htmleditor-fullscreen .uk-htmleditor-navbar{border-top:none;border-left:none;border-right:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-content{border:none;border-radius:0}.uk-htmleditor-fullscreen .uk-htmleditor-navbar-nav>li>a{border-radius:0!important} \ No newline at end of file | ||
| diff --git a/css/components/htmleditor.min.css b/css/components/htmleditor.min.css new file mode 100755 index 0000000..a05aa0b --- /dev/null +++ b/css/components/htmleditor.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-htmleditor-navbar{background:#eee}.uk-htmleditor-navbar:after,.uk-htmleditor-navbar:before{content:"";display:table}.uk-htmleditor-navbar:after{clear:both}.uk-htmleditor-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-htmleditor-navbar-nav>li{float:left}.uk-htmleditor-navbar-nav>li>a{display:block;box-sizing:border-box;text-decoration:none;height:40px;padding:0 15px;line-height:40px;color:#444;font-size:11px;cursor:pointer}.uk-htmleditor-navbar-nav>li:hover>a,.uk-htmleditor-navbar-nav>li>a:focus{background-color:#f5f5f5;color:#444;outline:0}.uk-htmleditor-navbar-nav>li>a:active{background-color:#ddd;color:#444}.uk-htmleditor-navbar-nav>li.uk-active>a{background-color:#f5f5f5;color:#444}.uk-htmleditor-navbar-flip{float:right}[data-mode=split] .uk-htmleditor-button-code,[data-mode=split] .uk-htmleditor-button-preview{display:none}.uk-htmleditor-content{border-left:1px solid #ddd;border-right:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff}.uk-htmleditor-content:after,.uk-htmleditor-content:before{content:"";display:table}.uk-htmleditor-content:after{clear:both}.uk-htmleditor-fullscreen{position:fixed;top:0;left:0;right:0;bottom:0;z-index:990}.uk-htmleditor-fullscreen .uk-htmleditor-content{position:absolute;top:40px;left:0;right:0;bottom:0}.uk-htmleditor-fullscreen .uk-icon-expand:before{content:"\f066"}.uk-htmleditor-code,.uk-htmleditor-preview{box-sizing:border-box}.uk-htmleditor-preview{padding:20px;overflow-y:scroll;position:relative}[data-mode=tab][data-active-tab=code] .uk-htmleditor-preview,[data-mode=tab][data-active-tab=preview] .uk-htmleditor-code{display:none}[data-mode=split] .uk-htmleditor-code,[data-mode=split] .uk-htmleditor-preview{float:left;width:50%}[data-mode=split] .uk-htmleditor-code{border-right:1px solid #eee}.uk-htmleditor-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.uk-htmleditor .CodeMirror{padding:10px;box-sizing:border-box} \ No newline at end of file | ||
| diff --git a/css/components/nestable.almost-flat.css b/css/components/nestable.almost-flat.css new file mode 100755 index 0000000..05e4a9c --- /dev/null +++ b/css/components/nestable.almost-flat.css | |||
| @@ -0,0 +1,139 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Nestable | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-nestable { | ||
| 6 | padding: 0; | ||
| 7 | list-style: none; | ||
| 8 | } | ||
| 9 | /* | ||
| 10 | * Disables the default callout shown when you touch and hold a touch target | ||
| 11 | * Currently only works in Webkit | ||
| 12 | */ | ||
| 13 | .uk-nestable a, | ||
| 14 | .uk-nestable img { | ||
| 15 | -webkit-touch-callout: none; | ||
| 16 | } | ||
| 17 | /* Sub-object `uk-nestable-list` | ||
| 18 | ========================================================================== */ | ||
| 19 | .uk-nestable-list { | ||
| 20 | margin: 0; | ||
| 21 | padding-left: 40px; | ||
| 22 | list-style: none; | ||
| 23 | } | ||
| 24 | /* Sub-modifier `uk-nestable-item` | ||
| 25 | ========================================================================== */ | ||
| 26 | /* | ||
| 27 | * 1. Deactivate browser touch actions in IE11 | ||
| 28 | */ | ||
| 29 | .uk-nestable-item { | ||
| 30 | /* 1 */ | ||
| 31 | touch-action: none; | ||
| 32 | } | ||
| 33 | .uk-nestable-item + .uk-nestable-item { | ||
| 34 | margin-top: 10px; | ||
| 35 | } | ||
| 36 | .uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { | ||
| 37 | margin-top: 10px; | ||
| 38 | } | ||
| 39 | /* Sub-modifier `uk-nestable-dragged` | ||
| 40 | ========================================================================== */ | ||
| 41 | /* | ||
| 42 | * 1. Reset style | ||
| 43 | */ | ||
| 44 | .uk-nestable-dragged { | ||
| 45 | position: absolute; | ||
| 46 | z-index: 1050; | ||
| 47 | pointer-events: none; | ||
| 48 | /* 1 */ | ||
| 49 | padding-left: 0; | ||
| 50 | } | ||
| 51 | /* Sub-modifier `uk-nestable-placeholder` | ||
| 52 | ========================================================================== */ | ||
| 53 | .uk-nestable-placeholder { | ||
| 54 | position: relative; | ||
| 55 | } | ||
| 56 | .uk-nestable-placeholder > * { | ||
| 57 | opacity: 0; | ||
| 58 | } | ||
| 59 | .uk-nestable-placeholder:after { | ||
| 60 | content: ''; | ||
| 61 | position: absolute; | ||
| 62 | top: 0; | ||
| 63 | bottom: 0; | ||
| 64 | left: 0; | ||
| 65 | right: 0; | ||
| 66 | border: 1px dashed #ddd; | ||
| 67 | opacity: 1; | ||
| 68 | } | ||
| 69 | /* Empty List | ||
| 70 | ========================================================================== */ | ||
| 71 | .uk-nestable-empty { | ||
| 72 | min-height: 30px; | ||
| 73 | } | ||
| 74 | /* Sub-object `uk-nestable-handle` | ||
| 75 | ========================================================================== */ | ||
| 76 | /* | ||
| 77 | * Deactivate browser touch actions in IE11 | ||
| 78 | */ | ||
| 79 | .uk-nestable-handle { | ||
| 80 | touch-action: none; | ||
| 81 | } | ||
| 82 | /* Hover */ | ||
| 83 | .uk-nestable-handle:hover { | ||
| 84 | cursor: move; | ||
| 85 | } | ||
| 86 | /* Sub-object `uk-nestable-moving` | ||
| 87 | ========================================================================== */ | ||
| 88 | .uk-nestable-moving, | ||
| 89 | .uk-nestable-moving * { | ||
| 90 | cursor: move; | ||
| 91 | } | ||
| 92 | /* Fixes dragging items over iframes */ | ||
| 93 | .uk-nestable-moving iframe { | ||
| 94 | pointer-events: none; | ||
| 95 | } | ||
| 96 | /* [data-nestable-action='toggle'] | ||
| 97 | ========================================================================== */ | ||
| 98 | /* | ||
| 99 | * 1. Makes text unselectable. Happens if double clicked by mistake | ||
| 100 | */ | ||
| 101 | [data-nestable-action='toggle'] { | ||
| 102 | cursor: pointer; | ||
| 103 | /* 1 */ | ||
| 104 | -moz-user-select: none; | ||
| 105 | -webkit-user-select: none; | ||
| 106 | -ms-user-select: none; | ||
| 107 | user-select: none; | ||
| 108 | } | ||
| 109 | /* Sub-object `.uk-nestable-toggle` | ||
| 110 | ========================================================================== */ | ||
| 111 | .uk-nestable-toggle { | ||
| 112 | display: inline-block; | ||
| 113 | visibility: hidden; | ||
| 114 | } | ||
| 115 | .uk-nestable-toggle:after { | ||
| 116 | content: "\f147"; | ||
| 117 | font-family: FontAwesome; | ||
| 118 | } | ||
| 119 | .uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { | ||
| 120 | visibility: visible; | ||
| 121 | } | ||
| 122 | /* | ||
| 123 | * Collapsed | ||
| 124 | */ | ||
| 125 | .uk-collapsed .uk-nestable-list { | ||
| 126 | display: none; | ||
| 127 | } | ||
| 128 | .uk-collapsed .uk-nestable-toggle:after { | ||
| 129 | content: "\f196"; | ||
| 130 | } | ||
| 131 | /* Sub-object `uk-nestable-panel` | ||
| 132 | ========================================================================== */ | ||
| 133 | .uk-nestable-panel { | ||
| 134 | padding: 5px; | ||
| 135 | background: #f5f5f5; | ||
| 136 | border-radius: 4px; | ||
| 137 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 138 | text-shadow: 0 1px 0 #fff; | ||
| 139 | } | ||
| diff --git a/css/components/nestable.almost-flat.min.css b/css/components/nestable.almost-flat.min.css new file mode 100755 index 0000000..5f5d86f --- /dev/null +++ b/css/components/nestable.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable-empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}.uk-nestable-moving iframe{pointer-events:none}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f5f5f5;border-radius:4px;border:1px solid rgba(0,0,0,.06);text-shadow:0 1px 0 #fff} \ No newline at end of file | ||
| diff --git a/css/components/nestable.css b/css/components/nestable.css new file mode 100755 index 0000000..946dfa6 --- /dev/null +++ b/css/components/nestable.css | |||
| @@ -0,0 +1,136 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Nestable | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-nestable { | ||
| 6 | padding: 0; | ||
| 7 | list-style: none; | ||
| 8 | } | ||
| 9 | /* | ||
| 10 | * Disables the default callout shown when you touch and hold a touch target | ||
| 11 | * Currently only works in Webkit | ||
| 12 | */ | ||
| 13 | .uk-nestable a, | ||
| 14 | .uk-nestable img { | ||
| 15 | -webkit-touch-callout: none; | ||
| 16 | } | ||
| 17 | /* Sub-object `uk-nestable-list` | ||
| 18 | ========================================================================== */ | ||
| 19 | .uk-nestable-list { | ||
| 20 | margin: 0; | ||
| 21 | padding-left: 40px; | ||
| 22 | list-style: none; | ||
| 23 | } | ||
| 24 | /* Sub-modifier `uk-nestable-item` | ||
| 25 | ========================================================================== */ | ||
| 26 | /* | ||
| 27 | * 1. Deactivate browser touch actions in IE11 | ||
| 28 | */ | ||
| 29 | .uk-nestable-item { | ||
| 30 | /* 1 */ | ||
| 31 | touch-action: none; | ||
| 32 | } | ||
| 33 | .uk-nestable-item + .uk-nestable-item { | ||
| 34 | margin-top: 10px; | ||
| 35 | } | ||
| 36 | .uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { | ||
| 37 | margin-top: 10px; | ||
| 38 | } | ||
| 39 | /* Sub-modifier `uk-nestable-dragged` | ||
| 40 | ========================================================================== */ | ||
| 41 | /* | ||
| 42 | * 1. Reset style | ||
| 43 | */ | ||
| 44 | .uk-nestable-dragged { | ||
| 45 | position: absolute; | ||
| 46 | z-index: 1050; | ||
| 47 | pointer-events: none; | ||
| 48 | /* 1 */ | ||
| 49 | padding-left: 0; | ||
| 50 | } | ||
| 51 | /* Sub-modifier `uk-nestable-placeholder` | ||
| 52 | ========================================================================== */ | ||
| 53 | .uk-nestable-placeholder { | ||
| 54 | position: relative; | ||
| 55 | } | ||
| 56 | .uk-nestable-placeholder > * { | ||
| 57 | opacity: 0; | ||
| 58 | } | ||
| 59 | .uk-nestable-placeholder:after { | ||
| 60 | content: ''; | ||
| 61 | position: absolute; | ||
| 62 | top: 0; | ||
| 63 | bottom: 0; | ||
| 64 | left: 0; | ||
| 65 | right: 0; | ||
| 66 | border: 1px dashed #ddd; | ||
| 67 | opacity: 1; | ||
| 68 | } | ||
| 69 | /* Empty List | ||
| 70 | ========================================================================== */ | ||
| 71 | .uk-nestable-empty { | ||
| 72 | min-height: 30px; | ||
| 73 | } | ||
| 74 | /* Sub-object `uk-nestable-handle` | ||
| 75 | ========================================================================== */ | ||
| 76 | /* | ||
| 77 | * Deactivate browser touch actions in IE11 | ||
| 78 | */ | ||
| 79 | .uk-nestable-handle { | ||
| 80 | touch-action: none; | ||
| 81 | } | ||
| 82 | /* Hover */ | ||
| 83 | .uk-nestable-handle:hover { | ||
| 84 | cursor: move; | ||
| 85 | } | ||
| 86 | /* Sub-object `uk-nestable-moving` | ||
| 87 | ========================================================================== */ | ||
| 88 | .uk-nestable-moving, | ||
| 89 | .uk-nestable-moving * { | ||
| 90 | cursor: move; | ||
| 91 | } | ||
| 92 | /* Fixes dragging items over iframes */ | ||
| 93 | .uk-nestable-moving iframe { | ||
| 94 | pointer-events: none; | ||
| 95 | } | ||
| 96 | /* [data-nestable-action='toggle'] | ||
| 97 | ========================================================================== */ | ||
| 98 | /* | ||
| 99 | * 1. Makes text unselectable. Happens if double clicked by mistake | ||
| 100 | */ | ||
| 101 | [data-nestable-action='toggle'] { | ||
| 102 | cursor: pointer; | ||
| 103 | /* 1 */ | ||
| 104 | -moz-user-select: none; | ||
| 105 | -webkit-user-select: none; | ||
| 106 | -ms-user-select: none; | ||
| 107 | user-select: none; | ||
| 108 | } | ||
| 109 | /* Sub-object `.uk-nestable-toggle` | ||
| 110 | ========================================================================== */ | ||
| 111 | .uk-nestable-toggle { | ||
| 112 | display: inline-block; | ||
| 113 | visibility: hidden; | ||
| 114 | } | ||
| 115 | .uk-nestable-toggle:after { | ||
| 116 | content: "\f147"; | ||
| 117 | font-family: FontAwesome; | ||
| 118 | } | ||
| 119 | .uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { | ||
| 120 | visibility: visible; | ||
| 121 | } | ||
| 122 | /* | ||
| 123 | * Collapsed | ||
| 124 | */ | ||
| 125 | .uk-collapsed .uk-nestable-list { | ||
| 126 | display: none; | ||
| 127 | } | ||
| 128 | .uk-collapsed .uk-nestable-toggle:after { | ||
| 129 | content: "\f196"; | ||
| 130 | } | ||
| 131 | /* Sub-object `uk-nestable-panel` | ||
| 132 | ========================================================================== */ | ||
| 133 | .uk-nestable-panel { | ||
| 134 | padding: 5px; | ||
| 135 | background: #f5f5f5; | ||
| 136 | } | ||
| diff --git a/css/components/nestable.gradient.css b/css/components/nestable.gradient.css new file mode 100755 index 0000000..23e3ae3 --- /dev/null +++ b/css/components/nestable.gradient.css | |||
| @@ -0,0 +1,143 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Nestable | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-nestable { | ||
| 6 | padding: 0; | ||
| 7 | list-style: none; | ||
| 8 | } | ||
| 9 | /* | ||
| 10 | * Disables the default callout shown when you touch and hold a touch target | ||
| 11 | * Currently only works in Webkit | ||
| 12 | */ | ||
| 13 | .uk-nestable a, | ||
| 14 | .uk-nestable img { | ||
| 15 | -webkit-touch-callout: none; | ||
| 16 | } | ||
| 17 | /* Sub-object `uk-nestable-list` | ||
| 18 | ========================================================================== */ | ||
| 19 | .uk-nestable-list { | ||
| 20 | margin: 0; | ||
| 21 | padding-left: 40px; | ||
| 22 | list-style: none; | ||
| 23 | } | ||
| 24 | /* Sub-modifier `uk-nestable-item` | ||
| 25 | ========================================================================== */ | ||
| 26 | /* | ||
| 27 | * 1. Deactivate browser touch actions in IE11 | ||
| 28 | */ | ||
| 29 | .uk-nestable-item { | ||
| 30 | /* 1 */ | ||
| 31 | touch-action: none; | ||
| 32 | } | ||
| 33 | .uk-nestable-item + .uk-nestable-item { | ||
| 34 | margin-top: 10px; | ||
| 35 | } | ||
| 36 | .uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { | ||
| 37 | margin-top: 10px; | ||
| 38 | } | ||
| 39 | /* Sub-modifier `uk-nestable-dragged` | ||
| 40 | ========================================================================== */ | ||
| 41 | /* | ||
| 42 | * 1. Reset style | ||
| 43 | */ | ||
| 44 | .uk-nestable-dragged { | ||
| 45 | position: absolute; | ||
| 46 | z-index: 1050; | ||
| 47 | pointer-events: none; | ||
| 48 | /* 1 */ | ||
| 49 | padding-left: 0; | ||
| 50 | } | ||
| 51 | /* Sub-modifier `uk-nestable-placeholder` | ||
| 52 | ========================================================================== */ | ||
| 53 | .uk-nestable-placeholder { | ||
| 54 | position: relative; | ||
| 55 | } | ||
| 56 | .uk-nestable-placeholder > * { | ||
| 57 | opacity: 0; | ||
| 58 | } | ||
| 59 | .uk-nestable-placeholder:after { | ||
| 60 | content: ''; | ||
| 61 | position: absolute; | ||
| 62 | top: 0; | ||
| 63 | bottom: 0; | ||
| 64 | left: 0; | ||
| 65 | right: 0; | ||
| 66 | border: 1px dashed #ddd; | ||
| 67 | opacity: 1; | ||
| 68 | } | ||
| 69 | /* Empty List | ||
| 70 | ========================================================================== */ | ||
| 71 | .uk-nestable-empty { | ||
| 72 | min-height: 30px; | ||
| 73 | } | ||
| 74 | /* Sub-object `uk-nestable-handle` | ||
| 75 | ========================================================================== */ | ||
| 76 | /* | ||
| 77 | * Deactivate browser touch actions in IE11 | ||
| 78 | */ | ||
| 79 | .uk-nestable-handle { | ||
| 80 | touch-action: none; | ||
| 81 | } | ||
| 82 | /* Hover */ | ||
| 83 | .uk-nestable-handle:hover { | ||
| 84 | cursor: move; | ||
| 85 | } | ||
| 86 | /* Sub-object `uk-nestable-moving` | ||
| 87 | ========================================================================== */ | ||
| 88 | .uk-nestable-moving, | ||
| 89 | .uk-nestable-moving * { | ||
| 90 | cursor: move; | ||
| 91 | } | ||
| 92 | /* Fixes dragging items over iframes */ | ||
| 93 | .uk-nestable-moving iframe { | ||
| 94 | pointer-events: none; | ||
| 95 | } | ||
| 96 | /* [data-nestable-action='toggle'] | ||
| 97 | ========================================================================== */ | ||
| 98 | /* | ||
| 99 | * 1. Makes text unselectable. Happens if double clicked by mistake | ||
| 100 | */ | ||
| 101 | [data-nestable-action='toggle'] { | ||
| 102 | cursor: pointer; | ||
| 103 | /* 1 */ | ||
| 104 | -moz-user-select: none; | ||
| 105 | -webkit-user-select: none; | ||
| 106 | -ms-user-select: none; | ||
| 107 | user-select: none; | ||
| 108 | } | ||
| 109 | /* Sub-object `.uk-nestable-toggle` | ||
| 110 | ========================================================================== */ | ||
| 111 | .uk-nestable-toggle { | ||
| 112 | display: inline-block; | ||
| 113 | visibility: hidden; | ||
| 114 | } | ||
| 115 | .uk-nestable-toggle:after { | ||
| 116 | content: "\f147"; | ||
| 117 | font-family: FontAwesome; | ||
| 118 | } | ||
| 119 | .uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { | ||
| 120 | visibility: visible; | ||
| 121 | } | ||
| 122 | /* | ||
| 123 | * Collapsed | ||
| 124 | */ | ||
| 125 | .uk-collapsed .uk-nestable-list { | ||
| 126 | display: none; | ||
| 127 | } | ||
| 128 | .uk-collapsed .uk-nestable-toggle:after { | ||
| 129 | content: "\f196"; | ||
| 130 | } | ||
| 131 | /* Sub-object `uk-nestable-panel` | ||
| 132 | ========================================================================== */ | ||
| 133 | .uk-nestable-panel { | ||
| 134 | padding: 5px; | ||
| 135 | background: #f7f7f7; | ||
| 136 | border-radius: 4px; | ||
| 137 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 138 | border-bottom-color: rgba(0, 0, 0, 0.3); | ||
| 139 | background-origin: border-box; | ||
| 140 | background-image: -webkit-linear-gradient(top, #fff, #eee); | ||
| 141 | background-image: linear-gradient(to bottom, #fff, #eee); | ||
| 142 | text-shadow: 0 1px 0 #fff; | ||
| 143 | } | ||
| diff --git a/css/components/nestable.gradient.min.css b/css/components/nestable.gradient.min.css new file mode 100755 index 0000000..a2d1de1 --- /dev/null +++ b/css/components/nestable.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable-empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}.uk-nestable-moving iframe{pointer-events:none}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f7f7f7;border-radius:4px;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff} \ No newline at end of file | ||
| diff --git a/css/components/nestable.min.css b/css/components/nestable.min.css new file mode 100755 index 0000000..7481250 --- /dev/null +++ b/css/components/nestable.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-nestable{padding:0;list-style:none}.uk-nestable a,.uk-nestable img{-webkit-touch-callout:none}.uk-nestable-list{margin:0;padding-left:40px;list-style:none}.uk-nestable-item{touch-action:none}.uk-nestable-item+.uk-nestable-item{margin-top:10px}.uk-nestable-list:not(.uk-nestable-dragged)>.uk-nestable-item:first-child{margin-top:10px}.uk-nestable-dragged{position:absolute;z-index:1050;pointer-events:none;padding-left:0}.uk-nestable-placeholder{position:relative}.uk-nestable-placeholder>*{opacity:0}.uk-nestable-placeholder:after{content:'';position:absolute;top:0;bottom:0;left:0;right:0;border:1px dashed #ddd;opacity:1}.uk-nestable-empty{min-height:30px}.uk-nestable-handle{touch-action:none}.uk-nestable-handle:hover{cursor:move}.uk-nestable-moving,.uk-nestable-moving *{cursor:move}.uk-nestable-moving iframe{pointer-events:none}[data-nestable-action=toggle]{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-nestable-toggle{display:inline-block;visibility:hidden}.uk-nestable-toggle:after{content:"\f147";font-family:FontAwesome}.uk-parent>:not(.uk-nestable-list) .uk-nestable-toggle{visibility:visible}.uk-collapsed .uk-nestable-list{display:none}.uk-collapsed .uk-nestable-toggle:after{content:"\f196"}.uk-nestable-panel{padding:5px;background:#f5f5f5} \ No newline at end of file | ||
| diff --git a/css/components/notify.almost-flat.css b/css/components/notify.almost-flat.css new file mode 100755 index 0000000..479006c --- /dev/null +++ b/css/components/notify.almost-flat.css | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Notify | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * Message container for positioning | ||
| 7 | */ | ||
| 8 | .uk-notify { | ||
| 9 | position: fixed; | ||
| 10 | top: 10px; | ||
| 11 | left: 10px; | ||
| 12 | z-index: 1040; | ||
| 13 | box-sizing: border-box; | ||
| 14 | width: 350px; | ||
| 15 | } | ||
| 16 | /* Position modifiers | ||
| 17 | ========================================================================== */ | ||
| 18 | .uk-notify-top-right, | ||
| 19 | .uk-notify-bottom-right { | ||
| 20 | left: auto; | ||
| 21 | right: 10px; | ||
| 22 | } | ||
| 23 | .uk-notify-top-center, | ||
| 24 | .uk-notify-bottom-center { | ||
| 25 | left: 50%; | ||
| 26 | margin-left: -175px; | ||
| 27 | } | ||
| 28 | .uk-notify-bottom-left, | ||
| 29 | .uk-notify-bottom-right, | ||
| 30 | .uk-notify-bottom-center { | ||
| 31 | top: auto; | ||
| 32 | bottom: 10px; | ||
| 33 | } | ||
| 34 | /* Responsiveness | ||
| 35 | ========================================================================== */ | ||
| 36 | /* Phones portrait and smaller */ | ||
| 37 | @media (max-width: 479px) { | ||
| 38 | /* | ||
| 39 | * Fit in small screen | ||
| 40 | */ | ||
| 41 | .uk-notify { | ||
| 42 | left: 10px; | ||
| 43 | right: 10px; | ||
| 44 | width: auto; | ||
| 45 | margin: 0; | ||
| 46 | } | ||
| 47 | } | ||
| 48 | /* Sub-object: `uk-notify-message` | ||
| 49 | ========================================================================== */ | ||
| 50 | .uk-notify-message { | ||
| 51 | position: relative; | ||
| 52 | margin-bottom: 10px; | ||
| 53 | padding: 15px; | ||
| 54 | background: #444; | ||
| 55 | color: #fff; | ||
| 56 | font-size: 16px; | ||
| 57 | line-height: 22px; | ||
| 58 | cursor: pointer; | ||
| 59 | border: 1px solid #444; | ||
| 60 | border-radius: 4px; | ||
| 61 | } | ||
| 62 | /* Close in notify | ||
| 63 | ========================================================================== */ | ||
| 64 | .uk-notify-message > .uk-close { | ||
| 65 | visibility: hidden; | ||
| 66 | float: right; | ||
| 67 | } | ||
| 68 | .uk-notify-message:hover > .uk-close { | ||
| 69 | visibility: visible; | ||
| 70 | } | ||
| 71 | /* Modifier: `uk-alert-info` | ||
| 72 | ========================================================================== */ | ||
| 73 | .uk-notify-message-primary { | ||
| 74 | background: #ebf7fd; | ||
| 75 | color: #2d7091; | ||
| 76 | border-color: rgba(45, 112, 145, 0.3); | ||
| 77 | } | ||
| 78 | /* Modifier: `uk-alert-success` | ||
| 79 | ========================================================================== */ | ||
| 80 | .uk-notify-message-success { | ||
| 81 | background: #f2fae3; | ||
| 82 | color: #659f13; | ||
| 83 | border-color: rgba(101, 159, 19, 0.3); | ||
| 84 | } | ||
| 85 | /* Modifier: `uk-notify-message-warning` | ||
| 86 | ========================================================================== */ | ||
| 87 | .uk-notify-message-warning { | ||
| 88 | background: #fffceb; | ||
| 89 | color: #e28327; | ||
| 90 | border-color: rgba(226, 131, 39, 0.3); | ||
| 91 | } | ||
| 92 | /* Modifier: `uk-notify-message-danger` | ||
| 93 | ========================================================================== */ | ||
| 94 | .uk-notify-message-danger { | ||
| 95 | background: #fff1f0; | ||
| 96 | color: #d85030; | ||
| 97 | border-color: rgba(216, 80, 48, 0.3); | ||
| 98 | } | ||
| diff --git a/css/components/notify.almost-flat.min.css b/css/components/notify.almost-flat.min.css new file mode 100755 index 0000000..da501f5 --- /dev/null +++ b/css/components/notify.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-notify{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} \ No newline at end of file | ||
| diff --git a/css/components/notify.css b/css/components/notify.css new file mode 100755 index 0000000..37e87d8 --- /dev/null +++ b/css/components/notify.css | |||
| @@ -0,0 +1,92 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Notify | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * Message container for positioning | ||
| 7 | */ | ||
| 8 | .uk-notify { | ||
| 9 | position: fixed; | ||
| 10 | top: 10px; | ||
| 11 | left: 10px; | ||
| 12 | z-index: 1040; | ||
| 13 | box-sizing: border-box; | ||
| 14 | width: 350px; | ||
| 15 | } | ||
| 16 | /* Position modifiers | ||
| 17 | ========================================================================== */ | ||
| 18 | .uk-notify-top-right, | ||
| 19 | .uk-notify-bottom-right { | ||
| 20 | left: auto; | ||
| 21 | right: 10px; | ||
| 22 | } | ||
| 23 | .uk-notify-top-center, | ||
| 24 | .uk-notify-bottom-center { | ||
| 25 | left: 50%; | ||
| 26 | margin-left: -175px; | ||
| 27 | } | ||
| 28 | .uk-notify-bottom-left, | ||
| 29 | .uk-notify-bottom-right, | ||
| 30 | .uk-notify-bottom-center { | ||
| 31 | top: auto; | ||
| 32 | bottom: 10px; | ||
| 33 | } | ||
| 34 | /* Responsiveness | ||
| 35 | ========================================================================== */ | ||
| 36 | /* Phones portrait and smaller */ | ||
| 37 | @media (max-width: 479px) { | ||
| 38 | /* | ||
| 39 | * Fit in small screen | ||
| 40 | */ | ||
| 41 | .uk-notify { | ||
| 42 | left: 10px; | ||
| 43 | right: 10px; | ||
| 44 | width: auto; | ||
| 45 | margin: 0; | ||
| 46 | } | ||
| 47 | } | ||
| 48 | /* Sub-object: `uk-notify-message` | ||
| 49 | ========================================================================== */ | ||
| 50 | .uk-notify-message { | ||
| 51 | position: relative; | ||
| 52 | margin-bottom: 10px; | ||
| 53 | padding: 15px; | ||
| 54 | background: #444; | ||
| 55 | color: #fff; | ||
| 56 | font-size: 16px; | ||
| 57 | line-height: 22px; | ||
| 58 | cursor: pointer; | ||
| 59 | } | ||
| 60 | /* Close in notify | ||
| 61 | ========================================================================== */ | ||
| 62 | .uk-notify-message > .uk-close { | ||
| 63 | visibility: hidden; | ||
| 64 | float: right; | ||
| 65 | } | ||
| 66 | .uk-notify-message:hover > .uk-close { | ||
| 67 | visibility: visible; | ||
| 68 | } | ||
| 69 | /* Modifier: `uk-alert-info` | ||
| 70 | ========================================================================== */ | ||
| 71 | .uk-notify-message-primary { | ||
| 72 | background: #ebf7fd; | ||
| 73 | color: #2d7091; | ||
| 74 | } | ||
| 75 | /* Modifier: `uk-alert-success` | ||
| 76 | ========================================================================== */ | ||
| 77 | .uk-notify-message-success { | ||
| 78 | background: #f2fae3; | ||
| 79 | color: #659f13; | ||
| 80 | } | ||
| 81 | /* Modifier: `uk-notify-message-warning` | ||
| 82 | ========================================================================== */ | ||
| 83 | .uk-notify-message-warning { | ||
| 84 | background: #fffceb; | ||
| 85 | color: #e28327; | ||
| 86 | } | ||
| 87 | /* Modifier: `uk-notify-message-danger` | ||
| 88 | ========================================================================== */ | ||
| 89 | .uk-notify-message-danger { | ||
| 90 | background: #fff1f0; | ||
| 91 | color: #d85030; | ||
| 92 | } | ||
| diff --git a/css/components/notify.gradient.css b/css/components/notify.gradient.css new file mode 100755 index 0000000..479006c --- /dev/null +++ b/css/components/notify.gradient.css | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Notify | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * Message container for positioning | ||
| 7 | */ | ||
| 8 | .uk-notify { | ||
| 9 | position: fixed; | ||
| 10 | top: 10px; | ||
| 11 | left: 10px; | ||
| 12 | z-index: 1040; | ||
| 13 | box-sizing: border-box; | ||
| 14 | width: 350px; | ||
| 15 | } | ||
| 16 | /* Position modifiers | ||
| 17 | ========================================================================== */ | ||
| 18 | .uk-notify-top-right, | ||
| 19 | .uk-notify-bottom-right { | ||
| 20 | left: auto; | ||
| 21 | right: 10px; | ||
| 22 | } | ||
| 23 | .uk-notify-top-center, | ||
| 24 | .uk-notify-bottom-center { | ||
| 25 | left: 50%; | ||
| 26 | margin-left: -175px; | ||
| 27 | } | ||
| 28 | .uk-notify-bottom-left, | ||
| 29 | .uk-notify-bottom-right, | ||
| 30 | .uk-notify-bottom-center { | ||
| 31 | top: auto; | ||
| 32 | bottom: 10px; | ||
| 33 | } | ||
| 34 | /* Responsiveness | ||
| 35 | ========================================================================== */ | ||
| 36 | /* Phones portrait and smaller */ | ||
| 37 | @media (max-width: 479px) { | ||
| 38 | /* | ||
| 39 | * Fit in small screen | ||
| 40 | */ | ||
| 41 | .uk-notify { | ||
| 42 | left: 10px; | ||
| 43 | right: 10px; | ||
| 44 | width: auto; | ||
| 45 | margin: 0; | ||
| 46 | } | ||
| 47 | } | ||
| 48 | /* Sub-object: `uk-notify-message` | ||
| 49 | ========================================================================== */ | ||
| 50 | .uk-notify-message { | ||
| 51 | position: relative; | ||
| 52 | margin-bottom: 10px; | ||
| 53 | padding: 15px; | ||
| 54 | background: #444; | ||
| 55 | color: #fff; | ||
| 56 | font-size: 16px; | ||
| 57 | line-height: 22px; | ||
| 58 | cursor: pointer; | ||
| 59 | border: 1px solid #444; | ||
| 60 | border-radius: 4px; | ||
| 61 | } | ||
| 62 | /* Close in notify | ||
| 63 | ========================================================================== */ | ||
| 64 | .uk-notify-message > .uk-close { | ||
| 65 | visibility: hidden; | ||
| 66 | float: right; | ||
| 67 | } | ||
| 68 | .uk-notify-message:hover > .uk-close { | ||
| 69 | visibility: visible; | ||
| 70 | } | ||
| 71 | /* Modifier: `uk-alert-info` | ||
| 72 | ========================================================================== */ | ||
| 73 | .uk-notify-message-primary { | ||
| 74 | background: #ebf7fd; | ||
| 75 | color: #2d7091; | ||
| 76 | border-color: rgba(45, 112, 145, 0.3); | ||
| 77 | } | ||
| 78 | /* Modifier: `uk-alert-success` | ||
| 79 | ========================================================================== */ | ||
| 80 | .uk-notify-message-success { | ||
| 81 | background: #f2fae3; | ||
| 82 | color: #659f13; | ||
| 83 | border-color: rgba(101, 159, 19, 0.3); | ||
| 84 | } | ||
| 85 | /* Modifier: `uk-notify-message-warning` | ||
| 86 | ========================================================================== */ | ||
| 87 | .uk-notify-message-warning { | ||
| 88 | background: #fffceb; | ||
| 89 | color: #e28327; | ||
| 90 | border-color: rgba(226, 131, 39, 0.3); | ||
| 91 | } | ||
| 92 | /* Modifier: `uk-notify-message-danger` | ||
| 93 | ========================================================================== */ | ||
| 94 | .uk-notify-message-danger { | ||
| 95 | background: #fff1f0; | ||
| 96 | color: #d85030; | ||
| 97 | border-color: rgba(216, 80, 48, 0.3); | ||
| 98 | } | ||
| diff --git a/css/components/notify.gradient.min.css b/css/components/notify.gradient.min.css new file mode 100755 index 0000000..da501f5 --- /dev/null +++ b/css/components/notify.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-notify{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer;border:1px solid #444;border-radius:4px}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-notify-message-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-notify-message-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-notify-message-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)} \ No newline at end of file | ||
| diff --git a/css/components/notify.min.css b/css/components/notify.min.css new file mode 100755 index 0000000..b83abfa --- /dev/null +++ b/css/components/notify.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-notify{position:fixed;top:10px;left:10px;z-index:1040;box-sizing:border-box;width:350px}.uk-notify-bottom-right,.uk-notify-top-right{left:auto;right:10px}.uk-notify-bottom-center,.uk-notify-top-center{left:50%;margin-left:-175px}.uk-notify-bottom-center,.uk-notify-bottom-left,.uk-notify-bottom-right{top:auto;bottom:10px}@media (max-width:479px){.uk-notify{left:10px;right:10px;width:auto;margin:0}}.uk-notify-message{position:relative;margin-bottom:10px;padding:15px;background:#444;color:#fff;font-size:16px;line-height:22px;cursor:pointer}.uk-notify-message>.uk-close{visibility:hidden;float:right}.uk-notify-message:hover>.uk-close{visibility:visible}.uk-notify-message-primary{background:#ebf7fd;color:#2d7091}.uk-notify-message-success{background:#f2fae3;color:#659f13}.uk-notify-message-warning{background:#fffceb;color:#e28327}.uk-notify-message-danger{background:#fff1f0;color:#d85030} \ No newline at end of file | ||
| diff --git a/css/components/placeholder.almost-flat.css b/css/components/placeholder.almost-flat.css new file mode 100755 index 0000000..c53fcd2 --- /dev/null +++ b/css/components/placeholder.almost-flat.css | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Placeholder | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-placeholder { | ||
| 6 | margin-bottom: 15px; | ||
| 7 | padding: 15px; | ||
| 8 | border: 1px dashed #ddd; | ||
| 9 | background: #fafafa; | ||
| 10 | color: #444; | ||
| 11 | } | ||
| 12 | /* | ||
| 13 | * Add margin if adjacent element | ||
| 14 | */ | ||
| 15 | * + .uk-placeholder { | ||
| 16 | margin-top: 15px; | ||
| 17 | } | ||
| 18 | /* | ||
| 19 | * Remove margin from the last-child | ||
| 20 | */ | ||
| 21 | .uk-placeholder > :last-child { | ||
| 22 | margin-bottom: 0; | ||
| 23 | } | ||
| 24 | /* Modifier: `uk-placeholder-large` | ||
| 25 | ========================================================================== */ | ||
| 26 | .uk-placeholder-large { | ||
| 27 | padding-top: 80px; | ||
| 28 | padding-bottom: 80px; | ||
| 29 | } | ||
| diff --git a/css/components/placeholder.almost-flat.min.css b/css/components/placeholder.almost-flat.min.css new file mode 100755 index 0000000..898ade7 --- /dev/null +++ b/css/components/placeholder.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-placeholder{margin-bottom:15px;padding:15px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file | ||
| diff --git a/css/components/placeholder.css b/css/components/placeholder.css new file mode 100755 index 0000000..c53fcd2 --- /dev/null +++ b/css/components/placeholder.css | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Placeholder | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-placeholder { | ||
| 6 | margin-bottom: 15px; | ||
| 7 | padding: 15px; | ||
| 8 | border: 1px dashed #ddd; | ||
| 9 | background: #fafafa; | ||
| 10 | color: #444; | ||
| 11 | } | ||
| 12 | /* | ||
| 13 | * Add margin if adjacent element | ||
| 14 | */ | ||
| 15 | * + .uk-placeholder { | ||
| 16 | margin-top: 15px; | ||
| 17 | } | ||
| 18 | /* | ||
| 19 | * Remove margin from the last-child | ||
| 20 | */ | ||
| 21 | .uk-placeholder > :last-child { | ||
| 22 | margin-bottom: 0; | ||
| 23 | } | ||
| 24 | /* Modifier: `uk-placeholder-large` | ||
| 25 | ========================================================================== */ | ||
| 26 | .uk-placeholder-large { | ||
| 27 | padding-top: 80px; | ||
| 28 | padding-bottom: 80px; | ||
| 29 | } | ||
| diff --git a/css/components/placeholder.gradient.css b/css/components/placeholder.gradient.css new file mode 100755 index 0000000..c53fcd2 --- /dev/null +++ b/css/components/placeholder.gradient.css | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Placeholder | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-placeholder { | ||
| 6 | margin-bottom: 15px; | ||
| 7 | padding: 15px; | ||
| 8 | border: 1px dashed #ddd; | ||
| 9 | background: #fafafa; | ||
| 10 | color: #444; | ||
| 11 | } | ||
| 12 | /* | ||
| 13 | * Add margin if adjacent element | ||
| 14 | */ | ||
| 15 | * + .uk-placeholder { | ||
| 16 | margin-top: 15px; | ||
| 17 | } | ||
| 18 | /* | ||
| 19 | * Remove margin from the last-child | ||
| 20 | */ | ||
| 21 | .uk-placeholder > :last-child { | ||
| 22 | margin-bottom: 0; | ||
| 23 | } | ||
| 24 | /* Modifier: `uk-placeholder-large` | ||
| 25 | ========================================================================== */ | ||
| 26 | .uk-placeholder-large { | ||
| 27 | padding-top: 80px; | ||
| 28 | padding-bottom: 80px; | ||
| 29 | } | ||
| diff --git a/css/components/placeholder.gradient.min.css b/css/components/placeholder.gradient.min.css new file mode 100755 index 0000000..898ade7 --- /dev/null +++ b/css/components/placeholder.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-placeholder{margin-bottom:15px;padding:15px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file | ||
| diff --git a/css/components/placeholder.min.css b/css/components/placeholder.min.css new file mode 100755 index 0000000..898ade7 --- /dev/null +++ b/css/components/placeholder.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-placeholder{margin-bottom:15px;padding:15px;border:1px dashed #ddd;background:#fafafa;color:#444}*+.uk-placeholder{margin-top:15px}.uk-placeholder>:last-child{margin-bottom:0}.uk-placeholder-large{padding-top:80px;padding-bottom:80px} \ No newline at end of file | ||
| diff --git a/css/components/progress.almost-flat.css b/css/components/progress.almost-flat.css new file mode 100755 index 0000000..cb501e8 --- /dev/null +++ b/css/components/progress.almost-flat.css | |||
| @@ -0,0 +1,104 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Progress | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Clearing | ||
| 7 | * 2. Vertical alignment if text is used | ||
| 8 | */ | ||
| 9 | .uk-progress { | ||
| 10 | box-sizing: border-box; | ||
| 11 | height: 20px; | ||
| 12 | margin-bottom: 15px; | ||
| 13 | background: #f5f5f5; | ||
| 14 | /* 1 */ | ||
| 15 | overflow: hidden; | ||
| 16 | /* 2 */ | ||
| 17 | line-height: 20px; | ||
| 18 | box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); | ||
| 19 | border-radius: 4px; | ||
| 20 | } | ||
| 21 | /* | ||
| 22 | * Add margin if adjacent element | ||
| 23 | */ | ||
| 24 | * + .uk-progress { | ||
| 25 | margin-top: 15px; | ||
| 26 | } | ||
| 27 | /* Sub-object: `uk-progress-bar` | ||
| 28 | ========================================================================== */ | ||
| 29 | /* | ||
| 30 | * 1. Transition | ||
| 31 | * 2. Needed for text | ||
| 32 | */ | ||
| 33 | .uk-progress-bar { | ||
| 34 | width: 0; | ||
| 35 | height: 100%; | ||
| 36 | background: #00a8e6; | ||
| 37 | float: left; | ||
| 38 | /* 1 */ | ||
| 39 | -webkit-transition: width 0.6s ease; | ||
| 40 | transition: width 0.6s ease; | ||
| 41 | /* 2 */ | ||
| 42 | font-size: 12px; | ||
| 43 | color: #fff; | ||
| 44 | text-align: center; | ||
| 45 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 46 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 47 | } | ||
| 48 | /* Size modifiers | ||
| 49 | ========================================================================== */ | ||
| 50 | /* Mini */ | ||
| 51 | .uk-progress-mini { | ||
| 52 | height: 6px; | ||
| 53 | } | ||
| 54 | /* Small */ | ||
| 55 | .uk-progress-small { | ||
| 56 | height: 12px; | ||
| 57 | } | ||
| 58 | /* Color modifiers | ||
| 59 | ========================================================================== */ | ||
| 60 | .uk-progress-success .uk-progress-bar { | ||
| 61 | background-color: #8cc14c; | ||
| 62 | } | ||
| 63 | .uk-progress-warning .uk-progress-bar { | ||
| 64 | background-color: #faa732; | ||
| 65 | } | ||
| 66 | .uk-progress-danger .uk-progress-bar { | ||
| 67 | background-color: #da314b; | ||
| 68 | } | ||
| 69 | /* Modifier: `uk-progress-striped` | ||
| 70 | ========================================================================== */ | ||
| 71 | .uk-progress-striped .uk-progress-bar { | ||
| 72 | background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 73 | background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 74 | background-size: 30px 30px; | ||
| 75 | } | ||
| 76 | /* | ||
| 77 | * Animation | ||
| 78 | */ | ||
| 79 | .uk-progress-striped.uk-active .uk-progress-bar { | ||
| 80 | -webkit-animation: uk-progress-bar-stripes 2s linear infinite; | ||
| 81 | animation: uk-progress-bar-stripes 2s linear infinite; | ||
| 82 | } | ||
| 83 | @-webkit-keyframes uk-progress-bar-stripes { | ||
| 84 | 0% { | ||
| 85 | background-position: 0 0; | ||
| 86 | } | ||
| 87 | 100% { | ||
| 88 | background-position: 30px 0; | ||
| 89 | } | ||
| 90 | } | ||
| 91 | @keyframes uk-progress-bar-stripes { | ||
| 92 | 0% { | ||
| 93 | background-position: 0 0; | ||
| 94 | } | ||
| 95 | 100% { | ||
| 96 | background-position: 30px 0; | ||
| 97 | } | ||
| 98 | } | ||
| 99 | /* Size modifiers | ||
| 100 | ========================================================================== */ | ||
| 101 | .uk-progress-mini, | ||
| 102 | .uk-progress-small { | ||
| 103 | border-radius: 500px; | ||
| 104 | } | ||
| diff --git a/css/components/progress.almost-flat.min.css b/css/components/progress.almost-flat.min.css new file mode 100755 index 0000000..77f64e5 --- /dev/null +++ b/css/components/progress.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-progress{box-sizing:border-box;height:20px;margin-bottom:15px;background:#f5f5f5;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} \ No newline at end of file | ||
| diff --git a/css/components/progress.css b/css/components/progress.css new file mode 100755 index 0000000..e89f8c8 --- /dev/null +++ b/css/components/progress.css | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Progress | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Clearing | ||
| 7 | * 2. Vertical alignment if text is used | ||
| 8 | */ | ||
| 9 | .uk-progress { | ||
| 10 | box-sizing: border-box; | ||
| 11 | height: 20px; | ||
| 12 | margin-bottom: 15px; | ||
| 13 | background: #eee; | ||
| 14 | /* 1 */ | ||
| 15 | overflow: hidden; | ||
| 16 | /* 2 */ | ||
| 17 | line-height: 20px; | ||
| 18 | } | ||
| 19 | /* | ||
| 20 | * Add margin if adjacent element | ||
| 21 | */ | ||
| 22 | * + .uk-progress { | ||
| 23 | margin-top: 15px; | ||
| 24 | } | ||
| 25 | /* Sub-object: `uk-progress-bar` | ||
| 26 | ========================================================================== */ | ||
| 27 | /* | ||
| 28 | * 1. Transition | ||
| 29 | * 2. Needed for text | ||
| 30 | */ | ||
| 31 | .uk-progress-bar { | ||
| 32 | width: 0; | ||
| 33 | height: 100%; | ||
| 34 | background: #00a8e6; | ||
| 35 | float: left; | ||
| 36 | /* 1 */ | ||
| 37 | -webkit-transition: width 0.6s ease; | ||
| 38 | transition: width 0.6s ease; | ||
| 39 | /* 2 */ | ||
| 40 | font-size: 12px; | ||
| 41 | color: #fff; | ||
| 42 | text-align: center; | ||
| 43 | } | ||
| 44 | /* Size modifiers | ||
| 45 | ========================================================================== */ | ||
| 46 | /* Mini */ | ||
| 47 | .uk-progress-mini { | ||
| 48 | height: 6px; | ||
| 49 | } | ||
| 50 | /* Small */ | ||
| 51 | .uk-progress-small { | ||
| 52 | height: 12px; | ||
| 53 | } | ||
| 54 | /* Color modifiers | ||
| 55 | ========================================================================== */ | ||
| 56 | .uk-progress-success .uk-progress-bar { | ||
| 57 | background-color: #8cc14c; | ||
| 58 | } | ||
| 59 | .uk-progress-warning .uk-progress-bar { | ||
| 60 | background-color: #faa732; | ||
| 61 | } | ||
| 62 | .uk-progress-danger .uk-progress-bar { | ||
| 63 | background-color: #da314b; | ||
| 64 | } | ||
| 65 | /* Modifier: `uk-progress-striped` | ||
| 66 | ========================================================================== */ | ||
| 67 | .uk-progress-striped .uk-progress-bar { | ||
| 68 | background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 69 | background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 70 | background-size: 30px 30px; | ||
| 71 | } | ||
| 72 | /* | ||
| 73 | * Animation | ||
| 74 | */ | ||
| 75 | .uk-progress-striped.uk-active .uk-progress-bar { | ||
| 76 | -webkit-animation: uk-progress-bar-stripes 2s linear infinite; | ||
| 77 | animation: uk-progress-bar-stripes 2s linear infinite; | ||
| 78 | } | ||
| 79 | @-webkit-keyframes uk-progress-bar-stripes { | ||
| 80 | 0% { | ||
| 81 | background-position: 0 0; | ||
| 82 | } | ||
| 83 | 100% { | ||
| 84 | background-position: 30px 0; | ||
| 85 | } | ||
| 86 | } | ||
| 87 | @keyframes uk-progress-bar-stripes { | ||
| 88 | 0% { | ||
| 89 | background-position: 0 0; | ||
| 90 | } | ||
| 91 | 100% { | ||
| 92 | background-position: 30px 0; | ||
| 93 | } | ||
| 94 | } | ||
| diff --git a/css/components/progress.gradient.css b/css/components/progress.gradient.css new file mode 100755 index 0000000..c56ebc9 --- /dev/null +++ b/css/components/progress.gradient.css | |||
| @@ -0,0 +1,112 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Progress | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Clearing | ||
| 7 | * 2. Vertical alignment if text is used | ||
| 8 | */ | ||
| 9 | .uk-progress { | ||
| 10 | box-sizing: border-box; | ||
| 11 | height: 20px; | ||
| 12 | margin-bottom: 15px; | ||
| 13 | background: #f7f7f7; | ||
| 14 | /* 1 */ | ||
| 15 | overflow: hidden; | ||
| 16 | /* 2 */ | ||
| 17 | line-height: 20px; | ||
| 18 | box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07), inset 0 2px 2px rgba(0, 0, 0, 0.07); | ||
| 19 | border-radius: 4px; | ||
| 20 | } | ||
| 21 | /* | ||
| 22 | * Add margin if adjacent element | ||
| 23 | */ | ||
| 24 | * + .uk-progress { | ||
| 25 | margin-top: 15px; | ||
| 26 | } | ||
| 27 | /* Sub-object: `uk-progress-bar` | ||
| 28 | ========================================================================== */ | ||
| 29 | /* | ||
| 30 | * 1. Transition | ||
| 31 | * 2. Needed for text | ||
| 32 | */ | ||
| 33 | .uk-progress-bar { | ||
| 34 | width: 0; | ||
| 35 | height: 100%; | ||
| 36 | background: #009dd8; | ||
| 37 | float: left; | ||
| 38 | /* 1 */ | ||
| 39 | -webkit-transition: width 0.6s ease; | ||
| 40 | transition: width 0.6s ease; | ||
| 41 | /* 2 */ | ||
| 42 | font-size: 12px; | ||
| 43 | color: #fff; | ||
| 44 | text-align: center; | ||
| 45 | background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); | ||
| 46 | background-image: linear-gradient(to bottom, #00b4f5, #008dc5); | ||
| 47 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 0, 0, 0.1); | ||
| 48 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 49 | } | ||
| 50 | /* Size modifiers | ||
| 51 | ========================================================================== */ | ||
| 52 | /* Mini */ | ||
| 53 | .uk-progress-mini { | ||
| 54 | height: 6px; | ||
| 55 | } | ||
| 56 | /* Small */ | ||
| 57 | .uk-progress-small { | ||
| 58 | height: 12px; | ||
| 59 | } | ||
| 60 | /* Color modifiers | ||
| 61 | ========================================================================== */ | ||
| 62 | .uk-progress-success .uk-progress-bar { | ||
| 63 | background-color: #82bb42; | ||
| 64 | background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); | ||
| 65 | background-image: linear-gradient(to bottom, #9fd256, #6fac34); | ||
| 66 | } | ||
| 67 | .uk-progress-warning .uk-progress-bar { | ||
| 68 | background-color: #f9a124; | ||
| 69 | background-image: -webkit-linear-gradient(top, #fbb450, #f89406); | ||
| 70 | background-image: linear-gradient(to bottom, #fbb450, #f89406); | ||
| 71 | } | ||
| 72 | .uk-progress-danger .uk-progress-bar { | ||
| 73 | background-color: #d32c46; | ||
| 74 | background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); | ||
| 75 | background-image: linear-gradient(to bottom, #ee465a, #c11a39); | ||
| 76 | } | ||
| 77 | /* Modifier: `uk-progress-striped` | ||
| 78 | ========================================================================== */ | ||
| 79 | .uk-progress-striped .uk-progress-bar { | ||
| 80 | background-image: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 81 | background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); | ||
| 82 | background-size: 30px 30px; | ||
| 83 | } | ||
| 84 | /* | ||
| 85 | * Animation | ||
| 86 | */ | ||
| 87 | .uk-progress-striped.uk-active .uk-progress-bar { | ||
| 88 | -webkit-animation: uk-progress-bar-stripes 2s linear infinite; | ||
| 89 | animation: uk-progress-bar-stripes 2s linear infinite; | ||
| 90 | } | ||
| 91 | @-webkit-keyframes uk-progress-bar-stripes { | ||
| 92 | 0% { | ||
| 93 | background-position: 0 0; | ||
| 94 | } | ||
| 95 | 100% { | ||
| 96 | background-position: 30px 0; | ||
| 97 | } | ||
| 98 | } | ||
| 99 | @keyframes uk-progress-bar-stripes { | ||
| 100 | 0% { | ||
| 101 | background-position: 0 0; | ||
| 102 | } | ||
| 103 | 100% { | ||
| 104 | background-position: 30px 0; | ||
| 105 | } | ||
| 106 | } | ||
| 107 | /* Size modifiers | ||
| 108 | ========================================================================== */ | ||
| 109 | .uk-progress-mini, | ||
| 110 | .uk-progress-small { | ||
| 111 | border-radius: 500px; | ||
| 112 | } | ||
| diff --git a/css/components/progress.gradient.min.css b/css/components/progress.gradient.min.css new file mode 100755 index 0000000..f78d415 --- /dev/null +++ b/css/components/progress.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-progress{box-sizing:border-box;height:20px;margin-bottom:15px;background:#f7f7f7;overflow:hidden;line-height:20px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07),inset 0 2px 2px rgba(0,0,0,.07);border-radius:4px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#009dd8;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);box-shadow:inset 0 -1px 0 rgba(0,0,0,.2),inset 0 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-progress-warning .uk-progress-bar{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-progress-danger .uk-progress-bar{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}.uk-progress-mini,.uk-progress-small{border-radius:500px} \ No newline at end of file | ||
| diff --git a/css/components/progress.min.css b/css/components/progress.min.css new file mode 100755 index 0000000..0300bca --- /dev/null +++ b/css/components/progress.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-progress{box-sizing:border-box;height:20px;margin-bottom:15px;background:#eee;overflow:hidden;line-height:20px}*+.uk-progress{margin-top:15px}.uk-progress-bar{width:0;height:100%;background:#00a8e6;float:left;-webkit-transition:width .6s ease;transition:width .6s ease;font-size:12px;color:#fff;text-align:center}.uk-progress-mini{height:6px}.uk-progress-small{height:12px}.uk-progress-success .uk-progress-bar{background-color:#8cc14c}.uk-progress-warning .uk-progress-bar{background-color:#faa732}.uk-progress-danger .uk-progress-bar{background-color:#da314b}.uk-progress-striped .uk-progress-bar{background-image:-webkit-linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(-45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:30px 30px}.uk-progress-striped.uk-active .uk-progress-bar{-webkit-animation:uk-progress-bar-stripes 2s linear infinite;animation:uk-progress-bar-stripes 2s linear infinite}@-webkit-keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}}@keyframes uk-progress-bar-stripes{0%{background-position:0 0}100%{background-position:30px 0}} \ No newline at end of file | ||
| diff --git a/css/components/search.almost-flat.css b/css/components/search.almost-flat.css new file mode 100755 index 0000000..3650ba7 --- /dev/null +++ b/css/components/search.almost-flat.css | |||
| @@ -0,0 +1,191 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Search | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Create position context for dropdowns | ||
| 7 | * 2. Needed for `form` element | ||
| 8 | */ | ||
| 9 | .uk-search { | ||
| 10 | display: inline-block; | ||
| 11 | /* 1 */ | ||
| 12 | position: relative; | ||
| 13 | /* 2 */ | ||
| 14 | margin: 0; | ||
| 15 | } | ||
| 16 | /* | ||
| 17 | * Icon | ||
| 18 | */ | ||
| 19 | .uk-search:before { | ||
| 20 | content: "\f002"; | ||
| 21 | position: absolute; | ||
| 22 | top: 0; | ||
| 23 | left: 0; | ||
| 24 | width: 30px; | ||
| 25 | line-height: 30px; | ||
| 26 | text-align: center; | ||
| 27 | font-family: FontAwesome; | ||
| 28 | font-size: 14px; | ||
| 29 | color: rgba(0, 0, 0, 0.2); | ||
| 30 | } | ||
| 31 | /* Sub-object `uk-search-field` | ||
| 32 | ========================================================================== */ | ||
| 33 | /* | ||
| 34 | * Removes inner padding and border in Firefox 4+. | ||
| 35 | */ | ||
| 36 | .uk-search-field::-moz-focus-inner { | ||
| 37 | border: 0; | ||
| 38 | padding: 0; | ||
| 39 | } | ||
| 40 | /* | ||
| 41 | * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. | ||
| 42 | */ | ||
| 43 | .uk-search-field::-webkit-search-cancel-button, | ||
| 44 | .uk-search-field::-webkit-search-decoration { | ||
| 45 | -webkit-appearance: none; | ||
| 46 | } | ||
| 47 | /* | ||
| 48 | * Removes cancel button in IE10 | ||
| 49 | */ | ||
| 50 | .uk-search-field::-ms-clear { | ||
| 51 | display: none; | ||
| 52 | } | ||
| 53 | /* | ||
| 54 | * Removes placeholder transparency in Firefox. | ||
| 55 | */ | ||
| 56 | .uk-search-field::-moz-placeholder { | ||
| 57 | opacity: 1; | ||
| 58 | } | ||
| 59 | /* | ||
| 60 | * 1. Define consistent box sizing. | ||
| 61 | * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. | ||
| 62 | * 3. Remove `border-radius` in iOS. | ||
| 63 | * 4. Correct `font` properties and `color` not being inherited. | ||
| 64 | * 5. Remove default style in iOS. | ||
| 65 | * 6. Style | ||
| 66 | */ | ||
| 67 | .uk-search-field { | ||
| 68 | /* 1 */ | ||
| 69 | box-sizing: border-box; | ||
| 70 | /* 2 */ | ||
| 71 | margin: 0; | ||
| 72 | /* 3 */ | ||
| 73 | border-radius: 0; | ||
| 74 | /* 4 */ | ||
| 75 | font: inherit; | ||
| 76 | color: #444; | ||
| 77 | /* 5 */ | ||
| 78 | -webkit-appearance: none; | ||
| 79 | /* 6 */ | ||
| 80 | width: 120px; | ||
| 81 | height: 30px; | ||
| 82 | padding: 0 0 0 30px; | ||
| 83 | border: 1px solid rgba(0, 0, 0, 0); | ||
| 84 | background: rgba(0, 0, 0, 0); | ||
| 85 | -webkit-transition: all 0.2s linear; | ||
| 86 | transition: all 0.2s linear; | ||
| 87 | vertical-align: middle; | ||
| 88 | } | ||
| 89 | /* Placeholder */ | ||
| 90 | .uk-search-field:-ms-input-placeholder { | ||
| 91 | color: #999 !important; | ||
| 92 | } | ||
| 93 | .uk-search-field::-moz-placeholder { | ||
| 94 | color: #999; | ||
| 95 | } | ||
| 96 | .uk-search-field::-webkit-input-placeholder { | ||
| 97 | color: #999; | ||
| 98 | } | ||
| 99 | /* Focus */ | ||
| 100 | .uk-search-field:focus { | ||
| 101 | outline: 0; | ||
| 102 | } | ||
| 103 | /* Focus + Active */ | ||
| 104 | .uk-search-field:focus, | ||
| 105 | .uk-search.uk-active .uk-search-field { | ||
| 106 | width: 180px; | ||
| 107 | } | ||
| 108 | /* Dropdown modifier: `uk-dropdown-search` | ||
| 109 | ========================================================================== */ | ||
| 110 | .uk-dropdown-search { | ||
| 111 | width: 300px; | ||
| 112 | margin-top: 0; | ||
| 113 | background: #fff; | ||
| 114 | color: #444; | ||
| 115 | } | ||
| 116 | .uk-open > .uk-dropdown-search { | ||
| 117 | -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 118 | animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 119 | } | ||
| 120 | /* | ||
| 121 | * Dependency `uk-navbar-flip` | ||
| 122 | */ | ||
| 123 | .uk-navbar-flip .uk-dropdown-search { | ||
| 124 | margin-top: 12px; | ||
| 125 | margin-right: -16px; | ||
| 126 | } | ||
| 127 | /* Nav modifier `uk-nav-search` | ||
| 128 | ========================================================================== */ | ||
| 129 | /* | ||
| 130 | * Items | ||
| 131 | */ | ||
| 132 | .uk-nav-search > li > a { | ||
| 133 | color: #444; | ||
| 134 | } | ||
| 135 | /* | ||
| 136 | * Active | ||
| 137 | * 1. Remove default focus style | ||
| 138 | */ | ||
| 139 | .uk-nav-search > li.uk-active > a { | ||
| 140 | background: #00a8e6; | ||
| 141 | color: #fff; | ||
| 142 | /* 1 */ | ||
| 143 | outline: none; | ||
| 144 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 145 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 146 | } | ||
| 147 | /* | ||
| 148 | * Sub-object: `uk-nav-header` | ||
| 149 | */ | ||
| 150 | .uk-nav-search .uk-nav-header { | ||
| 151 | color: #999; | ||
| 152 | } | ||
| 153 | /* | ||
| 154 | * Sub-object: `uk-nav-divider` | ||
| 155 | */ | ||
| 156 | .uk-nav-search .uk-nav-divider { | ||
| 157 | border-top: 1px solid #ddd; | ||
| 158 | } | ||
| 159 | /* | ||
| 160 | * Nested items | ||
| 161 | */ | ||
| 162 | .uk-nav-search ul a { | ||
| 163 | color: #07D; | ||
| 164 | } | ||
| 165 | .uk-nav-search ul a:hover { | ||
| 166 | color: #059; | ||
| 167 | } | ||
| 168 | /* Search in offcanvas | ||
| 169 | ========================================================================== */ | ||
| 170 | .uk-offcanvas .uk-search { | ||
| 171 | display: block; | ||
| 172 | margin: 20px 15px; | ||
| 173 | } | ||
| 174 | .uk-offcanvas .uk-search:before { | ||
| 175 | color: #777; | ||
| 176 | } | ||
| 177 | .uk-offcanvas .uk-search-field { | ||
| 178 | width: 100%; | ||
| 179 | border-color: rgba(0, 0, 0, 0); | ||
| 180 | background: #1a1a1a; | ||
| 181 | color: #ccc; | ||
| 182 | } | ||
| 183 | .uk-offcanvas .uk-search-field:-ms-input-placeholder { | ||
| 184 | color: #777 !important; | ||
| 185 | } | ||
| 186 | .uk-offcanvas .uk-search-field::-moz-placeholder { | ||
| 187 | color: #777; | ||
| 188 | } | ||
| 189 | .uk-offcanvas .uk-search-field::-webkit-input-placeholder { | ||
| 190 | color: #777; | ||
| 191 | } | ||
| diff --git a/css/components/search.almost-flat.min.css b/css/components/search.almost-flat.min.css new file mode 100755 index 0000000..45a4147 --- /dev/null +++ b/css/components/search.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:rgba(0,0,0,0);-webkit-transition:all .2s linear;transition:all .2s linear;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#fff;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:12px;margin-right:-16px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07D}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file | ||
| diff --git a/css/components/search.css b/css/components/search.css new file mode 100755 index 0000000..3a5c0e4 --- /dev/null +++ b/css/components/search.css | |||
| @@ -0,0 +1,189 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Search | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Create position context for dropdowns | ||
| 7 | * 2. Needed for `form` element | ||
| 8 | */ | ||
| 9 | .uk-search { | ||
| 10 | display: inline-block; | ||
| 11 | /* 1 */ | ||
| 12 | position: relative; | ||
| 13 | /* 2 */ | ||
| 14 | margin: 0; | ||
| 15 | } | ||
| 16 | /* | ||
| 17 | * Icon | ||
| 18 | */ | ||
| 19 | .uk-search:before { | ||
| 20 | content: "\f002"; | ||
| 21 | position: absolute; | ||
| 22 | top: 0; | ||
| 23 | left: 0; | ||
| 24 | width: 30px; | ||
| 25 | line-height: 30px; | ||
| 26 | text-align: center; | ||
| 27 | font-family: FontAwesome; | ||
| 28 | font-size: 14px; | ||
| 29 | color: rgba(0, 0, 0, 0.2); | ||
| 30 | } | ||
| 31 | /* Sub-object `uk-search-field` | ||
| 32 | ========================================================================== */ | ||
| 33 | /* | ||
| 34 | * Removes inner padding and border in Firefox 4+. | ||
| 35 | */ | ||
| 36 | .uk-search-field::-moz-focus-inner { | ||
| 37 | border: 0; | ||
| 38 | padding: 0; | ||
| 39 | } | ||
| 40 | /* | ||
| 41 | * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. | ||
| 42 | */ | ||
| 43 | .uk-search-field::-webkit-search-cancel-button, | ||
| 44 | .uk-search-field::-webkit-search-decoration { | ||
| 45 | -webkit-appearance: none; | ||
| 46 | } | ||
| 47 | /* | ||
| 48 | * Removes cancel button in IE10 | ||
| 49 | */ | ||
| 50 | .uk-search-field::-ms-clear { | ||
| 51 | display: none; | ||
| 52 | } | ||
| 53 | /* | ||
| 54 | * Removes placeholder transparency in Firefox. | ||
| 55 | */ | ||
| 56 | .uk-search-field::-moz-placeholder { | ||
| 57 | opacity: 1; | ||
| 58 | } | ||
| 59 | /* | ||
| 60 | * 1. Define consistent box sizing. | ||
| 61 | * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. | ||
| 62 | * 3. Remove `border-radius` in iOS. | ||
| 63 | * 4. Correct `font` properties and `color` not being inherited. | ||
| 64 | * 5. Remove default style in iOS. | ||
| 65 | * 6. Style | ||
| 66 | */ | ||
| 67 | .uk-search-field { | ||
| 68 | /* 1 */ | ||
| 69 | box-sizing: border-box; | ||
| 70 | /* 2 */ | ||
| 71 | margin: 0; | ||
| 72 | /* 3 */ | ||
| 73 | border-radius: 0; | ||
| 74 | /* 4 */ | ||
| 75 | font: inherit; | ||
| 76 | color: #444; | ||
| 77 | /* 5 */ | ||
| 78 | -webkit-appearance: none; | ||
| 79 | /* 6 */ | ||
| 80 | width: 120px; | ||
| 81 | height: 30px; | ||
| 82 | padding: 0 0 0 30px; | ||
| 83 | border: 1px solid rgba(0, 0, 0, 0); | ||
| 84 | background: rgba(0, 0, 0, 0); | ||
| 85 | -webkit-transition: all 0.2s linear; | ||
| 86 | transition: all 0.2s linear; | ||
| 87 | vertical-align: middle; | ||
| 88 | } | ||
| 89 | /* Placeholder */ | ||
| 90 | .uk-search-field:-ms-input-placeholder { | ||
| 91 | color: #999 !important; | ||
| 92 | } | ||
| 93 | .uk-search-field::-moz-placeholder { | ||
| 94 | color: #999; | ||
| 95 | } | ||
| 96 | .uk-search-field::-webkit-input-placeholder { | ||
| 97 | color: #999; | ||
| 98 | } | ||
| 99 | /* Focus */ | ||
| 100 | .uk-search-field:focus { | ||
| 101 | outline: 0; | ||
| 102 | } | ||
| 103 | /* Focus + Active */ | ||
| 104 | .uk-search-field:focus, | ||
| 105 | .uk-search.uk-active .uk-search-field { | ||
| 106 | width: 180px; | ||
| 107 | } | ||
| 108 | /* Dropdown modifier: `uk-dropdown-search` | ||
| 109 | ========================================================================== */ | ||
| 110 | .uk-dropdown-search { | ||
| 111 | width: 300px; | ||
| 112 | margin-top: 0; | ||
| 113 | background: #f5f5f5; | ||
| 114 | color: #444; | ||
| 115 | } | ||
| 116 | .uk-open > .uk-dropdown-search { | ||
| 117 | -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 118 | animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 119 | } | ||
| 120 | /* | ||
| 121 | * Dependency `uk-navbar-flip` | ||
| 122 | */ | ||
| 123 | .uk-navbar-flip .uk-dropdown-search { | ||
| 124 | margin-top: 5px; | ||
| 125 | margin-right: -15px; | ||
| 126 | } | ||
| 127 | /* Nav modifier `uk-nav-search` | ||
| 128 | ========================================================================== */ | ||
| 129 | /* | ||
| 130 | * Items | ||
| 131 | */ | ||
| 132 | .uk-nav-search > li > a { | ||
| 133 | color: #444; | ||
| 134 | } | ||
| 135 | /* | ||
| 136 | * Active | ||
| 137 | * 1. Remove default focus style | ||
| 138 | */ | ||
| 139 | .uk-nav-search > li.uk-active > a { | ||
| 140 | background: #00a8e6; | ||
| 141 | color: #fff; | ||
| 142 | /* 1 */ | ||
| 143 | outline: none; | ||
| 144 | } | ||
| 145 | /* | ||
| 146 | * Sub-object: `uk-nav-header` | ||
| 147 | */ | ||
| 148 | .uk-nav-search .uk-nav-header { | ||
| 149 | color: #999; | ||
| 150 | } | ||
| 151 | /* | ||
| 152 | * Sub-object: `uk-nav-divider` | ||
| 153 | */ | ||
| 154 | .uk-nav-search .uk-nav-divider { | ||
| 155 | border-top: 1px solid #ddd; | ||
| 156 | } | ||
| 157 | /* | ||
| 158 | * Nested items | ||
| 159 | */ | ||
| 160 | .uk-nav-search ul a { | ||
| 161 | color: #07D; | ||
| 162 | } | ||
| 163 | .uk-nav-search ul a:hover { | ||
| 164 | color: #059; | ||
| 165 | } | ||
| 166 | /* Search in offcanvas | ||
| 167 | ========================================================================== */ | ||
| 168 | .uk-offcanvas .uk-search { | ||
| 169 | display: block; | ||
| 170 | margin: 20px 15px; | ||
| 171 | } | ||
| 172 | .uk-offcanvas .uk-search:before { | ||
| 173 | color: #777; | ||
| 174 | } | ||
| 175 | .uk-offcanvas .uk-search-field { | ||
| 176 | width: 100%; | ||
| 177 | border-color: rgba(0, 0, 0, 0); | ||
| 178 | background: #1a1a1a; | ||
| 179 | color: #ccc; | ||
| 180 | } | ||
| 181 | .uk-offcanvas .uk-search-field:-ms-input-placeholder { | ||
| 182 | color: #777 !important; | ||
| 183 | } | ||
| 184 | .uk-offcanvas .uk-search-field::-moz-placeholder { | ||
| 185 | color: #777; | ||
| 186 | } | ||
| 187 | .uk-offcanvas .uk-search-field::-webkit-input-placeholder { | ||
| 188 | color: #777; | ||
| 189 | } | ||
| diff --git a/css/components/search.gradient.css b/css/components/search.gradient.css new file mode 100755 index 0000000..13768bc --- /dev/null +++ b/css/components/search.gradient.css | |||
| @@ -0,0 +1,191 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Search | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Create position context for dropdowns | ||
| 7 | * 2. Needed for `form` element | ||
| 8 | */ | ||
| 9 | .uk-search { | ||
| 10 | display: inline-block; | ||
| 11 | /* 1 */ | ||
| 12 | position: relative; | ||
| 13 | /* 2 */ | ||
| 14 | margin: 0; | ||
| 15 | } | ||
| 16 | /* | ||
| 17 | * Icon | ||
| 18 | */ | ||
| 19 | .uk-search:before { | ||
| 20 | content: "\f002"; | ||
| 21 | position: absolute; | ||
| 22 | top: 0; | ||
| 23 | left: 0; | ||
| 24 | width: 30px; | ||
| 25 | line-height: 30px; | ||
| 26 | text-align: center; | ||
| 27 | font-family: FontAwesome; | ||
| 28 | font-size: 14px; | ||
| 29 | color: rgba(0, 0, 0, 0.2); | ||
| 30 | } | ||
| 31 | /* Sub-object `uk-search-field` | ||
| 32 | ========================================================================== */ | ||
| 33 | /* | ||
| 34 | * Removes inner padding and border in Firefox 4+. | ||
| 35 | */ | ||
| 36 | .uk-search-field::-moz-focus-inner { | ||
| 37 | border: 0; | ||
| 38 | padding: 0; | ||
| 39 | } | ||
| 40 | /* | ||
| 41 | * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. | ||
| 42 | */ | ||
| 43 | .uk-search-field::-webkit-search-cancel-button, | ||
| 44 | .uk-search-field::-webkit-search-decoration { | ||
| 45 | -webkit-appearance: none; | ||
| 46 | } | ||
| 47 | /* | ||
| 48 | * Removes cancel button in IE10 | ||
| 49 | */ | ||
| 50 | .uk-search-field::-ms-clear { | ||
| 51 | display: none; | ||
| 52 | } | ||
| 53 | /* | ||
| 54 | * Removes placeholder transparency in Firefox. | ||
| 55 | */ | ||
| 56 | .uk-search-field::-moz-placeholder { | ||
| 57 | opacity: 1; | ||
| 58 | } | ||
| 59 | /* | ||
| 60 | * 1. Define consistent box sizing. | ||
| 61 | * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. | ||
| 62 | * 3. Remove `border-radius` in iOS. | ||
| 63 | * 4. Correct `font` properties and `color` not being inherited. | ||
| 64 | * 5. Remove default style in iOS. | ||
| 65 | * 6. Style | ||
| 66 | */ | ||
| 67 | .uk-search-field { | ||
| 68 | /* 1 */ | ||
| 69 | box-sizing: border-box; | ||
| 70 | /* 2 */ | ||
| 71 | margin: 0; | ||
| 72 | /* 3 */ | ||
| 73 | border-radius: 0; | ||
| 74 | /* 4 */ | ||
| 75 | font: inherit; | ||
| 76 | color: #444; | ||
| 77 | /* 5 */ | ||
| 78 | -webkit-appearance: none; | ||
| 79 | /* 6 */ | ||
| 80 | width: 120px; | ||
| 81 | height: 30px; | ||
| 82 | padding: 0 0 0 30px; | ||
| 83 | border: 1px solid rgba(0, 0, 0, 0); | ||
| 84 | background: rgba(0, 0, 0, 0); | ||
| 85 | -webkit-transition: all 0.2s linear; | ||
| 86 | transition: all 0.2s linear; | ||
| 87 | vertical-align: middle; | ||
| 88 | } | ||
| 89 | /* Placeholder */ | ||
| 90 | .uk-search-field:-ms-input-placeholder { | ||
| 91 | color: #999 !important; | ||
| 92 | } | ||
| 93 | .uk-search-field::-moz-placeholder { | ||
| 94 | color: #999; | ||
| 95 | } | ||
| 96 | .uk-search-field::-webkit-input-placeholder { | ||
| 97 | color: #999; | ||
| 98 | } | ||
| 99 | /* Focus */ | ||
| 100 | .uk-search-field:focus { | ||
| 101 | outline: 0; | ||
| 102 | } | ||
| 103 | /* Focus + Active */ | ||
| 104 | .uk-search-field:focus, | ||
| 105 | .uk-search.uk-active .uk-search-field { | ||
| 106 | width: 180px; | ||
| 107 | } | ||
| 108 | /* Dropdown modifier: `uk-dropdown-search` | ||
| 109 | ========================================================================== */ | ||
| 110 | .uk-dropdown-search { | ||
| 111 | width: 300px; | ||
| 112 | margin-top: 0; | ||
| 113 | background: #fff; | ||
| 114 | color: #444; | ||
| 115 | } | ||
| 116 | .uk-open > .uk-dropdown-search { | ||
| 117 | -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 118 | animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 119 | } | ||
| 120 | /* | ||
| 121 | * Dependency `uk-navbar-flip` | ||
| 122 | */ | ||
| 123 | .uk-navbar-flip .uk-dropdown-search { | ||
| 124 | margin-top: 12px; | ||
| 125 | margin-right: -16px; | ||
| 126 | } | ||
| 127 | /* Nav modifier `uk-nav-search` | ||
| 128 | ========================================================================== */ | ||
| 129 | /* | ||
| 130 | * Items | ||
| 131 | */ | ||
| 132 | .uk-nav-search > li > a { | ||
| 133 | color: #444; | ||
| 134 | } | ||
| 135 | /* | ||
| 136 | * Active | ||
| 137 | * 1. Remove default focus style | ||
| 138 | */ | ||
| 139 | .uk-nav-search > li.uk-active > a { | ||
| 140 | background: #009dd8; | ||
| 141 | color: #fff; | ||
| 142 | /* 1 */ | ||
| 143 | outline: none; | ||
| 144 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 145 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 146 | } | ||
| 147 | /* | ||
| 148 | * Sub-object: `uk-nav-header` | ||
| 149 | */ | ||
| 150 | .uk-nav-search .uk-nav-header { | ||
| 151 | color: #999; | ||
| 152 | } | ||
| 153 | /* | ||
| 154 | * Sub-object: `uk-nav-divider` | ||
| 155 | */ | ||
| 156 | .uk-nav-search .uk-nav-divider { | ||
| 157 | border-top: 1px solid #ddd; | ||
| 158 | } | ||
| 159 | /* | ||
| 160 | * Nested items | ||
| 161 | */ | ||
| 162 | .uk-nav-search ul a { | ||
| 163 | color: #07D; | ||
| 164 | } | ||
| 165 | .uk-nav-search ul a:hover { | ||
| 166 | color: #059; | ||
| 167 | } | ||
| 168 | /* Search in offcanvas | ||
| 169 | ========================================================================== */ | ||
| 170 | .uk-offcanvas .uk-search { | ||
| 171 | display: block; | ||
| 172 | margin: 20px 15px; | ||
| 173 | } | ||
| 174 | .uk-offcanvas .uk-search:before { | ||
| 175 | color: #777; | ||
| 176 | } | ||
| 177 | .uk-offcanvas .uk-search-field { | ||
| 178 | width: 100%; | ||
| 179 | border-color: rgba(0, 0, 0, 0); | ||
| 180 | background: #1a1a1a; | ||
| 181 | color: #ccc; | ||
| 182 | } | ||
| 183 | .uk-offcanvas .uk-search-field:-ms-input-placeholder { | ||
| 184 | color: #777 !important; | ||
| 185 | } | ||
| 186 | .uk-offcanvas .uk-search-field::-moz-placeholder { | ||
| 187 | color: #777; | ||
| 188 | } | ||
| 189 | .uk-offcanvas .uk-search-field::-webkit-input-placeholder { | ||
| 190 | color: #777; | ||
| 191 | } | ||
| diff --git a/css/components/search.gradient.min.css b/css/components/search.gradient.min.css new file mode 100755 index 0000000..b58f331 --- /dev/null +++ b/css/components/search.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:rgba(0,0,0,0);-webkit-transition:all .2s linear;transition:all .2s linear;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#fff;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:12px;margin-right:-16px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07D}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file | ||
| diff --git a/css/components/search.min.css b/css/components/search.min.css new file mode 100755 index 0000000..b2e525c --- /dev/null +++ b/css/components/search.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-search{display:inline-block;position:relative;margin:0}.uk-search:before{content:"\f002";position:absolute;top:0;left:0;width:30px;line-height:30px;text-align:center;font-family:FontAwesome;font-size:14px;color:rgba(0,0,0,.2)}.uk-search-field::-moz-focus-inner{border:0;padding:0}.uk-search-field::-webkit-search-cancel-button,.uk-search-field::-webkit-search-decoration{-webkit-appearance:none}.uk-search-field::-ms-clear{display:none}.uk-search-field::-moz-placeholder{opacity:1}.uk-search-field{box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:#444;-webkit-appearance:none;width:120px;height:30px;padding:0 0 0 30px;border:1px solid transparent;background:rgba(0,0,0,0);-webkit-transition:all .2s linear;transition:all .2s linear;vertical-align:middle}.uk-search-field:-ms-input-placeholder{color:#999!important}.uk-search-field::-moz-placeholder{color:#999}.uk-search-field::-webkit-input-placeholder{color:#999}.uk-search-field:focus{outline:0}.uk-search-field:focus,.uk-search.uk-active .uk-search-field{width:180px}.uk-dropdown-search{width:300px;margin-top:0;background:#f5f5f5;color:#444}.uk-open>.uk-dropdown-search{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-navbar-flip .uk-dropdown-search{margin-top:5px;margin-right:-15px}.uk-nav-search>li>a{color:#444}.uk-nav-search>li.uk-active>a{background:#00a8e6;color:#fff;outline:0}.uk-nav-search .uk-nav-header{color:#999}.uk-nav-search .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-search ul a{color:#07D}.uk-nav-search ul a:hover{color:#059}.uk-offcanvas .uk-search{display:block;margin:20px 15px}.uk-offcanvas .uk-search:before{color:#777}.uk-offcanvas .uk-search-field{width:100%;border-color:transparent;background:#1a1a1a;color:#ccc}.uk-offcanvas .uk-search-field:-ms-input-placeholder{color:#777!important}.uk-offcanvas .uk-search-field::-moz-placeholder{color:#777}.uk-offcanvas .uk-search-field::-webkit-input-placeholder{color:#777} \ No newline at end of file | ||
| diff --git a/css/components/slidenav.almost-flat.css b/css/components/slidenav.almost-flat.css new file mode 100755 index 0000000..d856cae --- /dev/null +++ b/css/components/slidenav.almost-flat.css | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slidenav | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Required for `a` elements | ||
| 7 | * 2. Dimension | ||
| 8 | * 3. Style | ||
| 9 | */ | ||
| 10 | .uk-slidenav { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | /* 2 */ | ||
| 14 | box-sizing: border-box; | ||
| 15 | width: 60px; | ||
| 16 | height: 60px; | ||
| 17 | /* 3 */ | ||
| 18 | line-height: 60px; | ||
| 19 | color: rgba(50, 50, 50, 0.4); | ||
| 20 | font-size: 60px; | ||
| 21 | text-align: center; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * Hover | ||
| 25 | * 1. Apply hover style also to focus state | ||
| 26 | * 2. Remove default focus style | ||
| 27 | * 3. Required for `a` elements | ||
| 28 | * 4. Style | ||
| 29 | */ | ||
| 30 | .uk-slidenav:hover, | ||
| 31 | .uk-slidenav:focus { | ||
| 32 | /* 2 */ | ||
| 33 | outline: none; | ||
| 34 | /* 3 */ | ||
| 35 | text-decoration: none; | ||
| 36 | /* 4 */ | ||
| 37 | color: rgba(50, 50, 50, 0.7); | ||
| 38 | cursor: pointer; | ||
| 39 | } | ||
| 40 | /* Active */ | ||
| 41 | .uk-slidenav:active { | ||
| 42 | color: rgba(50, 50, 50, 0.9); | ||
| 43 | } | ||
| 44 | /* | ||
| 45 | * Icons | ||
| 46 | */ | ||
| 47 | .uk-slidenav-previous:before { | ||
| 48 | content: "\f104"; | ||
| 49 | font-family: FontAwesome; | ||
| 50 | } | ||
| 51 | .uk-slidenav-next:before { | ||
| 52 | content: "\f105"; | ||
| 53 | font-family: FontAwesome; | ||
| 54 | } | ||
| 55 | /* Sub-object: `uk-slidenav-position` | ||
| 56 | ========================================================================== */ | ||
| 57 | /* | ||
| 58 | * Create position context | ||
| 59 | */ | ||
| 60 | .uk-slidenav-position { | ||
| 61 | position: relative; | ||
| 62 | } | ||
| 63 | /* | ||
| 64 | * Center vertically | ||
| 65 | */ | ||
| 66 | .uk-slidenav-position .uk-slidenav { | ||
| 67 | display: none; | ||
| 68 | position: absolute; | ||
| 69 | top: 50%; | ||
| 70 | z-index: 1; | ||
| 71 | margin-top: -30px; | ||
| 72 | } | ||
| 73 | .uk-slidenav-position:hover .uk-slidenav { | ||
| 74 | display: block; | ||
| 75 | } | ||
| 76 | .uk-slidenav-position .uk-slidenav-previous { | ||
| 77 | left: 20px; | ||
| 78 | } | ||
| 79 | .uk-slidenav-position .uk-slidenav-next { | ||
| 80 | right: 20px; | ||
| 81 | } | ||
| 82 | /* Modifier: `uk-slidenav-contrast` | ||
| 83 | ========================================================================== */ | ||
| 84 | .uk-slidenav-contrast { | ||
| 85 | color: rgba(255, 255, 255, 0.5); | ||
| 86 | } | ||
| 87 | /* | ||
| 88 | * Hover | ||
| 89 | * 1. Apply hover style also to focus state | ||
| 90 | */ | ||
| 91 | .uk-slidenav-contrast:hover, | ||
| 92 | .uk-slidenav-contrast:focus { | ||
| 93 | color: rgba(255, 255, 255, 0.7); | ||
| 94 | } | ||
| 95 | /* Active */ | ||
| 96 | .uk-slidenav-contrast:active { | ||
| 97 | color: rgba(255, 255, 255, 0.9); | ||
| 98 | } | ||
| diff --git a/css/components/slidenav.almost-flat.min.css b/css/components/slidenav.almost-flat.min.css new file mode 100755 index 0000000..b3b1e2f --- /dev/null +++ b/css/components/slidenav.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-slidenav{display:inline-block;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file | ||
| diff --git a/css/components/slidenav.css b/css/components/slidenav.css new file mode 100755 index 0000000..d856cae --- /dev/null +++ b/css/components/slidenav.css | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slidenav | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Required for `a` elements | ||
| 7 | * 2. Dimension | ||
| 8 | * 3. Style | ||
| 9 | */ | ||
| 10 | .uk-slidenav { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | /* 2 */ | ||
| 14 | box-sizing: border-box; | ||
| 15 | width: 60px; | ||
| 16 | height: 60px; | ||
| 17 | /* 3 */ | ||
| 18 | line-height: 60px; | ||
| 19 | color: rgba(50, 50, 50, 0.4); | ||
| 20 | font-size: 60px; | ||
| 21 | text-align: center; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * Hover | ||
| 25 | * 1. Apply hover style also to focus state | ||
| 26 | * 2. Remove default focus style | ||
| 27 | * 3. Required for `a` elements | ||
| 28 | * 4. Style | ||
| 29 | */ | ||
| 30 | .uk-slidenav:hover, | ||
| 31 | .uk-slidenav:focus { | ||
| 32 | /* 2 */ | ||
| 33 | outline: none; | ||
| 34 | /* 3 */ | ||
| 35 | text-decoration: none; | ||
| 36 | /* 4 */ | ||
| 37 | color: rgba(50, 50, 50, 0.7); | ||
| 38 | cursor: pointer; | ||
| 39 | } | ||
| 40 | /* Active */ | ||
| 41 | .uk-slidenav:active { | ||
| 42 | color: rgba(50, 50, 50, 0.9); | ||
| 43 | } | ||
| 44 | /* | ||
| 45 | * Icons | ||
| 46 | */ | ||
| 47 | .uk-slidenav-previous:before { | ||
| 48 | content: "\f104"; | ||
| 49 | font-family: FontAwesome; | ||
| 50 | } | ||
| 51 | .uk-slidenav-next:before { | ||
| 52 | content: "\f105"; | ||
| 53 | font-family: FontAwesome; | ||
| 54 | } | ||
| 55 | /* Sub-object: `uk-slidenav-position` | ||
| 56 | ========================================================================== */ | ||
| 57 | /* | ||
| 58 | * Create position context | ||
| 59 | */ | ||
| 60 | .uk-slidenav-position { | ||
| 61 | position: relative; | ||
| 62 | } | ||
| 63 | /* | ||
| 64 | * Center vertically | ||
| 65 | */ | ||
| 66 | .uk-slidenav-position .uk-slidenav { | ||
| 67 | display: none; | ||
| 68 | position: absolute; | ||
| 69 | top: 50%; | ||
| 70 | z-index: 1; | ||
| 71 | margin-top: -30px; | ||
| 72 | } | ||
| 73 | .uk-slidenav-position:hover .uk-slidenav { | ||
| 74 | display: block; | ||
| 75 | } | ||
| 76 | .uk-slidenav-position .uk-slidenav-previous { | ||
| 77 | left: 20px; | ||
| 78 | } | ||
| 79 | .uk-slidenav-position .uk-slidenav-next { | ||
| 80 | right: 20px; | ||
| 81 | } | ||
| 82 | /* Modifier: `uk-slidenav-contrast` | ||
| 83 | ========================================================================== */ | ||
| 84 | .uk-slidenav-contrast { | ||
| 85 | color: rgba(255, 255, 255, 0.5); | ||
| 86 | } | ||
| 87 | /* | ||
| 88 | * Hover | ||
| 89 | * 1. Apply hover style also to focus state | ||
| 90 | */ | ||
| 91 | .uk-slidenav-contrast:hover, | ||
| 92 | .uk-slidenav-contrast:focus { | ||
| 93 | color: rgba(255, 255, 255, 0.7); | ||
| 94 | } | ||
| 95 | /* Active */ | ||
| 96 | .uk-slidenav-contrast:active { | ||
| 97 | color: rgba(255, 255, 255, 0.9); | ||
| 98 | } | ||
| diff --git a/css/components/slidenav.gradient.css b/css/components/slidenav.gradient.css new file mode 100755 index 0000000..d856cae --- /dev/null +++ b/css/components/slidenav.gradient.css | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slidenav | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Required for `a` elements | ||
| 7 | * 2. Dimension | ||
| 8 | * 3. Style | ||
| 9 | */ | ||
| 10 | .uk-slidenav { | ||
| 11 | /* 1 */ | ||
| 12 | display: inline-block; | ||
| 13 | /* 2 */ | ||
| 14 | box-sizing: border-box; | ||
| 15 | width: 60px; | ||
| 16 | height: 60px; | ||
| 17 | /* 3 */ | ||
| 18 | line-height: 60px; | ||
| 19 | color: rgba(50, 50, 50, 0.4); | ||
| 20 | font-size: 60px; | ||
| 21 | text-align: center; | ||
| 22 | } | ||
| 23 | /* | ||
| 24 | * Hover | ||
| 25 | * 1. Apply hover style also to focus state | ||
| 26 | * 2. Remove default focus style | ||
| 27 | * 3. Required for `a` elements | ||
| 28 | * 4. Style | ||
| 29 | */ | ||
| 30 | .uk-slidenav:hover, | ||
| 31 | .uk-slidenav:focus { | ||
| 32 | /* 2 */ | ||
| 33 | outline: none; | ||
| 34 | /* 3 */ | ||
| 35 | text-decoration: none; | ||
| 36 | /* 4 */ | ||
| 37 | color: rgba(50, 50, 50, 0.7); | ||
| 38 | cursor: pointer; | ||
| 39 | } | ||
| 40 | /* Active */ | ||
| 41 | .uk-slidenav:active { | ||
| 42 | color: rgba(50, 50, 50, 0.9); | ||
| 43 | } | ||
| 44 | /* | ||
| 45 | * Icons | ||
| 46 | */ | ||
| 47 | .uk-slidenav-previous:before { | ||
| 48 | content: "\f104"; | ||
| 49 | font-family: FontAwesome; | ||
| 50 | } | ||
| 51 | .uk-slidenav-next:before { | ||
| 52 | content: "\f105"; | ||
| 53 | font-family: FontAwesome; | ||
| 54 | } | ||
| 55 | /* Sub-object: `uk-slidenav-position` | ||
| 56 | ========================================================================== */ | ||
| 57 | /* | ||
| 58 | * Create position context | ||
| 59 | */ | ||
| 60 | .uk-slidenav-position { | ||
| 61 | position: relative; | ||
| 62 | } | ||
| 63 | /* | ||
| 64 | * Center vertically | ||
| 65 | */ | ||
| 66 | .uk-slidenav-position .uk-slidenav { | ||
| 67 | display: none; | ||
| 68 | position: absolute; | ||
| 69 | top: 50%; | ||
| 70 | z-index: 1; | ||
| 71 | margin-top: -30px; | ||
| 72 | } | ||
| 73 | .uk-slidenav-position:hover .uk-slidenav { | ||
| 74 | display: block; | ||
| 75 | } | ||
| 76 | .uk-slidenav-position .uk-slidenav-previous { | ||
| 77 | left: 20px; | ||
| 78 | } | ||
| 79 | .uk-slidenav-position .uk-slidenav-next { | ||
| 80 | right: 20px; | ||
| 81 | } | ||
| 82 | /* Modifier: `uk-slidenav-contrast` | ||
| 83 | ========================================================================== */ | ||
| 84 | .uk-slidenav-contrast { | ||
| 85 | color: rgba(255, 255, 255, 0.5); | ||
| 86 | } | ||
| 87 | /* | ||
| 88 | * Hover | ||
| 89 | * 1. Apply hover style also to focus state | ||
| 90 | */ | ||
| 91 | .uk-slidenav-contrast:hover, | ||
| 92 | .uk-slidenav-contrast:focus { | ||
| 93 | color: rgba(255, 255, 255, 0.7); | ||
| 94 | } | ||
| 95 | /* Active */ | ||
| 96 | .uk-slidenav-contrast:active { | ||
| 97 | color: rgba(255, 255, 255, 0.9); | ||
| 98 | } | ||
| diff --git a/css/components/slidenav.gradient.min.css b/css/components/slidenav.gradient.min.css new file mode 100755 index 0000000..b3b1e2f --- /dev/null +++ b/css/components/slidenav.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-slidenav{display:inline-block;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file | ||
| diff --git a/css/components/slidenav.min.css b/css/components/slidenav.min.css new file mode 100755 index 0000000..b3b1e2f --- /dev/null +++ b/css/components/slidenav.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-slidenav{display:inline-block;box-sizing:border-box;width:60px;height:60px;line-height:60px;color:rgba(50,50,50,.4);font-size:60px;text-align:center}.uk-slidenav:focus,.uk-slidenav:hover{outline:0;text-decoration:none;color:rgba(50,50,50,.7);cursor:pointer}.uk-slidenav:active{color:rgba(50,50,50,.9)}.uk-slidenav-previous:before{content:"\f104";font-family:FontAwesome}.uk-slidenav-next:before{content:"\f105";font-family:FontAwesome}.uk-slidenav-position{position:relative}.uk-slidenav-position .uk-slidenav{display:none;position:absolute;top:50%;z-index:1;margin-top:-30px}.uk-slidenav-position:hover .uk-slidenav{display:block}.uk-slidenav-position .uk-slidenav-previous{left:20px}.uk-slidenav-position .uk-slidenav-next{right:20px}.uk-slidenav-contrast{color:rgba(255,255,255,.5)}.uk-slidenav-contrast:focus,.uk-slidenav-contrast:hover{color:rgba(255,255,255,.7)}.uk-slidenav-contrast:active{color:rgba(255,255,255,.9)} \ No newline at end of file | ||
| diff --git a/css/components/slider.almost-flat.css b/css/components/slider.almost-flat.css new file mode 100755 index 0000000..2d6417d --- /dev/null +++ b/css/components/slider.almost-flat.css | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slider | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * RTL Compatibility | ||
| 7 | */ | ||
| 8 | [data-uk-slider] { | ||
| 9 | direction: ltr; | ||
| 10 | } | ||
| 11 | html[dir="rtl"] .uk-slider > * { | ||
| 12 | direction: rtl; | ||
| 13 | } | ||
| 14 | /* | ||
| 15 | * 1. Create position context | ||
| 16 | * 2. Create stacking context to prevent z-index issues with other components | ||
| 17 | * 3. Deactivate browser history navigation in IE11 | ||
| 18 | */ | ||
| 19 | .uk-slider { | ||
| 20 | /* 1 */ | ||
| 21 | position: relative; | ||
| 22 | /* 2 */ | ||
| 23 | z-index: 0; | ||
| 24 | /* 3 */ | ||
| 25 | touch-action: pan-y; | ||
| 26 | } | ||
| 27 | /* | ||
| 28 | * 1. Reset list style without interfering with grid | ||
| 29 | */ | ||
| 30 | .uk-slider:not(.uk-grid) { | ||
| 31 | /* 1 */ | ||
| 32 | margin: 0; | ||
| 33 | padding: 0; | ||
| 34 | list-style: none; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * Sub-object item | ||
| 38 | * 1. Position items above each other | ||
| 39 | */ | ||
| 40 | .uk-slider > * { | ||
| 41 | /* 1 */ | ||
| 42 | position: absolute; | ||
| 43 | top: 0; | ||
| 44 | left: 0; | ||
| 45 | } | ||
| 46 | /* | ||
| 47 | * Clip child elements | ||
| 48 | */ | ||
| 49 | .uk-slider-container { | ||
| 50 | overflow: hidden; | ||
| 51 | } | ||
| 52 | /* | ||
| 53 | * Dragged | ||
| 54 | */ | ||
| 55 | .uk-slider:not(.uk-drag) { | ||
| 56 | -webkit-transition: -webkit-transform 200ms linear; | ||
| 57 | transition: transform 200ms linear; | ||
| 58 | } | ||
| 59 | /* | ||
| 60 | * 1. Makes text unselectable | ||
| 61 | */ | ||
| 62 | .uk-slider.uk-drag { | ||
| 63 | cursor: col-resize; | ||
| 64 | /* 1 */ | ||
| 65 | -moz-user-select: none; | ||
| 66 | -webkit-user-select: none; | ||
| 67 | -ms-user-select: none; | ||
| 68 | user-select: none; | ||
| 69 | } | ||
| 70 | /* | ||
| 71 | * 1. Prevents images and links from being dragged (default browser behavior) | ||
| 72 | * 2. Disables the default callout shown when you touch and hold a touch target | ||
| 73 | * Currently only works in Webkit | ||
| 74 | */ | ||
| 75 | .uk-slider a, | ||
| 76 | .uk-slider img { | ||
| 77 | /* 1 */ | ||
| 78 | -webkit-user-drag: none; | ||
| 79 | user-drag: none; | ||
| 80 | /* 2 */ | ||
| 81 | -webkit-touch-callout: none; | ||
| 82 | } | ||
| 83 | /* | ||
| 84 | * 1. Prevents images and links from being dragged in Firefox | ||
| 85 | */ | ||
| 86 | .uk-slider img { | ||
| 87 | pointer-events: none; | ||
| 88 | } | ||
| 89 | /* Modifier: `uk-slider-fullscreen` | ||
| 90 | ========================================================================== */ | ||
| 91 | .uk-slider-fullscreen, | ||
| 92 | .uk-slider-fullscreen > li { | ||
| 93 | height: 100vh; | ||
| 94 | } | ||
| diff --git a/css/components/slider.almost-flat.min.css b/css/components/slider.almost-flat.min.css new file mode 100755 index 0000000..65cf30b --- /dev/null +++ b/css/components/slider.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | [data-uk-slider]{direction:ltr}html[dir=rtl] .uk-slider>*{direction:rtl}.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform .2s linear;transition:transform .2s linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file | ||
| diff --git a/css/components/slider.css b/css/components/slider.css new file mode 100755 index 0000000..2d6417d --- /dev/null +++ b/css/components/slider.css | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slider | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * RTL Compatibility | ||
| 7 | */ | ||
| 8 | [data-uk-slider] { | ||
| 9 | direction: ltr; | ||
| 10 | } | ||
| 11 | html[dir="rtl"] .uk-slider > * { | ||
| 12 | direction: rtl; | ||
| 13 | } | ||
| 14 | /* | ||
| 15 | * 1. Create position context | ||
| 16 | * 2. Create stacking context to prevent z-index issues with other components | ||
| 17 | * 3. Deactivate browser history navigation in IE11 | ||
| 18 | */ | ||
| 19 | .uk-slider { | ||
| 20 | /* 1 */ | ||
| 21 | position: relative; | ||
| 22 | /* 2 */ | ||
| 23 | z-index: 0; | ||
| 24 | /* 3 */ | ||
| 25 | touch-action: pan-y; | ||
| 26 | } | ||
| 27 | /* | ||
| 28 | * 1. Reset list style without interfering with grid | ||
| 29 | */ | ||
| 30 | .uk-slider:not(.uk-grid) { | ||
| 31 | /* 1 */ | ||
| 32 | margin: 0; | ||
| 33 | padding: 0; | ||
| 34 | list-style: none; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * Sub-object item | ||
| 38 | * 1. Position items above each other | ||
| 39 | */ | ||
| 40 | .uk-slider > * { | ||
| 41 | /* 1 */ | ||
| 42 | position: absolute; | ||
| 43 | top: 0; | ||
| 44 | left: 0; | ||
| 45 | } | ||
| 46 | /* | ||
| 47 | * Clip child elements | ||
| 48 | */ | ||
| 49 | .uk-slider-container { | ||
| 50 | overflow: hidden; | ||
| 51 | } | ||
| 52 | /* | ||
| 53 | * Dragged | ||
| 54 | */ | ||
| 55 | .uk-slider:not(.uk-drag) { | ||
| 56 | -webkit-transition: -webkit-transform 200ms linear; | ||
| 57 | transition: transform 200ms linear; | ||
| 58 | } | ||
| 59 | /* | ||
| 60 | * 1. Makes text unselectable | ||
| 61 | */ | ||
| 62 | .uk-slider.uk-drag { | ||
| 63 | cursor: col-resize; | ||
| 64 | /* 1 */ | ||
| 65 | -moz-user-select: none; | ||
| 66 | -webkit-user-select: none; | ||
| 67 | -ms-user-select: none; | ||
| 68 | user-select: none; | ||
| 69 | } | ||
| 70 | /* | ||
| 71 | * 1. Prevents images and links from being dragged (default browser behavior) | ||
| 72 | * 2. Disables the default callout shown when you touch and hold a touch target | ||
| 73 | * Currently only works in Webkit | ||
| 74 | */ | ||
| 75 | .uk-slider a, | ||
| 76 | .uk-slider img { | ||
| 77 | /* 1 */ | ||
| 78 | -webkit-user-drag: none; | ||
| 79 | user-drag: none; | ||
| 80 | /* 2 */ | ||
| 81 | -webkit-touch-callout: none; | ||
| 82 | } | ||
| 83 | /* | ||
| 84 | * 1. Prevents images and links from being dragged in Firefox | ||
| 85 | */ | ||
| 86 | .uk-slider img { | ||
| 87 | pointer-events: none; | ||
| 88 | } | ||
| 89 | /* Modifier: `uk-slider-fullscreen` | ||
| 90 | ========================================================================== */ | ||
| 91 | .uk-slider-fullscreen, | ||
| 92 | .uk-slider-fullscreen > li { | ||
| 93 | height: 100vh; | ||
| 94 | } | ||
| diff --git a/css/components/slider.gradient.css b/css/components/slider.gradient.css new file mode 100755 index 0000000..2d6417d --- /dev/null +++ b/css/components/slider.gradient.css | |||
| @@ -0,0 +1,94 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slider | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * RTL Compatibility | ||
| 7 | */ | ||
| 8 | [data-uk-slider] { | ||
| 9 | direction: ltr; | ||
| 10 | } | ||
| 11 | html[dir="rtl"] .uk-slider > * { | ||
| 12 | direction: rtl; | ||
| 13 | } | ||
| 14 | /* | ||
| 15 | * 1. Create position context | ||
| 16 | * 2. Create stacking context to prevent z-index issues with other components | ||
| 17 | * 3. Deactivate browser history navigation in IE11 | ||
| 18 | */ | ||
| 19 | .uk-slider { | ||
| 20 | /* 1 */ | ||
| 21 | position: relative; | ||
| 22 | /* 2 */ | ||
| 23 | z-index: 0; | ||
| 24 | /* 3 */ | ||
| 25 | touch-action: pan-y; | ||
| 26 | } | ||
| 27 | /* | ||
| 28 | * 1. Reset list style without interfering with grid | ||
| 29 | */ | ||
| 30 | .uk-slider:not(.uk-grid) { | ||
| 31 | /* 1 */ | ||
| 32 | margin: 0; | ||
| 33 | padding: 0; | ||
| 34 | list-style: none; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * Sub-object item | ||
| 38 | * 1. Position items above each other | ||
| 39 | */ | ||
| 40 | .uk-slider > * { | ||
| 41 | /* 1 */ | ||
| 42 | position: absolute; | ||
| 43 | top: 0; | ||
| 44 | left: 0; | ||
| 45 | } | ||
| 46 | /* | ||
| 47 | * Clip child elements | ||
| 48 | */ | ||
| 49 | .uk-slider-container { | ||
| 50 | overflow: hidden; | ||
| 51 | } | ||
| 52 | /* | ||
| 53 | * Dragged | ||
| 54 | */ | ||
| 55 | .uk-slider:not(.uk-drag) { | ||
| 56 | -webkit-transition: -webkit-transform 200ms linear; | ||
| 57 | transition: transform 200ms linear; | ||
| 58 | } | ||
| 59 | /* | ||
| 60 | * 1. Makes text unselectable | ||
| 61 | */ | ||
| 62 | .uk-slider.uk-drag { | ||
| 63 | cursor: col-resize; | ||
| 64 | /* 1 */ | ||
| 65 | -moz-user-select: none; | ||
| 66 | -webkit-user-select: none; | ||
| 67 | -ms-user-select: none; | ||
| 68 | user-select: none; | ||
| 69 | } | ||
| 70 | /* | ||
| 71 | * 1. Prevents images and links from being dragged (default browser behavior) | ||
| 72 | * 2. Disables the default callout shown when you touch and hold a touch target | ||
| 73 | * Currently only works in Webkit | ||
| 74 | */ | ||
| 75 | .uk-slider a, | ||
| 76 | .uk-slider img { | ||
| 77 | /* 1 */ | ||
| 78 | -webkit-user-drag: none; | ||
| 79 | user-drag: none; | ||
| 80 | /* 2 */ | ||
| 81 | -webkit-touch-callout: none; | ||
| 82 | } | ||
| 83 | /* | ||
| 84 | * 1. Prevents images and links from being dragged in Firefox | ||
| 85 | */ | ||
| 86 | .uk-slider img { | ||
| 87 | pointer-events: none; | ||
| 88 | } | ||
| 89 | /* Modifier: `uk-slider-fullscreen` | ||
| 90 | ========================================================================== */ | ||
| 91 | .uk-slider-fullscreen, | ||
| 92 | .uk-slider-fullscreen > li { | ||
| 93 | height: 100vh; | ||
| 94 | } | ||
| diff --git a/css/components/slider.gradient.min.css b/css/components/slider.gradient.min.css new file mode 100755 index 0000000..65cf30b --- /dev/null +++ b/css/components/slider.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | [data-uk-slider]{direction:ltr}html[dir=rtl] .uk-slider>*{direction:rtl}.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform .2s linear;transition:transform .2s linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file | ||
| diff --git a/css/components/slider.min.css b/css/components/slider.min.css new file mode 100755 index 0000000..65cf30b --- /dev/null +++ b/css/components/slider.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | [data-uk-slider]{direction:ltr}html[dir=rtl] .uk-slider>*{direction:rtl}.uk-slider{position:relative;z-index:0;touch-action:pan-y}.uk-slider:not(.uk-grid){margin:0;padding:0;list-style:none}.uk-slider>*{position:absolute;top:0;left:0}.uk-slider-container{overflow:hidden}.uk-slider:not(.uk-drag){-webkit-transition:-webkit-transform .2s linear;transition:transform .2s linear}.uk-slider.uk-drag{cursor:col-resize;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.uk-slider a,.uk-slider img{-webkit-user-drag:none;user-drag:none;-webkit-touch-callout:none}.uk-slider img{pointer-events:none}.uk-slider-fullscreen,.uk-slider-fullscreen>li{height:100vh} \ No newline at end of file | ||
| diff --git a/css/components/slideshow.almost-flat.css b/css/components/slideshow.almost-flat.css new file mode 100755 index 0000000..ce3d4f2 --- /dev/null +++ b/css/components/slideshow.almost-flat.css | |||
| @@ -0,0 +1,144 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slideshow | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Create position context | ||
| 7 | * 2. Create stacking context to prevent z-index issues with other components | ||
| 8 | * 3. Set width because child elements are positioned absolute. Height is set via JS | ||
| 9 | * 4. Reset list style | ||
| 10 | * 5. Clip child elements | ||
| 11 | * 6. Deactivate browser history navigation in IE11 | ||
| 12 | */ | ||
| 13 | .uk-slideshow { | ||
| 14 | /* 1 */ | ||
| 15 | position: relative; | ||
| 16 | /* 2 */ | ||
| 17 | z-index: 0; | ||
| 18 | /* 3 */ | ||
| 19 | width: 100%; | ||
| 20 | /* 4 */ | ||
| 21 | margin: 0; | ||
| 22 | padding: 0; | ||
| 23 | list-style: none; | ||
| 24 | /* 5 */ | ||
| 25 | overflow: hidden; | ||
| 26 | /* 6 */ | ||
| 27 | touch-action: pan-y; | ||
| 28 | } | ||
| 29 | /* | ||
| 30 | * Sub-object item | ||
| 31 | * 1. Position items above each other | ||
| 32 | * 2. Expand to parent container width | ||
| 33 | * 3. Hide by default | ||
| 34 | */ | ||
| 35 | .uk-slideshow > li { | ||
| 36 | /* 1 */ | ||
| 37 | position: absolute; | ||
| 38 | top: 0; | ||
| 39 | left: 0; | ||
| 40 | /* 2 */ | ||
| 41 | width: 100%; | ||
| 42 | /* 3 */ | ||
| 43 | opacity: 0; | ||
| 44 | } | ||
| 45 | /* | ||
| 46 | * Active | ||
| 47 | * 1. Stack at first | ||
| 48 | * 2. Show slide | ||
| 49 | */ | ||
| 50 | .uk-slideshow > .uk-active { | ||
| 51 | /* 1 */ | ||
| 52 | z-index: 10; | ||
| 53 | /* 2 */ | ||
| 54 | opacity: 1; | ||
| 55 | } | ||
| 56 | /* | ||
| 57 | * Hide default images which is only relevant to keep existing proportions | ||
| 58 | */ | ||
| 59 | .uk-slideshow > li > img { | ||
| 60 | visibility: hidden; | ||
| 61 | } | ||
| 62 | /* | ||
| 63 | * Pointer for controls | ||
| 64 | */ | ||
| 65 | [data-uk-slideshow-slide] { | ||
| 66 | cursor: pointer; | ||
| 67 | } | ||
| 68 | /* Modifier: `uk-slideshow-fullscreen` | ||
| 69 | ========================================================================== */ | ||
| 70 | .uk-slideshow-fullscreen, | ||
| 71 | .uk-slideshow-fullscreen > li { | ||
| 72 | height: 100vh; | ||
| 73 | } | ||
| 74 | /* Animations | ||
| 75 | ========================================================================== */ | ||
| 76 | /* | ||
| 77 | * Fade | ||
| 78 | */ | ||
| 79 | .uk-slideshow-fade-in { | ||
| 80 | -webkit-animation: uk-fade 0.5s linear; | ||
| 81 | animation: uk-fade 0.5s linear; | ||
| 82 | } | ||
| 83 | .uk-slideshow-fade-out { | ||
| 84 | -webkit-animation: uk-fade 0.5s linear reverse; | ||
| 85 | animation: uk-fade 0.5s linear reverse; | ||
| 86 | } | ||
| 87 | /* | ||
| 88 | * Scroll | ||
| 89 | */ | ||
| 90 | .uk-slideshow-scroll-forward-in { | ||
| 91 | -webkit-animation: uk-slide-right 0.5s ease-in-out; | ||
| 92 | animation: uk-slide-right 0.5s ease-in-out; | ||
| 93 | } | ||
| 94 | .uk-slideshow-scroll-forward-out { | ||
| 95 | -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 96 | animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 97 | } | ||
| 98 | .uk-slideshow-scroll-backward-in { | ||
| 99 | -webkit-animation: uk-slide-left 0.5s ease-in-out; | ||
| 100 | animation: uk-slide-left 0.5s ease-in-out; | ||
| 101 | } | ||
| 102 | .uk-slideshow-scroll-backward-out { | ||
| 103 | -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 104 | animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 105 | } | ||
| 106 | /* | ||
| 107 | * Scale | ||
| 108 | */ | ||
| 109 | .uk-slideshow-scale-out { | ||
| 110 | -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; | ||
| 111 | animation: uk-fade-scale-15 0.5s ease-in-out reverse; | ||
| 112 | } | ||
| 113 | /* | ||
| 114 | * Swipe | ||
| 115 | */ | ||
| 116 | .uk-slideshow-swipe-forward-in { | ||
| 117 | -webkit-animation: uk-slide-left-33 0.5s ease-in-out; | ||
| 118 | animation: uk-slide-left-33 0.5s ease-in-out; | ||
| 119 | } | ||
| 120 | .uk-slideshow-swipe-forward-out { | ||
| 121 | -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 122 | animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 123 | } | ||
| 124 | .uk-slideshow-swipe-backward-in { | ||
| 125 | -webkit-animation: uk-slide-right-33 0.5s ease-in-out; | ||
| 126 | animation: uk-slide-right-33 0.5s ease-in-out; | ||
| 127 | } | ||
| 128 | .uk-slideshow-swipe-backward-out { | ||
| 129 | -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 130 | animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 131 | } | ||
| 132 | .uk-slideshow-swipe-forward-in:before, | ||
| 133 | .uk-slideshow-swipe-backward-in:before { | ||
| 134 | content: ''; | ||
| 135 | position: absolute; | ||
| 136 | top: 0; | ||
| 137 | bottom: 0; | ||
| 138 | left: 0; | ||
| 139 | right: 0; | ||
| 140 | z-index: 1; | ||
| 141 | background: rgba(0, 0, 0, 0.6); | ||
| 142 | -webkit-animation: uk-fade 0.5s ease-in-out reverse; | ||
| 143 | animation: uk-fade 0.5s ease-in-out reverse; | ||
| 144 | } | ||
| diff --git a/css/components/slideshow.almost-flat.min.css b/css/components/slideshow.almost-flat.min.css new file mode 100755 index 0000000..3c8fe75 --- /dev/null +++ b/css/components/slideshow.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-in{-webkit-animation:uk-fade .5s linear;animation:uk-fade .5s linear}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file | ||
| diff --git a/css/components/slideshow.css b/css/components/slideshow.css new file mode 100755 index 0000000..ce3d4f2 --- /dev/null +++ b/css/components/slideshow.css | |||
| @@ -0,0 +1,144 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slideshow | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Create position context | ||
| 7 | * 2. Create stacking context to prevent z-index issues with other components | ||
| 8 | * 3. Set width because child elements are positioned absolute. Height is set via JS | ||
| 9 | * 4. Reset list style | ||
| 10 | * 5. Clip child elements | ||
| 11 | * 6. Deactivate browser history navigation in IE11 | ||
| 12 | */ | ||
| 13 | .uk-slideshow { | ||
| 14 | /* 1 */ | ||
| 15 | position: relative; | ||
| 16 | /* 2 */ | ||
| 17 | z-index: 0; | ||
| 18 | /* 3 */ | ||
| 19 | width: 100%; | ||
| 20 | /* 4 */ | ||
| 21 | margin: 0; | ||
| 22 | padding: 0; | ||
| 23 | list-style: none; | ||
| 24 | /* 5 */ | ||
| 25 | overflow: hidden; | ||
| 26 | /* 6 */ | ||
| 27 | touch-action: pan-y; | ||
| 28 | } | ||
| 29 | /* | ||
| 30 | * Sub-object item | ||
| 31 | * 1. Position items above each other | ||
| 32 | * 2. Expand to parent container width | ||
| 33 | * 3. Hide by default | ||
| 34 | */ | ||
| 35 | .uk-slideshow > li { | ||
| 36 | /* 1 */ | ||
| 37 | position: absolute; | ||
| 38 | top: 0; | ||
| 39 | left: 0; | ||
| 40 | /* 2 */ | ||
| 41 | width: 100%; | ||
| 42 | /* 3 */ | ||
| 43 | opacity: 0; | ||
| 44 | } | ||
| 45 | /* | ||
| 46 | * Active | ||
| 47 | * 1. Stack at first | ||
| 48 | * 2. Show slide | ||
| 49 | */ | ||
| 50 | .uk-slideshow > .uk-active { | ||
| 51 | /* 1 */ | ||
| 52 | z-index: 10; | ||
| 53 | /* 2 */ | ||
| 54 | opacity: 1; | ||
| 55 | } | ||
| 56 | /* | ||
| 57 | * Hide default images which is only relevant to keep existing proportions | ||
| 58 | */ | ||
| 59 | .uk-slideshow > li > img { | ||
| 60 | visibility: hidden; | ||
| 61 | } | ||
| 62 | /* | ||
| 63 | * Pointer for controls | ||
| 64 | */ | ||
| 65 | [data-uk-slideshow-slide] { | ||
| 66 | cursor: pointer; | ||
| 67 | } | ||
| 68 | /* Modifier: `uk-slideshow-fullscreen` | ||
| 69 | ========================================================================== */ | ||
| 70 | .uk-slideshow-fullscreen, | ||
| 71 | .uk-slideshow-fullscreen > li { | ||
| 72 | height: 100vh; | ||
| 73 | } | ||
| 74 | /* Animations | ||
| 75 | ========================================================================== */ | ||
| 76 | /* | ||
| 77 | * Fade | ||
| 78 | */ | ||
| 79 | .uk-slideshow-fade-in { | ||
| 80 | -webkit-animation: uk-fade 0.5s linear; | ||
| 81 | animation: uk-fade 0.5s linear; | ||
| 82 | } | ||
| 83 | .uk-slideshow-fade-out { | ||
| 84 | -webkit-animation: uk-fade 0.5s linear reverse; | ||
| 85 | animation: uk-fade 0.5s linear reverse; | ||
| 86 | } | ||
| 87 | /* | ||
| 88 | * Scroll | ||
| 89 | */ | ||
| 90 | .uk-slideshow-scroll-forward-in { | ||
| 91 | -webkit-animation: uk-slide-right 0.5s ease-in-out; | ||
| 92 | animation: uk-slide-right 0.5s ease-in-out; | ||
| 93 | } | ||
| 94 | .uk-slideshow-scroll-forward-out { | ||
| 95 | -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 96 | animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 97 | } | ||
| 98 | .uk-slideshow-scroll-backward-in { | ||
| 99 | -webkit-animation: uk-slide-left 0.5s ease-in-out; | ||
| 100 | animation: uk-slide-left 0.5s ease-in-out; | ||
| 101 | } | ||
| 102 | .uk-slideshow-scroll-backward-out { | ||
| 103 | -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 104 | animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 105 | } | ||
| 106 | /* | ||
| 107 | * Scale | ||
| 108 | */ | ||
| 109 | .uk-slideshow-scale-out { | ||
| 110 | -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; | ||
| 111 | animation: uk-fade-scale-15 0.5s ease-in-out reverse; | ||
| 112 | } | ||
| 113 | /* | ||
| 114 | * Swipe | ||
| 115 | */ | ||
| 116 | .uk-slideshow-swipe-forward-in { | ||
| 117 | -webkit-animation: uk-slide-left-33 0.5s ease-in-out; | ||
| 118 | animation: uk-slide-left-33 0.5s ease-in-out; | ||
| 119 | } | ||
| 120 | .uk-slideshow-swipe-forward-out { | ||
| 121 | -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 122 | animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 123 | } | ||
| 124 | .uk-slideshow-swipe-backward-in { | ||
| 125 | -webkit-animation: uk-slide-right-33 0.5s ease-in-out; | ||
| 126 | animation: uk-slide-right-33 0.5s ease-in-out; | ||
| 127 | } | ||
| 128 | .uk-slideshow-swipe-backward-out { | ||
| 129 | -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 130 | animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 131 | } | ||
| 132 | .uk-slideshow-swipe-forward-in:before, | ||
| 133 | .uk-slideshow-swipe-backward-in:before { | ||
| 134 | content: ''; | ||
| 135 | position: absolute; | ||
| 136 | top: 0; | ||
| 137 | bottom: 0; | ||
| 138 | left: 0; | ||
| 139 | right: 0; | ||
| 140 | z-index: 1; | ||
| 141 | background: rgba(0, 0, 0, 0.6); | ||
| 142 | -webkit-animation: uk-fade 0.5s ease-in-out reverse; | ||
| 143 | animation: uk-fade 0.5s ease-in-out reverse; | ||
| 144 | } | ||
| diff --git a/css/components/slideshow.gradient.css b/css/components/slideshow.gradient.css new file mode 100755 index 0000000..ce3d4f2 --- /dev/null +++ b/css/components/slideshow.gradient.css | |||
| @@ -0,0 +1,144 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Slideshow | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Create position context | ||
| 7 | * 2. Create stacking context to prevent z-index issues with other components | ||
| 8 | * 3. Set width because child elements are positioned absolute. Height is set via JS | ||
| 9 | * 4. Reset list style | ||
| 10 | * 5. Clip child elements | ||
| 11 | * 6. Deactivate browser history navigation in IE11 | ||
| 12 | */ | ||
| 13 | .uk-slideshow { | ||
| 14 | /* 1 */ | ||
| 15 | position: relative; | ||
| 16 | /* 2 */ | ||
| 17 | z-index: 0; | ||
| 18 | /* 3 */ | ||
| 19 | width: 100%; | ||
| 20 | /* 4 */ | ||
| 21 | margin: 0; | ||
| 22 | padding: 0; | ||
| 23 | list-style: none; | ||
| 24 | /* 5 */ | ||
| 25 | overflow: hidden; | ||
| 26 | /* 6 */ | ||
| 27 | touch-action: pan-y; | ||
| 28 | } | ||
| 29 | /* | ||
| 30 | * Sub-object item | ||
| 31 | * 1. Position items above each other | ||
| 32 | * 2. Expand to parent container width | ||
| 33 | * 3. Hide by default | ||
| 34 | */ | ||
| 35 | .uk-slideshow > li { | ||
| 36 | /* 1 */ | ||
| 37 | position: absolute; | ||
| 38 | top: 0; | ||
| 39 | left: 0; | ||
| 40 | /* 2 */ | ||
| 41 | width: 100%; | ||
| 42 | /* 3 */ | ||
| 43 | opacity: 0; | ||
| 44 | } | ||
| 45 | /* | ||
| 46 | * Active | ||
| 47 | * 1. Stack at first | ||
| 48 | * 2. Show slide | ||
| 49 | */ | ||
| 50 | .uk-slideshow > .uk-active { | ||
| 51 | /* 1 */ | ||
| 52 | z-index: 10; | ||
| 53 | /* 2 */ | ||
| 54 | opacity: 1; | ||
| 55 | } | ||
| 56 | /* | ||
| 57 | * Hide default images which is only relevant to keep existing proportions | ||
| 58 | */ | ||
| 59 | .uk-slideshow > li > img { | ||
| 60 | visibility: hidden; | ||
| 61 | } | ||
| 62 | /* | ||
| 63 | * Pointer for controls | ||
| 64 | */ | ||
| 65 | [data-uk-slideshow-slide] { | ||
| 66 | cursor: pointer; | ||
| 67 | } | ||
| 68 | /* Modifier: `uk-slideshow-fullscreen` | ||
| 69 | ========================================================================== */ | ||
| 70 | .uk-slideshow-fullscreen, | ||
| 71 | .uk-slideshow-fullscreen > li { | ||
| 72 | height: 100vh; | ||
| 73 | } | ||
| 74 | /* Animations | ||
| 75 | ========================================================================== */ | ||
| 76 | /* | ||
| 77 | * Fade | ||
| 78 | */ | ||
| 79 | .uk-slideshow-fade-in { | ||
| 80 | -webkit-animation: uk-fade 0.5s linear; | ||
| 81 | animation: uk-fade 0.5s linear; | ||
| 82 | } | ||
| 83 | .uk-slideshow-fade-out { | ||
| 84 | -webkit-animation: uk-fade 0.5s linear reverse; | ||
| 85 | animation: uk-fade 0.5s linear reverse; | ||
| 86 | } | ||
| 87 | /* | ||
| 88 | * Scroll | ||
| 89 | */ | ||
| 90 | .uk-slideshow-scroll-forward-in { | ||
| 91 | -webkit-animation: uk-slide-right 0.5s ease-in-out; | ||
| 92 | animation: uk-slide-right 0.5s ease-in-out; | ||
| 93 | } | ||
| 94 | .uk-slideshow-scroll-forward-out { | ||
| 95 | -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 96 | animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 97 | } | ||
| 98 | .uk-slideshow-scroll-backward-in { | ||
| 99 | -webkit-animation: uk-slide-left 0.5s ease-in-out; | ||
| 100 | animation: uk-slide-left 0.5s ease-in-out; | ||
| 101 | } | ||
| 102 | .uk-slideshow-scroll-backward-out { | ||
| 103 | -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 104 | animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 105 | } | ||
| 106 | /* | ||
| 107 | * Scale | ||
| 108 | */ | ||
| 109 | .uk-slideshow-scale-out { | ||
| 110 | -webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse; | ||
| 111 | animation: uk-fade-scale-15 0.5s ease-in-out reverse; | ||
| 112 | } | ||
| 113 | /* | ||
| 114 | * Swipe | ||
| 115 | */ | ||
| 116 | .uk-slideshow-swipe-forward-in { | ||
| 117 | -webkit-animation: uk-slide-left-33 0.5s ease-in-out; | ||
| 118 | animation: uk-slide-left-33 0.5s ease-in-out; | ||
| 119 | } | ||
| 120 | .uk-slideshow-swipe-forward-out { | ||
| 121 | -webkit-animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 122 | animation: uk-slide-left 0.5s ease-in-out reverse; | ||
| 123 | } | ||
| 124 | .uk-slideshow-swipe-backward-in { | ||
| 125 | -webkit-animation: uk-slide-right-33 0.5s ease-in-out; | ||
| 126 | animation: uk-slide-right-33 0.5s ease-in-out; | ||
| 127 | } | ||
| 128 | .uk-slideshow-swipe-backward-out { | ||
| 129 | -webkit-animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 130 | animation: uk-slide-right 0.5s ease-in-out reverse; | ||
| 131 | } | ||
| 132 | .uk-slideshow-swipe-forward-in:before, | ||
| 133 | .uk-slideshow-swipe-backward-in:before { | ||
| 134 | content: ''; | ||
| 135 | position: absolute; | ||
| 136 | top: 0; | ||
| 137 | bottom: 0; | ||
| 138 | left: 0; | ||
| 139 | right: 0; | ||
| 140 | z-index: 1; | ||
| 141 | background: rgba(0, 0, 0, 0.6); | ||
| 142 | -webkit-animation: uk-fade 0.5s ease-in-out reverse; | ||
| 143 | animation: uk-fade 0.5s ease-in-out reverse; | ||
| 144 | } | ||
| diff --git a/css/components/slideshow.gradient.min.css b/css/components/slideshow.gradient.min.css new file mode 100755 index 0000000..3c8fe75 --- /dev/null +++ b/css/components/slideshow.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-in{-webkit-animation:uk-fade .5s linear;animation:uk-fade .5s linear}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file | ||
| diff --git a/css/components/slideshow.min.css b/css/components/slideshow.min.css new file mode 100755 index 0000000..3c8fe75 --- /dev/null +++ b/css/components/slideshow.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-slideshow{position:relative;z-index:0;width:100%;margin:0;padding:0;list-style:none;overflow:hidden;touch-action:pan-y}.uk-slideshow>li{position:absolute;top:0;left:0;width:100%;opacity:0}.uk-slideshow>.uk-active{z-index:10;opacity:1}.uk-slideshow>li>img{visibility:hidden}[data-uk-slideshow-slide]{cursor:pointer}.uk-slideshow-fullscreen,.uk-slideshow-fullscreen>li{height:100vh}.uk-slideshow-fade-in{-webkit-animation:uk-fade .5s linear;animation:uk-fade .5s linear}.uk-slideshow-fade-out{-webkit-animation:uk-fade .5s linear reverse;animation:uk-fade .5s linear reverse}.uk-slideshow-scroll-forward-in{-webkit-animation:uk-slide-right .5s ease-in-out;animation:uk-slide-right .5s ease-in-out}.uk-slideshow-scroll-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-scroll-backward-in{-webkit-animation:uk-slide-left .5s ease-in-out;animation:uk-slide-left .5s ease-in-out}.uk-slideshow-scroll-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-scale-out{-webkit-animation:uk-fade-scale-15 .5s ease-in-out reverse;animation:uk-fade-scale-15 .5s ease-in-out reverse}.uk-slideshow-swipe-forward-in{-webkit-animation:uk-slide-left-33 .5s ease-in-out;animation:uk-slide-left-33 .5s ease-in-out}.uk-slideshow-swipe-forward-out{-webkit-animation:uk-slide-left .5s ease-in-out reverse;animation:uk-slide-left .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in{-webkit-animation:uk-slide-right-33 .5s ease-in-out;animation:uk-slide-right-33 .5s ease-in-out}.uk-slideshow-swipe-backward-out{-webkit-animation:uk-slide-right .5s ease-in-out reverse;animation:uk-slide-right .5s ease-in-out reverse}.uk-slideshow-swipe-backward-in:before,.uk-slideshow-swipe-forward-in:before{content:'';position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;background:rgba(0,0,0,.6);-webkit-animation:uk-fade .5s ease-in-out reverse;animation:uk-fade .5s ease-in-out reverse} \ No newline at end of file | ||
| diff --git a/css/components/sortable.almost-flat.css b/css/components/sortable.almost-flat.css new file mode 100755 index 0000000..f5c23b6 --- /dev/null +++ b/css/components/sortable.almost-flat.css | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Sortable | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-sortable { | ||
| 6 | position: relative; | ||
| 7 | } | ||
| 8 | /* | ||
| 9 | * Deactivate browser touch actions in IE11 | ||
| 10 | */ | ||
| 11 | .uk-sortable > * { | ||
| 12 | touch-action: none; | ||
| 13 | } | ||
| 14 | /* | ||
| 15 | * Disables the default callout shown when you touch and hold a touch target | ||
| 16 | * Currently only works in Webkit | ||
| 17 | */ | ||
| 18 | .uk-sortable a, | ||
| 19 | .uk-sortable img { | ||
| 20 | -webkit-touch-callout: none; | ||
| 21 | } | ||
| 22 | /* | ||
| 23 | * Remove margin from the last-child | ||
| 24 | */ | ||
| 25 | .uk-sortable > :last-child { | ||
| 26 | margin-bottom: 0; | ||
| 27 | } | ||
| 28 | /* Sub-modifier `uk-sortable-dragged` | ||
| 29 | ========================================================================== */ | ||
| 30 | .uk-sortable-dragged { | ||
| 31 | position: absolute; | ||
| 32 | z-index: 1050; | ||
| 33 | pointer-events: none; | ||
| 34 | } | ||
| 35 | /* Sub-modifier `uk-sortable-placeholder` | ||
| 36 | ========================================================================== */ | ||
| 37 | .uk-sortable-placeholder { | ||
| 38 | opacity: 0; | ||
| 39 | } | ||
| 40 | /* Empty List | ||
| 41 | ========================================================================== */ | ||
| 42 | .uk-sortable-empty { | ||
| 43 | min-height: 30px; | ||
| 44 | } | ||
| 45 | /* Sub-object `uk-sortable-handle` | ||
| 46 | ========================================================================== */ | ||
| 47 | /* | ||
| 48 | * Deactivate browser touch actions in IE11 | ||
| 49 | */ | ||
| 50 | .uk-sortable-handle { | ||
| 51 | touch-action: none; | ||
| 52 | } | ||
| 53 | /* Hover */ | ||
| 54 | .uk-sortable-handle:hover { | ||
| 55 | cursor: move; | ||
| 56 | } | ||
| 57 | /* Sub-object `uk-sortable-moving` | ||
| 58 | ========================================================================== */ | ||
| 59 | .uk-sortable-moving, | ||
| 60 | .uk-sortable-moving * { | ||
| 61 | cursor: move; | ||
| 62 | } | ||
| 63 | /* Fixes dragging items over iframes */ | ||
| 64 | .uk-sortable-moving iframe { | ||
| 65 | pointer-events: none; | ||
| 66 | } | ||
| diff --git a/css/components/sortable.almost-flat.min.css b/css/components/sortable.almost-flat.min.css new file mode 100755 index 0000000..a8f6b40 --- /dev/null +++ b/css/components/sortable.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable-empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move}.uk-sortable-moving iframe{pointer-events:none} \ No newline at end of file | ||
| diff --git a/css/components/sortable.css b/css/components/sortable.css new file mode 100755 index 0000000..f5c23b6 --- /dev/null +++ b/css/components/sortable.css | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Sortable | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-sortable { | ||
| 6 | position: relative; | ||
| 7 | } | ||
| 8 | /* | ||
| 9 | * Deactivate browser touch actions in IE11 | ||
| 10 | */ | ||
| 11 | .uk-sortable > * { | ||
| 12 | touch-action: none; | ||
| 13 | } | ||
| 14 | /* | ||
| 15 | * Disables the default callout shown when you touch and hold a touch target | ||
| 16 | * Currently only works in Webkit | ||
| 17 | */ | ||
| 18 | .uk-sortable a, | ||
| 19 | .uk-sortable img { | ||
| 20 | -webkit-touch-callout: none; | ||
| 21 | } | ||
| 22 | /* | ||
| 23 | * Remove margin from the last-child | ||
| 24 | */ | ||
| 25 | .uk-sortable > :last-child { | ||
| 26 | margin-bottom: 0; | ||
| 27 | } | ||
| 28 | /* Sub-modifier `uk-sortable-dragged` | ||
| 29 | ========================================================================== */ | ||
| 30 | .uk-sortable-dragged { | ||
| 31 | position: absolute; | ||
| 32 | z-index: 1050; | ||
| 33 | pointer-events: none; | ||
| 34 | } | ||
| 35 | /* Sub-modifier `uk-sortable-placeholder` | ||
| 36 | ========================================================================== */ | ||
| 37 | .uk-sortable-placeholder { | ||
| 38 | opacity: 0; | ||
| 39 | } | ||
| 40 | /* Empty List | ||
| 41 | ========================================================================== */ | ||
| 42 | .uk-sortable-empty { | ||
| 43 | min-height: 30px; | ||
| 44 | } | ||
| 45 | /* Sub-object `uk-sortable-handle` | ||
| 46 | ========================================================================== */ | ||
| 47 | /* | ||
| 48 | * Deactivate browser touch actions in IE11 | ||
| 49 | */ | ||
| 50 | .uk-sortable-handle { | ||
| 51 | touch-action: none; | ||
| 52 | } | ||
| 53 | /* Hover */ | ||
| 54 | .uk-sortable-handle:hover { | ||
| 55 | cursor: move; | ||
| 56 | } | ||
| 57 | /* Sub-object `uk-sortable-moving` | ||
| 58 | ========================================================================== */ | ||
| 59 | .uk-sortable-moving, | ||
| 60 | .uk-sortable-moving * { | ||
| 61 | cursor: move; | ||
| 62 | } | ||
| 63 | /* Fixes dragging items over iframes */ | ||
| 64 | .uk-sortable-moving iframe { | ||
| 65 | pointer-events: none; | ||
| 66 | } | ||
| diff --git a/css/components/sortable.gradient.css b/css/components/sortable.gradient.css new file mode 100755 index 0000000..f5c23b6 --- /dev/null +++ b/css/components/sortable.gradient.css | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Sortable | ||
| 4 | ========================================================================== */ | ||
| 5 | .uk-sortable { | ||
| 6 | position: relative; | ||
| 7 | } | ||
| 8 | /* | ||
| 9 | * Deactivate browser touch actions in IE11 | ||
| 10 | */ | ||
| 11 | .uk-sortable > * { | ||
| 12 | touch-action: none; | ||
| 13 | } | ||
| 14 | /* | ||
| 15 | * Disables the default callout shown when you touch and hold a touch target | ||
| 16 | * Currently only works in Webkit | ||
| 17 | */ | ||
| 18 | .uk-sortable a, | ||
| 19 | .uk-sortable img { | ||
| 20 | -webkit-touch-callout: none; | ||
| 21 | } | ||
| 22 | /* | ||
| 23 | * Remove margin from the last-child | ||
| 24 | */ | ||
| 25 | .uk-sortable > :last-child { | ||
| 26 | margin-bottom: 0; | ||
| 27 | } | ||
| 28 | /* Sub-modifier `uk-sortable-dragged` | ||
| 29 | ========================================================================== */ | ||
| 30 | .uk-sortable-dragged { | ||
| 31 | position: absolute; | ||
| 32 | z-index: 1050; | ||
| 33 | pointer-events: none; | ||
| 34 | } | ||
| 35 | /* Sub-modifier `uk-sortable-placeholder` | ||
| 36 | ========================================================================== */ | ||
| 37 | .uk-sortable-placeholder { | ||
| 38 | opacity: 0; | ||
| 39 | } | ||
| 40 | /* Empty List | ||
| 41 | ========================================================================== */ | ||
| 42 | .uk-sortable-empty { | ||
| 43 | min-height: 30px; | ||
| 44 | } | ||
| 45 | /* Sub-object `uk-sortable-handle` | ||
| 46 | ========================================================================== */ | ||
| 47 | /* | ||
| 48 | * Deactivate browser touch actions in IE11 | ||
| 49 | */ | ||
| 50 | .uk-sortable-handle { | ||
| 51 | touch-action: none; | ||
| 52 | } | ||
| 53 | /* Hover */ | ||
| 54 | .uk-sortable-handle:hover { | ||
| 55 | cursor: move; | ||
| 56 | } | ||
| 57 | /* Sub-object `uk-sortable-moving` | ||
| 58 | ========================================================================== */ | ||
| 59 | .uk-sortable-moving, | ||
| 60 | .uk-sortable-moving * { | ||
| 61 | cursor: move; | ||
| 62 | } | ||
| 63 | /* Fixes dragging items over iframes */ | ||
| 64 | .uk-sortable-moving iframe { | ||
| 65 | pointer-events: none; | ||
| 66 | } | ||
| diff --git a/css/components/sortable.gradient.min.css b/css/components/sortable.gradient.min.css new file mode 100755 index 0000000..a8f6b40 --- /dev/null +++ b/css/components/sortable.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable-empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move}.uk-sortable-moving iframe{pointer-events:none} \ No newline at end of file | ||
| diff --git a/css/components/sortable.min.css b/css/components/sortable.min.css new file mode 100755 index 0000000..a8f6b40 --- /dev/null +++ b/css/components/sortable.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-sortable{position:relative}.uk-sortable>*{touch-action:none}.uk-sortable a,.uk-sortable img{-webkit-touch-callout:none}.uk-sortable>:last-child{margin-bottom:0}.uk-sortable-dragged{position:absolute;z-index:1050;pointer-events:none}.uk-sortable-placeholder{opacity:0}.uk-sortable-empty{min-height:30px}.uk-sortable-handle{touch-action:none}.uk-sortable-handle:hover{cursor:move}.uk-sortable-moving,.uk-sortable-moving *{cursor:move}.uk-sortable-moving iframe{pointer-events:none} \ No newline at end of file | ||
| diff --git a/css/components/sticky.almost-flat.css b/css/components/sticky.almost-flat.css new file mode 100755 index 0000000..97141d0 --- /dev/null +++ b/css/components/sticky.almost-flat.css | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Sticky | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. More robust if padding and border are used | ||
| 7 | */ | ||
| 8 | [data-uk-sticky].uk-active { | ||
| 9 | z-index: 980; | ||
| 10 | /* 1 */ | ||
| 11 | box-sizing: border-box; | ||
| 12 | } | ||
| 13 | /* | ||
| 14 | * Faster animations | ||
| 15 | */ | ||
| 16 | [data-uk-sticky][class*='uk-animation-'] { | ||
| 17 | -webkit-animation-duration: 0.2s; | ||
| 18 | animation-duration: 0.2s; | ||
| 19 | } | ||
| 20 | [data-uk-sticky].uk-animation-reverse { | ||
| 21 | -webkit-animation-duration: 0.2s; | ||
| 22 | animation-duration: 0.2s; | ||
| 23 | } | ||
| diff --git a/css/components/sticky.almost-flat.min.css b/css/components/sticky.almost-flat.min.css new file mode 100755 index 0000000..d54870f --- /dev/null +++ b/css/components/sticky.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | [data-uk-sticky].uk-active{z-index:980;box-sizing:border-box}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.2s;animation-duration:.2s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.2s;animation-duration:.2s} \ No newline at end of file | ||
| diff --git a/css/components/sticky.css b/css/components/sticky.css new file mode 100755 index 0000000..97141d0 --- /dev/null +++ b/css/components/sticky.css | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Sticky | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. More robust if padding and border are used | ||
| 7 | */ | ||
| 8 | [data-uk-sticky].uk-active { | ||
| 9 | z-index: 980; | ||
| 10 | /* 1 */ | ||
| 11 | box-sizing: border-box; | ||
| 12 | } | ||
| 13 | /* | ||
| 14 | * Faster animations | ||
| 15 | */ | ||
| 16 | [data-uk-sticky][class*='uk-animation-'] { | ||
| 17 | -webkit-animation-duration: 0.2s; | ||
| 18 | animation-duration: 0.2s; | ||
| 19 | } | ||
| 20 | [data-uk-sticky].uk-animation-reverse { | ||
| 21 | -webkit-animation-duration: 0.2s; | ||
| 22 | animation-duration: 0.2s; | ||
| 23 | } | ||
| diff --git a/css/components/sticky.gradient.css b/css/components/sticky.gradient.css new file mode 100755 index 0000000..97141d0 --- /dev/null +++ b/css/components/sticky.gradient.css | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Sticky | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. More robust if padding and border are used | ||
| 7 | */ | ||
| 8 | [data-uk-sticky].uk-active { | ||
| 9 | z-index: 980; | ||
| 10 | /* 1 */ | ||
| 11 | box-sizing: border-box; | ||
| 12 | } | ||
| 13 | /* | ||
| 14 | * Faster animations | ||
| 15 | */ | ||
| 16 | [data-uk-sticky][class*='uk-animation-'] { | ||
| 17 | -webkit-animation-duration: 0.2s; | ||
| 18 | animation-duration: 0.2s; | ||
| 19 | } | ||
| 20 | [data-uk-sticky].uk-animation-reverse { | ||
| 21 | -webkit-animation-duration: 0.2s; | ||
| 22 | animation-duration: 0.2s; | ||
| 23 | } | ||
| diff --git a/css/components/sticky.gradient.min.css b/css/components/sticky.gradient.min.css new file mode 100755 index 0000000..d54870f --- /dev/null +++ b/css/components/sticky.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | [data-uk-sticky].uk-active{z-index:980;box-sizing:border-box}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.2s;animation-duration:.2s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.2s;animation-duration:.2s} \ No newline at end of file | ||
| diff --git a/css/components/sticky.min.css b/css/components/sticky.min.css new file mode 100755 index 0000000..d54870f --- /dev/null +++ b/css/components/sticky.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | [data-uk-sticky].uk-active{z-index:980;box-sizing:border-box}[data-uk-sticky][class*=uk-animation-]{-webkit-animation-duration:.2s;animation-duration:.2s}[data-uk-sticky].uk-animation-reverse{-webkit-animation-duration:.2s;animation-duration:.2s} \ No newline at end of file | ||
| diff --git a/css/components/tooltip.almost-flat.css b/css/components/tooltip.almost-flat.css new file mode 100755 index 0000000..07623b7 --- /dev/null +++ b/css/components/tooltip.almost-flat.css | |||
| @@ -0,0 +1,118 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Tooltip | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Hide by default | ||
| 7 | * 2. Set fixed position | ||
| 8 | * 3. Set dimensions | ||
| 9 | * 4. Set style | ||
| 10 | */ | ||
| 11 | .uk-tooltip { | ||
| 12 | /* 1 */ | ||
| 13 | display: none; | ||
| 14 | /* 2 */ | ||
| 15 | position: absolute; | ||
| 16 | z-index: 1030; | ||
| 17 | /* 3 */ | ||
| 18 | box-sizing: border-box; | ||
| 19 | max-width: 200px; | ||
| 20 | padding: 5px 8px; | ||
| 21 | /* 4 */ | ||
| 22 | background: #333; | ||
| 23 | color: rgba(255, 255, 255, 0.7); | ||
| 24 | font-size: 12px; | ||
| 25 | line-height: 18px; | ||
| 26 | border-radius: 3px; | ||
| 27 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 28 | } | ||
| 29 | /* Triangle | ||
| 30 | ========================================================================== */ | ||
| 31 | /* | ||
| 32 | * 1. Dashed is less antialised than solid | ||
| 33 | */ | ||
| 34 | .uk-tooltip:after { | ||
| 35 | content: ""; | ||
| 36 | display: block; | ||
| 37 | position: absolute; | ||
| 38 | width: 0; | ||
| 39 | height: 0; | ||
| 40 | /* 1 */ | ||
| 41 | border: 5px dashed #333; | ||
| 42 | } | ||
| 43 | /* Direction modifiers | ||
| 44 | ========================================================================== */ | ||
| 45 | /* | ||
| 46 | * Top | ||
| 47 | */ | ||
| 48 | .uk-tooltip-top:after, | ||
| 49 | .uk-tooltip-top-left:after, | ||
| 50 | .uk-tooltip-top-right:after { | ||
| 51 | bottom: -5px; | ||
| 52 | border-top-style: solid; | ||
| 53 | border-bottom: none; | ||
| 54 | border-left-color: transparent; | ||
| 55 | border-right-color: transparent; | ||
| 56 | border-top-color: #333; | ||
| 57 | } | ||
| 58 | /* | ||
| 59 | * Bottom | ||
| 60 | */ | ||
| 61 | .uk-tooltip-bottom:after, | ||
| 62 | .uk-tooltip-bottom-left:after, | ||
| 63 | .uk-tooltip-bottom-right:after { | ||
| 64 | top: -5px; | ||
| 65 | border-bottom-style: solid; | ||
| 66 | border-top: none; | ||
| 67 | border-left-color: transparent; | ||
| 68 | border-right-color: transparent; | ||
| 69 | border-bottom-color: #333; | ||
| 70 | } | ||
| 71 | /* | ||
| 72 | * Top/Bottom center | ||
| 73 | */ | ||
| 74 | .uk-tooltip-top:after, | ||
| 75 | .uk-tooltip-bottom:after { | ||
| 76 | left: 50%; | ||
| 77 | margin-left: -5px; | ||
| 78 | } | ||
| 79 | /* | ||
| 80 | * Top/Bottom left | ||
| 81 | */ | ||
| 82 | .uk-tooltip-top-left:after, | ||
| 83 | .uk-tooltip-bottom-left:after { | ||
| 84 | left: 10px; | ||
| 85 | } | ||
| 86 | /* | ||
| 87 | * Top/Bottom right | ||
| 88 | */ | ||
| 89 | .uk-tooltip-top-right:after, | ||
| 90 | .uk-tooltip-bottom-right:after { | ||
| 91 | right: 10px; | ||
| 92 | } | ||
| 93 | /* | ||
| 94 | * Left | ||
| 95 | */ | ||
| 96 | .uk-tooltip-left:after { | ||
| 97 | right: -5px; | ||
| 98 | top: 50%; | ||
| 99 | margin-top: -5px; | ||
| 100 | border-left-style: solid; | ||
| 101 | border-right: none; | ||
| 102 | border-top-color: transparent; | ||
| 103 | border-bottom-color: transparent; | ||
| 104 | border-left-color: #333; | ||
| 105 | } | ||
| 106 | /* | ||
| 107 | * Right | ||
| 108 | */ | ||
| 109 | .uk-tooltip-right:after { | ||
| 110 | left: -5px; | ||
| 111 | top: 50%; | ||
| 112 | margin-top: -5px; | ||
| 113 | border-right-style: solid; | ||
| 114 | border-left: none; | ||
| 115 | border-top-color: transparent; | ||
| 116 | border-bottom-color: transparent; | ||
| 117 | border-right-color: #333; | ||
| 118 | } | ||
| diff --git a/css/components/tooltip.almost-flat.min.css b/css/components/tooltip.almost-flat.min.css new file mode 100755 index 0000000..4079faf --- /dev/null +++ b/css/components/tooltip.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file | ||
| diff --git a/css/components/tooltip.css b/css/components/tooltip.css new file mode 100755 index 0000000..df53e3e --- /dev/null +++ b/css/components/tooltip.css | |||
| @@ -0,0 +1,116 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Tooltip | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Hide by default | ||
| 7 | * 2. Set fixed position | ||
| 8 | * 3. Set dimensions | ||
| 9 | * 4. Set style | ||
| 10 | */ | ||
| 11 | .uk-tooltip { | ||
| 12 | /* 1 */ | ||
| 13 | display: none; | ||
| 14 | /* 2 */ | ||
| 15 | position: absolute; | ||
| 16 | z-index: 1030; | ||
| 17 | /* 3 */ | ||
| 18 | box-sizing: border-box; | ||
| 19 | max-width: 200px; | ||
| 20 | padding: 5px 8px; | ||
| 21 | /* 4 */ | ||
| 22 | background: #333; | ||
| 23 | color: rgba(255, 255, 255, 0.7); | ||
| 24 | font-size: 12px; | ||
| 25 | line-height: 18px; | ||
| 26 | } | ||
| 27 | /* Triangle | ||
| 28 | ========================================================================== */ | ||
| 29 | /* | ||
| 30 | * 1. Dashed is less antialised than solid | ||
| 31 | */ | ||
| 32 | .uk-tooltip:after { | ||
| 33 | content: ""; | ||
| 34 | display: block; | ||
| 35 | position: absolute; | ||
| 36 | width: 0; | ||
| 37 | height: 0; | ||
| 38 | /* 1 */ | ||
| 39 | border: 5px dashed #333; | ||
| 40 | } | ||
| 41 | /* Direction modifiers | ||
| 42 | ========================================================================== */ | ||
| 43 | /* | ||
| 44 | * Top | ||
| 45 | */ | ||
| 46 | .uk-tooltip-top:after, | ||
| 47 | .uk-tooltip-top-left:after, | ||
| 48 | .uk-tooltip-top-right:after { | ||
| 49 | bottom: -5px; | ||
| 50 | border-top-style: solid; | ||
| 51 | border-bottom: none; | ||
| 52 | border-left-color: transparent; | ||
| 53 | border-right-color: transparent; | ||
| 54 | border-top-color: #333; | ||
| 55 | } | ||
| 56 | /* | ||
| 57 | * Bottom | ||
| 58 | */ | ||
| 59 | .uk-tooltip-bottom:after, | ||
| 60 | .uk-tooltip-bottom-left:after, | ||
| 61 | .uk-tooltip-bottom-right:after { | ||
| 62 | top: -5px; | ||
| 63 | border-bottom-style: solid; | ||
| 64 | border-top: none; | ||
| 65 | border-left-color: transparent; | ||
| 66 | border-right-color: transparent; | ||
| 67 | border-bottom-color: #333; | ||
| 68 | } | ||
| 69 | /* | ||
| 70 | * Top/Bottom center | ||
| 71 | */ | ||
| 72 | .uk-tooltip-top:after, | ||
| 73 | .uk-tooltip-bottom:after { | ||
| 74 | left: 50%; | ||
| 75 | margin-left: -5px; | ||
| 76 | } | ||
| 77 | /* | ||
| 78 | * Top/Bottom left | ||
| 79 | */ | ||
| 80 | .uk-tooltip-top-left:after, | ||
| 81 | .uk-tooltip-bottom-left:after { | ||
| 82 | left: 10px; | ||
| 83 | } | ||
| 84 | /* | ||
| 85 | * Top/Bottom right | ||
| 86 | */ | ||
| 87 | .uk-tooltip-top-right:after, | ||
| 88 | .uk-tooltip-bottom-right:after { | ||
| 89 | right: 10px; | ||
| 90 | } | ||
| 91 | /* | ||
| 92 | * Left | ||
| 93 | */ | ||
| 94 | .uk-tooltip-left:after { | ||
| 95 | right: -5px; | ||
| 96 | top: 50%; | ||
| 97 | margin-top: -5px; | ||
| 98 | border-left-style: solid; | ||
| 99 | border-right: none; | ||
| 100 | border-top-color: transparent; | ||
| 101 | border-bottom-color: transparent; | ||
| 102 | border-left-color: #333; | ||
| 103 | } | ||
| 104 | /* | ||
| 105 | * Right | ||
| 106 | */ | ||
| 107 | .uk-tooltip-right:after { | ||
| 108 | left: -5px; | ||
| 109 | top: 50%; | ||
| 110 | margin-top: -5px; | ||
| 111 | border-right-style: solid; | ||
| 112 | border-left: none; | ||
| 113 | border-top-color: transparent; | ||
| 114 | border-bottom-color: transparent; | ||
| 115 | border-right-color: #333; | ||
| 116 | } | ||
| diff --git a/css/components/tooltip.gradient.css b/css/components/tooltip.gradient.css new file mode 100755 index 0000000..07623b7 --- /dev/null +++ b/css/components/tooltip.gradient.css | |||
| @@ -0,0 +1,118 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Tooltip | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Hide by default | ||
| 7 | * 2. Set fixed position | ||
| 8 | * 3. Set dimensions | ||
| 9 | * 4. Set style | ||
| 10 | */ | ||
| 11 | .uk-tooltip { | ||
| 12 | /* 1 */ | ||
| 13 | display: none; | ||
| 14 | /* 2 */ | ||
| 15 | position: absolute; | ||
| 16 | z-index: 1030; | ||
| 17 | /* 3 */ | ||
| 18 | box-sizing: border-box; | ||
| 19 | max-width: 200px; | ||
| 20 | padding: 5px 8px; | ||
| 21 | /* 4 */ | ||
| 22 | background: #333; | ||
| 23 | color: rgba(255, 255, 255, 0.7); | ||
| 24 | font-size: 12px; | ||
| 25 | line-height: 18px; | ||
| 26 | border-radius: 3px; | ||
| 27 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 28 | } | ||
| 29 | /* Triangle | ||
| 30 | ========================================================================== */ | ||
| 31 | /* | ||
| 32 | * 1. Dashed is less antialised than solid | ||
| 33 | */ | ||
| 34 | .uk-tooltip:after { | ||
| 35 | content: ""; | ||
| 36 | display: block; | ||
| 37 | position: absolute; | ||
| 38 | width: 0; | ||
| 39 | height: 0; | ||
| 40 | /* 1 */ | ||
| 41 | border: 5px dashed #333; | ||
| 42 | } | ||
| 43 | /* Direction modifiers | ||
| 44 | ========================================================================== */ | ||
| 45 | /* | ||
| 46 | * Top | ||
| 47 | */ | ||
| 48 | .uk-tooltip-top:after, | ||
| 49 | .uk-tooltip-top-left:after, | ||
| 50 | .uk-tooltip-top-right:after { | ||
| 51 | bottom: -5px; | ||
| 52 | border-top-style: solid; | ||
| 53 | border-bottom: none; | ||
| 54 | border-left-color: transparent; | ||
| 55 | border-right-color: transparent; | ||
| 56 | border-top-color: #333; | ||
| 57 | } | ||
| 58 | /* | ||
| 59 | * Bottom | ||
| 60 | */ | ||
| 61 | .uk-tooltip-bottom:after, | ||
| 62 | .uk-tooltip-bottom-left:after, | ||
| 63 | .uk-tooltip-bottom-right:after { | ||
| 64 | top: -5px; | ||
| 65 | border-bottom-style: solid; | ||
| 66 | border-top: none; | ||
| 67 | border-left-color: transparent; | ||
| 68 | border-right-color: transparent; | ||
| 69 | border-bottom-color: #333; | ||
| 70 | } | ||
| 71 | /* | ||
| 72 | * Top/Bottom center | ||
| 73 | */ | ||
| 74 | .uk-tooltip-top:after, | ||
| 75 | .uk-tooltip-bottom:after { | ||
| 76 | left: 50%; | ||
| 77 | margin-left: -5px; | ||
| 78 | } | ||
| 79 | /* | ||
| 80 | * Top/Bottom left | ||
| 81 | */ | ||
| 82 | .uk-tooltip-top-left:after, | ||
| 83 | .uk-tooltip-bottom-left:after { | ||
| 84 | left: 10px; | ||
| 85 | } | ||
| 86 | /* | ||
| 87 | * Top/Bottom right | ||
| 88 | */ | ||
| 89 | .uk-tooltip-top-right:after, | ||
| 90 | .uk-tooltip-bottom-right:after { | ||
| 91 | right: 10px; | ||
| 92 | } | ||
| 93 | /* | ||
| 94 | * Left | ||
| 95 | */ | ||
| 96 | .uk-tooltip-left:after { | ||
| 97 | right: -5px; | ||
| 98 | top: 50%; | ||
| 99 | margin-top: -5px; | ||
| 100 | border-left-style: solid; | ||
| 101 | border-right: none; | ||
| 102 | border-top-color: transparent; | ||
| 103 | border-bottom-color: transparent; | ||
| 104 | border-left-color: #333; | ||
| 105 | } | ||
| 106 | /* | ||
| 107 | * Right | ||
| 108 | */ | ||
| 109 | .uk-tooltip-right:after { | ||
| 110 | left: -5px; | ||
| 111 | top: 50%; | ||
| 112 | margin-top: -5px; | ||
| 113 | border-right-style: solid; | ||
| 114 | border-left: none; | ||
| 115 | border-top-color: transparent; | ||
| 116 | border-bottom-color: transparent; | ||
| 117 | border-right-color: #333; | ||
| 118 | } | ||
| diff --git a/css/components/tooltip.gradient.min.css b/css/components/tooltip.gradient.min.css new file mode 100755 index 0000000..4079faf --- /dev/null +++ b/css/components/tooltip.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px;border-radius:3px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file | ||
| diff --git a/css/components/tooltip.min.css b/css/components/tooltip.min.css new file mode 100755 index 0000000..8689cbf --- /dev/null +++ b/css/components/tooltip.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-tooltip{display:none;position:absolute;z-index:1030;box-sizing:border-box;max-width:200px;padding:5px 8px;background:#333;color:rgba(255,255,255,.7);font-size:12px;line-height:18px}.uk-tooltip:after{content:"";display:block;position:absolute;width:0;height:0;border:5px dashed #333}.uk-tooltip-top-left:after,.uk-tooltip-top-right:after,.uk-tooltip-top:after{bottom:-5px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent;border-top-color:#333}.uk-tooltip-bottom-left:after,.uk-tooltip-bottom-right:after,.uk-tooltip-bottom:after{top:-5px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent;border-bottom-color:#333}.uk-tooltip-bottom:after,.uk-tooltip-top:after{left:50%;margin-left:-5px}.uk-tooltip-bottom-left:after,.uk-tooltip-top-left:after{left:10px}.uk-tooltip-bottom-right:after,.uk-tooltip-top-right:after{right:10px}.uk-tooltip-left:after{right:-5px;top:50%;margin-top:-5px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent;border-left-color:#333}.uk-tooltip-right:after{left:-5px;top:50%;margin-top:-5px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent;border-right-color:#333} \ No newline at end of file | ||
| diff --git a/css/components/upload.almost-flat.css b/css/components/upload.almost-flat.css new file mode 100755 index 0000000..e4cc0bb --- /dev/null +++ b/css/components/upload.almost-flat.css | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Upload | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * Create a box-shadow when dragging a file over the upload area | ||
| 7 | */ | ||
| 8 | .uk-dragover { | ||
| 9 | box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); | ||
| 10 | } | ||
| diff --git a/css/components/upload.almost-flat.min.css b/css/components/upload.almost-flat.min.css new file mode 100755 index 0000000..f2c022b --- /dev/null +++ b/css/components/upload.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file | ||
| diff --git a/css/components/upload.css b/css/components/upload.css new file mode 100755 index 0000000..e4cc0bb --- /dev/null +++ b/css/components/upload.css | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Upload | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * Create a box-shadow when dragging a file over the upload area | ||
| 7 | */ | ||
| 8 | .uk-dragover { | ||
| 9 | box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); | ||
| 10 | } | ||
| diff --git a/css/components/upload.gradient.css b/css/components/upload.gradient.css new file mode 100755 index 0000000..e4cc0bb --- /dev/null +++ b/css/components/upload.gradient.css | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Upload | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * Create a box-shadow when dragging a file over the upload area | ||
| 7 | */ | ||
| 8 | .uk-dragover { | ||
| 9 | box-shadow: 0 0 20px rgba(100, 100, 100, 0.3); | ||
| 10 | } | ||
| diff --git a/css/components/upload.gradient.min.css b/css/components/upload.gradient.min.css new file mode 100755 index 0000000..f2c022b --- /dev/null +++ b/css/components/upload.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file | ||
| diff --git a/css/components/upload.min.css b/css/components/upload.min.css new file mode 100755 index 0000000..f2c022b --- /dev/null +++ b/css/components/upload.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | .uk-dragover{box-shadow:0 0 20px rgba(100,100,100,.3)} \ No newline at end of file | ||
| diff --git a/css/uikit.almost-flat.css b/css/uikit.almost-flat.css new file mode 100755 index 0000000..0ad7b5d --- /dev/null +++ b/css/uikit.almost-flat.css | |||
| @@ -0,0 +1,9043 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Base | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Normalize default `font-family` and set `font-size` to support `rem` units | ||
| 7 | * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom | ||
| 8 | * 3. Style | ||
| 9 | */ | ||
| 10 | html { | ||
| 11 | /* 1 */ | ||
| 12 | font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 13 | /* 2 */ | ||
| 14 | -webkit-text-size-adjust: 100%; | ||
| 15 | -ms-text-size-adjust: 100%; | ||
| 16 | /* 3 */ | ||
| 17 | background: #fff; | ||
| 18 | color: #444; | ||
| 19 | } | ||
| 20 | /* | ||
| 21 | * Removes default margin. | ||
| 22 | */ | ||
| 23 | body { | ||
| 24 | margin: 0; | ||
| 25 | } | ||
| 26 | /* Links | ||
| 27 | ========================================================================== */ | ||
| 28 | /* | ||
| 29 | * Remove the gray background color from active links in IE 10. | ||
| 30 | */ | ||
| 31 | a { | ||
| 32 | background: transparent; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Improve readability of focused elements when they are also in an active/hover state. | ||
| 36 | */ | ||
| 37 | a:active, | ||
| 38 | a:hover { | ||
| 39 | outline: 0; | ||
| 40 | } | ||
| 41 | /* | ||
| 42 | * Style | ||
| 43 | */ | ||
| 44 | a, | ||
| 45 | .uk-link { | ||
| 46 | color: #07D; | ||
| 47 | text-decoration: none; | ||
| 48 | cursor: pointer; | ||
| 49 | } | ||
| 50 | a:hover, | ||
| 51 | .uk-link:hover { | ||
| 52 | color: #059; | ||
| 53 | text-decoration: underline; | ||
| 54 | } | ||
| 55 | /* Text-level semantics | ||
| 56 | ========================================================================== */ | ||
| 57 | /* | ||
| 58 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome. | ||
| 59 | */ | ||
| 60 | abbr[title] { | ||
| 61 | border-bottom: 1px dotted; | ||
| 62 | } | ||
| 63 | /* | ||
| 64 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. | ||
| 65 | */ | ||
| 66 | b, | ||
| 67 | strong { | ||
| 68 | font-weight: bold; | ||
| 69 | } | ||
| 70 | /* | ||
| 71 | * 1. Address odd `em`-unit font size rendering in all browsers. | ||
| 72 | * 2. Consolas has a better baseline in running text compared to `Courier` | ||
| 73 | */ | ||
| 74 | :not(pre) > code, | ||
| 75 | :not(pre) > kbd, | ||
| 76 | :not(pre) > samp { | ||
| 77 | /* 1 */ | ||
| 78 | font-size: 12px; | ||
| 79 | /* 2 */ | ||
| 80 | font-family: Consolas, monospace, serif; | ||
| 81 | /* 3 */ | ||
| 82 | color: #D05; | ||
| 83 | white-space: nowrap; | ||
| 84 | padding: 0 4px; | ||
| 85 | border: 1px solid #ddd; | ||
| 86 | border-radius: 3px; | ||
| 87 | background: #fafafa; | ||
| 88 | } | ||
| 89 | /* | ||
| 90 | * Emphasize | ||
| 91 | */ | ||
| 92 | em { | ||
| 93 | color: #D05; | ||
| 94 | } | ||
| 95 | /* | ||
| 96 | * Insert | ||
| 97 | */ | ||
| 98 | ins { | ||
| 99 | background: #ffa; | ||
| 100 | color: #444; | ||
| 101 | text-decoration: none; | ||
| 102 | } | ||
| 103 | /* | ||
| 104 | * Mark | ||
| 105 | * Note: Addresses styling not present in IE 8/9. | ||
| 106 | */ | ||
| 107 | mark { | ||
| 108 | background: #ffa; | ||
| 109 | color: #444; | ||
| 110 | } | ||
| 111 | /* | ||
| 112 | * Quote | ||
| 113 | */ | ||
| 114 | q { | ||
| 115 | font-style: italic; | ||
| 116 | } | ||
| 117 | /* | ||
| 118 | * Addresses inconsistent and variable font size in all browsers. | ||
| 119 | */ | ||
| 120 | small { | ||
| 121 | font-size: 80%; | ||
| 122 | } | ||
| 123 | /* | ||
| 124 | * Prevents `sub` and `sup` affecting `line-height` in all browsers. | ||
| 125 | */ | ||
| 126 | sub, | ||
| 127 | sup { | ||
| 128 | font-size: 75%; | ||
| 129 | line-height: 0; | ||
| 130 | position: relative; | ||
| 131 | vertical-align: baseline; | ||
| 132 | } | ||
| 133 | sup { | ||
| 134 | top: -0.5em; | ||
| 135 | } | ||
| 136 | sub { | ||
| 137 | bottom: -0.25em; | ||
| 138 | } | ||
| 139 | /* Embedded content | ||
| 140 | ========================================================================== */ | ||
| 141 | /* | ||
| 142 | * Remove the gap between embedded content and the bottom of their containers. | ||
| 143 | */ | ||
| 144 | audio, | ||
| 145 | canvas, | ||
| 146 | iframe, | ||
| 147 | img, | ||
| 148 | svg, | ||
| 149 | video { | ||
| 150 | vertical-align: middle; | ||
| 151 | } | ||
| 152 | /* | ||
| 153 | * Responsiveness | ||
| 154 | * 1. Sets a maximum width relative to the parent and auto scales the height | ||
| 155 | * 2. Corrects `max-width` behavior if padding and border are used | ||
| 156 | */ | ||
| 157 | audio, | ||
| 158 | canvas, | ||
| 159 | img, | ||
| 160 | svg, | ||
| 161 | video { | ||
| 162 | /* 1 */ | ||
| 163 | max-width: 100%; | ||
| 164 | height: auto; | ||
| 165 | /* 2 */ | ||
| 166 | box-sizing: border-box; | ||
| 167 | } | ||
| 168 | /* | ||
| 169 | * Preserve original dimensions | ||
| 170 | */ | ||
| 171 | .uk-img-preserve, | ||
| 172 | .uk-img-preserve audio, | ||
| 173 | .uk-img-preserve canvas, | ||
| 174 | .uk-img-preserve img, | ||
| 175 | .uk-img-preserve svg, | ||
| 176 | .uk-img-preserve video { | ||
| 177 | max-width: none; | ||
| 178 | } | ||
| 179 | /* | ||
| 180 | * Remove border when inside `a` element in IE 8/9/10. | ||
| 181 | */ | ||
| 182 | img { | ||
| 183 | border: 0; | ||
| 184 | } | ||
| 185 | /* | ||
| 186 | * Correct overflow not hidden in IE 9/10/11. | ||
| 187 | */ | ||
| 188 | svg:not(:root) { | ||
| 189 | overflow: hidden; | ||
| 190 | } | ||
| 191 | /* Block elements | ||
| 192 | ========================================================================== */ | ||
| 193 | /* | ||
| 194 | * Reset margin | ||
| 195 | */ | ||
| 196 | blockquote, | ||
| 197 | figure { | ||
| 198 | margin: 0; | ||
| 199 | } | ||
| 200 | /* | ||
| 201 | * Margins | ||
| 202 | */ | ||
| 203 | p, | ||
| 204 | ul, | ||
| 205 | ol, | ||
| 206 | dl, | ||
| 207 | blockquote, | ||
| 208 | pre, | ||
| 209 | address, | ||
| 210 | fieldset, | ||
| 211 | figure { | ||
| 212 | margin: 0 0 15px 0; | ||
| 213 | } | ||
| 214 | * + p, | ||
| 215 | * + ul, | ||
| 216 | * + ol, | ||
| 217 | * + dl, | ||
| 218 | * + blockquote, | ||
| 219 | * + pre, | ||
| 220 | * + address, | ||
| 221 | * + fieldset, | ||
| 222 | * + figure { | ||
| 223 | margin-top: 15px; | ||
| 224 | } | ||
| 225 | /* Headings | ||
| 226 | ========================================================================== */ | ||
| 227 | h1, | ||
| 228 | h2, | ||
| 229 | h3, | ||
| 230 | h4, | ||
| 231 | h5, | ||
| 232 | h6 { | ||
| 233 | margin: 0 0 15px 0; | ||
| 234 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 235 | font-weight: normal; | ||
| 236 | color: #444; | ||
| 237 | text-transform: none; | ||
| 238 | } | ||
| 239 | /* | ||
| 240 | * Margins | ||
| 241 | */ | ||
| 242 | * + h1, | ||
| 243 | * + h2, | ||
| 244 | * + h3, | ||
| 245 | * + h4, | ||
| 246 | * + h5, | ||
| 247 | * + h6 { | ||
| 248 | margin-top: 25px; | ||
| 249 | } | ||
| 250 | /* | ||
| 251 | * Sizes | ||
| 252 | */ | ||
| 253 | h1, | ||
| 254 | .uk-h1 { | ||
| 255 | font-size: 36px; | ||
| 256 | line-height: 42px; | ||
| 257 | } | ||
| 258 | h2, | ||
| 259 | .uk-h2 { | ||
| 260 | font-size: 24px; | ||
| 261 | line-height: 30px; | ||
| 262 | } | ||
| 263 | h3, | ||
| 264 | .uk-h3 { | ||
| 265 | font-size: 18px; | ||
| 266 | line-height: 24px; | ||
| 267 | } | ||
| 268 | h4, | ||
| 269 | .uk-h4 { | ||
| 270 | font-size: 16px; | ||
| 271 | line-height: 22px; | ||
| 272 | } | ||
| 273 | h5, | ||
| 274 | .uk-h5 { | ||
| 275 | font-size: 14px; | ||
| 276 | line-height: 20px; | ||
| 277 | } | ||
| 278 | h6, | ||
| 279 | .uk-h6 { | ||
| 280 | font-size: 12px; | ||
| 281 | line-height: 18px; | ||
| 282 | } | ||
| 283 | /* Lists | ||
| 284 | ========================================================================== */ | ||
| 285 | ul, | ||
| 286 | ol { | ||
| 287 | padding-left: 30px; | ||
| 288 | } | ||
| 289 | /* | ||
| 290 | * Reset margin for nested lists | ||
| 291 | */ | ||
| 292 | ul > li > ul, | ||
| 293 | ul > li > ol, | ||
| 294 | ol > li > ol, | ||
| 295 | ol > li > ul { | ||
| 296 | margin: 0; | ||
| 297 | } | ||
| 298 | /* Description lists | ||
| 299 | ========================================================================== */ | ||
| 300 | dt { | ||
| 301 | font-weight: bold; | ||
| 302 | } | ||
| 303 | dd { | ||
| 304 | margin-left: 0; | ||
| 305 | } | ||
| 306 | /* Horizontal rules | ||
| 307 | ========================================================================== */ | ||
| 308 | /* | ||
| 309 | * 1. Address differences between Firefox and other browsers. | ||
| 310 | * 2. Style | ||
| 311 | */ | ||
| 312 | hr { | ||
| 313 | /* 1 */ | ||
| 314 | box-sizing: content-box; | ||
| 315 | height: 0; | ||
| 316 | /* 2 */ | ||
| 317 | margin: 15px 0; | ||
| 318 | border: 0; | ||
| 319 | border-top: 1px solid #ddd; | ||
| 320 | } | ||
| 321 | /* Address | ||
| 322 | ========================================================================== */ | ||
| 323 | address { | ||
| 324 | font-style: normal; | ||
| 325 | } | ||
| 326 | /* Blockquotes | ||
| 327 | ========================================================================== */ | ||
| 328 | blockquote { | ||
| 329 | padding-left: 15px; | ||
| 330 | border-left: 5px solid #ddd; | ||
| 331 | font-size: 16px; | ||
| 332 | line-height: 22px; | ||
| 333 | font-style: italic; | ||
| 334 | } | ||
| 335 | /* Preformatted text | ||
| 336 | ========================================================================== */ | ||
| 337 | /* | ||
| 338 | * 1. Contain overflow in all browsers. | ||
| 339 | */ | ||
| 340 | pre { | ||
| 341 | padding: 10px; | ||
| 342 | background: #fafafa; | ||
| 343 | font: 12px / 18px Consolas, monospace, serif; | ||
| 344 | color: #444; | ||
| 345 | -moz-tab-size: 4; | ||
| 346 | tab-size: 4; | ||
| 347 | /* 1 */ | ||
| 348 | overflow: auto; | ||
| 349 | border: 1px solid #ddd; | ||
| 350 | border-radius: 3px; | ||
| 351 | } | ||
| 352 | /* Selection pseudo-element | ||
| 353 | ========================================================================== */ | ||
| 354 | ::-moz-selection { | ||
| 355 | background: #39f; | ||
| 356 | color: #fff; | ||
| 357 | text-shadow: none; | ||
| 358 | } | ||
| 359 | ::selection { | ||
| 360 | background: #39f; | ||
| 361 | color: #fff; | ||
| 362 | text-shadow: none; | ||
| 363 | } | ||
| 364 | /* HTML5 elements | ||
| 365 | ========================================================================== */ | ||
| 366 | /* | ||
| 367 | * Correct `block` display not defined for any HTML5 element in IE 8/9. | ||
| 368 | * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. | ||
| 369 | * Correct `block` display not defined for `main` in IE 11. | ||
| 370 | */ | ||
| 371 | article, | ||
| 372 | aside, | ||
| 373 | details, | ||
| 374 | figcaption, | ||
| 375 | figure, | ||
| 376 | footer, | ||
| 377 | header, | ||
| 378 | main, | ||
| 379 | nav, | ||
| 380 | section, | ||
| 381 | summary { | ||
| 382 | display: block; | ||
| 383 | } | ||
| 384 | /* | ||
| 385 | * Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. | ||
| 386 | */ | ||
| 387 | progress { | ||
| 388 | vertical-align: baseline; | ||
| 389 | } | ||
| 390 | /* | ||
| 391 | * Prevent displaying `audio` without controls in Chrome, Safari and Opera | ||
| 392 | */ | ||
| 393 | audio:not([controls]) { | ||
| 394 | display: none; | ||
| 395 | } | ||
| 396 | /* | ||
| 397 | * Address `[hidden]` styling not present in IE 8/9/10. | ||
| 398 | * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. | ||
| 399 | */ | ||
| 400 | [hidden], | ||
| 401 | template { | ||
| 402 | display: none; | ||
| 403 | } | ||
| 404 | /* Iframe | ||
| 405 | ========================================================================== */ | ||
| 406 | iframe { | ||
| 407 | border: 0; | ||
| 408 | } | ||
| 409 | /* Fix viewport for IE10 snap mode | ||
| 410 | ========================================================================== */ | ||
| 411 | @media screen and (max-width: 400px) { | ||
| 412 | @-ms-viewport { | ||
| 413 | width: device-width; | ||
| 414 | } | ||
| 415 | } | ||
| 416 | /* ======================================================================== | ||
| 417 | Component: Grid | ||
| 418 | ========================================================================== */ | ||
| 419 | /* | ||
| 420 | * 1. Makes grid more robust so that it can be used with other block elements like lists | ||
| 421 | */ | ||
| 422 | .uk-grid { | ||
| 423 | display: -ms-flexbox; | ||
| 424 | display: -webkit-flex; | ||
| 425 | display: flex; | ||
| 426 | -ms-flex-wrap: wrap; | ||
| 427 | -webkit-flex-wrap: wrap; | ||
| 428 | flex-wrap: wrap; | ||
| 429 | /* 1 */ | ||
| 430 | margin: 0; | ||
| 431 | padding: 0; | ||
| 432 | list-style: none; | ||
| 433 | } | ||
| 434 | /* | ||
| 435 | * DEPRECATED | ||
| 436 | * Micro clearfix | ||
| 437 | * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit | ||
| 438 | */ | ||
| 439 | .uk-grid:before, | ||
| 440 | .uk-grid:after { | ||
| 441 | content: ""; | ||
| 442 | display: block; | ||
| 443 | overflow: hidden; | ||
| 444 | } | ||
| 445 | .uk-grid:after { | ||
| 446 | clear: both; | ||
| 447 | } | ||
| 448 | /* | ||
| 449 | * Grid cell | ||
| 450 | * 1. Space is allocated solely based on content dimensions | ||
| 451 | * 2. Makes grid more robust so that it can be used with other block elements | ||
| 452 | * 3. DEPRECATED Using `float` to support IE9 | ||
| 453 | */ | ||
| 454 | .uk-grid > * { | ||
| 455 | /* 1 */ | ||
| 456 | -ms-flex: none; | ||
| 457 | -webkit-flex: none; | ||
| 458 | flex: none; | ||
| 459 | /* 2 */ | ||
| 460 | margin: 0; | ||
| 461 | /* 3 */ | ||
| 462 | float: left; | ||
| 463 | } | ||
| 464 | /* | ||
| 465 | * Remove margin from the last-child | ||
| 466 | */ | ||
| 467 | .uk-grid > * > :last-child { | ||
| 468 | margin-bottom: 0; | ||
| 469 | } | ||
| 470 | /* Grid gutter | ||
| 471 | ========================================================================== */ | ||
| 472 | /* | ||
| 473 | * Default gutter | ||
| 474 | */ | ||
| 475 | /* Horizontal */ | ||
| 476 | .uk-grid { | ||
| 477 | margin-left: -25px; | ||
| 478 | } | ||
| 479 | .uk-grid > * { | ||
| 480 | padding-left: 25px; | ||
| 481 | } | ||
| 482 | /* Vertical */ | ||
| 483 | .uk-grid + .uk-grid, | ||
| 484 | .uk-grid-margin, | ||
| 485 | .uk-grid > * > .uk-panel + .uk-panel { | ||
| 486 | margin-top: 25px; | ||
| 487 | } | ||
| 488 | /* Large screen and bigger */ | ||
| 489 | @media (min-width: 1220px) { | ||
| 490 | /* Horizontal */ | ||
| 491 | .uk-grid { | ||
| 492 | margin-left: -35px; | ||
| 493 | } | ||
| 494 | .uk-grid > * { | ||
| 495 | padding-left: 35px; | ||
| 496 | } | ||
| 497 | /* Vertical */ | ||
| 498 | .uk-grid + .uk-grid, | ||
| 499 | .uk-grid-margin, | ||
| 500 | .uk-grid > * > .uk-panel + .uk-panel { | ||
| 501 | margin-top: 35px; | ||
| 502 | } | ||
| 503 | } | ||
| 504 | /* | ||
| 505 | * Collapse gutter | ||
| 506 | */ | ||
| 507 | /* Horizontal */ | ||
| 508 | .uk-grid-collapse { | ||
| 509 | margin-left: 0; | ||
| 510 | } | ||
| 511 | .uk-grid-collapse > * { | ||
| 512 | padding-left: 0; | ||
| 513 | } | ||
| 514 | /* Vertical */ | ||
| 515 | .uk-grid-collapse + .uk-grid-collapse, | ||
| 516 | .uk-grid-collapse > .uk-grid-margin, | ||
| 517 | .uk-grid-collapse > * > .uk-panel + .uk-panel { | ||
| 518 | margin-top: 0; | ||
| 519 | } | ||
| 520 | /* | ||
| 521 | * Small gutter | ||
| 522 | */ | ||
| 523 | /* Horizontal */ | ||
| 524 | .uk-grid-small { | ||
| 525 | margin-left: -10px; | ||
| 526 | } | ||
| 527 | .uk-grid-small > * { | ||
| 528 | padding-left: 10px; | ||
| 529 | } | ||
| 530 | /* Vertical */ | ||
| 531 | .uk-grid-small + .uk-grid-small, | ||
| 532 | .uk-grid-small > .uk-grid-margin, | ||
| 533 | .uk-grid-small > * > .uk-panel + .uk-panel { | ||
| 534 | margin-top: 10px; | ||
| 535 | } | ||
| 536 | /* | ||
| 537 | * Medium gutter | ||
| 538 | */ | ||
| 539 | /* Horizontal */ | ||
| 540 | .uk-grid-medium { | ||
| 541 | margin-left: -25px; | ||
| 542 | } | ||
| 543 | .uk-grid-medium > * { | ||
| 544 | padding-left: 25px; | ||
| 545 | } | ||
| 546 | /* Vertical */ | ||
| 547 | .uk-grid-medium + .uk-grid-medium, | ||
| 548 | .uk-grid-medium > .uk-grid-margin, | ||
| 549 | .uk-grid-medium > * > .uk-panel + .uk-panel { | ||
| 550 | margin-top: 25px; | ||
| 551 | } | ||
| 552 | /* | ||
| 553 | * Large gutter | ||
| 554 | */ | ||
| 555 | /* Large screen and bigger */ | ||
| 556 | @media (min-width: 960px) { | ||
| 557 | /* Horizontal */ | ||
| 558 | .uk-grid-large { | ||
| 559 | margin-left: -35px; | ||
| 560 | } | ||
| 561 | .uk-grid-large > * { | ||
| 562 | padding-left: 35px; | ||
| 563 | } | ||
| 564 | /* Vertical */ | ||
| 565 | .uk-grid-large + .uk-grid-large, | ||
| 566 | .uk-grid-large-margin, | ||
| 567 | .uk-grid-large > * > .uk-panel + .uk-panel { | ||
| 568 | margin-top: 35px; | ||
| 569 | } | ||
| 570 | } | ||
| 571 | /* Extra Large screens */ | ||
| 572 | @media (min-width: 1220px) { | ||
| 573 | /* Horizontal */ | ||
| 574 | .uk-grid-large { | ||
| 575 | margin-left: -50px; | ||
| 576 | } | ||
| 577 | .uk-grid-large > * { | ||
| 578 | padding-left: 50px; | ||
| 579 | } | ||
| 580 | /* Vertical */ | ||
| 581 | .uk-grid-large + .uk-grid-large, | ||
| 582 | .uk-grid-large-margin, | ||
| 583 | .uk-grid-large > * > .uk-panel + .uk-panel { | ||
| 584 | margin-top: 50px; | ||
| 585 | } | ||
| 586 | } | ||
| 587 | /* Modifier: `uk-grid-divider` | ||
| 588 | ========================================================================== */ | ||
| 589 | /* | ||
| 590 | * Horizontal divider | ||
| 591 | * Only works with the default gutter. Does not work with gutter collapse, small or large. | ||
| 592 | * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. | ||
| 593 | */ | ||
| 594 | .uk-grid-divider:not(:empty) { | ||
| 595 | margin-left: -25px; | ||
| 596 | margin-right: -25px; | ||
| 597 | } | ||
| 598 | .uk-grid-divider > * { | ||
| 599 | padding-left: 25px; | ||
| 600 | padding-right: 25px; | ||
| 601 | } | ||
| 602 | .uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), | ||
| 603 | .uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), | ||
| 604 | .uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), | ||
| 605 | .uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), | ||
| 606 | .uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), | ||
| 607 | .uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), | ||
| 608 | .uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), | ||
| 609 | .uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), | ||
| 610 | .uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { | ||
| 611 | border-left: 1px solid #ddd; | ||
| 612 | } | ||
| 613 | /* Tablet and bigger */ | ||
| 614 | @media (min-width: 768px) { | ||
| 615 | .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { | ||
| 616 | border-left: 1px solid #ddd; | ||
| 617 | } | ||
| 618 | } | ||
| 619 | /* Desktop and bigger */ | ||
| 620 | @media (min-width: 960px) { | ||
| 621 | .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { | ||
| 622 | border-left: 1px solid #ddd; | ||
| 623 | } | ||
| 624 | } | ||
| 625 | /* Large screen and bigger */ | ||
| 626 | @media (min-width: 1220px) { | ||
| 627 | /* | ||
| 628 | * Large gutter | ||
| 629 | */ | ||
| 630 | .uk-grid-divider:not(:empty) { | ||
| 631 | margin-left: -35px; | ||
| 632 | margin-right: -35px; | ||
| 633 | } | ||
| 634 | .uk-grid-divider > * { | ||
| 635 | padding-left: 35px; | ||
| 636 | padding-right: 35px; | ||
| 637 | } | ||
| 638 | .uk-grid-divider:empty { | ||
| 639 | margin-top: 35px; | ||
| 640 | margin-bottom: 35px; | ||
| 641 | } | ||
| 642 | } | ||
| 643 | /* | ||
| 644 | * Vertical divider | ||
| 645 | */ | ||
| 646 | .uk-grid-divider:empty { | ||
| 647 | margin-top: 25px; | ||
| 648 | margin-bottom: 25px; | ||
| 649 | border-top: 1px solid #ddd; | ||
| 650 | } | ||
| 651 | /* Match panels in grids | ||
| 652 | ========================================================================== */ | ||
| 653 | /* | ||
| 654 | * 1. Behave like a block element | ||
| 655 | */ | ||
| 656 | .uk-grid-match > * { | ||
| 657 | display: -ms-flexbox; | ||
| 658 | display: -webkit-flex; | ||
| 659 | display: flex; | ||
| 660 | /* 1 */ | ||
| 661 | -ms-flex-wrap: wrap; | ||
| 662 | -webkit-flex-wrap: wrap; | ||
| 663 | flex-wrap: wrap; | ||
| 664 | } | ||
| 665 | .uk-grid-match > * > * { | ||
| 666 | /* 1 */ | ||
| 667 | -ms-flex: none; | ||
| 668 | -webkit-flex: none; | ||
| 669 | flex: none; | ||
| 670 | box-sizing: border-box; | ||
| 671 | width: 100%; | ||
| 672 | } | ||
| 673 | /* Even grid cell widths | ||
| 674 | ========================================================================== */ | ||
| 675 | [class*='uk-grid-width'] > * { | ||
| 676 | box-sizing: border-box; | ||
| 677 | width: 100%; | ||
| 678 | } | ||
| 679 | .uk-grid-width-1-2 > * { | ||
| 680 | width: 50%; | ||
| 681 | } | ||
| 682 | .uk-grid-width-1-3 > * { | ||
| 683 | width: 33.333%; | ||
| 684 | } | ||
| 685 | .uk-grid-width-1-4 > * { | ||
| 686 | width: 25%; | ||
| 687 | } | ||
| 688 | .uk-grid-width-1-5 > * { | ||
| 689 | width: 20%; | ||
| 690 | } | ||
| 691 | .uk-grid-width-1-6 > * { | ||
| 692 | width: 16.666%; | ||
| 693 | } | ||
| 694 | .uk-grid-width-1-10 > * { | ||
| 695 | width: 10%; | ||
| 696 | } | ||
| 697 | .uk-grid-width-auto > * { | ||
| 698 | width: auto; | ||
| 699 | } | ||
| 700 | /* Phone landscape and bigger */ | ||
| 701 | @media (min-width: 480px) { | ||
| 702 | .uk-grid-width-small-1-1 > * { | ||
| 703 | width: 100%; | ||
| 704 | } | ||
| 705 | .uk-grid-width-small-1-2 > * { | ||
| 706 | width: 50%; | ||
| 707 | } | ||
| 708 | .uk-grid-width-small-1-3 > * { | ||
| 709 | width: 33.333%; | ||
| 710 | } | ||
| 711 | .uk-grid-width-small-1-4 > * { | ||
| 712 | width: 25%; | ||
| 713 | } | ||
| 714 | .uk-grid-width-small-1-5 > * { | ||
| 715 | width: 20%; | ||
| 716 | } | ||
| 717 | .uk-grid-width-small-1-6 > * { | ||
| 718 | width: 16.666%; | ||
| 719 | } | ||
| 720 | .uk-grid-width-small-1-10 > * { | ||
| 721 | width: 10%; | ||
| 722 | } | ||
| 723 | } | ||
| 724 | /* Tablet and bigger */ | ||
| 725 | @media (min-width: 768px) { | ||
| 726 | .uk-grid-width-medium-1-1 > * { | ||
| 727 | width: 100%; | ||
| 728 | } | ||
| 729 | .uk-grid-width-medium-1-2 > * { | ||
| 730 | width: 50%; | ||
| 731 | } | ||
| 732 | .uk-grid-width-medium-1-3 > * { | ||
| 733 | width: 33.333%; | ||
| 734 | } | ||
| 735 | .uk-grid-width-medium-1-4 > * { | ||
| 736 | width: 25%; | ||
| 737 | } | ||
| 738 | .uk-grid-width-medium-1-5 > * { | ||
| 739 | width: 20%; | ||
| 740 | } | ||
| 741 | .uk-grid-width-medium-1-6 > * { | ||
| 742 | width: 16.666%; | ||
| 743 | } | ||
| 744 | .uk-grid-width-medium-1-10 > * { | ||
| 745 | width: 10%; | ||
| 746 | } | ||
| 747 | } | ||
| 748 | /* Desktop and bigger */ | ||
| 749 | @media (min-width: 960px) { | ||
| 750 | .uk-grid-width-large-1-1 > * { | ||
| 751 | width: 100%; | ||
| 752 | } | ||
| 753 | .uk-grid-width-large-1-2 > * { | ||
| 754 | width: 50%; | ||
| 755 | } | ||
| 756 | .uk-grid-width-large-1-3 > * { | ||
| 757 | width: 33.333%; | ||
| 758 | } | ||
| 759 | .uk-grid-width-large-1-4 > * { | ||
| 760 | width: 25%; | ||
| 761 | } | ||
| 762 | .uk-grid-width-large-1-5 > * { | ||
| 763 | width: 20%; | ||
| 764 | } | ||
| 765 | .uk-grid-width-large-1-6 > * { | ||
| 766 | width: 16.666%; | ||
| 767 | } | ||
| 768 | .uk-grid-width-large-1-10 > * { | ||
| 769 | width: 10%; | ||
| 770 | } | ||
| 771 | } | ||
| 772 | /* Large screen and bigger */ | ||
| 773 | @media (min-width: 1220px) { | ||
| 774 | .uk-grid-width-xlarge-1-1 > * { | ||
| 775 | width: 100%; | ||
| 776 | } | ||
| 777 | .uk-grid-width-xlarge-1-2 > * { | ||
| 778 | width: 50%; | ||
| 779 | } | ||
| 780 | .uk-grid-width-xlarge-1-3 > * { | ||
| 781 | width: 33.333%; | ||
| 782 | } | ||
| 783 | .uk-grid-width-xlarge-1-4 > * { | ||
| 784 | width: 25%; | ||
| 785 | } | ||
| 786 | .uk-grid-width-xlarge-1-5 > * { | ||
| 787 | width: 20%; | ||
| 788 | } | ||
| 789 | .uk-grid-width-xlarge-1-6 > * { | ||
| 790 | width: 16.666%; | ||
| 791 | } | ||
| 792 | .uk-grid-width-xlarge-1-10 > * { | ||
| 793 | width: 10%; | ||
| 794 | } | ||
| 795 | } | ||
| 796 | /* Sub-objects: `uk-width-*` | ||
| 797 | ========================================================================== */ | ||
| 798 | [class*='uk-width'] { | ||
| 799 | box-sizing: border-box; | ||
| 800 | width: 100%; | ||
| 801 | } | ||
| 802 | /* | ||
| 803 | * Widths | ||
| 804 | */ | ||
| 805 | /* Whole */ | ||
| 806 | .uk-width-1-1 { | ||
| 807 | width: 100%; | ||
| 808 | } | ||
| 809 | /* Halves */ | ||
| 810 | .uk-width-1-2, | ||
| 811 | .uk-width-2-4, | ||
| 812 | .uk-width-3-6, | ||
| 813 | .uk-width-5-10 { | ||
| 814 | width: 50%; | ||
| 815 | } | ||
| 816 | /* Thirds */ | ||
| 817 | .uk-width-1-3, | ||
| 818 | .uk-width-2-6 { | ||
| 819 | width: 33.333%; | ||
| 820 | } | ||
| 821 | .uk-width-2-3, | ||
| 822 | .uk-width-4-6 { | ||
| 823 | width: 66.666%; | ||
| 824 | } | ||
| 825 | /* Quarters */ | ||
| 826 | .uk-width-1-4 { | ||
| 827 | width: 25%; | ||
| 828 | } | ||
| 829 | .uk-width-3-4 { | ||
| 830 | width: 75%; | ||
| 831 | } | ||
| 832 | /* Fifths */ | ||
| 833 | .uk-width-1-5, | ||
| 834 | .uk-width-2-10 { | ||
| 835 | width: 20%; | ||
| 836 | } | ||
| 837 | .uk-width-2-5, | ||
| 838 | .uk-width-4-10 { | ||
| 839 | width: 40%; | ||
| 840 | } | ||
| 841 | .uk-width-3-5, | ||
| 842 | .uk-width-6-10 { | ||
| 843 | width: 60%; | ||
| 844 | } | ||
| 845 | .uk-width-4-5, | ||
| 846 | .uk-width-8-10 { | ||
| 847 | width: 80%; | ||
| 848 | } | ||
| 849 | /* Sixths */ | ||
| 850 | .uk-width-1-6 { | ||
| 851 | width: 16.666%; | ||
| 852 | } | ||
| 853 | .uk-width-5-6 { | ||
| 854 | width: 83.333%; | ||
| 855 | } | ||
| 856 | /* Tenths */ | ||
| 857 | .uk-width-1-10 { | ||
| 858 | width: 10%; | ||
| 859 | } | ||
| 860 | .uk-width-3-10 { | ||
| 861 | width: 30%; | ||
| 862 | } | ||
| 863 | .uk-width-7-10 { | ||
| 864 | width: 70%; | ||
| 865 | } | ||
| 866 | .uk-width-9-10 { | ||
| 867 | width: 90%; | ||
| 868 | } | ||
| 869 | /* Phone landscape and bigger */ | ||
| 870 | @media (min-width: 480px) { | ||
| 871 | /* Whole */ | ||
| 872 | .uk-width-small-1-1 { | ||
| 873 | width: 100%; | ||
| 874 | } | ||
| 875 | /* Halves */ | ||
| 876 | .uk-width-small-1-2, | ||
| 877 | .uk-width-small-2-4, | ||
| 878 | .uk-width-small-3-6, | ||
| 879 | .uk-width-small-5-10 { | ||
| 880 | width: 50%; | ||
| 881 | } | ||
| 882 | /* Thirds */ | ||
| 883 | .uk-width-small-1-3, | ||
| 884 | .uk-width-small-2-6 { | ||
| 885 | width: 33.333%; | ||
| 886 | } | ||
| 887 | .uk-width-small-2-3, | ||
| 888 | .uk-width-small-4-6 { | ||
| 889 | width: 66.666%; | ||
| 890 | } | ||
| 891 | /* Quarters */ | ||
| 892 | .uk-width-small-1-4 { | ||
| 893 | width: 25%; | ||
| 894 | } | ||
| 895 | .uk-width-small-3-4 { | ||
| 896 | width: 75%; | ||
| 897 | } | ||
| 898 | /* Fifths */ | ||
| 899 | .uk-width-small-1-5, | ||
| 900 | .uk-width-small-2-10 { | ||
| 901 | width: 20%; | ||
| 902 | } | ||
| 903 | .uk-width-small-2-5, | ||
| 904 | .uk-width-small-4-10 { | ||
| 905 | width: 40%; | ||
| 906 | } | ||
| 907 | .uk-width-small-3-5, | ||
| 908 | .uk-width-small-6-10 { | ||
| 909 | width: 60%; | ||
| 910 | } | ||
| 911 | .uk-width-small-4-5, | ||
| 912 | .uk-width-small-8-10 { | ||
| 913 | width: 80%; | ||
| 914 | } | ||
| 915 | /* Sixths */ | ||
| 916 | .uk-width-small-1-6 { | ||
| 917 | width: 16.666%; | ||
| 918 | } | ||
| 919 | .uk-width-small-5-6 { | ||
| 920 | width: 83.333%; | ||
| 921 | } | ||
| 922 | /* Tenths */ | ||
| 923 | .uk-width-small-1-10 { | ||
| 924 | width: 10%; | ||
| 925 | } | ||
| 926 | .uk-width-small-3-10 { | ||
| 927 | width: 30%; | ||
| 928 | } | ||
| 929 | .uk-width-small-7-10 { | ||
| 930 | width: 70%; | ||
| 931 | } | ||
| 932 | .uk-width-small-9-10 { | ||
| 933 | width: 90%; | ||
| 934 | } | ||
| 935 | } | ||
| 936 | /* Tablet and bigger */ | ||
| 937 | @media (min-width: 768px) { | ||
| 938 | /* Whole */ | ||
| 939 | .uk-width-medium-1-1 { | ||
| 940 | width: 100%; | ||
| 941 | } | ||
| 942 | /* Halves */ | ||
| 943 | .uk-width-medium-1-2, | ||
| 944 | .uk-width-medium-2-4, | ||
| 945 | .uk-width-medium-3-6, | ||
| 946 | .uk-width-medium-5-10 { | ||
| 947 | width: 50%; | ||
| 948 | } | ||
| 949 | /* Thirds */ | ||
| 950 | .uk-width-medium-1-3, | ||
| 951 | .uk-width-medium-2-6 { | ||
| 952 | width: 33.333%; | ||
| 953 | } | ||
| 954 | .uk-width-medium-2-3, | ||
| 955 | .uk-width-medium-4-6 { | ||
| 956 | width: 66.666%; | ||
| 957 | } | ||
| 958 | /* Quarters */ | ||
| 959 | .uk-width-medium-1-4 { | ||
| 960 | width: 25%; | ||
| 961 | } | ||
| 962 | .uk-width-medium-3-4 { | ||
| 963 | width: 75%; | ||
| 964 | } | ||
| 965 | /* Fifths */ | ||
| 966 | .uk-width-medium-1-5, | ||
| 967 | .uk-width-medium-2-10 { | ||
| 968 | width: 20%; | ||
| 969 | } | ||
| 970 | .uk-width-medium-2-5, | ||
| 971 | .uk-width-medium-4-10 { | ||
| 972 | width: 40%; | ||
| 973 | } | ||
| 974 | .uk-width-medium-3-5, | ||
| 975 | .uk-width-medium-6-10 { | ||
| 976 | width: 60%; | ||
| 977 | } | ||
| 978 | .uk-width-medium-4-5, | ||
| 979 | .uk-width-medium-8-10 { | ||
| 980 | width: 80%; | ||
| 981 | } | ||
| 982 | /* Sixths */ | ||
| 983 | .uk-width-medium-1-6 { | ||
| 984 | width: 16.666%; | ||
| 985 | } | ||
| 986 | .uk-width-medium-5-6 { | ||
| 987 | width: 83.333%; | ||
| 988 | } | ||
| 989 | /* Tenths */ | ||
| 990 | .uk-width-medium-1-10 { | ||
| 991 | width: 10%; | ||
| 992 | } | ||
| 993 | .uk-width-medium-3-10 { | ||
| 994 | width: 30%; | ||
| 995 | } | ||
| 996 | .uk-width-medium-7-10 { | ||
| 997 | width: 70%; | ||
| 998 | } | ||
| 999 | .uk-width-medium-9-10 { | ||
| 1000 | width: 90%; | ||
| 1001 | } | ||
| 1002 | } | ||
| 1003 | /* Desktop and bigger */ | ||
| 1004 | @media (min-width: 960px) { | ||
| 1005 | /* Whole */ | ||
| 1006 | .uk-width-large-1-1 { | ||
| 1007 | width: 100%; | ||
| 1008 | } | ||
| 1009 | /* Halves */ | ||
| 1010 | .uk-width-large-1-2, | ||
| 1011 | .uk-width-large-2-4, | ||
| 1012 | .uk-width-large-3-6, | ||
| 1013 | .uk-width-large-5-10 { | ||
| 1014 | width: 50%; | ||
| 1015 | } | ||
| 1016 | /* Thirds */ | ||
| 1017 | .uk-width-large-1-3, | ||
| 1018 | .uk-width-large-2-6 { | ||
| 1019 | width: 33.333%; | ||
| 1020 | } | ||
| 1021 | .uk-width-large-2-3, | ||
| 1022 | .uk-width-large-4-6 { | ||
| 1023 | width: 66.666%; | ||
| 1024 | } | ||
| 1025 | /* Quarters */ | ||
| 1026 | .uk-width-large-1-4 { | ||
| 1027 | width: 25%; | ||
| 1028 | } | ||
| 1029 | .uk-width-large-3-4 { | ||
| 1030 | width: 75%; | ||
| 1031 | } | ||
| 1032 | /* Fifths */ | ||
| 1033 | .uk-width-large-1-5, | ||
| 1034 | .uk-width-large-2-10 { | ||
| 1035 | width: 20%; | ||
| 1036 | } | ||
| 1037 | .uk-width-large-2-5, | ||
| 1038 | .uk-width-large-4-10 { | ||
| 1039 | width: 40%; | ||
| 1040 | } | ||
| 1041 | .uk-width-large-3-5, | ||
| 1042 | .uk-width-large-6-10 { | ||
| 1043 | width: 60%; | ||
| 1044 | } | ||
| 1045 | .uk-width-large-4-5, | ||
| 1046 | .uk-width-large-8-10 { | ||
| 1047 | width: 80%; | ||
| 1048 | } | ||
| 1049 | /* Sixths */ | ||
| 1050 | .uk-width-large-1-6 { | ||
| 1051 | width: 16.666%; | ||
| 1052 | } | ||
| 1053 | .uk-width-large-5-6 { | ||
| 1054 | width: 83.333%; | ||
| 1055 | } | ||
| 1056 | /* Tenths */ | ||
| 1057 | .uk-width-large-1-10 { | ||
| 1058 | width: 10%; | ||
| 1059 | } | ||
| 1060 | .uk-width-large-3-10 { | ||
| 1061 | width: 30%; | ||
| 1062 | } | ||
| 1063 | .uk-width-large-7-10 { | ||
| 1064 | width: 70%; | ||
| 1065 | } | ||
| 1066 | .uk-width-large-9-10 { | ||
| 1067 | width: 90%; | ||
| 1068 | } | ||
| 1069 | } | ||
| 1070 | /* Large screen and bigger */ | ||
| 1071 | @media (min-width: 1220px) { | ||
| 1072 | /* Whole */ | ||
| 1073 | .uk-width-xlarge-1-1 { | ||
| 1074 | width: 100%; | ||
| 1075 | } | ||
| 1076 | /* Halves */ | ||
| 1077 | .uk-width-xlarge-1-2, | ||
| 1078 | .uk-width-xlarge-2-4, | ||
| 1079 | .uk-width-xlarge-3-6, | ||
| 1080 | .uk-width-xlarge-5-10 { | ||
| 1081 | width: 50%; | ||
| 1082 | } | ||
| 1083 | /* Thirds */ | ||
| 1084 | .uk-width-xlarge-1-3, | ||
| 1085 | .uk-width-xlarge-2-6 { | ||
| 1086 | width: 33.333%; | ||
| 1087 | } | ||
| 1088 | .uk-width-xlarge-2-3, | ||
| 1089 | .uk-width-xlarge-4-6 { | ||
| 1090 | width: 66.666%; | ||
| 1091 | } | ||
| 1092 | /* Quarters */ | ||
| 1093 | .uk-width-xlarge-1-4 { | ||
| 1094 | width: 25%; | ||
| 1095 | } | ||
| 1096 | .uk-width-xlarge-3-4 { | ||
| 1097 | width: 75%; | ||
| 1098 | } | ||
| 1099 | /* Fifths */ | ||
| 1100 | .uk-width-xlarge-1-5, | ||
| 1101 | .uk-width-xlarge-2-10 { | ||
| 1102 | width: 20%; | ||
| 1103 | } | ||
| 1104 | .uk-width-xlarge-2-5, | ||
| 1105 | .uk-width-xlarge-4-10 { | ||
| 1106 | width: 40%; | ||
| 1107 | } | ||
| 1108 | .uk-width-xlarge-3-5, | ||
| 1109 | .uk-width-xlarge-6-10 { | ||
| 1110 | width: 60%; | ||
| 1111 | } | ||
| 1112 | .uk-width-xlarge-4-5, | ||
| 1113 | .uk-width-xlarge-8-10 { | ||
| 1114 | width: 80%; | ||
| 1115 | } | ||
| 1116 | /* Sixths */ | ||
| 1117 | .uk-width-xlarge-1-6 { | ||
| 1118 | width: 16.666%; | ||
| 1119 | } | ||
| 1120 | .uk-width-xlarge-5-6 { | ||
| 1121 | width: 83.333%; | ||
| 1122 | } | ||
| 1123 | /* Tenths */ | ||
| 1124 | .uk-width-xlarge-1-10 { | ||
| 1125 | width: 10%; | ||
| 1126 | } | ||
| 1127 | .uk-width-xlarge-3-10 { | ||
| 1128 | width: 30%; | ||
| 1129 | } | ||
| 1130 | .uk-width-xlarge-7-10 { | ||
| 1131 | width: 70%; | ||
| 1132 | } | ||
| 1133 | .uk-width-xlarge-9-10 { | ||
| 1134 | width: 90%; | ||
| 1135 | } | ||
| 1136 | } | ||
| 1137 | /* Sub-object: `uk-push-*` and `uk-pull-*` | ||
| 1138 | ========================================================================== */ | ||
| 1139 | /* | ||
| 1140 | * Source ordering | ||
| 1141 | * Works only with `uk-width-medium-*` | ||
| 1142 | */ | ||
| 1143 | /* Tablet and bigger */ | ||
| 1144 | @media (min-width: 768px) { | ||
| 1145 | [class*='uk-push-'], | ||
| 1146 | [class*='uk-pull-'] { | ||
| 1147 | position: relative; | ||
| 1148 | } | ||
| 1149 | /* | ||
| 1150 | * Push | ||
| 1151 | */ | ||
| 1152 | /* Halves */ | ||
| 1153 | .uk-push-1-2, | ||
| 1154 | .uk-push-2-4, | ||
| 1155 | .uk-push-3-6, | ||
| 1156 | .uk-push-5-10 { | ||
| 1157 | left: 50%; | ||
| 1158 | } | ||
| 1159 | /* Thirds */ | ||
| 1160 | .uk-push-1-3, | ||
| 1161 | .uk-push-2-6 { | ||
| 1162 | left: 33.333%; | ||
| 1163 | } | ||
| 1164 | .uk-push-2-3, | ||
| 1165 | .uk-push-4-6 { | ||
| 1166 | left: 66.666%; | ||
| 1167 | } | ||
| 1168 | /* Quarters */ | ||
| 1169 | .uk-push-1-4 { | ||
| 1170 | left: 25%; | ||
| 1171 | } | ||
| 1172 | .uk-push-3-4 { | ||
| 1173 | left: 75%; | ||
| 1174 | } | ||
| 1175 | /* Fifths */ | ||
| 1176 | .uk-push-1-5, | ||
| 1177 | .uk-push-2-10 { | ||
| 1178 | left: 20%; | ||
| 1179 | } | ||
| 1180 | .uk-push-2-5, | ||
| 1181 | .uk-push-4-10 { | ||
| 1182 | left: 40%; | ||
| 1183 | } | ||
| 1184 | .uk-push-3-5, | ||
| 1185 | .uk-push-6-10 { | ||
| 1186 | left: 60%; | ||
| 1187 | } | ||
| 1188 | .uk-push-4-5, | ||
| 1189 | .uk-push-8-10 { | ||
| 1190 | left: 80%; | ||
| 1191 | } | ||
| 1192 | /* Sixths */ | ||
| 1193 | .uk-push-1-6 { | ||
| 1194 | left: 16.666%; | ||
| 1195 | } | ||
| 1196 | .uk-push-5-6 { | ||
| 1197 | left: 83.333%; | ||
| 1198 | } | ||
| 1199 | /* Tenths */ | ||
| 1200 | .uk-push-1-10 { | ||
| 1201 | left: 10%; | ||
| 1202 | } | ||
| 1203 | .uk-push-3-10 { | ||
| 1204 | left: 30%; | ||
| 1205 | } | ||
| 1206 | .uk-push-7-10 { | ||
| 1207 | left: 70%; | ||
| 1208 | } | ||
| 1209 | .uk-push-9-10 { | ||
| 1210 | left: 90%; | ||
| 1211 | } | ||
| 1212 | /* | ||
| 1213 | * Pull | ||
| 1214 | */ | ||
| 1215 | /* Halves */ | ||
| 1216 | .uk-pull-1-2, | ||
| 1217 | .uk-pull-2-4, | ||
| 1218 | .uk-pull-3-6, | ||
| 1219 | .uk-pull-5-10 { | ||
| 1220 | left: -50%; | ||
| 1221 | } | ||
| 1222 | /* Thirds */ | ||
| 1223 | .uk-pull-1-3, | ||
| 1224 | .uk-pull-2-6 { | ||
| 1225 | left: -33.333%; | ||
| 1226 | } | ||
| 1227 | .uk-pull-2-3, | ||
| 1228 | .uk-pull-4-6 { | ||
| 1229 | left: -66.666%; | ||
| 1230 | } | ||
| 1231 | /* Quarters */ | ||
| 1232 | .uk-pull-1-4 { | ||
| 1233 | left: -25%; | ||
| 1234 | } | ||
| 1235 | .uk-pull-3-4 { | ||
| 1236 | left: -75%; | ||
| 1237 | } | ||
| 1238 | /* Fifths */ | ||
| 1239 | .uk-pull-1-5, | ||
| 1240 | .uk-pull-2-10 { | ||
| 1241 | left: -20%; | ||
| 1242 | } | ||
| 1243 | .uk-pull-2-5, | ||
| 1244 | .uk-pull-4-10 { | ||
| 1245 | left: -40%; | ||
| 1246 | } | ||
| 1247 | .uk-pull-3-5, | ||
| 1248 | .uk-pull-6-10 { | ||
| 1249 | left: -60%; | ||
| 1250 | } | ||
| 1251 | .uk-pull-4-5, | ||
| 1252 | .uk-pull-8-10 { | ||
| 1253 | left: -80%; | ||
| 1254 | } | ||
| 1255 | /* Sixths */ | ||
| 1256 | .uk-pull-1-6 { | ||
| 1257 | left: -16.666%; | ||
| 1258 | } | ||
| 1259 | .uk-pull-5-6 { | ||
| 1260 | left: -83.333%; | ||
| 1261 | } | ||
| 1262 | /* Tenths */ | ||
| 1263 | .uk-pull-1-10 { | ||
| 1264 | left: -10%; | ||
| 1265 | } | ||
| 1266 | .uk-pull-3-10 { | ||
| 1267 | left: -30%; | ||
| 1268 | } | ||
| 1269 | .uk-pull-7-10 { | ||
| 1270 | left: -70%; | ||
| 1271 | } | ||
| 1272 | .uk-pull-9-10 { | ||
| 1273 | left: -90%; | ||
| 1274 | } | ||
| 1275 | } | ||
| 1276 | /* ======================================================================== | ||
| 1277 | Component: Panel | ||
| 1278 | ========================================================================== */ | ||
| 1279 | /* | ||
| 1280 | * 1. Needed for `a` elements | ||
| 1281 | * 2. Create position context for badges | ||
| 1282 | */ | ||
| 1283 | .uk-panel { | ||
| 1284 | /* 1 */ | ||
| 1285 | display: block; | ||
| 1286 | /* 2 */ | ||
| 1287 | position: relative; | ||
| 1288 | } | ||
| 1289 | /* | ||
| 1290 | * Allow panels to be anchors | ||
| 1291 | */ | ||
| 1292 | .uk-panel, | ||
| 1293 | .uk-panel:hover { | ||
| 1294 | text-decoration: none; | ||
| 1295 | } | ||
| 1296 | /* | ||
| 1297 | * Micro clearfix to make panels more robust | ||
| 1298 | */ | ||
| 1299 | .uk-panel:before, | ||
| 1300 | .uk-panel:after { | ||
| 1301 | content: ""; | ||
| 1302 | display: table; | ||
| 1303 | } | ||
| 1304 | .uk-panel:after { | ||
| 1305 | clear: both; | ||
| 1306 | } | ||
| 1307 | /* | ||
| 1308 | * Remove margin from the last-child if not `uk-widget-title` | ||
| 1309 | */ | ||
| 1310 | .uk-panel > :not(.uk-panel-title):last-child { | ||
| 1311 | margin-bottom: 0; | ||
| 1312 | } | ||
| 1313 | /* Sub-object: `uk-panel-title` | ||
| 1314 | ========================================================================== */ | ||
| 1315 | .uk-panel-title { | ||
| 1316 | margin-top: 0; | ||
| 1317 | margin-bottom: 15px; | ||
| 1318 | font-size: 18px; | ||
| 1319 | line-height: 24px; | ||
| 1320 | font-weight: normal; | ||
| 1321 | text-transform: none; | ||
| 1322 | color: #444; | ||
| 1323 | } | ||
| 1324 | /* Sub-object: `uk-panel-badge` | ||
| 1325 | ========================================================================== */ | ||
| 1326 | .uk-panel-badge { | ||
| 1327 | position: absolute; | ||
| 1328 | top: 0; | ||
| 1329 | right: 0; | ||
| 1330 | z-index: 1; | ||
| 1331 | } | ||
| 1332 | /* Sub-object: `uk-panel-teaser` | ||
| 1333 | ========================================================================== */ | ||
| 1334 | .uk-panel-teaser { | ||
| 1335 | margin-bottom: 15px; | ||
| 1336 | } | ||
| 1337 | /* Sub-object: `uk-panel-body` | ||
| 1338 | ========================================================================== */ | ||
| 1339 | .uk-panel-body { | ||
| 1340 | padding: 15px; | ||
| 1341 | } | ||
| 1342 | /* Modifier: `uk-panel-box` | ||
| 1343 | ========================================================================== */ | ||
| 1344 | .uk-panel-box { | ||
| 1345 | padding: 15px; | ||
| 1346 | background: #fafafa; | ||
| 1347 | color: #444; | ||
| 1348 | border: 1px solid #ddd; | ||
| 1349 | border-radius: 4px; | ||
| 1350 | } | ||
| 1351 | .uk-panel-box-hover:hover { | ||
| 1352 | color: #444; | ||
| 1353 | } | ||
| 1354 | .uk-panel-box .uk-panel-title { | ||
| 1355 | color: #444; | ||
| 1356 | } | ||
| 1357 | .uk-panel-box .uk-panel-badge { | ||
| 1358 | top: 10px; | ||
| 1359 | right: 10px; | ||
| 1360 | } | ||
| 1361 | .uk-panel-box > .uk-panel-teaser { | ||
| 1362 | margin-top: -16px; | ||
| 1363 | margin-left: -16px; | ||
| 1364 | margin-right: -16px; | ||
| 1365 | } | ||
| 1366 | /* | ||
| 1367 | * Nav in panel | ||
| 1368 | */ | ||
| 1369 | .uk-panel-box > .uk-nav-side { | ||
| 1370 | margin: 0 -15px; | ||
| 1371 | } | ||
| 1372 | /* | ||
| 1373 | * Sub-modifier: `uk-panel-box-primary` | ||
| 1374 | */ | ||
| 1375 | .uk-panel-box-primary { | ||
| 1376 | background-color: #ebf7fd; | ||
| 1377 | color: #2d7091; | ||
| 1378 | border-color: rgba(45, 112, 145, 0.3); | ||
| 1379 | } | ||
| 1380 | .uk-panel-box-primary-hover:hover { | ||
| 1381 | color: #2d7091; | ||
| 1382 | } | ||
| 1383 | .uk-panel-box-primary .uk-panel-title { | ||
| 1384 | color: #2d7091; | ||
| 1385 | } | ||
| 1386 | /* | ||
| 1387 | * Sub-modifier: `uk-panel-box-secondary` | ||
| 1388 | */ | ||
| 1389 | .uk-panel-box-secondary { | ||
| 1390 | background-color: #fff; | ||
| 1391 | color: #444; | ||
| 1392 | } | ||
| 1393 | .uk-panel-box-secondary-hover:hover { | ||
| 1394 | color: #444; | ||
| 1395 | } | ||
| 1396 | .uk-panel-box-secondary .uk-panel-title { | ||
| 1397 | color: #444; | ||
| 1398 | } | ||
| 1399 | /* Modifier: `uk-panel-hover` | ||
| 1400 | ========================================================================== */ | ||
| 1401 | .uk-panel-hover { | ||
| 1402 | padding: 15px; | ||
| 1403 | color: #444; | ||
| 1404 | border: 1px solid transparent; | ||
| 1405 | border-radius: 4px; | ||
| 1406 | } | ||
| 1407 | .uk-panel-hover:hover { | ||
| 1408 | background: #fafafa; | ||
| 1409 | color: #444; | ||
| 1410 | border-color: #ddd; | ||
| 1411 | } | ||
| 1412 | .uk-panel-hover .uk-panel-badge { | ||
| 1413 | top: 10px; | ||
| 1414 | right: 10px; | ||
| 1415 | } | ||
| 1416 | .uk-panel-hover > .uk-panel-teaser { | ||
| 1417 | margin-top: -16px; | ||
| 1418 | margin-left: -16px; | ||
| 1419 | margin-right: -16px; | ||
| 1420 | } | ||
| 1421 | /* Modifier: `uk-panel-header` | ||
| 1422 | ========================================================================== */ | ||
| 1423 | .uk-panel-header .uk-panel-title { | ||
| 1424 | padding-bottom: 10px; | ||
| 1425 | border-bottom: 1px solid #ddd; | ||
| 1426 | color: #444; | ||
| 1427 | } | ||
| 1428 | /* Modifier: `uk-panel-space` | ||
| 1429 | ========================================================================== */ | ||
| 1430 | .uk-panel-space { | ||
| 1431 | padding: 30px; | ||
| 1432 | } | ||
| 1433 | .uk-panel-space .uk-panel-badge { | ||
| 1434 | top: 30px; | ||
| 1435 | right: 30px; | ||
| 1436 | } | ||
| 1437 | /* Modifier: `uk-panel-divider` | ||
| 1438 | ========================================================================== */ | ||
| 1439 | .uk-panel + .uk-panel-divider { | ||
| 1440 | margin-top: 50px !important; | ||
| 1441 | } | ||
| 1442 | .uk-panel + .uk-panel-divider:before { | ||
| 1443 | content: ""; | ||
| 1444 | display: block; | ||
| 1445 | position: absolute; | ||
| 1446 | top: -25px; | ||
| 1447 | left: 0; | ||
| 1448 | right: 0; | ||
| 1449 | border-top: 1px solid #ddd; | ||
| 1450 | } | ||
| 1451 | /* Large screen and bigger */ | ||
| 1452 | @media (min-width: 1220px) { | ||
| 1453 | .uk-panel + .uk-panel-divider { | ||
| 1454 | margin-top: 70px !important; | ||
| 1455 | } | ||
| 1456 | .uk-panel + .uk-panel-divider:before { | ||
| 1457 | top: -35px; | ||
| 1458 | } | ||
| 1459 | } | ||
| 1460 | .uk-panel-box .uk-panel-teaser { | ||
| 1461 | border-top-left-radius: 4px; | ||
| 1462 | border-top-right-radius: 4px; | ||
| 1463 | overflow: hidden; | ||
| 1464 | -webkit-transform: translateZ(0); | ||
| 1465 | } | ||
| 1466 | /* ======================================================================== | ||
| 1467 | Component: Block | ||
| 1468 | ========================================================================== */ | ||
| 1469 | .uk-block { | ||
| 1470 | position: relative; | ||
| 1471 | box-sizing: border-box; | ||
| 1472 | padding-top: 20px; | ||
| 1473 | padding-bottom: 20px; | ||
| 1474 | } | ||
| 1475 | /* Phone landscape and bigger */ | ||
| 1476 | @media (min-width: 768px) { | ||
| 1477 | .uk-block { | ||
| 1478 | padding-top: 50px; | ||
| 1479 | padding-bottom: 50px; | ||
| 1480 | } | ||
| 1481 | } | ||
| 1482 | /* | ||
| 1483 | * Micro clearfix to make blocks more robust | ||
| 1484 | */ | ||
| 1485 | .uk-block:before, | ||
| 1486 | .uk-block:after { | ||
| 1487 | content: ""; | ||
| 1488 | display: table; | ||
| 1489 | } | ||
| 1490 | .uk-block:after { | ||
| 1491 | clear: both; | ||
| 1492 | } | ||
| 1493 | /* | ||
| 1494 | * Remove margin from the last-child | ||
| 1495 | */ | ||
| 1496 | .uk-block > :last-child { | ||
| 1497 | margin-bottom: 0; | ||
| 1498 | } | ||
| 1499 | /* Padding Modifier | ||
| 1500 | ========================================================================== */ | ||
| 1501 | /* | ||
| 1502 | * Large padding | ||
| 1503 | */ | ||
| 1504 | .uk-block-large { | ||
| 1505 | padding-top: 20px; | ||
| 1506 | padding-bottom: 20px; | ||
| 1507 | } | ||
| 1508 | /* Tablets and bigger */ | ||
| 1509 | @media (min-width: 768px) { | ||
| 1510 | .uk-block-large { | ||
| 1511 | padding-top: 50px; | ||
| 1512 | padding-bottom: 50px; | ||
| 1513 | } | ||
| 1514 | } | ||
| 1515 | /* Desktop and bigger */ | ||
| 1516 | @media (min-width: 960px) { | ||
| 1517 | .uk-block-large { | ||
| 1518 | padding-top: 100px; | ||
| 1519 | padding-bottom: 100px; | ||
| 1520 | } | ||
| 1521 | } | ||
| 1522 | /* Color Modifier | ||
| 1523 | ========================================================================== */ | ||
| 1524 | /* | ||
| 1525 | * Default | ||
| 1526 | */ | ||
| 1527 | .uk-block-default { | ||
| 1528 | background: #fff; | ||
| 1529 | } | ||
| 1530 | /* | ||
| 1531 | * Muted | ||
| 1532 | */ | ||
| 1533 | .uk-block-muted { | ||
| 1534 | background: #f9f9f9; | ||
| 1535 | } | ||
| 1536 | /* | ||
| 1537 | * Primary | ||
| 1538 | */ | ||
| 1539 | .uk-block-primary { | ||
| 1540 | background: #00a8e6; | ||
| 1541 | } | ||
| 1542 | /* | ||
| 1543 | * Secondary | ||
| 1544 | */ | ||
| 1545 | .uk-block-secondary { | ||
| 1546 | background: #222; | ||
| 1547 | } | ||
| 1548 | /* | ||
| 1549 | * Adjust padding between equal colored blocks | ||
| 1550 | */ | ||
| 1551 | .uk-block-default + .uk-block-default, | ||
| 1552 | .uk-block-muted + .uk-block-muted, | ||
| 1553 | .uk-block-primary + .uk-block-primary, | ||
| 1554 | .uk-block-secondary + .uk-block-secondary { | ||
| 1555 | padding-top: 0; | ||
| 1556 | } | ||
| 1557 | /* ======================================================================== | ||
| 1558 | Component: Article | ||
| 1559 | ========================================================================== */ | ||
| 1560 | /* | ||
| 1561 | * Micro clearfix to make articles more robust | ||
| 1562 | */ | ||
| 1563 | .uk-article:before, | ||
| 1564 | .uk-article:after { | ||
| 1565 | content: ""; | ||
| 1566 | display: table; | ||
| 1567 | } | ||
| 1568 | .uk-article:after { | ||
| 1569 | clear: both; | ||
| 1570 | } | ||
| 1571 | /* | ||
| 1572 | * Remove margin from the last-child | ||
| 1573 | */ | ||
| 1574 | .uk-article > :last-child { | ||
| 1575 | margin-bottom: 0; | ||
| 1576 | } | ||
| 1577 | /* | ||
| 1578 | * Vertical gutter for articles | ||
| 1579 | */ | ||
| 1580 | .uk-article + .uk-article { | ||
| 1581 | margin-top: 25px; | ||
| 1582 | } | ||
| 1583 | /* Sub-object `uk-article-title` | ||
| 1584 | ========================================================================== */ | ||
| 1585 | .uk-article-title { | ||
| 1586 | font-size: 36px; | ||
| 1587 | line-height: 42px; | ||
| 1588 | font-weight: normal; | ||
| 1589 | text-transform: none; | ||
| 1590 | } | ||
| 1591 | .uk-article-title a { | ||
| 1592 | color: inherit; | ||
| 1593 | text-decoration: none; | ||
| 1594 | } | ||
| 1595 | /* Sub-object `uk-article-meta` | ||
| 1596 | ========================================================================== */ | ||
| 1597 | .uk-article-meta { | ||
| 1598 | font-size: 12px; | ||
| 1599 | line-height: 18px; | ||
| 1600 | color: #999; | ||
| 1601 | } | ||
| 1602 | /* Sub-object `uk-article-lead` | ||
| 1603 | ========================================================================== */ | ||
| 1604 | .uk-article-lead { | ||
| 1605 | color: #444; | ||
| 1606 | font-size: 18px; | ||
| 1607 | line-height: 24px; | ||
| 1608 | font-weight: normal; | ||
| 1609 | } | ||
| 1610 | /* Sub-object `uk-article-divider` | ||
| 1611 | ========================================================================== */ | ||
| 1612 | .uk-article-divider { | ||
| 1613 | margin-bottom: 25px; | ||
| 1614 | border-color: #ddd; | ||
| 1615 | } | ||
| 1616 | * + .uk-article-divider { | ||
| 1617 | margin-top: 25px; | ||
| 1618 | } | ||
| 1619 | .uk-article + .uk-article { | ||
| 1620 | padding-top: 25px; | ||
| 1621 | border-top: 1px solid #ddd; | ||
| 1622 | } | ||
| 1623 | /* ======================================================================== | ||
| 1624 | Component: Comment | ||
| 1625 | ========================================================================== */ | ||
| 1626 | /* Sub-object `uk-comment-header` | ||
| 1627 | ========================================================================== */ | ||
| 1628 | .uk-comment-header { | ||
| 1629 | margin-bottom: 15px; | ||
| 1630 | padding: 10px; | ||
| 1631 | border: 1px solid #ddd; | ||
| 1632 | border-radius: 4px; | ||
| 1633 | background: #fafafa; | ||
| 1634 | } | ||
| 1635 | /* | ||
| 1636 | * Micro clearfix | ||
| 1637 | */ | ||
| 1638 | .uk-comment-header:before, | ||
| 1639 | .uk-comment-header:after { | ||
| 1640 | content: ""; | ||
| 1641 | display: table; | ||
| 1642 | } | ||
| 1643 | .uk-comment-header:after { | ||
| 1644 | clear: both; | ||
| 1645 | } | ||
| 1646 | /* Sub-object `uk-comment-avatar` | ||
| 1647 | ========================================================================== */ | ||
| 1648 | .uk-comment-avatar { | ||
| 1649 | margin-right: 15px; | ||
| 1650 | float: left; | ||
| 1651 | } | ||
| 1652 | /* Sub-object `uk-comment-title` | ||
| 1653 | ========================================================================== */ | ||
| 1654 | .uk-comment-title { | ||
| 1655 | margin: 5px 0 0 0; | ||
| 1656 | font-size: 16px; | ||
| 1657 | line-height: 22px; | ||
| 1658 | } | ||
| 1659 | /* Sub-object `uk-comment-meta` | ||
| 1660 | ========================================================================== */ | ||
| 1661 | .uk-comment-meta { | ||
| 1662 | margin: 2px 0 0 0; | ||
| 1663 | font-size: 11px; | ||
| 1664 | line-height: 16px; | ||
| 1665 | color: #999; | ||
| 1666 | } | ||
| 1667 | /* Sub-object `uk-comment-body` | ||
| 1668 | ========================================================================== */ | ||
| 1669 | .uk-comment-body { | ||
| 1670 | padding-left: 10px; | ||
| 1671 | padding-right: 10px; | ||
| 1672 | } | ||
| 1673 | /* | ||
| 1674 | * Remove margin from the last-child | ||
| 1675 | */ | ||
| 1676 | .uk-comment-body > :last-child { | ||
| 1677 | margin-bottom: 0; | ||
| 1678 | } | ||
| 1679 | /* Sub-object `uk-comment-list` | ||
| 1680 | ========================================================================== */ | ||
| 1681 | .uk-comment-list { | ||
| 1682 | padding: 0; | ||
| 1683 | list-style: none; | ||
| 1684 | } | ||
| 1685 | .uk-comment-list .uk-comment + ul { | ||
| 1686 | margin: 25px 0 0 0; | ||
| 1687 | list-style: none; | ||
| 1688 | } | ||
| 1689 | .uk-comment-list > li:nth-child(n+2), | ||
| 1690 | .uk-comment-list .uk-comment + ul > li:nth-child(n+2) { | ||
| 1691 | margin-top: 25px; | ||
| 1692 | } | ||
| 1693 | /* Tablet and bigger */ | ||
| 1694 | @media (min-width: 768px) { | ||
| 1695 | .uk-comment-list .uk-comment + ul { | ||
| 1696 | padding-left: 100px; | ||
| 1697 | } | ||
| 1698 | } | ||
| 1699 | /* Modifier `uk-comment-primary` | ||
| 1700 | ========================================================================== */ | ||
| 1701 | .uk-comment-primary .uk-comment-header { | ||
| 1702 | border-color: rgba(45, 112, 145, 0.3); | ||
| 1703 | background-color: #ebf7fd; | ||
| 1704 | color: #2d7091; | ||
| 1705 | text-shadow: 0 1px 0 #fff; | ||
| 1706 | } | ||
| 1707 | /* ======================================================================== | ||
| 1708 | Component: Cover | ||
| 1709 | ========================================================================== */ | ||
| 1710 | /* | ||
| 1711 | * Background image always covers and centers its element | ||
| 1712 | */ | ||
| 1713 | .uk-cover-background { | ||
| 1714 | background-position: 50% 50%; | ||
| 1715 | background-size: cover; | ||
| 1716 | background-repeat: no-repeat; | ||
| 1717 | } | ||
| 1718 | /* | ||
| 1719 | * Emulates image cover, works with video and image elements | ||
| 1720 | * 1. Parent container which clips resized object | ||
| 1721 | * 2. Resizes the object to always covers its container | ||
| 1722 | * 3. Reset the responsive image CSS | ||
| 1723 | * 4. Center object | ||
| 1724 | */ | ||
| 1725 | /* 1 */ | ||
| 1726 | .uk-cover { | ||
| 1727 | overflow: hidden; | ||
| 1728 | } | ||
| 1729 | .uk-cover-object { | ||
| 1730 | /* 2 */ | ||
| 1731 | width: auto; | ||
| 1732 | height: auto; | ||
| 1733 | min-width: 100%; | ||
| 1734 | min-height: 100%; | ||
| 1735 | /* 3 */ | ||
| 1736 | max-width: none; | ||
| 1737 | /* 4 */ | ||
| 1738 | position: relative; | ||
| 1739 | left: 50%; | ||
| 1740 | top: 50%; | ||
| 1741 | -webkit-transform: translate(-50%, -50%); | ||
| 1742 | transform: translate(-50%, -50%); | ||
| 1743 | } | ||
| 1744 | /* | ||
| 1745 | * To center iframes use `data-uk-cover` JavaScript | ||
| 1746 | */ | ||
| 1747 | [data-uk-cover] { | ||
| 1748 | position: relative; | ||
| 1749 | left: 50%; | ||
| 1750 | top: 50%; | ||
| 1751 | -webkit-transform: translate(-50%, -50%); | ||
| 1752 | transform: translate(-50%, -50%); | ||
| 1753 | } | ||
| 1754 | /* ======================================================================== | ||
| 1755 | Component: Nav | ||
| 1756 | ========================================================================== */ | ||
| 1757 | .uk-nav, | ||
| 1758 | .uk-nav ul { | ||
| 1759 | margin: 0; | ||
| 1760 | padding: 0; | ||
| 1761 | list-style: none; | ||
| 1762 | } | ||
| 1763 | /* | ||
| 1764 | * Items | ||
| 1765 | */ | ||
| 1766 | .uk-nav li > a { | ||
| 1767 | display: block; | ||
| 1768 | text-decoration: none; | ||
| 1769 | } | ||
| 1770 | .uk-nav > li > a { | ||
| 1771 | padding: 5px 15px; | ||
| 1772 | } | ||
| 1773 | /* | ||
| 1774 | * Nested items | ||
| 1775 | */ | ||
| 1776 | .uk-nav ul { | ||
| 1777 | padding-left: 15px; | ||
| 1778 | } | ||
| 1779 | .uk-nav ul a { | ||
| 1780 | padding: 2px 0; | ||
| 1781 | } | ||
| 1782 | /* | ||
| 1783 | * Item subtitle | ||
| 1784 | */ | ||
| 1785 | .uk-nav li > a > div { | ||
| 1786 | font-size: 12px; | ||
| 1787 | line-height: 18px; | ||
| 1788 | } | ||
| 1789 | /* Sub-object: `uk-nav-header` | ||
| 1790 | ========================================================================== */ | ||
| 1791 | .uk-nav-header { | ||
| 1792 | padding: 5px 15px; | ||
| 1793 | text-transform: uppercase; | ||
| 1794 | font-weight: bold; | ||
| 1795 | font-size: 12px; | ||
| 1796 | } | ||
| 1797 | .uk-nav-header:not(:first-child) { | ||
| 1798 | margin-top: 15px; | ||
| 1799 | } | ||
| 1800 | /* Sub-object: `uk-nav-divider` | ||
| 1801 | ========================================================================== */ | ||
| 1802 | .uk-nav-divider { | ||
| 1803 | margin: 9px 15px; | ||
| 1804 | } | ||
| 1805 | /* Sub-object: `uk-nav-sub` | ||
| 1806 | ========================================================================== */ | ||
| 1807 | /* | ||
| 1808 | * `ul` needed for higher specificity to override padding | ||
| 1809 | */ | ||
| 1810 | ul.uk-nav-sub { | ||
| 1811 | padding: 5px 0 5px 15px; | ||
| 1812 | } | ||
| 1813 | /* Modifier: `uk-nav-parent-icon` | ||
| 1814 | ========================================================================== */ | ||
| 1815 | .uk-nav-parent-icon > .uk-parent > a:after { | ||
| 1816 | content: "\f104"; | ||
| 1817 | width: 20px; | ||
| 1818 | margin-right: -10px; | ||
| 1819 | float: right; | ||
| 1820 | font-family: FontAwesome; | ||
| 1821 | text-align: center; | ||
| 1822 | } | ||
| 1823 | .uk-nav-parent-icon > .uk-parent.uk-open > a:after { | ||
| 1824 | content: "\f107"; | ||
| 1825 | } | ||
| 1826 | /* Modifier `uk-nav-side` | ||
| 1827 | ========================================================================== */ | ||
| 1828 | /* | ||
| 1829 | * Items | ||
| 1830 | */ | ||
| 1831 | .uk-nav-side > li > a { | ||
| 1832 | color: #444; | ||
| 1833 | } | ||
| 1834 | /* | ||
| 1835 | * Hover | ||
| 1836 | * 1. Apply hover style also to focus state | ||
| 1837 | * 2. Remove default focus style | ||
| 1838 | */ | ||
| 1839 | .uk-nav-side > li > a:hover, | ||
| 1840 | .uk-nav-side > li > a:focus { | ||
| 1841 | background: rgba(0, 0, 0, 0.03); | ||
| 1842 | color: #444; | ||
| 1843 | /* 2 */ | ||
| 1844 | outline: none; | ||
| 1845 | box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.06); | ||
| 1846 | text-shadow: 0 -1px 0 #fff; | ||
| 1847 | } | ||
| 1848 | /* Active */ | ||
| 1849 | .uk-nav-side > li.uk-active > a { | ||
| 1850 | background: #00a8e6; | ||
| 1851 | color: #fff; | ||
| 1852 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 1853 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 1854 | } | ||
| 1855 | /* | ||
| 1856 | * Sub-object: `uk-nav-header` | ||
| 1857 | */ | ||
| 1858 | .uk-nav-side .uk-nav-header { | ||
| 1859 | color: #444; | ||
| 1860 | } | ||
| 1861 | /* | ||
| 1862 | * Sub-object: `uk-nav-divider` | ||
| 1863 | */ | ||
| 1864 | .uk-nav-side .uk-nav-divider { | ||
| 1865 | border-top: 1px solid #ddd; | ||
| 1866 | box-shadow: 0 1px 0 #fff; | ||
| 1867 | } | ||
| 1868 | /* | ||
| 1869 | * Nested items | ||
| 1870 | */ | ||
| 1871 | .uk-nav-side ul a { | ||
| 1872 | color: #07D; | ||
| 1873 | } | ||
| 1874 | .uk-nav-side ul a:hover { | ||
| 1875 | color: #059; | ||
| 1876 | } | ||
| 1877 | /* Modifier `uk-nav-dropdown` | ||
| 1878 | ========================================================================== */ | ||
| 1879 | /* | ||
| 1880 | * Items | ||
| 1881 | */ | ||
| 1882 | .uk-nav-dropdown > li > a { | ||
| 1883 | color: #444; | ||
| 1884 | } | ||
| 1885 | /* | ||
| 1886 | * Hover | ||
| 1887 | * 1. Apply hover style also to focus state | ||
| 1888 | * 2. Remove default focus style | ||
| 1889 | */ | ||
| 1890 | .uk-nav-dropdown > li > a:hover, | ||
| 1891 | .uk-nav-dropdown > li > a:focus { | ||
| 1892 | background: #00a8e6; | ||
| 1893 | color: #fff; | ||
| 1894 | /* 2 */ | ||
| 1895 | outline: none; | ||
| 1896 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 1897 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 1898 | } | ||
| 1899 | /* | ||
| 1900 | * Sub-object: `uk-nav-header` | ||
| 1901 | */ | ||
| 1902 | .uk-nav-dropdown .uk-nav-header { | ||
| 1903 | color: #999; | ||
| 1904 | } | ||
| 1905 | /* | ||
| 1906 | * Sub-object: `uk-nav-divider` | ||
| 1907 | */ | ||
| 1908 | .uk-nav-dropdown .uk-nav-divider { | ||
| 1909 | border-top: 1px solid #ddd; | ||
| 1910 | } | ||
| 1911 | /* | ||
| 1912 | * Nested items | ||
| 1913 | */ | ||
| 1914 | .uk-nav-dropdown ul a { | ||
| 1915 | color: #07D; | ||
| 1916 | } | ||
| 1917 | .uk-nav-dropdown ul a:hover { | ||
| 1918 | color: #059; | ||
| 1919 | } | ||
| 1920 | /* Modifier `uk-nav-navbar` | ||
| 1921 | ========================================================================== */ | ||
| 1922 | /* | ||
| 1923 | * Items | ||
| 1924 | */ | ||
| 1925 | .uk-nav-navbar > li > a { | ||
| 1926 | color: #444; | ||
| 1927 | } | ||
| 1928 | /* | ||
| 1929 | * Hover | ||
| 1930 | * 1. Apply hover style also to focus state | ||
| 1931 | * 2. Remove default focus style | ||
| 1932 | */ | ||
| 1933 | .uk-nav-navbar > li > a:hover, | ||
| 1934 | .uk-nav-navbar > li > a:focus { | ||
| 1935 | background: #00a8e6; | ||
| 1936 | color: #fff; | ||
| 1937 | /* 2 */ | ||
| 1938 | outline: none; | ||
| 1939 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 1940 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 1941 | } | ||
| 1942 | /* | ||
| 1943 | * Sub-object: `uk-nav-header` | ||
| 1944 | */ | ||
| 1945 | .uk-nav-navbar .uk-nav-header { | ||
| 1946 | color: #999; | ||
| 1947 | } | ||
| 1948 | /* | ||
| 1949 | * Sub-object: `uk-nav-divider` | ||
| 1950 | */ | ||
| 1951 | .uk-nav-navbar .uk-nav-divider { | ||
| 1952 | border-top: 1px solid #ddd; | ||
| 1953 | } | ||
| 1954 | /* | ||
| 1955 | * Nested items | ||
| 1956 | */ | ||
| 1957 | .uk-nav-navbar ul a { | ||
| 1958 | color: #07D; | ||
| 1959 | } | ||
| 1960 | .uk-nav-navbar ul a:hover { | ||
| 1961 | color: #059; | ||
| 1962 | } | ||
| 1963 | /* Modifier `uk-nav-offcanvas` | ||
| 1964 | ========================================================================== */ | ||
| 1965 | /* | ||
| 1966 | * Items | ||
| 1967 | */ | ||
| 1968 | .uk-nav-offcanvas > li > a { | ||
| 1969 | color: #ccc; | ||
| 1970 | padding: 10px 15px; | ||
| 1971 | border-top: 1px solid rgba(0, 0, 0, 0.3); | ||
| 1972 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 1973 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 1974 | } | ||
| 1975 | /* | ||
| 1976 | * Hover | ||
| 1977 | * No hover on touch devices because it behaves buggy in fixed offcanvas | ||
| 1978 | * 1. Apply hover style also to focus state | ||
| 1979 | * 2. Remove default focus style | ||
| 1980 | */ | ||
| 1981 | .uk-nav-offcanvas > .uk-open > a, | ||
| 1982 | html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, | ||
| 1983 | html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { | ||
| 1984 | background: #404040; | ||
| 1985 | color: #fff; | ||
| 1986 | /* 2 */ | ||
| 1987 | outline: none; | ||
| 1988 | } | ||
| 1989 | /* | ||
| 1990 | * Active | ||
| 1991 | * `html .uk-nav` needed for higher specificity to override hover | ||
| 1992 | */ | ||
| 1993 | html .uk-nav.uk-nav-offcanvas > li.uk-active > a { | ||
| 1994 | background: #1a1a1a; | ||
| 1995 | color: #fff; | ||
| 1996 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); | ||
| 1997 | } | ||
| 1998 | /* | ||
| 1999 | * Sub-object: `uk-nav-header` | ||
| 2000 | */ | ||
| 2001 | .uk-nav-offcanvas .uk-nav-header { | ||
| 2002 | color: #777; | ||
| 2003 | margin-top: 0; | ||
| 2004 | border-top: 1px solid rgba(0, 0, 0, 0.3); | ||
| 2005 | background: #404040; | ||
| 2006 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 2007 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 2008 | } | ||
| 2009 | /* | ||
| 2010 | * Sub-object: `uk-nav-divider` | ||
| 2011 | */ | ||
| 2012 | .uk-nav-offcanvas .uk-nav-divider { | ||
| 2013 | border-top: 1px solid rgba(255, 255, 255, 0.01); | ||
| 2014 | margin: 0; | ||
| 2015 | height: 4px; | ||
| 2016 | background: rgba(0, 0, 0, 0.2); | ||
| 2017 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); | ||
| 2018 | } | ||
| 2019 | /* | ||
| 2020 | * Nested items | ||
| 2021 | * No hover on touch devices because it behaves buggy in fixed offcanvas | ||
| 2022 | */ | ||
| 2023 | .uk-nav-offcanvas ul a { | ||
| 2024 | color: #ccc; | ||
| 2025 | } | ||
| 2026 | html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { | ||
| 2027 | color: #fff; | ||
| 2028 | } | ||
| 2029 | /* | ||
| 2030 | * Modifier `uk-nav-offcanvas` | ||
| 2031 | */ | ||
| 2032 | .uk-nav-offcanvas { | ||
| 2033 | border-bottom: 1px solid rgba(0, 0, 0, 0.3); | ||
| 2034 | box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 2035 | } | ||
| 2036 | /* | ||
| 2037 | * Sub-object: `uk-nav-sub` | ||
| 2038 | */ | ||
| 2039 | .uk-nav-offcanvas .uk-nav-sub { | ||
| 2040 | border-top: 1px solid rgba(0, 0, 0, 0.3); | ||
| 2041 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 2042 | } | ||
| 2043 | /* ======================================================================== | ||
| 2044 | Component: Navbar | ||
| 2045 | ========================================================================== */ | ||
| 2046 | .uk-navbar { | ||
| 2047 | background: #f5f5f5; | ||
| 2048 | color: #444; | ||
| 2049 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 2050 | border-radius: 4px; | ||
| 2051 | } | ||
| 2052 | /* | ||
| 2053 | * Micro clearfix | ||
| 2054 | */ | ||
| 2055 | .uk-navbar:before, | ||
| 2056 | .uk-navbar:after { | ||
| 2057 | content: ""; | ||
| 2058 | display: table; | ||
| 2059 | } | ||
| 2060 | .uk-navbar:after { | ||
| 2061 | clear: both; | ||
| 2062 | } | ||
| 2063 | /* Sub-object: `uk-navbar-nav` | ||
| 2064 | ========================================================================== */ | ||
| 2065 | .uk-navbar-nav { | ||
| 2066 | margin: 0; | ||
| 2067 | padding: 0; | ||
| 2068 | list-style: none; | ||
| 2069 | float: left; | ||
| 2070 | } | ||
| 2071 | /* | ||
| 2072 | * 1. Create position context for dropdowns | ||
| 2073 | */ | ||
| 2074 | .uk-navbar-nav > li { | ||
| 2075 | float: left; | ||
| 2076 | /* 1 */ | ||
| 2077 | position: relative; | ||
| 2078 | } | ||
| 2079 | /* | ||
| 2080 | * 1. Dimensions | ||
| 2081 | * 2. Style | ||
| 2082 | */ | ||
| 2083 | .uk-navbar-nav > li > a { | ||
| 2084 | display: block; | ||
| 2085 | box-sizing: border-box; | ||
| 2086 | text-decoration: none; | ||
| 2087 | /* 1 */ | ||
| 2088 | height: 41px; | ||
| 2089 | padding: 0 15px; | ||
| 2090 | line-height: 40px; | ||
| 2091 | /* 2 */ | ||
| 2092 | color: #444; | ||
| 2093 | font-size: 14px; | ||
| 2094 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 2095 | font-weight: normal; | ||
| 2096 | margin-top: -1px; | ||
| 2097 | margin-left: -1px; | ||
| 2098 | border: 1px solid transparent; | ||
| 2099 | border-bottom-width: 0; | ||
| 2100 | text-shadow: 0 1px 0 #fff; | ||
| 2101 | } | ||
| 2102 | /* Appear not as link */ | ||
| 2103 | .uk-navbar-nav > li > a[href='#'] { | ||
| 2104 | cursor: text; | ||
| 2105 | } | ||
| 2106 | /* | ||
| 2107 | * Hover | ||
| 2108 | * 1. Apply hover style also to focus state | ||
| 2109 | * 2. Also apply if dropdown is opened | ||
| 2110 | * 3. Remove default focus style | ||
| 2111 | */ | ||
| 2112 | .uk-navbar-nav > li:hover > a, | ||
| 2113 | .uk-navbar-nav > li > a:focus, | ||
| 2114 | .uk-navbar-nav > li.uk-open > a { | ||
| 2115 | background-color: #fafafa; | ||
| 2116 | color: #444; | ||
| 2117 | /* 3 */ | ||
| 2118 | outline: none; | ||
| 2119 | position: relative; | ||
| 2120 | z-index: 1; | ||
| 2121 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 2122 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 2123 | border-top-color: rgba(0, 0, 0, 0.1); | ||
| 2124 | } | ||
| 2125 | /* OnClick */ | ||
| 2126 | .uk-navbar-nav > li > a:active { | ||
| 2127 | background-color: #eee; | ||
| 2128 | color: #444; | ||
| 2129 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 2130 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 2131 | border-top-color: rgba(0, 0, 0, 0.2); | ||
| 2132 | } | ||
| 2133 | /* Active */ | ||
| 2134 | .uk-navbar-nav > li.uk-active > a { | ||
| 2135 | background-color: #fafafa; | ||
| 2136 | color: #444; | ||
| 2137 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 2138 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 2139 | border-top-color: rgba(0, 0, 0, 0.1); | ||
| 2140 | } | ||
| 2141 | /* Sub-objects: `uk-navbar-nav-subtitle` | ||
| 2142 | ========================================================================== */ | ||
| 2143 | .uk-navbar-nav .uk-navbar-nav-subtitle { | ||
| 2144 | line-height: 28px; | ||
| 2145 | } | ||
| 2146 | .uk-navbar-nav-subtitle > div { | ||
| 2147 | margin-top: -6px; | ||
| 2148 | font-size: 10px; | ||
| 2149 | line-height: 12px; | ||
| 2150 | } | ||
| 2151 | /* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` | ||
| 2152 | ========================================================================== */ | ||
| 2153 | /* | ||
| 2154 | * Imitate navbar items | ||
| 2155 | */ | ||
| 2156 | .uk-navbar-content, | ||
| 2157 | .uk-navbar-brand, | ||
| 2158 | .uk-navbar-toggle { | ||
| 2159 | box-sizing: border-box; | ||
| 2160 | display: block; | ||
| 2161 | height: 41px; | ||
| 2162 | padding: 0 15px; | ||
| 2163 | float: left; | ||
| 2164 | margin-top: -1px; | ||
| 2165 | text-shadow: 0 1px 0 #fff; | ||
| 2166 | } | ||
| 2167 | /* | ||
| 2168 | * Helper to center all child elements vertically | ||
| 2169 | */ | ||
| 2170 | .uk-navbar-content:before, | ||
| 2171 | .uk-navbar-brand:before, | ||
| 2172 | .uk-navbar-toggle:before { | ||
| 2173 | content: ''; | ||
| 2174 | display: inline-block; | ||
| 2175 | height: 100%; | ||
| 2176 | vertical-align: middle; | ||
| 2177 | } | ||
| 2178 | /* Sub-objects: `uk-navbar-content` | ||
| 2179 | ========================================================================== */ | ||
| 2180 | /* | ||
| 2181 | * Better sibling spacing | ||
| 2182 | */ | ||
| 2183 | .uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { | ||
| 2184 | padding-left: 0; | ||
| 2185 | } | ||
| 2186 | /* | ||
| 2187 | * Link colors | ||
| 2188 | */ | ||
| 2189 | .uk-navbar-content > a:not([class]) { | ||
| 2190 | color: #07D; | ||
| 2191 | } | ||
| 2192 | .uk-navbar-content > a:not([class]):hover { | ||
| 2193 | color: #059; | ||
| 2194 | } | ||
| 2195 | /* Sub-objects: `uk-navbar-brand` | ||
| 2196 | ========================================================================== */ | ||
| 2197 | .uk-navbar-brand { | ||
| 2198 | font-size: 18px; | ||
| 2199 | color: #444; | ||
| 2200 | text-decoration: none; | ||
| 2201 | } | ||
| 2202 | /* | ||
| 2203 | * 1. Apply hover style also to focus state | ||
| 2204 | * 2. Remove default focus style | ||
| 2205 | */ | ||
| 2206 | .uk-navbar-brand:hover, | ||
| 2207 | .uk-navbar-brand:focus { | ||
| 2208 | color: #444; | ||
| 2209 | text-decoration: none; | ||
| 2210 | /* 2 */ | ||
| 2211 | outline: none; | ||
| 2212 | } | ||
| 2213 | /* Sub-object: `uk-navbar-toggle` | ||
| 2214 | ========================================================================== */ | ||
| 2215 | .uk-navbar-toggle { | ||
| 2216 | font-size: 18px; | ||
| 2217 | color: #444; | ||
| 2218 | text-decoration: none; | ||
| 2219 | } | ||
| 2220 | /* | ||
| 2221 | * 1. Apply hover style also to focus state | ||
| 2222 | * 2. Remove default focus style | ||
| 2223 | */ | ||
| 2224 | .uk-navbar-toggle:hover, | ||
| 2225 | .uk-navbar-toggle:focus { | ||
| 2226 | color: #444; | ||
| 2227 | text-decoration: none; | ||
| 2228 | /* 2 */ | ||
| 2229 | outline: none; | ||
| 2230 | } | ||
| 2231 | /* | ||
| 2232 | * 1. Center icon vertically | ||
| 2233 | */ | ||
| 2234 | .uk-navbar-toggle:after { | ||
| 2235 | content: "\f0c9"; | ||
| 2236 | font-family: FontAwesome; | ||
| 2237 | /* 1 */ | ||
| 2238 | vertical-align: middle; | ||
| 2239 | } | ||
| 2240 | .uk-navbar-toggle-alt:after { | ||
| 2241 | content: "\f002"; | ||
| 2242 | } | ||
| 2243 | /* Sub-object: `uk-navbar-center` | ||
| 2244 | ========================================================================== */ | ||
| 2245 | /* | ||
| 2246 | * The element with this class needs to be last child in the navbar | ||
| 2247 | * 1. This hack is needed because other float elements shift centered text | ||
| 2248 | */ | ||
| 2249 | .uk-navbar-center { | ||
| 2250 | float: none; | ||
| 2251 | text-align: center; | ||
| 2252 | /* 1 */ | ||
| 2253 | max-width: 50%; | ||
| 2254 | margin-left: auto; | ||
| 2255 | margin-right: auto; | ||
| 2256 | } | ||
| 2257 | /* Sub-object: `uk-navbar-flip` | ||
| 2258 | ========================================================================== */ | ||
| 2259 | .uk-navbar-flip { | ||
| 2260 | float: right; | ||
| 2261 | } | ||
| 2262 | /* | ||
| 2263 | * Apply same `border-radius` as `uk-navbar` | ||
| 2264 | */ | ||
| 2265 | .uk-navbar-nav:first-child > li:first-child > a { | ||
| 2266 | border-top-left-radius: 4px; | ||
| 2267 | border-bottom-left-radius: 4px; | ||
| 2268 | } | ||
| 2269 | /* | ||
| 2270 | * Sub-modifier `uk-navbar-flip` | ||
| 2271 | */ | ||
| 2272 | /* Collapse border */ | ||
| 2273 | .uk-navbar-flip .uk-navbar-nav > li > a { | ||
| 2274 | margin-left: 0; | ||
| 2275 | margin-right: -1px; | ||
| 2276 | } | ||
| 2277 | /* Apply same `border-radius` as `uk-navbar` */ | ||
| 2278 | .uk-navbar-flip .uk-navbar-nav:first-child > li:first-child > a { | ||
| 2279 | border-top-left-radius: 0; | ||
| 2280 | border-bottom-left-radius: 0; | ||
| 2281 | } | ||
| 2282 | .uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a { | ||
| 2283 | border-top-right-radius: 4px; | ||
| 2284 | border-bottom-right-radius: 4px; | ||
| 2285 | } | ||
| 2286 | /* | ||
| 2287 | * Sub-modifier `uk-navbar-attached` | ||
| 2288 | */ | ||
| 2289 | .uk-navbar-attached { | ||
| 2290 | border-top-color: transparent; | ||
| 2291 | border-left-color: transparent; | ||
| 2292 | border-right-color: transparent; | ||
| 2293 | border-radius: 0; | ||
| 2294 | } | ||
| 2295 | .uk-navbar-attached .uk-navbar-nav > li > a { | ||
| 2296 | border-radius: 0 !important; | ||
| 2297 | } | ||
| 2298 | /* ======================================================================== | ||
| 2299 | Component: Subnav | ||
| 2300 | ========================================================================== */ | ||
| 2301 | /* | ||
| 2302 | * 1. Gutter | ||
| 2303 | * 2. Remove default list style | ||
| 2304 | */ | ||
| 2305 | .uk-subnav { | ||
| 2306 | display: -ms-flexbox; | ||
| 2307 | display: -webkit-flex; | ||
| 2308 | display: flex; | ||
| 2309 | -ms-flex-wrap: wrap; | ||
| 2310 | -webkit-flex-wrap: wrap; | ||
| 2311 | flex-wrap: wrap; | ||
| 2312 | /* 1 */ | ||
| 2313 | margin-left: -10px; | ||
| 2314 | margin-top: -10px; | ||
| 2315 | /* 2 */ | ||
| 2316 | padding: 0; | ||
| 2317 | list-style: none; | ||
| 2318 | } | ||
| 2319 | /* | ||
| 2320 | * 1. Space is allocated solely based on content dimensions | ||
| 2321 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 2322 | * 3. Create position context for dropdowns | ||
| 2323 | */ | ||
| 2324 | .uk-subnav > * { | ||
| 2325 | /* 1 */ | ||
| 2326 | -ms-flex: none; | ||
| 2327 | -webkit-flex: none; | ||
| 2328 | flex: none; | ||
| 2329 | /* 2 */ | ||
| 2330 | padding-left: 10px; | ||
| 2331 | margin-top: 10px; | ||
| 2332 | /* 3 */ | ||
| 2333 | position: relative; | ||
| 2334 | } | ||
| 2335 | /* | ||
| 2336 | * DEPRECATED IE9 Support | ||
| 2337 | */ | ||
| 2338 | .uk-subnav:before, | ||
| 2339 | .uk-subnav:after { | ||
| 2340 | content: ""; | ||
| 2341 | display: block; | ||
| 2342 | overflow: hidden; | ||
| 2343 | } | ||
| 2344 | .uk-subnav:after { | ||
| 2345 | clear: both; | ||
| 2346 | } | ||
| 2347 | .uk-subnav > * { | ||
| 2348 | float: left; | ||
| 2349 | } | ||
| 2350 | /* Items | ||
| 2351 | ========================================================================== */ | ||
| 2352 | .uk-subnav > * > * { | ||
| 2353 | display: inline-block; | ||
| 2354 | color: #444; | ||
| 2355 | } | ||
| 2356 | /* | ||
| 2357 | * Hover | ||
| 2358 | * 1. Apply hover style also to focus state | ||
| 2359 | */ | ||
| 2360 | .uk-subnav > * > :hover, | ||
| 2361 | .uk-subnav > * > :focus { | ||
| 2362 | color: #07D; | ||
| 2363 | text-decoration: none; | ||
| 2364 | } | ||
| 2365 | /* | ||
| 2366 | * Active | ||
| 2367 | */ | ||
| 2368 | .uk-subnav > .uk-active > * { | ||
| 2369 | color: #07D; | ||
| 2370 | } | ||
| 2371 | /* Modifier: 'subnav-line' | ||
| 2372 | ========================================================================== */ | ||
| 2373 | .uk-subnav-line > :before { | ||
| 2374 | content: ""; | ||
| 2375 | display: inline-block; | ||
| 2376 | height: 10px; | ||
| 2377 | vertical-align: middle; | ||
| 2378 | } | ||
| 2379 | .uk-subnav-line > :nth-child(n+2):before { | ||
| 2380 | margin-right: 10px; | ||
| 2381 | border-left: 1px solid #ddd; | ||
| 2382 | } | ||
| 2383 | /* Modifier: 'subnav-pill' | ||
| 2384 | ========================================================================== */ | ||
| 2385 | .uk-subnav-pill > * > * { | ||
| 2386 | padding: 3px 9px; | ||
| 2387 | border-radius: 4px; | ||
| 2388 | } | ||
| 2389 | /* | ||
| 2390 | * Hover | ||
| 2391 | * 1. Apply hover style also to focus state | ||
| 2392 | * 2. Remove default focus style | ||
| 2393 | */ | ||
| 2394 | .uk-subnav-pill > * > :hover, | ||
| 2395 | .uk-subnav-pill > * > :focus { | ||
| 2396 | background: #fafafa; | ||
| 2397 | color: #444; | ||
| 2398 | text-decoration: none; | ||
| 2399 | /* 2 */ | ||
| 2400 | outline: none; | ||
| 2401 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); | ||
| 2402 | } | ||
| 2403 | /* | ||
| 2404 | * Active | ||
| 2405 | * `li` needed for higher specificity to override hover | ||
| 2406 | */ | ||
| 2407 | .uk-subnav-pill > .uk-active > * { | ||
| 2408 | background: #00a8e6; | ||
| 2409 | color: #fff; | ||
| 2410 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 2411 | } | ||
| 2412 | /* Disabled state | ||
| 2413 | ========================================================================== */ | ||
| 2414 | .uk-subnav > .uk-disabled > * { | ||
| 2415 | background: none; | ||
| 2416 | color: #999; | ||
| 2417 | text-decoration: none; | ||
| 2418 | cursor: text; | ||
| 2419 | box-shadow: none; | ||
| 2420 | } | ||
| 2421 | /* ======================================================================== | ||
| 2422 | Component: Breadcrumb | ||
| 2423 | ========================================================================== */ | ||
| 2424 | /* | ||
| 2425 | * 1. Remove default list style | ||
| 2426 | * 2. Remove whitespace between child elements when using `inline-block` | ||
| 2427 | */ | ||
| 2428 | .uk-breadcrumb { | ||
| 2429 | /* 1 */ | ||
| 2430 | padding: 0; | ||
| 2431 | list-style: none; | ||
| 2432 | /* 2 */ | ||
| 2433 | font-size: 0.001px; | ||
| 2434 | } | ||
| 2435 | /* Items | ||
| 2436 | ========================================================================== */ | ||
| 2437 | /* | ||
| 2438 | * Reset whitespace hack | ||
| 2439 | */ | ||
| 2440 | .uk-breadcrumb > li { | ||
| 2441 | font-size: 1rem; | ||
| 2442 | vertical-align: top; | ||
| 2443 | } | ||
| 2444 | .uk-breadcrumb > li, | ||
| 2445 | .uk-breadcrumb > li > a, | ||
| 2446 | .uk-breadcrumb > li > span { | ||
| 2447 | display: inline-block; | ||
| 2448 | } | ||
| 2449 | .uk-breadcrumb > li:nth-child(n+2):before { | ||
| 2450 | content: "/"; | ||
| 2451 | display: inline-block; | ||
| 2452 | margin: 0 8px; | ||
| 2453 | } | ||
| 2454 | /* | ||
| 2455 | * Disabled | ||
| 2456 | */ | ||
| 2457 | .uk-breadcrumb > li:not(.uk-active) > span { | ||
| 2458 | color: #999; | ||
| 2459 | } | ||
| 2460 | /* ======================================================================== | ||
| 2461 | Component: Pagination | ||
| 2462 | ========================================================================== */ | ||
| 2463 | /* | ||
| 2464 | * 1. Remove default list style | ||
| 2465 | * 2. Center pagination by default | ||
| 2466 | * 3. Remove whitespace between child elements when using `inline-block` | ||
| 2467 | */ | ||
| 2468 | .uk-pagination { | ||
| 2469 | /* 1 */ | ||
| 2470 | padding: 0; | ||
| 2471 | list-style: none; | ||
| 2472 | /* 2 */ | ||
| 2473 | text-align: center; | ||
| 2474 | /* 3 */ | ||
| 2475 | font-size: 0.001px; | ||
| 2476 | } | ||
| 2477 | /* | ||
| 2478 | * Micro clearfix | ||
| 2479 | * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used | ||
| 2480 | */ | ||
| 2481 | .uk-pagination:before, | ||
| 2482 | .uk-pagination:after { | ||
| 2483 | content: ""; | ||
| 2484 | display: table; | ||
| 2485 | } | ||
| 2486 | .uk-pagination:after { | ||
| 2487 | clear: both; | ||
| 2488 | } | ||
| 2489 | /* Items | ||
| 2490 | ========================================================================== */ | ||
| 2491 | /* | ||
| 2492 | * 1. Reset whitespace hack | ||
| 2493 | * 2. Remove the gap at the bottom of it container | ||
| 2494 | */ | ||
| 2495 | .uk-pagination > li { | ||
| 2496 | display: inline-block; | ||
| 2497 | /* 1 */ | ||
| 2498 | font-size: 1rem; | ||
| 2499 | /* 2 */ | ||
| 2500 | vertical-align: top; | ||
| 2501 | } | ||
| 2502 | .uk-pagination > li:nth-child(n+2) { | ||
| 2503 | margin-left: 5px; | ||
| 2504 | } | ||
| 2505 | /* | ||
| 2506 | * 1. Makes pagination more robust against different box-sizing use | ||
| 2507 | * 2. Reset text-align to center if alignment modifier is used | ||
| 2508 | */ | ||
| 2509 | .uk-pagination > li > a, | ||
| 2510 | .uk-pagination > li > span { | ||
| 2511 | display: inline-block; | ||
| 2512 | min-width: 16px; | ||
| 2513 | padding: 3px 5px; | ||
| 2514 | line-height: 20px; | ||
| 2515 | text-decoration: none; | ||
| 2516 | /* 1 */ | ||
| 2517 | box-sizing: content-box; | ||
| 2518 | /* 2 */ | ||
| 2519 | text-align: center; | ||
| 2520 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 2521 | border-radius: 4px; | ||
| 2522 | } | ||
| 2523 | /* | ||
| 2524 | * Links | ||
| 2525 | */ | ||
| 2526 | .uk-pagination > li > a { | ||
| 2527 | background: #f5f5f5; | ||
| 2528 | color: #444; | ||
| 2529 | text-shadow: 0 1px 0 #fff; | ||
| 2530 | } | ||
| 2531 | /* | ||
| 2532 | * Hover | ||
| 2533 | * 1. Apply hover style also to focus state | ||
| 2534 | * 2. Remove default focus style | ||
| 2535 | */ | ||
| 2536 | .uk-pagination > li > a:hover, | ||
| 2537 | .uk-pagination > li > a:focus { | ||
| 2538 | background-color: #fafafa; | ||
| 2539 | color: #444; | ||
| 2540 | /* 2 */ | ||
| 2541 | outline: none; | ||
| 2542 | border-color: rgba(0, 0, 0, 0.16); | ||
| 2543 | } | ||
| 2544 | /* OnClick */ | ||
| 2545 | .uk-pagination > li > a:active { | ||
| 2546 | background-color: #eee; | ||
| 2547 | color: #444; | ||
| 2548 | } | ||
| 2549 | /* | ||
| 2550 | * Active | ||
| 2551 | */ | ||
| 2552 | .uk-pagination > .uk-active > span { | ||
| 2553 | background: #00a8e6; | ||
| 2554 | color: #fff; | ||
| 2555 | border-color: transparent; | ||
| 2556 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 2557 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 2558 | } | ||
| 2559 | /* | ||
| 2560 | * Disabled | ||
| 2561 | */ | ||
| 2562 | .uk-pagination > .uk-disabled > span { | ||
| 2563 | background-color: #fafafa; | ||
| 2564 | color: #999; | ||
| 2565 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 2566 | text-shadow: 0 1px 0 #fff; | ||
| 2567 | } | ||
| 2568 | /* Previous and next navigation | ||
| 2569 | ========================================================================== */ | ||
| 2570 | .uk-pagination-previous { | ||
| 2571 | float: left; | ||
| 2572 | } | ||
| 2573 | .uk-pagination-next { | ||
| 2574 | float: right; | ||
| 2575 | } | ||
| 2576 | /* Alignment modifiers | ||
| 2577 | ========================================================================== */ | ||
| 2578 | .uk-pagination-left { | ||
| 2579 | text-align: left; | ||
| 2580 | } | ||
| 2581 | .uk-pagination-right { | ||
| 2582 | text-align: right; | ||
| 2583 | } | ||
| 2584 | /* ======================================================================== | ||
| 2585 | Component: Tab | ||
| 2586 | ========================================================================== */ | ||
| 2587 | .uk-tab { | ||
| 2588 | margin: 0; | ||
| 2589 | padding: 0; | ||
| 2590 | list-style: none; | ||
| 2591 | border-bottom: 1px solid #ddd; | ||
| 2592 | } | ||
| 2593 | /* | ||
| 2594 | * Micro clearfix on the deepest container | ||
| 2595 | */ | ||
| 2596 | .uk-tab:before, | ||
| 2597 | .uk-tab:after { | ||
| 2598 | content: ""; | ||
| 2599 | display: table; | ||
| 2600 | } | ||
| 2601 | .uk-tab:after { | ||
| 2602 | clear: both; | ||
| 2603 | } | ||
| 2604 | /* | ||
| 2605 | * Items | ||
| 2606 | * 1. Create position context for dropdowns | ||
| 2607 | */ | ||
| 2608 | .uk-tab > li { | ||
| 2609 | margin-bottom: -1px; | ||
| 2610 | float: left; | ||
| 2611 | /* 1 */ | ||
| 2612 | position: relative; | ||
| 2613 | } | ||
| 2614 | .uk-tab > li > a { | ||
| 2615 | display: block; | ||
| 2616 | padding: 8px 12px 8px 12px; | ||
| 2617 | border: 1px solid transparent; | ||
| 2618 | border-bottom-width: 0; | ||
| 2619 | color: #07D; | ||
| 2620 | text-decoration: none; | ||
| 2621 | border-radius: 4px 4px 0 0; | ||
| 2622 | text-shadow: 0 1px 0 #fff; | ||
| 2623 | } | ||
| 2624 | .uk-tab > li:nth-child(n+2) > a { | ||
| 2625 | margin-left: 5px; | ||
| 2626 | } | ||
| 2627 | /* | ||
| 2628 | * Hover | ||
| 2629 | * 1. Apply hover style also to focus state | ||
| 2630 | * 2. Also apply if dropdown is opened | ||
| 2631 | * 3. Remove default focus style | ||
| 2632 | */ | ||
| 2633 | .uk-tab > li > a:hover, | ||
| 2634 | .uk-tab > li > a:focus, | ||
| 2635 | .uk-tab > li.uk-open > a { | ||
| 2636 | border-color: rgba(0, 0, 0, 0.06); | ||
| 2637 | background: #f5f5f5; | ||
| 2638 | color: #059; | ||
| 2639 | /* 2 */ | ||
| 2640 | outline: none; | ||
| 2641 | } | ||
| 2642 | .uk-tab > li:not(.uk-active) > a:hover, | ||
| 2643 | .uk-tab > li:not(.uk-active) > a:focus, | ||
| 2644 | .uk-tab > li.uk-open:not(.uk-active) > a { | ||
| 2645 | margin-bottom: 1px; | ||
| 2646 | padding-bottom: 7px; | ||
| 2647 | } | ||
| 2648 | /* Active */ | ||
| 2649 | .uk-tab > li.uk-active > a { | ||
| 2650 | border-color: #ddd; | ||
| 2651 | border-bottom-color: transparent; | ||
| 2652 | background: #fff; | ||
| 2653 | color: #444; | ||
| 2654 | } | ||
| 2655 | /* Disabled */ | ||
| 2656 | .uk-tab > li.uk-disabled > a { | ||
| 2657 | color: #999; | ||
| 2658 | cursor: text; | ||
| 2659 | } | ||
| 2660 | .uk-tab > li.uk-disabled > a:hover, | ||
| 2661 | .uk-tab > li.uk-disabled > a:focus, | ||
| 2662 | .uk-tab > li.uk-disabled.uk-active > a { | ||
| 2663 | background: none; | ||
| 2664 | border-color: transparent; | ||
| 2665 | } | ||
| 2666 | /* Modifier: 'tab-flip' | ||
| 2667 | ========================================================================== */ | ||
| 2668 | .uk-tab-flip > li { | ||
| 2669 | float: right; | ||
| 2670 | } | ||
| 2671 | .uk-tab-flip > li:nth-child(n+2) > a { | ||
| 2672 | margin-left: 0; | ||
| 2673 | margin-right: 5px; | ||
| 2674 | } | ||
| 2675 | /* Modifier: 'tab-responsive' | ||
| 2676 | ========================================================================== */ | ||
| 2677 | .uk-tab > li.uk-tab-responsive > a { | ||
| 2678 | margin-left: 0; | ||
| 2679 | margin-right: 0; | ||
| 2680 | } | ||
| 2681 | /* | ||
| 2682 | * Icon | ||
| 2683 | */ | ||
| 2684 | .uk-tab-responsive > a:before { | ||
| 2685 | content: "\f0c9\00a0"; | ||
| 2686 | font-family: FontAwesome; | ||
| 2687 | } | ||
| 2688 | /* Modifier: 'tab-center' | ||
| 2689 | ========================================================================== */ | ||
| 2690 | .uk-tab-center { | ||
| 2691 | border-bottom: 1px solid #ddd; | ||
| 2692 | } | ||
| 2693 | .uk-tab-center-bottom { | ||
| 2694 | border-bottom: none; | ||
| 2695 | border-top: 1px solid #ddd; | ||
| 2696 | } | ||
| 2697 | .uk-tab-center:before, | ||
| 2698 | .uk-tab-center:after { | ||
| 2699 | content: ""; | ||
| 2700 | display: table; | ||
| 2701 | } | ||
| 2702 | .uk-tab-center:after { | ||
| 2703 | clear: both; | ||
| 2704 | } | ||
| 2705 | /* | ||
| 2706 | * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs | ||
| 2707 | */ | ||
| 2708 | .uk-tab-center .uk-tab { | ||
| 2709 | position: relative; | ||
| 2710 | right: 50%; | ||
| 2711 | border: none; | ||
| 2712 | float: right; | ||
| 2713 | } | ||
| 2714 | .uk-tab-center .uk-tab > li { | ||
| 2715 | position: relative; | ||
| 2716 | right: -50%; | ||
| 2717 | } | ||
| 2718 | .uk-tab-center .uk-tab > li > a { | ||
| 2719 | text-align: center; | ||
| 2720 | } | ||
| 2721 | /* Modifier: 'tab-bottom' | ||
| 2722 | ========================================================================== */ | ||
| 2723 | .uk-tab-bottom { | ||
| 2724 | border-top: 1px solid #ddd; | ||
| 2725 | border-bottom: none; | ||
| 2726 | } | ||
| 2727 | .uk-tab-bottom > li { | ||
| 2728 | margin-top: -1px; | ||
| 2729 | margin-bottom: 0; | ||
| 2730 | } | ||
| 2731 | .uk-tab-bottom > li > a { | ||
| 2732 | padding-top: 8px; | ||
| 2733 | padding-bottom: 8px; | ||
| 2734 | border-bottom-width: 1px; | ||
| 2735 | border-top-width: 0; | ||
| 2736 | } | ||
| 2737 | .uk-tab-bottom > li:not(.uk-active) > a:hover, | ||
| 2738 | .uk-tab-bottom > li:not(.uk-active) > a:focus, | ||
| 2739 | .uk-tab-bottom > li.uk-open:not(.uk-active) > a { | ||
| 2740 | margin-bottom: 0; | ||
| 2741 | margin-top: 1px; | ||
| 2742 | padding-bottom: 8px; | ||
| 2743 | padding-top: 7px; | ||
| 2744 | } | ||
| 2745 | .uk-tab-bottom > li.uk-active > a { | ||
| 2746 | border-top-color: transparent; | ||
| 2747 | border-bottom-color: #ddd; | ||
| 2748 | } | ||
| 2749 | /* Modifier: 'tab-grid' | ||
| 2750 | ========================================================================== */ | ||
| 2751 | /* | ||
| 2752 | * 1. Create position context to prevent hidden border because of negative `z-index` | ||
| 2753 | */ | ||
| 2754 | .uk-tab-grid { | ||
| 2755 | margin-left: -5px; | ||
| 2756 | border-bottom: none; | ||
| 2757 | /* 1 */ | ||
| 2758 | position: relative; | ||
| 2759 | z-index: 0; | ||
| 2760 | } | ||
| 2761 | .uk-tab-grid:before { | ||
| 2762 | display: block; | ||
| 2763 | position: absolute; | ||
| 2764 | left: 5px; | ||
| 2765 | right: 0; | ||
| 2766 | bottom: -1px; | ||
| 2767 | border-top: 1px solid #ddd; | ||
| 2768 | /* 1 */ | ||
| 2769 | z-index: -1; | ||
| 2770 | } | ||
| 2771 | .uk-tab-grid > li:first-child > a { | ||
| 2772 | margin-left: 5px; | ||
| 2773 | } | ||
| 2774 | .uk-tab-grid > li > a { | ||
| 2775 | text-align: center; | ||
| 2776 | } | ||
| 2777 | /* | ||
| 2778 | * If `uk-tab-bottom` | ||
| 2779 | */ | ||
| 2780 | .uk-tab-grid.uk-tab-bottom { | ||
| 2781 | border-top: none; | ||
| 2782 | } | ||
| 2783 | .uk-tab-grid.uk-tab-bottom:before { | ||
| 2784 | top: -1px; | ||
| 2785 | bottom: auto; | ||
| 2786 | } | ||
| 2787 | /* Modifier: 'tab-left', 'tab-right' | ||
| 2788 | ========================================================================== */ | ||
| 2789 | /* Tablet and bigger */ | ||
| 2790 | @media (min-width: 768px) { | ||
| 2791 | .uk-tab-left, | ||
| 2792 | .uk-tab-right { | ||
| 2793 | border-bottom: none; | ||
| 2794 | } | ||
| 2795 | .uk-tab-left > li, | ||
| 2796 | .uk-tab-right > li { | ||
| 2797 | margin-bottom: 0; | ||
| 2798 | float: none; | ||
| 2799 | } | ||
| 2800 | .uk-tab-left > li > a, | ||
| 2801 | .uk-tab-right > li > a { | ||
| 2802 | padding-top: 8px; | ||
| 2803 | padding-bottom: 8px; | ||
| 2804 | } | ||
| 2805 | .uk-tab-left > li:nth-child(n+2) > a, | ||
| 2806 | .uk-tab-right > li:nth-child(n+2) > a { | ||
| 2807 | margin-left: 0; | ||
| 2808 | margin-top: 5px; | ||
| 2809 | } | ||
| 2810 | .uk-tab-left > li.uk-active > a, | ||
| 2811 | .uk-tab-right > li.uk-active > a { | ||
| 2812 | border-color: #ddd; | ||
| 2813 | } | ||
| 2814 | /* | ||
| 2815 | * Modifier: 'tab-left' | ||
| 2816 | */ | ||
| 2817 | .uk-tab-left { | ||
| 2818 | border-right: 1px solid #ddd; | ||
| 2819 | } | ||
| 2820 | .uk-tab-left > li { | ||
| 2821 | margin-right: -1px; | ||
| 2822 | } | ||
| 2823 | .uk-tab-left > li > a { | ||
| 2824 | border-bottom-width: 1px; | ||
| 2825 | border-right-width: 0; | ||
| 2826 | } | ||
| 2827 | .uk-tab-left > li:not(.uk-active) > a:hover, | ||
| 2828 | .uk-tab-left > li:not(.uk-active) > a:focus { | ||
| 2829 | margin-bottom: 0; | ||
| 2830 | margin-right: 1px; | ||
| 2831 | padding-bottom: 8px; | ||
| 2832 | padding-right: 11px; | ||
| 2833 | } | ||
| 2834 | .uk-tab-left > li.uk-active > a { | ||
| 2835 | border-right-color: transparent; | ||
| 2836 | } | ||
| 2837 | /* | ||
| 2838 | * Modifier: 'tab-right' | ||
| 2839 | */ | ||
| 2840 | .uk-tab-right { | ||
| 2841 | border-left: 1px solid #ddd; | ||
| 2842 | } | ||
| 2843 | .uk-tab-right > li { | ||
| 2844 | margin-left: -1px; | ||
| 2845 | } | ||
| 2846 | .uk-tab-right > li > a { | ||
| 2847 | border-bottom-width: 1px; | ||
| 2848 | border-left-width: 0; | ||
| 2849 | } | ||
| 2850 | .uk-tab-right > li:not(.uk-active) > a:hover, | ||
| 2851 | .uk-tab-right > li:not(.uk-active) > a:focus { | ||
| 2852 | margin-bottom: 0; | ||
| 2853 | margin-left: 1px; | ||
| 2854 | padding-bottom: 8px; | ||
| 2855 | padding-left: 11px; | ||
| 2856 | } | ||
| 2857 | .uk-tab-right > li.uk-active > a { | ||
| 2858 | border-left-color: transparent; | ||
| 2859 | } | ||
| 2860 | } | ||
| 2861 | /* Modifier: `uk-tab-bottom' | ||
| 2862 | ========================================================================== */ | ||
| 2863 | .uk-tab-bottom > li > a { | ||
| 2864 | border-radius: 0 0 4px 4px; | ||
| 2865 | } | ||
| 2866 | /* Modifier: `uk-tab-left', `uk-tab-right' | ||
| 2867 | ========================================================================== */ | ||
| 2868 | /* Tablet and bigger */ | ||
| 2869 | @media (min-width: 768px) { | ||
| 2870 | /* | ||
| 2871 | * Modifier: `uk-tab-left' | ||
| 2872 | */ | ||
| 2873 | .uk-tab-left > li > a { | ||
| 2874 | border-radius: 4px 0 0 4px; | ||
| 2875 | } | ||
| 2876 | /* | ||
| 2877 | * Modifier: `uk-tab-right' | ||
| 2878 | */ | ||
| 2879 | .uk-tab-right > li > a { | ||
| 2880 | border-radius: 0 4px 4px 0; | ||
| 2881 | } | ||
| 2882 | } | ||
| 2883 | /* ======================================================================== | ||
| 2884 | Component: Thumbnav | ||
| 2885 | ========================================================================== */ | ||
| 2886 | /* | ||
| 2887 | * 1. Gutter | ||
| 2888 | * 2. Remove default list style | ||
| 2889 | */ | ||
| 2890 | .uk-thumbnav { | ||
| 2891 | display: -ms-flexbox; | ||
| 2892 | display: -webkit-flex; | ||
| 2893 | display: flex; | ||
| 2894 | -ms-flex-wrap: wrap; | ||
| 2895 | -webkit-flex-wrap: wrap; | ||
| 2896 | flex-wrap: wrap; | ||
| 2897 | /* 1 */ | ||
| 2898 | margin-left: -10px; | ||
| 2899 | margin-top: -10px; | ||
| 2900 | /* 2 */ | ||
| 2901 | padding: 0; | ||
| 2902 | list-style: none; | ||
| 2903 | } | ||
| 2904 | /* | ||
| 2905 | * 1. Space is allocated solely based on content dimensions | ||
| 2906 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 2907 | */ | ||
| 2908 | .uk-thumbnav > * { | ||
| 2909 | /* 1 */ | ||
| 2910 | -ms-flex: none; | ||
| 2911 | -webkit-flex: none; | ||
| 2912 | flex: none; | ||
| 2913 | /* 2 */ | ||
| 2914 | padding-left: 10px; | ||
| 2915 | margin-top: 10px; | ||
| 2916 | } | ||
| 2917 | /* | ||
| 2918 | * DEPRECATED IE9 Support | ||
| 2919 | */ | ||
| 2920 | .uk-thumbnav:before, | ||
| 2921 | .uk-thumbnav:after { | ||
| 2922 | content: ""; | ||
| 2923 | display: block; | ||
| 2924 | overflow: hidden; | ||
| 2925 | } | ||
| 2926 | .uk-thumbnav:after { | ||
| 2927 | clear: both; | ||
| 2928 | } | ||
| 2929 | .uk-thumbnav > * { | ||
| 2930 | float: left; | ||
| 2931 | } | ||
| 2932 | /* Items | ||
| 2933 | ========================================================================== */ | ||
| 2934 | .uk-thumbnav > * > * { | ||
| 2935 | display: block; | ||
| 2936 | background: #fff; | ||
| 2937 | } | ||
| 2938 | .uk-thumbnav > * > * > img { | ||
| 2939 | opacity: 0.7; | ||
| 2940 | -webkit-transition: opacity 0.15s linear; | ||
| 2941 | transition: opacity 0.15s linear; | ||
| 2942 | } | ||
| 2943 | /* | ||
| 2944 | * Hover | ||
| 2945 | */ | ||
| 2946 | .uk-thumbnav > * > :hover > img, | ||
| 2947 | .uk-thumbnav > * > :focus > img { | ||
| 2948 | opacity: 1; | ||
| 2949 | } | ||
| 2950 | /* | ||
| 2951 | * Active | ||
| 2952 | */ | ||
| 2953 | .uk-thumbnav > .uk-active > * > img { | ||
| 2954 | opacity: 1; | ||
| 2955 | } | ||
| 2956 | /* ======================================================================== | ||
| 2957 | Component: List | ||
| 2958 | ========================================================================== */ | ||
| 2959 | .uk-list { | ||
| 2960 | padding: 0; | ||
| 2961 | list-style: none; | ||
| 2962 | } | ||
| 2963 | /* | ||
| 2964 | * Micro clearfix to make list more robust | ||
| 2965 | */ | ||
| 2966 | .uk-list > li:before, | ||
| 2967 | .uk-list > li:after { | ||
| 2968 | content: ""; | ||
| 2969 | display: table; | ||
| 2970 | } | ||
| 2971 | .uk-list > li:after { | ||
| 2972 | clear: both; | ||
| 2973 | } | ||
| 2974 | /* | ||
| 2975 | * Remove margin from the last-child | ||
| 2976 | */ | ||
| 2977 | .uk-list > li > :last-child { | ||
| 2978 | margin-bottom: 0; | ||
| 2979 | } | ||
| 2980 | /* | ||
| 2981 | * Nested lists | ||
| 2982 | */ | ||
| 2983 | .uk-list ul { | ||
| 2984 | margin: 0; | ||
| 2985 | padding-left: 20px; | ||
| 2986 | list-style: none; | ||
| 2987 | } | ||
| 2988 | /* Modifier: `uk-list-line` | ||
| 2989 | ========================================================================== */ | ||
| 2990 | .uk-list-line > li:nth-child(n+2) { | ||
| 2991 | margin-top: 5px; | ||
| 2992 | padding-top: 5px; | ||
| 2993 | border-top: 1px solid #ddd; | ||
| 2994 | } | ||
| 2995 | /* Modifier: `uk-list-striped` | ||
| 2996 | ========================================================================== */ | ||
| 2997 | .uk-list-striped > li { | ||
| 2998 | padding: 5px 5px; | ||
| 2999 | border-bottom: 1px solid #ddd; | ||
| 3000 | } | ||
| 3001 | .uk-list-striped > li:nth-of-type(odd) { | ||
| 3002 | background: #fafafa; | ||
| 3003 | } | ||
| 3004 | /* Modifier: `uk-list-space` | ||
| 3005 | ========================================================================== */ | ||
| 3006 | .uk-list-space > li:nth-child(n+2) { | ||
| 3007 | margin-top: 10px; | ||
| 3008 | } | ||
| 3009 | .uk-list-striped > li:first-child { | ||
| 3010 | border-top: 1px solid #ddd; | ||
| 3011 | } | ||
| 3012 | /* ======================================================================== | ||
| 3013 | Component: Description list | ||
| 3014 | ========================================================================== */ | ||
| 3015 | /* Modifier: `uk-description-list-horizontal` | ||
| 3016 | ========================================================================== */ | ||
| 3017 | /* Tablet and bigger */ | ||
| 3018 | @media (min-width: 768px) { | ||
| 3019 | .uk-description-list-horizontal { | ||
| 3020 | overflow: hidden; | ||
| 3021 | } | ||
| 3022 | .uk-description-list-horizontal > dt { | ||
| 3023 | width: 160px; | ||
| 3024 | float: left; | ||
| 3025 | clear: both; | ||
| 3026 | overflow: hidden; | ||
| 3027 | text-overflow: ellipsis; | ||
| 3028 | white-space: nowrap; | ||
| 3029 | } | ||
| 3030 | .uk-description-list-horizontal > dd { | ||
| 3031 | margin-left: 180px; | ||
| 3032 | } | ||
| 3033 | } | ||
| 3034 | /* Modifier: `uk-description-list-line` | ||
| 3035 | ========================================================================== */ | ||
| 3036 | .uk-description-list-line > dt { | ||
| 3037 | font-weight: normal; | ||
| 3038 | } | ||
| 3039 | .uk-description-list-line > dt:nth-child(n+2) { | ||
| 3040 | margin-top: 5px; | ||
| 3041 | padding-top: 5px; | ||
| 3042 | border-top: 1px solid #ddd; | ||
| 3043 | } | ||
| 3044 | .uk-description-list-line > dd { | ||
| 3045 | color: #999; | ||
| 3046 | } | ||
| 3047 | /* ======================================================================== | ||
| 3048 | Component: Table | ||
| 3049 | ========================================================================== */ | ||
| 3050 | /* | ||
| 3051 | * 1. Remove most spacing between table cells. | ||
| 3052 | * 2. Block element behavior | ||
| 3053 | * 3. Style | ||
| 3054 | */ | ||
| 3055 | .uk-table { | ||
| 3056 | /* 1 */ | ||
| 3057 | border-collapse: collapse; | ||
| 3058 | border-spacing: 0; | ||
| 3059 | /* 2 */ | ||
| 3060 | width: 100%; | ||
| 3061 | /* 3 */ | ||
| 3062 | margin-bottom: 15px; | ||
| 3063 | } | ||
| 3064 | /* | ||
| 3065 | * Add margin if adjacent element | ||
| 3066 | */ | ||
| 3067 | * + .uk-table { | ||
| 3068 | margin-top: 15px; | ||
| 3069 | } | ||
| 3070 | .uk-table th, | ||
| 3071 | .uk-table td { | ||
| 3072 | padding: 8px 8px; | ||
| 3073 | border-bottom: 1px solid #ddd; | ||
| 3074 | } | ||
| 3075 | /* | ||
| 3076 | * Set alignment | ||
| 3077 | */ | ||
| 3078 | .uk-table th { | ||
| 3079 | text-align: left; | ||
| 3080 | } | ||
| 3081 | .uk-table td { | ||
| 3082 | vertical-align: top; | ||
| 3083 | } | ||
| 3084 | .uk-table thead th { | ||
| 3085 | vertical-align: bottom; | ||
| 3086 | } | ||
| 3087 | /* | ||
| 3088 | * Caption and footer | ||
| 3089 | */ | ||
| 3090 | .uk-table caption, | ||
| 3091 | .uk-table tfoot { | ||
| 3092 | font-size: 12px; | ||
| 3093 | font-style: italic; | ||
| 3094 | } | ||
| 3095 | .uk-table caption { | ||
| 3096 | text-align: left; | ||
| 3097 | color: #999; | ||
| 3098 | } | ||
| 3099 | /* | ||
| 3100 | * Active State | ||
| 3101 | */ | ||
| 3102 | .uk-table tbody tr.uk-active { | ||
| 3103 | background: #f0f0f0; | ||
| 3104 | } | ||
| 3105 | /* Sub-modifier: `uk-table-middle` | ||
| 3106 | ========================================================================== */ | ||
| 3107 | .uk-table-middle, | ||
| 3108 | .uk-table-middle td { | ||
| 3109 | vertical-align: middle !important; | ||
| 3110 | } | ||
| 3111 | /* Modifier: `uk-table-striped` | ||
| 3112 | ========================================================================== */ | ||
| 3113 | .uk-table-striped tbody tr:nth-of-type(odd) { | ||
| 3114 | background: #fafafa; | ||
| 3115 | } | ||
| 3116 | /* Modifier: `uk-table-condensed` | ||
| 3117 | ========================================================================== */ | ||
| 3118 | .uk-table-condensed td { | ||
| 3119 | padding: 4px 8px; | ||
| 3120 | } | ||
| 3121 | /* Modifier: `uk-table-hover` | ||
| 3122 | ========================================================================== */ | ||
| 3123 | .uk-table-hover tbody tr:hover { | ||
| 3124 | background: #f0f0f0; | ||
| 3125 | } | ||
| 3126 | /* ======================================================================== | ||
| 3127 | Component: Form | ||
| 3128 | ========================================================================== */ | ||
| 3129 | /* | ||
| 3130 | * 1. Define consistent box sizing. | ||
| 3131 | * Default is `content-box` with following exceptions set to `border-box` | ||
| 3132 | * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` | ||
| 3133 | * `input[type="search"]` in Chrome, Safari and Opera | ||
| 3134 | * `input[type="color"]` in Firefox | ||
| 3135 | * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. | ||
| 3136 | * 3. Remove `border-radius` in iOS. | ||
| 3137 | * 4. Correct `font` properties and `color` not being inherited. | ||
| 3138 | */ | ||
| 3139 | .uk-form input, | ||
| 3140 | .uk-form select, | ||
| 3141 | .uk-form textarea { | ||
| 3142 | /* 1 */ | ||
| 3143 | box-sizing: border-box; | ||
| 3144 | /* 2 */ | ||
| 3145 | margin: 0; | ||
| 3146 | /* 3 */ | ||
| 3147 | border-radius: 0; | ||
| 3148 | /* 4 */ | ||
| 3149 | font: inherit; | ||
| 3150 | color: inherit; | ||
| 3151 | } | ||
| 3152 | /* | ||
| 3153 | * Address inconsistent `text-transform` inheritance which is only inherit in Firefox | ||
| 3154 | */ | ||
| 3155 | .uk-form select { | ||
| 3156 | text-transform: none; | ||
| 3157 | } | ||
| 3158 | /* | ||
| 3159 | * 1. Correct `font` properties not being inherited. | ||
| 3160 | * 2. Don't inherit the `font-weight` and use `bold` instead. | ||
| 3161 | * NOTE: Both declarations don't work in Chrome, Safari and Opera. | ||
| 3162 | */ | ||
| 3163 | .uk-form optgroup { | ||
| 3164 | /* 1 */ | ||
| 3165 | font: inherit; | ||
| 3166 | /* 2 */ | ||
| 3167 | font-weight: bold; | ||
| 3168 | } | ||
| 3169 | /* | ||
| 3170 | * Removes inner padding and border in Firefox 4+. | ||
| 3171 | */ | ||
| 3172 | .uk-form input::-moz-focus-inner { | ||
| 3173 | border: 0; | ||
| 3174 | padding: 0; | ||
| 3175 | } | ||
| 3176 | /* | ||
| 3177 | * Removes excess padding in IE 8/9/10. | ||
| 3178 | */ | ||
| 3179 | .uk-form input[type="checkbox"], | ||
| 3180 | .uk-form input[type="radio"] { | ||
| 3181 | padding: 0; | ||
| 3182 | } | ||
| 3183 | /* | ||
| 3184 | * Improves consistency of cursor style for clickable elements | ||
| 3185 | */ | ||
| 3186 | .uk-form input[type="checkbox"]:not(:disabled), | ||
| 3187 | .uk-form input[type="radio"]:not(:disabled) { | ||
| 3188 | cursor: pointer; | ||
| 3189 | } | ||
| 3190 | /* | ||
| 3191 | * Remove default style in iOS. | ||
| 3192 | */ | ||
| 3193 | .uk-form textarea, | ||
| 3194 | .uk-form input:not([type]), | ||
| 3195 | .uk-form input[type="text"], | ||
| 3196 | .uk-form input[type="password"], | ||
| 3197 | .uk-form input[type="email"], | ||
| 3198 | .uk-form input[type="url"], | ||
| 3199 | .uk-form input[type="search"], | ||
| 3200 | .uk-form input[type="tel"], | ||
| 3201 | .uk-form input[type="number"], | ||
| 3202 | .uk-form input[type="datetime"] { | ||
| 3203 | -webkit-appearance: none; | ||
| 3204 | } | ||
| 3205 | /* | ||
| 3206 | * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. | ||
| 3207 | */ | ||
| 3208 | .uk-form input[type="search"]::-webkit-search-cancel-button, | ||
| 3209 | .uk-form input[type="search"]::-webkit-search-decoration { | ||
| 3210 | -webkit-appearance: none; | ||
| 3211 | } | ||
| 3212 | /* | ||
| 3213 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain | ||
| 3214 | * `font-size` values of the `input`, it causes the cursor style of the | ||
| 3215 | * decrement button to change from `default` to `text`. | ||
| 3216 | */ | ||
| 3217 | .uk-form input[type="number"]::-webkit-inner-spin-button, | ||
| 3218 | .uk-form input[type="number"]::-webkit-outer-spin-button { | ||
| 3219 | height: auto; | ||
| 3220 | } | ||
| 3221 | /* | ||
| 3222 | * Define consistent border, margin, and padding. | ||
| 3223 | */ | ||
| 3224 | .uk-form fieldset { | ||
| 3225 | border: none; | ||
| 3226 | margin: 0; | ||
| 3227 | padding: 0; | ||
| 3228 | } | ||
| 3229 | /* | ||
| 3230 | * 1. Remove default vertical scrollbar in IE 8/9/10/11. | ||
| 3231 | * 2. Improve readability and alignment in all browsers. | ||
| 3232 | */ | ||
| 3233 | .uk-form textarea { | ||
| 3234 | /* 1 */ | ||
| 3235 | overflow: auto; | ||
| 3236 | /* 2 */ | ||
| 3237 | vertical-align: top; | ||
| 3238 | } | ||
| 3239 | /* | ||
| 3240 | * Removes placeholder transparency in Firefox. | ||
| 3241 | */ | ||
| 3242 | .uk-form ::-moz-placeholder { | ||
| 3243 | opacity: 1; | ||
| 3244 | } | ||
| 3245 | /* | ||
| 3246 | * Removes `box-shadow` for invalid controls in Firefox. | ||
| 3247 | */ | ||
| 3248 | .uk-form :invalid { | ||
| 3249 | box-shadow: none; | ||
| 3250 | } | ||
| 3251 | /* | ||
| 3252 | * Vertical alignment | ||
| 3253 | */ | ||
| 3254 | .uk-form input:not([type="radio"]):not([type="checkbox"]), | ||
| 3255 | .uk-form select { | ||
| 3256 | vertical-align: middle; | ||
| 3257 | } | ||
| 3258 | /* Style | ||
| 3259 | ========================================================================== */ | ||
| 3260 | /* | ||
| 3261 | * Remove margin from the last-child | ||
| 3262 | */ | ||
| 3263 | .uk-form > :last-child { | ||
| 3264 | margin-bottom: 0; | ||
| 3265 | } | ||
| 3266 | /* | ||
| 3267 | * Controls | ||
| 3268 | * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` | ||
| 3269 | * 1. Must be `height` because `min-height` is not working in OSX | ||
| 3270 | * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports | ||
| 3271 | * 3. Vertical `padding` needed for `select` elements in Firefox | ||
| 3272 | * 4. Style | ||
| 3273 | */ | ||
| 3274 | .uk-form select, | ||
| 3275 | .uk-form textarea, | ||
| 3276 | .uk-form input:not([type]), | ||
| 3277 | .uk-form input[type="text"], | ||
| 3278 | .uk-form input[type="password"], | ||
| 3279 | .uk-form input[type="datetime"], | ||
| 3280 | .uk-form input[type="datetime-local"], | ||
| 3281 | .uk-form input[type="date"], | ||
| 3282 | .uk-form input[type="month"], | ||
| 3283 | .uk-form input[type="time"], | ||
| 3284 | .uk-form input[type="week"], | ||
| 3285 | .uk-form input[type="number"], | ||
| 3286 | .uk-form input[type="email"], | ||
| 3287 | .uk-form input[type="url"], | ||
| 3288 | .uk-form input[type="search"], | ||
| 3289 | .uk-form input[type="tel"], | ||
| 3290 | .uk-form input[type="color"] { | ||
| 3291 | /* 1 */ | ||
| 3292 | height: 30px; | ||
| 3293 | /* 2 */ | ||
| 3294 | max-width: 100%; | ||
| 3295 | /* 3 */ | ||
| 3296 | padding: 4px 6px; | ||
| 3297 | /* 4 */ | ||
| 3298 | border: 1px solid #ddd; | ||
| 3299 | background: #fff; | ||
| 3300 | color: #444; | ||
| 3301 | -webkit-transition: all 0.2s linear; | ||
| 3302 | -webkit-transition-property: border, background, color, box-shadow, padding; | ||
| 3303 | transition: all 0.2s linear; | ||
| 3304 | transition-property: border, background, color, box-shadow, padding; | ||
| 3305 | border-radius: 4px; | ||
| 3306 | } | ||
| 3307 | .uk-form select:focus, | ||
| 3308 | .uk-form textarea:focus, | ||
| 3309 | .uk-form input:not([type]):focus, | ||
| 3310 | .uk-form input[type="text"]:focus, | ||
| 3311 | .uk-form input[type="password"]:focus, | ||
| 3312 | .uk-form input[type="datetime"]:focus, | ||
| 3313 | .uk-form input[type="datetime-local"]:focus, | ||
| 3314 | .uk-form input[type="date"]:focus, | ||
| 3315 | .uk-form input[type="month"]:focus, | ||
| 3316 | .uk-form input[type="time"]:focus, | ||
| 3317 | .uk-form input[type="week"]:focus, | ||
| 3318 | .uk-form input[type="number"]:focus, | ||
| 3319 | .uk-form input[type="email"]:focus, | ||
| 3320 | .uk-form input[type="url"]:focus, | ||
| 3321 | .uk-form input[type="search"]:focus, | ||
| 3322 | .uk-form input[type="tel"]:focus, | ||
| 3323 | .uk-form input[type="color"]:focus { | ||
| 3324 | border-color: #99baca; | ||
| 3325 | outline: 0; | ||
| 3326 | background: #f5fbfe; | ||
| 3327 | color: #444; | ||
| 3328 | } | ||
| 3329 | .uk-form select:disabled, | ||
| 3330 | .uk-form textarea:disabled, | ||
| 3331 | .uk-form input:not([type]):disabled, | ||
| 3332 | .uk-form input[type="text"]:disabled, | ||
| 3333 | .uk-form input[type="password"]:disabled, | ||
| 3334 | .uk-form input[type="datetime"]:disabled, | ||
| 3335 | .uk-form input[type="datetime-local"]:disabled, | ||
| 3336 | .uk-form input[type="date"]:disabled, | ||
| 3337 | .uk-form input[type="month"]:disabled, | ||
| 3338 | .uk-form input[type="time"]:disabled, | ||
| 3339 | .uk-form input[type="week"]:disabled, | ||
| 3340 | .uk-form input[type="number"]:disabled, | ||
| 3341 | .uk-form input[type="email"]:disabled, | ||
| 3342 | .uk-form input[type="url"]:disabled, | ||
| 3343 | .uk-form input[type="search"]:disabled, | ||
| 3344 | .uk-form input[type="tel"]:disabled, | ||
| 3345 | .uk-form input[type="color"]:disabled { | ||
| 3346 | border-color: #ddd; | ||
| 3347 | background-color: #fafafa; | ||
| 3348 | color: #999; | ||
| 3349 | } | ||
| 3350 | /* | ||
| 3351 | * Placeholder | ||
| 3352 | */ | ||
| 3353 | .uk-form :-ms-input-placeholder { | ||
| 3354 | color: #999 !important; | ||
| 3355 | } | ||
| 3356 | .uk-form ::-moz-placeholder { | ||
| 3357 | color: #999; | ||
| 3358 | } | ||
| 3359 | .uk-form ::-webkit-input-placeholder { | ||
| 3360 | color: #999; | ||
| 3361 | } | ||
| 3362 | .uk-form :disabled:-ms-input-placeholder { | ||
| 3363 | color: #999 !important; | ||
| 3364 | } | ||
| 3365 | .uk-form :disabled::-moz-placeholder { | ||
| 3366 | color: #999; | ||
| 3367 | } | ||
| 3368 | .uk-form :disabled::-webkit-input-placeholder { | ||
| 3369 | color: #999; | ||
| 3370 | } | ||
| 3371 | /* | ||
| 3372 | * Legend | ||
| 3373 | * 1. Behave like block element | ||
| 3374 | * 2. Correct `color` not being inherited in IE 8/9/10/11. | ||
| 3375 | * 3. Remove padding | ||
| 3376 | * 4. `margin-bottom` is not working in Safari and Opera. | ||
| 3377 | * Using `padding` and :after instead to create the border | ||
| 3378 | * 5. Style | ||
| 3379 | */ | ||
| 3380 | .uk-form legend { | ||
| 3381 | /* 1 */ | ||
| 3382 | width: 100%; | ||
| 3383 | /* 2 */ | ||
| 3384 | border: 0; | ||
| 3385 | /* 3 */ | ||
| 3386 | padding: 0; | ||
| 3387 | /* 4 */ | ||
| 3388 | padding-bottom: 15px; | ||
| 3389 | /* 5 */ | ||
| 3390 | font-size: 18px; | ||
| 3391 | line-height: 30px; | ||
| 3392 | } | ||
| 3393 | /* | ||
| 3394 | * 1. Fixes IE9 | ||
| 3395 | */ | ||
| 3396 | .uk-form legend:after { | ||
| 3397 | content: ""; | ||
| 3398 | display: block; | ||
| 3399 | border-bottom: 1px solid #ddd; | ||
| 3400 | /* 1 */ | ||
| 3401 | width: 100%; | ||
| 3402 | } | ||
| 3403 | /* Size modifiers | ||
| 3404 | * Higher specificity needed to override defaults | ||
| 3405 | ========================================================================== */ | ||
| 3406 | select.uk-form-small, | ||
| 3407 | textarea.uk-form-small, | ||
| 3408 | input[type].uk-form-small, | ||
| 3409 | input:not([type]).uk-form-small { | ||
| 3410 | height: 25px; | ||
| 3411 | padding: 3px 3px; | ||
| 3412 | font-size: 12px; | ||
| 3413 | } | ||
| 3414 | select.uk-form-large, | ||
| 3415 | textarea.uk-form-large, | ||
| 3416 | input[type].uk-form-large, | ||
| 3417 | input:not([type]).uk-form-large { | ||
| 3418 | height: 40px; | ||
| 3419 | padding: 8px 6px; | ||
| 3420 | font-size: 16px; | ||
| 3421 | } | ||
| 3422 | /* Reset height | ||
| 3423 | * Must be after size modifiers | ||
| 3424 | ========================================================================== */ | ||
| 3425 | .uk-form textarea, | ||
| 3426 | .uk-form select[multiple], | ||
| 3427 | .uk-form select[size] { | ||
| 3428 | height: auto; | ||
| 3429 | } | ||
| 3430 | /* Validation states | ||
| 3431 | * Using !important to keep the selector simple | ||
| 3432 | ========================================================================== */ | ||
| 3433 | /* | ||
| 3434 | * Error state | ||
| 3435 | */ | ||
| 3436 | .uk-form-danger { | ||
| 3437 | border-color: #dc8d99 !important; | ||
| 3438 | background: #fff7f8 !important; | ||
| 3439 | color: #d85030 !important; | ||
| 3440 | } | ||
| 3441 | /* | ||
| 3442 | * Success state | ||
| 3443 | */ | ||
| 3444 | .uk-form-success { | ||
| 3445 | border-color: #8ec73b !important; | ||
| 3446 | background: #fafff2 !important; | ||
| 3447 | color: #659f13 !important; | ||
| 3448 | } | ||
| 3449 | /* Style modifiers | ||
| 3450 | * Using !important to keep the selector simple | ||
| 3451 | ========================================================================== */ | ||
| 3452 | /* | ||
| 3453 | * Blank form | ||
| 3454 | */ | ||
| 3455 | .uk-form-blank { | ||
| 3456 | border-color: transparent !important; | ||
| 3457 | border-style: dashed !important; | ||
| 3458 | background: none !important; | ||
| 3459 | } | ||
| 3460 | .uk-form-blank:focus { | ||
| 3461 | border-color: #ddd !important; | ||
| 3462 | } | ||
| 3463 | /* Size sub-modifiers | ||
| 3464 | ========================================================================== */ | ||
| 3465 | /* | ||
| 3466 | * Fixed widths | ||
| 3467 | * Different widths for mini sized `input` and `select` elements | ||
| 3468 | */ | ||
| 3469 | input.uk-form-width-mini { | ||
| 3470 | width: 40px; | ||
| 3471 | } | ||
| 3472 | select.uk-form-width-mini { | ||
| 3473 | width: 65px; | ||
| 3474 | } | ||
| 3475 | .uk-form-width-small { | ||
| 3476 | width: 130px; | ||
| 3477 | } | ||
| 3478 | .uk-form-width-medium { | ||
| 3479 | width: 200px; | ||
| 3480 | } | ||
| 3481 | .uk-form-width-large { | ||
| 3482 | width: 500px; | ||
| 3483 | } | ||
| 3484 | /* Sub-objects: `uk-form-row` | ||
| 3485 | * Groups labels and controls in rows | ||
| 3486 | ========================================================================== */ | ||
| 3487 | /* | ||
| 3488 | * Micro clearfix | ||
| 3489 | * Needed for `uk-form-horizontal` modifier | ||
| 3490 | */ | ||
| 3491 | .uk-form-row:before, | ||
| 3492 | .uk-form-row:after { | ||
| 3493 | content: ""; | ||
| 3494 | display: table; | ||
| 3495 | } | ||
| 3496 | .uk-form-row:after { | ||
| 3497 | clear: both; | ||
| 3498 | } | ||
| 3499 | /* | ||
| 3500 | * Vertical gutter | ||
| 3501 | */ | ||
| 3502 | .uk-form-row + .uk-form-row { | ||
| 3503 | margin-top: 15px; | ||
| 3504 | } | ||
| 3505 | /* Help text | ||
| 3506 | * Sub-object: `uk-form-help-inline`, `uk-form-help-block` | ||
| 3507 | ========================================================================== */ | ||
| 3508 | .uk-form-help-inline { | ||
| 3509 | display: inline-block; | ||
| 3510 | margin: 0 0 0 10px; | ||
| 3511 | } | ||
| 3512 | .uk-form-help-block { | ||
| 3513 | margin: 5px 0 0 0; | ||
| 3514 | } | ||
| 3515 | /* Controls content | ||
| 3516 | * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` | ||
| 3517 | ========================================================================== */ | ||
| 3518 | /* | ||
| 3519 | * Remove margins | ||
| 3520 | */ | ||
| 3521 | .uk-form-controls > :first-child { | ||
| 3522 | margin-top: 0; | ||
| 3523 | } | ||
| 3524 | .uk-form-controls > :last-child { | ||
| 3525 | margin-bottom: 0; | ||
| 3526 | } | ||
| 3527 | /* | ||
| 3528 | * Group controls and text into blocks with a small spacing between blocks | ||
| 3529 | */ | ||
| 3530 | .uk-form-controls-condensed { | ||
| 3531 | margin: 5px 0; | ||
| 3532 | } | ||
| 3533 | /* Modifier: `uk-form-stacked` | ||
| 3534 | * Requires sub-object: `uk-form-label` | ||
| 3535 | ========================================================================== */ | ||
| 3536 | .uk-form-stacked .uk-form-label { | ||
| 3537 | display: block; | ||
| 3538 | margin-bottom: 5px; | ||
| 3539 | font-weight: bold; | ||
| 3540 | } | ||
| 3541 | /* Modifier: `uk-form-horizontal` | ||
| 3542 | * Requires sub-objects: `uk-form-label`, `uk-form-controls` | ||
| 3543 | ========================================================================== */ | ||
| 3544 | /* Tablet portrait and smaller */ | ||
| 3545 | @media (max-width: 959px) { | ||
| 3546 | /* Behave like `uk-form-stacked` */ | ||
| 3547 | .uk-form-horizontal .uk-form-label { | ||
| 3548 | display: block; | ||
| 3549 | margin-bottom: 5px; | ||
| 3550 | font-weight: bold; | ||
| 3551 | } | ||
| 3552 | } | ||
| 3553 | /* Desktop and bigger */ | ||
| 3554 | @media (min-width: 960px) { | ||
| 3555 | .uk-form-horizontal .uk-form-label { | ||
| 3556 | width: 200px; | ||
| 3557 | margin-top: 5px; | ||
| 3558 | float: left; | ||
| 3559 | } | ||
| 3560 | .uk-form-horizontal .uk-form-controls { | ||
| 3561 | margin-left: 215px; | ||
| 3562 | } | ||
| 3563 | /* Better vertical alignment if controls are checkboxes and radio buttons with text */ | ||
| 3564 | .uk-form-horizontal .uk-form-controls-text { | ||
| 3565 | padding-top: 5px; | ||
| 3566 | } | ||
| 3567 | } | ||
| 3568 | /* Sub-object: `uk-form-icon` | ||
| 3569 | ========================================================================== */ | ||
| 3570 | /* | ||
| 3571 | * 1. Container width fits its content | ||
| 3572 | * 2. Create position context | ||
| 3573 | * 3. Prevent `inline-block` consequences | ||
| 3574 | */ | ||
| 3575 | .uk-form-icon { | ||
| 3576 | /* 1 */ | ||
| 3577 | display: inline-block; | ||
| 3578 | /* 2 */ | ||
| 3579 | position: relative; | ||
| 3580 | /* 3 */ | ||
| 3581 | max-width: 100%; | ||
| 3582 | } | ||
| 3583 | /* | ||
| 3584 | * 1. Make form element clickable through icon | ||
| 3585 | */ | ||
| 3586 | .uk-form-icon > [class*='uk-icon-'] { | ||
| 3587 | position: absolute; | ||
| 3588 | top: 50%; | ||
| 3589 | width: 30px; | ||
| 3590 | margin-top: -7px; | ||
| 3591 | font-size: 14px; | ||
| 3592 | color: #999; | ||
| 3593 | text-align: center; | ||
| 3594 | /* 1 */ | ||
| 3595 | pointer-events: none; | ||
| 3596 | } | ||
| 3597 | .uk-form-icon:not(.uk-form-icon-flip) > input { | ||
| 3598 | padding-left: 30px !important; | ||
| 3599 | } | ||
| 3600 | /* | ||
| 3601 | * Sub-modifier: `uk-form-icon-flip` | ||
| 3602 | */ | ||
| 3603 | .uk-form-icon-flip > [class*='uk-icon-'] { | ||
| 3604 | right: 0; | ||
| 3605 | } | ||
| 3606 | .uk-form-icon-flip > input { | ||
| 3607 | padding-right: 30px !important; | ||
| 3608 | } | ||
| 3609 | /* ======================================================================== | ||
| 3610 | Component: Button | ||
| 3611 | ========================================================================== */ | ||
| 3612 | /* | ||
| 3613 | * Removes inner padding and border in Firefox 4+. | ||
| 3614 | */ | ||
| 3615 | .uk-button::-moz-focus-inner { | ||
| 3616 | border: 0; | ||
| 3617 | padding: 0; | ||
| 3618 | } | ||
| 3619 | /* | ||
| 3620 | * 1. Correct inability to style clickable `input` types in iOS. | ||
| 3621 | * 2. Remove margins in Chrome, Safari and Opera. | ||
| 3622 | * 3. Remove borders for `button`. | ||
| 3623 | * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. | ||
| 3624 | * 5. Correct `font` properties and `color` not being inherited for `button`. | ||
| 3625 | * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE | ||
| 3626 | * 7. Style | ||
| 3627 | * 8. `line-height` is used to create a height | ||
| 3628 | * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. | ||
| 3629 | * 10. Reset button group whitespace hack | ||
| 3630 | * 11. Required for `a`. | ||
| 3631 | */ | ||
| 3632 | .uk-button { | ||
| 3633 | /* 1 */ | ||
| 3634 | -webkit-appearance: none; | ||
| 3635 | /* 2 */ | ||
| 3636 | margin: 0; | ||
| 3637 | /* 3 */ | ||
| 3638 | border: none; | ||
| 3639 | /* 4 */ | ||
| 3640 | overflow: visible; | ||
| 3641 | /* 5 */ | ||
| 3642 | font: inherit; | ||
| 3643 | color: #444; | ||
| 3644 | /* 6 */ | ||
| 3645 | text-transform: none; | ||
| 3646 | /* 7 */ | ||
| 3647 | display: inline-block; | ||
| 3648 | box-sizing: border-box; | ||
| 3649 | padding: 0 12px; | ||
| 3650 | background: #f5f5f5; | ||
| 3651 | vertical-align: middle; | ||
| 3652 | /* 8 */ | ||
| 3653 | line-height: 28px; | ||
| 3654 | /* 9 */ | ||
| 3655 | min-height: 30px; | ||
| 3656 | /* 10 */ | ||
| 3657 | font-size: 1rem; | ||
| 3658 | /* 11 */ | ||
| 3659 | text-decoration: none; | ||
| 3660 | text-align: center; | ||
| 3661 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 3662 | border-radius: 4px; | ||
| 3663 | text-shadow: 0 1px 0 #fff; | ||
| 3664 | } | ||
| 3665 | .uk-button:not(:disabled) { | ||
| 3666 | cursor: pointer; | ||
| 3667 | } | ||
| 3668 | /* | ||
| 3669 | * Hover | ||
| 3670 | * 1. Apply hover style also to focus state | ||
| 3671 | * 2. Remove default focus style | ||
| 3672 | * 3. Required for `a` elements | ||
| 3673 | */ | ||
| 3674 | .uk-button:hover, | ||
| 3675 | .uk-button:focus { | ||
| 3676 | background-color: #fafafa; | ||
| 3677 | color: #444; | ||
| 3678 | /* 2 */ | ||
| 3679 | outline: none; | ||
| 3680 | /* 3 */ | ||
| 3681 | text-decoration: none; | ||
| 3682 | border-color: rgba(0, 0, 0, 0.16); | ||
| 3683 | } | ||
| 3684 | /* Active */ | ||
| 3685 | .uk-button:active, | ||
| 3686 | .uk-button.uk-active { | ||
| 3687 | background-color: #eee; | ||
| 3688 | color: #444; | ||
| 3689 | } | ||
| 3690 | /* Color modifiers | ||
| 3691 | ========================================================================== */ | ||
| 3692 | /* | ||
| 3693 | * Modifier: `uk-button-primary` | ||
| 3694 | */ | ||
| 3695 | .uk-button-primary { | ||
| 3696 | background-color: #00a8e6; | ||
| 3697 | color: #fff; | ||
| 3698 | } | ||
| 3699 | /* Hover */ | ||
| 3700 | .uk-button-primary:hover, | ||
| 3701 | .uk-button-primary:focus { | ||
| 3702 | background-color: #35b3ee; | ||
| 3703 | color: #fff; | ||
| 3704 | } | ||
| 3705 | /* Active */ | ||
| 3706 | .uk-button-primary:active, | ||
| 3707 | .uk-button-primary.uk-active { | ||
| 3708 | background-color: #0091ca; | ||
| 3709 | color: #fff; | ||
| 3710 | } | ||
| 3711 | /* | ||
| 3712 | * Modifier: `uk-button-success` | ||
| 3713 | */ | ||
| 3714 | .uk-button-success { | ||
| 3715 | background-color: #8cc14c; | ||
| 3716 | color: #fff; | ||
| 3717 | } | ||
| 3718 | /* Hover */ | ||
| 3719 | .uk-button-success:hover, | ||
| 3720 | .uk-button-success:focus { | ||
| 3721 | background-color: #8ec73b; | ||
| 3722 | color: #fff; | ||
| 3723 | } | ||
| 3724 | /* Active */ | ||
| 3725 | .uk-button-success:active, | ||
| 3726 | .uk-button-success.uk-active { | ||
| 3727 | background-color: #72ae41; | ||
| 3728 | color: #fff; | ||
| 3729 | } | ||
| 3730 | /* | ||
| 3731 | * Modifier: `uk-button-danger` | ||
| 3732 | */ | ||
| 3733 | .uk-button-danger { | ||
| 3734 | background-color: #da314b; | ||
| 3735 | color: #fff; | ||
| 3736 | } | ||
| 3737 | /* Hover */ | ||
| 3738 | .uk-button-danger:hover, | ||
| 3739 | .uk-button-danger:focus { | ||
| 3740 | background-color: #e4354f; | ||
| 3741 | color: #fff; | ||
| 3742 | } | ||
| 3743 | /* Active */ | ||
| 3744 | .uk-button-danger:active, | ||
| 3745 | .uk-button-danger.uk-active { | ||
| 3746 | background-color: #c91032; | ||
| 3747 | color: #fff; | ||
| 3748 | } | ||
| 3749 | /* Disabled state | ||
| 3750 | * Overrides also the color modifiers | ||
| 3751 | ========================================================================== */ | ||
| 3752 | /* Equal for all button types */ | ||
| 3753 | .uk-button:disabled { | ||
| 3754 | background-color: #fafafa; | ||
| 3755 | color: #999; | ||
| 3756 | border-color: rgba(0, 0, 0, 0.06); | ||
| 3757 | box-shadow: none; | ||
| 3758 | text-shadow: 0 1px 0 #fff; | ||
| 3759 | } | ||
| 3760 | /* Modifier: `uk-button-link` | ||
| 3761 | ========================================================================== */ | ||
| 3762 | /* Reset */ | ||
| 3763 | .uk-button-link, | ||
| 3764 | .uk-button-link:hover, | ||
| 3765 | .uk-button-link:focus, | ||
| 3766 | .uk-button-link:active, | ||
| 3767 | .uk-button-link.uk-active, | ||
| 3768 | .uk-button-link:disabled { | ||
| 3769 | border-color: transparent; | ||
| 3770 | background: none; | ||
| 3771 | box-shadow: none; | ||
| 3772 | text-shadow: none; | ||
| 3773 | } | ||
| 3774 | /* Color */ | ||
| 3775 | .uk-button-link { | ||
| 3776 | color: #07D; | ||
| 3777 | } | ||
| 3778 | .uk-button-link:hover, | ||
| 3779 | .uk-button-link:focus, | ||
| 3780 | .uk-button-link:active, | ||
| 3781 | .uk-button-link.uk-active { | ||
| 3782 | color: #059; | ||
| 3783 | text-decoration: underline; | ||
| 3784 | } | ||
| 3785 | .uk-button-link:disabled { | ||
| 3786 | color: #999; | ||
| 3787 | } | ||
| 3788 | /* Focus */ | ||
| 3789 | .uk-button-link:focus { | ||
| 3790 | outline: 1px dotted; | ||
| 3791 | } | ||
| 3792 | /* Size modifiers | ||
| 3793 | ========================================================================== */ | ||
| 3794 | .uk-button-mini { | ||
| 3795 | min-height: 20px; | ||
| 3796 | padding: 0 6px; | ||
| 3797 | line-height: 18px; | ||
| 3798 | font-size: 11px; | ||
| 3799 | } | ||
| 3800 | .uk-button-small { | ||
| 3801 | min-height: 25px; | ||
| 3802 | padding: 0 10px; | ||
| 3803 | line-height: 23px; | ||
| 3804 | font-size: 12px; | ||
| 3805 | } | ||
| 3806 | .uk-button-large { | ||
| 3807 | min-height: 40px; | ||
| 3808 | padding: 0 15px; | ||
| 3809 | line-height: 38px; | ||
| 3810 | font-size: 16px; | ||
| 3811 | border-radius: 5px; | ||
| 3812 | } | ||
| 3813 | /* Sub-object `uk-button-group` | ||
| 3814 | ========================================================================== */ | ||
| 3815 | /* | ||
| 3816 | * 1. Behave like buttons | ||
| 3817 | * 2. Create position context for dropdowns | ||
| 3818 | * 3. Remove whitespace between child elements when using `inline-block` | ||
| 3819 | * 4. Prevent buttons from wrapping | ||
| 3820 | * 5. Remove whitespace between child elements when using `inline-block` | ||
| 3821 | */ | ||
| 3822 | .uk-button-group { | ||
| 3823 | /* 1 */ | ||
| 3824 | display: inline-block; | ||
| 3825 | vertical-align: middle; | ||
| 3826 | /* 2 */ | ||
| 3827 | position: relative; | ||
| 3828 | /* 3 */ | ||
| 3829 | font-size: 0.001px; | ||
| 3830 | /* 4 */ | ||
| 3831 | white-space: nowrap; | ||
| 3832 | } | ||
| 3833 | .uk-button-group > * { | ||
| 3834 | display: inline-block; | ||
| 3835 | } | ||
| 3836 | /* 5 */ | ||
| 3837 | .uk-button-group .uk-button { | ||
| 3838 | vertical-align: top; | ||
| 3839 | } | ||
| 3840 | /* Sub-object: `uk-button-dropdown` | ||
| 3841 | ========================================================================== */ | ||
| 3842 | /* | ||
| 3843 | * 1. Behave like buttons | ||
| 3844 | * 2. Create position context for dropdowns | ||
| 3845 | */ | ||
| 3846 | .uk-button-dropdown { | ||
| 3847 | /* 1 */ | ||
| 3848 | display: inline-block; | ||
| 3849 | vertical-align: middle; | ||
| 3850 | /* 2 */ | ||
| 3851 | position: relative; | ||
| 3852 | } | ||
| 3853 | /* Color modifiers | ||
| 3854 | ========================================================================== */ | ||
| 3855 | .uk-button-primary, | ||
| 3856 | .uk-button-success, | ||
| 3857 | .uk-button-danger { | ||
| 3858 | box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); | ||
| 3859 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1); | ||
| 3860 | } | ||
| 3861 | .uk-button-primary:hover, | ||
| 3862 | .uk-button-primary:focus, | ||
| 3863 | .uk-button-success:hover, | ||
| 3864 | .uk-button-success:focus, | ||
| 3865 | .uk-button-danger:hover, | ||
| 3866 | .uk-button-danger:focus { | ||
| 3867 | border-color: rgba(0, 0, 0, 0.21); | ||
| 3868 | } | ||
| 3869 | /* Sub-object `uk-button-group` | ||
| 3870 | ========================================================================== */ | ||
| 3871 | /* | ||
| 3872 | * Reset border-radius | ||
| 3873 | */ | ||
| 3874 | .uk-button-group > .uk-button:not(:first-child):not(:last-child), | ||
| 3875 | .uk-button-group > div:not(:first-child):not(:last-child) .uk-button { | ||
| 3876 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 3877 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 3878 | border-radius: 0; | ||
| 3879 | } | ||
| 3880 | .uk-button-group > .uk-button:first-child, | ||
| 3881 | .uk-button-group > div:first-child .uk-button { | ||
| 3882 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 3883 | border-top-right-radius: 0; | ||
| 3884 | border-bottom-right-radius: 0; | ||
| 3885 | } | ||
| 3886 | .uk-button-group > .uk-button:last-child, | ||
| 3887 | .uk-button-group > div:last-child .uk-button { | ||
| 3888 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 3889 | border-top-left-radius: 0; | ||
| 3890 | border-bottom-left-radius: 0; | ||
| 3891 | } | ||
| 3892 | /* | ||
| 3893 | * Collapse border | ||
| 3894 | */ | ||
| 3895 | .uk-button-group > .uk-button:nth-child(n+2), | ||
| 3896 | .uk-button-group > div:nth-child(n+2) .uk-button { | ||
| 3897 | margin-left: -1px; | ||
| 3898 | } | ||
| 3899 | /* | ||
| 3900 | * Create position context to superimpose the successor elements border | ||
| 3901 | * Known issue: If you use an `a` element as button and an icon inside, | ||
| 3902 | * the active state will not work if you click the icon inside the button | ||
| 3903 | * Workaround: Just use a `button` or `input` element as button | ||
| 3904 | */ | ||
| 3905 | .uk-button-group .uk-button:hover, | ||
| 3906 | .uk-button-group .uk-button:active, | ||
| 3907 | .uk-button-group .uk-button.uk-active { | ||
| 3908 | position: relative; | ||
| 3909 | } | ||
| 3910 | /* ======================================================================== | ||
| 3911 | Component: Icon | ||
| 3912 | ========================================================================== */ | ||
| 3913 | @font-face { | ||
| 3914 | font-family: 'FontAwesome'; | ||
| 3915 | src: url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); | ||
| 3916 | font-weight: normal; | ||
| 3917 | font-style: normal; | ||
| 3918 | } | ||
| 3919 | /* | ||
| 3920 | * 1. Allow margin | ||
| 3921 | * 2. Prevent inherit font style | ||
| 3922 | * 4. Correct line-height | ||
| 3923 | * 5. Better font rendering | ||
| 3924 | * 6. Remove `text-decoration` for anchors | ||
| 3925 | */ | ||
| 3926 | [class*='uk-icon-'] { | ||
| 3927 | font-family: FontAwesome; | ||
| 3928 | /* 1 */ | ||
| 3929 | display: inline-block; | ||
| 3930 | /* 2 */ | ||
| 3931 | font-weight: normal; | ||
| 3932 | font-style: normal; | ||
| 3933 | /* 4 */ | ||
| 3934 | line-height: 1; | ||
| 3935 | /* 5 */ | ||
| 3936 | -webkit-font-smoothing: antialiased; | ||
| 3937 | -moz-osx-font-smoothing: grayscale; | ||
| 3938 | } | ||
| 3939 | /* 6 */ | ||
| 3940 | [class*='uk-icon-'], | ||
| 3941 | [class*='uk-icon-']:hover, | ||
| 3942 | [class*='uk-icon-']:focus { | ||
| 3943 | text-decoration: none; | ||
| 3944 | } | ||
| 3945 | /* Size modifiers | ||
| 3946 | ========================================================================== */ | ||
| 3947 | .uk-icon-small { | ||
| 3948 | font-size: 150%; | ||
| 3949 | vertical-align: -10%; | ||
| 3950 | } | ||
| 3951 | .uk-icon-medium { | ||
| 3952 | font-size: 200%; | ||
| 3953 | vertical-align: -16%; | ||
| 3954 | } | ||
| 3955 | .uk-icon-large { | ||
| 3956 | font-size: 250%; | ||
| 3957 | vertical-align: -22%; | ||
| 3958 | } | ||
| 3959 | /* Modifier: `uk-icon-justify` | ||
| 3960 | ========================================================================== */ | ||
| 3961 | .uk-icon-justify { | ||
| 3962 | width: 1em; | ||
| 3963 | text-align: center; | ||
| 3964 | } | ||
| 3965 | /* Modifier: `uk-icon-spin` | ||
| 3966 | ========================================================================== */ | ||
| 3967 | .uk-icon-spin { | ||
| 3968 | display: inline-block; | ||
| 3969 | -webkit-animation: uk-rotate 2s infinite linear; | ||
| 3970 | animation: uk-rotate 2s infinite linear; | ||
| 3971 | } | ||
| 3972 | /* Modifier: `uk-icon-hover` | ||
| 3973 | ========================================================================== */ | ||
| 3974 | .uk-icon-hover { | ||
| 3975 | color: #999; | ||
| 3976 | } | ||
| 3977 | /* | ||
| 3978 | * Hover | ||
| 3979 | */ | ||
| 3980 | .uk-icon-hover:hover { | ||
| 3981 | color: #444; | ||
| 3982 | } | ||
| 3983 | /* Modifier: `uk-icon-button` | ||
| 3984 | ========================================================================== */ | ||
| 3985 | .uk-icon-button { | ||
| 3986 | box-sizing: border-box; | ||
| 3987 | display: inline-block; | ||
| 3988 | width: 35px; | ||
| 3989 | height: 35px; | ||
| 3990 | border-radius: 100%; | ||
| 3991 | background: #f5f5f5; | ||
| 3992 | line-height: 35px; | ||
| 3993 | color: #444; | ||
| 3994 | font-size: 18px; | ||
| 3995 | text-align: center; | ||
| 3996 | border: 1px solid #e7e7e7; | ||
| 3997 | text-shadow: 0 1px 0 #fff; | ||
| 3998 | } | ||
| 3999 | /* | ||
| 4000 | * Hover | ||
| 4001 | * 1. Apply hover style also to focus state | ||
| 4002 | * 2. Remove default focus style | ||
| 4003 | */ | ||
| 4004 | .uk-icon-button:hover, | ||
| 4005 | .uk-icon-button:focus { | ||
| 4006 | background-color: #fafafa; | ||
| 4007 | color: #444; | ||
| 4008 | /* 2 */ | ||
| 4009 | outline: none; | ||
| 4010 | border-color: #d3d3d3; | ||
| 4011 | } | ||
| 4012 | /* Active */ | ||
| 4013 | .uk-icon-button:active { | ||
| 4014 | background-color: #eee; | ||
| 4015 | color: #444; | ||
| 4016 | } | ||
| 4017 | /* Icon mapping | ||
| 4018 | ========================================================================== */ | ||
| 4019 | .uk-icon-glass:before { | ||
| 4020 | content: "\f000"; | ||
| 4021 | } | ||
| 4022 | .uk-icon-music:before { | ||
| 4023 | content: "\f001"; | ||
| 4024 | } | ||
| 4025 | .uk-icon-search:before { | ||
| 4026 | content: "\f002"; | ||
| 4027 | } | ||
| 4028 | .uk-icon-envelope-o:before { | ||
| 4029 | content: "\f003"; | ||
| 4030 | } | ||
| 4031 | .uk-icon-heart:before { | ||
| 4032 | content: "\f004"; | ||
| 4033 | } | ||
| 4034 | .uk-icon-star:before { | ||
| 4035 | content: "\f005"; | ||
| 4036 | } | ||
| 4037 | .uk-icon-star-o:before { | ||
| 4038 | content: "\f006"; | ||
| 4039 | } | ||
| 4040 | .uk-icon-user:before { | ||
| 4041 | content: "\f007"; | ||
| 4042 | } | ||
| 4043 | .uk-icon-film:before { | ||
| 4044 | content: "\f008"; | ||
| 4045 | } | ||
| 4046 | .uk-icon-th-large:before { | ||
| 4047 | content: "\f009"; | ||
| 4048 | } | ||
| 4049 | .uk-icon-th:before { | ||
| 4050 | content: "\f00a"; | ||
| 4051 | } | ||
| 4052 | .uk-icon-th-list:before { | ||
| 4053 | content: "\f00b"; | ||
| 4054 | } | ||
| 4055 | .uk-icon-check:before { | ||
| 4056 | content: "\f00c"; | ||
| 4057 | } | ||
| 4058 | .uk-icon-remove:before, | ||
| 4059 | .uk-icon-close:before, | ||
| 4060 | .uk-icon-times:before { | ||
| 4061 | content: "\f00d"; | ||
| 4062 | } | ||
| 4063 | .uk-icon-search-plus:before { | ||
| 4064 | content: "\f00e"; | ||
| 4065 | } | ||
| 4066 | .uk-icon-search-minus:before { | ||
| 4067 | content: "\f010"; | ||
| 4068 | } | ||
| 4069 | .uk-icon-power-off:before { | ||
| 4070 | content: "\f011"; | ||
| 4071 | } | ||
| 4072 | .uk-icon-signal:before { | ||
| 4073 | content: "\f012"; | ||
| 4074 | } | ||
| 4075 | .uk-icon-gear:before, | ||
| 4076 | .uk-icon-cog:before { | ||
| 4077 | content: "\f013"; | ||
| 4078 | } | ||
| 4079 | .uk-icon-trash-o:before { | ||
| 4080 | content: "\f014"; | ||
| 4081 | } | ||
| 4082 | .uk-icon-home:before { | ||
| 4083 | content: "\f015"; | ||
| 4084 | } | ||
| 4085 | .uk-icon-file-o:before { | ||
| 4086 | content: "\f016"; | ||
| 4087 | } | ||
| 4088 | .uk-icon-clock-o:before { | ||
| 4089 | content: "\f017"; | ||
| 4090 | } | ||
| 4091 | .uk-icon-road:before { | ||
| 4092 | content: "\f018"; | ||
| 4093 | } | ||
| 4094 | .uk-icon-download:before { | ||
| 4095 | content: "\f019"; | ||
| 4096 | } | ||
| 4097 | .uk-icon-arrow-circle-o-down:before { | ||
| 4098 | content: "\f01a"; | ||
| 4099 | } | ||
| 4100 | .uk-icon-arrow-circle-o-up:before { | ||
| 4101 | content: "\f01b"; | ||
| 4102 | } | ||
| 4103 | .uk-icon-inbox:before { | ||
| 4104 | content: "\f01c"; | ||
| 4105 | } | ||
| 4106 | .uk-icon-play-circle-o:before { | ||
| 4107 | content: "\f01d"; | ||
| 4108 | } | ||
| 4109 | .uk-icon-rotate-right:before, | ||
| 4110 | .uk-icon-repeat:before { | ||
| 4111 | content: "\f01e"; | ||
| 4112 | } | ||
| 4113 | .uk-icon-refresh:before { | ||
| 4114 | content: "\f021"; | ||
| 4115 | } | ||
| 4116 | .uk-icon-list-alt:before { | ||
| 4117 | content: "\f022"; | ||
| 4118 | } | ||
| 4119 | .uk-icon-lock:before { | ||
| 4120 | content: "\f023"; | ||
| 4121 | } | ||
| 4122 | .uk-icon-flag:before { | ||
| 4123 | content: "\f024"; | ||
| 4124 | } | ||
| 4125 | .uk-icon-headphones:before { | ||
| 4126 | content: "\f025"; | ||
| 4127 | } | ||
| 4128 | .uk-icon-volume-off:before { | ||
| 4129 | content: "\f026"; | ||
| 4130 | } | ||
| 4131 | .uk-icon-volume-down:before { | ||
| 4132 | content: "\f027"; | ||
| 4133 | } | ||
| 4134 | .uk-icon-volume-up:before { | ||
| 4135 | content: "\f028"; | ||
| 4136 | } | ||
| 4137 | .uk-icon-qrcode:before { | ||
| 4138 | content: "\f029"; | ||
| 4139 | } | ||
| 4140 | .uk-icon-barcode:before { | ||
| 4141 | content: "\f02a"; | ||
| 4142 | } | ||
| 4143 | .uk-icon-tag:before { | ||
| 4144 | content: "\f02b"; | ||
| 4145 | } | ||
| 4146 | .uk-icon-tags:before { | ||
| 4147 | content: "\f02c"; | ||
| 4148 | } | ||
| 4149 | .uk-icon-book:before { | ||
| 4150 | content: "\f02d"; | ||
| 4151 | } | ||
| 4152 | .uk-icon-bookmark:before { | ||
| 4153 | content: "\f02e"; | ||
| 4154 | } | ||
| 4155 | .uk-icon-print:before { | ||
| 4156 | content: "\f02f"; | ||
| 4157 | } | ||
| 4158 | .uk-icon-camera:before { | ||
| 4159 | content: "\f030"; | ||
| 4160 | } | ||
| 4161 | .uk-icon-font:before { | ||
| 4162 | content: "\f031"; | ||
| 4163 | } | ||
| 4164 | .uk-icon-bold:before { | ||
| 4165 | content: "\f032"; | ||
| 4166 | } | ||
| 4167 | .uk-icon-italic:before { | ||
| 4168 | content: "\f033"; | ||
| 4169 | } | ||
| 4170 | .uk-icon-text-height:before { | ||
| 4171 | content: "\f034"; | ||
| 4172 | } | ||
| 4173 | .uk-icon-text-width:before { | ||
| 4174 | content: "\f035"; | ||
| 4175 | } | ||
| 4176 | .uk-icon-align-left:before { | ||
| 4177 | content: "\f036"; | ||
| 4178 | } | ||
| 4179 | .uk-icon-align-center:before { | ||
| 4180 | content: "\f037"; | ||
| 4181 | } | ||
| 4182 | .uk-icon-align-right:before { | ||
| 4183 | content: "\f038"; | ||
| 4184 | } | ||
| 4185 | .uk-icon-align-justify:before { | ||
| 4186 | content: "\f039"; | ||
| 4187 | } | ||
| 4188 | .uk-icon-list:before { | ||
| 4189 | content: "\f03a"; | ||
| 4190 | } | ||
| 4191 | .uk-icon-dedent:before, | ||
| 4192 | .uk-icon-outdent:before { | ||
| 4193 | content: "\f03b"; | ||
| 4194 | } | ||
| 4195 | .uk-icon-indent:before { | ||
| 4196 | content: "\f03c"; | ||
| 4197 | } | ||
| 4198 | .uk-icon-video-camera:before { | ||
| 4199 | content: "\f03d"; | ||
| 4200 | } | ||
| 4201 | .uk-icon-photo:before, | ||
| 4202 | .uk-icon-image:before, | ||
| 4203 | .uk-icon-picture-o:before { | ||
| 4204 | content: "\f03e"; | ||
| 4205 | } | ||
| 4206 | .uk-icon-pencil:before { | ||
| 4207 | content: "\f040"; | ||
| 4208 | } | ||
| 4209 | .uk-icon-map-marker:before { | ||
| 4210 | content: "\f041"; | ||
| 4211 | } | ||
| 4212 | .uk-icon-adjust:before { | ||
| 4213 | content: "\f042"; | ||
| 4214 | } | ||
| 4215 | .uk-icon-tint:before { | ||
| 4216 | content: "\f043"; | ||
| 4217 | } | ||
| 4218 | .uk-icon-edit:before, | ||
| 4219 | .uk-icon-pencil-square-o:before { | ||
| 4220 | content: "\f044"; | ||
| 4221 | } | ||
| 4222 | .uk-icon-share-square-o:before { | ||
| 4223 | content: "\f045"; | ||
| 4224 | } | ||
| 4225 | .uk-icon-check-square-o:before { | ||
| 4226 | content: "\f046"; | ||
| 4227 | } | ||
| 4228 | .uk-icon-arrows:before { | ||
| 4229 | content: "\f047"; | ||
| 4230 | } | ||
| 4231 | .uk-icon-step-backward:before { | ||
| 4232 | content: "\f048"; | ||
| 4233 | } | ||
| 4234 | .uk-icon-fast-backward:before { | ||
| 4235 | content: "\f049"; | ||
| 4236 | } | ||
| 4237 | .uk-icon-backward:before { | ||
| 4238 | content: "\f04a"; | ||
| 4239 | } | ||
| 4240 | .uk-icon-play:before { | ||
| 4241 | content: "\f04b"; | ||
| 4242 | } | ||
| 4243 | .uk-icon-pause:before { | ||
| 4244 | content: "\f04c"; | ||
| 4245 | } | ||
| 4246 | .uk-icon-stop:before { | ||
| 4247 | content: "\f04d"; | ||
| 4248 | } | ||
| 4249 | .uk-icon-forward:before { | ||
| 4250 | content: "\f04e"; | ||
| 4251 | } | ||
| 4252 | .uk-icon-fast-forward:before { | ||
| 4253 | content: "\f050"; | ||
| 4254 | } | ||
| 4255 | .uk-icon-step-forward:before { | ||
| 4256 | content: "\f051"; | ||
| 4257 | } | ||
| 4258 | .uk-icon-eject:before { | ||
| 4259 | content: "\f052"; | ||
| 4260 | } | ||
| 4261 | .uk-icon-chevron-left:before { | ||
| 4262 | content: "\f053"; | ||
| 4263 | } | ||
| 4264 | .uk-icon-chevron-right:before { | ||
| 4265 | content: "\f054"; | ||
| 4266 | } | ||
| 4267 | .uk-icon-plus-circle:before { | ||
| 4268 | content: "\f055"; | ||
| 4269 | } | ||
| 4270 | .uk-icon-minus-circle:before { | ||
| 4271 | content: "\f056"; | ||
| 4272 | } | ||
| 4273 | .uk-icon-times-circle:before { | ||
| 4274 | content: "\f057"; | ||
| 4275 | } | ||
| 4276 | .uk-icon-check-circle:before { | ||
| 4277 | content: "\f058"; | ||
| 4278 | } | ||
| 4279 | .uk-icon-question-circle:before { | ||
| 4280 | content: "\f059"; | ||
| 4281 | } | ||
| 4282 | .uk-icon-info-circle:before { | ||
| 4283 | content: "\f05a"; | ||
| 4284 | } | ||
| 4285 | .uk-icon-crosshairs:before { | ||
| 4286 | content: "\f05b"; | ||
| 4287 | } | ||
| 4288 | .uk-icon-times-circle-o:before { | ||
| 4289 | content: "\f05c"; | ||
| 4290 | } | ||
| 4291 | .uk-icon-check-circle-o:before { | ||
| 4292 | content: "\f05d"; | ||
| 4293 | } | ||
| 4294 | .uk-icon-ban:before { | ||
| 4295 | content: "\f05e"; | ||
| 4296 | } | ||
| 4297 | .uk-icon-arrow-left:before { | ||
| 4298 | content: "\f060"; | ||
| 4299 | } | ||
| 4300 | .uk-icon-arrow-right:before { | ||
| 4301 | content: "\f061"; | ||
| 4302 | } | ||
| 4303 | .uk-icon-arrow-up:before { | ||
| 4304 | content: "\f062"; | ||
| 4305 | } | ||
| 4306 | .uk-icon-arrow-down:before { | ||
| 4307 | content: "\f063"; | ||
| 4308 | } | ||
| 4309 | .uk-icon-mail-forward:before, | ||
| 4310 | .uk-icon-share:before { | ||
| 4311 | content: "\f064"; | ||
| 4312 | } | ||
| 4313 | .uk-icon-expand:before { | ||
| 4314 | content: "\f065"; | ||
| 4315 | } | ||
| 4316 | .uk-icon-compress:before { | ||
| 4317 | content: "\f066"; | ||
| 4318 | } | ||
| 4319 | .uk-icon-plus:before { | ||
| 4320 | content: "\f067"; | ||
| 4321 | } | ||
| 4322 | .uk-icon-minus:before { | ||
| 4323 | content: "\f068"; | ||
| 4324 | } | ||
| 4325 | .uk-icon-asterisk:before { | ||
| 4326 | content: "\f069"; | ||
| 4327 | } | ||
| 4328 | .uk-icon-exclamation-circle:before { | ||
| 4329 | content: "\f06a"; | ||
| 4330 | } | ||
| 4331 | .uk-icon-gift:before { | ||
| 4332 | content: "\f06b"; | ||
| 4333 | } | ||
| 4334 | .uk-icon-leaf:before { | ||
| 4335 | content: "\f06c"; | ||
| 4336 | } | ||
| 4337 | .uk-icon-fire:before { | ||
| 4338 | content: "\f06d"; | ||
| 4339 | } | ||
| 4340 | .uk-icon-eye:before { | ||
| 4341 | content: "\f06e"; | ||
| 4342 | } | ||
| 4343 | .uk-icon-eye-slash:before { | ||
| 4344 | content: "\f070"; | ||
| 4345 | } | ||
| 4346 | .uk-icon-warning:before, | ||
| 4347 | .uk-icon-exclamation-triangle:before { | ||
| 4348 | content: "\f071"; | ||
| 4349 | } | ||
| 4350 | .uk-icon-plane:before { | ||
| 4351 | content: "\f072"; | ||
| 4352 | } | ||
| 4353 | .uk-icon-calendar:before { | ||
| 4354 | content: "\f073"; | ||
| 4355 | } | ||
| 4356 | .uk-icon-random:before { | ||
| 4357 | content: "\f074"; | ||
| 4358 | } | ||
| 4359 | .uk-icon-comment:before { | ||
| 4360 | content: "\f075"; | ||
| 4361 | } | ||
| 4362 | .uk-icon-magnet:before { | ||
| 4363 | content: "\f076"; | ||
| 4364 | } | ||
| 4365 | .uk-icon-chevron-up:before { | ||
| 4366 | content: "\f077"; | ||
| 4367 | } | ||
| 4368 | .uk-icon-chevron-down:before { | ||
| 4369 | content: "\f078"; | ||
| 4370 | } | ||
| 4371 | .uk-icon-retweet:before { | ||
| 4372 | content: "\f079"; | ||
| 4373 | } | ||
| 4374 | .uk-icon-shopping-cart:before { | ||
| 4375 | content: "\f07a"; | ||
| 4376 | } | ||
| 4377 | .uk-icon-folder:before { | ||
| 4378 | content: "\f07b"; | ||
| 4379 | } | ||
| 4380 | .uk-icon-folder-open:before { | ||
| 4381 | content: "\f07c"; | ||
| 4382 | } | ||
| 4383 | .uk-icon-arrows-v:before { | ||
| 4384 | content: "\f07d"; | ||
| 4385 | } | ||
| 4386 | .uk-icon-arrows-h:before { | ||
| 4387 | content: "\f07e"; | ||
| 4388 | } | ||
| 4389 | .uk-icon-bar-chart-o:before, | ||
| 4390 | .uk-icon-bar-chart:before { | ||
| 4391 | content: "\f080"; | ||
| 4392 | } | ||
| 4393 | .uk-icon-twitter-square:before { | ||
| 4394 | content: "\f081"; | ||
| 4395 | } | ||
| 4396 | .uk-icon-facebook-square:before { | ||
| 4397 | content: "\f082"; | ||
| 4398 | } | ||
| 4399 | .uk-icon-camera-retro:before { | ||
| 4400 | content: "\f083"; | ||
| 4401 | } | ||
| 4402 | .uk-icon-key:before { | ||
| 4403 | content: "\f084"; | ||
| 4404 | } | ||
| 4405 | .uk-icon-gears:before, | ||
| 4406 | .uk-icon-cogs:before { | ||
| 4407 | content: "\f085"; | ||
| 4408 | } | ||
| 4409 | .uk-icon-comments:before { | ||
| 4410 | content: "\f086"; | ||
| 4411 | } | ||
| 4412 | .uk-icon-thumbs-o-up:before { | ||
| 4413 | content: "\f087"; | ||
| 4414 | } | ||
| 4415 | .uk-icon-thumbs-o-down:before { | ||
| 4416 | content: "\f088"; | ||
| 4417 | } | ||
| 4418 | .uk-icon-star-half:before { | ||
| 4419 | content: "\f089"; | ||
| 4420 | } | ||
| 4421 | .uk-icon-heart-o:before { | ||
| 4422 | content: "\f08a"; | ||
| 4423 | } | ||
| 4424 | .uk-icon-sign-out:before { | ||
| 4425 | content: "\f08b"; | ||
| 4426 | } | ||
| 4427 | .uk-icon-linkedin-square:before { | ||
| 4428 | content: "\f08c"; | ||
| 4429 | } | ||
| 4430 | .uk-icon-thumb-tack:before { | ||
| 4431 | content: "\f08d"; | ||
| 4432 | } | ||
| 4433 | .uk-icon-external-link:before { | ||
| 4434 | content: "\f08e"; | ||
| 4435 | } | ||
| 4436 | .uk-icon-sign-in:before { | ||
| 4437 | content: "\f090"; | ||
| 4438 | } | ||
| 4439 | .uk-icon-trophy:before { | ||
| 4440 | content: "\f091"; | ||
| 4441 | } | ||
| 4442 | .uk-icon-github-square:before { | ||
| 4443 | content: "\f092"; | ||
| 4444 | } | ||
| 4445 | .uk-icon-upload:before { | ||
| 4446 | content: "\f093"; | ||
| 4447 | } | ||
| 4448 | .uk-icon-lemon-o:before { | ||
| 4449 | content: "\f094"; | ||
| 4450 | } | ||
| 4451 | .uk-icon-phone:before { | ||
| 4452 | content: "\f095"; | ||
| 4453 | } | ||
| 4454 | .uk-icon-square-o:before { | ||
| 4455 | content: "\f096"; | ||
| 4456 | } | ||
| 4457 | .uk-icon-bookmark-o:before { | ||
| 4458 | content: "\f097"; | ||
| 4459 | } | ||
| 4460 | .uk-icon-phone-square:before { | ||
| 4461 | content: "\f098"; | ||
| 4462 | } | ||
| 4463 | .uk-icon-twitter:before { | ||
| 4464 | content: "\f099"; | ||
| 4465 | } | ||
| 4466 | .uk-icon-facebook-f:before, | ||
| 4467 | .uk-icon-facebook:before { | ||
| 4468 | content: "\f09a"; | ||
| 4469 | } | ||
| 4470 | .uk-icon-github:before { | ||
| 4471 | content: "\f09b"; | ||
| 4472 | } | ||
| 4473 | .uk-icon-unlock:before { | ||
| 4474 | content: "\f09c"; | ||
| 4475 | } | ||
| 4476 | .uk-icon-credit-card:before { | ||
| 4477 | content: "\f09d"; | ||
| 4478 | } | ||
| 4479 | .uk-icon-rss:before { | ||
| 4480 | content: "\f09e"; | ||
| 4481 | } | ||
| 4482 | .uk-icon-hdd-o:before { | ||
| 4483 | content: "\f0a0"; | ||
| 4484 | } | ||
| 4485 | .uk-icon-bullhorn:before { | ||
| 4486 | content: "\f0a1"; | ||
| 4487 | } | ||
| 4488 | .uk-icon-bell:before { | ||
| 4489 | content: "\f0f3"; | ||
| 4490 | } | ||
| 4491 | .uk-icon-certificate:before { | ||
| 4492 | content: "\f0a3"; | ||
| 4493 | } | ||
| 4494 | .uk-icon-hand-o-right:before { | ||
| 4495 | content: "\f0a4"; | ||
| 4496 | } | ||
| 4497 | .uk-icon-hand-o-left:before { | ||
| 4498 | content: "\f0a5"; | ||
| 4499 | } | ||
| 4500 | .uk-icon-hand-o-up:before { | ||
| 4501 | content: "\f0a6"; | ||
| 4502 | } | ||
| 4503 | .uk-icon-hand-o-down:before { | ||
| 4504 | content: "\f0a7"; | ||
| 4505 | } | ||
| 4506 | .uk-icon-arrow-circle-left:before { | ||
| 4507 | content: "\f0a8"; | ||
| 4508 | } | ||
| 4509 | .uk-icon-arrow-circle-right:before { | ||
| 4510 | content: "\f0a9"; | ||
| 4511 | } | ||
| 4512 | .uk-icon-arrow-circle-up:before { | ||
| 4513 | content: "\f0aa"; | ||
| 4514 | } | ||
| 4515 | .uk-icon-arrow-circle-down:before { | ||
| 4516 | content: "\f0ab"; | ||
| 4517 | } | ||
| 4518 | .uk-icon-globe:before { | ||
| 4519 | content: "\f0ac"; | ||
| 4520 | } | ||
| 4521 | .uk-icon-wrench:before { | ||
| 4522 | content: "\f0ad"; | ||
| 4523 | } | ||
| 4524 | .uk-icon-tasks:before { | ||
| 4525 | content: "\f0ae"; | ||
| 4526 | } | ||
| 4527 | .uk-icon-filter:before { | ||
| 4528 | content: "\f0b0"; | ||
| 4529 | } | ||
| 4530 | .uk-icon-briefcase:before { | ||
| 4531 | content: "\f0b1"; | ||
| 4532 | } | ||
| 4533 | .uk-icon-arrows-alt:before { | ||
| 4534 | content: "\f0b2"; | ||
| 4535 | } | ||
| 4536 | .uk-icon-group:before, | ||
| 4537 | .uk-icon-users:before { | ||
| 4538 | content: "\f0c0"; | ||
| 4539 | } | ||
| 4540 | .uk-icon-chain:before, | ||
| 4541 | .uk-icon-link:before { | ||
| 4542 | content: "\f0c1"; | ||
| 4543 | } | ||
| 4544 | .uk-icon-cloud:before { | ||
| 4545 | content: "\f0c2"; | ||
| 4546 | } | ||
| 4547 | .uk-icon-flask:before { | ||
| 4548 | content: "\f0c3"; | ||
| 4549 | } | ||
| 4550 | .uk-icon-cut:before, | ||
| 4551 | .uk-icon-scissors:before { | ||
| 4552 | content: "\f0c4"; | ||
| 4553 | } | ||
| 4554 | .uk-icon-copy:before, | ||
| 4555 | .uk-icon-files-o:before { | ||
| 4556 | content: "\f0c5"; | ||
| 4557 | } | ||
| 4558 | .uk-icon-paperclip:before { | ||
| 4559 | content: "\f0c6"; | ||
| 4560 | } | ||
| 4561 | .uk-icon-save:before, | ||
| 4562 | .uk-icon-floppy-o:before { | ||
| 4563 | content: "\f0c7"; | ||
| 4564 | } | ||
| 4565 | .uk-icon-square:before { | ||
| 4566 | content: "\f0c8"; | ||
| 4567 | } | ||
| 4568 | .uk-icon-navicon:before, | ||
| 4569 | .uk-icon-reorder:before, | ||
| 4570 | .uk-icon-bars:before { | ||
| 4571 | content: "\f0c9"; | ||
| 4572 | } | ||
| 4573 | .uk-icon-list-ul:before { | ||
| 4574 | content: "\f0ca"; | ||
| 4575 | } | ||
| 4576 | .uk-icon-list-ol:before { | ||
| 4577 | content: "\f0cb"; | ||
| 4578 | } | ||
| 4579 | .uk-icon-strikethrough:before { | ||
| 4580 | content: "\f0cc"; | ||
| 4581 | } | ||
| 4582 | .uk-icon-underline:before { | ||
| 4583 | content: "\f0cd"; | ||
| 4584 | } | ||
| 4585 | .uk-icon-table:before { | ||
| 4586 | content: "\f0ce"; | ||
| 4587 | } | ||
| 4588 | .uk-icon-magic:before { | ||
| 4589 | content: "\f0d0"; | ||
| 4590 | } | ||
| 4591 | .uk-icon-truck:before { | ||
| 4592 | content: "\f0d1"; | ||
| 4593 | } | ||
| 4594 | .uk-icon-pinterest:before { | ||
| 4595 | content: "\f0d2"; | ||
| 4596 | } | ||
| 4597 | .uk-icon-pinterest-square:before { | ||
| 4598 | content: "\f0d3"; | ||
| 4599 | } | ||
| 4600 | .uk-icon-google-plus-square:before { | ||
| 4601 | content: "\f0d4"; | ||
| 4602 | } | ||
| 4603 | .uk-icon-google-plus:before { | ||
| 4604 | content: "\f0d5"; | ||
| 4605 | } | ||
| 4606 | .uk-icon-money:before { | ||
| 4607 | content: "\f0d6"; | ||
| 4608 | } | ||
| 4609 | .uk-icon-caret-down:before { | ||
| 4610 | content: "\f0d7"; | ||
| 4611 | } | ||
| 4612 | .uk-icon-caret-up:before { | ||
| 4613 | content: "\f0d8"; | ||
| 4614 | } | ||
| 4615 | .uk-icon-caret-left:before { | ||
| 4616 | content: "\f0d9"; | ||
| 4617 | } | ||
| 4618 | .uk-icon-caret-right:before { | ||
| 4619 | content: "\f0da"; | ||
| 4620 | } | ||
| 4621 | .uk-icon-columns:before { | ||
| 4622 | content: "\f0db"; | ||
| 4623 | } | ||
| 4624 | .uk-icon-unsorted:before, | ||
| 4625 | .uk-icon-sort:before { | ||
| 4626 | content: "\f0dc"; | ||
| 4627 | } | ||
| 4628 | .uk-icon-sort-down:before, | ||
| 4629 | .uk-icon-sort-desc:before { | ||
| 4630 | content: "\f0dd"; | ||
| 4631 | } | ||
| 4632 | .uk-icon-sort-up:before, | ||
| 4633 | .uk-icon-sort-asc:before { | ||
| 4634 | content: "\f0de"; | ||
| 4635 | } | ||
| 4636 | .uk-icon-envelope:before { | ||
| 4637 | content: "\f0e0"; | ||
| 4638 | } | ||
| 4639 | .uk-icon-linkedin:before { | ||
| 4640 | content: "\f0e1"; | ||
| 4641 | } | ||
| 4642 | .uk-icon-rotate-left:before, | ||
| 4643 | .uk-icon-undo:before { | ||
| 4644 | content: "\f0e2"; | ||
| 4645 | } | ||
| 4646 | .uk-icon-legal:before, | ||
| 4647 | .uk-icon-gavel:before { | ||
| 4648 | content: "\f0e3"; | ||
| 4649 | } | ||
| 4650 | .uk-icon-dashboard:before, | ||
| 4651 | .uk-icon-tachometer:before { | ||
| 4652 | content: "\f0e4"; | ||
| 4653 | } | ||
| 4654 | .uk-icon-comment-o:before { | ||
| 4655 | content: "\f0e5"; | ||
| 4656 | } | ||
| 4657 | .uk-icon-comments-o:before { | ||
| 4658 | content: "\f0e6"; | ||
| 4659 | } | ||
| 4660 | .uk-icon-flash:before, | ||
| 4661 | .uk-icon-bolt:before { | ||
| 4662 | content: "\f0e7"; | ||
| 4663 | } | ||
| 4664 | .uk-icon-sitemap:before { | ||
| 4665 | content: "\f0e8"; | ||
| 4666 | } | ||
| 4667 | .uk-icon-umbrella:before { | ||
| 4668 | content: "\f0e9"; | ||
| 4669 | } | ||
| 4670 | .uk-icon-paste:before, | ||
| 4671 | .uk-icon-clipboard:before { | ||
| 4672 | content: "\f0ea"; | ||
| 4673 | } | ||
| 4674 | .uk-icon-lightbulb-o:before { | ||
| 4675 | content: "\f0eb"; | ||
| 4676 | } | ||
| 4677 | .uk-icon-exchange:before { | ||
| 4678 | content: "\f0ec"; | ||
| 4679 | } | ||
| 4680 | .uk-icon-cloud-download:before { | ||
| 4681 | content: "\f0ed"; | ||
| 4682 | } | ||
| 4683 | .uk-icon-cloud-upload:before { | ||
| 4684 | content: "\f0ee"; | ||
| 4685 | } | ||
| 4686 | .uk-icon-user-md:before { | ||
| 4687 | content: "\f0f0"; | ||
| 4688 | } | ||
| 4689 | .uk-icon-stethoscope:before { | ||
| 4690 | content: "\f0f1"; | ||
| 4691 | } | ||
| 4692 | .uk-icon-suitcase:before { | ||
| 4693 | content: "\f0f2"; | ||
| 4694 | } | ||
| 4695 | .uk-icon-bell-o:before { | ||
| 4696 | content: "\f0a2"; | ||
| 4697 | } | ||
| 4698 | .uk-icon-coffee:before { | ||
| 4699 | content: "\f0f4"; | ||
| 4700 | } | ||
| 4701 | .uk-icon-cutlery:before { | ||
| 4702 | content: "\f0f5"; | ||
| 4703 | } | ||
| 4704 | .uk-icon-file-text-o:before { | ||
| 4705 | content: "\f0f6"; | ||
| 4706 | } | ||
| 4707 | .uk-icon-building-o:before { | ||
| 4708 | content: "\f0f7"; | ||
| 4709 | } | ||
| 4710 | .uk-icon-hospital-o:before { | ||
| 4711 | content: "\f0f8"; | ||
| 4712 | } | ||
| 4713 | .uk-icon-ambulance:before { | ||
| 4714 | content: "\f0f9"; | ||
| 4715 | } | ||
| 4716 | .uk-icon-medkit:before { | ||
| 4717 | content: "\f0fa"; | ||
| 4718 | } | ||
| 4719 | .uk-icon-fighter-jet:before { | ||
| 4720 | content: "\f0fb"; | ||
| 4721 | } | ||
| 4722 | .uk-icon-beer:before { | ||
| 4723 | content: "\f0fc"; | ||
| 4724 | } | ||
| 4725 | .uk-icon-h-square:before { | ||
| 4726 | content: "\f0fd"; | ||
| 4727 | } | ||
| 4728 | .uk-icon-plus-square:before { | ||
| 4729 | content: "\f0fe"; | ||
| 4730 | } | ||
| 4731 | .uk-icon-angle-double-left:before { | ||
| 4732 | content: "\f100"; | ||
| 4733 | } | ||
| 4734 | .uk-icon-angle-double-right:before { | ||
| 4735 | content: "\f101"; | ||
| 4736 | } | ||
| 4737 | .uk-icon-angle-double-up:before { | ||
| 4738 | content: "\f102"; | ||
| 4739 | } | ||
| 4740 | .uk-icon-angle-double-down:before { | ||
| 4741 | content: "\f103"; | ||
| 4742 | } | ||
| 4743 | .uk-icon-angle-left:before { | ||
| 4744 | content: "\f104"; | ||
| 4745 | } | ||
| 4746 | .uk-icon-angle-right:before { | ||
| 4747 | content: "\f105"; | ||
| 4748 | } | ||
| 4749 | .uk-icon-angle-up:before { | ||
| 4750 | content: "\f106"; | ||
| 4751 | } | ||
| 4752 | .uk-icon-angle-down:before { | ||
| 4753 | content: "\f107"; | ||
| 4754 | } | ||
| 4755 | .uk-icon-desktop:before { | ||
| 4756 | content: "\f108"; | ||
| 4757 | } | ||
| 4758 | .uk-icon-laptop:before { | ||
| 4759 | content: "\f109"; | ||
| 4760 | } | ||
| 4761 | .uk-icon-tablet:before { | ||
| 4762 | content: "\f10a"; | ||
| 4763 | } | ||
| 4764 | .uk-icon-mobile-phone:before, | ||
| 4765 | .uk-icon-mobile:before { | ||
| 4766 | content: "\f10b"; | ||
| 4767 | } | ||
| 4768 | .uk-icon-circle-o:before { | ||
| 4769 | content: "\f10c"; | ||
| 4770 | } | ||
| 4771 | .uk-icon-quote-left:before { | ||
| 4772 | content: "\f10d"; | ||
| 4773 | } | ||
| 4774 | .uk-icon-quote-right:before { | ||
| 4775 | content: "\f10e"; | ||
| 4776 | } | ||
| 4777 | .uk-icon-spinner:before { | ||
| 4778 | content: "\f110"; | ||
| 4779 | } | ||
| 4780 | .uk-icon-circle:before { | ||
| 4781 | content: "\f111"; | ||
| 4782 | } | ||
| 4783 | .uk-icon-mail-reply:before, | ||
| 4784 | .uk-icon-reply:before { | ||
| 4785 | content: "\f112"; | ||
| 4786 | } | ||
| 4787 | .uk-icon-github-alt:before { | ||
| 4788 | content: "\f113"; | ||
| 4789 | } | ||
| 4790 | .uk-icon-folder-o:before { | ||
| 4791 | content: "\f114"; | ||
| 4792 | } | ||
| 4793 | .uk-icon-folder-open-o:before { | ||
| 4794 | content: "\f115"; | ||
| 4795 | } | ||
| 4796 | .uk-icon-smile-o:before { | ||
| 4797 | content: "\f118"; | ||
| 4798 | } | ||
| 4799 | .uk-icon-frown-o:before { | ||
| 4800 | content: "\f119"; | ||
| 4801 | } | ||
| 4802 | .uk-icon-meh-o:before { | ||
| 4803 | content: "\f11a"; | ||
| 4804 | } | ||
| 4805 | .uk-icon-gamepad:before { | ||
| 4806 | content: "\f11b"; | ||
| 4807 | } | ||
| 4808 | .uk-icon-keyboard-o:before { | ||
| 4809 | content: "\f11c"; | ||
| 4810 | } | ||
| 4811 | .uk-icon-flag-o:before { | ||
| 4812 | content: "\f11d"; | ||
| 4813 | } | ||
| 4814 | .uk-icon-flag-checkered:before { | ||
| 4815 | content: "\f11e"; | ||
| 4816 | } | ||
| 4817 | .uk-icon-terminal:before { | ||
| 4818 | content: "\f120"; | ||
| 4819 | } | ||
| 4820 | .uk-icon-code:before { | ||
| 4821 | content: "\f121"; | ||
| 4822 | } | ||
| 4823 | .uk-icon-mail-reply-all:before, | ||
| 4824 | .uk-icon-reply-all:before { | ||
| 4825 | content: "\f122"; | ||
| 4826 | } | ||
| 4827 | .uk-icon-star-half-empty:before, | ||
| 4828 | .uk-icon-star-half-full:before, | ||
| 4829 | .uk-icon-star-half-o:before { | ||
| 4830 | content: "\f123"; | ||
| 4831 | } | ||
| 4832 | .uk-icon-location-arrow:before { | ||
| 4833 | content: "\f124"; | ||
| 4834 | } | ||
| 4835 | .uk-icon-crop:before { | ||
| 4836 | content: "\f125"; | ||
| 4837 | } | ||
| 4838 | .uk-icon-code-fork:before { | ||
| 4839 | content: "\f126"; | ||
| 4840 | } | ||
| 4841 | .uk-icon-unlink:before, | ||
| 4842 | .uk-icon-chain-broken:before { | ||
| 4843 | content: "\f127"; | ||
| 4844 | } | ||
| 4845 | .uk-icon-question:before { | ||
| 4846 | content: "\f128"; | ||
| 4847 | } | ||
| 4848 | .uk-icon-info:before { | ||
| 4849 | content: "\f129"; | ||
| 4850 | } | ||
| 4851 | .uk-icon-exclamation:before { | ||
| 4852 | content: "\f12a"; | ||
| 4853 | } | ||
| 4854 | .uk-icon-superscript:before { | ||
| 4855 | content: "\f12b"; | ||
| 4856 | } | ||
| 4857 | .uk-icon-subscript:before { | ||
| 4858 | content: "\f12c"; | ||
| 4859 | } | ||
| 4860 | .uk-icon-eraser:before { | ||
| 4861 | content: "\f12d"; | ||
| 4862 | } | ||
| 4863 | .uk-icon-puzzle-piece:before { | ||
| 4864 | content: "\f12e"; | ||
| 4865 | } | ||
| 4866 | .uk-icon-microphone:before { | ||
| 4867 | content: "\f130"; | ||
| 4868 | } | ||
| 4869 | .uk-icon-microphone-slash:before { | ||
| 4870 | content: "\f131"; | ||
| 4871 | } | ||
| 4872 | .uk-icon-shield:before { | ||
| 4873 | content: "\f132"; | ||
| 4874 | } | ||
| 4875 | .uk-icon-calendar-o:before { | ||
| 4876 | content: "\f133"; | ||
| 4877 | } | ||
| 4878 | .uk-icon-fire-extinguisher:before { | ||
| 4879 | content: "\f134"; | ||
| 4880 | } | ||
| 4881 | .uk-icon-rocket:before { | ||
| 4882 | content: "\f135"; | ||
| 4883 | } | ||
| 4884 | .uk-icon-maxcdn:before { | ||
| 4885 | content: "\f136"; | ||
| 4886 | } | ||
| 4887 | .uk-icon-chevron-circle-left:before { | ||
| 4888 | content: "\f137"; | ||
| 4889 | } | ||
| 4890 | .uk-icon-chevron-circle-right:before { | ||
| 4891 | content: "\f138"; | ||
| 4892 | } | ||
| 4893 | .uk-icon-chevron-circle-up:before { | ||
| 4894 | content: "\f139"; | ||
| 4895 | } | ||
| 4896 | .uk-icon-chevron-circle-down:before { | ||
| 4897 | content: "\f13a"; | ||
| 4898 | } | ||
| 4899 | .uk-icon-html5:before { | ||
| 4900 | content: "\f13b"; | ||
| 4901 | } | ||
| 4902 | .uk-icon-css3:before { | ||
| 4903 | content: "\f13c"; | ||
| 4904 | } | ||
| 4905 | .uk-icon-anchor:before { | ||
| 4906 | content: "\f13d"; | ||
| 4907 | } | ||
| 4908 | .uk-icon-unlock-alt:before { | ||
| 4909 | content: "\f13e"; | ||
| 4910 | } | ||
| 4911 | .uk-icon-bullseye:before { | ||
| 4912 | content: "\f140"; | ||
| 4913 | } | ||
| 4914 | .uk-icon-ellipsis-h:before { | ||
| 4915 | content: "\f141"; | ||
| 4916 | } | ||
| 4917 | .uk-icon-ellipsis-v:before { | ||
| 4918 | content: "\f142"; | ||
| 4919 | } | ||
| 4920 | .uk-icon-rss-square:before { | ||
| 4921 | content: "\f143"; | ||
| 4922 | } | ||
| 4923 | .uk-icon-play-circle:before { | ||
| 4924 | content: "\f144"; | ||
| 4925 | } | ||
| 4926 | .uk-icon-ticket:before { | ||
| 4927 | content: "\f145"; | ||
| 4928 | } | ||
| 4929 | .uk-icon-minus-square:before { | ||
| 4930 | content: "\f146"; | ||
| 4931 | } | ||
| 4932 | .uk-icon-minus-square-o:before { | ||
| 4933 | content: "\f147"; | ||
| 4934 | } | ||
| 4935 | .uk-icon-level-up:before { | ||
| 4936 | content: "\f148"; | ||
| 4937 | } | ||
| 4938 | .uk-icon-level-down:before { | ||
| 4939 | content: "\f149"; | ||
| 4940 | } | ||
| 4941 | .uk-icon-check-square:before { | ||
| 4942 | content: "\f14a"; | ||
| 4943 | } | ||
| 4944 | .uk-icon-pencil-square:before { | ||
| 4945 | content: "\f14b"; | ||
| 4946 | } | ||
| 4947 | .uk-icon-external-link-square:before { | ||
| 4948 | content: "\f14c"; | ||
| 4949 | } | ||
| 4950 | .uk-icon-share-square:before { | ||
| 4951 | content: "\f14d"; | ||
| 4952 | } | ||
| 4953 | .uk-icon-compass:before { | ||
| 4954 | content: "\f14e"; | ||
| 4955 | } | ||
| 4956 | .uk-icon-toggle-down:before, | ||
| 4957 | .uk-icon-caret-square-o-down:before { | ||
| 4958 | content: "\f150"; | ||
| 4959 | } | ||
| 4960 | .uk-icon-toggle-up:before, | ||
| 4961 | .uk-icon-caret-square-o-up:before { | ||
| 4962 | content: "\f151"; | ||
| 4963 | } | ||
| 4964 | .uk-icon-toggle-right:before, | ||
| 4965 | .uk-icon-caret-square-o-right:before { | ||
| 4966 | content: "\f152"; | ||
| 4967 | } | ||
| 4968 | .uk-icon-euro:before, | ||
| 4969 | .uk-icon-eur:before { | ||
| 4970 | content: "\f153"; | ||
| 4971 | } | ||
| 4972 | .uk-icon-gbp:before { | ||
| 4973 | content: "\f154"; | ||
| 4974 | } | ||
| 4975 | .uk-icon-dollar:before, | ||
| 4976 | .uk-icon-usd:before { | ||
| 4977 | content: "\f155"; | ||
| 4978 | } | ||
| 4979 | .uk-icon-rupee:before, | ||
| 4980 | .uk-icon-inr:before { | ||
| 4981 | content: "\f156"; | ||
| 4982 | } | ||
| 4983 | .uk-icon-cny:before, | ||
| 4984 | .uk-icon-rmb:before, | ||
| 4985 | .uk-icon-yen:before, | ||
| 4986 | .uk-icon-jpy:before { | ||
| 4987 | content: "\f157"; | ||
| 4988 | } | ||
| 4989 | .uk-icon-ruble:before, | ||
| 4990 | .uk-icon-rouble:before, | ||
| 4991 | .uk-icon-rub:before { | ||
| 4992 | content: "\f158"; | ||
| 4993 | } | ||
| 4994 | .uk-icon-won:before, | ||
| 4995 | .uk-icon-krw:before { | ||
| 4996 | content: "\f159"; | ||
| 4997 | } | ||
| 4998 | .uk-icon-bitcoin:before, | ||
| 4999 | .uk-icon-btc:before { | ||
| 5000 | content: "\f15a"; | ||
| 5001 | } | ||
| 5002 | .uk-icon-file:before { | ||
| 5003 | content: "\f15b"; | ||
| 5004 | } | ||
| 5005 | .uk-icon-file-text:before { | ||
| 5006 | content: "\f15c"; | ||
| 5007 | } | ||
| 5008 | .uk-icon-sort-alpha-asc:before { | ||
| 5009 | content: "\f15d"; | ||
| 5010 | } | ||
| 5011 | .uk-icon-sort-alpha-desc:before { | ||
| 5012 | content: "\f15e"; | ||
| 5013 | } | ||
| 5014 | .uk-icon-sort-amount-asc:before { | ||
| 5015 | content: "\f160"; | ||
| 5016 | } | ||
| 5017 | .uk-icon-sort-amount-desc:before { | ||
| 5018 | content: "\f161"; | ||
| 5019 | } | ||
| 5020 | .uk-icon-sort-numeric-asc:before { | ||
| 5021 | content: "\f162"; | ||
| 5022 | } | ||
| 5023 | .uk-icon-sort-numeric-desc:before { | ||
| 5024 | content: "\f163"; | ||
| 5025 | } | ||
| 5026 | .uk-icon-thumbs-up:before { | ||
| 5027 | content: "\f164"; | ||
| 5028 | } | ||
| 5029 | .uk-icon-thumbs-down:before { | ||
| 5030 | content: "\f165"; | ||
| 5031 | } | ||
| 5032 | .uk-icon-youtube-square:before { | ||
| 5033 | content: "\f166"; | ||
| 5034 | } | ||
| 5035 | .uk-icon-youtube:before { | ||
| 5036 | content: "\f167"; | ||
| 5037 | } | ||
| 5038 | .uk-icon-xing:before { | ||
| 5039 | content: "\f168"; | ||
| 5040 | } | ||
| 5041 | .uk-icon-xing-square:before { | ||
| 5042 | content: "\f169"; | ||
| 5043 | } | ||
| 5044 | .uk-icon-youtube-play:before { | ||
| 5045 | content: "\f16a"; | ||
| 5046 | } | ||
| 5047 | .uk-icon-dropbox:before { | ||
| 5048 | content: "\f16b"; | ||
| 5049 | } | ||
| 5050 | .uk-icon-stack-overflow:before { | ||
| 5051 | content: "\f16c"; | ||
| 5052 | } | ||
| 5053 | .uk-icon-instagram:before { | ||
| 5054 | content: "\f16d"; | ||
| 5055 | } | ||
| 5056 | .uk-icon-flickr:before { | ||
| 5057 | content: "\f16e"; | ||
| 5058 | } | ||
| 5059 | .uk-icon-adn:before { | ||
| 5060 | content: "\f170"; | ||
| 5061 | } | ||
| 5062 | .uk-icon-bitbucket:before { | ||
| 5063 | content: "\f171"; | ||
| 5064 | } | ||
| 5065 | .uk-icon-bitbucket-square:before { | ||
| 5066 | content: "\f172"; | ||
| 5067 | } | ||
| 5068 | .uk-icon-tumblr:before { | ||
| 5069 | content: "\f173"; | ||
| 5070 | } | ||
| 5071 | .uk-icon-tumblr-square:before { | ||
| 5072 | content: "\f174"; | ||
| 5073 | } | ||
| 5074 | .uk-icon-long-arrow-down:before { | ||
| 5075 | content: "\f175"; | ||
| 5076 | } | ||
| 5077 | .uk-icon-long-arrow-up:before { | ||
| 5078 | content: "\f176"; | ||
| 5079 | } | ||
| 5080 | .uk-icon-long-arrow-left:before { | ||
| 5081 | content: "\f177"; | ||
| 5082 | } | ||
| 5083 | .uk-icon-long-arrow-right:before { | ||
| 5084 | content: "\f178"; | ||
| 5085 | } | ||
| 5086 | .uk-icon-apple:before { | ||
| 5087 | content: "\f179"; | ||
| 5088 | } | ||
| 5089 | .uk-icon-windows:before { | ||
| 5090 | content: "\f17a"; | ||
| 5091 | } | ||
| 5092 | .uk-icon-android:before { | ||
| 5093 | content: "\f17b"; | ||
| 5094 | } | ||
| 5095 | .uk-icon-linux:before { | ||
| 5096 | content: "\f17c"; | ||
| 5097 | } | ||
| 5098 | .uk-icon-dribbble:before { | ||
| 5099 | content: "\f17d"; | ||
| 5100 | } | ||
| 5101 | .uk-icon-skype:before { | ||
| 5102 | content: "\f17e"; | ||
| 5103 | } | ||
| 5104 | .uk-icon-foursquare:before { | ||
| 5105 | content: "\f180"; | ||
| 5106 | } | ||
| 5107 | .uk-icon-trello:before { | ||
| 5108 | content: "\f181"; | ||
| 5109 | } | ||
| 5110 | .uk-icon-female:before { | ||
| 5111 | content: "\f182"; | ||
| 5112 | } | ||
| 5113 | .uk-icon-male:before { | ||
| 5114 | content: "\f183"; | ||
| 5115 | } | ||
| 5116 | .uk-icon-gittip:before, | ||
| 5117 | .uk-icon-gratipay:before { | ||
| 5118 | content: "\f184"; | ||
| 5119 | } | ||
| 5120 | .uk-icon-sun-o:before { | ||
| 5121 | content: "\f185"; | ||
| 5122 | } | ||
| 5123 | .uk-icon-moon-o:before { | ||
| 5124 | content: "\f186"; | ||
| 5125 | } | ||
| 5126 | .uk-icon-archive:before { | ||
| 5127 | content: "\f187"; | ||
| 5128 | } | ||
| 5129 | .uk-icon-bug:before { | ||
| 5130 | content: "\f188"; | ||
| 5131 | } | ||
| 5132 | .uk-icon-vk:before { | ||
| 5133 | content: "\f189"; | ||
| 5134 | } | ||
| 5135 | .uk-icon-weibo:before { | ||
| 5136 | content: "\f18a"; | ||
| 5137 | } | ||
| 5138 | .uk-icon-renren:before { | ||
| 5139 | content: "\f18b"; | ||
| 5140 | } | ||
| 5141 | .uk-icon-pagelines:before { | ||
| 5142 | content: "\f18c"; | ||
| 5143 | } | ||
| 5144 | .uk-icon-stack-exchange:before { | ||
| 5145 | content: "\f18d"; | ||
| 5146 | } | ||
| 5147 | .uk-icon-arrow-circle-o-right:before { | ||
| 5148 | content: "\f18e"; | ||
| 5149 | } | ||
| 5150 | .uk-icon-arrow-circle-o-left:before { | ||
| 5151 | content: "\f190"; | ||
| 5152 | } | ||
| 5153 | .uk-icon-toggle-left:before, | ||
| 5154 | .uk-icon-caret-square-o-left:before { | ||
| 5155 | content: "\f191"; | ||
| 5156 | } | ||
| 5157 | .uk-icon-dot-circle-o:before { | ||
| 5158 | content: "\f192"; | ||
| 5159 | } | ||
| 5160 | .uk-icon-wheelchair:before { | ||
| 5161 | content: "\f193"; | ||
| 5162 | } | ||
| 5163 | .uk-icon-vimeo-square:before { | ||
| 5164 | content: "\f194"; | ||
| 5165 | } | ||
| 5166 | .uk-icon-turkish-lira:before, | ||
| 5167 | .uk-icon-try:before { | ||
| 5168 | content: "\f195"; | ||
| 5169 | } | ||
| 5170 | .uk-icon-plus-square-o:before { | ||
| 5171 | content: "\f196"; | ||
| 5172 | } | ||
| 5173 | .uk-icon-space-shuttle:before { | ||
| 5174 | content: "\f197"; | ||
| 5175 | } | ||
| 5176 | .uk-icon-slack:before { | ||
| 5177 | content: "\f198"; | ||
| 5178 | } | ||
| 5179 | .uk-icon-envelope-square:before { | ||
| 5180 | content: "\f199"; | ||
| 5181 | } | ||
| 5182 | .uk-icon-wordpress:before { | ||
| 5183 | content: "\f19a"; | ||
| 5184 | } | ||
| 5185 | .uk-icon-openid:before { | ||
| 5186 | content: "\f19b"; | ||
| 5187 | } | ||
| 5188 | .uk-icon-institution:before, | ||
| 5189 | .uk-icon-bank:before, | ||
| 5190 | .uk-icon-university:before { | ||
| 5191 | content: "\f19c"; | ||
| 5192 | } | ||
| 5193 | .uk-icon-mortar-board:before, | ||
| 5194 | .uk-icon-graduation-cap:before { | ||
| 5195 | content: "\f19d"; | ||
| 5196 | } | ||
| 5197 | .uk-icon-yahoo:before { | ||
| 5198 | content: "\f19e"; | ||
| 5199 | } | ||
| 5200 | .uk-icon-google:before { | ||
| 5201 | content: "\f1a0"; | ||
| 5202 | } | ||
| 5203 | .uk-icon-reddit:before { | ||
| 5204 | content: "\f1a1"; | ||
| 5205 | } | ||
| 5206 | .uk-icon-reddit-square:before { | ||
| 5207 | content: "\f1a2"; | ||
| 5208 | } | ||
| 5209 | .uk-icon-stumbleupon-circle:before { | ||
| 5210 | content: "\f1a3"; | ||
| 5211 | } | ||
| 5212 | .uk-icon-stumbleupon:before { | ||
| 5213 | content: "\f1a4"; | ||
| 5214 | } | ||
| 5215 | .uk-icon-delicious:before { | ||
| 5216 | content: "\f1a5"; | ||
| 5217 | } | ||
| 5218 | .uk-icon-digg:before { | ||
| 5219 | content: "\f1a6"; | ||
| 5220 | } | ||
| 5221 | .uk-icon-pied-piper:before { | ||
| 5222 | content: "\f1a7"; | ||
| 5223 | } | ||
| 5224 | .uk-icon-pied-piper-alt:before { | ||
| 5225 | content: "\f1a8"; | ||
| 5226 | } | ||
| 5227 | .uk-icon-drupal:before { | ||
| 5228 | content: "\f1a9"; | ||
| 5229 | } | ||
| 5230 | .uk-icon-joomla:before { | ||
| 5231 | content: "\f1aa"; | ||
| 5232 | } | ||
| 5233 | .uk-icon-language:before { | ||
| 5234 | content: "\f1ab"; | ||
| 5235 | } | ||
| 5236 | .uk-icon-fax:before { | ||
| 5237 | content: "\f1ac"; | ||
| 5238 | } | ||
| 5239 | .uk-icon-building:before { | ||
| 5240 | content: "\f1ad"; | ||
| 5241 | } | ||
| 5242 | .uk-icon-child:before { | ||
| 5243 | content: "\f1ae"; | ||
| 5244 | } | ||
| 5245 | .uk-icon-paw:before { | ||
| 5246 | content: "\f1b0"; | ||
| 5247 | } | ||
| 5248 | .uk-icon-spoon:before { | ||
| 5249 | content: "\f1b1"; | ||
| 5250 | } | ||
| 5251 | .uk-icon-cube:before { | ||
| 5252 | content: "\f1b2"; | ||
| 5253 | } | ||
| 5254 | .uk-icon-cubes:before { | ||
| 5255 | content: "\f1b3"; | ||
| 5256 | } | ||
| 5257 | .uk-icon-behance:before { | ||
| 5258 | content: "\f1b4"; | ||
| 5259 | } | ||
| 5260 | .uk-icon-behance-square:before { | ||
| 5261 | content: "\f1b5"; | ||
| 5262 | } | ||
| 5263 | .uk-icon-steam:before { | ||
| 5264 | content: "\f1b6"; | ||
| 5265 | } | ||
| 5266 | .uk-icon-steam-square:before { | ||
| 5267 | content: "\f1b7"; | ||
| 5268 | } | ||
| 5269 | .uk-icon-recycle:before { | ||
| 5270 | content: "\f1b8"; | ||
| 5271 | } | ||
| 5272 | .uk-icon-automobile:before, | ||
| 5273 | .uk-icon-car:before { | ||
| 5274 | content: "\f1b9"; | ||
| 5275 | } | ||
| 5276 | .uk-icon-cab:before, | ||
| 5277 | .uk-icon-taxi:before { | ||
| 5278 | content: "\f1ba"; | ||
| 5279 | } | ||
| 5280 | .uk-icon-tree:before { | ||
| 5281 | content: "\f1bb"; | ||
| 5282 | } | ||
| 5283 | .uk-icon-spotify:before { | ||
| 5284 | content: "\f1bc"; | ||
| 5285 | } | ||
| 5286 | .uk-icon-deviantart:before { | ||
| 5287 | content: "\f1bd"; | ||
| 5288 | } | ||
| 5289 | .uk-icon-soundcloud:before { | ||
| 5290 | content: "\f1be"; | ||
| 5291 | } | ||
| 5292 | .uk-icon-database:before { | ||
| 5293 | content: "\f1c0"; | ||
| 5294 | } | ||
| 5295 | .uk-icon-file-pdf-o:before { | ||
| 5296 | content: "\f1c1"; | ||
| 5297 | } | ||
| 5298 | .uk-icon-file-word-o:before { | ||
| 5299 | content: "\f1c2"; | ||
| 5300 | } | ||
| 5301 | .uk-icon-file-excel-o:before { | ||
| 5302 | content: "\f1c3"; | ||
| 5303 | } | ||
| 5304 | .uk-icon-file-powerpoint-o:before { | ||
| 5305 | content: "\f1c4"; | ||
| 5306 | } | ||
| 5307 | .uk-icon-file-photo-o:before, | ||
| 5308 | .uk-icon-file-picture-o:before, | ||
| 5309 | .uk-icon-file-image-o:before { | ||
| 5310 | content: "\f1c5"; | ||
| 5311 | } | ||
| 5312 | .uk-icon-file-zip-o:before, | ||
| 5313 | .uk-icon-file-archive-o:before { | ||
| 5314 | content: "\f1c6"; | ||
| 5315 | } | ||
| 5316 | .uk-icon-file-sound-o:before, | ||
| 5317 | .uk-icon-file-audio-o:before { | ||
| 5318 | content: "\f1c7"; | ||
| 5319 | } | ||
| 5320 | .uk-icon-file-movie-o:before, | ||
| 5321 | .uk-icon-file-video-o:before { | ||
| 5322 | content: "\f1c8"; | ||
| 5323 | } | ||
| 5324 | .uk-icon-file-code-o:before { | ||
| 5325 | content: "\f1c9"; | ||
| 5326 | } | ||
| 5327 | .uk-icon-vine:before { | ||
| 5328 | content: "\f1ca"; | ||
| 5329 | } | ||
| 5330 | .uk-icon-codepen:before { | ||
| 5331 | content: "\f1cb"; | ||
| 5332 | } | ||
| 5333 | .uk-icon-jsfiddle:before { | ||
| 5334 | content: "\f1cc"; | ||
| 5335 | } | ||
| 5336 | .uk-icon-life-bouy:before, | ||
| 5337 | .uk-icon-life-buoy:before, | ||
| 5338 | .uk-icon-life-saver:before, | ||
| 5339 | .uk-icon-support:before, | ||
| 5340 | .uk-icon-life-ring:before { | ||
| 5341 | content: "\f1cd"; | ||
| 5342 | } | ||
| 5343 | .uk-icon-circle-o-notch:before { | ||
| 5344 | content: "\f1ce"; | ||
| 5345 | } | ||
| 5346 | .uk-icon-ra:before, | ||
| 5347 | .uk-icon-rebel:before { | ||
| 5348 | content: "\f1d0"; | ||
| 5349 | } | ||
| 5350 | .uk-icon-ge:before, | ||
| 5351 | .uk-icon-empire:before { | ||
| 5352 | content: "\f1d1"; | ||
| 5353 | } | ||
| 5354 | .uk-icon-git-square:before { | ||
| 5355 | content: "\f1d2"; | ||
| 5356 | } | ||
| 5357 | .uk-icon-git:before { | ||
| 5358 | content: "\f1d3"; | ||
| 5359 | } | ||
| 5360 | .uk-icon-hacker-news:before { | ||
| 5361 | content: "\f1d4"; | ||
| 5362 | } | ||
| 5363 | .uk-icon-tencent-weibo:before { | ||
| 5364 | content: "\f1d5"; | ||
| 5365 | } | ||
| 5366 | .uk-icon-qq:before { | ||
| 5367 | content: "\f1d6"; | ||
| 5368 | } | ||
| 5369 | .uk-icon-wechat:before, | ||
| 5370 | .uk-icon-weixin:before { | ||
| 5371 | content: "\f1d7"; | ||
| 5372 | } | ||
| 5373 | .uk-icon-send:before, | ||
| 5374 | .uk-icon-paper-plane:before { | ||
| 5375 | content: "\f1d8"; | ||
| 5376 | } | ||
| 5377 | .uk-icon-send-o:before, | ||
| 5378 | .uk-icon-paper-plane-o:before { | ||
| 5379 | content: "\f1d9"; | ||
| 5380 | } | ||
| 5381 | .uk-icon-history:before { | ||
| 5382 | content: "\f1da"; | ||
| 5383 | } | ||
| 5384 | .uk-icon-genderless:before, | ||
| 5385 | .uk-icon-circle-thin:before { | ||
| 5386 | content: "\f1db"; | ||
| 5387 | } | ||
| 5388 | .uk-icon-header:before { | ||
| 5389 | content: "\f1dc"; | ||
| 5390 | } | ||
| 5391 | .uk-icon-paragraph:before { | ||
| 5392 | content: "\f1dd"; | ||
| 5393 | } | ||
| 5394 | .uk-icon-sliders:before { | ||
| 5395 | content: "\f1de"; | ||
| 5396 | } | ||
| 5397 | .uk-icon-share-alt:before { | ||
| 5398 | content: "\f1e0"; | ||
| 5399 | } | ||
| 5400 | .uk-icon-share-alt-square:before { | ||
| 5401 | content: "\f1e1"; | ||
| 5402 | } | ||
| 5403 | .uk-icon-bomb:before { | ||
| 5404 | content: "\f1e2"; | ||
| 5405 | } | ||
| 5406 | .uk-icon-soccer-ball-o:before, | ||
| 5407 | .uk-icon-futbol-o:before { | ||
| 5408 | content: "\f1e3"; | ||
| 5409 | } | ||
| 5410 | .uk-icon-tty:before { | ||
| 5411 | content: "\f1e4"; | ||
| 5412 | } | ||
| 5413 | .uk-icon-binoculars:before { | ||
| 5414 | content: "\f1e5"; | ||
| 5415 | } | ||
| 5416 | .uk-icon-plug:before { | ||
| 5417 | content: "\f1e6"; | ||
| 5418 | } | ||
| 5419 | .uk-icon-slideshare:before { | ||
| 5420 | content: "\f1e7"; | ||
| 5421 | } | ||
| 5422 | .uk-icon-twitch:before { | ||
| 5423 | content: "\f1e8"; | ||
| 5424 | } | ||
| 5425 | .uk-icon-yelp:before { | ||
| 5426 | content: "\f1e9"; | ||
| 5427 | } | ||
| 5428 | .uk-icon-newspaper-o:before { | ||
| 5429 | content: "\f1ea"; | ||
| 5430 | } | ||
| 5431 | .uk-icon-wifi:before { | ||
| 5432 | content: "\f1eb"; | ||
| 5433 | } | ||
| 5434 | .uk-icon-calculator:before { | ||
| 5435 | content: "\f1ec"; | ||
| 5436 | } | ||
| 5437 | .uk-icon-paypal:before { | ||
| 5438 | content: "\f1ed"; | ||
| 5439 | } | ||
| 5440 | .uk-icon-google-wallet:before { | ||
| 5441 | content: "\f1ee"; | ||
| 5442 | } | ||
| 5443 | .uk-icon-cc-visa:before { | ||
| 5444 | content: "\f1f0"; | ||
| 5445 | } | ||
| 5446 | .uk-icon-cc-mastercard:before { | ||
| 5447 | content: "\f1f1"; | ||
| 5448 | } | ||
| 5449 | .uk-icon-cc-discover:before { | ||
| 5450 | content: "\f1f2"; | ||
| 5451 | } | ||
| 5452 | .uk-icon-cc-amex:before { | ||
| 5453 | content: "\f1f3"; | ||
| 5454 | } | ||
| 5455 | .uk-icon-cc-paypal:before { | ||
| 5456 | content: "\f1f4"; | ||
| 5457 | } | ||
| 5458 | .uk-icon-cc-stripe:before { | ||
| 5459 | content: "\f1f5"; | ||
| 5460 | } | ||
| 5461 | .uk-icon-bell-slash:before { | ||
| 5462 | content: "\f1f6"; | ||
| 5463 | } | ||
| 5464 | .uk-icon-bell-slash-o:before { | ||
| 5465 | content: "\f1f7"; | ||
| 5466 | } | ||
| 5467 | .uk-icon-trash:before { | ||
| 5468 | content: "\f1f8"; | ||
| 5469 | } | ||
| 5470 | .uk-icon-copyright:before { | ||
| 5471 | content: "\f1f9"; | ||
| 5472 | } | ||
| 5473 | .uk-icon-at:before { | ||
| 5474 | content: "\f1fa"; | ||
| 5475 | } | ||
| 5476 | .uk-icon-eyedropper:before { | ||
| 5477 | content: "\f1fb"; | ||
| 5478 | } | ||
| 5479 | .uk-icon-paint-brush:before { | ||
| 5480 | content: "\f1fc"; | ||
| 5481 | } | ||
| 5482 | .uk-icon-birthday-cake:before { | ||
| 5483 | content: "\f1fd"; | ||
| 5484 | } | ||
| 5485 | .uk-icon-area-chart:before { | ||
| 5486 | content: "\f1fe"; | ||
| 5487 | } | ||
| 5488 | .uk-icon-pie-chart:before { | ||
| 5489 | content: "\f200"; | ||
| 5490 | } | ||
| 5491 | .uk-icon-line-chart:before { | ||
| 5492 | content: "\f201"; | ||
| 5493 | } | ||
| 5494 | .uk-icon-lastfm:before { | ||
| 5495 | content: "\f202"; | ||
| 5496 | } | ||
| 5497 | .uk-icon-lastfm-square:before { | ||
| 5498 | content: "\f203"; | ||
| 5499 | } | ||
| 5500 | .uk-icon-toggle-off:before { | ||
| 5501 | content: "\f204"; | ||
| 5502 | } | ||
| 5503 | .uk-icon-toggle-on:before { | ||
| 5504 | content: "\f205"; | ||
| 5505 | } | ||
| 5506 | .uk-icon-bicycle:before { | ||
| 5507 | content: "\f206"; | ||
| 5508 | } | ||
| 5509 | .uk-icon-bus:before { | ||
| 5510 | content: "\f207"; | ||
| 5511 | } | ||
| 5512 | .uk-icon-ioxhost:before { | ||
| 5513 | content: "\f208"; | ||
| 5514 | } | ||
| 5515 | .uk-icon-angellist:before { | ||
| 5516 | content: "\f209"; | ||
| 5517 | } | ||
| 5518 | .uk-icon-cc:before { | ||
| 5519 | content: "\f20a"; | ||
| 5520 | } | ||
| 5521 | .uk-icon-shekel:before, | ||
| 5522 | .uk-icon-sheqel:before, | ||
| 5523 | .uk-icon-ils:before { | ||
| 5524 | content: "\f20b"; | ||
| 5525 | } | ||
| 5526 | .uk-icon-meanpath:before { | ||
| 5527 | content: "\f20c"; | ||
| 5528 | } | ||
| 5529 | .uk-icon-buysellads:before { | ||
| 5530 | content: "\f20d"; | ||
| 5531 | } | ||
| 5532 | .uk-icon-connectdevelop:before { | ||
| 5533 | content: "\f20e"; | ||
| 5534 | } | ||
| 5535 | .uk-icon-dashcube:before { | ||
| 5536 | content: "\f210"; | ||
| 5537 | } | ||
| 5538 | .uk-icon-forumbee:before { | ||
| 5539 | content: "\f211"; | ||
| 5540 | } | ||
| 5541 | .uk-icon-leanpub:before { | ||
| 5542 | content: "\f212"; | ||
| 5543 | } | ||
| 5544 | .uk-icon-sellsy:before { | ||
| 5545 | content: "\f213"; | ||
| 5546 | } | ||
| 5547 | .uk-icon-shirtsinbulk:before { | ||
| 5548 | content: "\f214"; | ||
| 5549 | } | ||
| 5550 | .uk-icon-simplybuilt:before { | ||
| 5551 | content: "\f215"; | ||
| 5552 | } | ||
| 5553 | .uk-icon-skyatlas:before { | ||
| 5554 | content: "\f216"; | ||
| 5555 | } | ||
| 5556 | .uk-icon-cart-plus:before { | ||
| 5557 | content: "\f217"; | ||
| 5558 | } | ||
| 5559 | .uk-icon-cart-arrow-down:before { | ||
| 5560 | content: "\f218"; | ||
| 5561 | } | ||
| 5562 | .uk-icon-diamond:before { | ||
| 5563 | content: "\f219"; | ||
| 5564 | } | ||
| 5565 | .uk-icon-ship:before { | ||
| 5566 | content: "\f21a"; | ||
| 5567 | } | ||
| 5568 | .uk-icon-user-secret:before { | ||
| 5569 | content: "\f21b"; | ||
| 5570 | } | ||
| 5571 | .uk-icon-motorcycle:before { | ||
| 5572 | content: "\f21c"; | ||
| 5573 | } | ||
| 5574 | .uk-icon-street-view:before { | ||
| 5575 | content: "\f21d"; | ||
| 5576 | } | ||
| 5577 | .uk-icon-heartbeat:before { | ||
| 5578 | content: "\f21e"; | ||
| 5579 | } | ||
| 5580 | .uk-icon-venus:before { | ||
| 5581 | content: "\f221"; | ||
| 5582 | } | ||
| 5583 | .uk-icon-mars:before { | ||
| 5584 | content: "\f222"; | ||
| 5585 | } | ||
| 5586 | .uk-icon-mercury:before { | ||
| 5587 | content: "\f223"; | ||
| 5588 | } | ||
| 5589 | .uk-icon-transgender:before { | ||
| 5590 | content: "\f224"; | ||
| 5591 | } | ||
| 5592 | .uk-icon-transgender-alt:before { | ||
| 5593 | content: "\f225"; | ||
| 5594 | } | ||
| 5595 | .uk-icon-venus-double:before { | ||
| 5596 | content: "\f226"; | ||
| 5597 | } | ||
| 5598 | .uk-icon-mars-double:before { | ||
| 5599 | content: "\f227"; | ||
| 5600 | } | ||
| 5601 | .uk-icon-venus-mars:before { | ||
| 5602 | content: "\f228"; | ||
| 5603 | } | ||
| 5604 | .uk-icon-mars-stroke:before { | ||
| 5605 | content: "\f229"; | ||
| 5606 | } | ||
| 5607 | .uk-icon-mars-stroke-v:before { | ||
| 5608 | content: "\f22a"; | ||
| 5609 | } | ||
| 5610 | .uk-icon-mars-stroke-h:before { | ||
| 5611 | content: "\f22b"; | ||
| 5612 | } | ||
| 5613 | .uk-icon-neuter:before { | ||
| 5614 | content: "\f22c"; | ||
| 5615 | } | ||
| 5616 | .uk-icon-facebook-official:before { | ||
| 5617 | content: "\f230"; | ||
| 5618 | } | ||
| 5619 | .uk-icon-pinterest-p:before { | ||
| 5620 | content: "\f231"; | ||
| 5621 | } | ||
| 5622 | .uk-icon-whatsapp:before { | ||
| 5623 | content: "\f232"; | ||
| 5624 | } | ||
| 5625 | .uk-icon-server:before { | ||
| 5626 | content: "\f233"; | ||
| 5627 | } | ||
| 5628 | .uk-icon-user-plus:before { | ||
| 5629 | content: "\f234"; | ||
| 5630 | } | ||
| 5631 | .uk-icon-user-times:before { | ||
| 5632 | content: "\f235"; | ||
| 5633 | } | ||
| 5634 | .uk-icon-hotel:before, | ||
| 5635 | .uk-icon-bed:before { | ||
| 5636 | content: "\f236"; | ||
| 5637 | } | ||
| 5638 | .uk-icon-viacoin:before { | ||
| 5639 | content: "\f237"; | ||
| 5640 | } | ||
| 5641 | .uk-icon-train:before { | ||
| 5642 | content: "\f238"; | ||
| 5643 | } | ||
| 5644 | .uk-icon-subway:before { | ||
| 5645 | content: "\f239"; | ||
| 5646 | } | ||
| 5647 | .uk-icon-medium-logo:before { | ||
| 5648 | content: "\f23a"; | ||
| 5649 | } | ||
| 5650 | .uk-icon-500px:before { | ||
| 5651 | content: "\f26e"; | ||
| 5652 | } | ||
| 5653 | .uk-icon-amazon:before { | ||
| 5654 | content: "\f270"; | ||
| 5655 | } | ||
| 5656 | .uk-icon-balance-scale:before { | ||
| 5657 | content: "\f24e"; | ||
| 5658 | } | ||
| 5659 | .uk-icon-battery-empty:before, | ||
| 5660 | .uk-icon-battery-0:before { | ||
| 5661 | content: "\f244"; | ||
| 5662 | } | ||
| 5663 | .uk-icon-battery-quarter:before, | ||
| 5664 | .uk-icon-battery-1:before { | ||
| 5665 | content: "\f243"; | ||
| 5666 | } | ||
| 5667 | .uk-icon-battery-half:before, | ||
| 5668 | .uk-icon-battery-2:before { | ||
| 5669 | content: "\f242"; | ||
| 5670 | } | ||
| 5671 | .uk-icon-battery-three-quarters:before, | ||
| 5672 | .uk-icon-battery-3:before { | ||
| 5673 | content: "\f241"; | ||
| 5674 | } | ||
| 5675 | .uk-icon-battery-full:before, | ||
| 5676 | .uk-icon-battery-4:before { | ||
| 5677 | content: "\f240"; | ||
| 5678 | } | ||
| 5679 | .uk-icon-black-tie:before { | ||
| 5680 | content: "\f27e"; | ||
| 5681 | } | ||
| 5682 | .uk-icon-calendar-check-o:before { | ||
| 5683 | content: "\f274"; | ||
| 5684 | } | ||
| 5685 | .uk-icon-calendar-minus-o:before { | ||
| 5686 | content: "\f272"; | ||
| 5687 | } | ||
| 5688 | .uk-icon-calendar-plus-o:before { | ||
| 5689 | content: "\f271"; | ||
| 5690 | } | ||
| 5691 | .uk-icon-calendar-times-o:before { | ||
| 5692 | content: "\f273"; | ||
| 5693 | } | ||
| 5694 | .uk-icon-cc-diners-club:before { | ||
| 5695 | content: "\f24c"; | ||
| 5696 | } | ||
| 5697 | .uk-icon-cc-jcb:before { | ||
| 5698 | content: "\f24b"; | ||
| 5699 | } | ||
| 5700 | .uk-icon-chrome:before { | ||
| 5701 | content: "\f268"; | ||
| 5702 | } | ||
| 5703 | .uk-icon-clone:before { | ||
| 5704 | content: "\f24d"; | ||
| 5705 | } | ||
| 5706 | .uk-icon-commenting:before { | ||
| 5707 | content: "\f27a"; | ||
| 5708 | } | ||
| 5709 | .uk-icon-commenting-o:before { | ||
| 5710 | content: "\f27b"; | ||
| 5711 | } | ||
| 5712 | .uk-icon-contao:before { | ||
| 5713 | content: "\f26d"; | ||
| 5714 | } | ||
| 5715 | .uk-icon-creative-commons:before { | ||
| 5716 | content: "\f25e"; | ||
| 5717 | } | ||
| 5718 | .uk-icon-expeditedssl:before { | ||
| 5719 | content: "\f23e"; | ||
| 5720 | } | ||
| 5721 | .uk-icon-firefox:before { | ||
| 5722 | content: "\f269"; | ||
| 5723 | } | ||
| 5724 | .uk-icon-fonticons:before { | ||
| 5725 | content: "\f280"; | ||
| 5726 | } | ||
| 5727 | .uk-icon-get-pocket:before { | ||
| 5728 | content: "\f265"; | ||
| 5729 | } | ||
| 5730 | .uk-icon-gg:before { | ||
| 5731 | content: "\f260"; | ||
| 5732 | } | ||
| 5733 | .uk-icon-gg-circle:before { | ||
| 5734 | content: "\f261"; | ||
| 5735 | } | ||
| 5736 | .uk-icon-hand-lizard-o:before { | ||
| 5737 | content: "\f258"; | ||
| 5738 | } | ||
| 5739 | .uk-icon-hand-stop-o:before, | ||
| 5740 | .uk-icon-hand-paper-o:before { | ||
| 5741 | content: "\f256"; | ||
| 5742 | } | ||
| 5743 | .uk-icon-hand-peace-o:before { | ||
| 5744 | content: "\f25b"; | ||
| 5745 | } | ||
| 5746 | .uk-icon-hand-pointer-o:before { | ||
| 5747 | content: "\f25a"; | ||
| 5748 | } | ||
| 5749 | .uk-icon-hand-grab-o:before, | ||
| 5750 | .uk-icon-hand-rock-o:before { | ||
| 5751 | content: "\f255"; | ||
| 5752 | } | ||
| 5753 | .uk-icon-hand-scissors-o:before { | ||
| 5754 | content: "\f257"; | ||
| 5755 | } | ||
| 5756 | .uk-icon-hand-spock-o:before { | ||
| 5757 | content: "\f259"; | ||
| 5758 | } | ||
| 5759 | .uk-icon-hourglass:before { | ||
| 5760 | content: "\f254"; | ||
| 5761 | } | ||
| 5762 | .uk-icon-hourglass-o:before { | ||
| 5763 | content: "\f250"; | ||
| 5764 | } | ||
| 5765 | .uk-icon-hourglass-1:before, | ||
| 5766 | .uk-icon-hourglass-start:before { | ||
| 5767 | content: "\f251"; | ||
| 5768 | } | ||
| 5769 | .uk-icon-hourglass-2:before, | ||
| 5770 | .uk-icon-hourglass-half:before { | ||
| 5771 | content: "\f252"; | ||
| 5772 | } | ||
| 5773 | .uk-icon-hourglass-3:before, | ||
| 5774 | .uk-icon-hourglass-end:before { | ||
| 5775 | content: "\f253"; | ||
| 5776 | } | ||
| 5777 | .uk-icon-houzz:before { | ||
| 5778 | content: "\f27c"; | ||
| 5779 | } | ||
| 5780 | .uk-icon-i-cursor:before { | ||
| 5781 | content: "\f246"; | ||
| 5782 | } | ||
| 5783 | .uk-icon-industry:before { | ||
| 5784 | content: "\f275"; | ||
| 5785 | } | ||
| 5786 | .uk-icon-internet-explorer:before { | ||
| 5787 | content: "\f26b"; | ||
| 5788 | } | ||
| 5789 | .uk-icon-map:before { | ||
| 5790 | content: "\f279"; | ||
| 5791 | } | ||
| 5792 | .uk-icon-map-o:before { | ||
| 5793 | content: "\f278"; | ||
| 5794 | } | ||
| 5795 | .uk-icon-map-pin:before { | ||
| 5796 | content: "\f276"; | ||
| 5797 | } | ||
| 5798 | .uk-icon-map-signs:before { | ||
| 5799 | content: "\f277"; | ||
| 5800 | } | ||
| 5801 | .uk-icon-mouse-pointer:before { | ||
| 5802 | content: "\f245"; | ||
| 5803 | } | ||
| 5804 | .uk-icon-object-group:before { | ||
| 5805 | content: "\f247"; | ||
| 5806 | } | ||
| 5807 | .uk-icon-object-ungroup:before { | ||
| 5808 | content: "\f248"; | ||
| 5809 | } | ||
| 5810 | .uk-icon-odnoklassniki:before { | ||
| 5811 | content: "\f263"; | ||
| 5812 | } | ||
| 5813 | .uk-icon-odnoklassniki-square:before { | ||
| 5814 | content: "\f264"; | ||
| 5815 | } | ||
| 5816 | .uk-icon-opencart:before { | ||
| 5817 | content: "\f23d"; | ||
| 5818 | } | ||
| 5819 | .uk-icon-opera:before { | ||
| 5820 | content: "\f26a"; | ||
| 5821 | } | ||
| 5822 | .uk-icon-optin-monster:before { | ||
| 5823 | content: "\f23c"; | ||
| 5824 | } | ||
| 5825 | .uk-icon-registered:before { | ||
| 5826 | content: "\f25d"; | ||
| 5827 | } | ||
| 5828 | .uk-icon-safari:before { | ||
| 5829 | content: "\f267"; | ||
| 5830 | } | ||
| 5831 | .uk-icon-sticky-note:before { | ||
| 5832 | content: "\f249"; | ||
| 5833 | } | ||
| 5834 | .uk-icon-sticky-note-o:before { | ||
| 5835 | content: "\f24a"; | ||
| 5836 | } | ||
| 5837 | .uk-icon-tv:before, | ||
| 5838 | .uk-icon-television:before { | ||
| 5839 | content: "\f26c"; | ||
| 5840 | } | ||
| 5841 | .uk-icon-trademark:before { | ||
| 5842 | content: "\f25c"; | ||
| 5843 | } | ||
| 5844 | .uk-icon-tripadvisor:before { | ||
| 5845 | content: "\f262"; | ||
| 5846 | } | ||
| 5847 | .uk-icon-vimeo:before { | ||
| 5848 | content: "\f27d"; | ||
| 5849 | } | ||
| 5850 | .uk-icon-wikipedia-w:before { | ||
| 5851 | content: "\f266"; | ||
| 5852 | } | ||
| 5853 | .uk-icon-yc:before, | ||
| 5854 | .uk-icon-y-combinator:before { | ||
| 5855 | content: "\f23b"; | ||
| 5856 | } | ||
| 5857 | .uk-icon-yc-square:before, | ||
| 5858 | .uk-icon-y-combinator-square:before { | ||
| 5859 | content: "\f1d4"; | ||
| 5860 | } | ||
| 5861 | .uk-icon-bluetooth:before { | ||
| 5862 | content: "\f293"; | ||
| 5863 | } | ||
| 5864 | .uk-icon-bluetooth-b:before { | ||
| 5865 | content: "\f294"; | ||
| 5866 | } | ||
| 5867 | .uk-icon-codiepie:before { | ||
| 5868 | content: "\f284"; | ||
| 5869 | } | ||
| 5870 | .uk-icon-credit-card-alt:before { | ||
| 5871 | content: "\f283"; | ||
| 5872 | } | ||
| 5873 | .uk-icon-edge:before { | ||
| 5874 | content: "\f282"; | ||
| 5875 | } | ||
| 5876 | .uk-icon-fort-awesome:before { | ||
| 5877 | content: "\f286"; | ||
| 5878 | } | ||
| 5879 | .uk-icon-hashtag:before { | ||
| 5880 | content: "\f292"; | ||
| 5881 | } | ||
| 5882 | .uk-icon-mixcloud:before { | ||
| 5883 | content: "\f289"; | ||
| 5884 | } | ||
| 5885 | .uk-icon-modx:before { | ||
| 5886 | content: "\f285"; | ||
| 5887 | } | ||
| 5888 | .uk-icon-pause-circle:before { | ||
| 5889 | content: "\f28b"; | ||
| 5890 | } | ||
| 5891 | .uk-icon-pause-circle-o:before { | ||
| 5892 | content: "\f28c"; | ||
| 5893 | } | ||
| 5894 | .uk-icon-percent:before { | ||
| 5895 | content: "\f295"; | ||
| 5896 | } | ||
| 5897 | .uk-icon-product-hunt:before { | ||
| 5898 | content: "\f288"; | ||
| 5899 | } | ||
| 5900 | .uk-icon-reddit-alien:before { | ||
| 5901 | content: "\f281"; | ||
| 5902 | } | ||
| 5903 | .uk-icon-scribd:before { | ||
| 5904 | content: "\f28a"; | ||
| 5905 | } | ||
| 5906 | .uk-icon-shopping-bag:before { | ||
| 5907 | content: "\f290"; | ||
| 5908 | } | ||
| 5909 | .uk-icon-shopping-basket:before { | ||
| 5910 | content: "\f291"; | ||
| 5911 | } | ||
| 5912 | .uk-icon-stop-circle:before { | ||
| 5913 | content: "\f28d"; | ||
| 5914 | } | ||
| 5915 | .uk-icon-stop-circle-o:before { | ||
| 5916 | content: "\f28e"; | ||
| 5917 | } | ||
| 5918 | .uk-icon-usb:before { | ||
| 5919 | content: "\f287"; | ||
| 5920 | } | ||
| 5921 | .uk-icon-american-sign-language-interpreting:before, | ||
| 5922 | .uk-icon-asl-interpreting:before { | ||
| 5923 | content: "\f2a3"; | ||
| 5924 | } | ||
| 5925 | .uk-icon-assistive-listening-systems:before { | ||
| 5926 | content: "\f2a2"; | ||
| 5927 | } | ||
| 5928 | .uk-icon-audio-description:before { | ||
| 5929 | content: "\f29e"; | ||
| 5930 | } | ||
| 5931 | .uk-icon-blind:before { | ||
| 5932 | content: "\f29d"; | ||
| 5933 | } | ||
| 5934 | .uk-icon-braille:before { | ||
| 5935 | content: "\f2a1"; | ||
| 5936 | } | ||
| 5937 | .uk-icon-deaf:before { | ||
| 5938 | content: "\f2a4"; | ||
| 5939 | } | ||
| 5940 | .uk-icon-deafness:before { | ||
| 5941 | content: "\f2a4"; | ||
| 5942 | } | ||
| 5943 | .uk-icon-envira:before { | ||
| 5944 | content: "\f299"; | ||
| 5945 | } | ||
| 5946 | .uk-icon-gitlab:before { | ||
| 5947 | content: "\f296"; | ||
| 5948 | } | ||
| 5949 | .uk-icon-glide:before { | ||
| 5950 | content: "\f2a5"; | ||
| 5951 | } | ||
| 5952 | .uk-icon-glide-g:before { | ||
| 5953 | content: "\f2a6"; | ||
| 5954 | } | ||
| 5955 | .uk-icon-hard-of-hearing:before { | ||
| 5956 | content: "\f2a4"; | ||
| 5957 | } | ||
| 5958 | .uk-icon-low-vision:before { | ||
| 5959 | content: "\f2a8"; | ||
| 5960 | } | ||
| 5961 | .uk-icon-question-circle-o:before { | ||
| 5962 | content: "\f29c"; | ||
| 5963 | } | ||
| 5964 | .uk-icon-sign-language:before, | ||
| 5965 | .uk-icon-signing:before { | ||
| 5966 | content: "\f2a7"; | ||
| 5967 | } | ||
| 5968 | .uk-icon-snapchat:before { | ||
| 5969 | content: "\f2ab"; | ||
| 5970 | } | ||
| 5971 | .uk-icon-snapchat-ghost:before { | ||
| 5972 | content: "\f2ac"; | ||
| 5973 | } | ||
| 5974 | .uk-icon-snapchat-square:before { | ||
| 5975 | content: "\f2ad"; | ||
| 5976 | } | ||
| 5977 | .uk-icon-universal-access:before { | ||
| 5978 | content: "\f29a"; | ||
| 5979 | } | ||
| 5980 | .uk-icon-viadeo:before { | ||
| 5981 | content: "\f2a9"; | ||
| 5982 | } | ||
| 5983 | .uk-icon-viadeo-square:before { | ||
| 5984 | content: "\f2aa"; | ||
| 5985 | } | ||
| 5986 | .uk-icon-volume-control-phone:before { | ||
| 5987 | content: "\f2a0"; | ||
| 5988 | } | ||
| 5989 | .uk-icon-wheelchair-alt:before { | ||
| 5990 | content: "\f29b"; | ||
| 5991 | } | ||
| 5992 | .uk-icon-wpbeginner:before { | ||
| 5993 | content: "\f297"; | ||
| 5994 | } | ||
| 5995 | .uk-icon-wpforms:before { | ||
| 5996 | content: "\f298"; | ||
| 5997 | } | ||
| 5998 | /* ======================================================================== | ||
| 5999 | Component: Close | ||
| 6000 | ========================================================================== */ | ||
| 6001 | /* | ||
| 6002 | * Removes inner padding and border in Firefox 4+. | ||
| 6003 | */ | ||
| 6004 | .uk-close::-moz-focus-inner { | ||
| 6005 | border: 0; | ||
| 6006 | padding: 0; | ||
| 6007 | } | ||
| 6008 | /* | ||
| 6009 | * 1. Correct inability to style clickable `input` types in iOS. | ||
| 6010 | * 2. Remove margins in Chrome, Safari and Opera. | ||
| 6011 | * 3. Remove borders for `button`. | ||
| 6012 | * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. | ||
| 6013 | * 5. Correct `font` properties and `color` not being inherited for `button`. | ||
| 6014 | * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE | ||
| 6015 | * 7. Remove default `button` padding and background color | ||
| 6016 | * 8. Style | ||
| 6017 | */ | ||
| 6018 | .uk-close { | ||
| 6019 | /* 1 */ | ||
| 6020 | -webkit-appearance: none; | ||
| 6021 | /* 2 */ | ||
| 6022 | margin: 0; | ||
| 6023 | /* 3 */ | ||
| 6024 | border: none; | ||
| 6025 | /* 4 */ | ||
| 6026 | overflow: visible; | ||
| 6027 | /* 5 */ | ||
| 6028 | font: inherit; | ||
| 6029 | color: inherit; | ||
| 6030 | /* 6 */ | ||
| 6031 | text-transform: none; | ||
| 6032 | /* 7. */ | ||
| 6033 | padding: 0; | ||
| 6034 | background: transparent; | ||
| 6035 | /* 8 */ | ||
| 6036 | display: inline-block; | ||
| 6037 | box-sizing: content-box; | ||
| 6038 | width: 20px; | ||
| 6039 | line-height: 20px; | ||
| 6040 | text-align: center; | ||
| 6041 | vertical-align: middle; | ||
| 6042 | opacity: 0.3; | ||
| 6043 | } | ||
| 6044 | /* Icon */ | ||
| 6045 | .uk-close:after { | ||
| 6046 | display: block; | ||
| 6047 | content: "\f00d"; | ||
| 6048 | font-family: FontAwesome; | ||
| 6049 | } | ||
| 6050 | /* | ||
| 6051 | * Hover | ||
| 6052 | * 1. Apply hover style also to focus state | ||
| 6053 | * 2. Remove default focus style | ||
| 6054 | * 3. Required for `a` elements | ||
| 6055 | */ | ||
| 6056 | .uk-close:hover, | ||
| 6057 | .uk-close:focus { | ||
| 6058 | opacity: 0.5; | ||
| 6059 | /* 2 */ | ||
| 6060 | outline: none; | ||
| 6061 | /* 3 */ | ||
| 6062 | color: inherit; | ||
| 6063 | text-decoration: none; | ||
| 6064 | cursor: pointer; | ||
| 6065 | } | ||
| 6066 | /* Modifier | ||
| 6067 | ========================================================================== */ | ||
| 6068 | .uk-close-alt { | ||
| 6069 | padding: 2px; | ||
| 6070 | border-radius: 50%; | ||
| 6071 | background: #fff; | ||
| 6072 | opacity: 1; | ||
| 6073 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.3); | ||
| 6074 | } | ||
| 6075 | /* Hover */ | ||
| 6076 | .uk-close-alt:hover, | ||
| 6077 | .uk-close-alt:focus { | ||
| 6078 | opacity: 1; | ||
| 6079 | } | ||
| 6080 | /* Icon */ | ||
| 6081 | .uk-close-alt:after { | ||
| 6082 | opacity: 0.5; | ||
| 6083 | } | ||
| 6084 | .uk-close-alt:hover:after, | ||
| 6085 | .uk-close-alt:focus:after { | ||
| 6086 | opacity: 0.8; | ||
| 6087 | } | ||
| 6088 | /* ======================================================================== | ||
| 6089 | Component: Badge | ||
| 6090 | ========================================================================== */ | ||
| 6091 | .uk-badge { | ||
| 6092 | display: inline-block; | ||
| 6093 | padding: 0 5px; | ||
| 6094 | background: #00a8e6; | ||
| 6095 | font-size: 10px; | ||
| 6096 | font-weight: bold; | ||
| 6097 | line-height: 14px; | ||
| 6098 | color: #fff; | ||
| 6099 | text-align: center; | ||
| 6100 | vertical-align: middle; | ||
| 6101 | text-transform: none; | ||
| 6102 | border: 1px solid rgba(0, 0, 0, 0.06); | ||
| 6103 | border-radius: 2px; | ||
| 6104 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1); | ||
| 6105 | } | ||
| 6106 | /* | ||
| 6107 | * Keep color when badge is a link | ||
| 6108 | */ | ||
| 6109 | a.uk-badge:hover { | ||
| 6110 | color: #fff; | ||
| 6111 | } | ||
| 6112 | /* Modifier: `uk-badge-notification`; | ||
| 6113 | ========================================================================== */ | ||
| 6114 | .uk-badge-notification { | ||
| 6115 | box-sizing: border-box; | ||
| 6116 | min-width: 18px; | ||
| 6117 | border-radius: 500px; | ||
| 6118 | font-size: 12px; | ||
| 6119 | line-height: 18px; | ||
| 6120 | } | ||
| 6121 | /* Color modifier | ||
| 6122 | ========================================================================== */ | ||
| 6123 | /* | ||
| 6124 | * Modifier: `uk-badge-success` | ||
| 6125 | */ | ||
| 6126 | .uk-badge-success { | ||
| 6127 | background-color: #8cc14c; | ||
| 6128 | } | ||
| 6129 | /* | ||
| 6130 | * Modifier: `uk-badge-warning` | ||
| 6131 | */ | ||
| 6132 | .uk-badge-warning { | ||
| 6133 | background-color: #faa732; | ||
| 6134 | } | ||
| 6135 | /* | ||
| 6136 | * Modifier: `uk-badge-danger` | ||
| 6137 | */ | ||
| 6138 | .uk-badge-danger { | ||
| 6139 | background-color: #da314b; | ||
| 6140 | } | ||
| 6141 | /* ======================================================================== | ||
| 6142 | Component: Alert | ||
| 6143 | ========================================================================== */ | ||
| 6144 | .uk-alert { | ||
| 6145 | margin-bottom: 15px; | ||
| 6146 | padding: 10px; | ||
| 6147 | background: #ebf7fd; | ||
| 6148 | color: #2d7091; | ||
| 6149 | border: 1px solid rgba(45, 112, 145, 0.3); | ||
| 6150 | border-radius: 4px; | ||
| 6151 | text-shadow: 0 1px 0 #fff; | ||
| 6152 | } | ||
| 6153 | /* | ||
| 6154 | * Add margin if adjacent element | ||
| 6155 | */ | ||
| 6156 | * + .uk-alert { | ||
| 6157 | margin-top: 15px; | ||
| 6158 | } | ||
| 6159 | /* | ||
| 6160 | * Remove margin from the last-child | ||
| 6161 | */ | ||
| 6162 | .uk-alert > :last-child { | ||
| 6163 | margin-bottom: 0; | ||
| 6164 | } | ||
| 6165 | /* | ||
| 6166 | * Keep color for headings if the default heading color is changed | ||
| 6167 | */ | ||
| 6168 | .uk-alert h1, | ||
| 6169 | .uk-alert h2, | ||
| 6170 | .uk-alert h3, | ||
| 6171 | .uk-alert h4, | ||
| 6172 | .uk-alert h5, | ||
| 6173 | .uk-alert h6 { | ||
| 6174 | color: inherit; | ||
| 6175 | } | ||
| 6176 | /* Close in alert | ||
| 6177 | ========================================================================== */ | ||
| 6178 | .uk-alert > .uk-close:first-child { | ||
| 6179 | float: right; | ||
| 6180 | } | ||
| 6181 | /* | ||
| 6182 | * Remove margin from adjacent element | ||
| 6183 | */ | ||
| 6184 | .uk-alert > .uk-close:first-child + * { | ||
| 6185 | margin-top: 0; | ||
| 6186 | } | ||
| 6187 | /* Modifier: `uk-alert-success` | ||
| 6188 | ========================================================================== */ | ||
| 6189 | .uk-alert-success { | ||
| 6190 | background: #f2fae3; | ||
| 6191 | color: #659f13; | ||
| 6192 | border-color: rgba(101, 159, 19, 0.3); | ||
| 6193 | } | ||
| 6194 | /* Modifier: `uk-alert-warning` | ||
| 6195 | ========================================================================== */ | ||
| 6196 | .uk-alert-warning { | ||
| 6197 | background: #fffceb; | ||
| 6198 | color: #e28327; | ||
| 6199 | border-color: rgba(226, 131, 39, 0.3); | ||
| 6200 | } | ||
| 6201 | /* Modifier: `uk-alert-danger` | ||
| 6202 | ========================================================================== */ | ||
| 6203 | .uk-alert-danger { | ||
| 6204 | background: #fff1f0; | ||
| 6205 | color: #d85030; | ||
| 6206 | border-color: rgba(216, 80, 48, 0.3); | ||
| 6207 | } | ||
| 6208 | /* Modifier: `uk-alert-large` | ||
| 6209 | ========================================================================== */ | ||
| 6210 | .uk-alert-large { | ||
| 6211 | padding: 20px; | ||
| 6212 | } | ||
| 6213 | .uk-alert-large > .uk-close:first-child { | ||
| 6214 | margin: -10px -10px 0 0; | ||
| 6215 | } | ||
| 6216 | /* ======================================================================== | ||
| 6217 | Component: Thumbnail | ||
| 6218 | ========================================================================== */ | ||
| 6219 | /* | ||
| 6220 | * 1. Container width fits its content | ||
| 6221 | * 2. Responsive behavior | ||
| 6222 | * 3. Corrects `max-width` behavior sed | ||
| 6223 | * 4. Required for `figure` element | ||
| 6224 | * 5. Style | ||
| 6225 | */ | ||
| 6226 | .uk-thumbnail { | ||
| 6227 | /* 1 */ | ||
| 6228 | display: inline-block; | ||
| 6229 | /* 2 */ | ||
| 6230 | max-width: 100%; | ||
| 6231 | /* 3 */ | ||
| 6232 | box-sizing: border-box; | ||
| 6233 | /* 3 */ | ||
| 6234 | margin: 0; | ||
| 6235 | /* 4 */ | ||
| 6236 | padding: 4px; | ||
| 6237 | border: 1px solid #ddd; | ||
| 6238 | background: #fff; | ||
| 6239 | border-radius: 4px; | ||
| 6240 | } | ||
| 6241 | /* | ||
| 6242 | * Hover state for `a` elements | ||
| 6243 | * 1. Apply hover style also to focus state | ||
| 6244 | * 2. Needed for caption | ||
| 6245 | * 3. Remove default focus style | ||
| 6246 | */ | ||
| 6247 | a.uk-thumbnail:hover, | ||
| 6248 | a.uk-thumbnail:focus { | ||
| 6249 | border-color: #aaaaaa; | ||
| 6250 | background-color: #fff; | ||
| 6251 | /* 2 */ | ||
| 6252 | text-decoration: none; | ||
| 6253 | /* 3 */ | ||
| 6254 | outline: none; | ||
| 6255 | } | ||
| 6256 | /* Caption | ||
| 6257 | ========================================================================== */ | ||
| 6258 | .uk-thumbnail-caption { | ||
| 6259 | padding-top: 4px; | ||
| 6260 | text-align: center; | ||
| 6261 | color: #444; | ||
| 6262 | } | ||
| 6263 | /* Sizes | ||
| 6264 | ========================================================================== */ | ||
| 6265 | .uk-thumbnail-mini { | ||
| 6266 | width: 150px; | ||
| 6267 | } | ||
| 6268 | .uk-thumbnail-small { | ||
| 6269 | width: 200px; | ||
| 6270 | } | ||
| 6271 | .uk-thumbnail-medium { | ||
| 6272 | width: 300px; | ||
| 6273 | } | ||
| 6274 | .uk-thumbnail-large { | ||
| 6275 | width: 400px; | ||
| 6276 | } | ||
| 6277 | .uk-thumbnail-expand, | ||
| 6278 | .uk-thumbnail-expand > img { | ||
| 6279 | width: 100%; | ||
| 6280 | } | ||
| 6281 | /* ======================================================================== | ||
| 6282 | Component: Overlay | ||
| 6283 | ========================================================================== */ | ||
| 6284 | /* | ||
| 6285 | * 1. Container width fits its content | ||
| 6286 | * 2. Create position context | ||
| 6287 | * 3. Set max-width for responsive images to prevent `inline-block` consequences | ||
| 6288 | * 4. Remove the gap between the container and its child element | ||
| 6289 | * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome | ||
| 6290 | * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit | ||
| 6291 | * 7. Reset margin | ||
| 6292 | */ | ||
| 6293 | .uk-overlay { | ||
| 6294 | /* 1 */ | ||
| 6295 | display: inline-block; | ||
| 6296 | /* 2 */ | ||
| 6297 | position: relative; | ||
| 6298 | /* 3 */ | ||
| 6299 | max-width: 100%; | ||
| 6300 | /* 4 */ | ||
| 6301 | vertical-align: middle; | ||
| 6302 | /* 5 */ | ||
| 6303 | overflow: hidden; | ||
| 6304 | /* 6 */ | ||
| 6305 | -webkit-transform: translateZ(0); | ||
| 6306 | /* 7 */ | ||
| 6307 | margin: 0; | ||
| 6308 | } | ||
| 6309 | /* 6 for Safari */ | ||
| 6310 | .uk-overlay.uk-border-circle { | ||
| 6311 | -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); | ||
| 6312 | } | ||
| 6313 | /* | ||
| 6314 | * Remove margin from content | ||
| 6315 | */ | ||
| 6316 | .uk-overlay > :first-child { | ||
| 6317 | margin-bottom: 0; | ||
| 6318 | } | ||
| 6319 | /* Sub-object `uk-overlay-panel` | ||
| 6320 | ========================================================================== */ | ||
| 6321 | /* | ||
| 6322 | * 1. Position cover | ||
| 6323 | * 2. Style | ||
| 6324 | */ | ||
| 6325 | .uk-overlay-panel { | ||
| 6326 | /* 1 */ | ||
| 6327 | position: absolute; | ||
| 6328 | top: 0; | ||
| 6329 | bottom: 0; | ||
| 6330 | left: 0; | ||
| 6331 | right: 0; | ||
| 6332 | /* 2 */ | ||
| 6333 | padding: 20px; | ||
| 6334 | color: #fff; | ||
| 6335 | } | ||
| 6336 | /* | ||
| 6337 | * Remove margin from the last-child | ||
| 6338 | */ | ||
| 6339 | .uk-overlay-panel > :last-child, | ||
| 6340 | .uk-overlay-panel.uk-flex > * > :last-child { | ||
| 6341 | margin-bottom: 0; | ||
| 6342 | } | ||
| 6343 | /* | ||
| 6344 | * Keep color for headings if the default heading color is changed | ||
| 6345 | */ | ||
| 6346 | .uk-overlay-panel h1, | ||
| 6347 | .uk-overlay-panel h2, | ||
| 6348 | .uk-overlay-panel h3, | ||
| 6349 | .uk-overlay-panel h4, | ||
| 6350 | .uk-overlay-panel h5, | ||
| 6351 | .uk-overlay-panel h6 { | ||
| 6352 | color: inherit; | ||
| 6353 | } | ||
| 6354 | .uk-overlay-panel a:not([class]) { | ||
| 6355 | color: inherit; | ||
| 6356 | text-decoration: underline; | ||
| 6357 | } | ||
| 6358 | .uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { | ||
| 6359 | color: inherit; | ||
| 6360 | } | ||
| 6361 | /* Sub-object `uk-overlay-hover` and `uk-overlay-active` | ||
| 6362 | ========================================================================== */ | ||
| 6363 | .uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { | ||
| 6364 | opacity: 0; | ||
| 6365 | } | ||
| 6366 | .uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { | ||
| 6367 | opacity: 0; | ||
| 6368 | } | ||
| 6369 | /* Modifier `uk-overlay-background` | ||
| 6370 | ========================================================================== */ | ||
| 6371 | .uk-overlay-background { | ||
| 6372 | background: rgba(0, 0, 0, 0.5); | ||
| 6373 | } | ||
| 6374 | /* Modifier `uk-overlay-image` | ||
| 6375 | ========================================================================== */ | ||
| 6376 | /* | ||
| 6377 | * Reset panel | ||
| 6378 | */ | ||
| 6379 | .uk-overlay-image { | ||
| 6380 | padding: 0; | ||
| 6381 | } | ||
| 6382 | /* Position modifiers | ||
| 6383 | ========================================================================== */ | ||
| 6384 | .uk-overlay-top { | ||
| 6385 | bottom: auto; | ||
| 6386 | } | ||
| 6387 | .uk-overlay-bottom { | ||
| 6388 | top: auto; | ||
| 6389 | } | ||
| 6390 | .uk-overlay-left { | ||
| 6391 | right: auto; | ||
| 6392 | } | ||
| 6393 | .uk-overlay-right { | ||
| 6394 | left: auto; | ||
| 6395 | } | ||
| 6396 | /* Sub-object `uk-overlay-icon` | ||
| 6397 | ========================================================================== */ | ||
| 6398 | .uk-overlay-icon:before { | ||
| 6399 | content: "\f002"; | ||
| 6400 | position: absolute; | ||
| 6401 | top: 50%; | ||
| 6402 | left: 50%; | ||
| 6403 | width: 50px; | ||
| 6404 | height: 50px; | ||
| 6405 | margin-top: -25px; | ||
| 6406 | margin-left: -25px; | ||
| 6407 | font-size: 50px; | ||
| 6408 | line-height: 1; | ||
| 6409 | font-family: FontAwesome; | ||
| 6410 | text-align: center; | ||
| 6411 | color: #fff; | ||
| 6412 | } | ||
| 6413 | /* Transitions | ||
| 6414 | ========================================================================== */ | ||
| 6415 | .uk-overlay-fade, | ||
| 6416 | .uk-overlay-scale, | ||
| 6417 | .uk-overlay-spin, | ||
| 6418 | .uk-overlay-grayscale, | ||
| 6419 | .uk-overlay-blur, | ||
| 6420 | [class*='uk-overlay-slide'] { | ||
| 6421 | transition-duration: 0.3s; | ||
| 6422 | transition-timing-function: ease-out; | ||
| 6423 | transition-property: opacity, transform, filter; | ||
| 6424 | } | ||
| 6425 | .uk-overlay-active .uk-overlay-fade, | ||
| 6426 | .uk-overlay-active .uk-overlay-scale, | ||
| 6427 | .uk-overlay-active .uk-overlay-spin, | ||
| 6428 | .uk-overlay-active [class*='uk-overlay-slide'] { | ||
| 6429 | transition-duration: 0.8s; | ||
| 6430 | } | ||
| 6431 | /* | ||
| 6432 | * Fade | ||
| 6433 | */ | ||
| 6434 | .uk-overlay-fade { | ||
| 6435 | opacity: 0.7; | ||
| 6436 | } | ||
| 6437 | .uk-overlay-hover:hover .uk-overlay-fade, | ||
| 6438 | .uk-overlay-hover.uk-hover .uk-overlay-fade, | ||
| 6439 | .uk-overlay-active .uk-active > .uk-overlay-fade { | ||
| 6440 | opacity: 1; | ||
| 6441 | } | ||
| 6442 | /* | ||
| 6443 | * Scale | ||
| 6444 | */ | ||
| 6445 | .uk-overlay-scale { | ||
| 6446 | -webkit-transform: scale(1); | ||
| 6447 | transform: scale(1); | ||
| 6448 | } | ||
| 6449 | .uk-overlay-hover:hover .uk-overlay-scale, | ||
| 6450 | .uk-overlay-hover.uk-hover .uk-overlay-scale, | ||
| 6451 | .uk-overlay-active .uk-active > .uk-overlay-scale { | ||
| 6452 | -webkit-transform: scale(1.1); | ||
| 6453 | transform: scale(1.1); | ||
| 6454 | } | ||
| 6455 | /* | ||
| 6456 | * Spin | ||
| 6457 | */ | ||
| 6458 | .uk-overlay-spin { | ||
| 6459 | -webkit-transform: scale(1) rotate(0deg); | ||
| 6460 | transform: scale(1) rotate(0deg); | ||
| 6461 | } | ||
| 6462 | .uk-overlay-hover:hover .uk-overlay-spin, | ||
| 6463 | .uk-overlay-hover.uk-hover .uk-overlay-spin, | ||
| 6464 | .uk-overlay-active .uk-active > .uk-overlay-spin { | ||
| 6465 | -webkit-transform: scale(1.1) rotate(3deg); | ||
| 6466 | transform: scale(1.1) rotate(3deg); | ||
| 6467 | } | ||
| 6468 | /* | ||
| 6469 | * Grayscale | ||
| 6470 | */ | ||
| 6471 | .uk-overlay-grayscale { | ||
| 6472 | -webkit-filter: grayscale(100%); | ||
| 6473 | filter: grayscale(100%); | ||
| 6474 | } | ||
| 6475 | .uk-overlay-hover:hover .uk-overlay-grayscale, | ||
| 6476 | .uk-overlay-hover.uk-hover .uk-overlay-grayscale, | ||
| 6477 | .uk-overlay-active .uk-active > .uk-overlay-grayscale { | ||
| 6478 | -webkit-filter: grayscale(0%); | ||
| 6479 | filter: grayscale(0%); | ||
| 6480 | } | ||
| 6481 | /* | ||
| 6482 | * Slide | ||
| 6483 | */ | ||
| 6484 | [class*='uk-overlay-slide'] { | ||
| 6485 | opacity: 0; | ||
| 6486 | } | ||
| 6487 | /* Top */ | ||
| 6488 | .uk-overlay-slide-top { | ||
| 6489 | -webkit-transform: translateY(-100%); | ||
| 6490 | transform: translateY(-100%); | ||
| 6491 | } | ||
| 6492 | /* Bottom */ | ||
| 6493 | .uk-overlay-slide-bottom { | ||
| 6494 | -webkit-transform: translateY(100%); | ||
| 6495 | transform: translateY(100%); | ||
| 6496 | } | ||
| 6497 | /* Left */ | ||
| 6498 | .uk-overlay-slide-left { | ||
| 6499 | -webkit-transform: translateX(-100%); | ||
| 6500 | transform: translateX(-100%); | ||
| 6501 | } | ||
| 6502 | /* Right */ | ||
| 6503 | .uk-overlay-slide-right { | ||
| 6504 | -webkit-transform: translateX(100%); | ||
| 6505 | transform: translateX(100%); | ||
| 6506 | } | ||
| 6507 | /* Hover */ | ||
| 6508 | .uk-overlay-hover:hover [class*='uk-overlay-slide'], | ||
| 6509 | .uk-overlay-hover.uk-hover [class*='uk-overlay-slide'], | ||
| 6510 | .uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { | ||
| 6511 | opacity: 1; | ||
| 6512 | -webkit-transform: translateX(0) translateY(0); | ||
| 6513 | transform: translateX(0) translateY(0); | ||
| 6514 | } | ||
| 6515 | /* DEPRECATED | ||
| 6516 | * Sub-object `uk-overlay-area` | ||
| 6517 | ========================================================================== */ | ||
| 6518 | /* | ||
| 6519 | * 1. Set position | ||
| 6520 | * 2. Set style | ||
| 6521 | * 3. Fade-in transition | ||
| 6522 | */ | ||
| 6523 | .uk-overlay-area { | ||
| 6524 | /* 1 */ | ||
| 6525 | position: absolute; | ||
| 6526 | top: 0; | ||
| 6527 | bottom: 0; | ||
| 6528 | left: 0; | ||
| 6529 | right: 0; | ||
| 6530 | /* 2 */ | ||
| 6531 | background: rgba(0, 0, 0, 0.3); | ||
| 6532 | /* 3 */ | ||
| 6533 | opacity: 0; | ||
| 6534 | -webkit-transition: opacity 0.15s linear; | ||
| 6535 | transition: opacity 0.15s linear; | ||
| 6536 | -webkit-transform: translate3d(0, 0, 0); | ||
| 6537 | } | ||
| 6538 | /* | ||
| 6539 | * Hover | ||
| 6540 | * 1. `uk-hover` to support touch devices | ||
| 6541 | * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier | ||
| 6542 | */ | ||
| 6543 | .uk-overlay:hover .uk-overlay-area, | ||
| 6544 | .uk-overlay.uk-hover .uk-overlay-area, | ||
| 6545 | .uk-overlay-toggle:hover .uk-overlay-area, | ||
| 6546 | .uk-overlay-toggle.uk-hover .uk-overlay-area { | ||
| 6547 | opacity: 1; | ||
| 6548 | } | ||
| 6549 | /* | ||
| 6550 | * Icon | ||
| 6551 | */ | ||
| 6552 | .uk-overlay-area:empty:before { | ||
| 6553 | content: "\f002"; | ||
| 6554 | position: absolute; | ||
| 6555 | top: 50%; | ||
| 6556 | left: 50%; | ||
| 6557 | width: 50px; | ||
| 6558 | height: 50px; | ||
| 6559 | margin-top: -25px; | ||
| 6560 | margin-left: -25px; | ||
| 6561 | font-size: 50px; | ||
| 6562 | line-height: 1; | ||
| 6563 | font-family: FontAwesome; | ||
| 6564 | text-align: center; | ||
| 6565 | color: #fff; | ||
| 6566 | } | ||
| 6567 | /* DEPRECATED | ||
| 6568 | * Sub-object `uk-overlay-area-content` | ||
| 6569 | ========================================================================== */ | ||
| 6570 | /* | ||
| 6571 | * Remove whitespace between child elements when using `inline-block` | ||
| 6572 | * Needed for Firefox | ||
| 6573 | */ | ||
| 6574 | .uk-overlay-area:not(:empty) { | ||
| 6575 | font-size: 0.001px; | ||
| 6576 | } | ||
| 6577 | /* | ||
| 6578 | * 1. Needed for vertical alignment | ||
| 6579 | */ | ||
| 6580 | .uk-overlay-area:not(:empty):before { | ||
| 6581 | content: ''; | ||
| 6582 | display: inline-block; | ||
| 6583 | height: 100%; | ||
| 6584 | vertical-align: middle; | ||
| 6585 | } | ||
| 6586 | /* | ||
| 6587 | * 1. Set vertical alignment | ||
| 6588 | * 2. Reset whitespace hack | ||
| 6589 | * 3. Set horizontal alignment | ||
| 6590 | * 4. Set style | ||
| 6591 | */ | ||
| 6592 | .uk-overlay-area-content { | ||
| 6593 | /* 1 */ | ||
| 6594 | display: inline-block; | ||
| 6595 | box-sizing: border-box; | ||
| 6596 | width: 100%; | ||
| 6597 | vertical-align: middle; | ||
| 6598 | /* 2 */ | ||
| 6599 | font-size: 1rem; | ||
| 6600 | /* 3 */ | ||
| 6601 | text-align: center; | ||
| 6602 | /* 4 */ | ||
| 6603 | padding: 0 15px; | ||
| 6604 | color: #fff; | ||
| 6605 | } | ||
| 6606 | /* | ||
| 6607 | * Remove margin from the last-child | ||
| 6608 | */ | ||
| 6609 | .uk-overlay-area-content > :last-child { | ||
| 6610 | margin-bottom: 0; | ||
| 6611 | } | ||
| 6612 | /* | ||
| 6613 | * Links in overlay area | ||
| 6614 | */ | ||
| 6615 | .uk-overlay-area-content a:not([class]), | ||
| 6616 | .uk-overlay-area-content a:not([class]):hover { | ||
| 6617 | color: inherit; | ||
| 6618 | } | ||
| 6619 | /* DEPRECATED | ||
| 6620 | * Sub-object `uk-overlay-caption` | ||
| 6621 | ========================================================================== */ | ||
| 6622 | /* | ||
| 6623 | * 1. Set position | ||
| 6624 | * 2. Set style | ||
| 6625 | * 3. Fade-in transition | ||
| 6626 | */ | ||
| 6627 | .uk-overlay-caption { | ||
| 6628 | /* 1 */ | ||
| 6629 | position: absolute; | ||
| 6630 | bottom: 0; | ||
| 6631 | left: 0; | ||
| 6632 | right: 0; | ||
| 6633 | /* 2 */ | ||
| 6634 | padding: 15px; | ||
| 6635 | background: rgba(0, 0, 0, 0.5); | ||
| 6636 | color: #fff; | ||
| 6637 | /* 3 */ | ||
| 6638 | opacity: 0; | ||
| 6639 | -webkit-transition: opacity 0.15s linear; | ||
| 6640 | transition: opacity 0.15s linear; | ||
| 6641 | -webkit-transform: translate3d(0, 0, 0); | ||
| 6642 | } | ||
| 6643 | /* | ||
| 6644 | * Hover | ||
| 6645 | * 1. `uk-hover` to support touch devices | ||
| 6646 | * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier | ||
| 6647 | */ | ||
| 6648 | .uk-overlay:hover .uk-overlay-caption, | ||
| 6649 | .uk-overlay.uk-hover .uk-overlay-caption, | ||
| 6650 | .uk-overlay-toggle:hover .uk-overlay-caption, | ||
| 6651 | .uk-overlay-toggle.uk-hover .uk-overlay-caption { | ||
| 6652 | opacity: 1; | ||
| 6653 | } | ||
| 6654 | /* ======================================================================== | ||
| 6655 | Component: Column | ||
| 6656 | ========================================================================== */ | ||
| 6657 | [class*='uk-column-'] { | ||
| 6658 | -webkit-column-gap: 25px; | ||
| 6659 | -moz-column-gap: 25px; | ||
| 6660 | column-gap: 25px; | ||
| 6661 | } | ||
| 6662 | /* Width modifiers | ||
| 6663 | ========================================================================== */ | ||
| 6664 | .uk-column-1-2 { | ||
| 6665 | -webkit-column-count: 2; | ||
| 6666 | -moz-column-count: 2; | ||
| 6667 | column-count: 2; | ||
| 6668 | } | ||
| 6669 | .uk-column-1-3 { | ||
| 6670 | -webkit-column-count: 3; | ||
| 6671 | -moz-column-count: 3; | ||
| 6672 | column-count: 3; | ||
| 6673 | } | ||
| 6674 | .uk-column-1-4 { | ||
| 6675 | -webkit-column-count: 4; | ||
| 6676 | -moz-column-count: 4; | ||
| 6677 | column-count: 4; | ||
| 6678 | } | ||
| 6679 | .uk-column-1-5 { | ||
| 6680 | -webkit-column-count: 5; | ||
| 6681 | -moz-column-count: 5; | ||
| 6682 | column-count: 5; | ||
| 6683 | } | ||
| 6684 | .uk-column-1-6 { | ||
| 6685 | -webkit-column-count: 6; | ||
| 6686 | -moz-column-count: 6; | ||
| 6687 | column-count: 6; | ||
| 6688 | } | ||
| 6689 | /* Phone landscape and bigger */ | ||
| 6690 | @media (min-width: 480px) { | ||
| 6691 | .uk-column-small-1-2 { | ||
| 6692 | -webkit-column-count: 2; | ||
| 6693 | -moz-column-count: 2; | ||
| 6694 | column-count: 2; | ||
| 6695 | } | ||
| 6696 | .uk-column-small-1-3 { | ||
| 6697 | -webkit-column-count: 3; | ||
| 6698 | -moz-column-count: 3; | ||
| 6699 | column-count: 3; | ||
| 6700 | } | ||
| 6701 | .uk-column-small-1-4 { | ||
| 6702 | -webkit-column-count: 4; | ||
| 6703 | -moz-column-count: 4; | ||
| 6704 | column-count: 4; | ||
| 6705 | } | ||
| 6706 | .uk-column-small-1-5 { | ||
| 6707 | -webkit-column-count: 5; | ||
| 6708 | -moz-column-count: 5; | ||
| 6709 | column-count: 5; | ||
| 6710 | } | ||
| 6711 | .uk-column-small-1-6 { | ||
| 6712 | -webkit-column-count: 6; | ||
| 6713 | -moz-column-count: 6; | ||
| 6714 | column-count: 6; | ||
| 6715 | } | ||
| 6716 | } | ||
| 6717 | /* Tablet and bigger */ | ||
| 6718 | @media (min-width: 768px) { | ||
| 6719 | .uk-column-medium-1-2 { | ||
| 6720 | -webkit-column-count: 2; | ||
| 6721 | -moz-column-count: 2; | ||
| 6722 | column-count: 2; | ||
| 6723 | } | ||
| 6724 | .uk-column-medium-1-3 { | ||
| 6725 | -webkit-column-count: 3; | ||
| 6726 | -moz-column-count: 3; | ||
| 6727 | column-count: 3; | ||
| 6728 | } | ||
| 6729 | .uk-column-medium-1-4 { | ||
| 6730 | -webkit-column-count: 4; | ||
| 6731 | -moz-column-count: 4; | ||
| 6732 | column-count: 4; | ||
| 6733 | } | ||
| 6734 | .uk-column-medium-1-5 { | ||
| 6735 | -webkit-column-count: 5; | ||
| 6736 | -moz-column-count: 5; | ||
| 6737 | column-count: 5; | ||
| 6738 | } | ||
| 6739 | .uk-column-medium-1-6 { | ||
| 6740 | -webkit-column-count: 6; | ||
| 6741 | -moz-column-count: 6; | ||
| 6742 | column-count: 6; | ||
| 6743 | } | ||
| 6744 | } | ||
| 6745 | /* Desktop and bigger */ | ||
| 6746 | @media (min-width: 960px) { | ||
| 6747 | .uk-column-large-1-2 { | ||
| 6748 | -webkit-column-count: 2; | ||
| 6749 | -moz-column-count: 2; | ||
| 6750 | column-count: 2; | ||
| 6751 | } | ||
| 6752 | .uk-column-large-1-3 { | ||
| 6753 | -webkit-column-count: 3; | ||
| 6754 | -moz-column-count: 3; | ||
| 6755 | column-count: 3; | ||
| 6756 | } | ||
| 6757 | .uk-column-large-1-4 { | ||
| 6758 | -webkit-column-count: 4; | ||
| 6759 | -moz-column-count: 4; | ||
| 6760 | column-count: 4; | ||
| 6761 | } | ||
| 6762 | .uk-column-large-1-5 { | ||
| 6763 | -webkit-column-count: 5; | ||
| 6764 | -moz-column-count: 5; | ||
| 6765 | column-count: 5; | ||
| 6766 | } | ||
| 6767 | .uk-column-large-1-6 { | ||
| 6768 | -webkit-column-count: 6; | ||
| 6769 | -moz-column-count: 6; | ||
| 6770 | column-count: 6; | ||
| 6771 | } | ||
| 6772 | } | ||
| 6773 | /* Large screen and bigger */ | ||
| 6774 | @media (min-width: 1220px) { | ||
| 6775 | .uk-column-xlarge-1-2 { | ||
| 6776 | -webkit-column-count: 2; | ||
| 6777 | -moz-column-count: 2; | ||
| 6778 | column-count: 2; | ||
| 6779 | } | ||
| 6780 | .uk-column-xlarge-1-3 { | ||
| 6781 | -webkit-column-count: 3; | ||
| 6782 | -moz-column-count: 3; | ||
| 6783 | column-count: 3; | ||
| 6784 | } | ||
| 6785 | .uk-column-xlarge-1-4 { | ||
| 6786 | -webkit-column-count: 4; | ||
| 6787 | -moz-column-count: 4; | ||
| 6788 | column-count: 4; | ||
| 6789 | } | ||
| 6790 | .uk-column-xlarge-1-5 { | ||
| 6791 | -webkit-column-count: 5; | ||
| 6792 | -moz-column-count: 5; | ||
| 6793 | column-count: 5; | ||
| 6794 | } | ||
| 6795 | .uk-column-xlarge-1-6 { | ||
| 6796 | -webkit-column-count: 6; | ||
| 6797 | -moz-column-count: 6; | ||
| 6798 | column-count: 6; | ||
| 6799 | } | ||
| 6800 | } | ||
| 6801 | /* ======================================================================== | ||
| 6802 | Component: Animation | ||
| 6803 | ========================================================================== */ | ||
| 6804 | [class*='uk-animation-'] { | ||
| 6805 | -webkit-animation-duration: 0.5s; | ||
| 6806 | animation-duration: 0.5s; | ||
| 6807 | -webkit-animation-timing-function: ease-out; | ||
| 6808 | animation-timing-function: ease-out; | ||
| 6809 | -webkit-animation-fill-mode: both; | ||
| 6810 | animation-fill-mode: both; | ||
| 6811 | } | ||
| 6812 | /* Hide animated element if scrollspy is used */ | ||
| 6813 | @media screen { | ||
| 6814 | [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { | ||
| 6815 | opacity: 0; | ||
| 6816 | } | ||
| 6817 | } | ||
| 6818 | /* | ||
| 6819 | * Fade | ||
| 6820 | * Higher specificity (!important) needed because of reverse modifier | ||
| 6821 | */ | ||
| 6822 | .uk-animation-fade { | ||
| 6823 | -webkit-animation-name: uk-fade; | ||
| 6824 | animation-name: uk-fade; | ||
| 6825 | -webkit-animation-duration: 0.8s; | ||
| 6826 | animation-duration: 0.8s; | ||
| 6827 | -webkit-animation-timing-function: linear !important; | ||
| 6828 | animation-timing-function: linear !important; | ||
| 6829 | } | ||
| 6830 | /* | ||
| 6831 | * Fade with scale | ||
| 6832 | */ | ||
| 6833 | .uk-animation-scale-up { | ||
| 6834 | -webkit-animation-name: uk-fade-scale-02; | ||
| 6835 | animation-name: uk-fade-scale-02; | ||
| 6836 | } | ||
| 6837 | .uk-animation-scale-down { | ||
| 6838 | -webkit-animation-name: uk-fade-scale-18; | ||
| 6839 | animation-name: uk-fade-scale-18; | ||
| 6840 | } | ||
| 6841 | /* | ||
| 6842 | * Fade with slide | ||
| 6843 | */ | ||
| 6844 | .uk-animation-slide-top { | ||
| 6845 | -webkit-animation-name: uk-fade-top; | ||
| 6846 | animation-name: uk-fade-top; | ||
| 6847 | } | ||
| 6848 | .uk-animation-slide-bottom { | ||
| 6849 | -webkit-animation-name: uk-fade-bottom; | ||
| 6850 | animation-name: uk-fade-bottom; | ||
| 6851 | } | ||
| 6852 | .uk-animation-slide-left { | ||
| 6853 | -webkit-animation-name: uk-fade-left; | ||
| 6854 | animation-name: uk-fade-left; | ||
| 6855 | } | ||
| 6856 | .uk-animation-slide-right { | ||
| 6857 | -webkit-animation-name: uk-fade-right; | ||
| 6858 | animation-name: uk-fade-right; | ||
| 6859 | } | ||
| 6860 | /* | ||
| 6861 | * Scale | ||
| 6862 | */ | ||
| 6863 | .uk-animation-scale { | ||
| 6864 | -webkit-animation-name: uk-scale-12; | ||
| 6865 | animation-name: uk-scale-12; | ||
| 6866 | } | ||
| 6867 | /* | ||
| 6868 | * Shake | ||
| 6869 | */ | ||
| 6870 | .uk-animation-shake { | ||
| 6871 | -webkit-animation-name: uk-shake; | ||
| 6872 | animation-name: uk-shake; | ||
| 6873 | } | ||
| 6874 | /* Direction modifiers | ||
| 6875 | ========================================================================== */ | ||
| 6876 | .uk-animation-reverse { | ||
| 6877 | -webkit-animation-direction: reverse; | ||
| 6878 | animation-direction: reverse; | ||
| 6879 | -webkit-animation-timing-function: ease-in; | ||
| 6880 | animation-timing-function: ease-in; | ||
| 6881 | } | ||
| 6882 | /* Duration modifiers | ||
| 6883 | ========================================================================== */ | ||
| 6884 | .uk-animation-15 { | ||
| 6885 | -webkit-animation-duration: 15s; | ||
| 6886 | animation-duration: 15s; | ||
| 6887 | } | ||
| 6888 | /* Origin modifiers | ||
| 6889 | ========================================================================== */ | ||
| 6890 | .uk-animation-top-left { | ||
| 6891 | -webkit-transform-origin: 0 0; | ||
| 6892 | transform-origin: 0 0; | ||
| 6893 | } | ||
| 6894 | .uk-animation-top-center { | ||
| 6895 | -webkit-transform-origin: 50% 0; | ||
| 6896 | transform-origin: 50% 0; | ||
| 6897 | } | ||
| 6898 | .uk-animation-top-right { | ||
| 6899 | -webkit-transform-origin: 100% 0; | ||
| 6900 | transform-origin: 100% 0; | ||
| 6901 | } | ||
| 6902 | .uk-animation-middle-left { | ||
| 6903 | -webkit-transform-origin: 0 50%; | ||
| 6904 | transform-origin: 0 50%; | ||
| 6905 | } | ||
| 6906 | .uk-animation-middle-right { | ||
| 6907 | -webkit-transform-origin: 100% 50%; | ||
| 6908 | transform-origin: 100% 50%; | ||
| 6909 | } | ||
| 6910 | .uk-animation-bottom-left { | ||
| 6911 | -webkit-transform-origin: 0 100%; | ||
| 6912 | transform-origin: 0 100%; | ||
| 6913 | } | ||
| 6914 | .uk-animation-bottom-center { | ||
| 6915 | -webkit-transform-origin: 50% 100%; | ||
| 6916 | transform-origin: 50% 100%; | ||
| 6917 | } | ||
| 6918 | .uk-animation-bottom-right { | ||
| 6919 | -webkit-transform-origin: 100% 100%; | ||
| 6920 | transform-origin: 100% 100%; | ||
| 6921 | } | ||
| 6922 | /* Sub-object: `uk-animation-hover` | ||
| 6923 | ========================================================================== */ | ||
| 6924 | /* | ||
| 6925 | * Enable animation only on hover | ||
| 6926 | * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` | ||
| 6927 | */ | ||
| 6928 | .uk-animation-hover:not(:hover), | ||
| 6929 | .uk-animation-hover:not(:hover) [class*='uk-animation-'], | ||
| 6930 | .uk-touch .uk-animation-hover:not(.uk-hover), | ||
| 6931 | .uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { | ||
| 6932 | -webkit-animation-name: none; | ||
| 6933 | animation-name: none; | ||
| 6934 | } | ||
| 6935 | /* Keyframes: Fade | ||
| 6936 | * Used by dropdown, datepicker and slideshow component | ||
| 6937 | ========================================================================== */ | ||
| 6938 | @-webkit-keyframes uk-fade { | ||
| 6939 | 0% { | ||
| 6940 | opacity: 0; | ||
| 6941 | } | ||
| 6942 | 100% { | ||
| 6943 | opacity: 1; | ||
| 6944 | } | ||
| 6945 | } | ||
| 6946 | @keyframes uk-fade { | ||
| 6947 | 0% { | ||
| 6948 | opacity: 0; | ||
| 6949 | } | ||
| 6950 | 100% { | ||
| 6951 | opacity: 1; | ||
| 6952 | } | ||
| 6953 | } | ||
| 6954 | /* Keyframes: Fade with slide | ||
| 6955 | ========================================================================== */ | ||
| 6956 | /* | ||
| 6957 | * Top | ||
| 6958 | */ | ||
| 6959 | @-webkit-keyframes uk-fade-top { | ||
| 6960 | 0% { | ||
| 6961 | opacity: 0; | ||
| 6962 | -webkit-transform: translateY(-100%); | ||
| 6963 | } | ||
| 6964 | 100% { | ||
| 6965 | opacity: 1; | ||
| 6966 | -webkit-transform: translateY(0); | ||
| 6967 | } | ||
| 6968 | } | ||
| 6969 | @keyframes uk-fade-top { | ||
| 6970 | 0% { | ||
| 6971 | opacity: 0; | ||
| 6972 | transform: translateY(-100%); | ||
| 6973 | } | ||
| 6974 | 100% { | ||
| 6975 | opacity: 1; | ||
| 6976 | transform: translateY(0); | ||
| 6977 | } | ||
| 6978 | } | ||
| 6979 | /* | ||
| 6980 | * Bottom | ||
| 6981 | */ | ||
| 6982 | @-webkit-keyframes uk-fade-bottom { | ||
| 6983 | 0% { | ||
| 6984 | opacity: 0; | ||
| 6985 | -webkit-transform: translateY(100%); | ||
| 6986 | } | ||
| 6987 | 100% { | ||
| 6988 | opacity: 1; | ||
| 6989 | -webkit-transform: translateY(0); | ||
| 6990 | } | ||
| 6991 | } | ||
| 6992 | @keyframes uk-fade-bottom { | ||
| 6993 | 0% { | ||
| 6994 | opacity: 0; | ||
| 6995 | transform: translateY(100%); | ||
| 6996 | } | ||
| 6997 | 100% { | ||
| 6998 | opacity: 1; | ||
| 6999 | transform: translateY(0); | ||
| 7000 | } | ||
| 7001 | } | ||
| 7002 | /* | ||
| 7003 | * Left | ||
| 7004 | */ | ||
| 7005 | @-webkit-keyframes uk-fade-left { | ||
| 7006 | 0% { | ||
| 7007 | opacity: 0; | ||
| 7008 | -webkit-transform: translateX(-100%); | ||
| 7009 | } | ||
| 7010 | 100% { | ||
| 7011 | opacity: 1; | ||
| 7012 | -webkit-transform: translateX(0); | ||
| 7013 | } | ||
| 7014 | } | ||
| 7015 | @keyframes uk-fade-left { | ||
| 7016 | 0% { | ||
| 7017 | opacity: 0; | ||
| 7018 | transform: translateX(-100%); | ||
| 7019 | } | ||
| 7020 | 100% { | ||
| 7021 | opacity: 1; | ||
| 7022 | transform: translateX(0); | ||
| 7023 | } | ||
| 7024 | } | ||
| 7025 | /* | ||
| 7026 | * Right | ||
| 7027 | */ | ||
| 7028 | @-webkit-keyframes uk-fade-right { | ||
| 7029 | 0% { | ||
| 7030 | opacity: 0; | ||
| 7031 | -webkit-transform: translateX(100%); | ||
| 7032 | } | ||
| 7033 | 100% { | ||
| 7034 | opacity: 1; | ||
| 7035 | -webkit-transform: translateX(0); | ||
| 7036 | } | ||
| 7037 | } | ||
| 7038 | @keyframes uk-fade-right { | ||
| 7039 | 0% { | ||
| 7040 | opacity: 0; | ||
| 7041 | transform: translateX(100%); | ||
| 7042 | } | ||
| 7043 | 100% { | ||
| 7044 | opacity: 1; | ||
| 7045 | transform: translateX(0); | ||
| 7046 | } | ||
| 7047 | } | ||
| 7048 | /* Keyframes: Fade with scale | ||
| 7049 | ========================================================================== */ | ||
| 7050 | /* | ||
| 7051 | * Scale by 0.2 | ||
| 7052 | */ | ||
| 7053 | @-webkit-keyframes uk-fade-scale-02 { | ||
| 7054 | 0% { | ||
| 7055 | opacity: 0; | ||
| 7056 | -webkit-transform: scale(0.2); | ||
| 7057 | } | ||
| 7058 | 100% { | ||
| 7059 | opacity: 1; | ||
| 7060 | -webkit-transform: scale(1); | ||
| 7061 | } | ||
| 7062 | } | ||
| 7063 | @keyframes uk-fade-scale-02 { | ||
| 7064 | 0% { | ||
| 7065 | opacity: 0; | ||
| 7066 | transform: scale(0.2); | ||
| 7067 | } | ||
| 7068 | 100% { | ||
| 7069 | opacity: 1; | ||
| 7070 | transform: scale(1); | ||
| 7071 | } | ||
| 7072 | } | ||
| 7073 | /* | ||
| 7074 | * Scale by 1.5 | ||
| 7075 | * Used by slideshow component | ||
| 7076 | */ | ||
| 7077 | @-webkit-keyframes uk-fade-scale-15 { | ||
| 7078 | 0% { | ||
| 7079 | opacity: 0; | ||
| 7080 | -webkit-transform: scale(1.5); | ||
| 7081 | } | ||
| 7082 | 100% { | ||
| 7083 | opacity: 1; | ||
| 7084 | -webkit-transform: scale(1); | ||
| 7085 | } | ||
| 7086 | } | ||
| 7087 | @keyframes uk-fade-scale-15 { | ||
| 7088 | 0% { | ||
| 7089 | opacity: 0; | ||
| 7090 | transform: scale(1.5); | ||
| 7091 | } | ||
| 7092 | 100% { | ||
| 7093 | opacity: 1; | ||
| 7094 | transform: scale(1); | ||
| 7095 | } | ||
| 7096 | } | ||
| 7097 | /* | ||
| 7098 | * Scale by 1.8 | ||
| 7099 | */ | ||
| 7100 | @-webkit-keyframes uk-fade-scale-18 { | ||
| 7101 | 0% { | ||
| 7102 | opacity: 0; | ||
| 7103 | -webkit-transform: scale(1.8); | ||
| 7104 | } | ||
| 7105 | 100% { | ||
| 7106 | opacity: 1; | ||
| 7107 | -webkit-transform: scale(1); | ||
| 7108 | } | ||
| 7109 | } | ||
| 7110 | @keyframes uk-fade-scale-18 { | ||
| 7111 | 0% { | ||
| 7112 | opacity: 0; | ||
| 7113 | transform: scale(1.8); | ||
| 7114 | } | ||
| 7115 | 100% { | ||
| 7116 | opacity: 1; | ||
| 7117 | transform: scale(1); | ||
| 7118 | } | ||
| 7119 | } | ||
| 7120 | /* Keyframes: Slide | ||
| 7121 | * Used by slideshow component | ||
| 7122 | ========================================================================== */ | ||
| 7123 | /* | ||
| 7124 | * Left | ||
| 7125 | */ | ||
| 7126 | @-webkit-keyframes uk-slide-left { | ||
| 7127 | 0% { | ||
| 7128 | -webkit-transform: translateX(-100%); | ||
| 7129 | } | ||
| 7130 | 100% { | ||
| 7131 | -webkit-transform: translateX(0); | ||
| 7132 | } | ||
| 7133 | } | ||
| 7134 | @keyframes uk-slide-left { | ||
| 7135 | 0% { | ||
| 7136 | transform: translateX(-100%); | ||
| 7137 | } | ||
| 7138 | 100% { | ||
| 7139 | transform: translateX(0); | ||
| 7140 | } | ||
| 7141 | } | ||
| 7142 | /* | ||
| 7143 | * Right | ||
| 7144 | */ | ||
| 7145 | @-webkit-keyframes uk-slide-right { | ||
| 7146 | 0% { | ||
| 7147 | -webkit-transform: translateX(100%); | ||
| 7148 | } | ||
| 7149 | 100% { | ||
| 7150 | -webkit-transform: translateX(0); | ||
| 7151 | } | ||
| 7152 | } | ||
| 7153 | @keyframes uk-slide-right { | ||
| 7154 | 0% { | ||
| 7155 | transform: translateX(100%); | ||
| 7156 | } | ||
| 7157 | 100% { | ||
| 7158 | transform: translateX(0); | ||
| 7159 | } | ||
| 7160 | } | ||
| 7161 | /* | ||
| 7162 | * Left third | ||
| 7163 | */ | ||
| 7164 | @-webkit-keyframes uk-slide-left-33 { | ||
| 7165 | 0% { | ||
| 7166 | -webkit-transform: translateX(33%); | ||
| 7167 | } | ||
| 7168 | 100% { | ||
| 7169 | -webkit-transform: translateX(0); | ||
| 7170 | } | ||
| 7171 | } | ||
| 7172 | @keyframes uk-slide-left-33 { | ||
| 7173 | 0% { | ||
| 7174 | transform: translateX(33%); | ||
| 7175 | } | ||
| 7176 | 100% { | ||
| 7177 | transform: translateX(0); | ||
| 7178 | } | ||
| 7179 | } | ||
| 7180 | /* | ||
| 7181 | * Right third | ||
| 7182 | */ | ||
| 7183 | @-webkit-keyframes uk-slide-right-33 { | ||
| 7184 | 0% { | ||
| 7185 | -webkit-transform: translateX(-33%); | ||
| 7186 | } | ||
| 7187 | 100% { | ||
| 7188 | -webkit-transform: translateX(0); | ||
| 7189 | } | ||
| 7190 | } | ||
| 7191 | @keyframes uk-slide-right-33 { | ||
| 7192 | 0% { | ||
| 7193 | transform: translateX(-33%); | ||
| 7194 | } | ||
| 7195 | 100% { | ||
| 7196 | transform: translateX(0); | ||
| 7197 | } | ||
| 7198 | } | ||
| 7199 | /* Keyframes: Scale | ||
| 7200 | ========================================================================== */ | ||
| 7201 | @-webkit-keyframes uk-scale-12 { | ||
| 7202 | 0% { | ||
| 7203 | -webkit-transform: scale(1.2); | ||
| 7204 | } | ||
| 7205 | 100% { | ||
| 7206 | -webkit-transform: scale(1); | ||
| 7207 | } | ||
| 7208 | } | ||
| 7209 | @keyframes uk-scale-12 { | ||
| 7210 | 0% { | ||
| 7211 | transform: scale(1.2); | ||
| 7212 | } | ||
| 7213 | 100% { | ||
| 7214 | transform: scale(1); | ||
| 7215 | } | ||
| 7216 | } | ||
| 7217 | /* Keyframes: Rotate | ||
| 7218 | * Used by icon component | ||
| 7219 | ========================================================================== */ | ||
| 7220 | @-webkit-keyframes uk-rotate { | ||
| 7221 | 0% { | ||
| 7222 | -webkit-transform: rotate(0deg); | ||
| 7223 | } | ||
| 7224 | 100% { | ||
| 7225 | -webkit-transform: rotate(359deg); | ||
| 7226 | } | ||
| 7227 | } | ||
| 7228 | @keyframes uk-rotate { | ||
| 7229 | 0% { | ||
| 7230 | transform: rotate(0deg); | ||
| 7231 | } | ||
| 7232 | 100% { | ||
| 7233 | transform: rotate(359deg); | ||
| 7234 | } | ||
| 7235 | } | ||
| 7236 | /* Keyframes: Shake | ||
| 7237 | ========================================================================== */ | ||
| 7238 | @-webkit-keyframes uk-shake { | ||
| 7239 | 0%, | ||
| 7240 | 100% { | ||
| 7241 | -webkit-transform: translateX(0); | ||
| 7242 | } | ||
| 7243 | 10% { | ||
| 7244 | -webkit-transform: translateX(-9px); | ||
| 7245 | } | ||
| 7246 | 20% { | ||
| 7247 | -webkit-transform: translateX(8px); | ||
| 7248 | } | ||
| 7249 | 30% { | ||
| 7250 | -webkit-transform: translateX(-7px); | ||
| 7251 | } | ||
| 7252 | 40% { | ||
| 7253 | -webkit-transform: translateX(6px); | ||
| 7254 | } | ||
| 7255 | 50% { | ||
| 7256 | -webkit-transform: translateX(-5px); | ||
| 7257 | } | ||
| 7258 | 60% { | ||
| 7259 | -webkit-transform: translateX(4px); | ||
| 7260 | } | ||
| 7261 | 70% { | ||
| 7262 | -webkit-transform: translateX(-3px); | ||
| 7263 | } | ||
| 7264 | 80% { | ||
| 7265 | -webkit-transform: translateX(2px); | ||
| 7266 | } | ||
| 7267 | 90% { | ||
| 7268 | -webkit-transform: translateX(-1px); | ||
| 7269 | } | ||
| 7270 | } | ||
| 7271 | @keyframes uk-shake { | ||
| 7272 | 0%, | ||
| 7273 | 100% { | ||
| 7274 | transform: translateX(0); | ||
| 7275 | } | ||
| 7276 | 10% { | ||
| 7277 | transform: translateX(-9px); | ||
| 7278 | } | ||
| 7279 | 20% { | ||
| 7280 | transform: translateX(8px); | ||
| 7281 | } | ||
| 7282 | 30% { | ||
| 7283 | transform: translateX(-7px); | ||
| 7284 | } | ||
| 7285 | 40% { | ||
| 7286 | transform: translateX(6px); | ||
| 7287 | } | ||
| 7288 | 50% { | ||
| 7289 | transform: translateX(-5px); | ||
| 7290 | } | ||
| 7291 | 60% { | ||
| 7292 | transform: translateX(4px); | ||
| 7293 | } | ||
| 7294 | 70% { | ||
| 7295 | transform: translateX(-3px); | ||
| 7296 | } | ||
| 7297 | 80% { | ||
| 7298 | transform: translateX(2px); | ||
| 7299 | } | ||
| 7300 | 90% { | ||
| 7301 | transform: translateX(-1px); | ||
| 7302 | } | ||
| 7303 | } | ||
| 7304 | /* Keyframes: Fade with slide fixed | ||
| 7305 | * Used by dropdown and search component | ||
| 7306 | ========================================================================== */ | ||
| 7307 | /* | ||
| 7308 | * Top fixed | ||
| 7309 | */ | ||
| 7310 | @-webkit-keyframes uk-slide-top-fixed { | ||
| 7311 | 0% { | ||
| 7312 | opacity: 0; | ||
| 7313 | -webkit-transform: translateY(-10px); | ||
| 7314 | } | ||
| 7315 | 100% { | ||
| 7316 | opacity: 1; | ||
| 7317 | -webkit-transform: translateY(0); | ||
| 7318 | } | ||
| 7319 | } | ||
| 7320 | @keyframes uk-slide-top-fixed { | ||
| 7321 | 0% { | ||
| 7322 | opacity: 0; | ||
| 7323 | transform: translateY(-10px); | ||
| 7324 | } | ||
| 7325 | 100% { | ||
| 7326 | opacity: 1; | ||
| 7327 | transform: translateY(0); | ||
| 7328 | } | ||
| 7329 | } | ||
| 7330 | /* | ||
| 7331 | * Bottom fixed | ||
| 7332 | */ | ||
| 7333 | @-webkit-keyframes uk-slide-bottom-fixed { | ||
| 7334 | 0% { | ||
| 7335 | opacity: 0; | ||
| 7336 | -webkit-transform: translateY(10px); | ||
| 7337 | } | ||
| 7338 | 100% { | ||
| 7339 | opacity: 1; | ||
| 7340 | -webkit-transform: translateY(0); | ||
| 7341 | } | ||
| 7342 | } | ||
| 7343 | @keyframes uk-slide-bottom-fixed { | ||
| 7344 | 0% { | ||
| 7345 | opacity: 0; | ||
| 7346 | transform: translateY(10px); | ||
| 7347 | } | ||
| 7348 | 100% { | ||
| 7349 | opacity: 1; | ||
| 7350 | transform: translateY(0); | ||
| 7351 | } | ||
| 7352 | } | ||
| 7353 | /* ======================================================================== | ||
| 7354 | Component: Dropdown | ||
| 7355 | ========================================================================== */ | ||
| 7356 | /* | ||
| 7357 | * 1. Hide by default | ||
| 7358 | * 2. Set position | ||
| 7359 | * 3. Box-sizing is needed for `uk-dropdown-justify` | ||
| 7360 | * 4. Set width | ||
| 7361 | */ | ||
| 7362 | .uk-dropdown, | ||
| 7363 | .uk-dropdown-blank { | ||
| 7364 | /* 1 */ | ||
| 7365 | display: none; | ||
| 7366 | /* 2 */ | ||
| 7367 | position: absolute; | ||
| 7368 | z-index: 1020; | ||
| 7369 | /* 3 */ | ||
| 7370 | box-sizing: border-box; | ||
| 7371 | /* 4 */ | ||
| 7372 | width: 200px; | ||
| 7373 | } | ||
| 7374 | /* | ||
| 7375 | * Dropdown style | ||
| 7376 | * 1. Reset button group whitespace hack | ||
| 7377 | */ | ||
| 7378 | .uk-dropdown { | ||
| 7379 | padding: 15px; | ||
| 7380 | background: #fff; | ||
| 7381 | color: #444; | ||
| 7382 | /* 1 */ | ||
| 7383 | font-size: 1rem; | ||
| 7384 | vertical-align: top; | ||
| 7385 | border: 1px solid #ddd; | ||
| 7386 | border-radius: 4px; | ||
| 7387 | } | ||
| 7388 | /* | ||
| 7389 | * 1. Show dropdown | ||
| 7390 | * 2. Set animation | ||
| 7391 | * 3. Needed for scale animation | ||
| 7392 | */ | ||
| 7393 | .uk-open > .uk-dropdown, | ||
| 7394 | .uk-open > .uk-dropdown-blank { | ||
| 7395 | /* 1 */ | ||
| 7396 | display: block; | ||
| 7397 | /* 2 */ | ||
| 7398 | -webkit-animation: uk-fade 0.2s ease-in-out; | ||
| 7399 | animation: uk-fade 0.2s ease-in-out; | ||
| 7400 | /* 3 */ | ||
| 7401 | -webkit-transform-origin: 0 0; | ||
| 7402 | transform-origin: 0 0; | ||
| 7403 | } | ||
| 7404 | /* Alignment modifiers | ||
| 7405 | ========================================================================== */ | ||
| 7406 | /* | ||
| 7407 | * Modifier | ||
| 7408 | */ | ||
| 7409 | .uk-dropdown-top { | ||
| 7410 | margin-top: -5px; | ||
| 7411 | } | ||
| 7412 | .uk-dropdown-bottom { | ||
| 7413 | margin-top: 5px; | ||
| 7414 | } | ||
| 7415 | .uk-dropdown-left { | ||
| 7416 | margin-left: -5px; | ||
| 7417 | } | ||
| 7418 | .uk-dropdown-right { | ||
| 7419 | margin-left: 5px; | ||
| 7420 | } | ||
| 7421 | /* Nav in dropdown | ||
| 7422 | ========================================================================== */ | ||
| 7423 | .uk-dropdown .uk-nav { | ||
| 7424 | margin: 0 -15px; | ||
| 7425 | } | ||
| 7426 | /* Grid and panel in dropdown | ||
| 7427 | ========================================================================== */ | ||
| 7428 | /* | ||
| 7429 | * Vertical gutter | ||
| 7430 | */ | ||
| 7431 | /* | ||
| 7432 | * Grid | ||
| 7433 | * Higher specificity to override large gutter | ||
| 7434 | */ | ||
| 7435 | .uk-grid .uk-dropdown-grid + .uk-dropdown-grid { | ||
| 7436 | margin-top: 15px; | ||
| 7437 | } | ||
| 7438 | /* Panels */ | ||
| 7439 | .uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { | ||
| 7440 | margin-top: 15px; | ||
| 7441 | } | ||
| 7442 | /* Tablet and bigger */ | ||
| 7443 | @media (min-width: 768px) { | ||
| 7444 | /* | ||
| 7445 | * Horizontal gutter | ||
| 7446 | */ | ||
| 7447 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { | ||
| 7448 | margin-left: -15px; | ||
| 7449 | margin-right: -15px; | ||
| 7450 | } | ||
| 7451 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7452 | padding-left: 15px; | ||
| 7453 | padding-right: 15px; | ||
| 7454 | } | ||
| 7455 | /* | ||
| 7456 | * Column divider | ||
| 7457 | */ | ||
| 7458 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7459 | border-left: 1px solid #ddd; | ||
| 7460 | } | ||
| 7461 | /* | ||
| 7462 | * Width multiplier for dropdown columns | ||
| 7463 | */ | ||
| 7464 | .uk-dropdown-width-2:not(.uk-dropdown-stack) { | ||
| 7465 | width: 400px; | ||
| 7466 | } | ||
| 7467 | .uk-dropdown-width-3:not(.uk-dropdown-stack) { | ||
| 7468 | width: 600px; | ||
| 7469 | } | ||
| 7470 | .uk-dropdown-width-4:not(.uk-dropdown-stack) { | ||
| 7471 | width: 800px; | ||
| 7472 | } | ||
| 7473 | .uk-dropdown-width-5:not(.uk-dropdown-stack) { | ||
| 7474 | width: 1000px; | ||
| 7475 | } | ||
| 7476 | } | ||
| 7477 | /* Phone landscape and smaller */ | ||
| 7478 | @media (max-width: 767px) { | ||
| 7479 | /* | ||
| 7480 | * Stack columns and take full width | ||
| 7481 | */ | ||
| 7482 | .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7483 | width: 100%; | ||
| 7484 | } | ||
| 7485 | /* | ||
| 7486 | * Vertical gutter | ||
| 7487 | */ | ||
| 7488 | .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7489 | margin-top: 15px; | ||
| 7490 | } | ||
| 7491 | } | ||
| 7492 | /* | ||
| 7493 | * Stack grid columns | ||
| 7494 | */ | ||
| 7495 | .uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7496 | width: 100%; | ||
| 7497 | } | ||
| 7498 | .uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7499 | margin-top: 15px; | ||
| 7500 | } | ||
| 7501 | /* Modifier `uk-dropdown-small` | ||
| 7502 | ========================================================================== */ | ||
| 7503 | /* | ||
| 7504 | * Set min-width and text expands dropdown if needed | ||
| 7505 | */ | ||
| 7506 | .uk-dropdown-small { | ||
| 7507 | min-width: 150px; | ||
| 7508 | width: auto; | ||
| 7509 | padding: 5px; | ||
| 7510 | white-space: nowrap; | ||
| 7511 | } | ||
| 7512 | /* | ||
| 7513 | * Nav in dropdown | ||
| 7514 | */ | ||
| 7515 | .uk-dropdown-small .uk-nav { | ||
| 7516 | margin: 0 -5px; | ||
| 7517 | } | ||
| 7518 | /* Modifier: `uk-dropdown-navbar` | ||
| 7519 | ========================================================================== */ | ||
| 7520 | .uk-dropdown-navbar { | ||
| 7521 | margin-top: 6px; | ||
| 7522 | background: #fff; | ||
| 7523 | color: #444; | ||
| 7524 | left: -1px; | ||
| 7525 | } | ||
| 7526 | .uk-open > .uk-dropdown-navbar { | ||
| 7527 | -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 7528 | animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 7529 | } | ||
| 7530 | /* Modifier `uk-dropdown-scrollable` | ||
| 7531 | ========================================================================== */ | ||
| 7532 | /* | ||
| 7533 | * Usefull for long lists | ||
| 7534 | */ | ||
| 7535 | .uk-dropdown-scrollable { | ||
| 7536 | overflow-y: auto; | ||
| 7537 | max-height: 200px; | ||
| 7538 | } | ||
| 7539 | /* Sub-object: `uk-dropdown-overlay` | ||
| 7540 | ========================================================================== */ | ||
| 7541 | .uk-dropdown-navbar.uk-dropdown-flip { | ||
| 7542 | left: auto; | ||
| 7543 | } | ||
| 7544 | /* ======================================================================== | ||
| 7545 | Component: Modal | ||
| 7546 | ========================================================================== */ | ||
| 7547 | /* | ||
| 7548 | * This is the modal overlay and modal dialog container | ||
| 7549 | * 1. Hide by default | ||
| 7550 | * 2. Set fixed position | ||
| 7551 | * 3. Allow scrolling for the modal dialog | ||
| 7552 | * 4. Mask the background page | ||
| 7553 | * 5. Fade-in transition | ||
| 7554 | * 6. Deactivate browser history navigation in IE11 | ||
| 7555 | * 7. force hardware acceleration to prevent browser rendering hiccups | ||
| 7556 | */ | ||
| 7557 | .uk-modal { | ||
| 7558 | /* 1 */ | ||
| 7559 | display: none; | ||
| 7560 | /* 2 */ | ||
| 7561 | position: fixed; | ||
| 7562 | top: 0; | ||
| 7563 | right: 0; | ||
| 7564 | bottom: 0; | ||
| 7565 | left: 0; | ||
| 7566 | z-index: 1010; | ||
| 7567 | /* 3 */ | ||
| 7568 | overflow-y: auto; | ||
| 7569 | -webkit-overflow-scrolling: touch; | ||
| 7570 | /* 4 */ | ||
| 7571 | background: rgba(0, 0, 0, 0.6); | ||
| 7572 | /* 5 */ | ||
| 7573 | opacity: 0; | ||
| 7574 | -webkit-transition: opacity 0.15s linear; | ||
| 7575 | transition: opacity 0.15s linear; | ||
| 7576 | /* 6 */ | ||
| 7577 | touch-action: cross-slide-y pinch-zoom double-tap-zoom; | ||
| 7578 | /* 7 */ | ||
| 7579 | -webkit-transform: translateZ(0); | ||
| 7580 | transform: translateZ(0); | ||
| 7581 | } | ||
| 7582 | /* | ||
| 7583 | * Open state | ||
| 7584 | */ | ||
| 7585 | .uk-modal.uk-open { | ||
| 7586 | opacity: 1; | ||
| 7587 | } | ||
| 7588 | /* | ||
| 7589 | * Prevents duplicated scrollbar caused by 4. | ||
| 7590 | */ | ||
| 7591 | .uk-modal-page, | ||
| 7592 | .uk-modal-page body { | ||
| 7593 | overflow: hidden; | ||
| 7594 | } | ||
| 7595 | /* Sub-object: `uk-modal-dialog` | ||
| 7596 | ========================================================================== */ | ||
| 7597 | /* | ||
| 7598 | * 1. Create position context for caption, spinner and close button | ||
| 7599 | * 2. Set box sizing | ||
| 7600 | * 3. Set style | ||
| 7601 | * 4. Slide-in transition | ||
| 7602 | */ | ||
| 7603 | .uk-modal-dialog { | ||
| 7604 | /* 1 */ | ||
| 7605 | position: relative; | ||
| 7606 | /* 2 */ | ||
| 7607 | box-sizing: border-box; | ||
| 7608 | margin: 50px auto; | ||
| 7609 | padding: 20px; | ||
| 7610 | width: 600px; | ||
| 7611 | max-width: 100%; | ||
| 7612 | max-width: calc(100% - 20px); | ||
| 7613 | /* 3 */ | ||
| 7614 | background: #fff; | ||
| 7615 | /* 4 */ | ||
| 7616 | opacity: 0; | ||
| 7617 | -webkit-transform: translateY(-100px); | ||
| 7618 | transform: translateY(-100px); | ||
| 7619 | -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; | ||
| 7620 | transition: opacity 0.3s linear, transform 0.3s ease-out; | ||
| 7621 | border-radius: 4px; | ||
| 7622 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); | ||
| 7623 | } | ||
| 7624 | /* Phone landscape and smaller */ | ||
| 7625 | @media (max-width: 767px) { | ||
| 7626 | /* | ||
| 7627 | * Fit in small screen | ||
| 7628 | */ | ||
| 7629 | .uk-modal-dialog { | ||
| 7630 | width: auto; | ||
| 7631 | margin: 10px auto; | ||
| 7632 | } | ||
| 7633 | } | ||
| 7634 | /* | ||
| 7635 | * Open state | ||
| 7636 | */ | ||
| 7637 | .uk-open .uk-modal-dialog { | ||
| 7638 | /* 4 */ | ||
| 7639 | opacity: 1; | ||
| 7640 | -webkit-transform: translateY(0); | ||
| 7641 | transform: translateY(0); | ||
| 7642 | } | ||
| 7643 | /* | ||
| 7644 | * Remove margin from the last-child | ||
| 7645 | */ | ||
| 7646 | .uk-modal-dialog > :not([class*='uk-modal-']):last-child { | ||
| 7647 | margin-bottom: 0; | ||
| 7648 | } | ||
| 7649 | /* Close in modal | ||
| 7650 | ========================================================================== */ | ||
| 7651 | .uk-modal-dialog > .uk-close:first-child { | ||
| 7652 | margin: -10px -10px 0 0; | ||
| 7653 | float: right; | ||
| 7654 | } | ||
| 7655 | /* | ||
| 7656 | * Remove margin from adjacent element | ||
| 7657 | */ | ||
| 7658 | .uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { | ||
| 7659 | margin-top: 0; | ||
| 7660 | } | ||
| 7661 | /* Modifier: `uk-modal-dialog-lightbox` | ||
| 7662 | ========================================================================== */ | ||
| 7663 | .uk-modal-dialog-lightbox { | ||
| 7664 | margin: 15px auto; | ||
| 7665 | padding: 0; | ||
| 7666 | max-width: 95%; | ||
| 7667 | max-width: calc(100% - 30px); | ||
| 7668 | min-height: 50px; | ||
| 7669 | border-radius: 0; | ||
| 7670 | } | ||
| 7671 | /* | ||
| 7672 | * Close button | ||
| 7673 | */ | ||
| 7674 | .uk-modal-dialog-lightbox > .uk-close:first-child { | ||
| 7675 | position: absolute; | ||
| 7676 | top: -12px; | ||
| 7677 | right: -12px; | ||
| 7678 | margin: 0; | ||
| 7679 | float: none; | ||
| 7680 | } | ||
| 7681 | /* Phone landscape and smaller */ | ||
| 7682 | @media (max-width: 767px) { | ||
| 7683 | .uk-modal-dialog-lightbox > .uk-close:first-child { | ||
| 7684 | top: -7px; | ||
| 7685 | right: -7px; | ||
| 7686 | } | ||
| 7687 | } | ||
| 7688 | /* Modifier: `uk-modal-dialog-blank` | ||
| 7689 | ========================================================================== */ | ||
| 7690 | .uk-modal-dialog-blank { | ||
| 7691 | margin: 0; | ||
| 7692 | padding: 0; | ||
| 7693 | width: 100%; | ||
| 7694 | max-width: 100%; | ||
| 7695 | -webkit-transition: opacity 0.3s linear; | ||
| 7696 | transition: opacity 0.3s linear; | ||
| 7697 | } | ||
| 7698 | /* | ||
| 7699 | * Close button | ||
| 7700 | */ | ||
| 7701 | .uk-modal-dialog-blank > .uk-close:first-child { | ||
| 7702 | position: absolute; | ||
| 7703 | top: 20px; | ||
| 7704 | right: 20px; | ||
| 7705 | z-index: 1; | ||
| 7706 | margin: 0; | ||
| 7707 | float: none; | ||
| 7708 | } | ||
| 7709 | /* Modifier: `uk-modal-dialog-large` | ||
| 7710 | ========================================================================== */ | ||
| 7711 | /* Tablet and bigger */ | ||
| 7712 | @media (min-width: 768px) { | ||
| 7713 | .uk-modal-dialog-large { | ||
| 7714 | width: 930px; | ||
| 7715 | } | ||
| 7716 | } | ||
| 7717 | /* Large screen and bigger */ | ||
| 7718 | @media (min-width: 1220px) { | ||
| 7719 | .uk-modal-dialog-large { | ||
| 7720 | width: 1130px; | ||
| 7721 | } | ||
| 7722 | } | ||
| 7723 | /* Sub-Object: `uk-modal-header` and `uk-modal-footer` | ||
| 7724 | ========================================================================== */ | ||
| 7725 | .uk-modal-header { | ||
| 7726 | margin-bottom: 15px; | ||
| 7727 | margin: -20px -20px 15px -20px; | ||
| 7728 | padding: 20px; | ||
| 7729 | border-bottom: 1px solid #ddd; | ||
| 7730 | border-radius: 4px 4px 0 0; | ||
| 7731 | background: #fafafa; | ||
| 7732 | } | ||
| 7733 | .uk-modal-footer { | ||
| 7734 | margin-top: 15px; | ||
| 7735 | margin: 15px -20px -20px -20px; | ||
| 7736 | padding: 20px; | ||
| 7737 | border-top: 1px solid #ddd; | ||
| 7738 | border-radius: 0 0 4px 4px; | ||
| 7739 | background: #fafafa; | ||
| 7740 | } | ||
| 7741 | /* | ||
| 7742 | * Remove margin from the last-child | ||
| 7743 | */ | ||
| 7744 | .uk-modal-header > :last-child, | ||
| 7745 | .uk-modal-footer > :last-child { | ||
| 7746 | margin-bottom: 0; | ||
| 7747 | } | ||
| 7748 | /* Sub-Object: `uk-modal-caption` | ||
| 7749 | ========================================================================== */ | ||
| 7750 | .uk-modal-caption { | ||
| 7751 | position: absolute; | ||
| 7752 | left: 0; | ||
| 7753 | right: 0; | ||
| 7754 | bottom: -20px; | ||
| 7755 | margin-bottom: -10px; | ||
| 7756 | color: #fff; | ||
| 7757 | text-align: center; | ||
| 7758 | overflow: hidden; | ||
| 7759 | text-overflow: ellipsis; | ||
| 7760 | white-space: nowrap; | ||
| 7761 | } | ||
| 7762 | /* Sub-Object: `uk-modal-spinner` | ||
| 7763 | ========================================================================== */ | ||
| 7764 | .uk-modal-spinner { | ||
| 7765 | position: absolute; | ||
| 7766 | top: 50%; | ||
| 7767 | left: 50%; | ||
| 7768 | -webkit-transform: translate(-50%, -50%); | ||
| 7769 | transform: translate(-50%, -50%); | ||
| 7770 | font-size: 25px; | ||
| 7771 | color: #ddd; | ||
| 7772 | } | ||
| 7773 | .uk-modal-spinner:after { | ||
| 7774 | content: "\f110"; | ||
| 7775 | display: block; | ||
| 7776 | font-family: FontAwesome; | ||
| 7777 | -webkit-animation: uk-rotate 2s infinite linear; | ||
| 7778 | animation: uk-rotate 2s infinite linear; | ||
| 7779 | } | ||
| 7780 | /* ======================================================================== | ||
| 7781 | Component: Off-canvas | ||
| 7782 | ========================================================================== */ | ||
| 7783 | /* | ||
| 7784 | * This is the offcanvas overlay and bar container | ||
| 7785 | * 1. Hide by default | ||
| 7786 | * 2. Set fixed position | ||
| 7787 | * 3. Deactivate browser touch actions in IE11 | ||
| 7788 | * 4. Mask the background page | ||
| 7789 | */ | ||
| 7790 | .uk-offcanvas { | ||
| 7791 | /* 1 */ | ||
| 7792 | display: none; | ||
| 7793 | /* 2 */ | ||
| 7794 | position: fixed; | ||
| 7795 | top: 0; | ||
| 7796 | right: 0; | ||
| 7797 | bottom: 0; | ||
| 7798 | left: 0; | ||
| 7799 | z-index: 1000; | ||
| 7800 | /* 3 */ | ||
| 7801 | touch-action: none; | ||
| 7802 | /* 4 */ | ||
| 7803 | background: rgba(0, 0, 0, 0.1); | ||
| 7804 | } | ||
| 7805 | .uk-offcanvas.uk-active { | ||
| 7806 | display: block; | ||
| 7807 | } | ||
| 7808 | /* Sub-object `uk-offcanvas-page` | ||
| 7809 | ========================================================================== */ | ||
| 7810 | /* | ||
| 7811 | * Prepares the whole HTML page to slide-out | ||
| 7812 | * 1. Fix the main page and disallow scrolling | ||
| 7813 | * 2. Side-out transition | ||
| 7814 | */ | ||
| 7815 | .uk-offcanvas-page { | ||
| 7816 | /* 1 */ | ||
| 7817 | position: fixed; | ||
| 7818 | /* 2 */ | ||
| 7819 | -webkit-transition: margin-left 0.3s ease-in-out; | ||
| 7820 | transition: margin-left 0.3s ease-in-out; | ||
| 7821 | } | ||
| 7822 | /* Sub-object `uk-offcanvas-bar` | ||
| 7823 | ========================================================================== */ | ||
| 7824 | /* | ||
| 7825 | * This is the offcanvas bar | ||
| 7826 | * 1. Set fixed position | ||
| 7827 | * 2. Size and style | ||
| 7828 | * 3. Allow scrolling | ||
| 7829 | * 4. Side-out transition | ||
| 7830 | * 5. Deactivate scroll chaining in IE11 | ||
| 7831 | */ | ||
| 7832 | .uk-offcanvas-bar { | ||
| 7833 | /* 1 */ | ||
| 7834 | position: fixed; | ||
| 7835 | top: 0; | ||
| 7836 | bottom: 0; | ||
| 7837 | left: 0; | ||
| 7838 | -webkit-transform: translateX(-100%); | ||
| 7839 | transform: translateX(-100%); | ||
| 7840 | z-index: 1001; | ||
| 7841 | /* 2 */ | ||
| 7842 | width: 270px; | ||
| 7843 | max-width: 100%; | ||
| 7844 | background: #333; | ||
| 7845 | /* 3 */ | ||
| 7846 | overflow-y: auto; | ||
| 7847 | -webkit-overflow-scrolling: touch; | ||
| 7848 | /* 4 */ | ||
| 7849 | -webkit-transition: -webkit-transform 0.3s ease-in-out; | ||
| 7850 | transition: transform 0.3s ease-in-out; | ||
| 7851 | /* 5 */ | ||
| 7852 | -ms-scroll-chaining: none; | ||
| 7853 | } | ||
| 7854 | .uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { | ||
| 7855 | -webkit-transform: translateX(0%); | ||
| 7856 | transform: translateX(0%); | ||
| 7857 | } | ||
| 7858 | /* Modifier `uk-offcanvas-bar-flip` | ||
| 7859 | ========================================================================== */ | ||
| 7860 | .uk-offcanvas-bar-flip { | ||
| 7861 | left: auto; | ||
| 7862 | right: 0; | ||
| 7863 | -webkit-transform: translateX(100%); | ||
| 7864 | transform: translateX(100%); | ||
| 7865 | } | ||
| 7866 | /* Panel in offcanvas | ||
| 7867 | ========================================================================== */ | ||
| 7868 | .uk-offcanvas .uk-panel { | ||
| 7869 | margin: 20px 15px; | ||
| 7870 | color: #777; | ||
| 7871 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 7872 | } | ||
| 7873 | .uk-offcanvas .uk-panel-title { | ||
| 7874 | color: #ccc; | ||
| 7875 | } | ||
| 7876 | .uk-offcanvas .uk-panel a:not([class]) { | ||
| 7877 | color: #ccc; | ||
| 7878 | } | ||
| 7879 | .uk-offcanvas .uk-panel a:not([class]):hover { | ||
| 7880 | color: #fff; | ||
| 7881 | } | ||
| 7882 | .uk-offcanvas-bar:after { | ||
| 7883 | content: ""; | ||
| 7884 | display: block; | ||
| 7885 | position: absolute; | ||
| 7886 | top: 0; | ||
| 7887 | bottom: 0; | ||
| 7888 | right: 0; | ||
| 7889 | width: 1px; | ||
| 7890 | background: rgba(0, 0, 0, 0.6); | ||
| 7891 | box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); | ||
| 7892 | } | ||
| 7893 | .uk-offcanvas-bar-flip:after { | ||
| 7894 | right: auto; | ||
| 7895 | left: 0; | ||
| 7896 | width: 1px; | ||
| 7897 | background: rgba(0, 0, 0, 0.6); | ||
| 7898 | box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); | ||
| 7899 | } | ||
| 7900 | /* ======================================================================== | ||
| 7901 | Component: Switcher | ||
| 7902 | ========================================================================== */ | ||
| 7903 | /* | ||
| 7904 | * 1. Deactivate browser history navigation in IE11 | ||
| 7905 | */ | ||
| 7906 | .uk-switcher { | ||
| 7907 | margin: 0; | ||
| 7908 | padding: 0; | ||
| 7909 | list-style: none; | ||
| 7910 | /* 1 */ | ||
| 7911 | touch-action: cross-slide-y pinch-zoom double-tap-zoom; | ||
| 7912 | } | ||
| 7913 | /* | ||
| 7914 | * Items | ||
| 7915 | */ | ||
| 7916 | .uk-switcher > :not(.uk-active) { | ||
| 7917 | display: none; | ||
| 7918 | } | ||
| 7919 | /* ======================================================================== | ||
| 7920 | Component: Text | ||
| 7921 | ========================================================================== */ | ||
| 7922 | /* Size modifiers | ||
| 7923 | ========================================================================== */ | ||
| 7924 | .uk-text-small { | ||
| 7925 | font-size: 11px; | ||
| 7926 | line-height: 16px; | ||
| 7927 | } | ||
| 7928 | .uk-text-large { | ||
| 7929 | font-size: 18px; | ||
| 7930 | line-height: 24px; | ||
| 7931 | font-weight: normal; | ||
| 7932 | } | ||
| 7933 | /* Weight modifiers | ||
| 7934 | ========================================================================== */ | ||
| 7935 | .uk-text-bold { | ||
| 7936 | font-weight: bold; | ||
| 7937 | } | ||
| 7938 | /* Color modifiers | ||
| 7939 | ========================================================================== */ | ||
| 7940 | .uk-text-muted { | ||
| 7941 | color: #999 !important; | ||
| 7942 | } | ||
| 7943 | .uk-text-primary { | ||
| 7944 | color: #2d7091 !important; | ||
| 7945 | } | ||
| 7946 | .uk-text-success { | ||
| 7947 | color: #659f13 !important; | ||
| 7948 | } | ||
| 7949 | .uk-text-warning { | ||
| 7950 | color: #e28327 !important; | ||
| 7951 | } | ||
| 7952 | .uk-text-danger { | ||
| 7953 | color: #d85030 !important; | ||
| 7954 | } | ||
| 7955 | .uk-text-contrast { | ||
| 7956 | color: #fff !important; | ||
| 7957 | } | ||
| 7958 | /* Alignment modifiers | ||
| 7959 | ========================================================================== */ | ||
| 7960 | .uk-text-left { | ||
| 7961 | text-align: left !important; | ||
| 7962 | } | ||
| 7963 | .uk-text-right { | ||
| 7964 | text-align: right !important; | ||
| 7965 | } | ||
| 7966 | .uk-text-center { | ||
| 7967 | text-align: center !important; | ||
| 7968 | } | ||
| 7969 | .uk-text-justify { | ||
| 7970 | text-align: justify !important; | ||
| 7971 | } | ||
| 7972 | .uk-text-top { | ||
| 7973 | vertical-align: top !important; | ||
| 7974 | } | ||
| 7975 | .uk-text-middle { | ||
| 7976 | vertical-align: middle !important; | ||
| 7977 | } | ||
| 7978 | .uk-text-bottom { | ||
| 7979 | vertical-align: bottom !important; | ||
| 7980 | } | ||
| 7981 | /* Only tablets portrait and smaller */ | ||
| 7982 | @media (max-width: 959px) { | ||
| 7983 | .uk-text-center-medium { | ||
| 7984 | text-align: center !important; | ||
| 7985 | } | ||
| 7986 | .uk-text-left-medium { | ||
| 7987 | text-align: left !important; | ||
| 7988 | } | ||
| 7989 | } | ||
| 7990 | /* Phone landscape and smaller */ | ||
| 7991 | @media (max-width: 767px) { | ||
| 7992 | .uk-text-center-small { | ||
| 7993 | text-align: center !important; | ||
| 7994 | } | ||
| 7995 | .uk-text-left-small { | ||
| 7996 | text-align: left !important; | ||
| 7997 | } | ||
| 7998 | } | ||
| 7999 | /* Wrap modifiers | ||
| 8000 | ========================================================================== */ | ||
| 8001 | /* | ||
| 8002 | * Prevent text from wrapping onto multiple lines | ||
| 8003 | */ | ||
| 8004 | .uk-text-nowrap { | ||
| 8005 | white-space: nowrap; | ||
| 8006 | } | ||
| 8007 | /* | ||
| 8008 | * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis | ||
| 8009 | */ | ||
| 8010 | .uk-text-truncate { | ||
| 8011 | overflow: hidden; | ||
| 8012 | text-overflow: ellipsis; | ||
| 8013 | white-space: nowrap; | ||
| 8014 | } | ||
| 8015 | /* | ||
| 8016 | * Break strings if their length exceeds the width of their container | ||
| 8017 | */ | ||
| 8018 | .uk-text-break { | ||
| 8019 | word-wrap: break-word; | ||
| 8020 | -webkit-hyphens: auto; | ||
| 8021 | -ms-hyphens: auto; | ||
| 8022 | -moz-hyphens: auto; | ||
| 8023 | hyphens: auto; | ||
| 8024 | } | ||
| 8025 | /* ======================================================================== | ||
| 8026 | Component: Utility | ||
| 8027 | ========================================================================== */ | ||
| 8028 | /* Container | ||
| 8029 | ========================================================================== */ | ||
| 8030 | .uk-container { | ||
| 8031 | box-sizing: border-box; | ||
| 8032 | max-width: 980px; | ||
| 8033 | padding: 0 25px; | ||
| 8034 | } | ||
| 8035 | /* Large screen and bigger */ | ||
| 8036 | @media (min-width: 1220px) { | ||
| 8037 | .uk-container { | ||
| 8038 | max-width: 1200px; | ||
| 8039 | padding: 0 35px; | ||
| 8040 | } | ||
| 8041 | } | ||
| 8042 | /* | ||
| 8043 | * Micro clearfix | ||
| 8044 | */ | ||
| 8045 | .uk-container:before, | ||
| 8046 | .uk-container:after { | ||
| 8047 | content: ""; | ||
| 8048 | display: table; | ||
| 8049 | } | ||
| 8050 | .uk-container:after { | ||
| 8051 | clear: both; | ||
| 8052 | } | ||
| 8053 | /* | ||
| 8054 | * Center container | ||
| 8055 | */ | ||
| 8056 | .uk-container-center { | ||
| 8057 | margin-left: auto; | ||
| 8058 | margin-right: auto; | ||
| 8059 | } | ||
| 8060 | /* Clearing | ||
| 8061 | ========================================================================== */ | ||
| 8062 | /* | ||
| 8063 | * Micro clearfix | ||
| 8064 | * `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit | ||
| 8065 | * `table` is used again with `:after` because `clear` only works with block elements. | ||
| 8066 | * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari | ||
| 8067 | */ | ||
| 8068 | .uk-clearfix:before { | ||
| 8069 | content: ""; | ||
| 8070 | display: table-cell; | ||
| 8071 | } | ||
| 8072 | .uk-clearfix:after { | ||
| 8073 | content: ""; | ||
| 8074 | display: table; | ||
| 8075 | clear: both; | ||
| 8076 | } | ||
| 8077 | /* | ||
| 8078 | * Create a new block formatting context | ||
| 8079 | */ | ||
| 8080 | .uk-nbfc { | ||
| 8081 | overflow: hidden; | ||
| 8082 | } | ||
| 8083 | .uk-nbfc-alt { | ||
| 8084 | display: table-cell; | ||
| 8085 | width: 10000px; | ||
| 8086 | } | ||
| 8087 | /* Alignment of block elements | ||
| 8088 | ========================================================================== */ | ||
| 8089 | /* | ||
| 8090 | * Float blocks | ||
| 8091 | * 1. Prevent content overflow on small devices | ||
| 8092 | */ | ||
| 8093 | .uk-float-left { | ||
| 8094 | float: left; | ||
| 8095 | } | ||
| 8096 | .uk-float-right { | ||
| 8097 | float: right; | ||
| 8098 | } | ||
| 8099 | /* 1 */ | ||
| 8100 | [class*='uk-float-'] { | ||
| 8101 | max-width: 100%; | ||
| 8102 | } | ||
| 8103 | /* Alignment of images and objects | ||
| 8104 | ========================================================================== */ | ||
| 8105 | /* | ||
| 8106 | * Alignment | ||
| 8107 | */ | ||
| 8108 | [class*='uk-align-'] { | ||
| 8109 | display: block; | ||
| 8110 | margin-bottom: 15px; | ||
| 8111 | } | ||
| 8112 | .uk-align-left { | ||
| 8113 | margin-right: 15px; | ||
| 8114 | float: left; | ||
| 8115 | } | ||
| 8116 | .uk-align-right { | ||
| 8117 | margin-left: 15px; | ||
| 8118 | float: right; | ||
| 8119 | } | ||
| 8120 | /* Tablet and bigger */ | ||
| 8121 | @media (min-width: 768px) { | ||
| 8122 | .uk-align-medium-left { | ||
| 8123 | margin-right: 15px; | ||
| 8124 | float: left; | ||
| 8125 | } | ||
| 8126 | .uk-align-medium-right { | ||
| 8127 | margin-left: 15px; | ||
| 8128 | float: right; | ||
| 8129 | } | ||
| 8130 | } | ||
| 8131 | .uk-align-center { | ||
| 8132 | margin-left: auto; | ||
| 8133 | margin-right: auto; | ||
| 8134 | } | ||
| 8135 | /* Vertical alignment | ||
| 8136 | ========================================================================== */ | ||
| 8137 | /* | ||
| 8138 | * Remove whitespace between child elements when using `inline-block` | ||
| 8139 | */ | ||
| 8140 | .uk-vertical-align { | ||
| 8141 | font-size: 0.001px; | ||
| 8142 | } | ||
| 8143 | /* | ||
| 8144 | * The `uk-vertical-align` container needs a specific height | ||
| 8145 | */ | ||
| 8146 | .uk-vertical-align:before { | ||
| 8147 | content: ''; | ||
| 8148 | display: inline-block; | ||
| 8149 | height: 100%; | ||
| 8150 | vertical-align: middle; | ||
| 8151 | } | ||
| 8152 | /* | ||
| 8153 | * Sub-object which can have any height | ||
| 8154 | * 1. Reset whitespace hack | ||
| 8155 | */ | ||
| 8156 | .uk-vertical-align-middle, | ||
| 8157 | .uk-vertical-align-bottom { | ||
| 8158 | display: inline-block; | ||
| 8159 | max-width: 100%; | ||
| 8160 | /* 1 */ | ||
| 8161 | font-size: 1rem; | ||
| 8162 | } | ||
| 8163 | .uk-vertical-align-middle { | ||
| 8164 | vertical-align: middle; | ||
| 8165 | } | ||
| 8166 | .uk-vertical-align-bottom { | ||
| 8167 | vertical-align: bottom; | ||
| 8168 | } | ||
| 8169 | /* Height | ||
| 8170 | ========================================================================== */ | ||
| 8171 | /* | ||
| 8172 | * More robust if padding and border are used | ||
| 8173 | */ | ||
| 8174 | [class*='uk-height'] { | ||
| 8175 | box-sizing: border-box; | ||
| 8176 | } | ||
| 8177 | /* | ||
| 8178 | * Useful to extend the `html` and `body` element to the full height of the page. | ||
| 8179 | */ | ||
| 8180 | .uk-height-1-1 { | ||
| 8181 | height: 100%; | ||
| 8182 | } | ||
| 8183 | /* | ||
| 8184 | * Useful to create image teasers | ||
| 8185 | */ | ||
| 8186 | .uk-height-viewport { | ||
| 8187 | height: 100vh; | ||
| 8188 | min-height: 600px; | ||
| 8189 | } | ||
| 8190 | /* Responsive objects | ||
| 8191 | * Note: Images are already responsive by default, see Base component | ||
| 8192 | ========================================================================== */ | ||
| 8193 | /* | ||
| 8194 | * 1. Corrects `max-width` and `max-height` behavior if padding and border are used | ||
| 8195 | */ | ||
| 8196 | .uk-responsive-width, | ||
| 8197 | .uk-responsive-height { | ||
| 8198 | box-sizing: border-box; | ||
| 8199 | } | ||
| 8200 | /* | ||
| 8201 | * Responsiveness: Sets a maximum width relative to the parent and auto scales the height | ||
| 8202 | * `important` needed to override `uk-img-preserve img` | ||
| 8203 | */ | ||
| 8204 | .uk-responsive-width { | ||
| 8205 | max-width: 100% !important; | ||
| 8206 | height: auto; | ||
| 8207 | } | ||
| 8208 | /* | ||
| 8209 | * Responsiveness: Sets a maximum height relative to the parent and auto scales the width | ||
| 8210 | * Only works if the parent element has a fixed height. | ||
| 8211 | */ | ||
| 8212 | .uk-responsive-height { | ||
| 8213 | max-height: 100%; | ||
| 8214 | width: auto; | ||
| 8215 | } | ||
| 8216 | /* Margin | ||
| 8217 | ========================================================================== */ | ||
| 8218 | /* | ||
| 8219 | * Create a block with the same margin of a paragraph | ||
| 8220 | * Add margin if adjacent element | ||
| 8221 | */ | ||
| 8222 | .uk-margin { | ||
| 8223 | margin-bottom: 15px; | ||
| 8224 | } | ||
| 8225 | * + .uk-margin { | ||
| 8226 | margin-top: 15px; | ||
| 8227 | } | ||
| 8228 | .uk-margin-top { | ||
| 8229 | margin-top: 15px !important; | ||
| 8230 | } | ||
| 8231 | .uk-margin-bottom { | ||
| 8232 | margin-bottom: 15px !important; | ||
| 8233 | } | ||
| 8234 | .uk-margin-left { | ||
| 8235 | margin-left: 15px !important; | ||
| 8236 | } | ||
| 8237 | .uk-margin-right { | ||
| 8238 | margin-right: 15px !important; | ||
| 8239 | } | ||
| 8240 | /* | ||
| 8241 | * Larger margins | ||
| 8242 | */ | ||
| 8243 | .uk-margin-large { | ||
| 8244 | margin-bottom: 50px; | ||
| 8245 | } | ||
| 8246 | * + .uk-margin-large { | ||
| 8247 | margin-top: 50px; | ||
| 8248 | } | ||
| 8249 | .uk-margin-large-top { | ||
| 8250 | margin-top: 50px !important; | ||
| 8251 | } | ||
| 8252 | .uk-margin-large-bottom { | ||
| 8253 | margin-bottom: 50px !important; | ||
| 8254 | } | ||
| 8255 | .uk-margin-large-left { | ||
| 8256 | margin-left: 50px !important; | ||
| 8257 | } | ||
| 8258 | .uk-margin-large-right { | ||
| 8259 | margin-right: 50px !important; | ||
| 8260 | } | ||
| 8261 | /* | ||
| 8262 | * Smaller margins | ||
| 8263 | */ | ||
| 8264 | .uk-margin-small { | ||
| 8265 | margin-bottom: 5px; | ||
| 8266 | } | ||
| 8267 | * + .uk-margin-small { | ||
| 8268 | margin-top: 5px; | ||
| 8269 | } | ||
| 8270 | .uk-margin-small-top { | ||
| 8271 | margin-top: 5px !important; | ||
| 8272 | } | ||
| 8273 | .uk-margin-small-bottom { | ||
| 8274 | margin-bottom: 5px !important; | ||
| 8275 | } | ||
| 8276 | .uk-margin-small-left { | ||
| 8277 | margin-left: 5px !important; | ||
| 8278 | } | ||
| 8279 | .uk-margin-small-right { | ||
| 8280 | margin-right: 5px !important; | ||
| 8281 | } | ||
| 8282 | /* | ||
| 8283 | * Remove margins | ||
| 8284 | */ | ||
| 8285 | .uk-margin-remove { | ||
| 8286 | margin: 0 !important; | ||
| 8287 | } | ||
| 8288 | .uk-margin-top-remove { | ||
| 8289 | margin-top: 0 !important; | ||
| 8290 | } | ||
| 8291 | .uk-margin-bottom-remove { | ||
| 8292 | margin-bottom: 0 !important; | ||
| 8293 | } | ||
| 8294 | /* Padding | ||
| 8295 | ========================================================================== */ | ||
| 8296 | .uk-padding-remove { | ||
| 8297 | padding: 0 !important; | ||
| 8298 | } | ||
| 8299 | .uk-padding-top-remove { | ||
| 8300 | padding-top: 0 !important; | ||
| 8301 | } | ||
| 8302 | .uk-padding-bottom-remove { | ||
| 8303 | padding-bottom: 0 !important; | ||
| 8304 | } | ||
| 8305 | .uk-padding-vertical-remove { | ||
| 8306 | padding-top: 0 !important; | ||
| 8307 | padding-bottom: 0 !important; | ||
| 8308 | } | ||
| 8309 | /* Border | ||
| 8310 | ========================================================================== */ | ||
| 8311 | .uk-border-circle { | ||
| 8312 | border-radius: 50%; | ||
| 8313 | } | ||
| 8314 | .uk-border-rounded { | ||
| 8315 | border-radius: 5px; | ||
| 8316 | } | ||
| 8317 | /* Headings | ||
| 8318 | ========================================================================== */ | ||
| 8319 | .uk-heading-large { | ||
| 8320 | font-size: 36px; | ||
| 8321 | line-height: 42px; | ||
| 8322 | } | ||
| 8323 | /* Tablet and bigger */ | ||
| 8324 | @media (min-width: 768px) { | ||
| 8325 | .uk-heading-large { | ||
| 8326 | font-size: 52px; | ||
| 8327 | line-height: 64px; | ||
| 8328 | } | ||
| 8329 | } | ||
| 8330 | /* Link | ||
| 8331 | ========================================================================== */ | ||
| 8332 | /* | ||
| 8333 | * Let links appear in default text color | ||
| 8334 | */ | ||
| 8335 | .uk-link-muted, | ||
| 8336 | .uk-link-muted a { | ||
| 8337 | color: #444; | ||
| 8338 | } | ||
| 8339 | .uk-link-muted:hover, | ||
| 8340 | .uk-link-muted a:hover { | ||
| 8341 | color: #444; | ||
| 8342 | } | ||
| 8343 | /* | ||
| 8344 | * Reset link style | ||
| 8345 | */ | ||
| 8346 | .uk-link-reset, | ||
| 8347 | .uk-link-reset a, | ||
| 8348 | .uk-link-reset:hover, | ||
| 8349 | .uk-link-reset a:hover, | ||
| 8350 | .uk-link-reset:focus, | ||
| 8351 | .uk-link-reset a:focus { | ||
| 8352 | color: inherit; | ||
| 8353 | text-decoration: none; | ||
| 8354 | } | ||
| 8355 | /* Scrollable | ||
| 8356 | ========================================================================== */ | ||
| 8357 | /* | ||
| 8358 | * Enable scrolling for preformatted text | ||
| 8359 | */ | ||
| 8360 | .uk-scrollable-text { | ||
| 8361 | height: 300px; | ||
| 8362 | overflow-y: scroll; | ||
| 8363 | -webkit-overflow-scrolling: touch; | ||
| 8364 | resize: both; | ||
| 8365 | } | ||
| 8366 | /* | ||
| 8367 | * Box with scrolling enabled | ||
| 8368 | */ | ||
| 8369 | .uk-scrollable-box { | ||
| 8370 | box-sizing: border-box; | ||
| 8371 | height: 170px; | ||
| 8372 | padding: 10px; | ||
| 8373 | border: 1px solid #ddd; | ||
| 8374 | overflow: auto; | ||
| 8375 | -webkit-overflow-scrolling: touch; | ||
| 8376 | resize: both; | ||
| 8377 | border-radius: 3px; | ||
| 8378 | } | ||
| 8379 | .uk-scrollable-box > :last-child { | ||
| 8380 | margin-bottom: 0; | ||
| 8381 | } | ||
| 8382 | /* Overflow | ||
| 8383 | ========================================================================== */ | ||
| 8384 | .uk-overflow-hidden { | ||
| 8385 | overflow: hidden; | ||
| 8386 | } | ||
| 8387 | /* | ||
| 8388 | * Enable scrollbars if content is clipped | ||
| 8389 | */ | ||
| 8390 | .uk-overflow-container { | ||
| 8391 | overflow: auto; | ||
| 8392 | -webkit-overflow-scrolling: touch; | ||
| 8393 | } | ||
| 8394 | .uk-overflow-container > :last-child { | ||
| 8395 | margin-bottom: 0; | ||
| 8396 | } | ||
| 8397 | /* Position | ||
| 8398 | ========================================================================== */ | ||
| 8399 | .uk-position-absolute, | ||
| 8400 | [class*='uk-position-top'], | ||
| 8401 | [class*='uk-position-bottom'] { | ||
| 8402 | position: absolute !important; | ||
| 8403 | } | ||
| 8404 | /* Don't use `width: 100%` because it is wrong if the parent has padding. */ | ||
| 8405 | .uk-position-top { | ||
| 8406 | top: 0; | ||
| 8407 | left: 0; | ||
| 8408 | right: 0; | ||
| 8409 | } | ||
| 8410 | .uk-position-bottom { | ||
| 8411 | bottom: 0; | ||
| 8412 | left: 0; | ||
| 8413 | right: 0; | ||
| 8414 | } | ||
| 8415 | .uk-position-top-left { | ||
| 8416 | top: 0; | ||
| 8417 | left: 0; | ||
| 8418 | } | ||
| 8419 | .uk-position-top-right { | ||
| 8420 | top: 0; | ||
| 8421 | right: 0; | ||
| 8422 | } | ||
| 8423 | .uk-position-bottom-left { | ||
| 8424 | bottom: 0; | ||
| 8425 | left: 0; | ||
| 8426 | } | ||
| 8427 | .uk-position-bottom-right { | ||
| 8428 | bottom: 0; | ||
| 8429 | right: 0; | ||
| 8430 | } | ||
| 8431 | /* | ||
| 8432 | * Cover | ||
| 8433 | */ | ||
| 8434 | .uk-position-cover { | ||
| 8435 | position: absolute; | ||
| 8436 | top: 0; | ||
| 8437 | bottom: 0; | ||
| 8438 | left: 0; | ||
| 8439 | right: 0; | ||
| 8440 | } | ||
| 8441 | /* | ||
| 8442 | * Relative | ||
| 8443 | */ | ||
| 8444 | .uk-position-relative { | ||
| 8445 | position: relative !important; | ||
| 8446 | } | ||
| 8447 | /* | ||
| 8448 | * Z-index | ||
| 8449 | */ | ||
| 8450 | .uk-position-z-index { | ||
| 8451 | z-index: 1; | ||
| 8452 | } | ||
| 8453 | /* Display | ||
| 8454 | ========================================================================== */ | ||
| 8455 | /* | ||
| 8456 | * Display | ||
| 8457 | * 1. Required if child is a responsive image | ||
| 8458 | */ | ||
| 8459 | .uk-display-block { | ||
| 8460 | display: block !important; | ||
| 8461 | } | ||
| 8462 | .uk-display-inline { | ||
| 8463 | display: inline !important; | ||
| 8464 | } | ||
| 8465 | .uk-display-inline-block { | ||
| 8466 | display: inline-block !important; | ||
| 8467 | /* 1 */ | ||
| 8468 | max-width: 100%; | ||
| 8469 | } | ||
| 8470 | /* | ||
| 8471 | * Visibility | ||
| 8472 | * Avoids setting display to `block` so it works also with `inline-block` and `table` | ||
| 8473 | */ | ||
| 8474 | /* Desktop and bigger */ | ||
| 8475 | @media (min-width: 960px) { | ||
| 8476 | .uk-visible-small { | ||
| 8477 | display: none !important; | ||
| 8478 | } | ||
| 8479 | .uk-visible-medium { | ||
| 8480 | display: none !important; | ||
| 8481 | } | ||
| 8482 | .uk-hidden-large { | ||
| 8483 | display: none !important; | ||
| 8484 | } | ||
| 8485 | } | ||
| 8486 | /* Tablets portrait */ | ||
| 8487 | @media (min-width: 768px) and (max-width: 959px) { | ||
| 8488 | .uk-visible-small { | ||
| 8489 | display: none !important; | ||
| 8490 | } | ||
| 8491 | .uk-visible-large { | ||
| 8492 | display: none !important ; | ||
| 8493 | } | ||
| 8494 | .uk-hidden-medium { | ||
| 8495 | display: none !important; | ||
| 8496 | } | ||
| 8497 | } | ||
| 8498 | /* Phone landscape and smaller*/ | ||
| 8499 | @media (max-width: 767px) { | ||
| 8500 | .uk-visible-medium { | ||
| 8501 | display: none !important; | ||
| 8502 | } | ||
| 8503 | .uk-visible-large { | ||
| 8504 | display: none !important; | ||
| 8505 | } | ||
| 8506 | .uk-hidden-small { | ||
| 8507 | display: none !important; | ||
| 8508 | } | ||
| 8509 | } | ||
| 8510 | /* Remove from the flow and screen readers on any device */ | ||
| 8511 | .uk-hidden { | ||
| 8512 | display: none !important; | ||
| 8513 | visibility: hidden !important; | ||
| 8514 | } | ||
| 8515 | /* It's hidden, but still affects layout */ | ||
| 8516 | .uk-invisible { | ||
| 8517 | visibility: hidden !important; | ||
| 8518 | } | ||
| 8519 | /* Show on hover */ | ||
| 8520 | .uk-visible-hover:hover .uk-hidden, | ||
| 8521 | .uk-visible-hover:hover .uk-invisible { | ||
| 8522 | display: block !important; | ||
| 8523 | visibility: visible !important; | ||
| 8524 | } | ||
| 8525 | .uk-visible-hover-inline:hover .uk-hidden, | ||
| 8526 | .uk-visible-hover-inline:hover .uk-invisible { | ||
| 8527 | display: inline-block !important; | ||
| 8528 | visibility: visible !important; | ||
| 8529 | } | ||
| 8530 | /* Hide on touch */ | ||
| 8531 | .uk-touch .uk-hidden-touch, | ||
| 8532 | .uk-notouch .uk-hidden-notouch { | ||
| 8533 | display: none !important; | ||
| 8534 | } | ||
| 8535 | /* ======================================================================== | ||
| 8536 | Component: Flex | ||
| 8537 | ========================================================================== */ | ||
| 8538 | .uk-flex { | ||
| 8539 | display: -ms-flexbox; | ||
| 8540 | display: -webkit-flex; | ||
| 8541 | display: flex; | ||
| 8542 | } | ||
| 8543 | .uk-flex-inline { | ||
| 8544 | display: -ms-inline-flexbox; | ||
| 8545 | display: -webkit-inline-flex; | ||
| 8546 | display: inline-flex; | ||
| 8547 | } | ||
| 8548 | /* | ||
| 8549 | * Fixes initial flex-shrink value in IE10 | ||
| 8550 | */ | ||
| 8551 | .uk-flex > *, | ||
| 8552 | .uk-flex-inline > * { | ||
| 8553 | -ms-flex-negative: 1; | ||
| 8554 | } | ||
| 8555 | /* Alignment | ||
| 8556 | ========================================================================== */ | ||
| 8557 | /* | ||
| 8558 | * Vertical alignment | ||
| 8559 | * Default value is `stretch` | ||
| 8560 | */ | ||
| 8561 | .uk-flex-top { | ||
| 8562 | -ms-flex-align: start; | ||
| 8563 | -webkit-align-items: flex-start; | ||
| 8564 | align-items: flex-start; | ||
| 8565 | } | ||
| 8566 | .uk-flex-middle { | ||
| 8567 | -ms-flex-align: center; | ||
| 8568 | -webkit-align-items: center; | ||
| 8569 | align-items: center; | ||
| 8570 | } | ||
| 8571 | .uk-flex-bottom { | ||
| 8572 | -ms-flex-align: end; | ||
| 8573 | -webkit-align-items: flex-end; | ||
| 8574 | align-items: flex-end; | ||
| 8575 | } | ||
| 8576 | /* | ||
| 8577 | * Horizontal alignment | ||
| 8578 | * Default value is `flex-start` | ||
| 8579 | */ | ||
| 8580 | .uk-flex-center { | ||
| 8581 | -ms-flex-pack: center; | ||
| 8582 | -webkit-justify-content: center; | ||
| 8583 | justify-content: center; | ||
| 8584 | } | ||
| 8585 | .uk-flex-right { | ||
| 8586 | -ms-flex-pack: end; | ||
| 8587 | -webkit-justify-content: flex-end; | ||
| 8588 | justify-content: flex-end; | ||
| 8589 | } | ||
| 8590 | .uk-flex-space-between { | ||
| 8591 | -ms-flex-pack: justify; | ||
| 8592 | -webkit-justify-content: space-between; | ||
| 8593 | justify-content: space-between; | ||
| 8594 | } | ||
| 8595 | .uk-flex-space-around { | ||
| 8596 | -ms-flex-pack: distribute; | ||
| 8597 | -webkit-justify-content: space-around; | ||
| 8598 | justify-content: space-around; | ||
| 8599 | } | ||
| 8600 | /* Direction | ||
| 8601 | ========================================================================== */ | ||
| 8602 | .uk-flex-row-reverse { | ||
| 8603 | -ms-flex-direction: row-reverse; | ||
| 8604 | -webkit-flex-direction: row-reverse; | ||
| 8605 | flex-direction: row-reverse; | ||
| 8606 | } | ||
| 8607 | .uk-flex-column { | ||
| 8608 | -ms-flex-direction: column; | ||
| 8609 | -webkit-flex-direction: column; | ||
| 8610 | flex-direction: column; | ||
| 8611 | } | ||
| 8612 | .uk-flex-column-reverse { | ||
| 8613 | -ms-flex-direction: column-reverse; | ||
| 8614 | -webkit-flex-direction: column-reverse; | ||
| 8615 | flex-direction: column-reverse; | ||
| 8616 | } | ||
| 8617 | /* Wrap | ||
| 8618 | ========================================================================== */ | ||
| 8619 | .uk-flex-nowrap { | ||
| 8620 | -ms-flex-wrap: nowrap; | ||
| 8621 | -webkit-flex-wrap: nowrap; | ||
| 8622 | flex-wrap: nowrap; | ||
| 8623 | } | ||
| 8624 | .uk-flex-wrap { | ||
| 8625 | -ms-flex-wrap: wrap; | ||
| 8626 | -webkit-flex-wrap: wrap; | ||
| 8627 | flex-wrap: wrap; | ||
| 8628 | } | ||
| 8629 | .uk-flex-wrap-reverse { | ||
| 8630 | -ms-flex-wrap: wrap-reverse; | ||
| 8631 | -webkit-flex-wrap: wrap-reverse; | ||
| 8632 | flex-wrap: wrap-reverse; | ||
| 8633 | } | ||
| 8634 | /* | ||
| 8635 | * Horizontal alignment | ||
| 8636 | * Default value is `stretch` | ||
| 8637 | */ | ||
| 8638 | .uk-flex-wrap-top { | ||
| 8639 | -ms-flex-line-pack: start; | ||
| 8640 | -webkit-align-content: flex-start; | ||
| 8641 | align-content: flex-start; | ||
| 8642 | } | ||
| 8643 | .uk-flex-wrap-middle { | ||
| 8644 | -ms-flex-line-pack: center; | ||
| 8645 | -webkit-align-content: center; | ||
| 8646 | align-content: center; | ||
| 8647 | } | ||
| 8648 | .uk-flex-wrap-bottom { | ||
| 8649 | -ms-flex-line-pack: end; | ||
| 8650 | -webkit-align-content: flex-end; | ||
| 8651 | align-content: flex-end; | ||
| 8652 | } | ||
| 8653 | .uk-flex-wrap-space-between { | ||
| 8654 | -ms-flex-line-pack: justify; | ||
| 8655 | -webkit-align-content: space-between; | ||
| 8656 | align-content: space-between; | ||
| 8657 | } | ||
| 8658 | .uk-flex-wrap-space-around { | ||
| 8659 | -ms-flex-line-pack: distribute; | ||
| 8660 | -webkit-align-content: space-around; | ||
| 8661 | align-content: space-around; | ||
| 8662 | } | ||
| 8663 | /* Item ordering | ||
| 8664 | ========================================================================== */ | ||
| 8665 | /* | ||
| 8666 | * Default is 0 | ||
| 8667 | */ | ||
| 8668 | .uk-flex-order-first { | ||
| 8669 | -ms-flex-order: -1; | ||
| 8670 | -webkit-order: -1; | ||
| 8671 | order: -1; | ||
| 8672 | } | ||
| 8673 | .uk-flex-order-last { | ||
| 8674 | -ms-flex-order: 99; | ||
| 8675 | -webkit-order: 99; | ||
| 8676 | order: 99; | ||
| 8677 | } | ||
| 8678 | /* Phone landscape and bigger */ | ||
| 8679 | @media (min-width: 480px) { | ||
| 8680 | .uk-flex-order-first-small { | ||
| 8681 | -ms-flex-order: -1; | ||
| 8682 | -webkit-order: -1; | ||
| 8683 | order: -1; | ||
| 8684 | } | ||
| 8685 | .uk-flex-order-last-small { | ||
| 8686 | -ms-flex-order: 99; | ||
| 8687 | -webkit-order: 99; | ||
| 8688 | order: 99; | ||
| 8689 | } | ||
| 8690 | } | ||
| 8691 | /* Tablet and bigger */ | ||
| 8692 | @media (min-width: 768px) { | ||
| 8693 | .uk-flex-order-first-medium { | ||
| 8694 | -ms-flex-order: -1; | ||
| 8695 | -webkit-order: -1; | ||
| 8696 | order: -1; | ||
| 8697 | } | ||
| 8698 | .uk-flex-order-last-medium { | ||
| 8699 | -ms-flex-order: 99; | ||
| 8700 | -webkit-order: 99; | ||
| 8701 | order: 99; | ||
| 8702 | } | ||
| 8703 | } | ||
| 8704 | /* Desktop and bigger */ | ||
| 8705 | @media (min-width: 960px) { | ||
| 8706 | .uk-flex-order-first-large { | ||
| 8707 | -ms-flex-order: -1; | ||
| 8708 | -webkit-order: -1; | ||
| 8709 | order: -1; | ||
| 8710 | } | ||
| 8711 | .uk-flex-order-last-large { | ||
| 8712 | -ms-flex-order: 99; | ||
| 8713 | -webkit-order: 99; | ||
| 8714 | order: 99; | ||
| 8715 | } | ||
| 8716 | } | ||
| 8717 | /* Large screen and bigger */ | ||
| 8718 | @media (min-width: 1220px) { | ||
| 8719 | .uk-flex-order-first-xlarge { | ||
| 8720 | -ms-flex-order: -1; | ||
| 8721 | -webkit-order: -1; | ||
| 8722 | order: -1; | ||
| 8723 | } | ||
| 8724 | .uk-flex-order-last-xlarge { | ||
| 8725 | -ms-flex-order: 99; | ||
| 8726 | -webkit-order: 99; | ||
| 8727 | order: 99; | ||
| 8728 | } | ||
| 8729 | } | ||
| 8730 | /* Item dimensions | ||
| 8731 | ========================================================================== */ | ||
| 8732 | /* | ||
| 8733 | * Initial: 0 1 auto | ||
| 8734 | * Content dimensions, but shrinks | ||
| 8735 | */ | ||
| 8736 | /* | ||
| 8737 | * No Flex: 0 0 auto | ||
| 8738 | * Content dimensions | ||
| 8739 | */ | ||
| 8740 | .uk-flex-item-none { | ||
| 8741 | -ms-flex: none; | ||
| 8742 | -webkit-flex: none; | ||
| 8743 | flex: none; | ||
| 8744 | } | ||
| 8745 | /* | ||
| 8746 | * Relative Flex: 1 1 auto | ||
| 8747 | * Space is allocated considering content | ||
| 8748 | * 1. Fixes flex-shrink value in IE10 | ||
| 8749 | */ | ||
| 8750 | .uk-flex-item-auto { | ||
| 8751 | -ms-flex: auto; | ||
| 8752 | -webkit-flex: auto; | ||
| 8753 | flex: auto; | ||
| 8754 | /* 1 */ | ||
| 8755 | -ms-flex-negative: 1; | ||
| 8756 | } | ||
| 8757 | /* | ||
| 8758 | * Absolute Flex: 1 1 0% | ||
| 8759 | * Space is allocated solely based on flex | ||
| 8760 | */ | ||
| 8761 | .uk-flex-item-1 { | ||
| 8762 | -ms-flex: 1; | ||
| 8763 | -webkit-flex: 1; | ||
| 8764 | flex: 1; | ||
| 8765 | } | ||
| 8766 | /* ======================================================================== | ||
| 8767 | Component: Contrast | ||
| 8768 | ========================================================================== */ | ||
| 8769 | .uk-contrast { | ||
| 8770 | color: #fff; | ||
| 8771 | /* Active */ | ||
| 8772 | } | ||
| 8773 | .uk-contrast a:not([class]), | ||
| 8774 | .uk-contrast .uk-link { | ||
| 8775 | color: rgba(255, 255, 255, 0.7); | ||
| 8776 | text-decoration: none; | ||
| 8777 | } | ||
| 8778 | .uk-contrast a:not([class]):hover, | ||
| 8779 | .uk-contrast .uk-link:hover { | ||
| 8780 | color: #fff; | ||
| 8781 | text-decoration: underline; | ||
| 8782 | } | ||
| 8783 | .uk-contrast :not(pre) > code, | ||
| 8784 | .uk-contrast :not(pre) > kbd, | ||
| 8785 | .uk-contrast :not(pre) > samp { | ||
| 8786 | color: #fff; | ||
| 8787 | border-color: rgba(255, 255, 255, 0.2); | ||
| 8788 | background: rgba(255, 255, 255, 0.1); | ||
| 8789 | } | ||
| 8790 | .uk-contrast em { | ||
| 8791 | color: #fff; | ||
| 8792 | } | ||
| 8793 | .uk-contrast h1, | ||
| 8794 | .uk-contrast h2, | ||
| 8795 | .uk-contrast h3, | ||
| 8796 | .uk-contrast h4, | ||
| 8797 | .uk-contrast h5, | ||
| 8798 | .uk-contrast h6 { | ||
| 8799 | color: #fff; | ||
| 8800 | } | ||
| 8801 | .uk-contrast hr { | ||
| 8802 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8803 | } | ||
| 8804 | .uk-contrast .uk-nav li > a, | ||
| 8805 | .uk-contrast .uk-nav li > a:hover { | ||
| 8806 | text-decoration: none; | ||
| 8807 | } | ||
| 8808 | .uk-contrast .uk-nav-side > li > a { | ||
| 8809 | color: #fff; | ||
| 8810 | } | ||
| 8811 | .uk-contrast .uk-nav-side > li > a:hover, | ||
| 8812 | .uk-contrast .uk-nav-side > li > a:focus { | ||
| 8813 | background: rgba(255, 255, 255, 0.1); | ||
| 8814 | color: #fff; | ||
| 8815 | text-shadow: none; | ||
| 8816 | } | ||
| 8817 | .uk-contrast .uk-nav-side > li.uk-active > a { | ||
| 8818 | background: #fff; | ||
| 8819 | color: #444; | ||
| 8820 | text-shadow: none; | ||
| 8821 | } | ||
| 8822 | .uk-contrast .uk-nav-side .uk-nav-header { | ||
| 8823 | color: #fff; | ||
| 8824 | } | ||
| 8825 | .uk-contrast .uk-nav-side .uk-nav-divider { | ||
| 8826 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8827 | } | ||
| 8828 | .uk-contrast .uk-nav-side ul a { | ||
| 8829 | color: rgba(255, 255, 255, 0.7); | ||
| 8830 | } | ||
| 8831 | .uk-contrast .uk-nav-side ul a:hover { | ||
| 8832 | color: #fff; | ||
| 8833 | } | ||
| 8834 | .uk-contrast .uk-subnav > * > a { | ||
| 8835 | color: rgba(255, 255, 255, 0.7); | ||
| 8836 | text-decoration: none; | ||
| 8837 | } | ||
| 8838 | .uk-contrast .uk-subnav > * > a:hover, | ||
| 8839 | .uk-contrast .uk-subnav > * > a:focus { | ||
| 8840 | color: #fff; | ||
| 8841 | text-decoration: none; | ||
| 8842 | } | ||
| 8843 | .uk-contrast .uk-subnav > .uk-active > a { | ||
| 8844 | color: #fff; | ||
| 8845 | } | ||
| 8846 | .uk-contrast .uk-subnav-line > :nth-child(n+2):before { | ||
| 8847 | border-left-color: rgba(255, 255, 255, 0.2); | ||
| 8848 | } | ||
| 8849 | .uk-contrast .uk-subnav-pill > * > a:hover, | ||
| 8850 | .uk-contrast .uk-subnav-pill > * > a:focus { | ||
| 8851 | background: rgba(255, 255, 255, 0.7); | ||
| 8852 | color: #444; | ||
| 8853 | text-decoration: none; | ||
| 8854 | } | ||
| 8855 | .uk-contrast .uk-subnav-pill > .uk-active > a { | ||
| 8856 | background: #fff; | ||
| 8857 | color: #444; | ||
| 8858 | } | ||
| 8859 | .uk-contrast .uk-tab { | ||
| 8860 | border-bottom-color: rgba(255, 255, 255, 0.2); | ||
| 8861 | } | ||
| 8862 | .uk-contrast .uk-tab > li > a { | ||
| 8863 | border-color: transparent; | ||
| 8864 | color: rgba(255, 255, 255, 0.7); | ||
| 8865 | text-shadow: none; | ||
| 8866 | } | ||
| 8867 | .uk-contrast .uk-tab > li > a:hover, | ||
| 8868 | .uk-contrast .uk-tab > li > a:focus, | ||
| 8869 | .uk-contrast .uk-tab > li.uk-open > a { | ||
| 8870 | border-color: rgba(255, 255, 255, 0.7); | ||
| 8871 | background: rgba(255, 255, 255, 0.7); | ||
| 8872 | color: #444; | ||
| 8873 | text-decoration: none; | ||
| 8874 | } | ||
| 8875 | .uk-contrast .uk-tab > li.uk-active > a { | ||
| 8876 | border-color: rgba(255, 255, 255, 0.2); | ||
| 8877 | border-bottom-color: transparent; | ||
| 8878 | background: #fff; | ||
| 8879 | color: #444; | ||
| 8880 | } | ||
| 8881 | .uk-contrast .uk-tab-center { | ||
| 8882 | border-bottom-color: rgba(255, 255, 255, 0.2); | ||
| 8883 | } | ||
| 8884 | .uk-contrast .uk-tab-grid:before { | ||
| 8885 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8886 | } | ||
| 8887 | .uk-contrast .uk-list-line > li:nth-child(n+2) { | ||
| 8888 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8889 | } | ||
| 8890 | .uk-contrast .uk-form select, | ||
| 8891 | .uk-contrast .uk-form textarea, | ||
| 8892 | .uk-contrast .uk-form input:not([type]), | ||
| 8893 | .uk-contrast .uk-form input[type="text"], | ||
| 8894 | .uk-contrast .uk-form input[type="password"], | ||
| 8895 | .uk-contrast .uk-form input[type="datetime"], | ||
| 8896 | .uk-contrast .uk-form input[type="datetime-local"], | ||
| 8897 | .uk-contrast .uk-form input[type="date"], | ||
| 8898 | .uk-contrast .uk-form input[type="month"], | ||
| 8899 | .uk-contrast .uk-form input[type="time"], | ||
| 8900 | .uk-contrast .uk-form input[type="week"], | ||
| 8901 | .uk-contrast .uk-form input[type="number"], | ||
| 8902 | .uk-contrast .uk-form input[type="email"], | ||
| 8903 | .uk-contrast .uk-form input[type="url"], | ||
| 8904 | .uk-contrast .uk-form input[type="search"], | ||
| 8905 | .uk-contrast .uk-form input[type="tel"], | ||
| 8906 | .uk-contrast .uk-form input[type="color"] { | ||
| 8907 | border-color: rgba(255, 255, 255, 0.8); | ||
| 8908 | background: rgba(255, 255, 255, 0.8); | ||
| 8909 | color: #444; | ||
| 8910 | background-clip: padding-box; | ||
| 8911 | } | ||
| 8912 | .uk-contrast .uk-form select:focus, | ||
| 8913 | .uk-contrast .uk-form textarea:focus, | ||
| 8914 | .uk-contrast .uk-form input:not([type]):focus, | ||
| 8915 | .uk-contrast .uk-form input[type="text"]:focus, | ||
| 8916 | .uk-contrast .uk-form input[type="password"]:focus, | ||
| 8917 | .uk-contrast .uk-form input[type="datetime"]:focus, | ||
| 8918 | .uk-contrast .uk-form input[type="datetime-local"]:focus, | ||
| 8919 | .uk-contrast .uk-form input[type="date"]:focus, | ||
| 8920 | .uk-contrast .uk-form input[type="month"]:focus, | ||
| 8921 | .uk-contrast .uk-form input[type="time"]:focus, | ||
| 8922 | .uk-contrast .uk-form input[type="week"]:focus, | ||
| 8923 | .uk-contrast .uk-form input[type="number"]:focus, | ||
| 8924 | .uk-contrast .uk-form input[type="email"]:focus, | ||
| 8925 | .uk-contrast .uk-form input[type="url"]:focus, | ||
| 8926 | .uk-contrast .uk-form input[type="search"]:focus, | ||
| 8927 | .uk-contrast .uk-form input[type="tel"]:focus, | ||
| 8928 | .uk-contrast .uk-form input[type="color"]:focus { | ||
| 8929 | border-color: #fff; | ||
| 8930 | background: #fff; | ||
| 8931 | color: #444; | ||
| 8932 | } | ||
| 8933 | .uk-contrast .uk-form :-ms-input-placeholder { | ||
| 8934 | color: rgba(68, 68, 68, 0.7) !important; | ||
| 8935 | } | ||
| 8936 | .uk-contrast .uk-form ::-moz-placeholder { | ||
| 8937 | color: rgba(68, 68, 68, 0.7); | ||
| 8938 | } | ||
| 8939 | .uk-contrast .uk-form ::-webkit-input-placeholder { | ||
| 8940 | color: rgba(68, 68, 68, 0.7); | ||
| 8941 | } | ||
| 8942 | .uk-contrast .uk-button { | ||
| 8943 | color: #444; | ||
| 8944 | background: #fff; | ||
| 8945 | border-color: transparent; | ||
| 8946 | } | ||
| 8947 | .uk-contrast .uk-button:hover, | ||
| 8948 | .uk-contrast .uk-button:focus { | ||
| 8949 | background-color: rgba(255, 255, 255, 0.8); | ||
| 8950 | color: #444; | ||
| 8951 | border-color: transparent; | ||
| 8952 | } | ||
| 8953 | .uk-contrast .uk-button:active, | ||
| 8954 | .uk-contrast .uk-button.uk-active { | ||
| 8955 | background-color: rgba(255, 255, 255, 0.7); | ||
| 8956 | color: #444; | ||
| 8957 | } | ||
| 8958 | .uk-contrast .uk-button-primary { | ||
| 8959 | background-color: #00a8e6; | ||
| 8960 | color: #fff; | ||
| 8961 | } | ||
| 8962 | .uk-contrast .uk-button-primary:hover, | ||
| 8963 | .uk-contrast .uk-button-primary:focus { | ||
| 8964 | background-color: #35b3ee; | ||
| 8965 | color: #fff; | ||
| 8966 | } | ||
| 8967 | .uk-contrast .uk-button-primary:active, | ||
| 8968 | .uk-contrast .uk-button-primary.uk-active { | ||
| 8969 | background-color: #0091ca; | ||
| 8970 | color: #fff; | ||
| 8971 | } | ||
| 8972 | .uk-contrast .uk-icon-hover { | ||
| 8973 | color: rgba(255, 255, 255, 0.7); | ||
| 8974 | } | ||
| 8975 | .uk-contrast .uk-icon-hover:hover { | ||
| 8976 | color: #fff; | ||
| 8977 | } | ||
| 8978 | .uk-contrast .uk-icon-button { | ||
| 8979 | background: #fff; | ||
| 8980 | color: #444; | ||
| 8981 | border-color: transparent; | ||
| 8982 | } | ||
| 8983 | .uk-contrast .uk-icon-button:hover, | ||
| 8984 | .uk-contrast .uk-icon-button:focus { | ||
| 8985 | background-color: rgba(255, 255, 255, 0.8); | ||
| 8986 | color: #444; | ||
| 8987 | border-color: transparent; | ||
| 8988 | } | ||
| 8989 | .uk-contrast .uk-icon-button:active { | ||
| 8990 | background-color: rgba(255, 255, 255, 0.7); | ||
| 8991 | color: #444; | ||
| 8992 | } | ||
| 8993 | .uk-contrast .uk-text-muted { | ||
| 8994 | color: rgba(255, 255, 255, 0.6) !important; | ||
| 8995 | } | ||
| 8996 | .uk-contrast .uk-text-primary { | ||
| 8997 | color: #2d7091 !important; | ||
| 8998 | } | ||
| 8999 | /* ======================================================================== | ||
| 9000 | Component: Print | ||
| 9001 | ========================================================================== */ | ||
| 9002 | @media print { | ||
| 9003 | *, | ||
| 9004 | *:before, | ||
| 9005 | *:after { | ||
| 9006 | background: transparent !important; | ||
| 9007 | color: black !important; | ||
| 9008 | box-shadow: none !important; | ||
| 9009 | text-shadow: none !important; | ||
| 9010 | } | ||
| 9011 | a, | ||
| 9012 | a:visited { | ||
| 9013 | text-decoration: underline; | ||
| 9014 | } | ||
| 9015 | pre, | ||
| 9016 | blockquote { | ||
| 9017 | border: 1px solid #999; | ||
| 9018 | page-break-inside: avoid; | ||
| 9019 | } | ||
| 9020 | thead { | ||
| 9021 | display: table-header-group; | ||
| 9022 | } | ||
| 9023 | tr, | ||
| 9024 | img { | ||
| 9025 | page-break-inside: avoid; | ||
| 9026 | } | ||
| 9027 | img { | ||
| 9028 | max-width: 100% !important; | ||
| 9029 | } | ||
| 9030 | @page { | ||
| 9031 | margin: 0.5cm; | ||
| 9032 | } | ||
| 9033 | p, | ||
| 9034 | h2, | ||
| 9035 | h3 { | ||
| 9036 | orphans: 3; | ||
| 9037 | widows: 3; | ||
| 9038 | } | ||
| 9039 | h2, | ||
| 9040 | h3 { | ||
| 9041 | page-break-after: avoid; | ||
| 9042 | } | ||
| 9043 | } | ||
| diff --git a/css/uikit.almost-flat.min.css b/css/uikit.almost-flat.min.css new file mode 100755 index 0000000..20eb839 --- /dev/null +++ b/css/uikit.almost-flat.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07D;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#D05;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}em{color:#D05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,canvas,img,svg,video{max-width:100%;height:auto;box-sizing:border-box}.uk-img-preserve,.uk-img-preserve audio,.uk-img-preserve canvas,.uk-img-preserve img,.uk-img-preserve svg,.uk-img-preserve video{max-width:none}img{border:0}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#fafafa;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto;border:1px solid #ddd;border-radius:3px}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}@media (min-width:960px){.uk-grid-large{margin-left:-35px}.uk-grid-large>*{padding-left:35px}.uk-grid-large+.uk-grid-large,.uk-grid-large-margin,.uk-grid-large>*>.uk-panel+.uk-panel{margin-top:35px}}@media (min-width:1220px){.uk-grid-large{margin-left:-50px}.uk-grid-large>*{padding-left:50px}.uk-grid-large+.uk-grid-large,.uk-grid-large-margin,.uk-grid-large>*>.uk-panel+.uk-panel{margin-top:50px}}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}.uk-grid-width-auto>*{width:auto}@media (min-width:480px){.uk-grid-width-small-1-1>*{width:100%}.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-1>*{width:100%}.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-1>*{width:100%}.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-1>*{width:100%}.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:1220px){.uk-width-xlarge-1-1{width:100%}.uk-width-xlarge-1-2,.uk-width-xlarge-2-4,.uk-width-xlarge-3-6,.uk-width-xlarge-5-10{width:50%}.uk-width-xlarge-1-3,.uk-width-xlarge-2-6{width:33.333%}.uk-width-xlarge-2-3,.uk-width-xlarge-4-6{width:66.666%}.uk-width-xlarge-1-4{width:25%}.uk-width-xlarge-3-4{width:75%}.uk-width-xlarge-1-5,.uk-width-xlarge-2-10{width:20%}.uk-width-xlarge-2-5,.uk-width-xlarge-4-10{width:40%}.uk-width-xlarge-3-5,.uk-width-xlarge-6-10{width:60%}.uk-width-xlarge-4-5,.uk-width-xlarge-8-10{width:80%}.uk-width-xlarge-1-6{width:16.666%}.uk-width-xlarge-5-6{width:83.333%}.uk-width-xlarge-1-10{width:10%}.uk-width-xlarge-3-10{width:30%}.uk-width-xlarge-7-10{width:70%}.uk-width-xlarge-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-body{padding:15px}.uk-panel-box{padding:15px;background:#fafafa;color:#444;border:1px solid #ddd;border-radius:4px}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box>.uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#fff;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444;border:1px solid transparent;border-radius:4px}.uk-panel-hover:hover{background:#fafafa;color:#444;border-color:#ddd}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover>.uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-panel-box .uk-panel-teaser{border-top-left-radius:4px;border-top-right-radius:4px;overflow:hidden;-webkit-transform:translateZ(0)}.uk-block{position:relative;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-article+.uk-article{padding-top:25px;border-top:1px solid #ddd}.uk-comment-header{margin-bottom:15px;padding:10px;border:1px solid #ddd;border-radius:4px;background:#fafafa}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body{padding-left:10px;padding-right:10px}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:25px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:25px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-comment-primary .uk-comment-header{border-color:rgba(45,112,145,.3);background-color:#ebf7fd;color:#2d7091;text-shadow:0 1px 0 #fff}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.03);color:#444;outline:0;box-shadow:inset 0 0 1px rgba(0,0,0,.06);text-shadow:0 -1px 0 #fff}.uk-nav-side>li.uk-active>a{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd;box-shadow:0 1px 0 #fff}.uk-nav-side ul a{color:#07D}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07D}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07D}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px;border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas .uk-nav-header{color:#777;margin-top:0;border-top:1px solid rgba(0,0,0,.3);background:#404040;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid rgba(255,255,255,.01);margin:0;height:4px;background:rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-nav-offcanvas{border-bottom:1px solid rgba(0,0,0,.3);box-shadow:0 1px 0 rgba(255,255,255,.05)}.uk-nav-offcanvas .uk-nav-sub{border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uk-navbar{background:#f5f5f5;color:#444;border:1px solid rgba(0,0,0,.06);border-radius:4px}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:#fafafa;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-navbar-nav>li>a:active{background-color:#eee;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2)}.uk-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1)}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{box-sizing:border-box;display:block;height:41px;padding:0 15px;float:left;margin-top:-1px;text-shadow:0 1px 0 #fff}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07D}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px;border-bottom-left-radius:4px}.uk-navbar-flip .uk-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-navbar-flip .uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0;border-bottom-left-radius:0}.uk-navbar-flip .uk-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px;border-bottom-right-radius:4px}.uk-navbar-attached{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.uk-navbar-attached .uk-navbar-nav>li>a{border-radius:0!important}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07D;text-decoration:none}.uk-subnav>.uk-active>*{color:#07D}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px;border-radius:4px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#fafafa;color:#444;text-decoration:none;outline:0;box-shadow:0 0 0 1px rgba(0,0,0,.15)}.uk-subnav-pill>.uk-active>*{background:#00a8e6;color:#fff;box-shadow:inset 0 0 5px rgba(0,0,0,.05)}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text;box-shadow:none}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;box-sizing:content-box;text-align:center;border:1px solid rgba(0,0,0,.06);border-radius:4px}.uk-pagination>li>a{background:#f5f5f5;color:#444;text-shadow:0 1px 0 #fff}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#fafafa;color:#444;outline:0;border-color:rgba(0,0,0,.16)}.uk-pagination>li>a:active{background-color:#eee;color:#444}.uk-pagination>.uk-active>span{background:#00a8e6;color:#fff;border-color:transparent;box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-pagination>.uk-disabled>span{background-color:#fafafa;color:#999;border:1px solid rgba(0,0,0,.06);text-shadow:0 1px 0 #fff}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07D;text-decoration:none;border-radius:4px 4px 0 0;text-shadow:0 1px 0 #fff}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:rgba(0,0,0,.06);background:#f5f5f5;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-tab-bottom>li>a{border-radius:0 0 4px 4px}@media (min-width:768px){.uk-tab-left>li>a{border-radius:4px 0 0 4px}.uk-tab-right>li>a{border-radius:0 4px 4px 0}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px;border-bottom:1px solid #ddd}.uk-list-striped>li:nth-of-type(odd){background:#fafafa}.uk-list-space>li:nth-child(n+2){margin-top:10px}.uk-list-striped>li:first-child{border-top:1px solid #ddd}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px;border-bottom:1px solid #ddd}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#f0f0f0}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#fafafa}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#f0f0f0}.uk-form input,.uk-form select,.uk-form textarea{box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all .2s linear;-webkit-transition-property:border,background,color,box-shadow,padding;transition:all .2s linear;transition-property:border,background,color,box-shadow,padding;border-radius:4px}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#fafafa;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;box-sizing:border-box;padding:0 12px;background:#f5f5f5;vertical-align:middle;line-height:28px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center;border:1px solid rgba(0,0,0,.06);border-radius:4px;text-shadow:0 1px 0 #fff}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#fafafa;color:#444;outline:0;text-decoration:none;border-color:rgba(0,0,0,.16)}.uk-button.uk-active,.uk-button:active{background-color:#eee;color:#444}.uk-button-primary{background-color:#00a8e6;color:#fff}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-button-success{background-color:#8cc14c;color:#fff}.uk-button-success:focus,.uk-button-success:hover{background-color:#8ec73b;color:#fff}.uk-button-success.uk-active,.uk-button-success:active{background-color:#72ae41;color:#fff}.uk-button-danger{background-color:#da314b;color:#fff}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e4354f;color:#fff}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91032;color:#fff}.uk-button:disabled{background-color:#fafafa;color:#999;border-color:rgba(0,0,0,.06);box-shadow:none;text-shadow:0 1px 0 #fff}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0;box-shadow:none;text-shadow:none}.uk-button-link{color:#07D}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:18px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:23px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:38px;font-size:16px;border-radius:5px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}.uk-button-danger,.uk-button-primary,.uk-button-success{box-shadow:inset 0 0 5px rgba(0,0,0,.05);text-shadow:0 -1px 0 rgba(0,0,0,.1)}.uk-button-danger:focus,.uk-button-danger:hover,.uk-button-primary:focus,.uk-button-primary:hover,.uk-button-success:focus,.uk-button-success:hover{border-color:rgba(0,0,0,.21)}.uk-button-group>.uk-button:not(:first-child):not(:last-child),.uk-button-group>div:not(:first-child):not(:last-child) .uk-button{border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-radius:0}.uk-button-group>.uk-button:first-child,.uk-button-group>div:first-child .uk-button{border-right-color:rgba(0,0,0,.1);border-top-right-radius:0;border-bottom-right-radius:0}.uk-button-group>.uk-button:last-child,.uk-button-group>div:last-child .uk-button{border-left-color:rgba(0,0,0,.1);border-top-left-radius:0;border-bottom-left-radius:0}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button.uk-active,.uk-button-group .uk-button:active,.uk-button-group .uk-button:hover{position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.woff2) format('woff2'),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#f5f5f5;line-height:35px;color:#444;font-size:18px;text-align:center;border:1px solid #e7e7e7;text-shadow:0 1px 0 #fff}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#fafafa;color:#444;outline:0;border-color:#d3d3d3}.uk-icon-button:active{background-color:#eee;color:#444}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-icon-500px:before{content:"\f26e"}.uk-icon-amazon:before{content:"\f270"}.uk-icon-balance-scale:before{content:"\f24e"}.uk-icon-battery-0:before,.uk-icon-battery-empty:before{content:"\f244"}.uk-icon-battery-1:before,.uk-icon-battery-quarter:before{content:"\f243"}.uk-icon-battery-2:before,.uk-icon-battery-half:before{content:"\f242"}.uk-icon-battery-3:before,.uk-icon-battery-three-quarters:before{content:"\f241"}.uk-icon-battery-4:before,.uk-icon-battery-full:before{content:"\f240"}.uk-icon-black-tie:before{content:"\f27e"}.uk-icon-calendar-check-o:before{content:"\f274"}.uk-icon-calendar-minus-o:before{content:"\f272"}.uk-icon-calendar-plus-o:before{content:"\f271"}.uk-icon-calendar-times-o:before{content:"\f273"}.uk-icon-cc-diners-club:before{content:"\f24c"}.uk-icon-cc-jcb:before{content:"\f24b"}.uk-icon-chrome:before{content:"\f268"}.uk-icon-clone:before{content:"\f24d"}.uk-icon-commenting:before{content:"\f27a"}.uk-icon-commenting-o:before{content:"\f27b"}.uk-icon-contao:before{content:"\f26d"}.uk-icon-creative-commons:before{content:"\f25e"}.uk-icon-expeditedssl:before{content:"\f23e"}.uk-icon-firefox:before{content:"\f269"}.uk-icon-fonticons:before{content:"\f280"}.uk-icon-get-pocket:before{content:"\f265"}.uk-icon-gg:before{content:"\f260"}.uk-icon-gg-circle:before{content:"\f261"}.uk-icon-hand-lizard-o:before{content:"\f258"}.uk-icon-hand-paper-o:before,.uk-icon-hand-stop-o:before{content:"\f256"}.uk-icon-hand-peace-o:before{content:"\f25b"}.uk-icon-hand-pointer-o:before{content:"\f25a"}.uk-icon-hand-grab-o:before,.uk-icon-hand-rock-o:before{content:"\f255"}.uk-icon-hand-scissors-o:before{content:"\f257"}.uk-icon-hand-spock-o:before{content:"\f259"}.uk-icon-hourglass:before{content:"\f254"}.uk-icon-hourglass-o:before{content:"\f250"}.uk-icon-hourglass-1:before,.uk-icon-hourglass-start:before{content:"\f251"}.uk-icon-hourglass-2:before,.uk-icon-hourglass-half:before{content:"\f252"}.uk-icon-hourglass-3:before,.uk-icon-hourglass-end:before{content:"\f253"}.uk-icon-houzz:before{content:"\f27c"}.uk-icon-i-cursor:before{content:"\f246"}.uk-icon-industry:before{content:"\f275"}.uk-icon-internet-explorer:before{content:"\f26b"}.uk-icon-map:before{content:"\f279"}.uk-icon-map-o:before{content:"\f278"}.uk-icon-map-pin:before{content:"\f276"}.uk-icon-map-signs:before{content:"\f277"}.uk-icon-mouse-pointer:before{content:"\f245"}.uk-icon-object-group:before{content:"\f247"}.uk-icon-object-ungroup:before{content:"\f248"}.uk-icon-odnoklassniki:before{content:"\f263"}.uk-icon-odnoklassniki-square:before{content:"\f264"}.uk-icon-opencart:before{content:"\f23d"}.uk-icon-opera:before{content:"\f26a"}.uk-icon-optin-monster:before{content:"\f23c"}.uk-icon-registered:before{content:"\f25d"}.uk-icon-safari:before{content:"\f267"}.uk-icon-sticky-note:before{content:"\f249"}.uk-icon-sticky-note-o:before{content:"\f24a"}.uk-icon-television:before,.uk-icon-tv:before{content:"\f26c"}.uk-icon-trademark:before{content:"\f25c"}.uk-icon-tripadvisor:before{content:"\f262"}.uk-icon-vimeo:before{content:"\f27d"}.uk-icon-wikipedia-w:before{content:"\f266"}.uk-icon-y-combinator:before,.uk-icon-yc:before{content:"\f23b"}.uk-icon-y-combinator-square:before,.uk-icon-yc-square:before{content:"\f1d4"}.uk-icon-bluetooth:before{content:"\f293"}.uk-icon-bluetooth-b:before{content:"\f294"}.uk-icon-codiepie:before{content:"\f284"}.uk-icon-credit-card-alt:before{content:"\f283"}.uk-icon-edge:before{content:"\f282"}.uk-icon-fort-awesome:before{content:"\f286"}.uk-icon-hashtag:before{content:"\f292"}.uk-icon-mixcloud:before{content:"\f289"}.uk-icon-modx:before{content:"\f285"}.uk-icon-pause-circle:before{content:"\f28b"}.uk-icon-pause-circle-o:before{content:"\f28c"}.uk-icon-percent:before{content:"\f295"}.uk-icon-product-hunt:before{content:"\f288"}.uk-icon-reddit-alien:before{content:"\f281"}.uk-icon-scribd:before{content:"\f28a"}.uk-icon-shopping-bag:before{content:"\f290"}.uk-icon-shopping-basket:before{content:"\f291"}.uk-icon-stop-circle:before{content:"\f28d"}.uk-icon-stop-circle-o:before{content:"\f28e"}.uk-icon-usb:before{content:"\f287"}.uk-icon-american-sign-language-interpreting:before,.uk-icon-asl-interpreting:before{content:"\f2a3"}.uk-icon-assistive-listening-systems:before{content:"\f2a2"}.uk-icon-audio-description:before{content:"\f29e"}.uk-icon-blind:before{content:"\f29d"}.uk-icon-braille:before{content:"\f2a1"}.uk-icon-deaf:before{content:"\f2a4"}.uk-icon-deafness:before{content:"\f2a4"}.uk-icon-envira:before{content:"\f299"}.uk-icon-gitlab:before{content:"\f296"}.uk-icon-glide:before{content:"\f2a5"}.uk-icon-glide-g:before{content:"\f2a6"}.uk-icon-hard-of-hearing:before{content:"\f2a4"}.uk-icon-low-vision:before{content:"\f2a8"}.uk-icon-question-circle-o:before{content:"\f29c"}.uk-icon-sign-language:before,.uk-icon-signing:before{content:"\f2a7"}.uk-icon-snapchat:before{content:"\f2ab"}.uk-icon-snapchat-ghost:before{content:"\f2ac"}.uk-icon-snapchat-square:before{content:"\f2ad"}.uk-icon-universal-access:before{content:"\f29a"}.uk-icon-viadeo:before{content:"\f2a9"}.uk-icon-viadeo-square:before{content:"\f2aa"}.uk-icon-volume-control-phone:before{content:"\f2a0"}.uk-icon-wheelchair-alt:before{content:"\f29b"}.uk-icon-wpbeginner:before{content:"\f297"}.uk-icon-wpforms:before{content:"\f298"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 0 6px rgba(0,0,0,.3)}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#00a8e6;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none;border:1px solid rgba(0,0,0,.06);border-radius:2px;text-shadow:0 1px 0 rgba(0,0,0,.1)}a.uk-badge:hover{color:#fff}.uk-badge-notification{box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#8cc14c}.uk-badge-warning{background-color:#faa732}.uk-badge-danger{background-color:#da314b}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091;border:1px solid rgba(45,112,145,.3);border-radius:4px;text-shadow:0 1px 0 #fff}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-alert-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-alert-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff;border-radius:4px}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity,transform,filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover.uk-hover .uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover.uk-hover .uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover.uk-hover .uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover.uk-hover .uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover.uk-hover [class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-column-]{-webkit-column-gap:25px;-moz-column-gap:25px;column-gap:25px}.uk-column-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}@media (min-width:480px){.uk-column-small-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-small-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-small-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-small-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-small-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:768px){.uk-column-medium-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-medium-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-medium-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-medium-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-medium-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:960px){.uk-column-large-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-large-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-large-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-large-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-large-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:1220px){.uk-column-xlarge-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-xlarge-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-xlarge-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-xlarge-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-xlarge-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown,.uk-dropdown-blank{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:200px}.uk-dropdown{padding:15px;background:#fff;color:#444;font-size:1rem;vertical-align:top;border:1px solid #ddd;border-radius:4px}.uk-open>.uk-dropdown,.uk-open>.uk-dropdown-blank{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-top{margin-top:-5px}.uk-dropdown-bottom{margin-top:5px}.uk-dropdown-left{margin-left:-5px}.uk-dropdown-right{margin-left:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:6px;background:#fff;color:#444;left:-1px}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-dropdown-navbar.uk-dropdown-flip{left:auto}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.3)}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);min-height:50px;border-radius:0}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}.uk-modal-dialog-blank{margin:0;padding:0;width:100%;max-width:100%;-webkit-transition:opacity .3s linear;transition:opacity .3s linear}.uk-modal-dialog-blank>.uk-close:first-child{position:absolute;top:20px;right:20px;z-index:1;margin:0;float:none}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px;margin:-20px -20px 15px -20px;padding:20px;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0;background:#fafafa}.uk-modal-footer{margin-top:15px;margin:15px -20px -20px -20px;padding:20px;border-top:1px solid #ddd;border-radius:0 0 4px 4px;background:#fafafa}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";display:block;font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-offcanvas-bar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-offcanvas-bar-flip:after{right:auto;left:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;float:left}.uk-align-medium-right{margin-left:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both;border-radius:3px}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;left:0;right:0}.uk-position-bottom{bottom:0;left:0;right:0}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important;max-width:100%}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px) and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-shadow:none}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444;text-shadow:none}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-tab{border-bottom-color:rgba(255,255,255,.2)}.uk-contrast .uk-tab>li>a{border-color:transparent;color:rgba(255,255,255,.7);text-shadow:none}.uk-contrast .uk-tab>li.uk-open>a,.uk-contrast .uk-tab>li>a:focus,.uk-contrast .uk-tab>li>a:hover{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-tab>li.uk-active>a{border-color:rgba(255,255,255,.2);border-bottom-color:transparent;background:#fff;color:#444}.uk-contrast .uk-tab-center{border-bottom-color:rgba(255,255,255,.2)}.uk-contrast .uk-tab-grid:before{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff;border-color:transparent}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-button-primary{background-color:#00a8e6;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444;border-color:transparent}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file | ||
| diff --git a/css/uikit.css b/css/uikit.css new file mode 100755 index 0000000..18d52e9 --- /dev/null +++ b/css/uikit.css | |||
| @@ -0,0 +1,8743 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Base | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Normalize default `font-family` and set `font-size` to support `rem` units | ||
| 7 | * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom | ||
| 8 | * 3. Style | ||
| 9 | */ | ||
| 10 | html { | ||
| 11 | /* 1 */ | ||
| 12 | font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 13 | /* 2 */ | ||
| 14 | -webkit-text-size-adjust: 100%; | ||
| 15 | -ms-text-size-adjust: 100%; | ||
| 16 | /* 3 */ | ||
| 17 | background: #fff; | ||
| 18 | color: #444; | ||
| 19 | } | ||
| 20 | /* | ||
| 21 | * Removes default margin. | ||
| 22 | */ | ||
| 23 | body { | ||
| 24 | margin: 0; | ||
| 25 | } | ||
| 26 | /* Links | ||
| 27 | ========================================================================== */ | ||
| 28 | /* | ||
| 29 | * Remove the gray background color from active links in IE 10. | ||
| 30 | */ | ||
| 31 | a { | ||
| 32 | background: transparent; | ||
| 33 | } | ||
| 34 | /* | ||
| 35 | * Improve readability of focused elements when they are also in an active/hover state. | ||
| 36 | */ | ||
| 37 | a:active, | ||
| 38 | a:hover { | ||
| 39 | outline: 0; | ||
| 40 | } | ||
| 41 | /* | ||
| 42 | * Style | ||
| 43 | */ | ||
| 44 | a, | ||
| 45 | .uk-link { | ||
| 46 | color: #07D; | ||
| 47 | text-decoration: none; | ||
| 48 | cursor: pointer; | ||
| 49 | } | ||
| 50 | a:hover, | ||
| 51 | .uk-link:hover { | ||
| 52 | color: #059; | ||
| 53 | text-decoration: underline; | ||
| 54 | } | ||
| 55 | /* Text-level semantics | ||
| 56 | ========================================================================== */ | ||
| 57 | /* | ||
| 58 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome. | ||
| 59 | */ | ||
| 60 | abbr[title] { | ||
| 61 | border-bottom: 1px dotted; | ||
| 62 | } | ||
| 63 | /* | ||
| 64 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. | ||
| 65 | */ | ||
| 66 | b, | ||
| 67 | strong { | ||
| 68 | font-weight: bold; | ||
| 69 | } | ||
| 70 | /* | ||
| 71 | * 1. Address odd `em`-unit font size rendering in all browsers. | ||
| 72 | * 2. Consolas has a better baseline in running text compared to `Courier` | ||
| 73 | */ | ||
| 74 | :not(pre) > code, | ||
| 75 | :not(pre) > kbd, | ||
| 76 | :not(pre) > samp { | ||
| 77 | /* 1 */ | ||
| 78 | font-size: 12px; | ||
| 79 | /* 2 */ | ||
| 80 | font-family: Consolas, monospace, serif; | ||
| 81 | /* 3 */ | ||
| 82 | color: #D05; | ||
| 83 | white-space: nowrap; | ||
| 84 | } | ||
| 85 | /* | ||
| 86 | * Emphasize | ||
| 87 | */ | ||
| 88 | em { | ||
| 89 | color: #D05; | ||
| 90 | } | ||
| 91 | /* | ||
| 92 | * Insert | ||
| 93 | */ | ||
| 94 | ins { | ||
| 95 | background: #ffa; | ||
| 96 | color: #444; | ||
| 97 | text-decoration: none; | ||
| 98 | } | ||
| 99 | /* | ||
| 100 | * Mark | ||
| 101 | * Note: Addresses styling not present in IE 8/9. | ||
| 102 | */ | ||
| 103 | mark { | ||
| 104 | background: #ffa; | ||
| 105 | color: #444; | ||
| 106 | } | ||
| 107 | /* | ||
| 108 | * Quote | ||
| 109 | */ | ||
| 110 | q { | ||
| 111 | font-style: italic; | ||
| 112 | } | ||
| 113 | /* | ||
| 114 | * Addresses inconsistent and variable font size in all browsers. | ||
| 115 | */ | ||
| 116 | small { | ||
| 117 | font-size: 80%; | ||
| 118 | } | ||
| 119 | /* | ||
| 120 | * Prevents `sub` and `sup` affecting `line-height` in all browsers. | ||
| 121 | */ | ||
| 122 | sub, | ||
| 123 | sup { | ||
| 124 | font-size: 75%; | ||
| 125 | line-height: 0; | ||
| 126 | position: relative; | ||
| 127 | vertical-align: baseline; | ||
| 128 | } | ||
| 129 | sup { | ||
| 130 | top: -0.5em; | ||
| 131 | } | ||
| 132 | sub { | ||
| 133 | bottom: -0.25em; | ||
| 134 | } | ||
| 135 | /* Embedded content | ||
| 136 | ========================================================================== */ | ||
| 137 | /* | ||
| 138 | * Remove the gap between embedded content and the bottom of their containers. | ||
| 139 | */ | ||
| 140 | audio, | ||
| 141 | canvas, | ||
| 142 | iframe, | ||
| 143 | img, | ||
| 144 | svg, | ||
| 145 | video { | ||
| 146 | vertical-align: middle; | ||
| 147 | } | ||
| 148 | /* | ||
| 149 | * Responsiveness | ||
| 150 | * 1. Sets a maximum width relative to the parent and auto scales the height | ||
| 151 | * 2. Corrects `max-width` behavior if padding and border are used | ||
| 152 | */ | ||
| 153 | audio, | ||
| 154 | canvas, | ||
| 155 | img, | ||
| 156 | svg, | ||
| 157 | video { | ||
| 158 | /* 1 */ | ||
| 159 | max-width: 100%; | ||
| 160 | height: auto; | ||
| 161 | /* 2 */ | ||
| 162 | box-sizing: border-box; | ||
| 163 | } | ||
| 164 | /* | ||
| 165 | * Preserve original dimensions | ||
| 166 | */ | ||
| 167 | .uk-img-preserve, | ||
| 168 | .uk-img-preserve audio, | ||
| 169 | .uk-img-preserve canvas, | ||
| 170 | .uk-img-preserve img, | ||
| 171 | .uk-img-preserve svg, | ||
| 172 | .uk-img-preserve video { | ||
| 173 | max-width: none; | ||
| 174 | } | ||
| 175 | /* | ||
| 176 | * Remove border when inside `a` element in IE 8/9/10. | ||
| 177 | */ | ||
| 178 | img { | ||
| 179 | border: 0; | ||
| 180 | } | ||
| 181 | /* | ||
| 182 | * Correct overflow not hidden in IE 9/10/11. | ||
| 183 | */ | ||
| 184 | svg:not(:root) { | ||
| 185 | overflow: hidden; | ||
| 186 | } | ||
| 187 | /* Block elements | ||
| 188 | ========================================================================== */ | ||
| 189 | /* | ||
| 190 | * Reset margin | ||
| 191 | */ | ||
| 192 | blockquote, | ||
| 193 | figure { | ||
| 194 | margin: 0; | ||
| 195 | } | ||
| 196 | /* | ||
| 197 | * Margins | ||
| 198 | */ | ||
| 199 | p, | ||
| 200 | ul, | ||
| 201 | ol, | ||
| 202 | dl, | ||
| 203 | blockquote, | ||
| 204 | pre, | ||
| 205 | address, | ||
| 206 | fieldset, | ||
| 207 | figure { | ||
| 208 | margin: 0 0 15px 0; | ||
| 209 | } | ||
| 210 | * + p, | ||
| 211 | * + ul, | ||
| 212 | * + ol, | ||
| 213 | * + dl, | ||
| 214 | * + blockquote, | ||
| 215 | * + pre, | ||
| 216 | * + address, | ||
| 217 | * + fieldset, | ||
| 218 | * + figure { | ||
| 219 | margin-top: 15px; | ||
| 220 | } | ||
| 221 | /* Headings | ||
| 222 | ========================================================================== */ | ||
| 223 | h1, | ||
| 224 | h2, | ||
| 225 | h3, | ||
| 226 | h4, | ||
| 227 | h5, | ||
| 228 | h6 { | ||
| 229 | margin: 0 0 15px 0; | ||
| 230 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 231 | font-weight: normal; | ||
| 232 | color: #444; | ||
| 233 | text-transform: none; | ||
| 234 | } | ||
| 235 | /* | ||
| 236 | * Margins | ||
| 237 | */ | ||
| 238 | * + h1, | ||
| 239 | * + h2, | ||
| 240 | * + h3, | ||
| 241 | * + h4, | ||
| 242 | * + h5, | ||
| 243 | * + h6 { | ||
| 244 | margin-top: 25px; | ||
| 245 | } | ||
| 246 | /* | ||
| 247 | * Sizes | ||
| 248 | */ | ||
| 249 | h1, | ||
| 250 | .uk-h1 { | ||
| 251 | font-size: 36px; | ||
| 252 | line-height: 42px; | ||
| 253 | } | ||
| 254 | h2, | ||
| 255 | .uk-h2 { | ||
| 256 | font-size: 24px; | ||
| 257 | line-height: 30px; | ||
| 258 | } | ||
| 259 | h3, | ||
| 260 | .uk-h3 { | ||
| 261 | font-size: 18px; | ||
| 262 | line-height: 24px; | ||
| 263 | } | ||
| 264 | h4, | ||
| 265 | .uk-h4 { | ||
| 266 | font-size: 16px; | ||
| 267 | line-height: 22px; | ||
| 268 | } | ||
| 269 | h5, | ||
| 270 | .uk-h5 { | ||
| 271 | font-size: 14px; | ||
| 272 | line-height: 20px; | ||
| 273 | } | ||
| 274 | h6, | ||
| 275 | .uk-h6 { | ||
| 276 | font-size: 12px; | ||
| 277 | line-height: 18px; | ||
| 278 | } | ||
| 279 | /* Lists | ||
| 280 | ========================================================================== */ | ||
| 281 | ul, | ||
| 282 | ol { | ||
| 283 | padding-left: 30px; | ||
| 284 | } | ||
| 285 | /* | ||
| 286 | * Reset margin for nested lists | ||
| 287 | */ | ||
| 288 | ul > li > ul, | ||
| 289 | ul > li > ol, | ||
| 290 | ol > li > ol, | ||
| 291 | ol > li > ul { | ||
| 292 | margin: 0; | ||
| 293 | } | ||
| 294 | /* Description lists | ||
| 295 | ========================================================================== */ | ||
| 296 | dt { | ||
| 297 | font-weight: bold; | ||
| 298 | } | ||
| 299 | dd { | ||
| 300 | margin-left: 0; | ||
| 301 | } | ||
| 302 | /* Horizontal rules | ||
| 303 | ========================================================================== */ | ||
| 304 | /* | ||
| 305 | * 1. Address differences between Firefox and other browsers. | ||
| 306 | * 2. Style | ||
| 307 | */ | ||
| 308 | hr { | ||
| 309 | /* 1 */ | ||
| 310 | box-sizing: content-box; | ||
| 311 | height: 0; | ||
| 312 | /* 2 */ | ||
| 313 | margin: 15px 0; | ||
| 314 | border: 0; | ||
| 315 | border-top: 1px solid #ddd; | ||
| 316 | } | ||
| 317 | /* Address | ||
| 318 | ========================================================================== */ | ||
| 319 | address { | ||
| 320 | font-style: normal; | ||
| 321 | } | ||
| 322 | /* Blockquotes | ||
| 323 | ========================================================================== */ | ||
| 324 | blockquote { | ||
| 325 | padding-left: 15px; | ||
| 326 | border-left: 5px solid #ddd; | ||
| 327 | font-size: 16px; | ||
| 328 | line-height: 22px; | ||
| 329 | font-style: italic; | ||
| 330 | } | ||
| 331 | /* Preformatted text | ||
| 332 | ========================================================================== */ | ||
| 333 | /* | ||
| 334 | * 1. Contain overflow in all browsers. | ||
| 335 | */ | ||
| 336 | pre { | ||
| 337 | padding: 10px; | ||
| 338 | background: #f5f5f5; | ||
| 339 | font: 12px / 18px Consolas, monospace, serif; | ||
| 340 | color: #444; | ||
| 341 | -moz-tab-size: 4; | ||
| 342 | tab-size: 4; | ||
| 343 | /* 1 */ | ||
| 344 | overflow: auto; | ||
| 345 | } | ||
| 346 | /* Selection pseudo-element | ||
| 347 | ========================================================================== */ | ||
| 348 | ::-moz-selection { | ||
| 349 | background: #39f; | ||
| 350 | color: #fff; | ||
| 351 | text-shadow: none; | ||
| 352 | } | ||
| 353 | ::selection { | ||
| 354 | background: #39f; | ||
| 355 | color: #fff; | ||
| 356 | text-shadow: none; | ||
| 357 | } | ||
| 358 | /* HTML5 elements | ||
| 359 | ========================================================================== */ | ||
| 360 | /* | ||
| 361 | * Correct `block` display not defined for any HTML5 element in IE 8/9. | ||
| 362 | * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. | ||
| 363 | * Correct `block` display not defined for `main` in IE 11. | ||
| 364 | */ | ||
| 365 | article, | ||
| 366 | aside, | ||
| 367 | details, | ||
| 368 | figcaption, | ||
| 369 | figure, | ||
| 370 | footer, | ||
| 371 | header, | ||
| 372 | main, | ||
| 373 | nav, | ||
| 374 | section, | ||
| 375 | summary { | ||
| 376 | display: block; | ||
| 377 | } | ||
| 378 | /* | ||
| 379 | * Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. | ||
| 380 | */ | ||
| 381 | progress { | ||
| 382 | vertical-align: baseline; | ||
| 383 | } | ||
| 384 | /* | ||
| 385 | * Prevent displaying `audio` without controls in Chrome, Safari and Opera | ||
| 386 | */ | ||
| 387 | audio:not([controls]) { | ||
| 388 | display: none; | ||
| 389 | } | ||
| 390 | /* | ||
| 391 | * Address `[hidden]` styling not present in IE 8/9/10. | ||
| 392 | * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. | ||
| 393 | */ | ||
| 394 | [hidden], | ||
| 395 | template { | ||
| 396 | display: none; | ||
| 397 | } | ||
| 398 | /* Iframe | ||
| 399 | ========================================================================== */ | ||
| 400 | iframe { | ||
| 401 | border: 0; | ||
| 402 | } | ||
| 403 | /* Fix viewport for IE10 snap mode | ||
| 404 | ========================================================================== */ | ||
| 405 | @media screen and (max-width: 400px) { | ||
| 406 | @-ms-viewport { | ||
| 407 | width: device-width; | ||
| 408 | } | ||
| 409 | } | ||
| 410 | /* ======================================================================== | ||
| 411 | Component: Grid | ||
| 412 | ========================================================================== */ | ||
| 413 | /* | ||
| 414 | * 1. Makes grid more robust so that it can be used with other block elements like lists | ||
| 415 | */ | ||
| 416 | .uk-grid { | ||
| 417 | display: -ms-flexbox; | ||
| 418 | display: -webkit-flex; | ||
| 419 | display: flex; | ||
| 420 | -ms-flex-wrap: wrap; | ||
| 421 | -webkit-flex-wrap: wrap; | ||
| 422 | flex-wrap: wrap; | ||
| 423 | /* 1 */ | ||
| 424 | margin: 0; | ||
| 425 | padding: 0; | ||
| 426 | list-style: none; | ||
| 427 | } | ||
| 428 | /* | ||
| 429 | * DEPRECATED | ||
| 430 | * Micro clearfix | ||
| 431 | * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit | ||
| 432 | */ | ||
| 433 | .uk-grid:before, | ||
| 434 | .uk-grid:after { | ||
| 435 | content: ""; | ||
| 436 | display: block; | ||
| 437 | overflow: hidden; | ||
| 438 | } | ||
| 439 | .uk-grid:after { | ||
| 440 | clear: both; | ||
| 441 | } | ||
| 442 | /* | ||
| 443 | * Grid cell | ||
| 444 | * 1. Space is allocated solely based on content dimensions | ||
| 445 | * 2. Makes grid more robust so that it can be used with other block elements | ||
| 446 | * 3. DEPRECATED Using `float` to support IE9 | ||
| 447 | */ | ||
| 448 | .uk-grid > * { | ||
| 449 | /* 1 */ | ||
| 450 | -ms-flex: none; | ||
| 451 | -webkit-flex: none; | ||
| 452 | flex: none; | ||
| 453 | /* 2 */ | ||
| 454 | margin: 0; | ||
| 455 | /* 3 */ | ||
| 456 | float: left; | ||
| 457 | } | ||
| 458 | /* | ||
| 459 | * Remove margin from the last-child | ||
| 460 | */ | ||
| 461 | .uk-grid > * > :last-child { | ||
| 462 | margin-bottom: 0; | ||
| 463 | } | ||
| 464 | /* Grid gutter | ||
| 465 | ========================================================================== */ | ||
| 466 | /* | ||
| 467 | * Default gutter | ||
| 468 | */ | ||
| 469 | /* Horizontal */ | ||
| 470 | .uk-grid { | ||
| 471 | margin-left: -25px; | ||
| 472 | } | ||
| 473 | .uk-grid > * { | ||
| 474 | padding-left: 25px; | ||
| 475 | } | ||
| 476 | /* Vertical */ | ||
| 477 | .uk-grid + .uk-grid, | ||
| 478 | .uk-grid-margin, | ||
| 479 | .uk-grid > * > .uk-panel + .uk-panel { | ||
| 480 | margin-top: 25px; | ||
| 481 | } | ||
| 482 | /* Large screen and bigger */ | ||
| 483 | @media (min-width: 1220px) { | ||
| 484 | /* Horizontal */ | ||
| 485 | .uk-grid { | ||
| 486 | margin-left: -35px; | ||
| 487 | } | ||
| 488 | .uk-grid > * { | ||
| 489 | padding-left: 35px; | ||
| 490 | } | ||
| 491 | /* Vertical */ | ||
| 492 | .uk-grid + .uk-grid, | ||
| 493 | .uk-grid-margin, | ||
| 494 | .uk-grid > * > .uk-panel + .uk-panel { | ||
| 495 | margin-top: 35px; | ||
| 496 | } | ||
| 497 | } | ||
| 498 | /* | ||
| 499 | * Collapse gutter | ||
| 500 | */ | ||
| 501 | /* Horizontal */ | ||
| 502 | .uk-grid-collapse { | ||
| 503 | margin-left: 0; | ||
| 504 | } | ||
| 505 | .uk-grid-collapse > * { | ||
| 506 | padding-left: 0; | ||
| 507 | } | ||
| 508 | /* Vertical */ | ||
| 509 | .uk-grid-collapse + .uk-grid-collapse, | ||
| 510 | .uk-grid-collapse > .uk-grid-margin, | ||
| 511 | .uk-grid-collapse > * > .uk-panel + .uk-panel { | ||
| 512 | margin-top: 0; | ||
| 513 | } | ||
| 514 | /* | ||
| 515 | * Small gutter | ||
| 516 | */ | ||
| 517 | /* Horizontal */ | ||
| 518 | .uk-grid-small { | ||
| 519 | margin-left: -10px; | ||
| 520 | } | ||
| 521 | .uk-grid-small > * { | ||
| 522 | padding-left: 10px; | ||
| 523 | } | ||
| 524 | /* Vertical */ | ||
| 525 | .uk-grid-small + .uk-grid-small, | ||
| 526 | .uk-grid-small > .uk-grid-margin, | ||
| 527 | .uk-grid-small > * > .uk-panel + .uk-panel { | ||
| 528 | margin-top: 10px; | ||
| 529 | } | ||
| 530 | /* | ||
| 531 | * Medium gutter | ||
| 532 | */ | ||
| 533 | /* Horizontal */ | ||
| 534 | .uk-grid-medium { | ||
| 535 | margin-left: -25px; | ||
| 536 | } | ||
| 537 | .uk-grid-medium > * { | ||
| 538 | padding-left: 25px; | ||
| 539 | } | ||
| 540 | /* Vertical */ | ||
| 541 | .uk-grid-medium + .uk-grid-medium, | ||
| 542 | .uk-grid-medium > .uk-grid-margin, | ||
| 543 | .uk-grid-medium > * > .uk-panel + .uk-panel { | ||
| 544 | margin-top: 25px; | ||
| 545 | } | ||
| 546 | /* | ||
| 547 | * Large gutter | ||
| 548 | */ | ||
| 549 | /* Large screen and bigger */ | ||
| 550 | @media (min-width: 960px) { | ||
| 551 | /* Horizontal */ | ||
| 552 | .uk-grid-large { | ||
| 553 | margin-left: -35px; | ||
| 554 | } | ||
| 555 | .uk-grid-large > * { | ||
| 556 | padding-left: 35px; | ||
| 557 | } | ||
| 558 | /* Vertical */ | ||
| 559 | .uk-grid-large + .uk-grid-large, | ||
| 560 | .uk-grid-large-margin, | ||
| 561 | .uk-grid-large > * > .uk-panel + .uk-panel { | ||
| 562 | margin-top: 35px; | ||
| 563 | } | ||
| 564 | } | ||
| 565 | /* Extra Large screens */ | ||
| 566 | @media (min-width: 1220px) { | ||
| 567 | /* Horizontal */ | ||
| 568 | .uk-grid-large { | ||
| 569 | margin-left: -50px; | ||
| 570 | } | ||
| 571 | .uk-grid-large > * { | ||
| 572 | padding-left: 50px; | ||
| 573 | } | ||
| 574 | /* Vertical */ | ||
| 575 | .uk-grid-large + .uk-grid-large, | ||
| 576 | .uk-grid-large-margin, | ||
| 577 | .uk-grid-large > * > .uk-panel + .uk-panel { | ||
| 578 | margin-top: 50px; | ||
| 579 | } | ||
| 580 | } | ||
| 581 | /* Modifier: `uk-grid-divider` | ||
| 582 | ========================================================================== */ | ||
| 583 | /* | ||
| 584 | * Horizontal divider | ||
| 585 | * Only works with the default gutter. Does not work with gutter collapse, small or large. | ||
| 586 | * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. | ||
| 587 | */ | ||
| 588 | .uk-grid-divider:not(:empty) { | ||
| 589 | margin-left: -25px; | ||
| 590 | margin-right: -25px; | ||
| 591 | } | ||
| 592 | .uk-grid-divider > * { | ||
| 593 | padding-left: 25px; | ||
| 594 | padding-right: 25px; | ||
| 595 | } | ||
| 596 | .uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), | ||
| 597 | .uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), | ||
| 598 | .uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), | ||
| 599 | .uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), | ||
| 600 | .uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), | ||
| 601 | .uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), | ||
| 602 | .uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), | ||
| 603 | .uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), | ||
| 604 | .uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { | ||
| 605 | border-left: 1px solid #ddd; | ||
| 606 | } | ||
| 607 | /* Tablet and bigger */ | ||
| 608 | @media (min-width: 768px) { | ||
| 609 | .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { | ||
| 610 | border-left: 1px solid #ddd; | ||
| 611 | } | ||
| 612 | } | ||
| 613 | /* Desktop and bigger */ | ||
| 614 | @media (min-width: 960px) { | ||
| 615 | .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { | ||
| 616 | border-left: 1px solid #ddd; | ||
| 617 | } | ||
| 618 | } | ||
| 619 | /* Large screen and bigger */ | ||
| 620 | @media (min-width: 1220px) { | ||
| 621 | /* | ||
| 622 | * Large gutter | ||
| 623 | */ | ||
| 624 | .uk-grid-divider:not(:empty) { | ||
| 625 | margin-left: -35px; | ||
| 626 | margin-right: -35px; | ||
| 627 | } | ||
| 628 | .uk-grid-divider > * { | ||
| 629 | padding-left: 35px; | ||
| 630 | padding-right: 35px; | ||
| 631 | } | ||
| 632 | .uk-grid-divider:empty { | ||
| 633 | margin-top: 35px; | ||
| 634 | margin-bottom: 35px; | ||
| 635 | } | ||
| 636 | } | ||
| 637 | /* | ||
| 638 | * Vertical divider | ||
| 639 | */ | ||
| 640 | .uk-grid-divider:empty { | ||
| 641 | margin-top: 25px; | ||
| 642 | margin-bottom: 25px; | ||
| 643 | border-top: 1px solid #ddd; | ||
| 644 | } | ||
| 645 | /* Match panels in grids | ||
| 646 | ========================================================================== */ | ||
| 647 | /* | ||
| 648 | * 1. Behave like a block element | ||
| 649 | */ | ||
| 650 | .uk-grid-match > * { | ||
| 651 | display: -ms-flexbox; | ||
| 652 | display: -webkit-flex; | ||
| 653 | display: flex; | ||
| 654 | /* 1 */ | ||
| 655 | -ms-flex-wrap: wrap; | ||
| 656 | -webkit-flex-wrap: wrap; | ||
| 657 | flex-wrap: wrap; | ||
| 658 | } | ||
| 659 | .uk-grid-match > * > * { | ||
| 660 | /* 1 */ | ||
| 661 | -ms-flex: none; | ||
| 662 | -webkit-flex: none; | ||
| 663 | flex: none; | ||
| 664 | box-sizing: border-box; | ||
| 665 | width: 100%; | ||
| 666 | } | ||
| 667 | /* Even grid cell widths | ||
| 668 | ========================================================================== */ | ||
| 669 | [class*='uk-grid-width'] > * { | ||
| 670 | box-sizing: border-box; | ||
| 671 | width: 100%; | ||
| 672 | } | ||
| 673 | .uk-grid-width-1-2 > * { | ||
| 674 | width: 50%; | ||
| 675 | } | ||
| 676 | .uk-grid-width-1-3 > * { | ||
| 677 | width: 33.333%; | ||
| 678 | } | ||
| 679 | .uk-grid-width-1-4 > * { | ||
| 680 | width: 25%; | ||
| 681 | } | ||
| 682 | .uk-grid-width-1-5 > * { | ||
| 683 | width: 20%; | ||
| 684 | } | ||
| 685 | .uk-grid-width-1-6 > * { | ||
| 686 | width: 16.666%; | ||
| 687 | } | ||
| 688 | .uk-grid-width-1-10 > * { | ||
| 689 | width: 10%; | ||
| 690 | } | ||
| 691 | .uk-grid-width-auto > * { | ||
| 692 | width: auto; | ||
| 693 | } | ||
| 694 | /* Phone landscape and bigger */ | ||
| 695 | @media (min-width: 480px) { | ||
| 696 | .uk-grid-width-small-1-1 > * { | ||
| 697 | width: 100%; | ||
| 698 | } | ||
| 699 | .uk-grid-width-small-1-2 > * { | ||
| 700 | width: 50%; | ||
| 701 | } | ||
| 702 | .uk-grid-width-small-1-3 > * { | ||
| 703 | width: 33.333%; | ||
| 704 | } | ||
| 705 | .uk-grid-width-small-1-4 > * { | ||
| 706 | width: 25%; | ||
| 707 | } | ||
| 708 | .uk-grid-width-small-1-5 > * { | ||
| 709 | width: 20%; | ||
| 710 | } | ||
| 711 | .uk-grid-width-small-1-6 > * { | ||
| 712 | width: 16.666%; | ||
| 713 | } | ||
| 714 | .uk-grid-width-small-1-10 > * { | ||
| 715 | width: 10%; | ||
| 716 | } | ||
| 717 | } | ||
| 718 | /* Tablet and bigger */ | ||
| 719 | @media (min-width: 768px) { | ||
| 720 | .uk-grid-width-medium-1-1 > * { | ||
| 721 | width: 100%; | ||
| 722 | } | ||
| 723 | .uk-grid-width-medium-1-2 > * { | ||
| 724 | width: 50%; | ||
| 725 | } | ||
| 726 | .uk-grid-width-medium-1-3 > * { | ||
| 727 | width: 33.333%; | ||
| 728 | } | ||
| 729 | .uk-grid-width-medium-1-4 > * { | ||
| 730 | width: 25%; | ||
| 731 | } | ||
| 732 | .uk-grid-width-medium-1-5 > * { | ||
| 733 | width: 20%; | ||
| 734 | } | ||
| 735 | .uk-grid-width-medium-1-6 > * { | ||
| 736 | width: 16.666%; | ||
| 737 | } | ||
| 738 | .uk-grid-width-medium-1-10 > * { | ||
| 739 | width: 10%; | ||
| 740 | } | ||
| 741 | } | ||
| 742 | /* Desktop and bigger */ | ||
| 743 | @media (min-width: 960px) { | ||
| 744 | .uk-grid-width-large-1-1 > * { | ||
| 745 | width: 100%; | ||
| 746 | } | ||
| 747 | .uk-grid-width-large-1-2 > * { | ||
| 748 | width: 50%; | ||
| 749 | } | ||
| 750 | .uk-grid-width-large-1-3 > * { | ||
| 751 | width: 33.333%; | ||
| 752 | } | ||
| 753 | .uk-grid-width-large-1-4 > * { | ||
| 754 | width: 25%; | ||
| 755 | } | ||
| 756 | .uk-grid-width-large-1-5 > * { | ||
| 757 | width: 20%; | ||
| 758 | } | ||
| 759 | .uk-grid-width-large-1-6 > * { | ||
| 760 | width: 16.666%; | ||
| 761 | } | ||
| 762 | .uk-grid-width-large-1-10 > * { | ||
| 763 | width: 10%; | ||
| 764 | } | ||
| 765 | } | ||
| 766 | /* Large screen and bigger */ | ||
| 767 | @media (min-width: 1220px) { | ||
| 768 | .uk-grid-width-xlarge-1-1 > * { | ||
| 769 | width: 100%; | ||
| 770 | } | ||
| 771 | .uk-grid-width-xlarge-1-2 > * { | ||
| 772 | width: 50%; | ||
| 773 | } | ||
| 774 | .uk-grid-width-xlarge-1-3 > * { | ||
| 775 | width: 33.333%; | ||
| 776 | } | ||
| 777 | .uk-grid-width-xlarge-1-4 > * { | ||
| 778 | width: 25%; | ||
| 779 | } | ||
| 780 | .uk-grid-width-xlarge-1-5 > * { | ||
| 781 | width: 20%; | ||
| 782 | } | ||
| 783 | .uk-grid-width-xlarge-1-6 > * { | ||
| 784 | width: 16.666%; | ||
| 785 | } | ||
| 786 | .uk-grid-width-xlarge-1-10 > * { | ||
| 787 | width: 10%; | ||
| 788 | } | ||
| 789 | } | ||
| 790 | /* Sub-objects: `uk-width-*` | ||
| 791 | ========================================================================== */ | ||
| 792 | [class*='uk-width'] { | ||
| 793 | box-sizing: border-box; | ||
| 794 | width: 100%; | ||
| 795 | } | ||
| 796 | /* | ||
| 797 | * Widths | ||
| 798 | */ | ||
| 799 | /* Whole */ | ||
| 800 | .uk-width-1-1 { | ||
| 801 | width: 100%; | ||
| 802 | } | ||
| 803 | /* Halves */ | ||
| 804 | .uk-width-1-2, | ||
| 805 | .uk-width-2-4, | ||
| 806 | .uk-width-3-6, | ||
| 807 | .uk-width-5-10 { | ||
| 808 | width: 50%; | ||
| 809 | } | ||
| 810 | /* Thirds */ | ||
| 811 | .uk-width-1-3, | ||
| 812 | .uk-width-2-6 { | ||
| 813 | width: 33.333%; | ||
| 814 | } | ||
| 815 | .uk-width-2-3, | ||
| 816 | .uk-width-4-6 { | ||
| 817 | width: 66.666%; | ||
| 818 | } | ||
| 819 | /* Quarters */ | ||
| 820 | .uk-width-1-4 { | ||
| 821 | width: 25%; | ||
| 822 | } | ||
| 823 | .uk-width-3-4 { | ||
| 824 | width: 75%; | ||
| 825 | } | ||
| 826 | /* Fifths */ | ||
| 827 | .uk-width-1-5, | ||
| 828 | .uk-width-2-10 { | ||
| 829 | width: 20%; | ||
| 830 | } | ||
| 831 | .uk-width-2-5, | ||
| 832 | .uk-width-4-10 { | ||
| 833 | width: 40%; | ||
| 834 | } | ||
| 835 | .uk-width-3-5, | ||
| 836 | .uk-width-6-10 { | ||
| 837 | width: 60%; | ||
| 838 | } | ||
| 839 | .uk-width-4-5, | ||
| 840 | .uk-width-8-10 { | ||
| 841 | width: 80%; | ||
| 842 | } | ||
| 843 | /* Sixths */ | ||
| 844 | .uk-width-1-6 { | ||
| 845 | width: 16.666%; | ||
| 846 | } | ||
| 847 | .uk-width-5-6 { | ||
| 848 | width: 83.333%; | ||
| 849 | } | ||
| 850 | /* Tenths */ | ||
| 851 | .uk-width-1-10 { | ||
| 852 | width: 10%; | ||
| 853 | } | ||
| 854 | .uk-width-3-10 { | ||
| 855 | width: 30%; | ||
| 856 | } | ||
| 857 | .uk-width-7-10 { | ||
| 858 | width: 70%; | ||
| 859 | } | ||
| 860 | .uk-width-9-10 { | ||
| 861 | width: 90%; | ||
| 862 | } | ||
| 863 | /* Phone landscape and bigger */ | ||
| 864 | @media (min-width: 480px) { | ||
| 865 | /* Whole */ | ||
| 866 | .uk-width-small-1-1 { | ||
| 867 | width: 100%; | ||
| 868 | } | ||
| 869 | /* Halves */ | ||
| 870 | .uk-width-small-1-2, | ||
| 871 | .uk-width-small-2-4, | ||
| 872 | .uk-width-small-3-6, | ||
| 873 | .uk-width-small-5-10 { | ||
| 874 | width: 50%; | ||
| 875 | } | ||
| 876 | /* Thirds */ | ||
| 877 | .uk-width-small-1-3, | ||
| 878 | .uk-width-small-2-6 { | ||
| 879 | width: 33.333%; | ||
| 880 | } | ||
| 881 | .uk-width-small-2-3, | ||
| 882 | .uk-width-small-4-6 { | ||
| 883 | width: 66.666%; | ||
| 884 | } | ||
| 885 | /* Quarters */ | ||
| 886 | .uk-width-small-1-4 { | ||
| 887 | width: 25%; | ||
| 888 | } | ||
| 889 | .uk-width-small-3-4 { | ||
| 890 | width: 75%; | ||
| 891 | } | ||
| 892 | /* Fifths */ | ||
| 893 | .uk-width-small-1-5, | ||
| 894 | .uk-width-small-2-10 { | ||
| 895 | width: 20%; | ||
| 896 | } | ||
| 897 | .uk-width-small-2-5, | ||
| 898 | .uk-width-small-4-10 { | ||
| 899 | width: 40%; | ||
| 900 | } | ||
| 901 | .uk-width-small-3-5, | ||
| 902 | .uk-width-small-6-10 { | ||
| 903 | width: 60%; | ||
| 904 | } | ||
| 905 | .uk-width-small-4-5, | ||
| 906 | .uk-width-small-8-10 { | ||
| 907 | width: 80%; | ||
| 908 | } | ||
| 909 | /* Sixths */ | ||
| 910 | .uk-width-small-1-6 { | ||
| 911 | width: 16.666%; | ||
| 912 | } | ||
| 913 | .uk-width-small-5-6 { | ||
| 914 | width: 83.333%; | ||
| 915 | } | ||
| 916 | /* Tenths */ | ||
| 917 | .uk-width-small-1-10 { | ||
| 918 | width: 10%; | ||
| 919 | } | ||
| 920 | .uk-width-small-3-10 { | ||
| 921 | width: 30%; | ||
| 922 | } | ||
| 923 | .uk-width-small-7-10 { | ||
| 924 | width: 70%; | ||
| 925 | } | ||
| 926 | .uk-width-small-9-10 { | ||
| 927 | width: 90%; | ||
| 928 | } | ||
| 929 | } | ||
| 930 | /* Tablet and bigger */ | ||
| 931 | @media (min-width: 768px) { | ||
| 932 | /* Whole */ | ||
| 933 | .uk-width-medium-1-1 { | ||
| 934 | width: 100%; | ||
| 935 | } | ||
| 936 | /* Halves */ | ||
| 937 | .uk-width-medium-1-2, | ||
| 938 | .uk-width-medium-2-4, | ||
| 939 | .uk-width-medium-3-6, | ||
| 940 | .uk-width-medium-5-10 { | ||
| 941 | width: 50%; | ||
| 942 | } | ||
| 943 | /* Thirds */ | ||
| 944 | .uk-width-medium-1-3, | ||
| 945 | .uk-width-medium-2-6 { | ||
| 946 | width: 33.333%; | ||
| 947 | } | ||
| 948 | .uk-width-medium-2-3, | ||
| 949 | .uk-width-medium-4-6 { | ||
| 950 | width: 66.666%; | ||
| 951 | } | ||
| 952 | /* Quarters */ | ||
| 953 | .uk-width-medium-1-4 { | ||
| 954 | width: 25%; | ||
| 955 | } | ||
| 956 | .uk-width-medium-3-4 { | ||
| 957 | width: 75%; | ||
| 958 | } | ||
| 959 | /* Fifths */ | ||
| 960 | .uk-width-medium-1-5, | ||
| 961 | .uk-width-medium-2-10 { | ||
| 962 | width: 20%; | ||
| 963 | } | ||
| 964 | .uk-width-medium-2-5, | ||
| 965 | .uk-width-medium-4-10 { | ||
| 966 | width: 40%; | ||
| 967 | } | ||
| 968 | .uk-width-medium-3-5, | ||
| 969 | .uk-width-medium-6-10 { | ||
| 970 | width: 60%; | ||
| 971 | } | ||
| 972 | .uk-width-medium-4-5, | ||
| 973 | .uk-width-medium-8-10 { | ||
| 974 | width: 80%; | ||
| 975 | } | ||
| 976 | /* Sixths */ | ||
| 977 | .uk-width-medium-1-6 { | ||
| 978 | width: 16.666%; | ||
| 979 | } | ||
| 980 | .uk-width-medium-5-6 { | ||
| 981 | width: 83.333%; | ||
| 982 | } | ||
| 983 | /* Tenths */ | ||
| 984 | .uk-width-medium-1-10 { | ||
| 985 | width: 10%; | ||
| 986 | } | ||
| 987 | .uk-width-medium-3-10 { | ||
| 988 | width: 30%; | ||
| 989 | } | ||
| 990 | .uk-width-medium-7-10 { | ||
| 991 | width: 70%; | ||
| 992 | } | ||
| 993 | .uk-width-medium-9-10 { | ||
| 994 | width: 90%; | ||
| 995 | } | ||
| 996 | } | ||
| 997 | /* Desktop and bigger */ | ||
| 998 | @media (min-width: 960px) { | ||
| 999 | /* Whole */ | ||
| 1000 | .uk-width-large-1-1 { | ||
| 1001 | width: 100%; | ||
| 1002 | } | ||
| 1003 | /* Halves */ | ||
| 1004 | .uk-width-large-1-2, | ||
| 1005 | .uk-width-large-2-4, | ||
| 1006 | .uk-width-large-3-6, | ||
| 1007 | .uk-width-large-5-10 { | ||
| 1008 | width: 50%; | ||
| 1009 | } | ||
| 1010 | /* Thirds */ | ||
| 1011 | .uk-width-large-1-3, | ||
| 1012 | .uk-width-large-2-6 { | ||
| 1013 | width: 33.333%; | ||
| 1014 | } | ||
| 1015 | .uk-width-large-2-3, | ||
| 1016 | .uk-width-large-4-6 { | ||
| 1017 | width: 66.666%; | ||
| 1018 | } | ||
| 1019 | /* Quarters */ | ||
| 1020 | .uk-width-large-1-4 { | ||
| 1021 | width: 25%; | ||
| 1022 | } | ||
| 1023 | .uk-width-large-3-4 { | ||
| 1024 | width: 75%; | ||
| 1025 | } | ||
| 1026 | /* Fifths */ | ||
| 1027 | .uk-width-large-1-5, | ||
| 1028 | .uk-width-large-2-10 { | ||
| 1029 | width: 20%; | ||
| 1030 | } | ||
| 1031 | .uk-width-large-2-5, | ||
| 1032 | .uk-width-large-4-10 { | ||
| 1033 | width: 40%; | ||
| 1034 | } | ||
| 1035 | .uk-width-large-3-5, | ||
| 1036 | .uk-width-large-6-10 { | ||
| 1037 | width: 60%; | ||
| 1038 | } | ||
| 1039 | .uk-width-large-4-5, | ||
| 1040 | .uk-width-large-8-10 { | ||
| 1041 | width: 80%; | ||
| 1042 | } | ||
| 1043 | /* Sixths */ | ||
| 1044 | .uk-width-large-1-6 { | ||
| 1045 | width: 16.666%; | ||
| 1046 | } | ||
| 1047 | .uk-width-large-5-6 { | ||
| 1048 | width: 83.333%; | ||
| 1049 | } | ||
| 1050 | /* Tenths */ | ||
| 1051 | .uk-width-large-1-10 { | ||
| 1052 | width: 10%; | ||
| 1053 | } | ||
| 1054 | .uk-width-large-3-10 { | ||
| 1055 | width: 30%; | ||
| 1056 | } | ||
| 1057 | .uk-width-large-7-10 { | ||
| 1058 | width: 70%; | ||
| 1059 | } | ||
| 1060 | .uk-width-large-9-10 { | ||
| 1061 | width: 90%; | ||
| 1062 | } | ||
| 1063 | } | ||
| 1064 | /* Large screen and bigger */ | ||
| 1065 | @media (min-width: 1220px) { | ||
| 1066 | /* Whole */ | ||
| 1067 | .uk-width-xlarge-1-1 { | ||
| 1068 | width: 100%; | ||
| 1069 | } | ||
| 1070 | /* Halves */ | ||
| 1071 | .uk-width-xlarge-1-2, | ||
| 1072 | .uk-width-xlarge-2-4, | ||
| 1073 | .uk-width-xlarge-3-6, | ||
| 1074 | .uk-width-xlarge-5-10 { | ||
| 1075 | width: 50%; | ||
| 1076 | } | ||
| 1077 | /* Thirds */ | ||
| 1078 | .uk-width-xlarge-1-3, | ||
| 1079 | .uk-width-xlarge-2-6 { | ||
| 1080 | width: 33.333%; | ||
| 1081 | } | ||
| 1082 | .uk-width-xlarge-2-3, | ||
| 1083 | .uk-width-xlarge-4-6 { | ||
| 1084 | width: 66.666%; | ||
| 1085 | } | ||
| 1086 | /* Quarters */ | ||
| 1087 | .uk-width-xlarge-1-4 { | ||
| 1088 | width: 25%; | ||
| 1089 | } | ||
| 1090 | .uk-width-xlarge-3-4 { | ||
| 1091 | width: 75%; | ||
| 1092 | } | ||
| 1093 | /* Fifths */ | ||
| 1094 | .uk-width-xlarge-1-5, | ||
| 1095 | .uk-width-xlarge-2-10 { | ||
| 1096 | width: 20%; | ||
| 1097 | } | ||
| 1098 | .uk-width-xlarge-2-5, | ||
| 1099 | .uk-width-xlarge-4-10 { | ||
| 1100 | width: 40%; | ||
| 1101 | } | ||
| 1102 | .uk-width-xlarge-3-5, | ||
| 1103 | .uk-width-xlarge-6-10 { | ||
| 1104 | width: 60%; | ||
| 1105 | } | ||
| 1106 | .uk-width-xlarge-4-5, | ||
| 1107 | .uk-width-xlarge-8-10 { | ||
| 1108 | width: 80%; | ||
| 1109 | } | ||
| 1110 | /* Sixths */ | ||
| 1111 | .uk-width-xlarge-1-6 { | ||
| 1112 | width: 16.666%; | ||
| 1113 | } | ||
| 1114 | .uk-width-xlarge-5-6 { | ||
| 1115 | width: 83.333%; | ||
| 1116 | } | ||
| 1117 | /* Tenths */ | ||
| 1118 | .uk-width-xlarge-1-10 { | ||
| 1119 | width: 10%; | ||
| 1120 | } | ||
| 1121 | .uk-width-xlarge-3-10 { | ||
| 1122 | width: 30%; | ||
| 1123 | } | ||
| 1124 | .uk-width-xlarge-7-10 { | ||
| 1125 | width: 70%; | ||
| 1126 | } | ||
| 1127 | .uk-width-xlarge-9-10 { | ||
| 1128 | width: 90%; | ||
| 1129 | } | ||
| 1130 | } | ||
| 1131 | /* Sub-object: `uk-push-*` and `uk-pull-*` | ||
| 1132 | ========================================================================== */ | ||
| 1133 | /* | ||
| 1134 | * Source ordering | ||
| 1135 | * Works only with `uk-width-medium-*` | ||
| 1136 | */ | ||
| 1137 | /* Tablet and bigger */ | ||
| 1138 | @media (min-width: 768px) { | ||
| 1139 | [class*='uk-push-'], | ||
| 1140 | [class*='uk-pull-'] { | ||
| 1141 | position: relative; | ||
| 1142 | } | ||
| 1143 | /* | ||
| 1144 | * Push | ||
| 1145 | */ | ||
| 1146 | /* Halves */ | ||
| 1147 | .uk-push-1-2, | ||
| 1148 | .uk-push-2-4, | ||
| 1149 | .uk-push-3-6, | ||
| 1150 | .uk-push-5-10 { | ||
| 1151 | left: 50%; | ||
| 1152 | } | ||
| 1153 | /* Thirds */ | ||
| 1154 | .uk-push-1-3, | ||
| 1155 | .uk-push-2-6 { | ||
| 1156 | left: 33.333%; | ||
| 1157 | } | ||
| 1158 | .uk-push-2-3, | ||
| 1159 | .uk-push-4-6 { | ||
| 1160 | left: 66.666%; | ||
| 1161 | } | ||
| 1162 | /* Quarters */ | ||
| 1163 | .uk-push-1-4 { | ||
| 1164 | left: 25%; | ||
| 1165 | } | ||
| 1166 | .uk-push-3-4 { | ||
| 1167 | left: 75%; | ||
| 1168 | } | ||
| 1169 | /* Fifths */ | ||
| 1170 | .uk-push-1-5, | ||
| 1171 | .uk-push-2-10 { | ||
| 1172 | left: 20%; | ||
| 1173 | } | ||
| 1174 | .uk-push-2-5, | ||
| 1175 | .uk-push-4-10 { | ||
| 1176 | left: 40%; | ||
| 1177 | } | ||
| 1178 | .uk-push-3-5, | ||
| 1179 | .uk-push-6-10 { | ||
| 1180 | left: 60%; | ||
| 1181 | } | ||
| 1182 | .uk-push-4-5, | ||
| 1183 | .uk-push-8-10 { | ||
| 1184 | left: 80%; | ||
| 1185 | } | ||
| 1186 | /* Sixths */ | ||
| 1187 | .uk-push-1-6 { | ||
| 1188 | left: 16.666%; | ||
| 1189 | } | ||
| 1190 | .uk-push-5-6 { | ||
| 1191 | left: 83.333%; | ||
| 1192 | } | ||
| 1193 | /* Tenths */ | ||
| 1194 | .uk-push-1-10 { | ||
| 1195 | left: 10%; | ||
| 1196 | } | ||
| 1197 | .uk-push-3-10 { | ||
| 1198 | left: 30%; | ||
| 1199 | } | ||
| 1200 | .uk-push-7-10 { | ||
| 1201 | left: 70%; | ||
| 1202 | } | ||
| 1203 | .uk-push-9-10 { | ||
| 1204 | left: 90%; | ||
| 1205 | } | ||
| 1206 | /* | ||
| 1207 | * Pull | ||
| 1208 | */ | ||
| 1209 | /* Halves */ | ||
| 1210 | .uk-pull-1-2, | ||
| 1211 | .uk-pull-2-4, | ||
| 1212 | .uk-pull-3-6, | ||
| 1213 | .uk-pull-5-10 { | ||
| 1214 | left: -50%; | ||
| 1215 | } | ||
| 1216 | /* Thirds */ | ||
| 1217 | .uk-pull-1-3, | ||
| 1218 | .uk-pull-2-6 { | ||
| 1219 | left: -33.333%; | ||
| 1220 | } | ||
| 1221 | .uk-pull-2-3, | ||
| 1222 | .uk-pull-4-6 { | ||
| 1223 | left: -66.666%; | ||
| 1224 | } | ||
| 1225 | /* Quarters */ | ||
| 1226 | .uk-pull-1-4 { | ||
| 1227 | left: -25%; | ||
| 1228 | } | ||
| 1229 | .uk-pull-3-4 { | ||
| 1230 | left: -75%; | ||
| 1231 | } | ||
| 1232 | /* Fifths */ | ||
| 1233 | .uk-pull-1-5, | ||
| 1234 | .uk-pull-2-10 { | ||
| 1235 | left: -20%; | ||
| 1236 | } | ||
| 1237 | .uk-pull-2-5, | ||
| 1238 | .uk-pull-4-10 { | ||
| 1239 | left: -40%; | ||
| 1240 | } | ||
| 1241 | .uk-pull-3-5, | ||
| 1242 | .uk-pull-6-10 { | ||
| 1243 | left: -60%; | ||
| 1244 | } | ||
| 1245 | .uk-pull-4-5, | ||
| 1246 | .uk-pull-8-10 { | ||
| 1247 | left: -80%; | ||
| 1248 | } | ||
| 1249 | /* Sixths */ | ||
| 1250 | .uk-pull-1-6 { | ||
| 1251 | left: -16.666%; | ||
| 1252 | } | ||
| 1253 | .uk-pull-5-6 { | ||
| 1254 | left: -83.333%; | ||
| 1255 | } | ||
| 1256 | /* Tenths */ | ||
| 1257 | .uk-pull-1-10 { | ||
| 1258 | left: -10%; | ||
| 1259 | } | ||
| 1260 | .uk-pull-3-10 { | ||
| 1261 | left: -30%; | ||
| 1262 | } | ||
| 1263 | .uk-pull-7-10 { | ||
| 1264 | left: -70%; | ||
| 1265 | } | ||
| 1266 | .uk-pull-9-10 { | ||
| 1267 | left: -90%; | ||
| 1268 | } | ||
| 1269 | } | ||
| 1270 | /* ======================================================================== | ||
| 1271 | Component: Panel | ||
| 1272 | ========================================================================== */ | ||
| 1273 | /* | ||
| 1274 | * 1. Needed for `a` elements | ||
| 1275 | * 2. Create position context for badges | ||
| 1276 | */ | ||
| 1277 | .uk-panel { | ||
| 1278 | /* 1 */ | ||
| 1279 | display: block; | ||
| 1280 | /* 2 */ | ||
| 1281 | position: relative; | ||
| 1282 | } | ||
| 1283 | /* | ||
| 1284 | * Allow panels to be anchors | ||
| 1285 | */ | ||
| 1286 | .uk-panel, | ||
| 1287 | .uk-panel:hover { | ||
| 1288 | text-decoration: none; | ||
| 1289 | } | ||
| 1290 | /* | ||
| 1291 | * Micro clearfix to make panels more robust | ||
| 1292 | */ | ||
| 1293 | .uk-panel:before, | ||
| 1294 | .uk-panel:after { | ||
| 1295 | content: ""; | ||
| 1296 | display: table; | ||
| 1297 | } | ||
| 1298 | .uk-panel:after { | ||
| 1299 | clear: both; | ||
| 1300 | } | ||
| 1301 | /* | ||
| 1302 | * Remove margin from the last-child if not `uk-widget-title` | ||
| 1303 | */ | ||
| 1304 | .uk-panel > :not(.uk-panel-title):last-child { | ||
| 1305 | margin-bottom: 0; | ||
| 1306 | } | ||
| 1307 | /* Sub-object: `uk-panel-title` | ||
| 1308 | ========================================================================== */ | ||
| 1309 | .uk-panel-title { | ||
| 1310 | margin-top: 0; | ||
| 1311 | margin-bottom: 15px; | ||
| 1312 | font-size: 18px; | ||
| 1313 | line-height: 24px; | ||
| 1314 | font-weight: normal; | ||
| 1315 | text-transform: none; | ||
| 1316 | color: #444; | ||
| 1317 | } | ||
| 1318 | /* Sub-object: `uk-panel-badge` | ||
| 1319 | ========================================================================== */ | ||
| 1320 | .uk-panel-badge { | ||
| 1321 | position: absolute; | ||
| 1322 | top: 0; | ||
| 1323 | right: 0; | ||
| 1324 | z-index: 1; | ||
| 1325 | } | ||
| 1326 | /* Sub-object: `uk-panel-teaser` | ||
| 1327 | ========================================================================== */ | ||
| 1328 | .uk-panel-teaser { | ||
| 1329 | margin-bottom: 15px; | ||
| 1330 | } | ||
| 1331 | /* Sub-object: `uk-panel-body` | ||
| 1332 | ========================================================================== */ | ||
| 1333 | .uk-panel-body { | ||
| 1334 | padding: 15px; | ||
| 1335 | } | ||
| 1336 | /* Modifier: `uk-panel-box` | ||
| 1337 | ========================================================================== */ | ||
| 1338 | .uk-panel-box { | ||
| 1339 | padding: 15px; | ||
| 1340 | background: #f5f5f5; | ||
| 1341 | color: #444; | ||
| 1342 | } | ||
| 1343 | .uk-panel-box-hover:hover { | ||
| 1344 | color: #444; | ||
| 1345 | } | ||
| 1346 | .uk-panel-box .uk-panel-title { | ||
| 1347 | color: #444; | ||
| 1348 | } | ||
| 1349 | .uk-panel-box .uk-panel-badge { | ||
| 1350 | top: 10px; | ||
| 1351 | right: 10px; | ||
| 1352 | } | ||
| 1353 | .uk-panel-box > .uk-panel-teaser { | ||
| 1354 | margin-top: -15px; | ||
| 1355 | margin-left: -15px; | ||
| 1356 | margin-right: -15px; | ||
| 1357 | } | ||
| 1358 | /* | ||
| 1359 | * Nav in panel | ||
| 1360 | */ | ||
| 1361 | .uk-panel-box > .uk-nav-side { | ||
| 1362 | margin: 0 -15px; | ||
| 1363 | } | ||
| 1364 | /* | ||
| 1365 | * Sub-modifier: `uk-panel-box-primary` | ||
| 1366 | */ | ||
| 1367 | .uk-panel-box-primary { | ||
| 1368 | background-color: #ebf7fd; | ||
| 1369 | color: #2d7091; | ||
| 1370 | } | ||
| 1371 | .uk-panel-box-primary-hover:hover { | ||
| 1372 | color: #2d7091; | ||
| 1373 | } | ||
| 1374 | .uk-panel-box-primary .uk-panel-title { | ||
| 1375 | color: #2d7091; | ||
| 1376 | } | ||
| 1377 | /* | ||
| 1378 | * Sub-modifier: `uk-panel-box-secondary` | ||
| 1379 | */ | ||
| 1380 | .uk-panel-box-secondary { | ||
| 1381 | background-color: #eee; | ||
| 1382 | color: #444; | ||
| 1383 | } | ||
| 1384 | .uk-panel-box-secondary-hover:hover { | ||
| 1385 | color: #444; | ||
| 1386 | } | ||
| 1387 | .uk-panel-box-secondary .uk-panel-title { | ||
| 1388 | color: #444; | ||
| 1389 | } | ||
| 1390 | /* Modifier: `uk-panel-hover` | ||
| 1391 | ========================================================================== */ | ||
| 1392 | .uk-panel-hover { | ||
| 1393 | padding: 15px; | ||
| 1394 | color: #444; | ||
| 1395 | } | ||
| 1396 | .uk-panel-hover:hover { | ||
| 1397 | background: #f5f5f5; | ||
| 1398 | color: #444; | ||
| 1399 | } | ||
| 1400 | .uk-panel-hover .uk-panel-badge { | ||
| 1401 | top: 10px; | ||
| 1402 | right: 10px; | ||
| 1403 | } | ||
| 1404 | .uk-panel-hover > .uk-panel-teaser { | ||
| 1405 | margin-top: -15px; | ||
| 1406 | margin-left: -15px; | ||
| 1407 | margin-right: -15px; | ||
| 1408 | } | ||
| 1409 | /* Modifier: `uk-panel-header` | ||
| 1410 | ========================================================================== */ | ||
| 1411 | .uk-panel-header .uk-panel-title { | ||
| 1412 | padding-bottom: 10px; | ||
| 1413 | border-bottom: 1px solid #ddd; | ||
| 1414 | color: #444; | ||
| 1415 | } | ||
| 1416 | /* Modifier: `uk-panel-space` | ||
| 1417 | ========================================================================== */ | ||
| 1418 | .uk-panel-space { | ||
| 1419 | padding: 30px; | ||
| 1420 | } | ||
| 1421 | .uk-panel-space .uk-panel-badge { | ||
| 1422 | top: 30px; | ||
| 1423 | right: 30px; | ||
| 1424 | } | ||
| 1425 | /* Modifier: `uk-panel-divider` | ||
| 1426 | ========================================================================== */ | ||
| 1427 | .uk-panel + .uk-panel-divider { | ||
| 1428 | margin-top: 50px !important; | ||
| 1429 | } | ||
| 1430 | .uk-panel + .uk-panel-divider:before { | ||
| 1431 | content: ""; | ||
| 1432 | display: block; | ||
| 1433 | position: absolute; | ||
| 1434 | top: -25px; | ||
| 1435 | left: 0; | ||
| 1436 | right: 0; | ||
| 1437 | border-top: 1px solid #ddd; | ||
| 1438 | } | ||
| 1439 | /* Large screen and bigger */ | ||
| 1440 | @media (min-width: 1220px) { | ||
| 1441 | .uk-panel + .uk-panel-divider { | ||
| 1442 | margin-top: 70px !important; | ||
| 1443 | } | ||
| 1444 | .uk-panel + .uk-panel-divider:before { | ||
| 1445 | top: -35px; | ||
| 1446 | } | ||
| 1447 | } | ||
| 1448 | /* ======================================================================== | ||
| 1449 | Component: Block | ||
| 1450 | ========================================================================== */ | ||
| 1451 | .uk-block { | ||
| 1452 | position: relative; | ||
| 1453 | box-sizing: border-box; | ||
| 1454 | padding-top: 20px; | ||
| 1455 | padding-bottom: 20px; | ||
| 1456 | } | ||
| 1457 | /* Phone landscape and bigger */ | ||
| 1458 | @media (min-width: 768px) { | ||
| 1459 | .uk-block { | ||
| 1460 | padding-top: 50px; | ||
| 1461 | padding-bottom: 50px; | ||
| 1462 | } | ||
| 1463 | } | ||
| 1464 | /* | ||
| 1465 | * Micro clearfix to make blocks more robust | ||
| 1466 | */ | ||
| 1467 | .uk-block:before, | ||
| 1468 | .uk-block:after { | ||
| 1469 | content: ""; | ||
| 1470 | display: table; | ||
| 1471 | } | ||
| 1472 | .uk-block:after { | ||
| 1473 | clear: both; | ||
| 1474 | } | ||
| 1475 | /* | ||
| 1476 | * Remove margin from the last-child | ||
| 1477 | */ | ||
| 1478 | .uk-block > :last-child { | ||
| 1479 | margin-bottom: 0; | ||
| 1480 | } | ||
| 1481 | /* Padding Modifier | ||
| 1482 | ========================================================================== */ | ||
| 1483 | /* | ||
| 1484 | * Large padding | ||
| 1485 | */ | ||
| 1486 | .uk-block-large { | ||
| 1487 | padding-top: 20px; | ||
| 1488 | padding-bottom: 20px; | ||
| 1489 | } | ||
| 1490 | /* Tablets and bigger */ | ||
| 1491 | @media (min-width: 768px) { | ||
| 1492 | .uk-block-large { | ||
| 1493 | padding-top: 50px; | ||
| 1494 | padding-bottom: 50px; | ||
| 1495 | } | ||
| 1496 | } | ||
| 1497 | /* Desktop and bigger */ | ||
| 1498 | @media (min-width: 960px) { | ||
| 1499 | .uk-block-large { | ||
| 1500 | padding-top: 100px; | ||
| 1501 | padding-bottom: 100px; | ||
| 1502 | } | ||
| 1503 | } | ||
| 1504 | /* Color Modifier | ||
| 1505 | ========================================================================== */ | ||
| 1506 | /* | ||
| 1507 | * Default | ||
| 1508 | */ | ||
| 1509 | .uk-block-default { | ||
| 1510 | background: #fff; | ||
| 1511 | } | ||
| 1512 | /* | ||
| 1513 | * Muted | ||
| 1514 | */ | ||
| 1515 | .uk-block-muted { | ||
| 1516 | background: #f9f9f9; | ||
| 1517 | } | ||
| 1518 | /* | ||
| 1519 | * Primary | ||
| 1520 | */ | ||
| 1521 | .uk-block-primary { | ||
| 1522 | background: #00a8e6; | ||
| 1523 | } | ||
| 1524 | /* | ||
| 1525 | * Secondary | ||
| 1526 | */ | ||
| 1527 | .uk-block-secondary { | ||
| 1528 | background: #222; | ||
| 1529 | } | ||
| 1530 | /* | ||
| 1531 | * Adjust padding between equal colored blocks | ||
| 1532 | */ | ||
| 1533 | .uk-block-default + .uk-block-default, | ||
| 1534 | .uk-block-muted + .uk-block-muted, | ||
| 1535 | .uk-block-primary + .uk-block-primary, | ||
| 1536 | .uk-block-secondary + .uk-block-secondary { | ||
| 1537 | padding-top: 0; | ||
| 1538 | } | ||
| 1539 | /* ======================================================================== | ||
| 1540 | Component: Article | ||
| 1541 | ========================================================================== */ | ||
| 1542 | /* | ||
| 1543 | * Micro clearfix to make articles more robust | ||
| 1544 | */ | ||
| 1545 | .uk-article:before, | ||
| 1546 | .uk-article:after { | ||
| 1547 | content: ""; | ||
| 1548 | display: table; | ||
| 1549 | } | ||
| 1550 | .uk-article:after { | ||
| 1551 | clear: both; | ||
| 1552 | } | ||
| 1553 | /* | ||
| 1554 | * Remove margin from the last-child | ||
| 1555 | */ | ||
| 1556 | .uk-article > :last-child { | ||
| 1557 | margin-bottom: 0; | ||
| 1558 | } | ||
| 1559 | /* | ||
| 1560 | * Vertical gutter for articles | ||
| 1561 | */ | ||
| 1562 | .uk-article + .uk-article { | ||
| 1563 | margin-top: 25px; | ||
| 1564 | } | ||
| 1565 | /* Sub-object `uk-article-title` | ||
| 1566 | ========================================================================== */ | ||
| 1567 | .uk-article-title { | ||
| 1568 | font-size: 36px; | ||
| 1569 | line-height: 42px; | ||
| 1570 | font-weight: normal; | ||
| 1571 | text-transform: none; | ||
| 1572 | } | ||
| 1573 | .uk-article-title a { | ||
| 1574 | color: inherit; | ||
| 1575 | text-decoration: none; | ||
| 1576 | } | ||
| 1577 | /* Sub-object `uk-article-meta` | ||
| 1578 | ========================================================================== */ | ||
| 1579 | .uk-article-meta { | ||
| 1580 | font-size: 12px; | ||
| 1581 | line-height: 18px; | ||
| 1582 | color: #999; | ||
| 1583 | } | ||
| 1584 | /* Sub-object `uk-article-lead` | ||
| 1585 | ========================================================================== */ | ||
| 1586 | .uk-article-lead { | ||
| 1587 | color: #444; | ||
| 1588 | font-size: 18px; | ||
| 1589 | line-height: 24px; | ||
| 1590 | font-weight: normal; | ||
| 1591 | } | ||
| 1592 | /* Sub-object `uk-article-divider` | ||
| 1593 | ========================================================================== */ | ||
| 1594 | .uk-article-divider { | ||
| 1595 | margin-bottom: 25px; | ||
| 1596 | border-color: #ddd; | ||
| 1597 | } | ||
| 1598 | * + .uk-article-divider { | ||
| 1599 | margin-top: 25px; | ||
| 1600 | } | ||
| 1601 | /* ======================================================================== | ||
| 1602 | Component: Comment | ||
| 1603 | ========================================================================== */ | ||
| 1604 | /* Sub-object `uk-comment-header` | ||
| 1605 | ========================================================================== */ | ||
| 1606 | .uk-comment-header { | ||
| 1607 | margin-bottom: 15px; | ||
| 1608 | } | ||
| 1609 | /* | ||
| 1610 | * Micro clearfix | ||
| 1611 | */ | ||
| 1612 | .uk-comment-header:before, | ||
| 1613 | .uk-comment-header:after { | ||
| 1614 | content: ""; | ||
| 1615 | display: table; | ||
| 1616 | } | ||
| 1617 | .uk-comment-header:after { | ||
| 1618 | clear: both; | ||
| 1619 | } | ||
| 1620 | /* Sub-object `uk-comment-avatar` | ||
| 1621 | ========================================================================== */ | ||
| 1622 | .uk-comment-avatar { | ||
| 1623 | margin-right: 15px; | ||
| 1624 | float: left; | ||
| 1625 | } | ||
| 1626 | /* Sub-object `uk-comment-title` | ||
| 1627 | ========================================================================== */ | ||
| 1628 | .uk-comment-title { | ||
| 1629 | margin: 5px 0 0 0; | ||
| 1630 | font-size: 16px; | ||
| 1631 | line-height: 22px; | ||
| 1632 | } | ||
| 1633 | /* Sub-object `uk-comment-meta` | ||
| 1634 | ========================================================================== */ | ||
| 1635 | .uk-comment-meta { | ||
| 1636 | margin: 2px 0 0 0; | ||
| 1637 | font-size: 11px; | ||
| 1638 | line-height: 16px; | ||
| 1639 | color: #999; | ||
| 1640 | } | ||
| 1641 | /* Sub-object `uk-comment-body` | ||
| 1642 | ========================================================================== */ | ||
| 1643 | /* | ||
| 1644 | * Remove margin from the last-child | ||
| 1645 | */ | ||
| 1646 | .uk-comment-body > :last-child { | ||
| 1647 | margin-bottom: 0; | ||
| 1648 | } | ||
| 1649 | /* Sub-object `uk-comment-list` | ||
| 1650 | ========================================================================== */ | ||
| 1651 | .uk-comment-list { | ||
| 1652 | padding: 0; | ||
| 1653 | list-style: none; | ||
| 1654 | } | ||
| 1655 | .uk-comment-list .uk-comment + ul { | ||
| 1656 | margin: 15px 0 0 0; | ||
| 1657 | list-style: none; | ||
| 1658 | } | ||
| 1659 | .uk-comment-list > li:nth-child(n+2), | ||
| 1660 | .uk-comment-list .uk-comment + ul > li:nth-child(n+2) { | ||
| 1661 | margin-top: 15px; | ||
| 1662 | } | ||
| 1663 | /* Tablet and bigger */ | ||
| 1664 | @media (min-width: 768px) { | ||
| 1665 | .uk-comment-list .uk-comment + ul { | ||
| 1666 | padding-left: 100px; | ||
| 1667 | } | ||
| 1668 | } | ||
| 1669 | /* Modifier `uk-comment-primary` | ||
| 1670 | ========================================================================== */ | ||
| 1671 | /* ======================================================================== | ||
| 1672 | Component: Cover | ||
| 1673 | ========================================================================== */ | ||
| 1674 | /* | ||
| 1675 | * Background image always covers and centers its element | ||
| 1676 | */ | ||
| 1677 | .uk-cover-background { | ||
| 1678 | background-position: 50% 50%; | ||
| 1679 | background-size: cover; | ||
| 1680 | background-repeat: no-repeat; | ||
| 1681 | } | ||
| 1682 | /* | ||
| 1683 | * Emulates image cover, works with video and image elements | ||
| 1684 | * 1. Parent container which clips resized object | ||
| 1685 | * 2. Resizes the object to always covers its container | ||
| 1686 | * 3. Reset the responsive image CSS | ||
| 1687 | * 4. Center object | ||
| 1688 | */ | ||
| 1689 | /* 1 */ | ||
| 1690 | .uk-cover { | ||
| 1691 | overflow: hidden; | ||
| 1692 | } | ||
| 1693 | .uk-cover-object { | ||
| 1694 | /* 2 */ | ||
| 1695 | width: auto; | ||
| 1696 | height: auto; | ||
| 1697 | min-width: 100%; | ||
| 1698 | min-height: 100%; | ||
| 1699 | /* 3 */ | ||
| 1700 | max-width: none; | ||
| 1701 | /* 4 */ | ||
| 1702 | position: relative; | ||
| 1703 | left: 50%; | ||
| 1704 | top: 50%; | ||
| 1705 | -webkit-transform: translate(-50%, -50%); | ||
| 1706 | transform: translate(-50%, -50%); | ||
| 1707 | } | ||
| 1708 | /* | ||
| 1709 | * To center iframes use `data-uk-cover` JavaScript | ||
| 1710 | */ | ||
| 1711 | [data-uk-cover] { | ||
| 1712 | position: relative; | ||
| 1713 | left: 50%; | ||
| 1714 | top: 50%; | ||
| 1715 | -webkit-transform: translate(-50%, -50%); | ||
| 1716 | transform: translate(-50%, -50%); | ||
| 1717 | } | ||
| 1718 | /* ======================================================================== | ||
| 1719 | Component: Nav | ||
| 1720 | ========================================================================== */ | ||
| 1721 | .uk-nav, | ||
| 1722 | .uk-nav ul { | ||
| 1723 | margin: 0; | ||
| 1724 | padding: 0; | ||
| 1725 | list-style: none; | ||
| 1726 | } | ||
| 1727 | /* | ||
| 1728 | * Items | ||
| 1729 | */ | ||
| 1730 | .uk-nav li > a { | ||
| 1731 | display: block; | ||
| 1732 | text-decoration: none; | ||
| 1733 | } | ||
| 1734 | .uk-nav > li > a { | ||
| 1735 | padding: 5px 15px; | ||
| 1736 | } | ||
| 1737 | /* | ||
| 1738 | * Nested items | ||
| 1739 | */ | ||
| 1740 | .uk-nav ul { | ||
| 1741 | padding-left: 15px; | ||
| 1742 | } | ||
| 1743 | .uk-nav ul a { | ||
| 1744 | padding: 2px 0; | ||
| 1745 | } | ||
| 1746 | /* | ||
| 1747 | * Item subtitle | ||
| 1748 | */ | ||
| 1749 | .uk-nav li > a > div { | ||
| 1750 | font-size: 12px; | ||
| 1751 | line-height: 18px; | ||
| 1752 | } | ||
| 1753 | /* Sub-object: `uk-nav-header` | ||
| 1754 | ========================================================================== */ | ||
| 1755 | .uk-nav-header { | ||
| 1756 | padding: 5px 15px; | ||
| 1757 | text-transform: uppercase; | ||
| 1758 | font-weight: bold; | ||
| 1759 | font-size: 12px; | ||
| 1760 | } | ||
| 1761 | .uk-nav-header:not(:first-child) { | ||
| 1762 | margin-top: 15px; | ||
| 1763 | } | ||
| 1764 | /* Sub-object: `uk-nav-divider` | ||
| 1765 | ========================================================================== */ | ||
| 1766 | .uk-nav-divider { | ||
| 1767 | margin: 9px 15px; | ||
| 1768 | } | ||
| 1769 | /* Sub-object: `uk-nav-sub` | ||
| 1770 | ========================================================================== */ | ||
| 1771 | /* | ||
| 1772 | * `ul` needed for higher specificity to override padding | ||
| 1773 | */ | ||
| 1774 | ul.uk-nav-sub { | ||
| 1775 | padding: 5px 0 5px 15px; | ||
| 1776 | } | ||
| 1777 | /* Modifier: `uk-nav-parent-icon` | ||
| 1778 | ========================================================================== */ | ||
| 1779 | .uk-nav-parent-icon > .uk-parent > a:after { | ||
| 1780 | content: "\f104"; | ||
| 1781 | width: 20px; | ||
| 1782 | margin-right: -10px; | ||
| 1783 | float: right; | ||
| 1784 | font-family: FontAwesome; | ||
| 1785 | text-align: center; | ||
| 1786 | } | ||
| 1787 | .uk-nav-parent-icon > .uk-parent.uk-open > a:after { | ||
| 1788 | content: "\f107"; | ||
| 1789 | } | ||
| 1790 | /* Modifier `uk-nav-side` | ||
| 1791 | ========================================================================== */ | ||
| 1792 | /* | ||
| 1793 | * Items | ||
| 1794 | */ | ||
| 1795 | .uk-nav-side > li > a { | ||
| 1796 | color: #444; | ||
| 1797 | } | ||
| 1798 | /* | ||
| 1799 | * Hover | ||
| 1800 | * 1. Apply hover style also to focus state | ||
| 1801 | * 2. Remove default focus style | ||
| 1802 | */ | ||
| 1803 | .uk-nav-side > li > a:hover, | ||
| 1804 | .uk-nav-side > li > a:focus { | ||
| 1805 | background: rgba(0, 0, 0, 0.05); | ||
| 1806 | color: #444; | ||
| 1807 | /* 2 */ | ||
| 1808 | outline: none; | ||
| 1809 | } | ||
| 1810 | /* Active */ | ||
| 1811 | .uk-nav-side > li.uk-active > a { | ||
| 1812 | background: #00a8e6; | ||
| 1813 | color: #fff; | ||
| 1814 | } | ||
| 1815 | /* | ||
| 1816 | * Sub-object: `uk-nav-header` | ||
| 1817 | */ | ||
| 1818 | .uk-nav-side .uk-nav-header { | ||
| 1819 | color: #444; | ||
| 1820 | } | ||
| 1821 | /* | ||
| 1822 | * Sub-object: `uk-nav-divider` | ||
| 1823 | */ | ||
| 1824 | .uk-nav-side .uk-nav-divider { | ||
| 1825 | border-top: 1px solid #ddd; | ||
| 1826 | } | ||
| 1827 | /* | ||
| 1828 | * Nested items | ||
| 1829 | */ | ||
| 1830 | .uk-nav-side ul a { | ||
| 1831 | color: #07D; | ||
| 1832 | } | ||
| 1833 | .uk-nav-side ul a:hover { | ||
| 1834 | color: #059; | ||
| 1835 | } | ||
| 1836 | /* Modifier `uk-nav-dropdown` | ||
| 1837 | ========================================================================== */ | ||
| 1838 | /* | ||
| 1839 | * Items | ||
| 1840 | */ | ||
| 1841 | .uk-nav-dropdown > li > a { | ||
| 1842 | color: #444; | ||
| 1843 | } | ||
| 1844 | /* | ||
| 1845 | * Hover | ||
| 1846 | * 1. Apply hover style also to focus state | ||
| 1847 | * 2. Remove default focus style | ||
| 1848 | */ | ||
| 1849 | .uk-nav-dropdown > li > a:hover, | ||
| 1850 | .uk-nav-dropdown > li > a:focus { | ||
| 1851 | background: #00a8e6; | ||
| 1852 | color: #fff; | ||
| 1853 | /* 2 */ | ||
| 1854 | outline: none; | ||
| 1855 | } | ||
| 1856 | /* | ||
| 1857 | * Sub-object: `uk-nav-header` | ||
| 1858 | */ | ||
| 1859 | .uk-nav-dropdown .uk-nav-header { | ||
| 1860 | color: #999; | ||
| 1861 | } | ||
| 1862 | /* | ||
| 1863 | * Sub-object: `uk-nav-divider` | ||
| 1864 | */ | ||
| 1865 | .uk-nav-dropdown .uk-nav-divider { | ||
| 1866 | border-top: 1px solid #ddd; | ||
| 1867 | } | ||
| 1868 | /* | ||
| 1869 | * Nested items | ||
| 1870 | */ | ||
| 1871 | .uk-nav-dropdown ul a { | ||
| 1872 | color: #07D; | ||
| 1873 | } | ||
| 1874 | .uk-nav-dropdown ul a:hover { | ||
| 1875 | color: #059; | ||
| 1876 | } | ||
| 1877 | /* Modifier `uk-nav-navbar` | ||
| 1878 | ========================================================================== */ | ||
| 1879 | /* | ||
| 1880 | * Items | ||
| 1881 | */ | ||
| 1882 | .uk-nav-navbar > li > a { | ||
| 1883 | color: #444; | ||
| 1884 | } | ||
| 1885 | /* | ||
| 1886 | * Hover | ||
| 1887 | * 1. Apply hover style also to focus state | ||
| 1888 | * 2. Remove default focus style | ||
| 1889 | */ | ||
| 1890 | .uk-nav-navbar > li > a:hover, | ||
| 1891 | .uk-nav-navbar > li > a:focus { | ||
| 1892 | background: #00a8e6; | ||
| 1893 | color: #fff; | ||
| 1894 | /* 2 */ | ||
| 1895 | outline: none; | ||
| 1896 | } | ||
| 1897 | /* | ||
| 1898 | * Sub-object: `uk-nav-header` | ||
| 1899 | */ | ||
| 1900 | .uk-nav-navbar .uk-nav-header { | ||
| 1901 | color: #999; | ||
| 1902 | } | ||
| 1903 | /* | ||
| 1904 | * Sub-object: `uk-nav-divider` | ||
| 1905 | */ | ||
| 1906 | .uk-nav-navbar .uk-nav-divider { | ||
| 1907 | border-top: 1px solid #ddd; | ||
| 1908 | } | ||
| 1909 | /* | ||
| 1910 | * Nested items | ||
| 1911 | */ | ||
| 1912 | .uk-nav-navbar ul a { | ||
| 1913 | color: #07D; | ||
| 1914 | } | ||
| 1915 | .uk-nav-navbar ul a:hover { | ||
| 1916 | color: #059; | ||
| 1917 | } | ||
| 1918 | /* Modifier `uk-nav-offcanvas` | ||
| 1919 | ========================================================================== */ | ||
| 1920 | /* | ||
| 1921 | * Items | ||
| 1922 | */ | ||
| 1923 | .uk-nav-offcanvas > li > a { | ||
| 1924 | color: #ccc; | ||
| 1925 | padding: 10px 15px; | ||
| 1926 | } | ||
| 1927 | /* | ||
| 1928 | * Hover | ||
| 1929 | * No hover on touch devices because it behaves buggy in fixed offcanvas | ||
| 1930 | * 1. Apply hover style also to focus state | ||
| 1931 | * 2. Remove default focus style | ||
| 1932 | */ | ||
| 1933 | .uk-nav-offcanvas > .uk-open > a, | ||
| 1934 | html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, | ||
| 1935 | html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { | ||
| 1936 | background: #404040; | ||
| 1937 | color: #fff; | ||
| 1938 | /* 2 */ | ||
| 1939 | outline: none; | ||
| 1940 | } | ||
| 1941 | /* | ||
| 1942 | * Active | ||
| 1943 | * `html .uk-nav` needed for higher specificity to override hover | ||
| 1944 | */ | ||
| 1945 | html .uk-nav.uk-nav-offcanvas > li.uk-active > a { | ||
| 1946 | background: #1a1a1a; | ||
| 1947 | color: #fff; | ||
| 1948 | } | ||
| 1949 | /* | ||
| 1950 | * Sub-object: `uk-nav-header` | ||
| 1951 | */ | ||
| 1952 | .uk-nav-offcanvas .uk-nav-header { | ||
| 1953 | color: #777; | ||
| 1954 | } | ||
| 1955 | /* | ||
| 1956 | * Sub-object: `uk-nav-divider` | ||
| 1957 | */ | ||
| 1958 | .uk-nav-offcanvas .uk-nav-divider { | ||
| 1959 | border-top: 1px solid #1a1a1a; | ||
| 1960 | } | ||
| 1961 | /* | ||
| 1962 | * Nested items | ||
| 1963 | * No hover on touch devices because it behaves buggy in fixed offcanvas | ||
| 1964 | */ | ||
| 1965 | .uk-nav-offcanvas ul a { | ||
| 1966 | color: #ccc; | ||
| 1967 | } | ||
| 1968 | html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { | ||
| 1969 | color: #fff; | ||
| 1970 | } | ||
| 1971 | /* ======================================================================== | ||
| 1972 | Component: Navbar | ||
| 1973 | ========================================================================== */ | ||
| 1974 | .uk-navbar { | ||
| 1975 | background: #eee; | ||
| 1976 | color: #444; | ||
| 1977 | } | ||
| 1978 | /* | ||
| 1979 | * Micro clearfix | ||
| 1980 | */ | ||
| 1981 | .uk-navbar:before, | ||
| 1982 | .uk-navbar:after { | ||
| 1983 | content: ""; | ||
| 1984 | display: table; | ||
| 1985 | } | ||
| 1986 | .uk-navbar:after { | ||
| 1987 | clear: both; | ||
| 1988 | } | ||
| 1989 | /* Sub-object: `uk-navbar-nav` | ||
| 1990 | ========================================================================== */ | ||
| 1991 | .uk-navbar-nav { | ||
| 1992 | margin: 0; | ||
| 1993 | padding: 0; | ||
| 1994 | list-style: none; | ||
| 1995 | float: left; | ||
| 1996 | } | ||
| 1997 | /* | ||
| 1998 | * 1. Create position context for dropdowns | ||
| 1999 | */ | ||
| 2000 | .uk-navbar-nav > li { | ||
| 2001 | float: left; | ||
| 2002 | /* 1 */ | ||
| 2003 | position: relative; | ||
| 2004 | } | ||
| 2005 | /* | ||
| 2006 | * 1. Dimensions | ||
| 2007 | * 2. Style | ||
| 2008 | */ | ||
| 2009 | .uk-navbar-nav > li > a { | ||
| 2010 | display: block; | ||
| 2011 | box-sizing: border-box; | ||
| 2012 | text-decoration: none; | ||
| 2013 | /* 1 */ | ||
| 2014 | height: 40px; | ||
| 2015 | padding: 0 15px; | ||
| 2016 | line-height: 40px; | ||
| 2017 | /* 2 */ | ||
| 2018 | color: #444; | ||
| 2019 | font-size: 14px; | ||
| 2020 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 2021 | font-weight: normal; | ||
| 2022 | } | ||
| 2023 | /* Appear not as link */ | ||
| 2024 | .uk-navbar-nav > li > a[href='#'] { | ||
| 2025 | cursor: text; | ||
| 2026 | } | ||
| 2027 | /* | ||
| 2028 | * Hover | ||
| 2029 | * 1. Apply hover style also to focus state | ||
| 2030 | * 2. Also apply if dropdown is opened | ||
| 2031 | * 3. Remove default focus style | ||
| 2032 | */ | ||
| 2033 | .uk-navbar-nav > li:hover > a, | ||
| 2034 | .uk-navbar-nav > li > a:focus, | ||
| 2035 | .uk-navbar-nav > li.uk-open > a { | ||
| 2036 | background-color: #f5f5f5; | ||
| 2037 | color: #444; | ||
| 2038 | /* 3 */ | ||
| 2039 | outline: none; | ||
| 2040 | } | ||
| 2041 | /* OnClick */ | ||
| 2042 | .uk-navbar-nav > li > a:active { | ||
| 2043 | background-color: #ddd; | ||
| 2044 | color: #444; | ||
| 2045 | } | ||
| 2046 | /* Active */ | ||
| 2047 | .uk-navbar-nav > li.uk-active > a { | ||
| 2048 | background-color: #f5f5f5; | ||
| 2049 | color: #444; | ||
| 2050 | } | ||
| 2051 | /* Sub-objects: `uk-navbar-nav-subtitle` | ||
| 2052 | ========================================================================== */ | ||
| 2053 | .uk-navbar-nav .uk-navbar-nav-subtitle { | ||
| 2054 | line-height: 28px; | ||
| 2055 | } | ||
| 2056 | .uk-navbar-nav-subtitle > div { | ||
| 2057 | margin-top: -6px; | ||
| 2058 | font-size: 10px; | ||
| 2059 | line-height: 12px; | ||
| 2060 | } | ||
| 2061 | /* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` | ||
| 2062 | ========================================================================== */ | ||
| 2063 | /* | ||
| 2064 | * Imitate navbar items | ||
| 2065 | */ | ||
| 2066 | .uk-navbar-content, | ||
| 2067 | .uk-navbar-brand, | ||
| 2068 | .uk-navbar-toggle { | ||
| 2069 | box-sizing: border-box; | ||
| 2070 | display: block; | ||
| 2071 | height: 40px; | ||
| 2072 | padding: 0 15px; | ||
| 2073 | float: left; | ||
| 2074 | } | ||
| 2075 | /* | ||
| 2076 | * Helper to center all child elements vertically | ||
| 2077 | */ | ||
| 2078 | .uk-navbar-content:before, | ||
| 2079 | .uk-navbar-brand:before, | ||
| 2080 | .uk-navbar-toggle:before { | ||
| 2081 | content: ''; | ||
| 2082 | display: inline-block; | ||
| 2083 | height: 100%; | ||
| 2084 | vertical-align: middle; | ||
| 2085 | } | ||
| 2086 | /* Sub-objects: `uk-navbar-content` | ||
| 2087 | ========================================================================== */ | ||
| 2088 | /* | ||
| 2089 | * Better sibling spacing | ||
| 2090 | */ | ||
| 2091 | .uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { | ||
| 2092 | padding-left: 0; | ||
| 2093 | } | ||
| 2094 | /* | ||
| 2095 | * Link colors | ||
| 2096 | */ | ||
| 2097 | .uk-navbar-content > a:not([class]) { | ||
| 2098 | color: #07D; | ||
| 2099 | } | ||
| 2100 | .uk-navbar-content > a:not([class]):hover { | ||
| 2101 | color: #059; | ||
| 2102 | } | ||
| 2103 | /* Sub-objects: `uk-navbar-brand` | ||
| 2104 | ========================================================================== */ | ||
| 2105 | .uk-navbar-brand { | ||
| 2106 | font-size: 18px; | ||
| 2107 | color: #444; | ||
| 2108 | text-decoration: none; | ||
| 2109 | } | ||
| 2110 | /* | ||
| 2111 | * 1. Apply hover style also to focus state | ||
| 2112 | * 2. Remove default focus style | ||
| 2113 | */ | ||
| 2114 | .uk-navbar-brand:hover, | ||
| 2115 | .uk-navbar-brand:focus { | ||
| 2116 | color: #444; | ||
| 2117 | text-decoration: none; | ||
| 2118 | /* 2 */ | ||
| 2119 | outline: none; | ||
| 2120 | } | ||
| 2121 | /* Sub-object: `uk-navbar-toggle` | ||
| 2122 | ========================================================================== */ | ||
| 2123 | .uk-navbar-toggle { | ||
| 2124 | font-size: 18px; | ||
| 2125 | color: #444; | ||
| 2126 | text-decoration: none; | ||
| 2127 | } | ||
| 2128 | /* | ||
| 2129 | * 1. Apply hover style also to focus state | ||
| 2130 | * 2. Remove default focus style | ||
| 2131 | */ | ||
| 2132 | .uk-navbar-toggle:hover, | ||
| 2133 | .uk-navbar-toggle:focus { | ||
| 2134 | color: #444; | ||
| 2135 | text-decoration: none; | ||
| 2136 | /* 2 */ | ||
| 2137 | outline: none; | ||
| 2138 | } | ||
| 2139 | /* | ||
| 2140 | * 1. Center icon vertically | ||
| 2141 | */ | ||
| 2142 | .uk-navbar-toggle:after { | ||
| 2143 | content: "\f0c9"; | ||
| 2144 | font-family: FontAwesome; | ||
| 2145 | /* 1 */ | ||
| 2146 | vertical-align: middle; | ||
| 2147 | } | ||
| 2148 | .uk-navbar-toggle-alt:after { | ||
| 2149 | content: "\f002"; | ||
| 2150 | } | ||
| 2151 | /* Sub-object: `uk-navbar-center` | ||
| 2152 | ========================================================================== */ | ||
| 2153 | /* | ||
| 2154 | * The element with this class needs to be last child in the navbar | ||
| 2155 | * 1. This hack is needed because other float elements shift centered text | ||
| 2156 | */ | ||
| 2157 | .uk-navbar-center { | ||
| 2158 | float: none; | ||
| 2159 | text-align: center; | ||
| 2160 | /* 1 */ | ||
| 2161 | max-width: 50%; | ||
| 2162 | margin-left: auto; | ||
| 2163 | margin-right: auto; | ||
| 2164 | } | ||
| 2165 | /* Sub-object: `uk-navbar-flip` | ||
| 2166 | ========================================================================== */ | ||
| 2167 | .uk-navbar-flip { | ||
| 2168 | float: right; | ||
| 2169 | } | ||
| 2170 | /* ======================================================================== | ||
| 2171 | Component: Subnav | ||
| 2172 | ========================================================================== */ | ||
| 2173 | /* | ||
| 2174 | * 1. Gutter | ||
| 2175 | * 2. Remove default list style | ||
| 2176 | */ | ||
| 2177 | .uk-subnav { | ||
| 2178 | display: -ms-flexbox; | ||
| 2179 | display: -webkit-flex; | ||
| 2180 | display: flex; | ||
| 2181 | -ms-flex-wrap: wrap; | ||
| 2182 | -webkit-flex-wrap: wrap; | ||
| 2183 | flex-wrap: wrap; | ||
| 2184 | /* 1 */ | ||
| 2185 | margin-left: -10px; | ||
| 2186 | margin-top: -10px; | ||
| 2187 | /* 2 */ | ||
| 2188 | padding: 0; | ||
| 2189 | list-style: none; | ||
| 2190 | } | ||
| 2191 | /* | ||
| 2192 | * 1. Space is allocated solely based on content dimensions | ||
| 2193 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 2194 | * 3. Create position context for dropdowns | ||
| 2195 | */ | ||
| 2196 | .uk-subnav > * { | ||
| 2197 | /* 1 */ | ||
| 2198 | -ms-flex: none; | ||
| 2199 | -webkit-flex: none; | ||
| 2200 | flex: none; | ||
| 2201 | /* 2 */ | ||
| 2202 | padding-left: 10px; | ||
| 2203 | margin-top: 10px; | ||
| 2204 | /* 3 */ | ||
| 2205 | position: relative; | ||
| 2206 | } | ||
| 2207 | /* | ||
| 2208 | * DEPRECATED IE9 Support | ||
| 2209 | */ | ||
| 2210 | .uk-subnav:before, | ||
| 2211 | .uk-subnav:after { | ||
| 2212 | content: ""; | ||
| 2213 | display: block; | ||
| 2214 | overflow: hidden; | ||
| 2215 | } | ||
| 2216 | .uk-subnav:after { | ||
| 2217 | clear: both; | ||
| 2218 | } | ||
| 2219 | .uk-subnav > * { | ||
| 2220 | float: left; | ||
| 2221 | } | ||
| 2222 | /* Items | ||
| 2223 | ========================================================================== */ | ||
| 2224 | .uk-subnav > * > * { | ||
| 2225 | display: inline-block; | ||
| 2226 | color: #444; | ||
| 2227 | } | ||
| 2228 | /* | ||
| 2229 | * Hover | ||
| 2230 | * 1. Apply hover style also to focus state | ||
| 2231 | */ | ||
| 2232 | .uk-subnav > * > :hover, | ||
| 2233 | .uk-subnav > * > :focus { | ||
| 2234 | color: #07D; | ||
| 2235 | text-decoration: none; | ||
| 2236 | } | ||
| 2237 | /* | ||
| 2238 | * Active | ||
| 2239 | */ | ||
| 2240 | .uk-subnav > .uk-active > * { | ||
| 2241 | color: #07D; | ||
| 2242 | } | ||
| 2243 | /* Modifier: 'subnav-line' | ||
| 2244 | ========================================================================== */ | ||
| 2245 | .uk-subnav-line > :before { | ||
| 2246 | content: ""; | ||
| 2247 | display: inline-block; | ||
| 2248 | height: 10px; | ||
| 2249 | vertical-align: middle; | ||
| 2250 | } | ||
| 2251 | .uk-subnav-line > :nth-child(n+2):before { | ||
| 2252 | margin-right: 10px; | ||
| 2253 | border-left: 1px solid #ddd; | ||
| 2254 | } | ||
| 2255 | /* Modifier: 'subnav-pill' | ||
| 2256 | ========================================================================== */ | ||
| 2257 | .uk-subnav-pill > * > * { | ||
| 2258 | padding: 3px 9px; | ||
| 2259 | } | ||
| 2260 | /* | ||
| 2261 | * Hover | ||
| 2262 | * 1. Apply hover style also to focus state | ||
| 2263 | * 2. Remove default focus style | ||
| 2264 | */ | ||
| 2265 | .uk-subnav-pill > * > :hover, | ||
| 2266 | .uk-subnav-pill > * > :focus { | ||
| 2267 | background: #eee; | ||
| 2268 | color: #444; | ||
| 2269 | text-decoration: none; | ||
| 2270 | /* 2 */ | ||
| 2271 | outline: none; | ||
| 2272 | } | ||
| 2273 | /* | ||
| 2274 | * Active | ||
| 2275 | * `li` needed for higher specificity to override hover | ||
| 2276 | */ | ||
| 2277 | .uk-subnav-pill > .uk-active > * { | ||
| 2278 | background: #00a8e6; | ||
| 2279 | color: #fff; | ||
| 2280 | } | ||
| 2281 | /* Disabled state | ||
| 2282 | ========================================================================== */ | ||
| 2283 | .uk-subnav > .uk-disabled > * { | ||
| 2284 | background: none; | ||
| 2285 | color: #999; | ||
| 2286 | text-decoration: none; | ||
| 2287 | cursor: text; | ||
| 2288 | } | ||
| 2289 | /* ======================================================================== | ||
| 2290 | Component: Breadcrumb | ||
| 2291 | ========================================================================== */ | ||
| 2292 | /* | ||
| 2293 | * 1. Remove default list style | ||
| 2294 | * 2. Remove whitespace between child elements when using `inline-block` | ||
| 2295 | */ | ||
| 2296 | .uk-breadcrumb { | ||
| 2297 | /* 1 */ | ||
| 2298 | padding: 0; | ||
| 2299 | list-style: none; | ||
| 2300 | /* 2 */ | ||
| 2301 | font-size: 0.001px; | ||
| 2302 | } | ||
| 2303 | /* Items | ||
| 2304 | ========================================================================== */ | ||
| 2305 | /* | ||
| 2306 | * Reset whitespace hack | ||
| 2307 | */ | ||
| 2308 | .uk-breadcrumb > li { | ||
| 2309 | font-size: 1rem; | ||
| 2310 | vertical-align: top; | ||
| 2311 | } | ||
| 2312 | .uk-breadcrumb > li, | ||
| 2313 | .uk-breadcrumb > li > a, | ||
| 2314 | .uk-breadcrumb > li > span { | ||
| 2315 | display: inline-block; | ||
| 2316 | } | ||
| 2317 | .uk-breadcrumb > li:nth-child(n+2):before { | ||
| 2318 | content: "/"; | ||
| 2319 | display: inline-block; | ||
| 2320 | margin: 0 8px; | ||
| 2321 | } | ||
| 2322 | /* | ||
| 2323 | * Disabled | ||
| 2324 | */ | ||
| 2325 | .uk-breadcrumb > li:not(.uk-active) > span { | ||
| 2326 | color: #999; | ||
| 2327 | } | ||
| 2328 | /* ======================================================================== | ||
| 2329 | Component: Pagination | ||
| 2330 | ========================================================================== */ | ||
| 2331 | /* | ||
| 2332 | * 1. Remove default list style | ||
| 2333 | * 2. Center pagination by default | ||
| 2334 | * 3. Remove whitespace between child elements when using `inline-block` | ||
| 2335 | */ | ||
| 2336 | .uk-pagination { | ||
| 2337 | /* 1 */ | ||
| 2338 | padding: 0; | ||
| 2339 | list-style: none; | ||
| 2340 | /* 2 */ | ||
| 2341 | text-align: center; | ||
| 2342 | /* 3 */ | ||
| 2343 | font-size: 0.001px; | ||
| 2344 | } | ||
| 2345 | /* | ||
| 2346 | * Micro clearfix | ||
| 2347 | * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used | ||
| 2348 | */ | ||
| 2349 | .uk-pagination:before, | ||
| 2350 | .uk-pagination:after { | ||
| 2351 | content: ""; | ||
| 2352 | display: table; | ||
| 2353 | } | ||
| 2354 | .uk-pagination:after { | ||
| 2355 | clear: both; | ||
| 2356 | } | ||
| 2357 | /* Items | ||
| 2358 | ========================================================================== */ | ||
| 2359 | /* | ||
| 2360 | * 1. Reset whitespace hack | ||
| 2361 | * 2. Remove the gap at the bottom of it container | ||
| 2362 | */ | ||
| 2363 | .uk-pagination > li { | ||
| 2364 | display: inline-block; | ||
| 2365 | /* 1 */ | ||
| 2366 | font-size: 1rem; | ||
| 2367 | /* 2 */ | ||
| 2368 | vertical-align: top; | ||
| 2369 | } | ||
| 2370 | .uk-pagination > li:nth-child(n+2) { | ||
| 2371 | margin-left: 5px; | ||
| 2372 | } | ||
| 2373 | /* | ||
| 2374 | * 1. Makes pagination more robust against different box-sizing use | ||
| 2375 | * 2. Reset text-align to center if alignment modifier is used | ||
| 2376 | */ | ||
| 2377 | .uk-pagination > li > a, | ||
| 2378 | .uk-pagination > li > span { | ||
| 2379 | display: inline-block; | ||
| 2380 | min-width: 16px; | ||
| 2381 | padding: 3px 5px; | ||
| 2382 | line-height: 20px; | ||
| 2383 | text-decoration: none; | ||
| 2384 | /* 1 */ | ||
| 2385 | box-sizing: content-box; | ||
| 2386 | /* 2 */ | ||
| 2387 | text-align: center; | ||
| 2388 | } | ||
| 2389 | /* | ||
| 2390 | * Links | ||
| 2391 | */ | ||
| 2392 | .uk-pagination > li > a { | ||
| 2393 | background: #eee; | ||
| 2394 | color: #444; | ||
| 2395 | } | ||
| 2396 | /* | ||
| 2397 | * Hover | ||
| 2398 | * 1. Apply hover style also to focus state | ||
| 2399 | * 2. Remove default focus style | ||
| 2400 | */ | ||
| 2401 | .uk-pagination > li > a:hover, | ||
| 2402 | .uk-pagination > li > a:focus { | ||
| 2403 | background-color: #f5f5f5; | ||
| 2404 | color: #444; | ||
| 2405 | /* 2 */ | ||
| 2406 | outline: none; | ||
| 2407 | } | ||
| 2408 | /* OnClick */ | ||
| 2409 | .uk-pagination > li > a:active { | ||
| 2410 | background-color: #ddd; | ||
| 2411 | color: #444; | ||
| 2412 | } | ||
| 2413 | /* | ||
| 2414 | * Active | ||
| 2415 | */ | ||
| 2416 | .uk-pagination > .uk-active > span { | ||
| 2417 | background: #00a8e6; | ||
| 2418 | color: #fff; | ||
| 2419 | } | ||
| 2420 | /* | ||
| 2421 | * Disabled | ||
| 2422 | */ | ||
| 2423 | .uk-pagination > .uk-disabled > span { | ||
| 2424 | background-color: #f5f5f5; | ||
| 2425 | color: #999; | ||
| 2426 | } | ||
| 2427 | /* Previous and next navigation | ||
| 2428 | ========================================================================== */ | ||
| 2429 | .uk-pagination-previous { | ||
| 2430 | float: left; | ||
| 2431 | } | ||
| 2432 | .uk-pagination-next { | ||
| 2433 | float: right; | ||
| 2434 | } | ||
| 2435 | /* Alignment modifiers | ||
| 2436 | ========================================================================== */ | ||
| 2437 | .uk-pagination-left { | ||
| 2438 | text-align: left; | ||
| 2439 | } | ||
| 2440 | .uk-pagination-right { | ||
| 2441 | text-align: right; | ||
| 2442 | } | ||
| 2443 | /* ======================================================================== | ||
| 2444 | Component: Tab | ||
| 2445 | ========================================================================== */ | ||
| 2446 | .uk-tab { | ||
| 2447 | margin: 0; | ||
| 2448 | padding: 0; | ||
| 2449 | list-style: none; | ||
| 2450 | border-bottom: 1px solid #ddd; | ||
| 2451 | } | ||
| 2452 | /* | ||
| 2453 | * Micro clearfix on the deepest container | ||
| 2454 | */ | ||
| 2455 | .uk-tab:before, | ||
| 2456 | .uk-tab:after { | ||
| 2457 | content: ""; | ||
| 2458 | display: table; | ||
| 2459 | } | ||
| 2460 | .uk-tab:after { | ||
| 2461 | clear: both; | ||
| 2462 | } | ||
| 2463 | /* | ||
| 2464 | * Items | ||
| 2465 | * 1. Create position context for dropdowns | ||
| 2466 | */ | ||
| 2467 | .uk-tab > li { | ||
| 2468 | margin-bottom: -1px; | ||
| 2469 | float: left; | ||
| 2470 | /* 1 */ | ||
| 2471 | position: relative; | ||
| 2472 | } | ||
| 2473 | .uk-tab > li > a { | ||
| 2474 | display: block; | ||
| 2475 | padding: 8px 12px 8px 12px; | ||
| 2476 | border: 1px solid transparent; | ||
| 2477 | border-bottom-width: 0; | ||
| 2478 | color: #07D; | ||
| 2479 | text-decoration: none; | ||
| 2480 | } | ||
| 2481 | .uk-tab > li:nth-child(n+2) > a { | ||
| 2482 | margin-left: 5px; | ||
| 2483 | } | ||
| 2484 | /* | ||
| 2485 | * Hover | ||
| 2486 | * 1. Apply hover style also to focus state | ||
| 2487 | * 2. Also apply if dropdown is opened | ||
| 2488 | * 3. Remove default focus style | ||
| 2489 | */ | ||
| 2490 | .uk-tab > li > a:hover, | ||
| 2491 | .uk-tab > li > a:focus, | ||
| 2492 | .uk-tab > li.uk-open > a { | ||
| 2493 | border-color: #f5f5f5; | ||
| 2494 | background: #f5f5f5; | ||
| 2495 | color: #059; | ||
| 2496 | /* 2 */ | ||
| 2497 | outline: none; | ||
| 2498 | } | ||
| 2499 | .uk-tab > li:not(.uk-active) > a:hover, | ||
| 2500 | .uk-tab > li:not(.uk-active) > a:focus, | ||
| 2501 | .uk-tab > li.uk-open:not(.uk-active) > a { | ||
| 2502 | margin-bottom: 1px; | ||
| 2503 | padding-bottom: 7px; | ||
| 2504 | } | ||
| 2505 | /* Active */ | ||
| 2506 | .uk-tab > li.uk-active > a { | ||
| 2507 | border-color: #ddd; | ||
| 2508 | border-bottom-color: transparent; | ||
| 2509 | background: #fff; | ||
| 2510 | color: #444; | ||
| 2511 | } | ||
| 2512 | /* Disabled */ | ||
| 2513 | .uk-tab > li.uk-disabled > a { | ||
| 2514 | color: #999; | ||
| 2515 | cursor: text; | ||
| 2516 | } | ||
| 2517 | .uk-tab > li.uk-disabled > a:hover, | ||
| 2518 | .uk-tab > li.uk-disabled > a:focus, | ||
| 2519 | .uk-tab > li.uk-disabled.uk-active > a { | ||
| 2520 | background: none; | ||
| 2521 | border-color: transparent; | ||
| 2522 | } | ||
| 2523 | /* Modifier: 'tab-flip' | ||
| 2524 | ========================================================================== */ | ||
| 2525 | .uk-tab-flip > li { | ||
| 2526 | float: right; | ||
| 2527 | } | ||
| 2528 | .uk-tab-flip > li:nth-child(n+2) > a { | ||
| 2529 | margin-left: 0; | ||
| 2530 | margin-right: 5px; | ||
| 2531 | } | ||
| 2532 | /* Modifier: 'tab-responsive' | ||
| 2533 | ========================================================================== */ | ||
| 2534 | .uk-tab > li.uk-tab-responsive > a { | ||
| 2535 | margin-left: 0; | ||
| 2536 | margin-right: 0; | ||
| 2537 | } | ||
| 2538 | /* | ||
| 2539 | * Icon | ||
| 2540 | */ | ||
| 2541 | .uk-tab-responsive > a:before { | ||
| 2542 | content: "\f0c9\00a0"; | ||
| 2543 | font-family: FontAwesome; | ||
| 2544 | } | ||
| 2545 | /* Modifier: 'tab-center' | ||
| 2546 | ========================================================================== */ | ||
| 2547 | .uk-tab-center { | ||
| 2548 | border-bottom: 1px solid #ddd; | ||
| 2549 | } | ||
| 2550 | .uk-tab-center-bottom { | ||
| 2551 | border-bottom: none; | ||
| 2552 | border-top: 1px solid #ddd; | ||
| 2553 | } | ||
| 2554 | .uk-tab-center:before, | ||
| 2555 | .uk-tab-center:after { | ||
| 2556 | content: ""; | ||
| 2557 | display: table; | ||
| 2558 | } | ||
| 2559 | .uk-tab-center:after { | ||
| 2560 | clear: both; | ||
| 2561 | } | ||
| 2562 | /* | ||
| 2563 | * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs | ||
| 2564 | */ | ||
| 2565 | .uk-tab-center .uk-tab { | ||
| 2566 | position: relative; | ||
| 2567 | right: 50%; | ||
| 2568 | border: none; | ||
| 2569 | float: right; | ||
| 2570 | } | ||
| 2571 | .uk-tab-center .uk-tab > li { | ||
| 2572 | position: relative; | ||
| 2573 | right: -50%; | ||
| 2574 | } | ||
| 2575 | .uk-tab-center .uk-tab > li > a { | ||
| 2576 | text-align: center; | ||
| 2577 | } | ||
| 2578 | /* Modifier: 'tab-bottom' | ||
| 2579 | ========================================================================== */ | ||
| 2580 | .uk-tab-bottom { | ||
| 2581 | border-top: 1px solid #ddd; | ||
| 2582 | border-bottom: none; | ||
| 2583 | } | ||
| 2584 | .uk-tab-bottom > li { | ||
| 2585 | margin-top: -1px; | ||
| 2586 | margin-bottom: 0; | ||
| 2587 | } | ||
| 2588 | .uk-tab-bottom > li > a { | ||
| 2589 | padding-top: 8px; | ||
| 2590 | padding-bottom: 8px; | ||
| 2591 | border-bottom-width: 1px; | ||
| 2592 | border-top-width: 0; | ||
| 2593 | } | ||
| 2594 | .uk-tab-bottom > li:not(.uk-active) > a:hover, | ||
| 2595 | .uk-tab-bottom > li:not(.uk-active) > a:focus, | ||
| 2596 | .uk-tab-bottom > li.uk-open:not(.uk-active) > a { | ||
| 2597 | margin-bottom: 0; | ||
| 2598 | margin-top: 1px; | ||
| 2599 | padding-bottom: 8px; | ||
| 2600 | padding-top: 7px; | ||
| 2601 | } | ||
| 2602 | .uk-tab-bottom > li.uk-active > a { | ||
| 2603 | border-top-color: transparent; | ||
| 2604 | border-bottom-color: #ddd; | ||
| 2605 | } | ||
| 2606 | /* Modifier: 'tab-grid' | ||
| 2607 | ========================================================================== */ | ||
| 2608 | /* | ||
| 2609 | * 1. Create position context to prevent hidden border because of negative `z-index` | ||
| 2610 | */ | ||
| 2611 | .uk-tab-grid { | ||
| 2612 | margin-left: -5px; | ||
| 2613 | border-bottom: none; | ||
| 2614 | /* 1 */ | ||
| 2615 | position: relative; | ||
| 2616 | z-index: 0; | ||
| 2617 | } | ||
| 2618 | .uk-tab-grid:before { | ||
| 2619 | display: block; | ||
| 2620 | position: absolute; | ||
| 2621 | left: 5px; | ||
| 2622 | right: 0; | ||
| 2623 | bottom: -1px; | ||
| 2624 | border-top: 1px solid #ddd; | ||
| 2625 | /* 1 */ | ||
| 2626 | z-index: -1; | ||
| 2627 | } | ||
| 2628 | .uk-tab-grid > li:first-child > a { | ||
| 2629 | margin-left: 5px; | ||
| 2630 | } | ||
| 2631 | .uk-tab-grid > li > a { | ||
| 2632 | text-align: center; | ||
| 2633 | } | ||
| 2634 | /* | ||
| 2635 | * If `uk-tab-bottom` | ||
| 2636 | */ | ||
| 2637 | .uk-tab-grid.uk-tab-bottom { | ||
| 2638 | border-top: none; | ||
| 2639 | } | ||
| 2640 | .uk-tab-grid.uk-tab-bottom:before { | ||
| 2641 | top: -1px; | ||
| 2642 | bottom: auto; | ||
| 2643 | } | ||
| 2644 | /* Modifier: 'tab-left', 'tab-right' | ||
| 2645 | ========================================================================== */ | ||
| 2646 | /* Tablet and bigger */ | ||
| 2647 | @media (min-width: 768px) { | ||
| 2648 | .uk-tab-left, | ||
| 2649 | .uk-tab-right { | ||
| 2650 | border-bottom: none; | ||
| 2651 | } | ||
| 2652 | .uk-tab-left > li, | ||
| 2653 | .uk-tab-right > li { | ||
| 2654 | margin-bottom: 0; | ||
| 2655 | float: none; | ||
| 2656 | } | ||
| 2657 | .uk-tab-left > li > a, | ||
| 2658 | .uk-tab-right > li > a { | ||
| 2659 | padding-top: 8px; | ||
| 2660 | padding-bottom: 8px; | ||
| 2661 | } | ||
| 2662 | .uk-tab-left > li:nth-child(n+2) > a, | ||
| 2663 | .uk-tab-right > li:nth-child(n+2) > a { | ||
| 2664 | margin-left: 0; | ||
| 2665 | margin-top: 5px; | ||
| 2666 | } | ||
| 2667 | .uk-tab-left > li.uk-active > a, | ||
| 2668 | .uk-tab-right > li.uk-active > a { | ||
| 2669 | border-color: #ddd; | ||
| 2670 | } | ||
| 2671 | /* | ||
| 2672 | * Modifier: 'tab-left' | ||
| 2673 | */ | ||
| 2674 | .uk-tab-left { | ||
| 2675 | border-right: 1px solid #ddd; | ||
| 2676 | } | ||
| 2677 | .uk-tab-left > li { | ||
| 2678 | margin-right: -1px; | ||
| 2679 | } | ||
| 2680 | .uk-tab-left > li > a { | ||
| 2681 | border-bottom-width: 1px; | ||
| 2682 | border-right-width: 0; | ||
| 2683 | } | ||
| 2684 | .uk-tab-left > li:not(.uk-active) > a:hover, | ||
| 2685 | .uk-tab-left > li:not(.uk-active) > a:focus { | ||
| 2686 | margin-bottom: 0; | ||
| 2687 | margin-right: 1px; | ||
| 2688 | padding-bottom: 8px; | ||
| 2689 | padding-right: 11px; | ||
| 2690 | } | ||
| 2691 | .uk-tab-left > li.uk-active > a { | ||
| 2692 | border-right-color: transparent; | ||
| 2693 | } | ||
| 2694 | /* | ||
| 2695 | * Modifier: 'tab-right' | ||
| 2696 | */ | ||
| 2697 | .uk-tab-right { | ||
| 2698 | border-left: 1px solid #ddd; | ||
| 2699 | } | ||
| 2700 | .uk-tab-right > li { | ||
| 2701 | margin-left: -1px; | ||
| 2702 | } | ||
| 2703 | .uk-tab-right > li > a { | ||
| 2704 | border-bottom-width: 1px; | ||
| 2705 | border-left-width: 0; | ||
| 2706 | } | ||
| 2707 | .uk-tab-right > li:not(.uk-active) > a:hover, | ||
| 2708 | .uk-tab-right > li:not(.uk-active) > a:focus { | ||
| 2709 | margin-bottom: 0; | ||
| 2710 | margin-left: 1px; | ||
| 2711 | padding-bottom: 8px; | ||
| 2712 | padding-left: 11px; | ||
| 2713 | } | ||
| 2714 | .uk-tab-right > li.uk-active > a { | ||
| 2715 | border-left-color: transparent; | ||
| 2716 | } | ||
| 2717 | } | ||
| 2718 | /* ======================================================================== | ||
| 2719 | Component: Thumbnav | ||
| 2720 | ========================================================================== */ | ||
| 2721 | /* | ||
| 2722 | * 1. Gutter | ||
| 2723 | * 2. Remove default list style | ||
| 2724 | */ | ||
| 2725 | .uk-thumbnav { | ||
| 2726 | display: -ms-flexbox; | ||
| 2727 | display: -webkit-flex; | ||
| 2728 | display: flex; | ||
| 2729 | -ms-flex-wrap: wrap; | ||
| 2730 | -webkit-flex-wrap: wrap; | ||
| 2731 | flex-wrap: wrap; | ||
| 2732 | /* 1 */ | ||
| 2733 | margin-left: -10px; | ||
| 2734 | margin-top: -10px; | ||
| 2735 | /* 2 */ | ||
| 2736 | padding: 0; | ||
| 2737 | list-style: none; | ||
| 2738 | } | ||
| 2739 | /* | ||
| 2740 | * 1. Space is allocated solely based on content dimensions | ||
| 2741 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 2742 | */ | ||
| 2743 | .uk-thumbnav > * { | ||
| 2744 | /* 1 */ | ||
| 2745 | -ms-flex: none; | ||
| 2746 | -webkit-flex: none; | ||
| 2747 | flex: none; | ||
| 2748 | /* 2 */ | ||
| 2749 | padding-left: 10px; | ||
| 2750 | margin-top: 10px; | ||
| 2751 | } | ||
| 2752 | /* | ||
| 2753 | * DEPRECATED IE9 Support | ||
| 2754 | */ | ||
| 2755 | .uk-thumbnav:before, | ||
| 2756 | .uk-thumbnav:after { | ||
| 2757 | content: ""; | ||
| 2758 | display: block; | ||
| 2759 | overflow: hidden; | ||
| 2760 | } | ||
| 2761 | .uk-thumbnav:after { | ||
| 2762 | clear: both; | ||
| 2763 | } | ||
| 2764 | .uk-thumbnav > * { | ||
| 2765 | float: left; | ||
| 2766 | } | ||
| 2767 | /* Items | ||
| 2768 | ========================================================================== */ | ||
| 2769 | .uk-thumbnav > * > * { | ||
| 2770 | display: block; | ||
| 2771 | background: #fff; | ||
| 2772 | } | ||
| 2773 | .uk-thumbnav > * > * > img { | ||
| 2774 | opacity: 0.7; | ||
| 2775 | -webkit-transition: opacity 0.15s linear; | ||
| 2776 | transition: opacity 0.15s linear; | ||
| 2777 | } | ||
| 2778 | /* | ||
| 2779 | * Hover | ||
| 2780 | */ | ||
| 2781 | .uk-thumbnav > * > :hover > img, | ||
| 2782 | .uk-thumbnav > * > :focus > img { | ||
| 2783 | opacity: 1; | ||
| 2784 | } | ||
| 2785 | /* | ||
| 2786 | * Active | ||
| 2787 | */ | ||
| 2788 | .uk-thumbnav > .uk-active > * > img { | ||
| 2789 | opacity: 1; | ||
| 2790 | } | ||
| 2791 | /* ======================================================================== | ||
| 2792 | Component: List | ||
| 2793 | ========================================================================== */ | ||
| 2794 | .uk-list { | ||
| 2795 | padding: 0; | ||
| 2796 | list-style: none; | ||
| 2797 | } | ||
| 2798 | /* | ||
| 2799 | * Micro clearfix to make list more robust | ||
| 2800 | */ | ||
| 2801 | .uk-list > li:before, | ||
| 2802 | .uk-list > li:after { | ||
| 2803 | content: ""; | ||
| 2804 | display: table; | ||
| 2805 | } | ||
| 2806 | .uk-list > li:after { | ||
| 2807 | clear: both; | ||
| 2808 | } | ||
| 2809 | /* | ||
| 2810 | * Remove margin from the last-child | ||
| 2811 | */ | ||
| 2812 | .uk-list > li > :last-child { | ||
| 2813 | margin-bottom: 0; | ||
| 2814 | } | ||
| 2815 | /* | ||
| 2816 | * Nested lists | ||
| 2817 | */ | ||
| 2818 | .uk-list ul { | ||
| 2819 | margin: 0; | ||
| 2820 | padding-left: 20px; | ||
| 2821 | list-style: none; | ||
| 2822 | } | ||
| 2823 | /* Modifier: `uk-list-line` | ||
| 2824 | ========================================================================== */ | ||
| 2825 | .uk-list-line > li:nth-child(n+2) { | ||
| 2826 | margin-top: 5px; | ||
| 2827 | padding-top: 5px; | ||
| 2828 | border-top: 1px solid #ddd; | ||
| 2829 | } | ||
| 2830 | /* Modifier: `uk-list-striped` | ||
| 2831 | ========================================================================== */ | ||
| 2832 | .uk-list-striped > li { | ||
| 2833 | padding: 5px 5px; | ||
| 2834 | } | ||
| 2835 | .uk-list-striped > li:nth-of-type(odd) { | ||
| 2836 | background: #f5f5f5; | ||
| 2837 | } | ||
| 2838 | /* Modifier: `uk-list-space` | ||
| 2839 | ========================================================================== */ | ||
| 2840 | .uk-list-space > li:nth-child(n+2) { | ||
| 2841 | margin-top: 10px; | ||
| 2842 | } | ||
| 2843 | /* ======================================================================== | ||
| 2844 | Component: Description list | ||
| 2845 | ========================================================================== */ | ||
| 2846 | /* Modifier: `uk-description-list-horizontal` | ||
| 2847 | ========================================================================== */ | ||
| 2848 | /* Tablet and bigger */ | ||
| 2849 | @media (min-width: 768px) { | ||
| 2850 | .uk-description-list-horizontal { | ||
| 2851 | overflow: hidden; | ||
| 2852 | } | ||
| 2853 | .uk-description-list-horizontal > dt { | ||
| 2854 | width: 160px; | ||
| 2855 | float: left; | ||
| 2856 | clear: both; | ||
| 2857 | overflow: hidden; | ||
| 2858 | text-overflow: ellipsis; | ||
| 2859 | white-space: nowrap; | ||
| 2860 | } | ||
| 2861 | .uk-description-list-horizontal > dd { | ||
| 2862 | margin-left: 180px; | ||
| 2863 | } | ||
| 2864 | } | ||
| 2865 | /* Modifier: `uk-description-list-line` | ||
| 2866 | ========================================================================== */ | ||
| 2867 | .uk-description-list-line > dt { | ||
| 2868 | font-weight: normal; | ||
| 2869 | } | ||
| 2870 | .uk-description-list-line > dt:nth-child(n+2) { | ||
| 2871 | margin-top: 5px; | ||
| 2872 | padding-top: 5px; | ||
| 2873 | border-top: 1px solid #ddd; | ||
| 2874 | } | ||
| 2875 | .uk-description-list-line > dd { | ||
| 2876 | color: #999; | ||
| 2877 | } | ||
| 2878 | /* ======================================================================== | ||
| 2879 | Component: Table | ||
| 2880 | ========================================================================== */ | ||
| 2881 | /* | ||
| 2882 | * 1. Remove most spacing between table cells. | ||
| 2883 | * 2. Block element behavior | ||
| 2884 | * 3. Style | ||
| 2885 | */ | ||
| 2886 | .uk-table { | ||
| 2887 | /* 1 */ | ||
| 2888 | border-collapse: collapse; | ||
| 2889 | border-spacing: 0; | ||
| 2890 | /* 2 */ | ||
| 2891 | width: 100%; | ||
| 2892 | /* 3 */ | ||
| 2893 | margin-bottom: 15px; | ||
| 2894 | } | ||
| 2895 | /* | ||
| 2896 | * Add margin if adjacent element | ||
| 2897 | */ | ||
| 2898 | * + .uk-table { | ||
| 2899 | margin-top: 15px; | ||
| 2900 | } | ||
| 2901 | .uk-table th, | ||
| 2902 | .uk-table td { | ||
| 2903 | padding: 8px 8px; | ||
| 2904 | } | ||
| 2905 | /* | ||
| 2906 | * Set alignment | ||
| 2907 | */ | ||
| 2908 | .uk-table th { | ||
| 2909 | text-align: left; | ||
| 2910 | } | ||
| 2911 | .uk-table td { | ||
| 2912 | vertical-align: top; | ||
| 2913 | } | ||
| 2914 | .uk-table thead th { | ||
| 2915 | vertical-align: bottom; | ||
| 2916 | } | ||
| 2917 | /* | ||
| 2918 | * Caption and footer | ||
| 2919 | */ | ||
| 2920 | .uk-table caption, | ||
| 2921 | .uk-table tfoot { | ||
| 2922 | font-size: 12px; | ||
| 2923 | font-style: italic; | ||
| 2924 | } | ||
| 2925 | .uk-table caption { | ||
| 2926 | text-align: left; | ||
| 2927 | color: #999; | ||
| 2928 | } | ||
| 2929 | /* | ||
| 2930 | * Active State | ||
| 2931 | */ | ||
| 2932 | .uk-table tbody tr.uk-active { | ||
| 2933 | background: #EEE; | ||
| 2934 | } | ||
| 2935 | /* Sub-modifier: `uk-table-middle` | ||
| 2936 | ========================================================================== */ | ||
| 2937 | .uk-table-middle, | ||
| 2938 | .uk-table-middle td { | ||
| 2939 | vertical-align: middle !important; | ||
| 2940 | } | ||
| 2941 | /* Modifier: `uk-table-striped` | ||
| 2942 | ========================================================================== */ | ||
| 2943 | .uk-table-striped tbody tr:nth-of-type(odd) { | ||
| 2944 | background: #f5f5f5; | ||
| 2945 | } | ||
| 2946 | /* Modifier: `uk-table-condensed` | ||
| 2947 | ========================================================================== */ | ||
| 2948 | .uk-table-condensed td { | ||
| 2949 | padding: 4px 8px; | ||
| 2950 | } | ||
| 2951 | /* Modifier: `uk-table-hover` | ||
| 2952 | ========================================================================== */ | ||
| 2953 | .uk-table-hover tbody tr:hover { | ||
| 2954 | background: #EEE; | ||
| 2955 | } | ||
| 2956 | /* ======================================================================== | ||
| 2957 | Component: Form | ||
| 2958 | ========================================================================== */ | ||
| 2959 | /* | ||
| 2960 | * 1. Define consistent box sizing. | ||
| 2961 | * Default is `content-box` with following exceptions set to `border-box` | ||
| 2962 | * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` | ||
| 2963 | * `input[type="search"]` in Chrome, Safari and Opera | ||
| 2964 | * `input[type="color"]` in Firefox | ||
| 2965 | * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. | ||
| 2966 | * 3. Remove `border-radius` in iOS. | ||
| 2967 | * 4. Correct `font` properties and `color` not being inherited. | ||
| 2968 | */ | ||
| 2969 | .uk-form input, | ||
| 2970 | .uk-form select, | ||
| 2971 | .uk-form textarea { | ||
| 2972 | /* 1 */ | ||
| 2973 | box-sizing: border-box; | ||
| 2974 | /* 2 */ | ||
| 2975 | margin: 0; | ||
| 2976 | /* 3 */ | ||
| 2977 | border-radius: 0; | ||
| 2978 | /* 4 */ | ||
| 2979 | font: inherit; | ||
| 2980 | color: inherit; | ||
| 2981 | } | ||
| 2982 | /* | ||
| 2983 | * Address inconsistent `text-transform` inheritance which is only inherit in Firefox | ||
| 2984 | */ | ||
| 2985 | .uk-form select { | ||
| 2986 | text-transform: none; | ||
| 2987 | } | ||
| 2988 | /* | ||
| 2989 | * 1. Correct `font` properties not being inherited. | ||
| 2990 | * 2. Don't inherit the `font-weight` and use `bold` instead. | ||
| 2991 | * NOTE: Both declarations don't work in Chrome, Safari and Opera. | ||
| 2992 | */ | ||
| 2993 | .uk-form optgroup { | ||
| 2994 | /* 1 */ | ||
| 2995 | font: inherit; | ||
| 2996 | /* 2 */ | ||
| 2997 | font-weight: bold; | ||
| 2998 | } | ||
| 2999 | /* | ||
| 3000 | * Removes inner padding and border in Firefox 4+. | ||
| 3001 | */ | ||
| 3002 | .uk-form input::-moz-focus-inner { | ||
| 3003 | border: 0; | ||
| 3004 | padding: 0; | ||
| 3005 | } | ||
| 3006 | /* | ||
| 3007 | * Removes excess padding in IE 8/9/10. | ||
| 3008 | */ | ||
| 3009 | .uk-form input[type="checkbox"], | ||
| 3010 | .uk-form input[type="radio"] { | ||
| 3011 | padding: 0; | ||
| 3012 | } | ||
| 3013 | /* | ||
| 3014 | * Improves consistency of cursor style for clickable elements | ||
| 3015 | */ | ||
| 3016 | .uk-form input[type="checkbox"]:not(:disabled), | ||
| 3017 | .uk-form input[type="radio"]:not(:disabled) { | ||
| 3018 | cursor: pointer; | ||
| 3019 | } | ||
| 3020 | /* | ||
| 3021 | * Remove default style in iOS. | ||
| 3022 | */ | ||
| 3023 | .uk-form textarea, | ||
| 3024 | .uk-form input:not([type]), | ||
| 3025 | .uk-form input[type="text"], | ||
| 3026 | .uk-form input[type="password"], | ||
| 3027 | .uk-form input[type="email"], | ||
| 3028 | .uk-form input[type="url"], | ||
| 3029 | .uk-form input[type="search"], | ||
| 3030 | .uk-form input[type="tel"], | ||
| 3031 | .uk-form input[type="number"], | ||
| 3032 | .uk-form input[type="datetime"] { | ||
| 3033 | -webkit-appearance: none; | ||
| 3034 | } | ||
| 3035 | /* | ||
| 3036 | * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. | ||
| 3037 | */ | ||
| 3038 | .uk-form input[type="search"]::-webkit-search-cancel-button, | ||
| 3039 | .uk-form input[type="search"]::-webkit-search-decoration { | ||
| 3040 | -webkit-appearance: none; | ||
| 3041 | } | ||
| 3042 | /* | ||
| 3043 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain | ||
| 3044 | * `font-size` values of the `input`, it causes the cursor style of the | ||
| 3045 | * decrement button to change from `default` to `text`. | ||
| 3046 | */ | ||
| 3047 | .uk-form input[type="number"]::-webkit-inner-spin-button, | ||
| 3048 | .uk-form input[type="number"]::-webkit-outer-spin-button { | ||
| 3049 | height: auto; | ||
| 3050 | } | ||
| 3051 | /* | ||
| 3052 | * Define consistent border, margin, and padding. | ||
| 3053 | */ | ||
| 3054 | .uk-form fieldset { | ||
| 3055 | border: none; | ||
| 3056 | margin: 0; | ||
| 3057 | padding: 0; | ||
| 3058 | } | ||
| 3059 | /* | ||
| 3060 | * 1. Remove default vertical scrollbar in IE 8/9/10/11. | ||
| 3061 | * 2. Improve readability and alignment in all browsers. | ||
| 3062 | */ | ||
| 3063 | .uk-form textarea { | ||
| 3064 | /* 1 */ | ||
| 3065 | overflow: auto; | ||
| 3066 | /* 2 */ | ||
| 3067 | vertical-align: top; | ||
| 3068 | } | ||
| 3069 | /* | ||
| 3070 | * Removes placeholder transparency in Firefox. | ||
| 3071 | */ | ||
| 3072 | .uk-form ::-moz-placeholder { | ||
| 3073 | opacity: 1; | ||
| 3074 | } | ||
| 3075 | /* | ||
| 3076 | * Removes `box-shadow` for invalid controls in Firefox. | ||
| 3077 | */ | ||
| 3078 | .uk-form :invalid { | ||
| 3079 | box-shadow: none; | ||
| 3080 | } | ||
| 3081 | /* | ||
| 3082 | * Vertical alignment | ||
| 3083 | */ | ||
| 3084 | .uk-form input:not([type="radio"]):not([type="checkbox"]), | ||
| 3085 | .uk-form select { | ||
| 3086 | vertical-align: middle; | ||
| 3087 | } | ||
| 3088 | /* Style | ||
| 3089 | ========================================================================== */ | ||
| 3090 | /* | ||
| 3091 | * Remove margin from the last-child | ||
| 3092 | */ | ||
| 3093 | .uk-form > :last-child { | ||
| 3094 | margin-bottom: 0; | ||
| 3095 | } | ||
| 3096 | /* | ||
| 3097 | * Controls | ||
| 3098 | * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` | ||
| 3099 | * 1. Must be `height` because `min-height` is not working in OSX | ||
| 3100 | * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports | ||
| 3101 | * 3. Vertical `padding` needed for `select` elements in Firefox | ||
| 3102 | * 4. Style | ||
| 3103 | */ | ||
| 3104 | .uk-form select, | ||
| 3105 | .uk-form textarea, | ||
| 3106 | .uk-form input:not([type]), | ||
| 3107 | .uk-form input[type="text"], | ||
| 3108 | .uk-form input[type="password"], | ||
| 3109 | .uk-form input[type="datetime"], | ||
| 3110 | .uk-form input[type="datetime-local"], | ||
| 3111 | .uk-form input[type="date"], | ||
| 3112 | .uk-form input[type="month"], | ||
| 3113 | .uk-form input[type="time"], | ||
| 3114 | .uk-form input[type="week"], | ||
| 3115 | .uk-form input[type="number"], | ||
| 3116 | .uk-form input[type="email"], | ||
| 3117 | .uk-form input[type="url"], | ||
| 3118 | .uk-form input[type="search"], | ||
| 3119 | .uk-form input[type="tel"], | ||
| 3120 | .uk-form input[type="color"] { | ||
| 3121 | /* 1 */ | ||
| 3122 | height: 30px; | ||
| 3123 | /* 2 */ | ||
| 3124 | max-width: 100%; | ||
| 3125 | /* 3 */ | ||
| 3126 | padding: 4px 6px; | ||
| 3127 | /* 4 */ | ||
| 3128 | border: 1px solid #ddd; | ||
| 3129 | background: #fff; | ||
| 3130 | color: #444; | ||
| 3131 | -webkit-transition: all 0.2s linear; | ||
| 3132 | -webkit-transition-property: border, background, color, box-shadow, padding; | ||
| 3133 | transition: all 0.2s linear; | ||
| 3134 | transition-property: border, background, color, box-shadow, padding; | ||
| 3135 | } | ||
| 3136 | .uk-form select:focus, | ||
| 3137 | .uk-form textarea:focus, | ||
| 3138 | .uk-form input:not([type]):focus, | ||
| 3139 | .uk-form input[type="text"]:focus, | ||
| 3140 | .uk-form input[type="password"]:focus, | ||
| 3141 | .uk-form input[type="datetime"]:focus, | ||
| 3142 | .uk-form input[type="datetime-local"]:focus, | ||
| 3143 | .uk-form input[type="date"]:focus, | ||
| 3144 | .uk-form input[type="month"]:focus, | ||
| 3145 | .uk-form input[type="time"]:focus, | ||
| 3146 | .uk-form input[type="week"]:focus, | ||
| 3147 | .uk-form input[type="number"]:focus, | ||
| 3148 | .uk-form input[type="email"]:focus, | ||
| 3149 | .uk-form input[type="url"]:focus, | ||
| 3150 | .uk-form input[type="search"]:focus, | ||
| 3151 | .uk-form input[type="tel"]:focus, | ||
| 3152 | .uk-form input[type="color"]:focus { | ||
| 3153 | border-color: #99baca; | ||
| 3154 | outline: 0; | ||
| 3155 | background: #f5fbfe; | ||
| 3156 | color: #444; | ||
| 3157 | } | ||
| 3158 | .uk-form select:disabled, | ||
| 3159 | .uk-form textarea:disabled, | ||
| 3160 | .uk-form input:not([type]):disabled, | ||
| 3161 | .uk-form input[type="text"]:disabled, | ||
| 3162 | .uk-form input[type="password"]:disabled, | ||
| 3163 | .uk-form input[type="datetime"]:disabled, | ||
| 3164 | .uk-form input[type="datetime-local"]:disabled, | ||
| 3165 | .uk-form input[type="date"]:disabled, | ||
| 3166 | .uk-form input[type="month"]:disabled, | ||
| 3167 | .uk-form input[type="time"]:disabled, | ||
| 3168 | .uk-form input[type="week"]:disabled, | ||
| 3169 | .uk-form input[type="number"]:disabled, | ||
| 3170 | .uk-form input[type="email"]:disabled, | ||
| 3171 | .uk-form input[type="url"]:disabled, | ||
| 3172 | .uk-form input[type="search"]:disabled, | ||
| 3173 | .uk-form input[type="tel"]:disabled, | ||
| 3174 | .uk-form input[type="color"]:disabled { | ||
| 3175 | border-color: #ddd; | ||
| 3176 | background-color: #f5f5f5; | ||
| 3177 | color: #999; | ||
| 3178 | } | ||
| 3179 | /* | ||
| 3180 | * Placeholder | ||
| 3181 | */ | ||
| 3182 | .uk-form :-ms-input-placeholder { | ||
| 3183 | color: #999 !important; | ||
| 3184 | } | ||
| 3185 | .uk-form ::-moz-placeholder { | ||
| 3186 | color: #999; | ||
| 3187 | } | ||
| 3188 | .uk-form ::-webkit-input-placeholder { | ||
| 3189 | color: #999; | ||
| 3190 | } | ||
| 3191 | .uk-form :disabled:-ms-input-placeholder { | ||
| 3192 | color: #999 !important; | ||
| 3193 | } | ||
| 3194 | .uk-form :disabled::-moz-placeholder { | ||
| 3195 | color: #999; | ||
| 3196 | } | ||
| 3197 | .uk-form :disabled::-webkit-input-placeholder { | ||
| 3198 | color: #999; | ||
| 3199 | } | ||
| 3200 | /* | ||
| 3201 | * Legend | ||
| 3202 | * 1. Behave like block element | ||
| 3203 | * 2. Correct `color` not being inherited in IE 8/9/10/11. | ||
| 3204 | * 3. Remove padding | ||
| 3205 | * 4. `margin-bottom` is not working in Safari and Opera. | ||
| 3206 | * Using `padding` and :after instead to create the border | ||
| 3207 | * 5. Style | ||
| 3208 | */ | ||
| 3209 | .uk-form legend { | ||
| 3210 | /* 1 */ | ||
| 3211 | width: 100%; | ||
| 3212 | /* 2 */ | ||
| 3213 | border: 0; | ||
| 3214 | /* 3 */ | ||
| 3215 | padding: 0; | ||
| 3216 | /* 4 */ | ||
| 3217 | padding-bottom: 15px; | ||
| 3218 | /* 5 */ | ||
| 3219 | font-size: 18px; | ||
| 3220 | line-height: 30px; | ||
| 3221 | } | ||
| 3222 | /* | ||
| 3223 | * 1. Fixes IE9 | ||
| 3224 | */ | ||
| 3225 | .uk-form legend:after { | ||
| 3226 | content: ""; | ||
| 3227 | display: block; | ||
| 3228 | border-bottom: 1px solid #ddd; | ||
| 3229 | /* 1 */ | ||
| 3230 | width: 100%; | ||
| 3231 | } | ||
| 3232 | /* Size modifiers | ||
| 3233 | * Higher specificity needed to override defaults | ||
| 3234 | ========================================================================== */ | ||
| 3235 | select.uk-form-small, | ||
| 3236 | textarea.uk-form-small, | ||
| 3237 | input[type].uk-form-small, | ||
| 3238 | input:not([type]).uk-form-small { | ||
| 3239 | height: 25px; | ||
| 3240 | padding: 3px 3px; | ||
| 3241 | font-size: 12px; | ||
| 3242 | } | ||
| 3243 | select.uk-form-large, | ||
| 3244 | textarea.uk-form-large, | ||
| 3245 | input[type].uk-form-large, | ||
| 3246 | input:not([type]).uk-form-large { | ||
| 3247 | height: 40px; | ||
| 3248 | padding: 8px 6px; | ||
| 3249 | font-size: 16px; | ||
| 3250 | } | ||
| 3251 | /* Reset height | ||
| 3252 | * Must be after size modifiers | ||
| 3253 | ========================================================================== */ | ||
| 3254 | .uk-form textarea, | ||
| 3255 | .uk-form select[multiple], | ||
| 3256 | .uk-form select[size] { | ||
| 3257 | height: auto; | ||
| 3258 | } | ||
| 3259 | /* Validation states | ||
| 3260 | * Using !important to keep the selector simple | ||
| 3261 | ========================================================================== */ | ||
| 3262 | /* | ||
| 3263 | * Error state | ||
| 3264 | */ | ||
| 3265 | .uk-form-danger { | ||
| 3266 | border-color: #dc8d99 !important; | ||
| 3267 | background: #fff7f8 !important; | ||
| 3268 | color: #d85030 !important; | ||
| 3269 | } | ||
| 3270 | /* | ||
| 3271 | * Success state | ||
| 3272 | */ | ||
| 3273 | .uk-form-success { | ||
| 3274 | border-color: #8ec73b !important; | ||
| 3275 | background: #fafff2 !important; | ||
| 3276 | color: #659f13 !important; | ||
| 3277 | } | ||
| 3278 | /* Style modifiers | ||
| 3279 | * Using !important to keep the selector simple | ||
| 3280 | ========================================================================== */ | ||
| 3281 | /* | ||
| 3282 | * Blank form | ||
| 3283 | */ | ||
| 3284 | .uk-form-blank { | ||
| 3285 | border-color: transparent !important; | ||
| 3286 | border-style: dashed !important; | ||
| 3287 | background: none !important; | ||
| 3288 | } | ||
| 3289 | .uk-form-blank:focus { | ||
| 3290 | border-color: #ddd !important; | ||
| 3291 | } | ||
| 3292 | /* Size sub-modifiers | ||
| 3293 | ========================================================================== */ | ||
| 3294 | /* | ||
| 3295 | * Fixed widths | ||
| 3296 | * Different widths for mini sized `input` and `select` elements | ||
| 3297 | */ | ||
| 3298 | input.uk-form-width-mini { | ||
| 3299 | width: 40px; | ||
| 3300 | } | ||
| 3301 | select.uk-form-width-mini { | ||
| 3302 | width: 65px; | ||
| 3303 | } | ||
| 3304 | .uk-form-width-small { | ||
| 3305 | width: 130px; | ||
| 3306 | } | ||
| 3307 | .uk-form-width-medium { | ||
| 3308 | width: 200px; | ||
| 3309 | } | ||
| 3310 | .uk-form-width-large { | ||
| 3311 | width: 500px; | ||
| 3312 | } | ||
| 3313 | /* Sub-objects: `uk-form-row` | ||
| 3314 | * Groups labels and controls in rows | ||
| 3315 | ========================================================================== */ | ||
| 3316 | /* | ||
| 3317 | * Micro clearfix | ||
| 3318 | * Needed for `uk-form-horizontal` modifier | ||
| 3319 | */ | ||
| 3320 | .uk-form-row:before, | ||
| 3321 | .uk-form-row:after { | ||
| 3322 | content: ""; | ||
| 3323 | display: table; | ||
| 3324 | } | ||
| 3325 | .uk-form-row:after { | ||
| 3326 | clear: both; | ||
| 3327 | } | ||
| 3328 | /* | ||
| 3329 | * Vertical gutter | ||
| 3330 | */ | ||
| 3331 | .uk-form-row + .uk-form-row { | ||
| 3332 | margin-top: 15px; | ||
| 3333 | } | ||
| 3334 | /* Help text | ||
| 3335 | * Sub-object: `uk-form-help-inline`, `uk-form-help-block` | ||
| 3336 | ========================================================================== */ | ||
| 3337 | .uk-form-help-inline { | ||
| 3338 | display: inline-block; | ||
| 3339 | margin: 0 0 0 10px; | ||
| 3340 | } | ||
| 3341 | .uk-form-help-block { | ||
| 3342 | margin: 5px 0 0 0; | ||
| 3343 | } | ||
| 3344 | /* Controls content | ||
| 3345 | * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` | ||
| 3346 | ========================================================================== */ | ||
| 3347 | /* | ||
| 3348 | * Remove margins | ||
| 3349 | */ | ||
| 3350 | .uk-form-controls > :first-child { | ||
| 3351 | margin-top: 0; | ||
| 3352 | } | ||
| 3353 | .uk-form-controls > :last-child { | ||
| 3354 | margin-bottom: 0; | ||
| 3355 | } | ||
| 3356 | /* | ||
| 3357 | * Group controls and text into blocks with a small spacing between blocks | ||
| 3358 | */ | ||
| 3359 | .uk-form-controls-condensed { | ||
| 3360 | margin: 5px 0; | ||
| 3361 | } | ||
| 3362 | /* Modifier: `uk-form-stacked` | ||
| 3363 | * Requires sub-object: `uk-form-label` | ||
| 3364 | ========================================================================== */ | ||
| 3365 | .uk-form-stacked .uk-form-label { | ||
| 3366 | display: block; | ||
| 3367 | margin-bottom: 5px; | ||
| 3368 | font-weight: bold; | ||
| 3369 | } | ||
| 3370 | /* Modifier: `uk-form-horizontal` | ||
| 3371 | * Requires sub-objects: `uk-form-label`, `uk-form-controls` | ||
| 3372 | ========================================================================== */ | ||
| 3373 | /* Tablet portrait and smaller */ | ||
| 3374 | @media (max-width: 959px) { | ||
| 3375 | /* Behave like `uk-form-stacked` */ | ||
| 3376 | .uk-form-horizontal .uk-form-label { | ||
| 3377 | display: block; | ||
| 3378 | margin-bottom: 5px; | ||
| 3379 | font-weight: bold; | ||
| 3380 | } | ||
| 3381 | } | ||
| 3382 | /* Desktop and bigger */ | ||
| 3383 | @media (min-width: 960px) { | ||
| 3384 | .uk-form-horizontal .uk-form-label { | ||
| 3385 | width: 200px; | ||
| 3386 | margin-top: 5px; | ||
| 3387 | float: left; | ||
| 3388 | } | ||
| 3389 | .uk-form-horizontal .uk-form-controls { | ||
| 3390 | margin-left: 215px; | ||
| 3391 | } | ||
| 3392 | /* Better vertical alignment if controls are checkboxes and radio buttons with text */ | ||
| 3393 | .uk-form-horizontal .uk-form-controls-text { | ||
| 3394 | padding-top: 5px; | ||
| 3395 | } | ||
| 3396 | } | ||
| 3397 | /* Sub-object: `uk-form-icon` | ||
| 3398 | ========================================================================== */ | ||
| 3399 | /* | ||
| 3400 | * 1. Container width fits its content | ||
| 3401 | * 2. Create position context | ||
| 3402 | * 3. Prevent `inline-block` consequences | ||
| 3403 | */ | ||
| 3404 | .uk-form-icon { | ||
| 3405 | /* 1 */ | ||
| 3406 | display: inline-block; | ||
| 3407 | /* 2 */ | ||
| 3408 | position: relative; | ||
| 3409 | /* 3 */ | ||
| 3410 | max-width: 100%; | ||
| 3411 | } | ||
| 3412 | /* | ||
| 3413 | * 1. Make form element clickable through icon | ||
| 3414 | */ | ||
| 3415 | .uk-form-icon > [class*='uk-icon-'] { | ||
| 3416 | position: absolute; | ||
| 3417 | top: 50%; | ||
| 3418 | width: 30px; | ||
| 3419 | margin-top: -7px; | ||
| 3420 | font-size: 14px; | ||
| 3421 | color: #999; | ||
| 3422 | text-align: center; | ||
| 3423 | /* 1 */ | ||
| 3424 | pointer-events: none; | ||
| 3425 | } | ||
| 3426 | .uk-form-icon:not(.uk-form-icon-flip) > input { | ||
| 3427 | padding-left: 30px !important; | ||
| 3428 | } | ||
| 3429 | /* | ||
| 3430 | * Sub-modifier: `uk-form-icon-flip` | ||
| 3431 | */ | ||
| 3432 | .uk-form-icon-flip > [class*='uk-icon-'] { | ||
| 3433 | right: 0; | ||
| 3434 | } | ||
| 3435 | .uk-form-icon-flip > input { | ||
| 3436 | padding-right: 30px !important; | ||
| 3437 | } | ||
| 3438 | /* ======================================================================== | ||
| 3439 | Component: Button | ||
| 3440 | ========================================================================== */ | ||
| 3441 | /* | ||
| 3442 | * Removes inner padding and border in Firefox 4+. | ||
| 3443 | */ | ||
| 3444 | .uk-button::-moz-focus-inner { | ||
| 3445 | border: 0; | ||
| 3446 | padding: 0; | ||
| 3447 | } | ||
| 3448 | /* | ||
| 3449 | * 1. Correct inability to style clickable `input` types in iOS. | ||
| 3450 | * 2. Remove margins in Chrome, Safari and Opera. | ||
| 3451 | * 3. Remove borders for `button`. | ||
| 3452 | * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. | ||
| 3453 | * 5. Correct `font` properties and `color` not being inherited for `button`. | ||
| 3454 | * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE | ||
| 3455 | * 7. Style | ||
| 3456 | * 8. `line-height` is used to create a height | ||
| 3457 | * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. | ||
| 3458 | * 10. Reset button group whitespace hack | ||
| 3459 | * 11. Required for `a`. | ||
| 3460 | */ | ||
| 3461 | .uk-button { | ||
| 3462 | /* 1 */ | ||
| 3463 | -webkit-appearance: none; | ||
| 3464 | /* 2 */ | ||
| 3465 | margin: 0; | ||
| 3466 | /* 3 */ | ||
| 3467 | border: none; | ||
| 3468 | /* 4 */ | ||
| 3469 | overflow: visible; | ||
| 3470 | /* 5 */ | ||
| 3471 | font: inherit; | ||
| 3472 | color: #444; | ||
| 3473 | /* 6 */ | ||
| 3474 | text-transform: none; | ||
| 3475 | /* 7 */ | ||
| 3476 | display: inline-block; | ||
| 3477 | box-sizing: border-box; | ||
| 3478 | padding: 0 12px; | ||
| 3479 | background: #eee; | ||
| 3480 | vertical-align: middle; | ||
| 3481 | /* 8 */ | ||
| 3482 | line-height: 30px; | ||
| 3483 | /* 9 */ | ||
| 3484 | min-height: 30px; | ||
| 3485 | /* 10 */ | ||
| 3486 | font-size: 1rem; | ||
| 3487 | /* 11 */ | ||
| 3488 | text-decoration: none; | ||
| 3489 | text-align: center; | ||
| 3490 | } | ||
| 3491 | .uk-button:not(:disabled) { | ||
| 3492 | cursor: pointer; | ||
| 3493 | } | ||
| 3494 | /* | ||
| 3495 | * Hover | ||
| 3496 | * 1. Apply hover style also to focus state | ||
| 3497 | * 2. Remove default focus style | ||
| 3498 | * 3. Required for `a` elements | ||
| 3499 | */ | ||
| 3500 | .uk-button:hover, | ||
| 3501 | .uk-button:focus { | ||
| 3502 | background-color: #f5f5f5; | ||
| 3503 | color: #444; | ||
| 3504 | /* 2 */ | ||
| 3505 | outline: none; | ||
| 3506 | /* 3 */ | ||
| 3507 | text-decoration: none; | ||
| 3508 | } | ||
| 3509 | /* Active */ | ||
| 3510 | .uk-button:active, | ||
| 3511 | .uk-button.uk-active { | ||
| 3512 | background-color: #ddd; | ||
| 3513 | color: #444; | ||
| 3514 | } | ||
| 3515 | /* Color modifiers | ||
| 3516 | ========================================================================== */ | ||
| 3517 | /* | ||
| 3518 | * Modifier: `uk-button-primary` | ||
| 3519 | */ | ||
| 3520 | .uk-button-primary { | ||
| 3521 | background-color: #00a8e6; | ||
| 3522 | color: #fff; | ||
| 3523 | } | ||
| 3524 | /* Hover */ | ||
| 3525 | .uk-button-primary:hover, | ||
| 3526 | .uk-button-primary:focus { | ||
| 3527 | background-color: #35b3ee; | ||
| 3528 | color: #fff; | ||
| 3529 | } | ||
| 3530 | /* Active */ | ||
| 3531 | .uk-button-primary:active, | ||
| 3532 | .uk-button-primary.uk-active { | ||
| 3533 | background-color: #0091ca; | ||
| 3534 | color: #fff; | ||
| 3535 | } | ||
| 3536 | /* | ||
| 3537 | * Modifier: `uk-button-success` | ||
| 3538 | */ | ||
| 3539 | .uk-button-success { | ||
| 3540 | background-color: #8cc14c; | ||
| 3541 | color: #fff; | ||
| 3542 | } | ||
| 3543 | /* Hover */ | ||
| 3544 | .uk-button-success:hover, | ||
| 3545 | .uk-button-success:focus { | ||
| 3546 | background-color: #8ec73b; | ||
| 3547 | color: #fff; | ||
| 3548 | } | ||
| 3549 | /* Active */ | ||
| 3550 | .uk-button-success:active, | ||
| 3551 | .uk-button-success.uk-active { | ||
| 3552 | background-color: #72ae41; | ||
| 3553 | color: #fff; | ||
| 3554 | } | ||
| 3555 | /* | ||
| 3556 | * Modifier: `uk-button-danger` | ||
| 3557 | */ | ||
| 3558 | .uk-button-danger { | ||
| 3559 | background-color: #da314b; | ||
| 3560 | color: #fff; | ||
| 3561 | } | ||
| 3562 | /* Hover */ | ||
| 3563 | .uk-button-danger:hover, | ||
| 3564 | .uk-button-danger:focus { | ||
| 3565 | background-color: #e4354f; | ||
| 3566 | color: #fff; | ||
| 3567 | } | ||
| 3568 | /* Active */ | ||
| 3569 | .uk-button-danger:active, | ||
| 3570 | .uk-button-danger.uk-active { | ||
| 3571 | background-color: #c91032; | ||
| 3572 | color: #fff; | ||
| 3573 | } | ||
| 3574 | /* Disabled state | ||
| 3575 | * Overrides also the color modifiers | ||
| 3576 | ========================================================================== */ | ||
| 3577 | /* Equal for all button types */ | ||
| 3578 | .uk-button:disabled { | ||
| 3579 | background-color: #f5f5f5; | ||
| 3580 | color: #999; | ||
| 3581 | } | ||
| 3582 | /* Modifier: `uk-button-link` | ||
| 3583 | ========================================================================== */ | ||
| 3584 | /* Reset */ | ||
| 3585 | .uk-button-link, | ||
| 3586 | .uk-button-link:hover, | ||
| 3587 | .uk-button-link:focus, | ||
| 3588 | .uk-button-link:active, | ||
| 3589 | .uk-button-link.uk-active, | ||
| 3590 | .uk-button-link:disabled { | ||
| 3591 | border-color: transparent; | ||
| 3592 | background: none; | ||
| 3593 | } | ||
| 3594 | /* Color */ | ||
| 3595 | .uk-button-link { | ||
| 3596 | color: #07D; | ||
| 3597 | } | ||
| 3598 | .uk-button-link:hover, | ||
| 3599 | .uk-button-link:focus, | ||
| 3600 | .uk-button-link:active, | ||
| 3601 | .uk-button-link.uk-active { | ||
| 3602 | color: #059; | ||
| 3603 | text-decoration: underline; | ||
| 3604 | } | ||
| 3605 | .uk-button-link:disabled { | ||
| 3606 | color: #999; | ||
| 3607 | } | ||
| 3608 | /* Focus */ | ||
| 3609 | .uk-button-link:focus { | ||
| 3610 | outline: 1px dotted; | ||
| 3611 | } | ||
| 3612 | /* Size modifiers | ||
| 3613 | ========================================================================== */ | ||
| 3614 | .uk-button-mini { | ||
| 3615 | min-height: 20px; | ||
| 3616 | padding: 0 6px; | ||
| 3617 | line-height: 20px; | ||
| 3618 | font-size: 11px; | ||
| 3619 | } | ||
| 3620 | .uk-button-small { | ||
| 3621 | min-height: 25px; | ||
| 3622 | padding: 0 10px; | ||
| 3623 | line-height: 25px; | ||
| 3624 | font-size: 12px; | ||
| 3625 | } | ||
| 3626 | .uk-button-large { | ||
| 3627 | min-height: 40px; | ||
| 3628 | padding: 0 15px; | ||
| 3629 | line-height: 40px; | ||
| 3630 | font-size: 16px; | ||
| 3631 | } | ||
| 3632 | /* Sub-object `uk-button-group` | ||
| 3633 | ========================================================================== */ | ||
| 3634 | /* | ||
| 3635 | * 1. Behave like buttons | ||
| 3636 | * 2. Create position context for dropdowns | ||
| 3637 | * 3. Remove whitespace between child elements when using `inline-block` | ||
| 3638 | * 4. Prevent buttons from wrapping | ||
| 3639 | * 5. Remove whitespace between child elements when using `inline-block` | ||
| 3640 | */ | ||
| 3641 | .uk-button-group { | ||
| 3642 | /* 1 */ | ||
| 3643 | display: inline-block; | ||
| 3644 | vertical-align: middle; | ||
| 3645 | /* 2 */ | ||
| 3646 | position: relative; | ||
| 3647 | /* 3 */ | ||
| 3648 | font-size: 0.001px; | ||
| 3649 | /* 4 */ | ||
| 3650 | white-space: nowrap; | ||
| 3651 | } | ||
| 3652 | .uk-button-group > * { | ||
| 3653 | display: inline-block; | ||
| 3654 | } | ||
| 3655 | /* 5 */ | ||
| 3656 | .uk-button-group .uk-button { | ||
| 3657 | vertical-align: top; | ||
| 3658 | } | ||
| 3659 | /* Sub-object: `uk-button-dropdown` | ||
| 3660 | ========================================================================== */ | ||
| 3661 | /* | ||
| 3662 | * 1. Behave like buttons | ||
| 3663 | * 2. Create position context for dropdowns | ||
| 3664 | */ | ||
| 3665 | .uk-button-dropdown { | ||
| 3666 | /* 1 */ | ||
| 3667 | display: inline-block; | ||
| 3668 | vertical-align: middle; | ||
| 3669 | /* 2 */ | ||
| 3670 | position: relative; | ||
| 3671 | } | ||
| 3672 | /* ======================================================================== | ||
| 3673 | Component: Icon | ||
| 3674 | ========================================================================== */ | ||
| 3675 | @font-face { | ||
| 3676 | font-family: 'FontAwesome'; | ||
| 3677 | src: url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); | ||
| 3678 | font-weight: normal; | ||
| 3679 | font-style: normal; | ||
| 3680 | } | ||
| 3681 | /* | ||
| 3682 | * 1. Allow margin | ||
| 3683 | * 2. Prevent inherit font style | ||
| 3684 | * 4. Correct line-height | ||
| 3685 | * 5. Better font rendering | ||
| 3686 | * 6. Remove `text-decoration` for anchors | ||
| 3687 | */ | ||
| 3688 | [class*='uk-icon-'] { | ||
| 3689 | font-family: FontAwesome; | ||
| 3690 | /* 1 */ | ||
| 3691 | display: inline-block; | ||
| 3692 | /* 2 */ | ||
| 3693 | font-weight: normal; | ||
| 3694 | font-style: normal; | ||
| 3695 | /* 4 */ | ||
| 3696 | line-height: 1; | ||
| 3697 | /* 5 */ | ||
| 3698 | -webkit-font-smoothing: antialiased; | ||
| 3699 | -moz-osx-font-smoothing: grayscale; | ||
| 3700 | } | ||
| 3701 | /* 6 */ | ||
| 3702 | [class*='uk-icon-'], | ||
| 3703 | [class*='uk-icon-']:hover, | ||
| 3704 | [class*='uk-icon-']:focus { | ||
| 3705 | text-decoration: none; | ||
| 3706 | } | ||
| 3707 | /* Size modifiers | ||
| 3708 | ========================================================================== */ | ||
| 3709 | .uk-icon-small { | ||
| 3710 | font-size: 150%; | ||
| 3711 | vertical-align: -10%; | ||
| 3712 | } | ||
| 3713 | .uk-icon-medium { | ||
| 3714 | font-size: 200%; | ||
| 3715 | vertical-align: -16%; | ||
| 3716 | } | ||
| 3717 | .uk-icon-large { | ||
| 3718 | font-size: 250%; | ||
| 3719 | vertical-align: -22%; | ||
| 3720 | } | ||
| 3721 | /* Modifier: `uk-icon-justify` | ||
| 3722 | ========================================================================== */ | ||
| 3723 | .uk-icon-justify { | ||
| 3724 | width: 1em; | ||
| 3725 | text-align: center; | ||
| 3726 | } | ||
| 3727 | /* Modifier: `uk-icon-spin` | ||
| 3728 | ========================================================================== */ | ||
| 3729 | .uk-icon-spin { | ||
| 3730 | display: inline-block; | ||
| 3731 | -webkit-animation: uk-rotate 2s infinite linear; | ||
| 3732 | animation: uk-rotate 2s infinite linear; | ||
| 3733 | } | ||
| 3734 | /* Modifier: `uk-icon-hover` | ||
| 3735 | ========================================================================== */ | ||
| 3736 | .uk-icon-hover { | ||
| 3737 | color: #999; | ||
| 3738 | } | ||
| 3739 | /* | ||
| 3740 | * Hover | ||
| 3741 | */ | ||
| 3742 | .uk-icon-hover:hover { | ||
| 3743 | color: #444; | ||
| 3744 | } | ||
| 3745 | /* Modifier: `uk-icon-button` | ||
| 3746 | ========================================================================== */ | ||
| 3747 | .uk-icon-button { | ||
| 3748 | box-sizing: border-box; | ||
| 3749 | display: inline-block; | ||
| 3750 | width: 35px; | ||
| 3751 | height: 35px; | ||
| 3752 | border-radius: 100%; | ||
| 3753 | background: #eee; | ||
| 3754 | line-height: 35px; | ||
| 3755 | color: #444; | ||
| 3756 | font-size: 18px; | ||
| 3757 | text-align: center; | ||
| 3758 | } | ||
| 3759 | /* | ||
| 3760 | * Hover | ||
| 3761 | * 1. Apply hover style also to focus state | ||
| 3762 | * 2. Remove default focus style | ||
| 3763 | */ | ||
| 3764 | .uk-icon-button:hover, | ||
| 3765 | .uk-icon-button:focus { | ||
| 3766 | background-color: #f5f5f5; | ||
| 3767 | color: #444; | ||
| 3768 | /* 2 */ | ||
| 3769 | outline: none; | ||
| 3770 | } | ||
| 3771 | /* Active */ | ||
| 3772 | .uk-icon-button:active { | ||
| 3773 | background-color: #ddd; | ||
| 3774 | color: #444; | ||
| 3775 | } | ||
| 3776 | /* Icon mapping | ||
| 3777 | ========================================================================== */ | ||
| 3778 | .uk-icon-glass:before { | ||
| 3779 | content: "\f000"; | ||
| 3780 | } | ||
| 3781 | .uk-icon-music:before { | ||
| 3782 | content: "\f001"; | ||
| 3783 | } | ||
| 3784 | .uk-icon-search:before { | ||
| 3785 | content: "\f002"; | ||
| 3786 | } | ||
| 3787 | .uk-icon-envelope-o:before { | ||
| 3788 | content: "\f003"; | ||
| 3789 | } | ||
| 3790 | .uk-icon-heart:before { | ||
| 3791 | content: "\f004"; | ||
| 3792 | } | ||
| 3793 | .uk-icon-star:before { | ||
| 3794 | content: "\f005"; | ||
| 3795 | } | ||
| 3796 | .uk-icon-star-o:before { | ||
| 3797 | content: "\f006"; | ||
| 3798 | } | ||
| 3799 | .uk-icon-user:before { | ||
| 3800 | content: "\f007"; | ||
| 3801 | } | ||
| 3802 | .uk-icon-film:before { | ||
| 3803 | content: "\f008"; | ||
| 3804 | } | ||
| 3805 | .uk-icon-th-large:before { | ||
| 3806 | content: "\f009"; | ||
| 3807 | } | ||
| 3808 | .uk-icon-th:before { | ||
| 3809 | content: "\f00a"; | ||
| 3810 | } | ||
| 3811 | .uk-icon-th-list:before { | ||
| 3812 | content: "\f00b"; | ||
| 3813 | } | ||
| 3814 | .uk-icon-check:before { | ||
| 3815 | content: "\f00c"; | ||
| 3816 | } | ||
| 3817 | .uk-icon-remove:before, | ||
| 3818 | .uk-icon-close:before, | ||
| 3819 | .uk-icon-times:before { | ||
| 3820 | content: "\f00d"; | ||
| 3821 | } | ||
| 3822 | .uk-icon-search-plus:before { | ||
| 3823 | content: "\f00e"; | ||
| 3824 | } | ||
| 3825 | .uk-icon-search-minus:before { | ||
| 3826 | content: "\f010"; | ||
| 3827 | } | ||
| 3828 | .uk-icon-power-off:before { | ||
| 3829 | content: "\f011"; | ||
| 3830 | } | ||
| 3831 | .uk-icon-signal:before { | ||
| 3832 | content: "\f012"; | ||
| 3833 | } | ||
| 3834 | .uk-icon-gear:before, | ||
| 3835 | .uk-icon-cog:before { | ||
| 3836 | content: "\f013"; | ||
| 3837 | } | ||
| 3838 | .uk-icon-trash-o:before { | ||
| 3839 | content: "\f014"; | ||
| 3840 | } | ||
| 3841 | .uk-icon-home:before { | ||
| 3842 | content: "\f015"; | ||
| 3843 | } | ||
| 3844 | .uk-icon-file-o:before { | ||
| 3845 | content: "\f016"; | ||
| 3846 | } | ||
| 3847 | .uk-icon-clock-o:before { | ||
| 3848 | content: "\f017"; | ||
| 3849 | } | ||
| 3850 | .uk-icon-road:before { | ||
| 3851 | content: "\f018"; | ||
| 3852 | } | ||
| 3853 | .uk-icon-download:before { | ||
| 3854 | content: "\f019"; | ||
| 3855 | } | ||
| 3856 | .uk-icon-arrow-circle-o-down:before { | ||
| 3857 | content: "\f01a"; | ||
| 3858 | } | ||
| 3859 | .uk-icon-arrow-circle-o-up:before { | ||
| 3860 | content: "\f01b"; | ||
| 3861 | } | ||
| 3862 | .uk-icon-inbox:before { | ||
| 3863 | content: "\f01c"; | ||
| 3864 | } | ||
| 3865 | .uk-icon-play-circle-o:before { | ||
| 3866 | content: "\f01d"; | ||
| 3867 | } | ||
| 3868 | .uk-icon-rotate-right:before, | ||
| 3869 | .uk-icon-repeat:before { | ||
| 3870 | content: "\f01e"; | ||
| 3871 | } | ||
| 3872 | .uk-icon-refresh:before { | ||
| 3873 | content: "\f021"; | ||
| 3874 | } | ||
| 3875 | .uk-icon-list-alt:before { | ||
| 3876 | content: "\f022"; | ||
| 3877 | } | ||
| 3878 | .uk-icon-lock:before { | ||
| 3879 | content: "\f023"; | ||
| 3880 | } | ||
| 3881 | .uk-icon-flag:before { | ||
| 3882 | content: "\f024"; | ||
| 3883 | } | ||
| 3884 | .uk-icon-headphones:before { | ||
| 3885 | content: "\f025"; | ||
| 3886 | } | ||
| 3887 | .uk-icon-volume-off:before { | ||
| 3888 | content: "\f026"; | ||
| 3889 | } | ||
| 3890 | .uk-icon-volume-down:before { | ||
| 3891 | content: "\f027"; | ||
| 3892 | } | ||
| 3893 | .uk-icon-volume-up:before { | ||
| 3894 | content: "\f028"; | ||
| 3895 | } | ||
| 3896 | .uk-icon-qrcode:before { | ||
| 3897 | content: "\f029"; | ||
| 3898 | } | ||
| 3899 | .uk-icon-barcode:before { | ||
| 3900 | content: "\f02a"; | ||
| 3901 | } | ||
| 3902 | .uk-icon-tag:before { | ||
| 3903 | content: "\f02b"; | ||
| 3904 | } | ||
| 3905 | .uk-icon-tags:before { | ||
| 3906 | content: "\f02c"; | ||
| 3907 | } | ||
| 3908 | .uk-icon-book:before { | ||
| 3909 | content: "\f02d"; | ||
| 3910 | } | ||
| 3911 | .uk-icon-bookmark:before { | ||
| 3912 | content: "\f02e"; | ||
| 3913 | } | ||
| 3914 | .uk-icon-print:before { | ||
| 3915 | content: "\f02f"; | ||
| 3916 | } | ||
| 3917 | .uk-icon-camera:before { | ||
| 3918 | content: "\f030"; | ||
| 3919 | } | ||
| 3920 | .uk-icon-font:before { | ||
| 3921 | content: "\f031"; | ||
| 3922 | } | ||
| 3923 | .uk-icon-bold:before { | ||
| 3924 | content: "\f032"; | ||
| 3925 | } | ||
| 3926 | .uk-icon-italic:before { | ||
| 3927 | content: "\f033"; | ||
| 3928 | } | ||
| 3929 | .uk-icon-text-height:before { | ||
| 3930 | content: "\f034"; | ||
| 3931 | } | ||
| 3932 | .uk-icon-text-width:before { | ||
| 3933 | content: "\f035"; | ||
| 3934 | } | ||
| 3935 | .uk-icon-align-left:before { | ||
| 3936 | content: "\f036"; | ||
| 3937 | } | ||
| 3938 | .uk-icon-align-center:before { | ||
| 3939 | content: "\f037"; | ||
| 3940 | } | ||
| 3941 | .uk-icon-align-right:before { | ||
| 3942 | content: "\f038"; | ||
| 3943 | } | ||
| 3944 | .uk-icon-align-justify:before { | ||
| 3945 | content: "\f039"; | ||
| 3946 | } | ||
| 3947 | .uk-icon-list:before { | ||
| 3948 | content: "\f03a"; | ||
| 3949 | } | ||
| 3950 | .uk-icon-dedent:before, | ||
| 3951 | .uk-icon-outdent:before { | ||
| 3952 | content: "\f03b"; | ||
| 3953 | } | ||
| 3954 | .uk-icon-indent:before { | ||
| 3955 | content: "\f03c"; | ||
| 3956 | } | ||
| 3957 | .uk-icon-video-camera:before { | ||
| 3958 | content: "\f03d"; | ||
| 3959 | } | ||
| 3960 | .uk-icon-photo:before, | ||
| 3961 | .uk-icon-image:before, | ||
| 3962 | .uk-icon-picture-o:before { | ||
| 3963 | content: "\f03e"; | ||
| 3964 | } | ||
| 3965 | .uk-icon-pencil:before { | ||
| 3966 | content: "\f040"; | ||
| 3967 | } | ||
| 3968 | .uk-icon-map-marker:before { | ||
| 3969 | content: "\f041"; | ||
| 3970 | } | ||
| 3971 | .uk-icon-adjust:before { | ||
| 3972 | content: "\f042"; | ||
| 3973 | } | ||
| 3974 | .uk-icon-tint:before { | ||
| 3975 | content: "\f043"; | ||
| 3976 | } | ||
| 3977 | .uk-icon-edit:before, | ||
| 3978 | .uk-icon-pencil-square-o:before { | ||
| 3979 | content: "\f044"; | ||
| 3980 | } | ||
| 3981 | .uk-icon-share-square-o:before { | ||
| 3982 | content: "\f045"; | ||
| 3983 | } | ||
| 3984 | .uk-icon-check-square-o:before { | ||
| 3985 | content: "\f046"; | ||
| 3986 | } | ||
| 3987 | .uk-icon-arrows:before { | ||
| 3988 | content: "\f047"; | ||
| 3989 | } | ||
| 3990 | .uk-icon-step-backward:before { | ||
| 3991 | content: "\f048"; | ||
| 3992 | } | ||
| 3993 | .uk-icon-fast-backward:before { | ||
| 3994 | content: "\f049"; | ||
| 3995 | } | ||
| 3996 | .uk-icon-backward:before { | ||
| 3997 | content: "\f04a"; | ||
| 3998 | } | ||
| 3999 | .uk-icon-play:before { | ||
| 4000 | content: "\f04b"; | ||
| 4001 | } | ||
| 4002 | .uk-icon-pause:before { | ||
| 4003 | content: "\f04c"; | ||
| 4004 | } | ||
| 4005 | .uk-icon-stop:before { | ||
| 4006 | content: "\f04d"; | ||
| 4007 | } | ||
| 4008 | .uk-icon-forward:before { | ||
| 4009 | content: "\f04e"; | ||
| 4010 | } | ||
| 4011 | .uk-icon-fast-forward:before { | ||
| 4012 | content: "\f050"; | ||
| 4013 | } | ||
| 4014 | .uk-icon-step-forward:before { | ||
| 4015 | content: "\f051"; | ||
| 4016 | } | ||
| 4017 | .uk-icon-eject:before { | ||
| 4018 | content: "\f052"; | ||
| 4019 | } | ||
| 4020 | .uk-icon-chevron-left:before { | ||
| 4021 | content: "\f053"; | ||
| 4022 | } | ||
| 4023 | .uk-icon-chevron-right:before { | ||
| 4024 | content: "\f054"; | ||
| 4025 | } | ||
| 4026 | .uk-icon-plus-circle:before { | ||
| 4027 | content: "\f055"; | ||
| 4028 | } | ||
| 4029 | .uk-icon-minus-circle:before { | ||
| 4030 | content: "\f056"; | ||
| 4031 | } | ||
| 4032 | .uk-icon-times-circle:before { | ||
| 4033 | content: "\f057"; | ||
| 4034 | } | ||
| 4035 | .uk-icon-check-circle:before { | ||
| 4036 | content: "\f058"; | ||
| 4037 | } | ||
| 4038 | .uk-icon-question-circle:before { | ||
| 4039 | content: "\f059"; | ||
| 4040 | } | ||
| 4041 | .uk-icon-info-circle:before { | ||
| 4042 | content: "\f05a"; | ||
| 4043 | } | ||
| 4044 | .uk-icon-crosshairs:before { | ||
| 4045 | content: "\f05b"; | ||
| 4046 | } | ||
| 4047 | .uk-icon-times-circle-o:before { | ||
| 4048 | content: "\f05c"; | ||
| 4049 | } | ||
| 4050 | .uk-icon-check-circle-o:before { | ||
| 4051 | content: "\f05d"; | ||
| 4052 | } | ||
| 4053 | .uk-icon-ban:before { | ||
| 4054 | content: "\f05e"; | ||
| 4055 | } | ||
| 4056 | .uk-icon-arrow-left:before { | ||
| 4057 | content: "\f060"; | ||
| 4058 | } | ||
| 4059 | .uk-icon-arrow-right:before { | ||
| 4060 | content: "\f061"; | ||
| 4061 | } | ||
| 4062 | .uk-icon-arrow-up:before { | ||
| 4063 | content: "\f062"; | ||
| 4064 | } | ||
| 4065 | .uk-icon-arrow-down:before { | ||
| 4066 | content: "\f063"; | ||
| 4067 | } | ||
| 4068 | .uk-icon-mail-forward:before, | ||
| 4069 | .uk-icon-share:before { | ||
| 4070 | content: "\f064"; | ||
| 4071 | } | ||
| 4072 | .uk-icon-expand:before { | ||
| 4073 | content: "\f065"; | ||
| 4074 | } | ||
| 4075 | .uk-icon-compress:before { | ||
| 4076 | content: "\f066"; | ||
| 4077 | } | ||
| 4078 | .uk-icon-plus:before { | ||
| 4079 | content: "\f067"; | ||
| 4080 | } | ||
| 4081 | .uk-icon-minus:before { | ||
| 4082 | content: "\f068"; | ||
| 4083 | } | ||
| 4084 | .uk-icon-asterisk:before { | ||
| 4085 | content: "\f069"; | ||
| 4086 | } | ||
| 4087 | .uk-icon-exclamation-circle:before { | ||
| 4088 | content: "\f06a"; | ||
| 4089 | } | ||
| 4090 | .uk-icon-gift:before { | ||
| 4091 | content: "\f06b"; | ||
| 4092 | } | ||
| 4093 | .uk-icon-leaf:before { | ||
| 4094 | content: "\f06c"; | ||
| 4095 | } | ||
| 4096 | .uk-icon-fire:before { | ||
| 4097 | content: "\f06d"; | ||
| 4098 | } | ||
| 4099 | .uk-icon-eye:before { | ||
| 4100 | content: "\f06e"; | ||
| 4101 | } | ||
| 4102 | .uk-icon-eye-slash:before { | ||
| 4103 | content: "\f070"; | ||
| 4104 | } | ||
| 4105 | .uk-icon-warning:before, | ||
| 4106 | .uk-icon-exclamation-triangle:before { | ||
| 4107 | content: "\f071"; | ||
| 4108 | } | ||
| 4109 | .uk-icon-plane:before { | ||
| 4110 | content: "\f072"; | ||
| 4111 | } | ||
| 4112 | .uk-icon-calendar:before { | ||
| 4113 | content: "\f073"; | ||
| 4114 | } | ||
| 4115 | .uk-icon-random:before { | ||
| 4116 | content: "\f074"; | ||
| 4117 | } | ||
| 4118 | .uk-icon-comment:before { | ||
| 4119 | content: "\f075"; | ||
| 4120 | } | ||
| 4121 | .uk-icon-magnet:before { | ||
| 4122 | content: "\f076"; | ||
| 4123 | } | ||
| 4124 | .uk-icon-chevron-up:before { | ||
| 4125 | content: "\f077"; | ||
| 4126 | } | ||
| 4127 | .uk-icon-chevron-down:before { | ||
| 4128 | content: "\f078"; | ||
| 4129 | } | ||
| 4130 | .uk-icon-retweet:before { | ||
| 4131 | content: "\f079"; | ||
| 4132 | } | ||
| 4133 | .uk-icon-shopping-cart:before { | ||
| 4134 | content: "\f07a"; | ||
| 4135 | } | ||
| 4136 | .uk-icon-folder:before { | ||
| 4137 | content: "\f07b"; | ||
| 4138 | } | ||
| 4139 | .uk-icon-folder-open:before { | ||
| 4140 | content: "\f07c"; | ||
| 4141 | } | ||
| 4142 | .uk-icon-arrows-v:before { | ||
| 4143 | content: "\f07d"; | ||
| 4144 | } | ||
| 4145 | .uk-icon-arrows-h:before { | ||
| 4146 | content: "\f07e"; | ||
| 4147 | } | ||
| 4148 | .uk-icon-bar-chart-o:before, | ||
| 4149 | .uk-icon-bar-chart:before { | ||
| 4150 | content: "\f080"; | ||
| 4151 | } | ||
| 4152 | .uk-icon-twitter-square:before { | ||
| 4153 | content: "\f081"; | ||
| 4154 | } | ||
| 4155 | .uk-icon-facebook-square:before { | ||
| 4156 | content: "\f082"; | ||
| 4157 | } | ||
| 4158 | .uk-icon-camera-retro:before { | ||
| 4159 | content: "\f083"; | ||
| 4160 | } | ||
| 4161 | .uk-icon-key:before { | ||
| 4162 | content: "\f084"; | ||
| 4163 | } | ||
| 4164 | .uk-icon-gears:before, | ||
| 4165 | .uk-icon-cogs:before { | ||
| 4166 | content: "\f085"; | ||
| 4167 | } | ||
| 4168 | .uk-icon-comments:before { | ||
| 4169 | content: "\f086"; | ||
| 4170 | } | ||
| 4171 | .uk-icon-thumbs-o-up:before { | ||
| 4172 | content: "\f087"; | ||
| 4173 | } | ||
| 4174 | .uk-icon-thumbs-o-down:before { | ||
| 4175 | content: "\f088"; | ||
| 4176 | } | ||
| 4177 | .uk-icon-star-half:before { | ||
| 4178 | content: "\f089"; | ||
| 4179 | } | ||
| 4180 | .uk-icon-heart-o:before { | ||
| 4181 | content: "\f08a"; | ||
| 4182 | } | ||
| 4183 | .uk-icon-sign-out:before { | ||
| 4184 | content: "\f08b"; | ||
| 4185 | } | ||
| 4186 | .uk-icon-linkedin-square:before { | ||
| 4187 | content: "\f08c"; | ||
| 4188 | } | ||
| 4189 | .uk-icon-thumb-tack:before { | ||
| 4190 | content: "\f08d"; | ||
| 4191 | } | ||
| 4192 | .uk-icon-external-link:before { | ||
| 4193 | content: "\f08e"; | ||
| 4194 | } | ||
| 4195 | .uk-icon-sign-in:before { | ||
| 4196 | content: "\f090"; | ||
| 4197 | } | ||
| 4198 | .uk-icon-trophy:before { | ||
| 4199 | content: "\f091"; | ||
| 4200 | } | ||
| 4201 | .uk-icon-github-square:before { | ||
| 4202 | content: "\f092"; | ||
| 4203 | } | ||
| 4204 | .uk-icon-upload:before { | ||
| 4205 | content: "\f093"; | ||
| 4206 | } | ||
| 4207 | .uk-icon-lemon-o:before { | ||
| 4208 | content: "\f094"; | ||
| 4209 | } | ||
| 4210 | .uk-icon-phone:before { | ||
| 4211 | content: "\f095"; | ||
| 4212 | } | ||
| 4213 | .uk-icon-square-o:before { | ||
| 4214 | content: "\f096"; | ||
| 4215 | } | ||
| 4216 | .uk-icon-bookmark-o:before { | ||
| 4217 | content: "\f097"; | ||
| 4218 | } | ||
| 4219 | .uk-icon-phone-square:before { | ||
| 4220 | content: "\f098"; | ||
| 4221 | } | ||
| 4222 | .uk-icon-twitter:before { | ||
| 4223 | content: "\f099"; | ||
| 4224 | } | ||
| 4225 | .uk-icon-facebook-f:before, | ||
| 4226 | .uk-icon-facebook:before { | ||
| 4227 | content: "\f09a"; | ||
| 4228 | } | ||
| 4229 | .uk-icon-github:before { | ||
| 4230 | content: "\f09b"; | ||
| 4231 | } | ||
| 4232 | .uk-icon-unlock:before { | ||
| 4233 | content: "\f09c"; | ||
| 4234 | } | ||
| 4235 | .uk-icon-credit-card:before { | ||
| 4236 | content: "\f09d"; | ||
| 4237 | } | ||
| 4238 | .uk-icon-rss:before { | ||
| 4239 | content: "\f09e"; | ||
| 4240 | } | ||
| 4241 | .uk-icon-hdd-o:before { | ||
| 4242 | content: "\f0a0"; | ||
| 4243 | } | ||
| 4244 | .uk-icon-bullhorn:before { | ||
| 4245 | content: "\f0a1"; | ||
| 4246 | } | ||
| 4247 | .uk-icon-bell:before { | ||
| 4248 | content: "\f0f3"; | ||
| 4249 | } | ||
| 4250 | .uk-icon-certificate:before { | ||
| 4251 | content: "\f0a3"; | ||
| 4252 | } | ||
| 4253 | .uk-icon-hand-o-right:before { | ||
| 4254 | content: "\f0a4"; | ||
| 4255 | } | ||
| 4256 | .uk-icon-hand-o-left:before { | ||
| 4257 | content: "\f0a5"; | ||
| 4258 | } | ||
| 4259 | .uk-icon-hand-o-up:before { | ||
| 4260 | content: "\f0a6"; | ||
| 4261 | } | ||
| 4262 | .uk-icon-hand-o-down:before { | ||
| 4263 | content: "\f0a7"; | ||
| 4264 | } | ||
| 4265 | .uk-icon-arrow-circle-left:before { | ||
| 4266 | content: "\f0a8"; | ||
| 4267 | } | ||
| 4268 | .uk-icon-arrow-circle-right:before { | ||
| 4269 | content: "\f0a9"; | ||
| 4270 | } | ||
| 4271 | .uk-icon-arrow-circle-up:before { | ||
| 4272 | content: "\f0aa"; | ||
| 4273 | } | ||
| 4274 | .uk-icon-arrow-circle-down:before { | ||
| 4275 | content: "\f0ab"; | ||
| 4276 | } | ||
| 4277 | .uk-icon-globe:before { | ||
| 4278 | content: "\f0ac"; | ||
| 4279 | } | ||
| 4280 | .uk-icon-wrench:before { | ||
| 4281 | content: "\f0ad"; | ||
| 4282 | } | ||
| 4283 | .uk-icon-tasks:before { | ||
| 4284 | content: "\f0ae"; | ||
| 4285 | } | ||
| 4286 | .uk-icon-filter:before { | ||
| 4287 | content: "\f0b0"; | ||
| 4288 | } | ||
| 4289 | .uk-icon-briefcase:before { | ||
| 4290 | content: "\f0b1"; | ||
| 4291 | } | ||
| 4292 | .uk-icon-arrows-alt:before { | ||
| 4293 | content: "\f0b2"; | ||
| 4294 | } | ||
| 4295 | .uk-icon-group:before, | ||
| 4296 | .uk-icon-users:before { | ||
| 4297 | content: "\f0c0"; | ||
| 4298 | } | ||
| 4299 | .uk-icon-chain:before, | ||
| 4300 | .uk-icon-link:before { | ||
| 4301 | content: "\f0c1"; | ||
| 4302 | } | ||
| 4303 | .uk-icon-cloud:before { | ||
| 4304 | content: "\f0c2"; | ||
| 4305 | } | ||
| 4306 | .uk-icon-flask:before { | ||
| 4307 | content: "\f0c3"; | ||
| 4308 | } | ||
| 4309 | .uk-icon-cut:before, | ||
| 4310 | .uk-icon-scissors:before { | ||
| 4311 | content: "\f0c4"; | ||
| 4312 | } | ||
| 4313 | .uk-icon-copy:before, | ||
| 4314 | .uk-icon-files-o:before { | ||
| 4315 | content: "\f0c5"; | ||
| 4316 | } | ||
| 4317 | .uk-icon-paperclip:before { | ||
| 4318 | content: "\f0c6"; | ||
| 4319 | } | ||
| 4320 | .uk-icon-save:before, | ||
| 4321 | .uk-icon-floppy-o:before { | ||
| 4322 | content: "\f0c7"; | ||
| 4323 | } | ||
| 4324 | .uk-icon-square:before { | ||
| 4325 | content: "\f0c8"; | ||
| 4326 | } | ||
| 4327 | .uk-icon-navicon:before, | ||
| 4328 | .uk-icon-reorder:before, | ||
| 4329 | .uk-icon-bars:before { | ||
| 4330 | content: "\f0c9"; | ||
| 4331 | } | ||
| 4332 | .uk-icon-list-ul:before { | ||
| 4333 | content: "\f0ca"; | ||
| 4334 | } | ||
| 4335 | .uk-icon-list-ol:before { | ||
| 4336 | content: "\f0cb"; | ||
| 4337 | } | ||
| 4338 | .uk-icon-strikethrough:before { | ||
| 4339 | content: "\f0cc"; | ||
| 4340 | } | ||
| 4341 | .uk-icon-underline:before { | ||
| 4342 | content: "\f0cd"; | ||
| 4343 | } | ||
| 4344 | .uk-icon-table:before { | ||
| 4345 | content: "\f0ce"; | ||
| 4346 | } | ||
| 4347 | .uk-icon-magic:before { | ||
| 4348 | content: "\f0d0"; | ||
| 4349 | } | ||
| 4350 | .uk-icon-truck:before { | ||
| 4351 | content: "\f0d1"; | ||
| 4352 | } | ||
| 4353 | .uk-icon-pinterest:before { | ||
| 4354 | content: "\f0d2"; | ||
| 4355 | } | ||
| 4356 | .uk-icon-pinterest-square:before { | ||
| 4357 | content: "\f0d3"; | ||
| 4358 | } | ||
| 4359 | .uk-icon-google-plus-square:before { | ||
| 4360 | content: "\f0d4"; | ||
| 4361 | } | ||
| 4362 | .uk-icon-google-plus:before { | ||
| 4363 | content: "\f0d5"; | ||
| 4364 | } | ||
| 4365 | .uk-icon-money:before { | ||
| 4366 | content: "\f0d6"; | ||
| 4367 | } | ||
| 4368 | .uk-icon-caret-down:before { | ||
| 4369 | content: "\f0d7"; | ||
| 4370 | } | ||
| 4371 | .uk-icon-caret-up:before { | ||
| 4372 | content: "\f0d8"; | ||
| 4373 | } | ||
| 4374 | .uk-icon-caret-left:before { | ||
| 4375 | content: "\f0d9"; | ||
| 4376 | } | ||
| 4377 | .uk-icon-caret-right:before { | ||
| 4378 | content: "\f0da"; | ||
| 4379 | } | ||
| 4380 | .uk-icon-columns:before { | ||
| 4381 | content: "\f0db"; | ||
| 4382 | } | ||
| 4383 | .uk-icon-unsorted:before, | ||
| 4384 | .uk-icon-sort:before { | ||
| 4385 | content: "\f0dc"; | ||
| 4386 | } | ||
| 4387 | .uk-icon-sort-down:before, | ||
| 4388 | .uk-icon-sort-desc:before { | ||
| 4389 | content: "\f0dd"; | ||
| 4390 | } | ||
| 4391 | .uk-icon-sort-up:before, | ||
| 4392 | .uk-icon-sort-asc:before { | ||
| 4393 | content: "\f0de"; | ||
| 4394 | } | ||
| 4395 | .uk-icon-envelope:before { | ||
| 4396 | content: "\f0e0"; | ||
| 4397 | } | ||
| 4398 | .uk-icon-linkedin:before { | ||
| 4399 | content: "\f0e1"; | ||
| 4400 | } | ||
| 4401 | .uk-icon-rotate-left:before, | ||
| 4402 | .uk-icon-undo:before { | ||
| 4403 | content: "\f0e2"; | ||
| 4404 | } | ||
| 4405 | .uk-icon-legal:before, | ||
| 4406 | .uk-icon-gavel:before { | ||
| 4407 | content: "\f0e3"; | ||
| 4408 | } | ||
| 4409 | .uk-icon-dashboard:before, | ||
| 4410 | .uk-icon-tachometer:before { | ||
| 4411 | content: "\f0e4"; | ||
| 4412 | } | ||
| 4413 | .uk-icon-comment-o:before { | ||
| 4414 | content: "\f0e5"; | ||
| 4415 | } | ||
| 4416 | .uk-icon-comments-o:before { | ||
| 4417 | content: "\f0e6"; | ||
| 4418 | } | ||
| 4419 | .uk-icon-flash:before, | ||
| 4420 | .uk-icon-bolt:before { | ||
| 4421 | content: "\f0e7"; | ||
| 4422 | } | ||
| 4423 | .uk-icon-sitemap:before { | ||
| 4424 | content: "\f0e8"; | ||
| 4425 | } | ||
| 4426 | .uk-icon-umbrella:before { | ||
| 4427 | content: "\f0e9"; | ||
| 4428 | } | ||
| 4429 | .uk-icon-paste:before, | ||
| 4430 | .uk-icon-clipboard:before { | ||
| 4431 | content: "\f0ea"; | ||
| 4432 | } | ||
| 4433 | .uk-icon-lightbulb-o:before { | ||
| 4434 | content: "\f0eb"; | ||
| 4435 | } | ||
| 4436 | .uk-icon-exchange:before { | ||
| 4437 | content: "\f0ec"; | ||
| 4438 | } | ||
| 4439 | .uk-icon-cloud-download:before { | ||
| 4440 | content: "\f0ed"; | ||
| 4441 | } | ||
| 4442 | .uk-icon-cloud-upload:before { | ||
| 4443 | content: "\f0ee"; | ||
| 4444 | } | ||
| 4445 | .uk-icon-user-md:before { | ||
| 4446 | content: "\f0f0"; | ||
| 4447 | } | ||
| 4448 | .uk-icon-stethoscope:before { | ||
| 4449 | content: "\f0f1"; | ||
| 4450 | } | ||
| 4451 | .uk-icon-suitcase:before { | ||
| 4452 | content: "\f0f2"; | ||
| 4453 | } | ||
| 4454 | .uk-icon-bell-o:before { | ||
| 4455 | content: "\f0a2"; | ||
| 4456 | } | ||
| 4457 | .uk-icon-coffee:before { | ||
| 4458 | content: "\f0f4"; | ||
| 4459 | } | ||
| 4460 | .uk-icon-cutlery:before { | ||
| 4461 | content: "\f0f5"; | ||
| 4462 | } | ||
| 4463 | .uk-icon-file-text-o:before { | ||
| 4464 | content: "\f0f6"; | ||
| 4465 | } | ||
| 4466 | .uk-icon-building-o:before { | ||
| 4467 | content: "\f0f7"; | ||
| 4468 | } | ||
| 4469 | .uk-icon-hospital-o:before { | ||
| 4470 | content: "\f0f8"; | ||
| 4471 | } | ||
| 4472 | .uk-icon-ambulance:before { | ||
| 4473 | content: "\f0f9"; | ||
| 4474 | } | ||
| 4475 | .uk-icon-medkit:before { | ||
| 4476 | content: "\f0fa"; | ||
| 4477 | } | ||
| 4478 | .uk-icon-fighter-jet:before { | ||
| 4479 | content: "\f0fb"; | ||
| 4480 | } | ||
| 4481 | .uk-icon-beer:before { | ||
| 4482 | content: "\f0fc"; | ||
| 4483 | } | ||
| 4484 | .uk-icon-h-square:before { | ||
| 4485 | content: "\f0fd"; | ||
| 4486 | } | ||
| 4487 | .uk-icon-plus-square:before { | ||
| 4488 | content: "\f0fe"; | ||
| 4489 | } | ||
| 4490 | .uk-icon-angle-double-left:before { | ||
| 4491 | content: "\f100"; | ||
| 4492 | } | ||
| 4493 | .uk-icon-angle-double-right:before { | ||
| 4494 | content: "\f101"; | ||
| 4495 | } | ||
| 4496 | .uk-icon-angle-double-up:before { | ||
| 4497 | content: "\f102"; | ||
| 4498 | } | ||
| 4499 | .uk-icon-angle-double-down:before { | ||
| 4500 | content: "\f103"; | ||
| 4501 | } | ||
| 4502 | .uk-icon-angle-left:before { | ||
| 4503 | content: "\f104"; | ||
| 4504 | } | ||
| 4505 | .uk-icon-angle-right:before { | ||
| 4506 | content: "\f105"; | ||
| 4507 | } | ||
| 4508 | .uk-icon-angle-up:before { | ||
| 4509 | content: "\f106"; | ||
| 4510 | } | ||
| 4511 | .uk-icon-angle-down:before { | ||
| 4512 | content: "\f107"; | ||
| 4513 | } | ||
| 4514 | .uk-icon-desktop:before { | ||
| 4515 | content: "\f108"; | ||
| 4516 | } | ||
| 4517 | .uk-icon-laptop:before { | ||
| 4518 | content: "\f109"; | ||
| 4519 | } | ||
| 4520 | .uk-icon-tablet:before { | ||
| 4521 | content: "\f10a"; | ||
| 4522 | } | ||
| 4523 | .uk-icon-mobile-phone:before, | ||
| 4524 | .uk-icon-mobile:before { | ||
| 4525 | content: "\f10b"; | ||
| 4526 | } | ||
| 4527 | .uk-icon-circle-o:before { | ||
| 4528 | content: "\f10c"; | ||
| 4529 | } | ||
| 4530 | .uk-icon-quote-left:before { | ||
| 4531 | content: "\f10d"; | ||
| 4532 | } | ||
| 4533 | .uk-icon-quote-right:before { | ||
| 4534 | content: "\f10e"; | ||
| 4535 | } | ||
| 4536 | .uk-icon-spinner:before { | ||
| 4537 | content: "\f110"; | ||
| 4538 | } | ||
| 4539 | .uk-icon-circle:before { | ||
| 4540 | content: "\f111"; | ||
| 4541 | } | ||
| 4542 | .uk-icon-mail-reply:before, | ||
| 4543 | .uk-icon-reply:before { | ||
| 4544 | content: "\f112"; | ||
| 4545 | } | ||
| 4546 | .uk-icon-github-alt:before { | ||
| 4547 | content: "\f113"; | ||
| 4548 | } | ||
| 4549 | .uk-icon-folder-o:before { | ||
| 4550 | content: "\f114"; | ||
| 4551 | } | ||
| 4552 | .uk-icon-folder-open-o:before { | ||
| 4553 | content: "\f115"; | ||
| 4554 | } | ||
| 4555 | .uk-icon-smile-o:before { | ||
| 4556 | content: "\f118"; | ||
| 4557 | } | ||
| 4558 | .uk-icon-frown-o:before { | ||
| 4559 | content: "\f119"; | ||
| 4560 | } | ||
| 4561 | .uk-icon-meh-o:before { | ||
| 4562 | content: "\f11a"; | ||
| 4563 | } | ||
| 4564 | .uk-icon-gamepad:before { | ||
| 4565 | content: "\f11b"; | ||
| 4566 | } | ||
| 4567 | .uk-icon-keyboard-o:before { | ||
| 4568 | content: "\f11c"; | ||
| 4569 | } | ||
| 4570 | .uk-icon-flag-o:before { | ||
| 4571 | content: "\f11d"; | ||
| 4572 | } | ||
| 4573 | .uk-icon-flag-checkered:before { | ||
| 4574 | content: "\f11e"; | ||
| 4575 | } | ||
| 4576 | .uk-icon-terminal:before { | ||
| 4577 | content: "\f120"; | ||
| 4578 | } | ||
| 4579 | .uk-icon-code:before { | ||
| 4580 | content: "\f121"; | ||
| 4581 | } | ||
| 4582 | .uk-icon-mail-reply-all:before, | ||
| 4583 | .uk-icon-reply-all:before { | ||
| 4584 | content: "\f122"; | ||
| 4585 | } | ||
| 4586 | .uk-icon-star-half-empty:before, | ||
| 4587 | .uk-icon-star-half-full:before, | ||
| 4588 | .uk-icon-star-half-o:before { | ||
| 4589 | content: "\f123"; | ||
| 4590 | } | ||
| 4591 | .uk-icon-location-arrow:before { | ||
| 4592 | content: "\f124"; | ||
| 4593 | } | ||
| 4594 | .uk-icon-crop:before { | ||
| 4595 | content: "\f125"; | ||
| 4596 | } | ||
| 4597 | .uk-icon-code-fork:before { | ||
| 4598 | content: "\f126"; | ||
| 4599 | } | ||
| 4600 | .uk-icon-unlink:before, | ||
| 4601 | .uk-icon-chain-broken:before { | ||
| 4602 | content: "\f127"; | ||
| 4603 | } | ||
| 4604 | .uk-icon-question:before { | ||
| 4605 | content: "\f128"; | ||
| 4606 | } | ||
| 4607 | .uk-icon-info:before { | ||
| 4608 | content: "\f129"; | ||
| 4609 | } | ||
| 4610 | .uk-icon-exclamation:before { | ||
| 4611 | content: "\f12a"; | ||
| 4612 | } | ||
| 4613 | .uk-icon-superscript:before { | ||
| 4614 | content: "\f12b"; | ||
| 4615 | } | ||
| 4616 | .uk-icon-subscript:before { | ||
| 4617 | content: "\f12c"; | ||
| 4618 | } | ||
| 4619 | .uk-icon-eraser:before { | ||
| 4620 | content: "\f12d"; | ||
| 4621 | } | ||
| 4622 | .uk-icon-puzzle-piece:before { | ||
| 4623 | content: "\f12e"; | ||
| 4624 | } | ||
| 4625 | .uk-icon-microphone:before { | ||
| 4626 | content: "\f130"; | ||
| 4627 | } | ||
| 4628 | .uk-icon-microphone-slash:before { | ||
| 4629 | content: "\f131"; | ||
| 4630 | } | ||
| 4631 | .uk-icon-shield:before { | ||
| 4632 | content: "\f132"; | ||
| 4633 | } | ||
| 4634 | .uk-icon-calendar-o:before { | ||
| 4635 | content: "\f133"; | ||
| 4636 | } | ||
| 4637 | .uk-icon-fire-extinguisher:before { | ||
| 4638 | content: "\f134"; | ||
| 4639 | } | ||
| 4640 | .uk-icon-rocket:before { | ||
| 4641 | content: "\f135"; | ||
| 4642 | } | ||
| 4643 | .uk-icon-maxcdn:before { | ||
| 4644 | content: "\f136"; | ||
| 4645 | } | ||
| 4646 | .uk-icon-chevron-circle-left:before { | ||
| 4647 | content: "\f137"; | ||
| 4648 | } | ||
| 4649 | .uk-icon-chevron-circle-right:before { | ||
| 4650 | content: "\f138"; | ||
| 4651 | } | ||
| 4652 | .uk-icon-chevron-circle-up:before { | ||
| 4653 | content: "\f139"; | ||
| 4654 | } | ||
| 4655 | .uk-icon-chevron-circle-down:before { | ||
| 4656 | content: "\f13a"; | ||
| 4657 | } | ||
| 4658 | .uk-icon-html5:before { | ||
| 4659 | content: "\f13b"; | ||
| 4660 | } | ||
| 4661 | .uk-icon-css3:before { | ||
| 4662 | content: "\f13c"; | ||
| 4663 | } | ||
| 4664 | .uk-icon-anchor:before { | ||
| 4665 | content: "\f13d"; | ||
| 4666 | } | ||
| 4667 | .uk-icon-unlock-alt:before { | ||
| 4668 | content: "\f13e"; | ||
| 4669 | } | ||
| 4670 | .uk-icon-bullseye:before { | ||
| 4671 | content: "\f140"; | ||
| 4672 | } | ||
| 4673 | .uk-icon-ellipsis-h:before { | ||
| 4674 | content: "\f141"; | ||
| 4675 | } | ||
| 4676 | .uk-icon-ellipsis-v:before { | ||
| 4677 | content: "\f142"; | ||
| 4678 | } | ||
| 4679 | .uk-icon-rss-square:before { | ||
| 4680 | content: "\f143"; | ||
| 4681 | } | ||
| 4682 | .uk-icon-play-circle:before { | ||
| 4683 | content: "\f144"; | ||
| 4684 | } | ||
| 4685 | .uk-icon-ticket:before { | ||
| 4686 | content: "\f145"; | ||
| 4687 | } | ||
| 4688 | .uk-icon-minus-square:before { | ||
| 4689 | content: "\f146"; | ||
| 4690 | } | ||
| 4691 | .uk-icon-minus-square-o:before { | ||
| 4692 | content: "\f147"; | ||
| 4693 | } | ||
| 4694 | .uk-icon-level-up:before { | ||
| 4695 | content: "\f148"; | ||
| 4696 | } | ||
| 4697 | .uk-icon-level-down:before { | ||
| 4698 | content: "\f149"; | ||
| 4699 | } | ||
| 4700 | .uk-icon-check-square:before { | ||
| 4701 | content: "\f14a"; | ||
| 4702 | } | ||
| 4703 | .uk-icon-pencil-square:before { | ||
| 4704 | content: "\f14b"; | ||
| 4705 | } | ||
| 4706 | .uk-icon-external-link-square:before { | ||
| 4707 | content: "\f14c"; | ||
| 4708 | } | ||
| 4709 | .uk-icon-share-square:before { | ||
| 4710 | content: "\f14d"; | ||
| 4711 | } | ||
| 4712 | .uk-icon-compass:before { | ||
| 4713 | content: "\f14e"; | ||
| 4714 | } | ||
| 4715 | .uk-icon-toggle-down:before, | ||
| 4716 | .uk-icon-caret-square-o-down:before { | ||
| 4717 | content: "\f150"; | ||
| 4718 | } | ||
| 4719 | .uk-icon-toggle-up:before, | ||
| 4720 | .uk-icon-caret-square-o-up:before { | ||
| 4721 | content: "\f151"; | ||
| 4722 | } | ||
| 4723 | .uk-icon-toggle-right:before, | ||
| 4724 | .uk-icon-caret-square-o-right:before { | ||
| 4725 | content: "\f152"; | ||
| 4726 | } | ||
| 4727 | .uk-icon-euro:before, | ||
| 4728 | .uk-icon-eur:before { | ||
| 4729 | content: "\f153"; | ||
| 4730 | } | ||
| 4731 | .uk-icon-gbp:before { | ||
| 4732 | content: "\f154"; | ||
| 4733 | } | ||
| 4734 | .uk-icon-dollar:before, | ||
| 4735 | .uk-icon-usd:before { | ||
| 4736 | content: "\f155"; | ||
| 4737 | } | ||
| 4738 | .uk-icon-rupee:before, | ||
| 4739 | .uk-icon-inr:before { | ||
| 4740 | content: "\f156"; | ||
| 4741 | } | ||
| 4742 | .uk-icon-cny:before, | ||
| 4743 | .uk-icon-rmb:before, | ||
| 4744 | .uk-icon-yen:before, | ||
| 4745 | .uk-icon-jpy:before { | ||
| 4746 | content: "\f157"; | ||
| 4747 | } | ||
| 4748 | .uk-icon-ruble:before, | ||
| 4749 | .uk-icon-rouble:before, | ||
| 4750 | .uk-icon-rub:before { | ||
| 4751 | content: "\f158"; | ||
| 4752 | } | ||
| 4753 | .uk-icon-won:before, | ||
| 4754 | .uk-icon-krw:before { | ||
| 4755 | content: "\f159"; | ||
| 4756 | } | ||
| 4757 | .uk-icon-bitcoin:before, | ||
| 4758 | .uk-icon-btc:before { | ||
| 4759 | content: "\f15a"; | ||
| 4760 | } | ||
| 4761 | .uk-icon-file:before { | ||
| 4762 | content: "\f15b"; | ||
| 4763 | } | ||
| 4764 | .uk-icon-file-text:before { | ||
| 4765 | content: "\f15c"; | ||
| 4766 | } | ||
| 4767 | .uk-icon-sort-alpha-asc:before { | ||
| 4768 | content: "\f15d"; | ||
| 4769 | } | ||
| 4770 | .uk-icon-sort-alpha-desc:before { | ||
| 4771 | content: "\f15e"; | ||
| 4772 | } | ||
| 4773 | .uk-icon-sort-amount-asc:before { | ||
| 4774 | content: "\f160"; | ||
| 4775 | } | ||
| 4776 | .uk-icon-sort-amount-desc:before { | ||
| 4777 | content: "\f161"; | ||
| 4778 | } | ||
| 4779 | .uk-icon-sort-numeric-asc:before { | ||
| 4780 | content: "\f162"; | ||
| 4781 | } | ||
| 4782 | .uk-icon-sort-numeric-desc:before { | ||
| 4783 | content: "\f163"; | ||
| 4784 | } | ||
| 4785 | .uk-icon-thumbs-up:before { | ||
| 4786 | content: "\f164"; | ||
| 4787 | } | ||
| 4788 | .uk-icon-thumbs-down:before { | ||
| 4789 | content: "\f165"; | ||
| 4790 | } | ||
| 4791 | .uk-icon-youtube-square:before { | ||
| 4792 | content: "\f166"; | ||
| 4793 | } | ||
| 4794 | .uk-icon-youtube:before { | ||
| 4795 | content: "\f167"; | ||
| 4796 | } | ||
| 4797 | .uk-icon-xing:before { | ||
| 4798 | content: "\f168"; | ||
| 4799 | } | ||
| 4800 | .uk-icon-xing-square:before { | ||
| 4801 | content: "\f169"; | ||
| 4802 | } | ||
| 4803 | .uk-icon-youtube-play:before { | ||
| 4804 | content: "\f16a"; | ||
| 4805 | } | ||
| 4806 | .uk-icon-dropbox:before { | ||
| 4807 | content: "\f16b"; | ||
| 4808 | } | ||
| 4809 | .uk-icon-stack-overflow:before { | ||
| 4810 | content: "\f16c"; | ||
| 4811 | } | ||
| 4812 | .uk-icon-instagram:before { | ||
| 4813 | content: "\f16d"; | ||
| 4814 | } | ||
| 4815 | .uk-icon-flickr:before { | ||
| 4816 | content: "\f16e"; | ||
| 4817 | } | ||
| 4818 | .uk-icon-adn:before { | ||
| 4819 | content: "\f170"; | ||
| 4820 | } | ||
| 4821 | .uk-icon-bitbucket:before { | ||
| 4822 | content: "\f171"; | ||
| 4823 | } | ||
| 4824 | .uk-icon-bitbucket-square:before { | ||
| 4825 | content: "\f172"; | ||
| 4826 | } | ||
| 4827 | .uk-icon-tumblr:before { | ||
| 4828 | content: "\f173"; | ||
| 4829 | } | ||
| 4830 | .uk-icon-tumblr-square:before { | ||
| 4831 | content: "\f174"; | ||
| 4832 | } | ||
| 4833 | .uk-icon-long-arrow-down:before { | ||
| 4834 | content: "\f175"; | ||
| 4835 | } | ||
| 4836 | .uk-icon-long-arrow-up:before { | ||
| 4837 | content: "\f176"; | ||
| 4838 | } | ||
| 4839 | .uk-icon-long-arrow-left:before { | ||
| 4840 | content: "\f177"; | ||
| 4841 | } | ||
| 4842 | .uk-icon-long-arrow-right:before { | ||
| 4843 | content: "\f178"; | ||
| 4844 | } | ||
| 4845 | .uk-icon-apple:before { | ||
| 4846 | content: "\f179"; | ||
| 4847 | } | ||
| 4848 | .uk-icon-windows:before { | ||
| 4849 | content: "\f17a"; | ||
| 4850 | } | ||
| 4851 | .uk-icon-android:before { | ||
| 4852 | content: "\f17b"; | ||
| 4853 | } | ||
| 4854 | .uk-icon-linux:before { | ||
| 4855 | content: "\f17c"; | ||
| 4856 | } | ||
| 4857 | .uk-icon-dribbble:before { | ||
| 4858 | content: "\f17d"; | ||
| 4859 | } | ||
| 4860 | .uk-icon-skype:before { | ||
| 4861 | content: "\f17e"; | ||
| 4862 | } | ||
| 4863 | .uk-icon-foursquare:before { | ||
| 4864 | content: "\f180"; | ||
| 4865 | } | ||
| 4866 | .uk-icon-trello:before { | ||
| 4867 | content: "\f181"; | ||
| 4868 | } | ||
| 4869 | .uk-icon-female:before { | ||
| 4870 | content: "\f182"; | ||
| 4871 | } | ||
| 4872 | .uk-icon-male:before { | ||
| 4873 | content: "\f183"; | ||
| 4874 | } | ||
| 4875 | .uk-icon-gittip:before, | ||
| 4876 | .uk-icon-gratipay:before { | ||
| 4877 | content: "\f184"; | ||
| 4878 | } | ||
| 4879 | .uk-icon-sun-o:before { | ||
| 4880 | content: "\f185"; | ||
| 4881 | } | ||
| 4882 | .uk-icon-moon-o:before { | ||
| 4883 | content: "\f186"; | ||
| 4884 | } | ||
| 4885 | .uk-icon-archive:before { | ||
| 4886 | content: "\f187"; | ||
| 4887 | } | ||
| 4888 | .uk-icon-bug:before { | ||
| 4889 | content: "\f188"; | ||
| 4890 | } | ||
| 4891 | .uk-icon-vk:before { | ||
| 4892 | content: "\f189"; | ||
| 4893 | } | ||
| 4894 | .uk-icon-weibo:before { | ||
| 4895 | content: "\f18a"; | ||
| 4896 | } | ||
| 4897 | .uk-icon-renren:before { | ||
| 4898 | content: "\f18b"; | ||
| 4899 | } | ||
| 4900 | .uk-icon-pagelines:before { | ||
| 4901 | content: "\f18c"; | ||
| 4902 | } | ||
| 4903 | .uk-icon-stack-exchange:before { | ||
| 4904 | content: "\f18d"; | ||
| 4905 | } | ||
| 4906 | .uk-icon-arrow-circle-o-right:before { | ||
| 4907 | content: "\f18e"; | ||
| 4908 | } | ||
| 4909 | .uk-icon-arrow-circle-o-left:before { | ||
| 4910 | content: "\f190"; | ||
| 4911 | } | ||
| 4912 | .uk-icon-toggle-left:before, | ||
| 4913 | .uk-icon-caret-square-o-left:before { | ||
| 4914 | content: "\f191"; | ||
| 4915 | } | ||
| 4916 | .uk-icon-dot-circle-o:before { | ||
| 4917 | content: "\f192"; | ||
| 4918 | } | ||
| 4919 | .uk-icon-wheelchair:before { | ||
| 4920 | content: "\f193"; | ||
| 4921 | } | ||
| 4922 | .uk-icon-vimeo-square:before { | ||
| 4923 | content: "\f194"; | ||
| 4924 | } | ||
| 4925 | .uk-icon-turkish-lira:before, | ||
| 4926 | .uk-icon-try:before { | ||
| 4927 | content: "\f195"; | ||
| 4928 | } | ||
| 4929 | .uk-icon-plus-square-o:before { | ||
| 4930 | content: "\f196"; | ||
| 4931 | } | ||
| 4932 | .uk-icon-space-shuttle:before { | ||
| 4933 | content: "\f197"; | ||
| 4934 | } | ||
| 4935 | .uk-icon-slack:before { | ||
| 4936 | content: "\f198"; | ||
| 4937 | } | ||
| 4938 | .uk-icon-envelope-square:before { | ||
| 4939 | content: "\f199"; | ||
| 4940 | } | ||
| 4941 | .uk-icon-wordpress:before { | ||
| 4942 | content: "\f19a"; | ||
| 4943 | } | ||
| 4944 | .uk-icon-openid:before { | ||
| 4945 | content: "\f19b"; | ||
| 4946 | } | ||
| 4947 | .uk-icon-institution:before, | ||
| 4948 | .uk-icon-bank:before, | ||
| 4949 | .uk-icon-university:before { | ||
| 4950 | content: "\f19c"; | ||
| 4951 | } | ||
| 4952 | .uk-icon-mortar-board:before, | ||
| 4953 | .uk-icon-graduation-cap:before { | ||
| 4954 | content: "\f19d"; | ||
| 4955 | } | ||
| 4956 | .uk-icon-yahoo:before { | ||
| 4957 | content: "\f19e"; | ||
| 4958 | } | ||
| 4959 | .uk-icon-google:before { | ||
| 4960 | content: "\f1a0"; | ||
| 4961 | } | ||
| 4962 | .uk-icon-reddit:before { | ||
| 4963 | content: "\f1a1"; | ||
| 4964 | } | ||
| 4965 | .uk-icon-reddit-square:before { | ||
| 4966 | content: "\f1a2"; | ||
| 4967 | } | ||
| 4968 | .uk-icon-stumbleupon-circle:before { | ||
| 4969 | content: "\f1a3"; | ||
| 4970 | } | ||
| 4971 | .uk-icon-stumbleupon:before { | ||
| 4972 | content: "\f1a4"; | ||
| 4973 | } | ||
| 4974 | .uk-icon-delicious:before { | ||
| 4975 | content: "\f1a5"; | ||
| 4976 | } | ||
| 4977 | .uk-icon-digg:before { | ||
| 4978 | content: "\f1a6"; | ||
| 4979 | } | ||
| 4980 | .uk-icon-pied-piper:before { | ||
| 4981 | content: "\f1a7"; | ||
| 4982 | } | ||
| 4983 | .uk-icon-pied-piper-alt:before { | ||
| 4984 | content: "\f1a8"; | ||
| 4985 | } | ||
| 4986 | .uk-icon-drupal:before { | ||
| 4987 | content: "\f1a9"; | ||
| 4988 | } | ||
| 4989 | .uk-icon-joomla:before { | ||
| 4990 | content: "\f1aa"; | ||
| 4991 | } | ||
| 4992 | .uk-icon-language:before { | ||
| 4993 | content: "\f1ab"; | ||
| 4994 | } | ||
| 4995 | .uk-icon-fax:before { | ||
| 4996 | content: "\f1ac"; | ||
| 4997 | } | ||
| 4998 | .uk-icon-building:before { | ||
| 4999 | content: "\f1ad"; | ||
| 5000 | } | ||
| 5001 | .uk-icon-child:before { | ||
| 5002 | content: "\f1ae"; | ||
| 5003 | } | ||
| 5004 | .uk-icon-paw:before { | ||
| 5005 | content: "\f1b0"; | ||
| 5006 | } | ||
| 5007 | .uk-icon-spoon:before { | ||
| 5008 | content: "\f1b1"; | ||
| 5009 | } | ||
| 5010 | .uk-icon-cube:before { | ||
| 5011 | content: "\f1b2"; | ||
| 5012 | } | ||
| 5013 | .uk-icon-cubes:before { | ||
| 5014 | content: "\f1b3"; | ||
| 5015 | } | ||
| 5016 | .uk-icon-behance:before { | ||
| 5017 | content: "\f1b4"; | ||
| 5018 | } | ||
| 5019 | .uk-icon-behance-square:before { | ||
| 5020 | content: "\f1b5"; | ||
| 5021 | } | ||
| 5022 | .uk-icon-steam:before { | ||
| 5023 | content: "\f1b6"; | ||
| 5024 | } | ||
| 5025 | .uk-icon-steam-square:before { | ||
| 5026 | content: "\f1b7"; | ||
| 5027 | } | ||
| 5028 | .uk-icon-recycle:before { | ||
| 5029 | content: "\f1b8"; | ||
| 5030 | } | ||
| 5031 | .uk-icon-automobile:before, | ||
| 5032 | .uk-icon-car:before { | ||
| 5033 | content: "\f1b9"; | ||
| 5034 | } | ||
| 5035 | .uk-icon-cab:before, | ||
| 5036 | .uk-icon-taxi:before { | ||
| 5037 | content: "\f1ba"; | ||
| 5038 | } | ||
| 5039 | .uk-icon-tree:before { | ||
| 5040 | content: "\f1bb"; | ||
| 5041 | } | ||
| 5042 | .uk-icon-spotify:before { | ||
| 5043 | content: "\f1bc"; | ||
| 5044 | } | ||
| 5045 | .uk-icon-deviantart:before { | ||
| 5046 | content: "\f1bd"; | ||
| 5047 | } | ||
| 5048 | .uk-icon-soundcloud:before { | ||
| 5049 | content: "\f1be"; | ||
| 5050 | } | ||
| 5051 | .uk-icon-database:before { | ||
| 5052 | content: "\f1c0"; | ||
| 5053 | } | ||
| 5054 | .uk-icon-file-pdf-o:before { | ||
| 5055 | content: "\f1c1"; | ||
| 5056 | } | ||
| 5057 | .uk-icon-file-word-o:before { | ||
| 5058 | content: "\f1c2"; | ||
| 5059 | } | ||
| 5060 | .uk-icon-file-excel-o:before { | ||
| 5061 | content: "\f1c3"; | ||
| 5062 | } | ||
| 5063 | .uk-icon-file-powerpoint-o:before { | ||
| 5064 | content: "\f1c4"; | ||
| 5065 | } | ||
| 5066 | .uk-icon-file-photo-o:before, | ||
| 5067 | .uk-icon-file-picture-o:before, | ||
| 5068 | .uk-icon-file-image-o:before { | ||
| 5069 | content: "\f1c5"; | ||
| 5070 | } | ||
| 5071 | .uk-icon-file-zip-o:before, | ||
| 5072 | .uk-icon-file-archive-o:before { | ||
| 5073 | content: "\f1c6"; | ||
| 5074 | } | ||
| 5075 | .uk-icon-file-sound-o:before, | ||
| 5076 | .uk-icon-file-audio-o:before { | ||
| 5077 | content: "\f1c7"; | ||
| 5078 | } | ||
| 5079 | .uk-icon-file-movie-o:before, | ||
| 5080 | .uk-icon-file-video-o:before { | ||
| 5081 | content: "\f1c8"; | ||
| 5082 | } | ||
| 5083 | .uk-icon-file-code-o:before { | ||
| 5084 | content: "\f1c9"; | ||
| 5085 | } | ||
| 5086 | .uk-icon-vine:before { | ||
| 5087 | content: "\f1ca"; | ||
| 5088 | } | ||
| 5089 | .uk-icon-codepen:before { | ||
| 5090 | content: "\f1cb"; | ||
| 5091 | } | ||
| 5092 | .uk-icon-jsfiddle:before { | ||
| 5093 | content: "\f1cc"; | ||
| 5094 | } | ||
| 5095 | .uk-icon-life-bouy:before, | ||
| 5096 | .uk-icon-life-buoy:before, | ||
| 5097 | .uk-icon-life-saver:before, | ||
| 5098 | .uk-icon-support:before, | ||
| 5099 | .uk-icon-life-ring:before { | ||
| 5100 | content: "\f1cd"; | ||
| 5101 | } | ||
| 5102 | .uk-icon-circle-o-notch:before { | ||
| 5103 | content: "\f1ce"; | ||
| 5104 | } | ||
| 5105 | .uk-icon-ra:before, | ||
| 5106 | .uk-icon-rebel:before { | ||
| 5107 | content: "\f1d0"; | ||
| 5108 | } | ||
| 5109 | .uk-icon-ge:before, | ||
| 5110 | .uk-icon-empire:before { | ||
| 5111 | content: "\f1d1"; | ||
| 5112 | } | ||
| 5113 | .uk-icon-git-square:before { | ||
| 5114 | content: "\f1d2"; | ||
| 5115 | } | ||
| 5116 | .uk-icon-git:before { | ||
| 5117 | content: "\f1d3"; | ||
| 5118 | } | ||
| 5119 | .uk-icon-hacker-news:before { | ||
| 5120 | content: "\f1d4"; | ||
| 5121 | } | ||
| 5122 | .uk-icon-tencent-weibo:before { | ||
| 5123 | content: "\f1d5"; | ||
| 5124 | } | ||
| 5125 | .uk-icon-qq:before { | ||
| 5126 | content: "\f1d6"; | ||
| 5127 | } | ||
| 5128 | .uk-icon-wechat:before, | ||
| 5129 | .uk-icon-weixin:before { | ||
| 5130 | content: "\f1d7"; | ||
| 5131 | } | ||
| 5132 | .uk-icon-send:before, | ||
| 5133 | .uk-icon-paper-plane:before { | ||
| 5134 | content: "\f1d8"; | ||
| 5135 | } | ||
| 5136 | .uk-icon-send-o:before, | ||
| 5137 | .uk-icon-paper-plane-o:before { | ||
| 5138 | content: "\f1d9"; | ||
| 5139 | } | ||
| 5140 | .uk-icon-history:before { | ||
| 5141 | content: "\f1da"; | ||
| 5142 | } | ||
| 5143 | .uk-icon-genderless:before, | ||
| 5144 | .uk-icon-circle-thin:before { | ||
| 5145 | content: "\f1db"; | ||
| 5146 | } | ||
| 5147 | .uk-icon-header:before { | ||
| 5148 | content: "\f1dc"; | ||
| 5149 | } | ||
| 5150 | .uk-icon-paragraph:before { | ||
| 5151 | content: "\f1dd"; | ||
| 5152 | } | ||
| 5153 | .uk-icon-sliders:before { | ||
| 5154 | content: "\f1de"; | ||
| 5155 | } | ||
| 5156 | .uk-icon-share-alt:before { | ||
| 5157 | content: "\f1e0"; | ||
| 5158 | } | ||
| 5159 | .uk-icon-share-alt-square:before { | ||
| 5160 | content: "\f1e1"; | ||
| 5161 | } | ||
| 5162 | .uk-icon-bomb:before { | ||
| 5163 | content: "\f1e2"; | ||
| 5164 | } | ||
| 5165 | .uk-icon-soccer-ball-o:before, | ||
| 5166 | .uk-icon-futbol-o:before { | ||
| 5167 | content: "\f1e3"; | ||
| 5168 | } | ||
| 5169 | .uk-icon-tty:before { | ||
| 5170 | content: "\f1e4"; | ||
| 5171 | } | ||
| 5172 | .uk-icon-binoculars:before { | ||
| 5173 | content: "\f1e5"; | ||
| 5174 | } | ||
| 5175 | .uk-icon-plug:before { | ||
| 5176 | content: "\f1e6"; | ||
| 5177 | } | ||
| 5178 | .uk-icon-slideshare:before { | ||
| 5179 | content: "\f1e7"; | ||
| 5180 | } | ||
| 5181 | .uk-icon-twitch:before { | ||
| 5182 | content: "\f1e8"; | ||
| 5183 | } | ||
| 5184 | .uk-icon-yelp:before { | ||
| 5185 | content: "\f1e9"; | ||
| 5186 | } | ||
| 5187 | .uk-icon-newspaper-o:before { | ||
| 5188 | content: "\f1ea"; | ||
| 5189 | } | ||
| 5190 | .uk-icon-wifi:before { | ||
| 5191 | content: "\f1eb"; | ||
| 5192 | } | ||
| 5193 | .uk-icon-calculator:before { | ||
| 5194 | content: "\f1ec"; | ||
| 5195 | } | ||
| 5196 | .uk-icon-paypal:before { | ||
| 5197 | content: "\f1ed"; | ||
| 5198 | } | ||
| 5199 | .uk-icon-google-wallet:before { | ||
| 5200 | content: "\f1ee"; | ||
| 5201 | } | ||
| 5202 | .uk-icon-cc-visa:before { | ||
| 5203 | content: "\f1f0"; | ||
| 5204 | } | ||
| 5205 | .uk-icon-cc-mastercard:before { | ||
| 5206 | content: "\f1f1"; | ||
| 5207 | } | ||
| 5208 | .uk-icon-cc-discover:before { | ||
| 5209 | content: "\f1f2"; | ||
| 5210 | } | ||
| 5211 | .uk-icon-cc-amex:before { | ||
| 5212 | content: "\f1f3"; | ||
| 5213 | } | ||
| 5214 | .uk-icon-cc-paypal:before { | ||
| 5215 | content: "\f1f4"; | ||
| 5216 | } | ||
| 5217 | .uk-icon-cc-stripe:before { | ||
| 5218 | content: "\f1f5"; | ||
| 5219 | } | ||
| 5220 | .uk-icon-bell-slash:before { | ||
| 5221 | content: "\f1f6"; | ||
| 5222 | } | ||
| 5223 | .uk-icon-bell-slash-o:before { | ||
| 5224 | content: "\f1f7"; | ||
| 5225 | } | ||
| 5226 | .uk-icon-trash:before { | ||
| 5227 | content: "\f1f8"; | ||
| 5228 | } | ||
| 5229 | .uk-icon-copyright:before { | ||
| 5230 | content: "\f1f9"; | ||
| 5231 | } | ||
| 5232 | .uk-icon-at:before { | ||
| 5233 | content: "\f1fa"; | ||
| 5234 | } | ||
| 5235 | .uk-icon-eyedropper:before { | ||
| 5236 | content: "\f1fb"; | ||
| 5237 | } | ||
| 5238 | .uk-icon-paint-brush:before { | ||
| 5239 | content: "\f1fc"; | ||
| 5240 | } | ||
| 5241 | .uk-icon-birthday-cake:before { | ||
| 5242 | content: "\f1fd"; | ||
| 5243 | } | ||
| 5244 | .uk-icon-area-chart:before { | ||
| 5245 | content: "\f1fe"; | ||
| 5246 | } | ||
| 5247 | .uk-icon-pie-chart:before { | ||
| 5248 | content: "\f200"; | ||
| 5249 | } | ||
| 5250 | .uk-icon-line-chart:before { | ||
| 5251 | content: "\f201"; | ||
| 5252 | } | ||
| 5253 | .uk-icon-lastfm:before { | ||
| 5254 | content: "\f202"; | ||
| 5255 | } | ||
| 5256 | .uk-icon-lastfm-square:before { | ||
| 5257 | content: "\f203"; | ||
| 5258 | } | ||
| 5259 | .uk-icon-toggle-off:before { | ||
| 5260 | content: "\f204"; | ||
| 5261 | } | ||
| 5262 | .uk-icon-toggle-on:before { | ||
| 5263 | content: "\f205"; | ||
| 5264 | } | ||
| 5265 | .uk-icon-bicycle:before { | ||
| 5266 | content: "\f206"; | ||
| 5267 | } | ||
| 5268 | .uk-icon-bus:before { | ||
| 5269 | content: "\f207"; | ||
| 5270 | } | ||
| 5271 | .uk-icon-ioxhost:before { | ||
| 5272 | content: "\f208"; | ||
| 5273 | } | ||
| 5274 | .uk-icon-angellist:before { | ||
| 5275 | content: "\f209"; | ||
| 5276 | } | ||
| 5277 | .uk-icon-cc:before { | ||
| 5278 | content: "\f20a"; | ||
| 5279 | } | ||
| 5280 | .uk-icon-shekel:before, | ||
| 5281 | .uk-icon-sheqel:before, | ||
| 5282 | .uk-icon-ils:before { | ||
| 5283 | content: "\f20b"; | ||
| 5284 | } | ||
| 5285 | .uk-icon-meanpath:before { | ||
| 5286 | content: "\f20c"; | ||
| 5287 | } | ||
| 5288 | .uk-icon-buysellads:before { | ||
| 5289 | content: "\f20d"; | ||
| 5290 | } | ||
| 5291 | .uk-icon-connectdevelop:before { | ||
| 5292 | content: "\f20e"; | ||
| 5293 | } | ||
| 5294 | .uk-icon-dashcube:before { | ||
| 5295 | content: "\f210"; | ||
| 5296 | } | ||
| 5297 | .uk-icon-forumbee:before { | ||
| 5298 | content: "\f211"; | ||
| 5299 | } | ||
| 5300 | .uk-icon-leanpub:before { | ||
| 5301 | content: "\f212"; | ||
| 5302 | } | ||
| 5303 | .uk-icon-sellsy:before { | ||
| 5304 | content: "\f213"; | ||
| 5305 | } | ||
| 5306 | .uk-icon-shirtsinbulk:before { | ||
| 5307 | content: "\f214"; | ||
| 5308 | } | ||
| 5309 | .uk-icon-simplybuilt:before { | ||
| 5310 | content: "\f215"; | ||
| 5311 | } | ||
| 5312 | .uk-icon-skyatlas:before { | ||
| 5313 | content: "\f216"; | ||
| 5314 | } | ||
| 5315 | .uk-icon-cart-plus:before { | ||
| 5316 | content: "\f217"; | ||
| 5317 | } | ||
| 5318 | .uk-icon-cart-arrow-down:before { | ||
| 5319 | content: "\f218"; | ||
| 5320 | } | ||
| 5321 | .uk-icon-diamond:before { | ||
| 5322 | content: "\f219"; | ||
| 5323 | } | ||
| 5324 | .uk-icon-ship:before { | ||
| 5325 | content: "\f21a"; | ||
| 5326 | } | ||
| 5327 | .uk-icon-user-secret:before { | ||
| 5328 | content: "\f21b"; | ||
| 5329 | } | ||
| 5330 | .uk-icon-motorcycle:before { | ||
| 5331 | content: "\f21c"; | ||
| 5332 | } | ||
| 5333 | .uk-icon-street-view:before { | ||
| 5334 | content: "\f21d"; | ||
| 5335 | } | ||
| 5336 | .uk-icon-heartbeat:before { | ||
| 5337 | content: "\f21e"; | ||
| 5338 | } | ||
| 5339 | .uk-icon-venus:before { | ||
| 5340 | content: "\f221"; | ||
| 5341 | } | ||
| 5342 | .uk-icon-mars:before { | ||
| 5343 | content: "\f222"; | ||
| 5344 | } | ||
| 5345 | .uk-icon-mercury:before { | ||
| 5346 | content: "\f223"; | ||
| 5347 | } | ||
| 5348 | .uk-icon-transgender:before { | ||
| 5349 | content: "\f224"; | ||
| 5350 | } | ||
| 5351 | .uk-icon-transgender-alt:before { | ||
| 5352 | content: "\f225"; | ||
| 5353 | } | ||
| 5354 | .uk-icon-venus-double:before { | ||
| 5355 | content: "\f226"; | ||
| 5356 | } | ||
| 5357 | .uk-icon-mars-double:before { | ||
| 5358 | content: "\f227"; | ||
| 5359 | } | ||
| 5360 | .uk-icon-venus-mars:before { | ||
| 5361 | content: "\f228"; | ||
| 5362 | } | ||
| 5363 | .uk-icon-mars-stroke:before { | ||
| 5364 | content: "\f229"; | ||
| 5365 | } | ||
| 5366 | .uk-icon-mars-stroke-v:before { | ||
| 5367 | content: "\f22a"; | ||
| 5368 | } | ||
| 5369 | .uk-icon-mars-stroke-h:before { | ||
| 5370 | content: "\f22b"; | ||
| 5371 | } | ||
| 5372 | .uk-icon-neuter:before { | ||
| 5373 | content: "\f22c"; | ||
| 5374 | } | ||
| 5375 | .uk-icon-facebook-official:before { | ||
| 5376 | content: "\f230"; | ||
| 5377 | } | ||
| 5378 | .uk-icon-pinterest-p:before { | ||
| 5379 | content: "\f231"; | ||
| 5380 | } | ||
| 5381 | .uk-icon-whatsapp:before { | ||
| 5382 | content: "\f232"; | ||
| 5383 | } | ||
| 5384 | .uk-icon-server:before { | ||
| 5385 | content: "\f233"; | ||
| 5386 | } | ||
| 5387 | .uk-icon-user-plus:before { | ||
| 5388 | content: "\f234"; | ||
| 5389 | } | ||
| 5390 | .uk-icon-user-times:before { | ||
| 5391 | content: "\f235"; | ||
| 5392 | } | ||
| 5393 | .uk-icon-hotel:before, | ||
| 5394 | .uk-icon-bed:before { | ||
| 5395 | content: "\f236"; | ||
| 5396 | } | ||
| 5397 | .uk-icon-viacoin:before { | ||
| 5398 | content: "\f237"; | ||
| 5399 | } | ||
| 5400 | .uk-icon-train:before { | ||
| 5401 | content: "\f238"; | ||
| 5402 | } | ||
| 5403 | .uk-icon-subway:before { | ||
| 5404 | content: "\f239"; | ||
| 5405 | } | ||
| 5406 | .uk-icon-medium-logo:before { | ||
| 5407 | content: "\f23a"; | ||
| 5408 | } | ||
| 5409 | .uk-icon-500px:before { | ||
| 5410 | content: "\f26e"; | ||
| 5411 | } | ||
| 5412 | .uk-icon-amazon:before { | ||
| 5413 | content: "\f270"; | ||
| 5414 | } | ||
| 5415 | .uk-icon-balance-scale:before { | ||
| 5416 | content: "\f24e"; | ||
| 5417 | } | ||
| 5418 | .uk-icon-battery-empty:before, | ||
| 5419 | .uk-icon-battery-0:before { | ||
| 5420 | content: "\f244"; | ||
| 5421 | } | ||
| 5422 | .uk-icon-battery-quarter:before, | ||
| 5423 | .uk-icon-battery-1:before { | ||
| 5424 | content: "\f243"; | ||
| 5425 | } | ||
| 5426 | .uk-icon-battery-half:before, | ||
| 5427 | .uk-icon-battery-2:before { | ||
| 5428 | content: "\f242"; | ||
| 5429 | } | ||
| 5430 | .uk-icon-battery-three-quarters:before, | ||
| 5431 | .uk-icon-battery-3:before { | ||
| 5432 | content: "\f241"; | ||
| 5433 | } | ||
| 5434 | .uk-icon-battery-full:before, | ||
| 5435 | .uk-icon-battery-4:before { | ||
| 5436 | content: "\f240"; | ||
| 5437 | } | ||
| 5438 | .uk-icon-black-tie:before { | ||
| 5439 | content: "\f27e"; | ||
| 5440 | } | ||
| 5441 | .uk-icon-calendar-check-o:before { | ||
| 5442 | content: "\f274"; | ||
| 5443 | } | ||
| 5444 | .uk-icon-calendar-minus-o:before { | ||
| 5445 | content: "\f272"; | ||
| 5446 | } | ||
| 5447 | .uk-icon-calendar-plus-o:before { | ||
| 5448 | content: "\f271"; | ||
| 5449 | } | ||
| 5450 | .uk-icon-calendar-times-o:before { | ||
| 5451 | content: "\f273"; | ||
| 5452 | } | ||
| 5453 | .uk-icon-cc-diners-club:before { | ||
| 5454 | content: "\f24c"; | ||
| 5455 | } | ||
| 5456 | .uk-icon-cc-jcb:before { | ||
| 5457 | content: "\f24b"; | ||
| 5458 | } | ||
| 5459 | .uk-icon-chrome:before { | ||
| 5460 | content: "\f268"; | ||
| 5461 | } | ||
| 5462 | .uk-icon-clone:before { | ||
| 5463 | content: "\f24d"; | ||
| 5464 | } | ||
| 5465 | .uk-icon-commenting:before { | ||
| 5466 | content: "\f27a"; | ||
| 5467 | } | ||
| 5468 | .uk-icon-commenting-o:before { | ||
| 5469 | content: "\f27b"; | ||
| 5470 | } | ||
| 5471 | .uk-icon-contao:before { | ||
| 5472 | content: "\f26d"; | ||
| 5473 | } | ||
| 5474 | .uk-icon-creative-commons:before { | ||
| 5475 | content: "\f25e"; | ||
| 5476 | } | ||
| 5477 | .uk-icon-expeditedssl:before { | ||
| 5478 | content: "\f23e"; | ||
| 5479 | } | ||
| 5480 | .uk-icon-firefox:before { | ||
| 5481 | content: "\f269"; | ||
| 5482 | } | ||
| 5483 | .uk-icon-fonticons:before { | ||
| 5484 | content: "\f280"; | ||
| 5485 | } | ||
| 5486 | .uk-icon-get-pocket:before { | ||
| 5487 | content: "\f265"; | ||
| 5488 | } | ||
| 5489 | .uk-icon-gg:before { | ||
| 5490 | content: "\f260"; | ||
| 5491 | } | ||
| 5492 | .uk-icon-gg-circle:before { | ||
| 5493 | content: "\f261"; | ||
| 5494 | } | ||
| 5495 | .uk-icon-hand-lizard-o:before { | ||
| 5496 | content: "\f258"; | ||
| 5497 | } | ||
| 5498 | .uk-icon-hand-stop-o:before, | ||
| 5499 | .uk-icon-hand-paper-o:before { | ||
| 5500 | content: "\f256"; | ||
| 5501 | } | ||
| 5502 | .uk-icon-hand-peace-o:before { | ||
| 5503 | content: "\f25b"; | ||
| 5504 | } | ||
| 5505 | .uk-icon-hand-pointer-o:before { | ||
| 5506 | content: "\f25a"; | ||
| 5507 | } | ||
| 5508 | .uk-icon-hand-grab-o:before, | ||
| 5509 | .uk-icon-hand-rock-o:before { | ||
| 5510 | content: "\f255"; | ||
| 5511 | } | ||
| 5512 | .uk-icon-hand-scissors-o:before { | ||
| 5513 | content: "\f257"; | ||
| 5514 | } | ||
| 5515 | .uk-icon-hand-spock-o:before { | ||
| 5516 | content: "\f259"; | ||
| 5517 | } | ||
| 5518 | .uk-icon-hourglass:before { | ||
| 5519 | content: "\f254"; | ||
| 5520 | } | ||
| 5521 | .uk-icon-hourglass-o:before { | ||
| 5522 | content: "\f250"; | ||
| 5523 | } | ||
| 5524 | .uk-icon-hourglass-1:before, | ||
| 5525 | .uk-icon-hourglass-start:before { | ||
| 5526 | content: "\f251"; | ||
| 5527 | } | ||
| 5528 | .uk-icon-hourglass-2:before, | ||
| 5529 | .uk-icon-hourglass-half:before { | ||
| 5530 | content: "\f252"; | ||
| 5531 | } | ||
| 5532 | .uk-icon-hourglass-3:before, | ||
| 5533 | .uk-icon-hourglass-end:before { | ||
| 5534 | content: "\f253"; | ||
| 5535 | } | ||
| 5536 | .uk-icon-houzz:before { | ||
| 5537 | content: "\f27c"; | ||
| 5538 | } | ||
| 5539 | .uk-icon-i-cursor:before { | ||
| 5540 | content: "\f246"; | ||
| 5541 | } | ||
| 5542 | .uk-icon-industry:before { | ||
| 5543 | content: "\f275"; | ||
| 5544 | } | ||
| 5545 | .uk-icon-internet-explorer:before { | ||
| 5546 | content: "\f26b"; | ||
| 5547 | } | ||
| 5548 | .uk-icon-map:before { | ||
| 5549 | content: "\f279"; | ||
| 5550 | } | ||
| 5551 | .uk-icon-map-o:before { | ||
| 5552 | content: "\f278"; | ||
| 5553 | } | ||
| 5554 | .uk-icon-map-pin:before { | ||
| 5555 | content: "\f276"; | ||
| 5556 | } | ||
| 5557 | .uk-icon-map-signs:before { | ||
| 5558 | content: "\f277"; | ||
| 5559 | } | ||
| 5560 | .uk-icon-mouse-pointer:before { | ||
| 5561 | content: "\f245"; | ||
| 5562 | } | ||
| 5563 | .uk-icon-object-group:before { | ||
| 5564 | content: "\f247"; | ||
| 5565 | } | ||
| 5566 | .uk-icon-object-ungroup:before { | ||
| 5567 | content: "\f248"; | ||
| 5568 | } | ||
| 5569 | .uk-icon-odnoklassniki:before { | ||
| 5570 | content: "\f263"; | ||
| 5571 | } | ||
| 5572 | .uk-icon-odnoklassniki-square:before { | ||
| 5573 | content: "\f264"; | ||
| 5574 | } | ||
| 5575 | .uk-icon-opencart:before { | ||
| 5576 | content: "\f23d"; | ||
| 5577 | } | ||
| 5578 | .uk-icon-opera:before { | ||
| 5579 | content: "\f26a"; | ||
| 5580 | } | ||
| 5581 | .uk-icon-optin-monster:before { | ||
| 5582 | content: "\f23c"; | ||
| 5583 | } | ||
| 5584 | .uk-icon-registered:before { | ||
| 5585 | content: "\f25d"; | ||
| 5586 | } | ||
| 5587 | .uk-icon-safari:before { | ||
| 5588 | content: "\f267"; | ||
| 5589 | } | ||
| 5590 | .uk-icon-sticky-note:before { | ||
| 5591 | content: "\f249"; | ||
| 5592 | } | ||
| 5593 | .uk-icon-sticky-note-o:before { | ||
| 5594 | content: "\f24a"; | ||
| 5595 | } | ||
| 5596 | .uk-icon-tv:before, | ||
| 5597 | .uk-icon-television:before { | ||
| 5598 | content: "\f26c"; | ||
| 5599 | } | ||
| 5600 | .uk-icon-trademark:before { | ||
| 5601 | content: "\f25c"; | ||
| 5602 | } | ||
| 5603 | .uk-icon-tripadvisor:before { | ||
| 5604 | content: "\f262"; | ||
| 5605 | } | ||
| 5606 | .uk-icon-vimeo:before { | ||
| 5607 | content: "\f27d"; | ||
| 5608 | } | ||
| 5609 | .uk-icon-wikipedia-w:before { | ||
| 5610 | content: "\f266"; | ||
| 5611 | } | ||
| 5612 | .uk-icon-yc:before, | ||
| 5613 | .uk-icon-y-combinator:before { | ||
| 5614 | content: "\f23b"; | ||
| 5615 | } | ||
| 5616 | .uk-icon-yc-square:before, | ||
| 5617 | .uk-icon-y-combinator-square:before { | ||
| 5618 | content: "\f1d4"; | ||
| 5619 | } | ||
| 5620 | .uk-icon-bluetooth:before { | ||
| 5621 | content: "\f293"; | ||
| 5622 | } | ||
| 5623 | .uk-icon-bluetooth-b:before { | ||
| 5624 | content: "\f294"; | ||
| 5625 | } | ||
| 5626 | .uk-icon-codiepie:before { | ||
| 5627 | content: "\f284"; | ||
| 5628 | } | ||
| 5629 | .uk-icon-credit-card-alt:before { | ||
| 5630 | content: "\f283"; | ||
| 5631 | } | ||
| 5632 | .uk-icon-edge:before { | ||
| 5633 | content: "\f282"; | ||
| 5634 | } | ||
| 5635 | .uk-icon-fort-awesome:before { | ||
| 5636 | content: "\f286"; | ||
| 5637 | } | ||
| 5638 | .uk-icon-hashtag:before { | ||
| 5639 | content: "\f292"; | ||
| 5640 | } | ||
| 5641 | .uk-icon-mixcloud:before { | ||
| 5642 | content: "\f289"; | ||
| 5643 | } | ||
| 5644 | .uk-icon-modx:before { | ||
| 5645 | content: "\f285"; | ||
| 5646 | } | ||
| 5647 | .uk-icon-pause-circle:before { | ||
| 5648 | content: "\f28b"; | ||
| 5649 | } | ||
| 5650 | .uk-icon-pause-circle-o:before { | ||
| 5651 | content: "\f28c"; | ||
| 5652 | } | ||
| 5653 | .uk-icon-percent:before { | ||
| 5654 | content: "\f295"; | ||
| 5655 | } | ||
| 5656 | .uk-icon-product-hunt:before { | ||
| 5657 | content: "\f288"; | ||
| 5658 | } | ||
| 5659 | .uk-icon-reddit-alien:before { | ||
| 5660 | content: "\f281"; | ||
| 5661 | } | ||
| 5662 | .uk-icon-scribd:before { | ||
| 5663 | content: "\f28a"; | ||
| 5664 | } | ||
| 5665 | .uk-icon-shopping-bag:before { | ||
| 5666 | content: "\f290"; | ||
| 5667 | } | ||
| 5668 | .uk-icon-shopping-basket:before { | ||
| 5669 | content: "\f291"; | ||
| 5670 | } | ||
| 5671 | .uk-icon-stop-circle:before { | ||
| 5672 | content: "\f28d"; | ||
| 5673 | } | ||
| 5674 | .uk-icon-stop-circle-o:before { | ||
| 5675 | content: "\f28e"; | ||
| 5676 | } | ||
| 5677 | .uk-icon-usb:before { | ||
| 5678 | content: "\f287"; | ||
| 5679 | } | ||
| 5680 | .uk-icon-american-sign-language-interpreting:before, | ||
| 5681 | .uk-icon-asl-interpreting:before { | ||
| 5682 | content: "\f2a3"; | ||
| 5683 | } | ||
| 5684 | .uk-icon-assistive-listening-systems:before { | ||
| 5685 | content: "\f2a2"; | ||
| 5686 | } | ||
| 5687 | .uk-icon-audio-description:before { | ||
| 5688 | content: "\f29e"; | ||
| 5689 | } | ||
| 5690 | .uk-icon-blind:before { | ||
| 5691 | content: "\f29d"; | ||
| 5692 | } | ||
| 5693 | .uk-icon-braille:before { | ||
| 5694 | content: "\f2a1"; | ||
| 5695 | } | ||
| 5696 | .uk-icon-deaf:before { | ||
| 5697 | content: "\f2a4"; | ||
| 5698 | } | ||
| 5699 | .uk-icon-deafness:before { | ||
| 5700 | content: "\f2a4"; | ||
| 5701 | } | ||
| 5702 | .uk-icon-envira:before { | ||
| 5703 | content: "\f299"; | ||
| 5704 | } | ||
| 5705 | .uk-icon-gitlab:before { | ||
| 5706 | content: "\f296"; | ||
| 5707 | } | ||
| 5708 | .uk-icon-glide:before { | ||
| 5709 | content: "\f2a5"; | ||
| 5710 | } | ||
| 5711 | .uk-icon-glide-g:before { | ||
| 5712 | content: "\f2a6"; | ||
| 5713 | } | ||
| 5714 | .uk-icon-hard-of-hearing:before { | ||
| 5715 | content: "\f2a4"; | ||
| 5716 | } | ||
| 5717 | .uk-icon-low-vision:before { | ||
| 5718 | content: "\f2a8"; | ||
| 5719 | } | ||
| 5720 | .uk-icon-question-circle-o:before { | ||
| 5721 | content: "\f29c"; | ||
| 5722 | } | ||
| 5723 | .uk-icon-sign-language:before, | ||
| 5724 | .uk-icon-signing:before { | ||
| 5725 | content: "\f2a7"; | ||
| 5726 | } | ||
| 5727 | .uk-icon-snapchat:before { | ||
| 5728 | content: "\f2ab"; | ||
| 5729 | } | ||
| 5730 | .uk-icon-snapchat-ghost:before { | ||
| 5731 | content: "\f2ac"; | ||
| 5732 | } | ||
| 5733 | .uk-icon-snapchat-square:before { | ||
| 5734 | content: "\f2ad"; | ||
| 5735 | } | ||
| 5736 | .uk-icon-universal-access:before { | ||
| 5737 | content: "\f29a"; | ||
| 5738 | } | ||
| 5739 | .uk-icon-viadeo:before { | ||
| 5740 | content: "\f2a9"; | ||
| 5741 | } | ||
| 5742 | .uk-icon-viadeo-square:before { | ||
| 5743 | content: "\f2aa"; | ||
| 5744 | } | ||
| 5745 | .uk-icon-volume-control-phone:before { | ||
| 5746 | content: "\f2a0"; | ||
| 5747 | } | ||
| 5748 | .uk-icon-wheelchair-alt:before { | ||
| 5749 | content: "\f29b"; | ||
| 5750 | } | ||
| 5751 | .uk-icon-wpbeginner:before { | ||
| 5752 | content: "\f297"; | ||
| 5753 | } | ||
| 5754 | .uk-icon-wpforms:before { | ||
| 5755 | content: "\f298"; | ||
| 5756 | } | ||
| 5757 | /* ======================================================================== | ||
| 5758 | Component: Close | ||
| 5759 | ========================================================================== */ | ||
| 5760 | /* | ||
| 5761 | * Removes inner padding and border in Firefox 4+. | ||
| 5762 | */ | ||
| 5763 | .uk-close::-moz-focus-inner { | ||
| 5764 | border: 0; | ||
| 5765 | padding: 0; | ||
| 5766 | } | ||
| 5767 | /* | ||
| 5768 | * 1. Correct inability to style clickable `input` types in iOS. | ||
| 5769 | * 2. Remove margins in Chrome, Safari and Opera. | ||
| 5770 | * 3. Remove borders for `button`. | ||
| 5771 | * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. | ||
| 5772 | * 5. Correct `font` properties and `color` not being inherited for `button`. | ||
| 5773 | * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE | ||
| 5774 | * 7. Remove default `button` padding and background color | ||
| 5775 | * 8. Style | ||
| 5776 | */ | ||
| 5777 | .uk-close { | ||
| 5778 | /* 1 */ | ||
| 5779 | -webkit-appearance: none; | ||
| 5780 | /* 2 */ | ||
| 5781 | margin: 0; | ||
| 5782 | /* 3 */ | ||
| 5783 | border: none; | ||
| 5784 | /* 4 */ | ||
| 5785 | overflow: visible; | ||
| 5786 | /* 5 */ | ||
| 5787 | font: inherit; | ||
| 5788 | color: inherit; | ||
| 5789 | /* 6 */ | ||
| 5790 | text-transform: none; | ||
| 5791 | /* 7. */ | ||
| 5792 | padding: 0; | ||
| 5793 | background: transparent; | ||
| 5794 | /* 8 */ | ||
| 5795 | display: inline-block; | ||
| 5796 | box-sizing: content-box; | ||
| 5797 | width: 20px; | ||
| 5798 | line-height: 20px; | ||
| 5799 | text-align: center; | ||
| 5800 | vertical-align: middle; | ||
| 5801 | opacity: 0.3; | ||
| 5802 | } | ||
| 5803 | /* Icon */ | ||
| 5804 | .uk-close:after { | ||
| 5805 | display: block; | ||
| 5806 | content: "\f00d"; | ||
| 5807 | font-family: FontAwesome; | ||
| 5808 | } | ||
| 5809 | /* | ||
| 5810 | * Hover | ||
| 5811 | * 1. Apply hover style also to focus state | ||
| 5812 | * 2. Remove default focus style | ||
| 5813 | * 3. Required for `a` elements | ||
| 5814 | */ | ||
| 5815 | .uk-close:hover, | ||
| 5816 | .uk-close:focus { | ||
| 5817 | opacity: 0.5; | ||
| 5818 | /* 2 */ | ||
| 5819 | outline: none; | ||
| 5820 | /* 3 */ | ||
| 5821 | color: inherit; | ||
| 5822 | text-decoration: none; | ||
| 5823 | cursor: pointer; | ||
| 5824 | } | ||
| 5825 | /* Modifier | ||
| 5826 | ========================================================================== */ | ||
| 5827 | .uk-close-alt { | ||
| 5828 | padding: 2px; | ||
| 5829 | border-radius: 50%; | ||
| 5830 | background: #eee; | ||
| 5831 | opacity: 1; | ||
| 5832 | } | ||
| 5833 | /* Hover */ | ||
| 5834 | .uk-close-alt:hover, | ||
| 5835 | .uk-close-alt:focus { | ||
| 5836 | opacity: 1; | ||
| 5837 | } | ||
| 5838 | /* Icon */ | ||
| 5839 | .uk-close-alt:after { | ||
| 5840 | opacity: 0.5; | ||
| 5841 | } | ||
| 5842 | .uk-close-alt:hover:after, | ||
| 5843 | .uk-close-alt:focus:after { | ||
| 5844 | opacity: 0.8; | ||
| 5845 | } | ||
| 5846 | /* ======================================================================== | ||
| 5847 | Component: Badge | ||
| 5848 | ========================================================================== */ | ||
| 5849 | .uk-badge { | ||
| 5850 | display: inline-block; | ||
| 5851 | padding: 0 5px; | ||
| 5852 | background: #00a8e6; | ||
| 5853 | font-size: 10px; | ||
| 5854 | font-weight: bold; | ||
| 5855 | line-height: 14px; | ||
| 5856 | color: #fff; | ||
| 5857 | text-align: center; | ||
| 5858 | vertical-align: middle; | ||
| 5859 | text-transform: none; | ||
| 5860 | } | ||
| 5861 | /* | ||
| 5862 | * Keep color when badge is a link | ||
| 5863 | */ | ||
| 5864 | a.uk-badge:hover { | ||
| 5865 | color: #fff; | ||
| 5866 | } | ||
| 5867 | /* Modifier: `uk-badge-notification`; | ||
| 5868 | ========================================================================== */ | ||
| 5869 | .uk-badge-notification { | ||
| 5870 | box-sizing: border-box; | ||
| 5871 | min-width: 18px; | ||
| 5872 | border-radius: 500px; | ||
| 5873 | font-size: 12px; | ||
| 5874 | line-height: 18px; | ||
| 5875 | } | ||
| 5876 | /* Color modifier | ||
| 5877 | ========================================================================== */ | ||
| 5878 | /* | ||
| 5879 | * Modifier: `uk-badge-success` | ||
| 5880 | */ | ||
| 5881 | .uk-badge-success { | ||
| 5882 | background-color: #8cc14c; | ||
| 5883 | } | ||
| 5884 | /* | ||
| 5885 | * Modifier: `uk-badge-warning` | ||
| 5886 | */ | ||
| 5887 | .uk-badge-warning { | ||
| 5888 | background-color: #faa732; | ||
| 5889 | } | ||
| 5890 | /* | ||
| 5891 | * Modifier: `uk-badge-danger` | ||
| 5892 | */ | ||
| 5893 | .uk-badge-danger { | ||
| 5894 | background-color: #da314b; | ||
| 5895 | } | ||
| 5896 | /* ======================================================================== | ||
| 5897 | Component: Alert | ||
| 5898 | ========================================================================== */ | ||
| 5899 | .uk-alert { | ||
| 5900 | margin-bottom: 15px; | ||
| 5901 | padding: 10px; | ||
| 5902 | background: #ebf7fd; | ||
| 5903 | color: #2d7091; | ||
| 5904 | } | ||
| 5905 | /* | ||
| 5906 | * Add margin if adjacent element | ||
| 5907 | */ | ||
| 5908 | * + .uk-alert { | ||
| 5909 | margin-top: 15px; | ||
| 5910 | } | ||
| 5911 | /* | ||
| 5912 | * Remove margin from the last-child | ||
| 5913 | */ | ||
| 5914 | .uk-alert > :last-child { | ||
| 5915 | margin-bottom: 0; | ||
| 5916 | } | ||
| 5917 | /* | ||
| 5918 | * Keep color for headings if the default heading color is changed | ||
| 5919 | */ | ||
| 5920 | .uk-alert h1, | ||
| 5921 | .uk-alert h2, | ||
| 5922 | .uk-alert h3, | ||
| 5923 | .uk-alert h4, | ||
| 5924 | .uk-alert h5, | ||
| 5925 | .uk-alert h6 { | ||
| 5926 | color: inherit; | ||
| 5927 | } | ||
| 5928 | /* Close in alert | ||
| 5929 | ========================================================================== */ | ||
| 5930 | .uk-alert > .uk-close:first-child { | ||
| 5931 | float: right; | ||
| 5932 | } | ||
| 5933 | /* | ||
| 5934 | * Remove margin from adjacent element | ||
| 5935 | */ | ||
| 5936 | .uk-alert > .uk-close:first-child + * { | ||
| 5937 | margin-top: 0; | ||
| 5938 | } | ||
| 5939 | /* Modifier: `uk-alert-success` | ||
| 5940 | ========================================================================== */ | ||
| 5941 | .uk-alert-success { | ||
| 5942 | background: #f2fae3; | ||
| 5943 | color: #659f13; | ||
| 5944 | } | ||
| 5945 | /* Modifier: `uk-alert-warning` | ||
| 5946 | ========================================================================== */ | ||
| 5947 | .uk-alert-warning { | ||
| 5948 | background: #fffceb; | ||
| 5949 | color: #e28327; | ||
| 5950 | } | ||
| 5951 | /* Modifier: `uk-alert-danger` | ||
| 5952 | ========================================================================== */ | ||
| 5953 | .uk-alert-danger { | ||
| 5954 | background: #fff1f0; | ||
| 5955 | color: #d85030; | ||
| 5956 | } | ||
| 5957 | /* Modifier: `uk-alert-large` | ||
| 5958 | ========================================================================== */ | ||
| 5959 | .uk-alert-large { | ||
| 5960 | padding: 20px; | ||
| 5961 | } | ||
| 5962 | .uk-alert-large > .uk-close:first-child { | ||
| 5963 | margin: -10px -10px 0 0; | ||
| 5964 | } | ||
| 5965 | /* ======================================================================== | ||
| 5966 | Component: Thumbnail | ||
| 5967 | ========================================================================== */ | ||
| 5968 | /* | ||
| 5969 | * 1. Container width fits its content | ||
| 5970 | * 2. Responsive behavior | ||
| 5971 | * 3. Corrects `max-width` behavior sed | ||
| 5972 | * 4. Required for `figure` element | ||
| 5973 | * 5. Style | ||
| 5974 | */ | ||
| 5975 | .uk-thumbnail { | ||
| 5976 | /* 1 */ | ||
| 5977 | display: inline-block; | ||
| 5978 | /* 2 */ | ||
| 5979 | max-width: 100%; | ||
| 5980 | /* 3 */ | ||
| 5981 | box-sizing: border-box; | ||
| 5982 | /* 3 */ | ||
| 5983 | margin: 0; | ||
| 5984 | /* 4 */ | ||
| 5985 | padding: 4px; | ||
| 5986 | border: 1px solid #ddd; | ||
| 5987 | background: #fff; | ||
| 5988 | } | ||
| 5989 | /* | ||
| 5990 | * Hover state for `a` elements | ||
| 5991 | * 1. Apply hover style also to focus state | ||
| 5992 | * 2. Needed for caption | ||
| 5993 | * 3. Remove default focus style | ||
| 5994 | */ | ||
| 5995 | a.uk-thumbnail:hover, | ||
| 5996 | a.uk-thumbnail:focus { | ||
| 5997 | border-color: #aaaaaa; | ||
| 5998 | background-color: #fff; | ||
| 5999 | /* 2 */ | ||
| 6000 | text-decoration: none; | ||
| 6001 | /* 3 */ | ||
| 6002 | outline: none; | ||
| 6003 | } | ||
| 6004 | /* Caption | ||
| 6005 | ========================================================================== */ | ||
| 6006 | .uk-thumbnail-caption { | ||
| 6007 | padding-top: 4px; | ||
| 6008 | text-align: center; | ||
| 6009 | color: #444; | ||
| 6010 | } | ||
| 6011 | /* Sizes | ||
| 6012 | ========================================================================== */ | ||
| 6013 | .uk-thumbnail-mini { | ||
| 6014 | width: 150px; | ||
| 6015 | } | ||
| 6016 | .uk-thumbnail-small { | ||
| 6017 | width: 200px; | ||
| 6018 | } | ||
| 6019 | .uk-thumbnail-medium { | ||
| 6020 | width: 300px; | ||
| 6021 | } | ||
| 6022 | .uk-thumbnail-large { | ||
| 6023 | width: 400px; | ||
| 6024 | } | ||
| 6025 | .uk-thumbnail-expand, | ||
| 6026 | .uk-thumbnail-expand > img { | ||
| 6027 | width: 100%; | ||
| 6028 | } | ||
| 6029 | /* ======================================================================== | ||
| 6030 | Component: Overlay | ||
| 6031 | ========================================================================== */ | ||
| 6032 | /* | ||
| 6033 | * 1. Container width fits its content | ||
| 6034 | * 2. Create position context | ||
| 6035 | * 3. Set max-width for responsive images to prevent `inline-block` consequences | ||
| 6036 | * 4. Remove the gap between the container and its child element | ||
| 6037 | * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome | ||
| 6038 | * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit | ||
| 6039 | * 7. Reset margin | ||
| 6040 | */ | ||
| 6041 | .uk-overlay { | ||
| 6042 | /* 1 */ | ||
| 6043 | display: inline-block; | ||
| 6044 | /* 2 */ | ||
| 6045 | position: relative; | ||
| 6046 | /* 3 */ | ||
| 6047 | max-width: 100%; | ||
| 6048 | /* 4 */ | ||
| 6049 | vertical-align: middle; | ||
| 6050 | /* 5 */ | ||
| 6051 | overflow: hidden; | ||
| 6052 | /* 6 */ | ||
| 6053 | -webkit-transform: translateZ(0); | ||
| 6054 | /* 7 */ | ||
| 6055 | margin: 0; | ||
| 6056 | } | ||
| 6057 | /* 6 for Safari */ | ||
| 6058 | .uk-overlay.uk-border-circle { | ||
| 6059 | -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); | ||
| 6060 | } | ||
| 6061 | /* | ||
| 6062 | * Remove margin from content | ||
| 6063 | */ | ||
| 6064 | .uk-overlay > :first-child { | ||
| 6065 | margin-bottom: 0; | ||
| 6066 | } | ||
| 6067 | /* Sub-object `uk-overlay-panel` | ||
| 6068 | ========================================================================== */ | ||
| 6069 | /* | ||
| 6070 | * 1. Position cover | ||
| 6071 | * 2. Style | ||
| 6072 | */ | ||
| 6073 | .uk-overlay-panel { | ||
| 6074 | /* 1 */ | ||
| 6075 | position: absolute; | ||
| 6076 | top: 0; | ||
| 6077 | bottom: 0; | ||
| 6078 | left: 0; | ||
| 6079 | right: 0; | ||
| 6080 | /* 2 */ | ||
| 6081 | padding: 20px; | ||
| 6082 | color: #fff; | ||
| 6083 | } | ||
| 6084 | /* | ||
| 6085 | * Remove margin from the last-child | ||
| 6086 | */ | ||
| 6087 | .uk-overlay-panel > :last-child, | ||
| 6088 | .uk-overlay-panel.uk-flex > * > :last-child { | ||
| 6089 | margin-bottom: 0; | ||
| 6090 | } | ||
| 6091 | /* | ||
| 6092 | * Keep color for headings if the default heading color is changed | ||
| 6093 | */ | ||
| 6094 | .uk-overlay-panel h1, | ||
| 6095 | .uk-overlay-panel h2, | ||
| 6096 | .uk-overlay-panel h3, | ||
| 6097 | .uk-overlay-panel h4, | ||
| 6098 | .uk-overlay-panel h5, | ||
| 6099 | .uk-overlay-panel h6 { | ||
| 6100 | color: inherit; | ||
| 6101 | } | ||
| 6102 | .uk-overlay-panel a:not([class]) { | ||
| 6103 | color: inherit; | ||
| 6104 | text-decoration: underline; | ||
| 6105 | } | ||
| 6106 | .uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { | ||
| 6107 | color: inherit; | ||
| 6108 | } | ||
| 6109 | /* Sub-object `uk-overlay-hover` and `uk-overlay-active` | ||
| 6110 | ========================================================================== */ | ||
| 6111 | .uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { | ||
| 6112 | opacity: 0; | ||
| 6113 | } | ||
| 6114 | .uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { | ||
| 6115 | opacity: 0; | ||
| 6116 | } | ||
| 6117 | /* Modifier `uk-overlay-background` | ||
| 6118 | ========================================================================== */ | ||
| 6119 | .uk-overlay-background { | ||
| 6120 | background: rgba(0, 0, 0, 0.5); | ||
| 6121 | } | ||
| 6122 | /* Modifier `uk-overlay-image` | ||
| 6123 | ========================================================================== */ | ||
| 6124 | /* | ||
| 6125 | * Reset panel | ||
| 6126 | */ | ||
| 6127 | .uk-overlay-image { | ||
| 6128 | padding: 0; | ||
| 6129 | } | ||
| 6130 | /* Position modifiers | ||
| 6131 | ========================================================================== */ | ||
| 6132 | .uk-overlay-top { | ||
| 6133 | bottom: auto; | ||
| 6134 | } | ||
| 6135 | .uk-overlay-bottom { | ||
| 6136 | top: auto; | ||
| 6137 | } | ||
| 6138 | .uk-overlay-left { | ||
| 6139 | right: auto; | ||
| 6140 | } | ||
| 6141 | .uk-overlay-right { | ||
| 6142 | left: auto; | ||
| 6143 | } | ||
| 6144 | /* Sub-object `uk-overlay-icon` | ||
| 6145 | ========================================================================== */ | ||
| 6146 | .uk-overlay-icon:before { | ||
| 6147 | content: "\f002"; | ||
| 6148 | position: absolute; | ||
| 6149 | top: 50%; | ||
| 6150 | left: 50%; | ||
| 6151 | width: 50px; | ||
| 6152 | height: 50px; | ||
| 6153 | margin-top: -25px; | ||
| 6154 | margin-left: -25px; | ||
| 6155 | font-size: 50px; | ||
| 6156 | line-height: 1; | ||
| 6157 | font-family: FontAwesome; | ||
| 6158 | text-align: center; | ||
| 6159 | color: #fff; | ||
| 6160 | } | ||
| 6161 | /* Transitions | ||
| 6162 | ========================================================================== */ | ||
| 6163 | .uk-overlay-fade, | ||
| 6164 | .uk-overlay-scale, | ||
| 6165 | .uk-overlay-spin, | ||
| 6166 | .uk-overlay-grayscale, | ||
| 6167 | .uk-overlay-blur, | ||
| 6168 | [class*='uk-overlay-slide'] { | ||
| 6169 | transition-duration: 0.3s; | ||
| 6170 | transition-timing-function: ease-out; | ||
| 6171 | transition-property: opacity, transform, filter; | ||
| 6172 | } | ||
| 6173 | .uk-overlay-active .uk-overlay-fade, | ||
| 6174 | .uk-overlay-active .uk-overlay-scale, | ||
| 6175 | .uk-overlay-active .uk-overlay-spin, | ||
| 6176 | .uk-overlay-active [class*='uk-overlay-slide'] { | ||
| 6177 | transition-duration: 0.8s; | ||
| 6178 | } | ||
| 6179 | /* | ||
| 6180 | * Fade | ||
| 6181 | */ | ||
| 6182 | .uk-overlay-fade { | ||
| 6183 | opacity: 0.7; | ||
| 6184 | } | ||
| 6185 | .uk-overlay-hover:hover .uk-overlay-fade, | ||
| 6186 | .uk-overlay-hover.uk-hover .uk-overlay-fade, | ||
| 6187 | .uk-overlay-active .uk-active > .uk-overlay-fade { | ||
| 6188 | opacity: 1; | ||
| 6189 | } | ||
| 6190 | /* | ||
| 6191 | * Scale | ||
| 6192 | */ | ||
| 6193 | .uk-overlay-scale { | ||
| 6194 | -webkit-transform: scale(1); | ||
| 6195 | transform: scale(1); | ||
| 6196 | } | ||
| 6197 | .uk-overlay-hover:hover .uk-overlay-scale, | ||
| 6198 | .uk-overlay-hover.uk-hover .uk-overlay-scale, | ||
| 6199 | .uk-overlay-active .uk-active > .uk-overlay-scale { | ||
| 6200 | -webkit-transform: scale(1.1); | ||
| 6201 | transform: scale(1.1); | ||
| 6202 | } | ||
| 6203 | /* | ||
| 6204 | * Spin | ||
| 6205 | */ | ||
| 6206 | .uk-overlay-spin { | ||
| 6207 | -webkit-transform: scale(1) rotate(0deg); | ||
| 6208 | transform: scale(1) rotate(0deg); | ||
| 6209 | } | ||
| 6210 | .uk-overlay-hover:hover .uk-overlay-spin, | ||
| 6211 | .uk-overlay-hover.uk-hover .uk-overlay-spin, | ||
| 6212 | .uk-overlay-active .uk-active > .uk-overlay-spin { | ||
| 6213 | -webkit-transform: scale(1.1) rotate(3deg); | ||
| 6214 | transform: scale(1.1) rotate(3deg); | ||
| 6215 | } | ||
| 6216 | /* | ||
| 6217 | * Grayscale | ||
| 6218 | */ | ||
| 6219 | .uk-overlay-grayscale { | ||
| 6220 | -webkit-filter: grayscale(100%); | ||
| 6221 | filter: grayscale(100%); | ||
| 6222 | } | ||
| 6223 | .uk-overlay-hover:hover .uk-overlay-grayscale, | ||
| 6224 | .uk-overlay-hover.uk-hover .uk-overlay-grayscale, | ||
| 6225 | .uk-overlay-active .uk-active > .uk-overlay-grayscale { | ||
| 6226 | -webkit-filter: grayscale(0%); | ||
| 6227 | filter: grayscale(0%); | ||
| 6228 | } | ||
| 6229 | /* | ||
| 6230 | * Slide | ||
| 6231 | */ | ||
| 6232 | [class*='uk-overlay-slide'] { | ||
| 6233 | opacity: 0; | ||
| 6234 | } | ||
| 6235 | /* Top */ | ||
| 6236 | .uk-overlay-slide-top { | ||
| 6237 | -webkit-transform: translateY(-100%); | ||
| 6238 | transform: translateY(-100%); | ||
| 6239 | } | ||
| 6240 | /* Bottom */ | ||
| 6241 | .uk-overlay-slide-bottom { | ||
| 6242 | -webkit-transform: translateY(100%); | ||
| 6243 | transform: translateY(100%); | ||
| 6244 | } | ||
| 6245 | /* Left */ | ||
| 6246 | .uk-overlay-slide-left { | ||
| 6247 | -webkit-transform: translateX(-100%); | ||
| 6248 | transform: translateX(-100%); | ||
| 6249 | } | ||
| 6250 | /* Right */ | ||
| 6251 | .uk-overlay-slide-right { | ||
| 6252 | -webkit-transform: translateX(100%); | ||
| 6253 | transform: translateX(100%); | ||
| 6254 | } | ||
| 6255 | /* Hover */ | ||
| 6256 | .uk-overlay-hover:hover [class*='uk-overlay-slide'], | ||
| 6257 | .uk-overlay-hover.uk-hover [class*='uk-overlay-slide'], | ||
| 6258 | .uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { | ||
| 6259 | opacity: 1; | ||
| 6260 | -webkit-transform: translateX(0) translateY(0); | ||
| 6261 | transform: translateX(0) translateY(0); | ||
| 6262 | } | ||
| 6263 | /* DEPRECATED | ||
| 6264 | * Sub-object `uk-overlay-area` | ||
| 6265 | ========================================================================== */ | ||
| 6266 | /* | ||
| 6267 | * 1. Set position | ||
| 6268 | * 2. Set style | ||
| 6269 | * 3. Fade-in transition | ||
| 6270 | */ | ||
| 6271 | .uk-overlay-area { | ||
| 6272 | /* 1 */ | ||
| 6273 | position: absolute; | ||
| 6274 | top: 0; | ||
| 6275 | bottom: 0; | ||
| 6276 | left: 0; | ||
| 6277 | right: 0; | ||
| 6278 | /* 2 */ | ||
| 6279 | background: rgba(0, 0, 0, 0.3); | ||
| 6280 | /* 3 */ | ||
| 6281 | opacity: 0; | ||
| 6282 | -webkit-transition: opacity 0.15s linear; | ||
| 6283 | transition: opacity 0.15s linear; | ||
| 6284 | -webkit-transform: translate3d(0, 0, 0); | ||
| 6285 | } | ||
| 6286 | /* | ||
| 6287 | * Hover | ||
| 6288 | * 1. `uk-hover` to support touch devices | ||
| 6289 | * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier | ||
| 6290 | */ | ||
| 6291 | .uk-overlay:hover .uk-overlay-area, | ||
| 6292 | .uk-overlay.uk-hover .uk-overlay-area, | ||
| 6293 | .uk-overlay-toggle:hover .uk-overlay-area, | ||
| 6294 | .uk-overlay-toggle.uk-hover .uk-overlay-area { | ||
| 6295 | opacity: 1; | ||
| 6296 | } | ||
| 6297 | /* | ||
| 6298 | * Icon | ||
| 6299 | */ | ||
| 6300 | .uk-overlay-area:empty:before { | ||
| 6301 | content: "\f002"; | ||
| 6302 | position: absolute; | ||
| 6303 | top: 50%; | ||
| 6304 | left: 50%; | ||
| 6305 | width: 50px; | ||
| 6306 | height: 50px; | ||
| 6307 | margin-top: -25px; | ||
| 6308 | margin-left: -25px; | ||
| 6309 | font-size: 50px; | ||
| 6310 | line-height: 1; | ||
| 6311 | font-family: FontAwesome; | ||
| 6312 | text-align: center; | ||
| 6313 | color: #fff; | ||
| 6314 | } | ||
| 6315 | /* DEPRECATED | ||
| 6316 | * Sub-object `uk-overlay-area-content` | ||
| 6317 | ========================================================================== */ | ||
| 6318 | /* | ||
| 6319 | * Remove whitespace between child elements when using `inline-block` | ||
| 6320 | * Needed for Firefox | ||
| 6321 | */ | ||
| 6322 | .uk-overlay-area:not(:empty) { | ||
| 6323 | font-size: 0.001px; | ||
| 6324 | } | ||
| 6325 | /* | ||
| 6326 | * 1. Needed for vertical alignment | ||
| 6327 | */ | ||
| 6328 | .uk-overlay-area:not(:empty):before { | ||
| 6329 | content: ''; | ||
| 6330 | display: inline-block; | ||
| 6331 | height: 100%; | ||
| 6332 | vertical-align: middle; | ||
| 6333 | } | ||
| 6334 | /* | ||
| 6335 | * 1. Set vertical alignment | ||
| 6336 | * 2. Reset whitespace hack | ||
| 6337 | * 3. Set horizontal alignment | ||
| 6338 | * 4. Set style | ||
| 6339 | */ | ||
| 6340 | .uk-overlay-area-content { | ||
| 6341 | /* 1 */ | ||
| 6342 | display: inline-block; | ||
| 6343 | box-sizing: border-box; | ||
| 6344 | width: 100%; | ||
| 6345 | vertical-align: middle; | ||
| 6346 | /* 2 */ | ||
| 6347 | font-size: 1rem; | ||
| 6348 | /* 3 */ | ||
| 6349 | text-align: center; | ||
| 6350 | /* 4 */ | ||
| 6351 | padding: 0 15px; | ||
| 6352 | color: #fff; | ||
| 6353 | } | ||
| 6354 | /* | ||
| 6355 | * Remove margin from the last-child | ||
| 6356 | */ | ||
| 6357 | .uk-overlay-area-content > :last-child { | ||
| 6358 | margin-bottom: 0; | ||
| 6359 | } | ||
| 6360 | /* | ||
| 6361 | * Links in overlay area | ||
| 6362 | */ | ||
| 6363 | .uk-overlay-area-content a:not([class]), | ||
| 6364 | .uk-overlay-area-content a:not([class]):hover { | ||
| 6365 | color: inherit; | ||
| 6366 | } | ||
| 6367 | /* DEPRECATED | ||
| 6368 | * Sub-object `uk-overlay-caption` | ||
| 6369 | ========================================================================== */ | ||
| 6370 | /* | ||
| 6371 | * 1. Set position | ||
| 6372 | * 2. Set style | ||
| 6373 | * 3. Fade-in transition | ||
| 6374 | */ | ||
| 6375 | .uk-overlay-caption { | ||
| 6376 | /* 1 */ | ||
| 6377 | position: absolute; | ||
| 6378 | bottom: 0; | ||
| 6379 | left: 0; | ||
| 6380 | right: 0; | ||
| 6381 | /* 2 */ | ||
| 6382 | padding: 15px; | ||
| 6383 | background: rgba(0, 0, 0, 0.5); | ||
| 6384 | color: #fff; | ||
| 6385 | /* 3 */ | ||
| 6386 | opacity: 0; | ||
| 6387 | -webkit-transition: opacity 0.15s linear; | ||
| 6388 | transition: opacity 0.15s linear; | ||
| 6389 | -webkit-transform: translate3d(0, 0, 0); | ||
| 6390 | } | ||
| 6391 | /* | ||
| 6392 | * Hover | ||
| 6393 | * 1. `uk-hover` to support touch devices | ||
| 6394 | * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier | ||
| 6395 | */ | ||
| 6396 | .uk-overlay:hover .uk-overlay-caption, | ||
| 6397 | .uk-overlay.uk-hover .uk-overlay-caption, | ||
| 6398 | .uk-overlay-toggle:hover .uk-overlay-caption, | ||
| 6399 | .uk-overlay-toggle.uk-hover .uk-overlay-caption { | ||
| 6400 | opacity: 1; | ||
| 6401 | } | ||
| 6402 | /* ======================================================================== | ||
| 6403 | Component: Column | ||
| 6404 | ========================================================================== */ | ||
| 6405 | [class*='uk-column-'] { | ||
| 6406 | -webkit-column-gap: 25px; | ||
| 6407 | -moz-column-gap: 25px; | ||
| 6408 | column-gap: 25px; | ||
| 6409 | } | ||
| 6410 | /* Width modifiers | ||
| 6411 | ========================================================================== */ | ||
| 6412 | .uk-column-1-2 { | ||
| 6413 | -webkit-column-count: 2; | ||
| 6414 | -moz-column-count: 2; | ||
| 6415 | column-count: 2; | ||
| 6416 | } | ||
| 6417 | .uk-column-1-3 { | ||
| 6418 | -webkit-column-count: 3; | ||
| 6419 | -moz-column-count: 3; | ||
| 6420 | column-count: 3; | ||
| 6421 | } | ||
| 6422 | .uk-column-1-4 { | ||
| 6423 | -webkit-column-count: 4; | ||
| 6424 | -moz-column-count: 4; | ||
| 6425 | column-count: 4; | ||
| 6426 | } | ||
| 6427 | .uk-column-1-5 { | ||
| 6428 | -webkit-column-count: 5; | ||
| 6429 | -moz-column-count: 5; | ||
| 6430 | column-count: 5; | ||
| 6431 | } | ||
| 6432 | .uk-column-1-6 { | ||
| 6433 | -webkit-column-count: 6; | ||
| 6434 | -moz-column-count: 6; | ||
| 6435 | column-count: 6; | ||
| 6436 | } | ||
| 6437 | /* Phone landscape and bigger */ | ||
| 6438 | @media (min-width: 480px) { | ||
| 6439 | .uk-column-small-1-2 { | ||
| 6440 | -webkit-column-count: 2; | ||
| 6441 | -moz-column-count: 2; | ||
| 6442 | column-count: 2; | ||
| 6443 | } | ||
| 6444 | .uk-column-small-1-3 { | ||
| 6445 | -webkit-column-count: 3; | ||
| 6446 | -moz-column-count: 3; | ||
| 6447 | column-count: 3; | ||
| 6448 | } | ||
| 6449 | .uk-column-small-1-4 { | ||
| 6450 | -webkit-column-count: 4; | ||
| 6451 | -moz-column-count: 4; | ||
| 6452 | column-count: 4; | ||
| 6453 | } | ||
| 6454 | .uk-column-small-1-5 { | ||
| 6455 | -webkit-column-count: 5; | ||
| 6456 | -moz-column-count: 5; | ||
| 6457 | column-count: 5; | ||
| 6458 | } | ||
| 6459 | .uk-column-small-1-6 { | ||
| 6460 | -webkit-column-count: 6; | ||
| 6461 | -moz-column-count: 6; | ||
| 6462 | column-count: 6; | ||
| 6463 | } | ||
| 6464 | } | ||
| 6465 | /* Tablet and bigger */ | ||
| 6466 | @media (min-width: 768px) { | ||
| 6467 | .uk-column-medium-1-2 { | ||
| 6468 | -webkit-column-count: 2; | ||
| 6469 | -moz-column-count: 2; | ||
| 6470 | column-count: 2; | ||
| 6471 | } | ||
| 6472 | .uk-column-medium-1-3 { | ||
| 6473 | -webkit-column-count: 3; | ||
| 6474 | -moz-column-count: 3; | ||
| 6475 | column-count: 3; | ||
| 6476 | } | ||
| 6477 | .uk-column-medium-1-4 { | ||
| 6478 | -webkit-column-count: 4; | ||
| 6479 | -moz-column-count: 4; | ||
| 6480 | column-count: 4; | ||
| 6481 | } | ||
| 6482 | .uk-column-medium-1-5 { | ||
| 6483 | -webkit-column-count: 5; | ||
| 6484 | -moz-column-count: 5; | ||
| 6485 | column-count: 5; | ||
| 6486 | } | ||
| 6487 | .uk-column-medium-1-6 { | ||
| 6488 | -webkit-column-count: 6; | ||
| 6489 | -moz-column-count: 6; | ||
| 6490 | column-count: 6; | ||
| 6491 | } | ||
| 6492 | } | ||
| 6493 | /* Desktop and bigger */ | ||
| 6494 | @media (min-width: 960px) { | ||
| 6495 | .uk-column-large-1-2 { | ||
| 6496 | -webkit-column-count: 2; | ||
| 6497 | -moz-column-count: 2; | ||
| 6498 | column-count: 2; | ||
| 6499 | } | ||
| 6500 | .uk-column-large-1-3 { | ||
| 6501 | -webkit-column-count: 3; | ||
| 6502 | -moz-column-count: 3; | ||
| 6503 | column-count: 3; | ||
| 6504 | } | ||
| 6505 | .uk-column-large-1-4 { | ||
| 6506 | -webkit-column-count: 4; | ||
| 6507 | -moz-column-count: 4; | ||
| 6508 | column-count: 4; | ||
| 6509 | } | ||
| 6510 | .uk-column-large-1-5 { | ||
| 6511 | -webkit-column-count: 5; | ||
| 6512 | -moz-column-count: 5; | ||
| 6513 | column-count: 5; | ||
| 6514 | } | ||
| 6515 | .uk-column-large-1-6 { | ||
| 6516 | -webkit-column-count: 6; | ||
| 6517 | -moz-column-count: 6; | ||
| 6518 | column-count: 6; | ||
| 6519 | } | ||
| 6520 | } | ||
| 6521 | /* Large screen and bigger */ | ||
| 6522 | @media (min-width: 1220px) { | ||
| 6523 | .uk-column-xlarge-1-2 { | ||
| 6524 | -webkit-column-count: 2; | ||
| 6525 | -moz-column-count: 2; | ||
| 6526 | column-count: 2; | ||
| 6527 | } | ||
| 6528 | .uk-column-xlarge-1-3 { | ||
| 6529 | -webkit-column-count: 3; | ||
| 6530 | -moz-column-count: 3; | ||
| 6531 | column-count: 3; | ||
| 6532 | } | ||
| 6533 | .uk-column-xlarge-1-4 { | ||
| 6534 | -webkit-column-count: 4; | ||
| 6535 | -moz-column-count: 4; | ||
| 6536 | column-count: 4; | ||
| 6537 | } | ||
| 6538 | .uk-column-xlarge-1-5 { | ||
| 6539 | -webkit-column-count: 5; | ||
| 6540 | -moz-column-count: 5; | ||
| 6541 | column-count: 5; | ||
| 6542 | } | ||
| 6543 | .uk-column-xlarge-1-6 { | ||
| 6544 | -webkit-column-count: 6; | ||
| 6545 | -moz-column-count: 6; | ||
| 6546 | column-count: 6; | ||
| 6547 | } | ||
| 6548 | } | ||
| 6549 | /* ======================================================================== | ||
| 6550 | Component: Animation | ||
| 6551 | ========================================================================== */ | ||
| 6552 | [class*='uk-animation-'] { | ||
| 6553 | -webkit-animation-duration: 0.5s; | ||
| 6554 | animation-duration: 0.5s; | ||
| 6555 | -webkit-animation-timing-function: ease-out; | ||
| 6556 | animation-timing-function: ease-out; | ||
| 6557 | -webkit-animation-fill-mode: both; | ||
| 6558 | animation-fill-mode: both; | ||
| 6559 | } | ||
| 6560 | /* Hide animated element if scrollspy is used */ | ||
| 6561 | @media screen { | ||
| 6562 | [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { | ||
| 6563 | opacity: 0; | ||
| 6564 | } | ||
| 6565 | } | ||
| 6566 | /* | ||
| 6567 | * Fade | ||
| 6568 | * Higher specificity (!important) needed because of reverse modifier | ||
| 6569 | */ | ||
| 6570 | .uk-animation-fade { | ||
| 6571 | -webkit-animation-name: uk-fade; | ||
| 6572 | animation-name: uk-fade; | ||
| 6573 | -webkit-animation-duration: 0.8s; | ||
| 6574 | animation-duration: 0.8s; | ||
| 6575 | -webkit-animation-timing-function: linear !important; | ||
| 6576 | animation-timing-function: linear !important; | ||
| 6577 | } | ||
| 6578 | /* | ||
| 6579 | * Fade with scale | ||
| 6580 | */ | ||
| 6581 | .uk-animation-scale-up { | ||
| 6582 | -webkit-animation-name: uk-fade-scale-02; | ||
| 6583 | animation-name: uk-fade-scale-02; | ||
| 6584 | } | ||
| 6585 | .uk-animation-scale-down { | ||
| 6586 | -webkit-animation-name: uk-fade-scale-18; | ||
| 6587 | animation-name: uk-fade-scale-18; | ||
| 6588 | } | ||
| 6589 | /* | ||
| 6590 | * Fade with slide | ||
| 6591 | */ | ||
| 6592 | .uk-animation-slide-top { | ||
| 6593 | -webkit-animation-name: uk-fade-top; | ||
| 6594 | animation-name: uk-fade-top; | ||
| 6595 | } | ||
| 6596 | .uk-animation-slide-bottom { | ||
| 6597 | -webkit-animation-name: uk-fade-bottom; | ||
| 6598 | animation-name: uk-fade-bottom; | ||
| 6599 | } | ||
| 6600 | .uk-animation-slide-left { | ||
| 6601 | -webkit-animation-name: uk-fade-left; | ||
| 6602 | animation-name: uk-fade-left; | ||
| 6603 | } | ||
| 6604 | .uk-animation-slide-right { | ||
| 6605 | -webkit-animation-name: uk-fade-right; | ||
| 6606 | animation-name: uk-fade-right; | ||
| 6607 | } | ||
| 6608 | /* | ||
| 6609 | * Scale | ||
| 6610 | */ | ||
| 6611 | .uk-animation-scale { | ||
| 6612 | -webkit-animation-name: uk-scale-12; | ||
| 6613 | animation-name: uk-scale-12; | ||
| 6614 | } | ||
| 6615 | /* | ||
| 6616 | * Shake | ||
| 6617 | */ | ||
| 6618 | .uk-animation-shake { | ||
| 6619 | -webkit-animation-name: uk-shake; | ||
| 6620 | animation-name: uk-shake; | ||
| 6621 | } | ||
| 6622 | /* Direction modifiers | ||
| 6623 | ========================================================================== */ | ||
| 6624 | .uk-animation-reverse { | ||
| 6625 | -webkit-animation-direction: reverse; | ||
| 6626 | animation-direction: reverse; | ||
| 6627 | -webkit-animation-timing-function: ease-in; | ||
| 6628 | animation-timing-function: ease-in; | ||
| 6629 | } | ||
| 6630 | /* Duration modifiers | ||
| 6631 | ========================================================================== */ | ||
| 6632 | .uk-animation-15 { | ||
| 6633 | -webkit-animation-duration: 15s; | ||
| 6634 | animation-duration: 15s; | ||
| 6635 | } | ||
| 6636 | /* Origin modifiers | ||
| 6637 | ========================================================================== */ | ||
| 6638 | .uk-animation-top-left { | ||
| 6639 | -webkit-transform-origin: 0 0; | ||
| 6640 | transform-origin: 0 0; | ||
| 6641 | } | ||
| 6642 | .uk-animation-top-center { | ||
| 6643 | -webkit-transform-origin: 50% 0; | ||
| 6644 | transform-origin: 50% 0; | ||
| 6645 | } | ||
| 6646 | .uk-animation-top-right { | ||
| 6647 | -webkit-transform-origin: 100% 0; | ||
| 6648 | transform-origin: 100% 0; | ||
| 6649 | } | ||
| 6650 | .uk-animation-middle-left { | ||
| 6651 | -webkit-transform-origin: 0 50%; | ||
| 6652 | transform-origin: 0 50%; | ||
| 6653 | } | ||
| 6654 | .uk-animation-middle-right { | ||
| 6655 | -webkit-transform-origin: 100% 50%; | ||
| 6656 | transform-origin: 100% 50%; | ||
| 6657 | } | ||
| 6658 | .uk-animation-bottom-left { | ||
| 6659 | -webkit-transform-origin: 0 100%; | ||
| 6660 | transform-origin: 0 100%; | ||
| 6661 | } | ||
| 6662 | .uk-animation-bottom-center { | ||
| 6663 | -webkit-transform-origin: 50% 100%; | ||
| 6664 | transform-origin: 50% 100%; | ||
| 6665 | } | ||
| 6666 | .uk-animation-bottom-right { | ||
| 6667 | -webkit-transform-origin: 100% 100%; | ||
| 6668 | transform-origin: 100% 100%; | ||
| 6669 | } | ||
| 6670 | /* Sub-object: `uk-animation-hover` | ||
| 6671 | ========================================================================== */ | ||
| 6672 | /* | ||
| 6673 | * Enable animation only on hover | ||
| 6674 | * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` | ||
| 6675 | */ | ||
| 6676 | .uk-animation-hover:not(:hover), | ||
| 6677 | .uk-animation-hover:not(:hover) [class*='uk-animation-'], | ||
| 6678 | .uk-touch .uk-animation-hover:not(.uk-hover), | ||
| 6679 | .uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { | ||
| 6680 | -webkit-animation-name: none; | ||
| 6681 | animation-name: none; | ||
| 6682 | } | ||
| 6683 | /* Keyframes: Fade | ||
| 6684 | * Used by dropdown, datepicker and slideshow component | ||
| 6685 | ========================================================================== */ | ||
| 6686 | @-webkit-keyframes uk-fade { | ||
| 6687 | 0% { | ||
| 6688 | opacity: 0; | ||
| 6689 | } | ||
| 6690 | 100% { | ||
| 6691 | opacity: 1; | ||
| 6692 | } | ||
| 6693 | } | ||
| 6694 | @keyframes uk-fade { | ||
| 6695 | 0% { | ||
| 6696 | opacity: 0; | ||
| 6697 | } | ||
| 6698 | 100% { | ||
| 6699 | opacity: 1; | ||
| 6700 | } | ||
| 6701 | } | ||
| 6702 | /* Keyframes: Fade with slide | ||
| 6703 | ========================================================================== */ | ||
| 6704 | /* | ||
| 6705 | * Top | ||
| 6706 | */ | ||
| 6707 | @-webkit-keyframes uk-fade-top { | ||
| 6708 | 0% { | ||
| 6709 | opacity: 0; | ||
| 6710 | -webkit-transform: translateY(-100%); | ||
| 6711 | } | ||
| 6712 | 100% { | ||
| 6713 | opacity: 1; | ||
| 6714 | -webkit-transform: translateY(0); | ||
| 6715 | } | ||
| 6716 | } | ||
| 6717 | @keyframes uk-fade-top { | ||
| 6718 | 0% { | ||
| 6719 | opacity: 0; | ||
| 6720 | transform: translateY(-100%); | ||
| 6721 | } | ||
| 6722 | 100% { | ||
| 6723 | opacity: 1; | ||
| 6724 | transform: translateY(0); | ||
| 6725 | } | ||
| 6726 | } | ||
| 6727 | /* | ||
| 6728 | * Bottom | ||
| 6729 | */ | ||
| 6730 | @-webkit-keyframes uk-fade-bottom { | ||
| 6731 | 0% { | ||
| 6732 | opacity: 0; | ||
| 6733 | -webkit-transform: translateY(100%); | ||
| 6734 | } | ||
| 6735 | 100% { | ||
| 6736 | opacity: 1; | ||
| 6737 | -webkit-transform: translateY(0); | ||
| 6738 | } | ||
| 6739 | } | ||
| 6740 | @keyframes uk-fade-bottom { | ||
| 6741 | 0% { | ||
| 6742 | opacity: 0; | ||
| 6743 | transform: translateY(100%); | ||
| 6744 | } | ||
| 6745 | 100% { | ||
| 6746 | opacity: 1; | ||
| 6747 | transform: translateY(0); | ||
| 6748 | } | ||
| 6749 | } | ||
| 6750 | /* | ||
| 6751 | * Left | ||
| 6752 | */ | ||
| 6753 | @-webkit-keyframes uk-fade-left { | ||
| 6754 | 0% { | ||
| 6755 | opacity: 0; | ||
| 6756 | -webkit-transform: translateX(-100%); | ||
| 6757 | } | ||
| 6758 | 100% { | ||
| 6759 | opacity: 1; | ||
| 6760 | -webkit-transform: translateX(0); | ||
| 6761 | } | ||
| 6762 | } | ||
| 6763 | @keyframes uk-fade-left { | ||
| 6764 | 0% { | ||
| 6765 | opacity: 0; | ||
| 6766 | transform: translateX(-100%); | ||
| 6767 | } | ||
| 6768 | 100% { | ||
| 6769 | opacity: 1; | ||
| 6770 | transform: translateX(0); | ||
| 6771 | } | ||
| 6772 | } | ||
| 6773 | /* | ||
| 6774 | * Right | ||
| 6775 | */ | ||
| 6776 | @-webkit-keyframes uk-fade-right { | ||
| 6777 | 0% { | ||
| 6778 | opacity: 0; | ||
| 6779 | -webkit-transform: translateX(100%); | ||
| 6780 | } | ||
| 6781 | 100% { | ||
| 6782 | opacity: 1; | ||
| 6783 | -webkit-transform: translateX(0); | ||
| 6784 | } | ||
| 6785 | } | ||
| 6786 | @keyframes uk-fade-right { | ||
| 6787 | 0% { | ||
| 6788 | opacity: 0; | ||
| 6789 | transform: translateX(100%); | ||
| 6790 | } | ||
| 6791 | 100% { | ||
| 6792 | opacity: 1; | ||
| 6793 | transform: translateX(0); | ||
| 6794 | } | ||
| 6795 | } | ||
| 6796 | /* Keyframes: Fade with scale | ||
| 6797 | ========================================================================== */ | ||
| 6798 | /* | ||
| 6799 | * Scale by 0.2 | ||
| 6800 | */ | ||
| 6801 | @-webkit-keyframes uk-fade-scale-02 { | ||
| 6802 | 0% { | ||
| 6803 | opacity: 0; | ||
| 6804 | -webkit-transform: scale(0.2); | ||
| 6805 | } | ||
| 6806 | 100% { | ||
| 6807 | opacity: 1; | ||
| 6808 | -webkit-transform: scale(1); | ||
| 6809 | } | ||
| 6810 | } | ||
| 6811 | @keyframes uk-fade-scale-02 { | ||
| 6812 | 0% { | ||
| 6813 | opacity: 0; | ||
| 6814 | transform: scale(0.2); | ||
| 6815 | } | ||
| 6816 | 100% { | ||
| 6817 | opacity: 1; | ||
| 6818 | transform: scale(1); | ||
| 6819 | } | ||
| 6820 | } | ||
| 6821 | /* | ||
| 6822 | * Scale by 1.5 | ||
| 6823 | * Used by slideshow component | ||
| 6824 | */ | ||
| 6825 | @-webkit-keyframes uk-fade-scale-15 { | ||
| 6826 | 0% { | ||
| 6827 | opacity: 0; | ||
| 6828 | -webkit-transform: scale(1.5); | ||
| 6829 | } | ||
| 6830 | 100% { | ||
| 6831 | opacity: 1; | ||
| 6832 | -webkit-transform: scale(1); | ||
| 6833 | } | ||
| 6834 | } | ||
| 6835 | @keyframes uk-fade-scale-15 { | ||
| 6836 | 0% { | ||
| 6837 | opacity: 0; | ||
| 6838 | transform: scale(1.5); | ||
| 6839 | } | ||
| 6840 | 100% { | ||
| 6841 | opacity: 1; | ||
| 6842 | transform: scale(1); | ||
| 6843 | } | ||
| 6844 | } | ||
| 6845 | /* | ||
| 6846 | * Scale by 1.8 | ||
| 6847 | */ | ||
| 6848 | @-webkit-keyframes uk-fade-scale-18 { | ||
| 6849 | 0% { | ||
| 6850 | opacity: 0; | ||
| 6851 | -webkit-transform: scale(1.8); | ||
| 6852 | } | ||
| 6853 | 100% { | ||
| 6854 | opacity: 1; | ||
| 6855 | -webkit-transform: scale(1); | ||
| 6856 | } | ||
| 6857 | } | ||
| 6858 | @keyframes uk-fade-scale-18 { | ||
| 6859 | 0% { | ||
| 6860 | opacity: 0; | ||
| 6861 | transform: scale(1.8); | ||
| 6862 | } | ||
| 6863 | 100% { | ||
| 6864 | opacity: 1; | ||
| 6865 | transform: scale(1); | ||
| 6866 | } | ||
| 6867 | } | ||
| 6868 | /* Keyframes: Slide | ||
| 6869 | * Used by slideshow component | ||
| 6870 | ========================================================================== */ | ||
| 6871 | /* | ||
| 6872 | * Left | ||
| 6873 | */ | ||
| 6874 | @-webkit-keyframes uk-slide-left { | ||
| 6875 | 0% { | ||
| 6876 | -webkit-transform: translateX(-100%); | ||
| 6877 | } | ||
| 6878 | 100% { | ||
| 6879 | -webkit-transform: translateX(0); | ||
| 6880 | } | ||
| 6881 | } | ||
| 6882 | @keyframes uk-slide-left { | ||
| 6883 | 0% { | ||
| 6884 | transform: translateX(-100%); | ||
| 6885 | } | ||
| 6886 | 100% { | ||
| 6887 | transform: translateX(0); | ||
| 6888 | } | ||
| 6889 | } | ||
| 6890 | /* | ||
| 6891 | * Right | ||
| 6892 | */ | ||
| 6893 | @-webkit-keyframes uk-slide-right { | ||
| 6894 | 0% { | ||
| 6895 | -webkit-transform: translateX(100%); | ||
| 6896 | } | ||
| 6897 | 100% { | ||
| 6898 | -webkit-transform: translateX(0); | ||
| 6899 | } | ||
| 6900 | } | ||
| 6901 | @keyframes uk-slide-right { | ||
| 6902 | 0% { | ||
| 6903 | transform: translateX(100%); | ||
| 6904 | } | ||
| 6905 | 100% { | ||
| 6906 | transform: translateX(0); | ||
| 6907 | } | ||
| 6908 | } | ||
| 6909 | /* | ||
| 6910 | * Left third | ||
| 6911 | */ | ||
| 6912 | @-webkit-keyframes uk-slide-left-33 { | ||
| 6913 | 0% { | ||
| 6914 | -webkit-transform: translateX(33%); | ||
| 6915 | } | ||
| 6916 | 100% { | ||
| 6917 | -webkit-transform: translateX(0); | ||
| 6918 | } | ||
| 6919 | } | ||
| 6920 | @keyframes uk-slide-left-33 { | ||
| 6921 | 0% { | ||
| 6922 | transform: translateX(33%); | ||
| 6923 | } | ||
| 6924 | 100% { | ||
| 6925 | transform: translateX(0); | ||
| 6926 | } | ||
| 6927 | } | ||
| 6928 | /* | ||
| 6929 | * Right third | ||
| 6930 | */ | ||
| 6931 | @-webkit-keyframes uk-slide-right-33 { | ||
| 6932 | 0% { | ||
| 6933 | -webkit-transform: translateX(-33%); | ||
| 6934 | } | ||
| 6935 | 100% { | ||
| 6936 | -webkit-transform: translateX(0); | ||
| 6937 | } | ||
| 6938 | } | ||
| 6939 | @keyframes uk-slide-right-33 { | ||
| 6940 | 0% { | ||
| 6941 | transform: translateX(-33%); | ||
| 6942 | } | ||
| 6943 | 100% { | ||
| 6944 | transform: translateX(0); | ||
| 6945 | } | ||
| 6946 | } | ||
| 6947 | /* Keyframes: Scale | ||
| 6948 | ========================================================================== */ | ||
| 6949 | @-webkit-keyframes uk-scale-12 { | ||
| 6950 | 0% { | ||
| 6951 | -webkit-transform: scale(1.2); | ||
| 6952 | } | ||
| 6953 | 100% { | ||
| 6954 | -webkit-transform: scale(1); | ||
| 6955 | } | ||
| 6956 | } | ||
| 6957 | @keyframes uk-scale-12 { | ||
| 6958 | 0% { | ||
| 6959 | transform: scale(1.2); | ||
| 6960 | } | ||
| 6961 | 100% { | ||
| 6962 | transform: scale(1); | ||
| 6963 | } | ||
| 6964 | } | ||
| 6965 | /* Keyframes: Rotate | ||
| 6966 | * Used by icon component | ||
| 6967 | ========================================================================== */ | ||
| 6968 | @-webkit-keyframes uk-rotate { | ||
| 6969 | 0% { | ||
| 6970 | -webkit-transform: rotate(0deg); | ||
| 6971 | } | ||
| 6972 | 100% { | ||
| 6973 | -webkit-transform: rotate(359deg); | ||
| 6974 | } | ||
| 6975 | } | ||
| 6976 | @keyframes uk-rotate { | ||
| 6977 | 0% { | ||
| 6978 | transform: rotate(0deg); | ||
| 6979 | } | ||
| 6980 | 100% { | ||
| 6981 | transform: rotate(359deg); | ||
| 6982 | } | ||
| 6983 | } | ||
| 6984 | /* Keyframes: Shake | ||
| 6985 | ========================================================================== */ | ||
| 6986 | @-webkit-keyframes uk-shake { | ||
| 6987 | 0%, | ||
| 6988 | 100% { | ||
| 6989 | -webkit-transform: translateX(0); | ||
| 6990 | } | ||
| 6991 | 10% { | ||
| 6992 | -webkit-transform: translateX(-9px); | ||
| 6993 | } | ||
| 6994 | 20% { | ||
| 6995 | -webkit-transform: translateX(8px); | ||
| 6996 | } | ||
| 6997 | 30% { | ||
| 6998 | -webkit-transform: translateX(-7px); | ||
| 6999 | } | ||
| 7000 | 40% { | ||
| 7001 | -webkit-transform: translateX(6px); | ||
| 7002 | } | ||
| 7003 | 50% { | ||
| 7004 | -webkit-transform: translateX(-5px); | ||
| 7005 | } | ||
| 7006 | 60% { | ||
| 7007 | -webkit-transform: translateX(4px); | ||
| 7008 | } | ||
| 7009 | 70% { | ||
| 7010 | -webkit-transform: translateX(-3px); | ||
| 7011 | } | ||
| 7012 | 80% { | ||
| 7013 | -webkit-transform: translateX(2px); | ||
| 7014 | } | ||
| 7015 | 90% { | ||
| 7016 | -webkit-transform: translateX(-1px); | ||
| 7017 | } | ||
| 7018 | } | ||
| 7019 | @keyframes uk-shake { | ||
| 7020 | 0%, | ||
| 7021 | 100% { | ||
| 7022 | transform: translateX(0); | ||
| 7023 | } | ||
| 7024 | 10% { | ||
| 7025 | transform: translateX(-9px); | ||
| 7026 | } | ||
| 7027 | 20% { | ||
| 7028 | transform: translateX(8px); | ||
| 7029 | } | ||
| 7030 | 30% { | ||
| 7031 | transform: translateX(-7px); | ||
| 7032 | } | ||
| 7033 | 40% { | ||
| 7034 | transform: translateX(6px); | ||
| 7035 | } | ||
| 7036 | 50% { | ||
| 7037 | transform: translateX(-5px); | ||
| 7038 | } | ||
| 7039 | 60% { | ||
| 7040 | transform: translateX(4px); | ||
| 7041 | } | ||
| 7042 | 70% { | ||
| 7043 | transform: translateX(-3px); | ||
| 7044 | } | ||
| 7045 | 80% { | ||
| 7046 | transform: translateX(2px); | ||
| 7047 | } | ||
| 7048 | 90% { | ||
| 7049 | transform: translateX(-1px); | ||
| 7050 | } | ||
| 7051 | } | ||
| 7052 | /* Keyframes: Fade with slide fixed | ||
| 7053 | * Used by dropdown and search component | ||
| 7054 | ========================================================================== */ | ||
| 7055 | /* | ||
| 7056 | * Top fixed | ||
| 7057 | */ | ||
| 7058 | @-webkit-keyframes uk-slide-top-fixed { | ||
| 7059 | 0% { | ||
| 7060 | opacity: 0; | ||
| 7061 | -webkit-transform: translateY(-10px); | ||
| 7062 | } | ||
| 7063 | 100% { | ||
| 7064 | opacity: 1; | ||
| 7065 | -webkit-transform: translateY(0); | ||
| 7066 | } | ||
| 7067 | } | ||
| 7068 | @keyframes uk-slide-top-fixed { | ||
| 7069 | 0% { | ||
| 7070 | opacity: 0; | ||
| 7071 | transform: translateY(-10px); | ||
| 7072 | } | ||
| 7073 | 100% { | ||
| 7074 | opacity: 1; | ||
| 7075 | transform: translateY(0); | ||
| 7076 | } | ||
| 7077 | } | ||
| 7078 | /* | ||
| 7079 | * Bottom fixed | ||
| 7080 | */ | ||
| 7081 | @-webkit-keyframes uk-slide-bottom-fixed { | ||
| 7082 | 0% { | ||
| 7083 | opacity: 0; | ||
| 7084 | -webkit-transform: translateY(10px); | ||
| 7085 | } | ||
| 7086 | 100% { | ||
| 7087 | opacity: 1; | ||
| 7088 | -webkit-transform: translateY(0); | ||
| 7089 | } | ||
| 7090 | } | ||
| 7091 | @keyframes uk-slide-bottom-fixed { | ||
| 7092 | 0% { | ||
| 7093 | opacity: 0; | ||
| 7094 | transform: translateY(10px); | ||
| 7095 | } | ||
| 7096 | 100% { | ||
| 7097 | opacity: 1; | ||
| 7098 | transform: translateY(0); | ||
| 7099 | } | ||
| 7100 | } | ||
| 7101 | /* ======================================================================== | ||
| 7102 | Component: Dropdown | ||
| 7103 | ========================================================================== */ | ||
| 7104 | /* | ||
| 7105 | * 1. Hide by default | ||
| 7106 | * 2. Set position | ||
| 7107 | * 3. Box-sizing is needed for `uk-dropdown-justify` | ||
| 7108 | * 4. Set width | ||
| 7109 | */ | ||
| 7110 | .uk-dropdown, | ||
| 7111 | .uk-dropdown-blank { | ||
| 7112 | /* 1 */ | ||
| 7113 | display: none; | ||
| 7114 | /* 2 */ | ||
| 7115 | position: absolute; | ||
| 7116 | z-index: 1020; | ||
| 7117 | /* 3 */ | ||
| 7118 | box-sizing: border-box; | ||
| 7119 | /* 4 */ | ||
| 7120 | width: 200px; | ||
| 7121 | } | ||
| 7122 | /* | ||
| 7123 | * Dropdown style | ||
| 7124 | * 1. Reset button group whitespace hack | ||
| 7125 | */ | ||
| 7126 | .uk-dropdown { | ||
| 7127 | padding: 15px; | ||
| 7128 | background: #f5f5f5; | ||
| 7129 | color: #444; | ||
| 7130 | /* 1 */ | ||
| 7131 | font-size: 1rem; | ||
| 7132 | vertical-align: top; | ||
| 7133 | } | ||
| 7134 | /* | ||
| 7135 | * 1. Show dropdown | ||
| 7136 | * 2. Set animation | ||
| 7137 | * 3. Needed for scale animation | ||
| 7138 | */ | ||
| 7139 | .uk-open > .uk-dropdown, | ||
| 7140 | .uk-open > .uk-dropdown-blank { | ||
| 7141 | /* 1 */ | ||
| 7142 | display: block; | ||
| 7143 | /* 2 */ | ||
| 7144 | -webkit-animation: uk-fade 0.2s ease-in-out; | ||
| 7145 | animation: uk-fade 0.2s ease-in-out; | ||
| 7146 | /* 3 */ | ||
| 7147 | -webkit-transform-origin: 0 0; | ||
| 7148 | transform-origin: 0 0; | ||
| 7149 | } | ||
| 7150 | /* Alignment modifiers | ||
| 7151 | ========================================================================== */ | ||
| 7152 | /* | ||
| 7153 | * Modifier | ||
| 7154 | */ | ||
| 7155 | .uk-dropdown-top { | ||
| 7156 | margin-top: -5px; | ||
| 7157 | } | ||
| 7158 | .uk-dropdown-bottom { | ||
| 7159 | margin-top: 5px; | ||
| 7160 | } | ||
| 7161 | .uk-dropdown-left { | ||
| 7162 | margin-left: -5px; | ||
| 7163 | } | ||
| 7164 | .uk-dropdown-right { | ||
| 7165 | margin-left: 5px; | ||
| 7166 | } | ||
| 7167 | /* Nav in dropdown | ||
| 7168 | ========================================================================== */ | ||
| 7169 | .uk-dropdown .uk-nav { | ||
| 7170 | margin: 0 -15px; | ||
| 7171 | } | ||
| 7172 | /* Grid and panel in dropdown | ||
| 7173 | ========================================================================== */ | ||
| 7174 | /* | ||
| 7175 | * Vertical gutter | ||
| 7176 | */ | ||
| 7177 | /* | ||
| 7178 | * Grid | ||
| 7179 | * Higher specificity to override large gutter | ||
| 7180 | */ | ||
| 7181 | .uk-grid .uk-dropdown-grid + .uk-dropdown-grid { | ||
| 7182 | margin-top: 15px; | ||
| 7183 | } | ||
| 7184 | /* Panels */ | ||
| 7185 | .uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { | ||
| 7186 | margin-top: 15px; | ||
| 7187 | } | ||
| 7188 | /* Tablet and bigger */ | ||
| 7189 | @media (min-width: 768px) { | ||
| 7190 | /* | ||
| 7191 | * Horizontal gutter | ||
| 7192 | */ | ||
| 7193 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { | ||
| 7194 | margin-left: -15px; | ||
| 7195 | margin-right: -15px; | ||
| 7196 | } | ||
| 7197 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7198 | padding-left: 15px; | ||
| 7199 | padding-right: 15px; | ||
| 7200 | } | ||
| 7201 | /* | ||
| 7202 | * Column divider | ||
| 7203 | */ | ||
| 7204 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7205 | border-left: 1px solid #ddd; | ||
| 7206 | } | ||
| 7207 | /* | ||
| 7208 | * Width multiplier for dropdown columns | ||
| 7209 | */ | ||
| 7210 | .uk-dropdown-width-2:not(.uk-dropdown-stack) { | ||
| 7211 | width: 400px; | ||
| 7212 | } | ||
| 7213 | .uk-dropdown-width-3:not(.uk-dropdown-stack) { | ||
| 7214 | width: 600px; | ||
| 7215 | } | ||
| 7216 | .uk-dropdown-width-4:not(.uk-dropdown-stack) { | ||
| 7217 | width: 800px; | ||
| 7218 | } | ||
| 7219 | .uk-dropdown-width-5:not(.uk-dropdown-stack) { | ||
| 7220 | width: 1000px; | ||
| 7221 | } | ||
| 7222 | } | ||
| 7223 | /* Phone landscape and smaller */ | ||
| 7224 | @media (max-width: 767px) { | ||
| 7225 | /* | ||
| 7226 | * Stack columns and take full width | ||
| 7227 | */ | ||
| 7228 | .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7229 | width: 100%; | ||
| 7230 | } | ||
| 7231 | /* | ||
| 7232 | * Vertical gutter | ||
| 7233 | */ | ||
| 7234 | .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7235 | margin-top: 15px; | ||
| 7236 | } | ||
| 7237 | } | ||
| 7238 | /* | ||
| 7239 | * Stack grid columns | ||
| 7240 | */ | ||
| 7241 | .uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7242 | width: 100%; | ||
| 7243 | } | ||
| 7244 | .uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7245 | margin-top: 15px; | ||
| 7246 | } | ||
| 7247 | /* Modifier `uk-dropdown-small` | ||
| 7248 | ========================================================================== */ | ||
| 7249 | /* | ||
| 7250 | * Set min-width and text expands dropdown if needed | ||
| 7251 | */ | ||
| 7252 | .uk-dropdown-small { | ||
| 7253 | min-width: 150px; | ||
| 7254 | width: auto; | ||
| 7255 | padding: 5px; | ||
| 7256 | white-space: nowrap; | ||
| 7257 | } | ||
| 7258 | /* | ||
| 7259 | * Nav in dropdown | ||
| 7260 | */ | ||
| 7261 | .uk-dropdown-small .uk-nav { | ||
| 7262 | margin: 0 -5px; | ||
| 7263 | } | ||
| 7264 | /* Modifier: `uk-dropdown-navbar` | ||
| 7265 | ========================================================================== */ | ||
| 7266 | .uk-dropdown-navbar { | ||
| 7267 | margin-top: 0; | ||
| 7268 | background: #f5f5f5; | ||
| 7269 | color: #444; | ||
| 7270 | } | ||
| 7271 | .uk-open > .uk-dropdown-navbar { | ||
| 7272 | -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 7273 | animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 7274 | } | ||
| 7275 | /* Modifier `uk-dropdown-scrollable` | ||
| 7276 | ========================================================================== */ | ||
| 7277 | /* | ||
| 7278 | * Usefull for long lists | ||
| 7279 | */ | ||
| 7280 | .uk-dropdown-scrollable { | ||
| 7281 | overflow-y: auto; | ||
| 7282 | max-height: 200px; | ||
| 7283 | } | ||
| 7284 | /* Sub-object: `uk-dropdown-overlay` | ||
| 7285 | ========================================================================== */ | ||
| 7286 | /* ======================================================================== | ||
| 7287 | Component: Modal | ||
| 7288 | ========================================================================== */ | ||
| 7289 | /* | ||
| 7290 | * This is the modal overlay and modal dialog container | ||
| 7291 | * 1. Hide by default | ||
| 7292 | * 2. Set fixed position | ||
| 7293 | * 3. Allow scrolling for the modal dialog | ||
| 7294 | * 4. Mask the background page | ||
| 7295 | * 5. Fade-in transition | ||
| 7296 | * 6. Deactivate browser history navigation in IE11 | ||
| 7297 | * 7. force hardware acceleration to prevent browser rendering hiccups | ||
| 7298 | */ | ||
| 7299 | .uk-modal { | ||
| 7300 | /* 1 */ | ||
| 7301 | display: none; | ||
| 7302 | /* 2 */ | ||
| 7303 | position: fixed; | ||
| 7304 | top: 0; | ||
| 7305 | right: 0; | ||
| 7306 | bottom: 0; | ||
| 7307 | left: 0; | ||
| 7308 | z-index: 1010; | ||
| 7309 | /* 3 */ | ||
| 7310 | overflow-y: auto; | ||
| 7311 | -webkit-overflow-scrolling: touch; | ||
| 7312 | /* 4 */ | ||
| 7313 | background: rgba(0, 0, 0, 0.6); | ||
| 7314 | /* 5 */ | ||
| 7315 | opacity: 0; | ||
| 7316 | -webkit-transition: opacity 0.15s linear; | ||
| 7317 | transition: opacity 0.15s linear; | ||
| 7318 | /* 6 */ | ||
| 7319 | touch-action: cross-slide-y pinch-zoom double-tap-zoom; | ||
| 7320 | /* 7 */ | ||
| 7321 | -webkit-transform: translateZ(0); | ||
| 7322 | transform: translateZ(0); | ||
| 7323 | } | ||
| 7324 | /* | ||
| 7325 | * Open state | ||
| 7326 | */ | ||
| 7327 | .uk-modal.uk-open { | ||
| 7328 | opacity: 1; | ||
| 7329 | } | ||
| 7330 | /* | ||
| 7331 | * Prevents duplicated scrollbar caused by 4. | ||
| 7332 | */ | ||
| 7333 | .uk-modal-page, | ||
| 7334 | .uk-modal-page body { | ||
| 7335 | overflow: hidden; | ||
| 7336 | } | ||
| 7337 | /* Sub-object: `uk-modal-dialog` | ||
| 7338 | ========================================================================== */ | ||
| 7339 | /* | ||
| 7340 | * 1. Create position context for caption, spinner and close button | ||
| 7341 | * 2. Set box sizing | ||
| 7342 | * 3. Set style | ||
| 7343 | * 4. Slide-in transition | ||
| 7344 | */ | ||
| 7345 | .uk-modal-dialog { | ||
| 7346 | /* 1 */ | ||
| 7347 | position: relative; | ||
| 7348 | /* 2 */ | ||
| 7349 | box-sizing: border-box; | ||
| 7350 | margin: 50px auto; | ||
| 7351 | padding: 20px; | ||
| 7352 | width: 600px; | ||
| 7353 | max-width: 100%; | ||
| 7354 | max-width: calc(100% - 20px); | ||
| 7355 | /* 3 */ | ||
| 7356 | background: #fff; | ||
| 7357 | /* 4 */ | ||
| 7358 | opacity: 0; | ||
| 7359 | -webkit-transform: translateY(-100px); | ||
| 7360 | transform: translateY(-100px); | ||
| 7361 | -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; | ||
| 7362 | transition: opacity 0.3s linear, transform 0.3s ease-out; | ||
| 7363 | } | ||
| 7364 | /* Phone landscape and smaller */ | ||
| 7365 | @media (max-width: 767px) { | ||
| 7366 | /* | ||
| 7367 | * Fit in small screen | ||
| 7368 | */ | ||
| 7369 | .uk-modal-dialog { | ||
| 7370 | width: auto; | ||
| 7371 | margin: 10px auto; | ||
| 7372 | } | ||
| 7373 | } | ||
| 7374 | /* | ||
| 7375 | * Open state | ||
| 7376 | */ | ||
| 7377 | .uk-open .uk-modal-dialog { | ||
| 7378 | /* 4 */ | ||
| 7379 | opacity: 1; | ||
| 7380 | -webkit-transform: translateY(0); | ||
| 7381 | transform: translateY(0); | ||
| 7382 | } | ||
| 7383 | /* | ||
| 7384 | * Remove margin from the last-child | ||
| 7385 | */ | ||
| 7386 | .uk-modal-dialog > :not([class*='uk-modal-']):last-child { | ||
| 7387 | margin-bottom: 0; | ||
| 7388 | } | ||
| 7389 | /* Close in modal | ||
| 7390 | ========================================================================== */ | ||
| 7391 | .uk-modal-dialog > .uk-close:first-child { | ||
| 7392 | margin: -10px -10px 0 0; | ||
| 7393 | float: right; | ||
| 7394 | } | ||
| 7395 | /* | ||
| 7396 | * Remove margin from adjacent element | ||
| 7397 | */ | ||
| 7398 | .uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { | ||
| 7399 | margin-top: 0; | ||
| 7400 | } | ||
| 7401 | /* Modifier: `uk-modal-dialog-lightbox` | ||
| 7402 | ========================================================================== */ | ||
| 7403 | .uk-modal-dialog-lightbox { | ||
| 7404 | margin: 15px auto; | ||
| 7405 | padding: 0; | ||
| 7406 | max-width: 95%; | ||
| 7407 | max-width: calc(100% - 30px); | ||
| 7408 | min-height: 50px; | ||
| 7409 | } | ||
| 7410 | /* | ||
| 7411 | * Close button | ||
| 7412 | */ | ||
| 7413 | .uk-modal-dialog-lightbox > .uk-close:first-child { | ||
| 7414 | position: absolute; | ||
| 7415 | top: -12px; | ||
| 7416 | right: -12px; | ||
| 7417 | margin: 0; | ||
| 7418 | float: none; | ||
| 7419 | } | ||
| 7420 | /* Phone landscape and smaller */ | ||
| 7421 | @media (max-width: 767px) { | ||
| 7422 | .uk-modal-dialog-lightbox > .uk-close:first-child { | ||
| 7423 | top: -7px; | ||
| 7424 | right: -7px; | ||
| 7425 | } | ||
| 7426 | } | ||
| 7427 | /* Modifier: `uk-modal-dialog-blank` | ||
| 7428 | ========================================================================== */ | ||
| 7429 | .uk-modal-dialog-blank { | ||
| 7430 | margin: 0; | ||
| 7431 | padding: 0; | ||
| 7432 | width: 100%; | ||
| 7433 | max-width: 100%; | ||
| 7434 | -webkit-transition: opacity 0.3s linear; | ||
| 7435 | transition: opacity 0.3s linear; | ||
| 7436 | } | ||
| 7437 | /* | ||
| 7438 | * Close button | ||
| 7439 | */ | ||
| 7440 | .uk-modal-dialog-blank > .uk-close:first-child { | ||
| 7441 | position: absolute; | ||
| 7442 | top: 20px; | ||
| 7443 | right: 20px; | ||
| 7444 | z-index: 1; | ||
| 7445 | margin: 0; | ||
| 7446 | float: none; | ||
| 7447 | } | ||
| 7448 | /* Modifier: `uk-modal-dialog-large` | ||
| 7449 | ========================================================================== */ | ||
| 7450 | /* Tablet and bigger */ | ||
| 7451 | @media (min-width: 768px) { | ||
| 7452 | .uk-modal-dialog-large { | ||
| 7453 | width: 930px; | ||
| 7454 | } | ||
| 7455 | } | ||
| 7456 | /* Large screen and bigger */ | ||
| 7457 | @media (min-width: 1220px) { | ||
| 7458 | .uk-modal-dialog-large { | ||
| 7459 | width: 1130px; | ||
| 7460 | } | ||
| 7461 | } | ||
| 7462 | /* Sub-Object: `uk-modal-header` and `uk-modal-footer` | ||
| 7463 | ========================================================================== */ | ||
| 7464 | .uk-modal-header { | ||
| 7465 | margin-bottom: 15px; | ||
| 7466 | } | ||
| 7467 | .uk-modal-footer { | ||
| 7468 | margin-top: 15px; | ||
| 7469 | } | ||
| 7470 | /* | ||
| 7471 | * Remove margin from the last-child | ||
| 7472 | */ | ||
| 7473 | .uk-modal-header > :last-child, | ||
| 7474 | .uk-modal-footer > :last-child { | ||
| 7475 | margin-bottom: 0; | ||
| 7476 | } | ||
| 7477 | /* Sub-Object: `uk-modal-caption` | ||
| 7478 | ========================================================================== */ | ||
| 7479 | .uk-modal-caption { | ||
| 7480 | position: absolute; | ||
| 7481 | left: 0; | ||
| 7482 | right: 0; | ||
| 7483 | bottom: -20px; | ||
| 7484 | margin-bottom: -10px; | ||
| 7485 | color: #fff; | ||
| 7486 | text-align: center; | ||
| 7487 | overflow: hidden; | ||
| 7488 | text-overflow: ellipsis; | ||
| 7489 | white-space: nowrap; | ||
| 7490 | } | ||
| 7491 | /* Sub-Object: `uk-modal-spinner` | ||
| 7492 | ========================================================================== */ | ||
| 7493 | .uk-modal-spinner { | ||
| 7494 | position: absolute; | ||
| 7495 | top: 50%; | ||
| 7496 | left: 50%; | ||
| 7497 | -webkit-transform: translate(-50%, -50%); | ||
| 7498 | transform: translate(-50%, -50%); | ||
| 7499 | font-size: 25px; | ||
| 7500 | color: #ddd; | ||
| 7501 | } | ||
| 7502 | .uk-modal-spinner:after { | ||
| 7503 | content: "\f110"; | ||
| 7504 | display: block; | ||
| 7505 | font-family: FontAwesome; | ||
| 7506 | -webkit-animation: uk-rotate 2s infinite linear; | ||
| 7507 | animation: uk-rotate 2s infinite linear; | ||
| 7508 | } | ||
| 7509 | /* ======================================================================== | ||
| 7510 | Component: Off-canvas | ||
| 7511 | ========================================================================== */ | ||
| 7512 | /* | ||
| 7513 | * This is the offcanvas overlay and bar container | ||
| 7514 | * 1. Hide by default | ||
| 7515 | * 2. Set fixed position | ||
| 7516 | * 3. Deactivate browser touch actions in IE11 | ||
| 7517 | * 4. Mask the background page | ||
| 7518 | */ | ||
| 7519 | .uk-offcanvas { | ||
| 7520 | /* 1 */ | ||
| 7521 | display: none; | ||
| 7522 | /* 2 */ | ||
| 7523 | position: fixed; | ||
| 7524 | top: 0; | ||
| 7525 | right: 0; | ||
| 7526 | bottom: 0; | ||
| 7527 | left: 0; | ||
| 7528 | z-index: 1000; | ||
| 7529 | /* 3 */ | ||
| 7530 | touch-action: none; | ||
| 7531 | /* 4 */ | ||
| 7532 | background: rgba(0, 0, 0, 0.1); | ||
| 7533 | } | ||
| 7534 | .uk-offcanvas.uk-active { | ||
| 7535 | display: block; | ||
| 7536 | } | ||
| 7537 | /* Sub-object `uk-offcanvas-page` | ||
| 7538 | ========================================================================== */ | ||
| 7539 | /* | ||
| 7540 | * Prepares the whole HTML page to slide-out | ||
| 7541 | * 1. Fix the main page and disallow scrolling | ||
| 7542 | * 2. Side-out transition | ||
| 7543 | */ | ||
| 7544 | .uk-offcanvas-page { | ||
| 7545 | /* 1 */ | ||
| 7546 | position: fixed; | ||
| 7547 | /* 2 */ | ||
| 7548 | -webkit-transition: margin-left 0.3s ease-in-out; | ||
| 7549 | transition: margin-left 0.3s ease-in-out; | ||
| 7550 | } | ||
| 7551 | /* Sub-object `uk-offcanvas-bar` | ||
| 7552 | ========================================================================== */ | ||
| 7553 | /* | ||
| 7554 | * This is the offcanvas bar | ||
| 7555 | * 1. Set fixed position | ||
| 7556 | * 2. Size and style | ||
| 7557 | * 3. Allow scrolling | ||
| 7558 | * 4. Side-out transition | ||
| 7559 | * 5. Deactivate scroll chaining in IE11 | ||
| 7560 | */ | ||
| 7561 | .uk-offcanvas-bar { | ||
| 7562 | /* 1 */ | ||
| 7563 | position: fixed; | ||
| 7564 | top: 0; | ||
| 7565 | bottom: 0; | ||
| 7566 | left: 0; | ||
| 7567 | -webkit-transform: translateX(-100%); | ||
| 7568 | transform: translateX(-100%); | ||
| 7569 | z-index: 1001; | ||
| 7570 | /* 2 */ | ||
| 7571 | width: 270px; | ||
| 7572 | max-width: 100%; | ||
| 7573 | background: #333; | ||
| 7574 | /* 3 */ | ||
| 7575 | overflow-y: auto; | ||
| 7576 | -webkit-overflow-scrolling: touch; | ||
| 7577 | /* 4 */ | ||
| 7578 | -webkit-transition: -webkit-transform 0.3s ease-in-out; | ||
| 7579 | transition: transform 0.3s ease-in-out; | ||
| 7580 | /* 5 */ | ||
| 7581 | -ms-scroll-chaining: none; | ||
| 7582 | } | ||
| 7583 | .uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { | ||
| 7584 | -webkit-transform: translateX(0%); | ||
| 7585 | transform: translateX(0%); | ||
| 7586 | } | ||
| 7587 | /* Modifier `uk-offcanvas-bar-flip` | ||
| 7588 | ========================================================================== */ | ||
| 7589 | .uk-offcanvas-bar-flip { | ||
| 7590 | left: auto; | ||
| 7591 | right: 0; | ||
| 7592 | -webkit-transform: translateX(100%); | ||
| 7593 | transform: translateX(100%); | ||
| 7594 | } | ||
| 7595 | /* Panel in offcanvas | ||
| 7596 | ========================================================================== */ | ||
| 7597 | .uk-offcanvas .uk-panel { | ||
| 7598 | margin: 20px 15px; | ||
| 7599 | color: #777; | ||
| 7600 | } | ||
| 7601 | .uk-offcanvas .uk-panel-title { | ||
| 7602 | color: #ccc; | ||
| 7603 | } | ||
| 7604 | .uk-offcanvas .uk-panel a:not([class]) { | ||
| 7605 | color: #ccc; | ||
| 7606 | } | ||
| 7607 | .uk-offcanvas .uk-panel a:not([class]):hover { | ||
| 7608 | color: #fff; | ||
| 7609 | } | ||
| 7610 | /* ======================================================================== | ||
| 7611 | Component: Switcher | ||
| 7612 | ========================================================================== */ | ||
| 7613 | /* | ||
| 7614 | * 1. Deactivate browser history navigation in IE11 | ||
| 7615 | */ | ||
| 7616 | .uk-switcher { | ||
| 7617 | margin: 0; | ||
| 7618 | padding: 0; | ||
| 7619 | list-style: none; | ||
| 7620 | /* 1 */ | ||
| 7621 | touch-action: cross-slide-y pinch-zoom double-tap-zoom; | ||
| 7622 | } | ||
| 7623 | /* | ||
| 7624 | * Items | ||
| 7625 | */ | ||
| 7626 | .uk-switcher > :not(.uk-active) { | ||
| 7627 | display: none; | ||
| 7628 | } | ||
| 7629 | /* ======================================================================== | ||
| 7630 | Component: Text | ||
| 7631 | ========================================================================== */ | ||
| 7632 | /* Size modifiers | ||
| 7633 | ========================================================================== */ | ||
| 7634 | .uk-text-small { | ||
| 7635 | font-size: 11px; | ||
| 7636 | line-height: 16px; | ||
| 7637 | } | ||
| 7638 | .uk-text-large { | ||
| 7639 | font-size: 18px; | ||
| 7640 | line-height: 24px; | ||
| 7641 | font-weight: normal; | ||
| 7642 | } | ||
| 7643 | /* Weight modifiers | ||
| 7644 | ========================================================================== */ | ||
| 7645 | .uk-text-bold { | ||
| 7646 | font-weight: bold; | ||
| 7647 | } | ||
| 7648 | /* Color modifiers | ||
| 7649 | ========================================================================== */ | ||
| 7650 | .uk-text-muted { | ||
| 7651 | color: #999 !important; | ||
| 7652 | } | ||
| 7653 | .uk-text-primary { | ||
| 7654 | color: #2d7091 !important; | ||
| 7655 | } | ||
| 7656 | .uk-text-success { | ||
| 7657 | color: #659f13 !important; | ||
| 7658 | } | ||
| 7659 | .uk-text-warning { | ||
| 7660 | color: #e28327 !important; | ||
| 7661 | } | ||
| 7662 | .uk-text-danger { | ||
| 7663 | color: #d85030 !important; | ||
| 7664 | } | ||
| 7665 | .uk-text-contrast { | ||
| 7666 | color: #fff !important; | ||
| 7667 | } | ||
| 7668 | /* Alignment modifiers | ||
| 7669 | ========================================================================== */ | ||
| 7670 | .uk-text-left { | ||
| 7671 | text-align: left !important; | ||
| 7672 | } | ||
| 7673 | .uk-text-right { | ||
| 7674 | text-align: right !important; | ||
| 7675 | } | ||
| 7676 | .uk-text-center { | ||
| 7677 | text-align: center !important; | ||
| 7678 | } | ||
| 7679 | .uk-text-justify { | ||
| 7680 | text-align: justify !important; | ||
| 7681 | } | ||
| 7682 | .uk-text-top { | ||
| 7683 | vertical-align: top !important; | ||
| 7684 | } | ||
| 7685 | .uk-text-middle { | ||
| 7686 | vertical-align: middle !important; | ||
| 7687 | } | ||
| 7688 | .uk-text-bottom { | ||
| 7689 | vertical-align: bottom !important; | ||
| 7690 | } | ||
| 7691 | /* Only tablets portrait and smaller */ | ||
| 7692 | @media (max-width: 959px) { | ||
| 7693 | .uk-text-center-medium { | ||
| 7694 | text-align: center !important; | ||
| 7695 | } | ||
| 7696 | .uk-text-left-medium { | ||
| 7697 | text-align: left !important; | ||
| 7698 | } | ||
| 7699 | } | ||
| 7700 | /* Phone landscape and smaller */ | ||
| 7701 | @media (max-width: 767px) { | ||
| 7702 | .uk-text-center-small { | ||
| 7703 | text-align: center !important; | ||
| 7704 | } | ||
| 7705 | .uk-text-left-small { | ||
| 7706 | text-align: left !important; | ||
| 7707 | } | ||
| 7708 | } | ||
| 7709 | /* Wrap modifiers | ||
| 7710 | ========================================================================== */ | ||
| 7711 | /* | ||
| 7712 | * Prevent text from wrapping onto multiple lines | ||
| 7713 | */ | ||
| 7714 | .uk-text-nowrap { | ||
| 7715 | white-space: nowrap; | ||
| 7716 | } | ||
| 7717 | /* | ||
| 7718 | * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis | ||
| 7719 | */ | ||
| 7720 | .uk-text-truncate { | ||
| 7721 | overflow: hidden; | ||
| 7722 | text-overflow: ellipsis; | ||
| 7723 | white-space: nowrap; | ||
| 7724 | } | ||
| 7725 | /* | ||
| 7726 | * Break strings if their length exceeds the width of their container | ||
| 7727 | */ | ||
| 7728 | .uk-text-break { | ||
| 7729 | word-wrap: break-word; | ||
| 7730 | -webkit-hyphens: auto; | ||
| 7731 | -ms-hyphens: auto; | ||
| 7732 | -moz-hyphens: auto; | ||
| 7733 | hyphens: auto; | ||
| 7734 | } | ||
| 7735 | /* ======================================================================== | ||
| 7736 | Component: Utility | ||
| 7737 | ========================================================================== */ | ||
| 7738 | /* Container | ||
| 7739 | ========================================================================== */ | ||
| 7740 | .uk-container { | ||
| 7741 | box-sizing: border-box; | ||
| 7742 | max-width: 980px; | ||
| 7743 | padding: 0 25px; | ||
| 7744 | } | ||
| 7745 | /* Large screen and bigger */ | ||
| 7746 | @media (min-width: 1220px) { | ||
| 7747 | .uk-container { | ||
| 7748 | max-width: 1200px; | ||
| 7749 | padding: 0 35px; | ||
| 7750 | } | ||
| 7751 | } | ||
| 7752 | /* | ||
| 7753 | * Micro clearfix | ||
| 7754 | */ | ||
| 7755 | .uk-container:before, | ||
| 7756 | .uk-container:after { | ||
| 7757 | content: ""; | ||
| 7758 | display: table; | ||
| 7759 | } | ||
| 7760 | .uk-container:after { | ||
| 7761 | clear: both; | ||
| 7762 | } | ||
| 7763 | /* | ||
| 7764 | * Center container | ||
| 7765 | */ | ||
| 7766 | .uk-container-center { | ||
| 7767 | margin-left: auto; | ||
| 7768 | margin-right: auto; | ||
| 7769 | } | ||
| 7770 | /* Clearing | ||
| 7771 | ========================================================================== */ | ||
| 7772 | /* | ||
| 7773 | * Micro clearfix | ||
| 7774 | * `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit | ||
| 7775 | * `table` is used again with `:after` because `clear` only works with block elements. | ||
| 7776 | * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari | ||
| 7777 | */ | ||
| 7778 | .uk-clearfix:before { | ||
| 7779 | content: ""; | ||
| 7780 | display: table-cell; | ||
| 7781 | } | ||
| 7782 | .uk-clearfix:after { | ||
| 7783 | content: ""; | ||
| 7784 | display: table; | ||
| 7785 | clear: both; | ||
| 7786 | } | ||
| 7787 | /* | ||
| 7788 | * Create a new block formatting context | ||
| 7789 | */ | ||
| 7790 | .uk-nbfc { | ||
| 7791 | overflow: hidden; | ||
| 7792 | } | ||
| 7793 | .uk-nbfc-alt { | ||
| 7794 | display: table-cell; | ||
| 7795 | width: 10000px; | ||
| 7796 | } | ||
| 7797 | /* Alignment of block elements | ||
| 7798 | ========================================================================== */ | ||
| 7799 | /* | ||
| 7800 | * Float blocks | ||
| 7801 | * 1. Prevent content overflow on small devices | ||
| 7802 | */ | ||
| 7803 | .uk-float-left { | ||
| 7804 | float: left; | ||
| 7805 | } | ||
| 7806 | .uk-float-right { | ||
| 7807 | float: right; | ||
| 7808 | } | ||
| 7809 | /* 1 */ | ||
| 7810 | [class*='uk-float-'] { | ||
| 7811 | max-width: 100%; | ||
| 7812 | } | ||
| 7813 | /* Alignment of images and objects | ||
| 7814 | ========================================================================== */ | ||
| 7815 | /* | ||
| 7816 | * Alignment | ||
| 7817 | */ | ||
| 7818 | [class*='uk-align-'] { | ||
| 7819 | display: block; | ||
| 7820 | margin-bottom: 15px; | ||
| 7821 | } | ||
| 7822 | .uk-align-left { | ||
| 7823 | margin-right: 15px; | ||
| 7824 | float: left; | ||
| 7825 | } | ||
| 7826 | .uk-align-right { | ||
| 7827 | margin-left: 15px; | ||
| 7828 | float: right; | ||
| 7829 | } | ||
| 7830 | /* Tablet and bigger */ | ||
| 7831 | @media (min-width: 768px) { | ||
| 7832 | .uk-align-medium-left { | ||
| 7833 | margin-right: 15px; | ||
| 7834 | float: left; | ||
| 7835 | } | ||
| 7836 | .uk-align-medium-right { | ||
| 7837 | margin-left: 15px; | ||
| 7838 | float: right; | ||
| 7839 | } | ||
| 7840 | } | ||
| 7841 | .uk-align-center { | ||
| 7842 | margin-left: auto; | ||
| 7843 | margin-right: auto; | ||
| 7844 | } | ||
| 7845 | /* Vertical alignment | ||
| 7846 | ========================================================================== */ | ||
| 7847 | /* | ||
| 7848 | * Remove whitespace between child elements when using `inline-block` | ||
| 7849 | */ | ||
| 7850 | .uk-vertical-align { | ||
| 7851 | font-size: 0.001px; | ||
| 7852 | } | ||
| 7853 | /* | ||
| 7854 | * The `uk-vertical-align` container needs a specific height | ||
| 7855 | */ | ||
| 7856 | .uk-vertical-align:before { | ||
| 7857 | content: ''; | ||
| 7858 | display: inline-block; | ||
| 7859 | height: 100%; | ||
| 7860 | vertical-align: middle; | ||
| 7861 | } | ||
| 7862 | /* | ||
| 7863 | * Sub-object which can have any height | ||
| 7864 | * 1. Reset whitespace hack | ||
| 7865 | */ | ||
| 7866 | .uk-vertical-align-middle, | ||
| 7867 | .uk-vertical-align-bottom { | ||
| 7868 | display: inline-block; | ||
| 7869 | max-width: 100%; | ||
| 7870 | /* 1 */ | ||
| 7871 | font-size: 1rem; | ||
| 7872 | } | ||
| 7873 | .uk-vertical-align-middle { | ||
| 7874 | vertical-align: middle; | ||
| 7875 | } | ||
| 7876 | .uk-vertical-align-bottom { | ||
| 7877 | vertical-align: bottom; | ||
| 7878 | } | ||
| 7879 | /* Height | ||
| 7880 | ========================================================================== */ | ||
| 7881 | /* | ||
| 7882 | * More robust if padding and border are used | ||
| 7883 | */ | ||
| 7884 | [class*='uk-height'] { | ||
| 7885 | box-sizing: border-box; | ||
| 7886 | } | ||
| 7887 | /* | ||
| 7888 | * Useful to extend the `html` and `body` element to the full height of the page. | ||
| 7889 | */ | ||
| 7890 | .uk-height-1-1 { | ||
| 7891 | height: 100%; | ||
| 7892 | } | ||
| 7893 | /* | ||
| 7894 | * Useful to create image teasers | ||
| 7895 | */ | ||
| 7896 | .uk-height-viewport { | ||
| 7897 | height: 100vh; | ||
| 7898 | min-height: 600px; | ||
| 7899 | } | ||
| 7900 | /* Responsive objects | ||
| 7901 | * Note: Images are already responsive by default, see Base component | ||
| 7902 | ========================================================================== */ | ||
| 7903 | /* | ||
| 7904 | * 1. Corrects `max-width` and `max-height` behavior if padding and border are used | ||
| 7905 | */ | ||
| 7906 | .uk-responsive-width, | ||
| 7907 | .uk-responsive-height { | ||
| 7908 | box-sizing: border-box; | ||
| 7909 | } | ||
| 7910 | /* | ||
| 7911 | * Responsiveness: Sets a maximum width relative to the parent and auto scales the height | ||
| 7912 | * `important` needed to override `uk-img-preserve img` | ||
| 7913 | */ | ||
| 7914 | .uk-responsive-width { | ||
| 7915 | max-width: 100% !important; | ||
| 7916 | height: auto; | ||
| 7917 | } | ||
| 7918 | /* | ||
| 7919 | * Responsiveness: Sets a maximum height relative to the parent and auto scales the width | ||
| 7920 | * Only works if the parent element has a fixed height. | ||
| 7921 | */ | ||
| 7922 | .uk-responsive-height { | ||
| 7923 | max-height: 100%; | ||
| 7924 | width: auto; | ||
| 7925 | } | ||
| 7926 | /* Margin | ||
| 7927 | ========================================================================== */ | ||
| 7928 | /* | ||
| 7929 | * Create a block with the same margin of a paragraph | ||
| 7930 | * Add margin if adjacent element | ||
| 7931 | */ | ||
| 7932 | .uk-margin { | ||
| 7933 | margin-bottom: 15px; | ||
| 7934 | } | ||
| 7935 | * + .uk-margin { | ||
| 7936 | margin-top: 15px; | ||
| 7937 | } | ||
| 7938 | .uk-margin-top { | ||
| 7939 | margin-top: 15px !important; | ||
| 7940 | } | ||
| 7941 | .uk-margin-bottom { | ||
| 7942 | margin-bottom: 15px !important; | ||
| 7943 | } | ||
| 7944 | .uk-margin-left { | ||
| 7945 | margin-left: 15px !important; | ||
| 7946 | } | ||
| 7947 | .uk-margin-right { | ||
| 7948 | margin-right: 15px !important; | ||
| 7949 | } | ||
| 7950 | /* | ||
| 7951 | * Larger margins | ||
| 7952 | */ | ||
| 7953 | .uk-margin-large { | ||
| 7954 | margin-bottom: 50px; | ||
| 7955 | } | ||
| 7956 | * + .uk-margin-large { | ||
| 7957 | margin-top: 50px; | ||
| 7958 | } | ||
| 7959 | .uk-margin-large-top { | ||
| 7960 | margin-top: 50px !important; | ||
| 7961 | } | ||
| 7962 | .uk-margin-large-bottom { | ||
| 7963 | margin-bottom: 50px !important; | ||
| 7964 | } | ||
| 7965 | .uk-margin-large-left { | ||
| 7966 | margin-left: 50px !important; | ||
| 7967 | } | ||
| 7968 | .uk-margin-large-right { | ||
| 7969 | margin-right: 50px !important; | ||
| 7970 | } | ||
| 7971 | /* | ||
| 7972 | * Smaller margins | ||
| 7973 | */ | ||
| 7974 | .uk-margin-small { | ||
| 7975 | margin-bottom: 5px; | ||
| 7976 | } | ||
| 7977 | * + .uk-margin-small { | ||
| 7978 | margin-top: 5px; | ||
| 7979 | } | ||
| 7980 | .uk-margin-small-top { | ||
| 7981 | margin-top: 5px !important; | ||
| 7982 | } | ||
| 7983 | .uk-margin-small-bottom { | ||
| 7984 | margin-bottom: 5px !important; | ||
| 7985 | } | ||
| 7986 | .uk-margin-small-left { | ||
| 7987 | margin-left: 5px !important; | ||
| 7988 | } | ||
| 7989 | .uk-margin-small-right { | ||
| 7990 | margin-right: 5px !important; | ||
| 7991 | } | ||
| 7992 | /* | ||
| 7993 | * Remove margins | ||
| 7994 | */ | ||
| 7995 | .uk-margin-remove { | ||
| 7996 | margin: 0 !important; | ||
| 7997 | } | ||
| 7998 | .uk-margin-top-remove { | ||
| 7999 | margin-top: 0 !important; | ||
| 8000 | } | ||
| 8001 | .uk-margin-bottom-remove { | ||
| 8002 | margin-bottom: 0 !important; | ||
| 8003 | } | ||
| 8004 | /* Padding | ||
| 8005 | ========================================================================== */ | ||
| 8006 | .uk-padding-remove { | ||
| 8007 | padding: 0 !important; | ||
| 8008 | } | ||
| 8009 | .uk-padding-top-remove { | ||
| 8010 | padding-top: 0 !important; | ||
| 8011 | } | ||
| 8012 | .uk-padding-bottom-remove { | ||
| 8013 | padding-bottom: 0 !important; | ||
| 8014 | } | ||
| 8015 | .uk-padding-vertical-remove { | ||
| 8016 | padding-top: 0 !important; | ||
| 8017 | padding-bottom: 0 !important; | ||
| 8018 | } | ||
| 8019 | /* Border | ||
| 8020 | ========================================================================== */ | ||
| 8021 | .uk-border-circle { | ||
| 8022 | border-radius: 50%; | ||
| 8023 | } | ||
| 8024 | .uk-border-rounded { | ||
| 8025 | border-radius: 5px; | ||
| 8026 | } | ||
| 8027 | /* Headings | ||
| 8028 | ========================================================================== */ | ||
| 8029 | .uk-heading-large { | ||
| 8030 | font-size: 36px; | ||
| 8031 | line-height: 42px; | ||
| 8032 | } | ||
| 8033 | /* Tablet and bigger */ | ||
| 8034 | @media (min-width: 768px) { | ||
| 8035 | .uk-heading-large { | ||
| 8036 | font-size: 52px; | ||
| 8037 | line-height: 64px; | ||
| 8038 | } | ||
| 8039 | } | ||
| 8040 | /* Link | ||
| 8041 | ========================================================================== */ | ||
| 8042 | /* | ||
| 8043 | * Let links appear in default text color | ||
| 8044 | */ | ||
| 8045 | .uk-link-muted, | ||
| 8046 | .uk-link-muted a { | ||
| 8047 | color: #444; | ||
| 8048 | } | ||
| 8049 | .uk-link-muted:hover, | ||
| 8050 | .uk-link-muted a:hover { | ||
| 8051 | color: #444; | ||
| 8052 | } | ||
| 8053 | /* | ||
| 8054 | * Reset link style | ||
| 8055 | */ | ||
| 8056 | .uk-link-reset, | ||
| 8057 | .uk-link-reset a, | ||
| 8058 | .uk-link-reset:hover, | ||
| 8059 | .uk-link-reset a:hover, | ||
| 8060 | .uk-link-reset:focus, | ||
| 8061 | .uk-link-reset a:focus { | ||
| 8062 | color: inherit; | ||
| 8063 | text-decoration: none; | ||
| 8064 | } | ||
| 8065 | /* Scrollable | ||
| 8066 | ========================================================================== */ | ||
| 8067 | /* | ||
| 8068 | * Enable scrolling for preformatted text | ||
| 8069 | */ | ||
| 8070 | .uk-scrollable-text { | ||
| 8071 | height: 300px; | ||
| 8072 | overflow-y: scroll; | ||
| 8073 | -webkit-overflow-scrolling: touch; | ||
| 8074 | resize: both; | ||
| 8075 | } | ||
| 8076 | /* | ||
| 8077 | * Box with scrolling enabled | ||
| 8078 | */ | ||
| 8079 | .uk-scrollable-box { | ||
| 8080 | box-sizing: border-box; | ||
| 8081 | height: 170px; | ||
| 8082 | padding: 10px; | ||
| 8083 | border: 1px solid #ddd; | ||
| 8084 | overflow: auto; | ||
| 8085 | -webkit-overflow-scrolling: touch; | ||
| 8086 | resize: both; | ||
| 8087 | } | ||
| 8088 | .uk-scrollable-box > :last-child { | ||
| 8089 | margin-bottom: 0; | ||
| 8090 | } | ||
| 8091 | /* Overflow | ||
| 8092 | ========================================================================== */ | ||
| 8093 | .uk-overflow-hidden { | ||
| 8094 | overflow: hidden; | ||
| 8095 | } | ||
| 8096 | /* | ||
| 8097 | * Enable scrollbars if content is clipped | ||
| 8098 | */ | ||
| 8099 | .uk-overflow-container { | ||
| 8100 | overflow: auto; | ||
| 8101 | -webkit-overflow-scrolling: touch; | ||
| 8102 | } | ||
| 8103 | .uk-overflow-container > :last-child { | ||
| 8104 | margin-bottom: 0; | ||
| 8105 | } | ||
| 8106 | /* Position | ||
| 8107 | ========================================================================== */ | ||
| 8108 | .uk-position-absolute, | ||
| 8109 | [class*='uk-position-top'], | ||
| 8110 | [class*='uk-position-bottom'] { | ||
| 8111 | position: absolute !important; | ||
| 8112 | } | ||
| 8113 | /* Don't use `width: 100%` because it is wrong if the parent has padding. */ | ||
| 8114 | .uk-position-top { | ||
| 8115 | top: 0; | ||
| 8116 | left: 0; | ||
| 8117 | right: 0; | ||
| 8118 | } | ||
| 8119 | .uk-position-bottom { | ||
| 8120 | bottom: 0; | ||
| 8121 | left: 0; | ||
| 8122 | right: 0; | ||
| 8123 | } | ||
| 8124 | .uk-position-top-left { | ||
| 8125 | top: 0; | ||
| 8126 | left: 0; | ||
| 8127 | } | ||
| 8128 | .uk-position-top-right { | ||
| 8129 | top: 0; | ||
| 8130 | right: 0; | ||
| 8131 | } | ||
| 8132 | .uk-position-bottom-left { | ||
| 8133 | bottom: 0; | ||
| 8134 | left: 0; | ||
| 8135 | } | ||
| 8136 | .uk-position-bottom-right { | ||
| 8137 | bottom: 0; | ||
| 8138 | right: 0; | ||
| 8139 | } | ||
| 8140 | /* | ||
| 8141 | * Cover | ||
| 8142 | */ | ||
| 8143 | .uk-position-cover { | ||
| 8144 | position: absolute; | ||
| 8145 | top: 0; | ||
| 8146 | bottom: 0; | ||
| 8147 | left: 0; | ||
| 8148 | right: 0; | ||
| 8149 | } | ||
| 8150 | /* | ||
| 8151 | * Relative | ||
| 8152 | */ | ||
| 8153 | .uk-position-relative { | ||
| 8154 | position: relative !important; | ||
| 8155 | } | ||
| 8156 | /* | ||
| 8157 | * Z-index | ||
| 8158 | */ | ||
| 8159 | .uk-position-z-index { | ||
| 8160 | z-index: 1; | ||
| 8161 | } | ||
| 8162 | /* Display | ||
| 8163 | ========================================================================== */ | ||
| 8164 | /* | ||
| 8165 | * Display | ||
| 8166 | * 1. Required if child is a responsive image | ||
| 8167 | */ | ||
| 8168 | .uk-display-block { | ||
| 8169 | display: block !important; | ||
| 8170 | } | ||
| 8171 | .uk-display-inline { | ||
| 8172 | display: inline !important; | ||
| 8173 | } | ||
| 8174 | .uk-display-inline-block { | ||
| 8175 | display: inline-block !important; | ||
| 8176 | /* 1 */ | ||
| 8177 | max-width: 100%; | ||
| 8178 | } | ||
| 8179 | /* | ||
| 8180 | * Visibility | ||
| 8181 | * Avoids setting display to `block` so it works also with `inline-block` and `table` | ||
| 8182 | */ | ||
| 8183 | /* Desktop and bigger */ | ||
| 8184 | @media (min-width: 960px) { | ||
| 8185 | .uk-visible-small { | ||
| 8186 | display: none !important; | ||
| 8187 | } | ||
| 8188 | .uk-visible-medium { | ||
| 8189 | display: none !important; | ||
| 8190 | } | ||
| 8191 | .uk-hidden-large { | ||
| 8192 | display: none !important; | ||
| 8193 | } | ||
| 8194 | } | ||
| 8195 | /* Tablets portrait */ | ||
| 8196 | @media (min-width: 768px) and (max-width: 959px) { | ||
| 8197 | .uk-visible-small { | ||
| 8198 | display: none !important; | ||
| 8199 | } | ||
| 8200 | .uk-visible-large { | ||
| 8201 | display: none !important ; | ||
| 8202 | } | ||
| 8203 | .uk-hidden-medium { | ||
| 8204 | display: none !important; | ||
| 8205 | } | ||
| 8206 | } | ||
| 8207 | /* Phone landscape and smaller*/ | ||
| 8208 | @media (max-width: 767px) { | ||
| 8209 | .uk-visible-medium { | ||
| 8210 | display: none !important; | ||
| 8211 | } | ||
| 8212 | .uk-visible-large { | ||
| 8213 | display: none !important; | ||
| 8214 | } | ||
| 8215 | .uk-hidden-small { | ||
| 8216 | display: none !important; | ||
| 8217 | } | ||
| 8218 | } | ||
| 8219 | /* Remove from the flow and screen readers on any device */ | ||
| 8220 | .uk-hidden { | ||
| 8221 | display: none !important; | ||
| 8222 | visibility: hidden !important; | ||
| 8223 | } | ||
| 8224 | /* It's hidden, but still affects layout */ | ||
| 8225 | .uk-invisible { | ||
| 8226 | visibility: hidden !important; | ||
| 8227 | } | ||
| 8228 | /* Show on hover */ | ||
| 8229 | .uk-visible-hover:hover .uk-hidden, | ||
| 8230 | .uk-visible-hover:hover .uk-invisible { | ||
| 8231 | display: block !important; | ||
| 8232 | visibility: visible !important; | ||
| 8233 | } | ||
| 8234 | .uk-visible-hover-inline:hover .uk-hidden, | ||
| 8235 | .uk-visible-hover-inline:hover .uk-invisible { | ||
| 8236 | display: inline-block !important; | ||
| 8237 | visibility: visible !important; | ||
| 8238 | } | ||
| 8239 | /* Hide on touch */ | ||
| 8240 | .uk-touch .uk-hidden-touch, | ||
| 8241 | .uk-notouch .uk-hidden-notouch { | ||
| 8242 | display: none !important; | ||
| 8243 | } | ||
| 8244 | /* ======================================================================== | ||
| 8245 | Component: Flex | ||
| 8246 | ========================================================================== */ | ||
| 8247 | .uk-flex { | ||
| 8248 | display: -ms-flexbox; | ||
| 8249 | display: -webkit-flex; | ||
| 8250 | display: flex; | ||
| 8251 | } | ||
| 8252 | .uk-flex-inline { | ||
| 8253 | display: -ms-inline-flexbox; | ||
| 8254 | display: -webkit-inline-flex; | ||
| 8255 | display: inline-flex; | ||
| 8256 | } | ||
| 8257 | /* | ||
| 8258 | * Fixes initial flex-shrink value in IE10 | ||
| 8259 | */ | ||
| 8260 | .uk-flex > *, | ||
| 8261 | .uk-flex-inline > * { | ||
| 8262 | -ms-flex-negative: 1; | ||
| 8263 | } | ||
| 8264 | /* Alignment | ||
| 8265 | ========================================================================== */ | ||
| 8266 | /* | ||
| 8267 | * Vertical alignment | ||
| 8268 | * Default value is `stretch` | ||
| 8269 | */ | ||
| 8270 | .uk-flex-top { | ||
| 8271 | -ms-flex-align: start; | ||
| 8272 | -webkit-align-items: flex-start; | ||
| 8273 | align-items: flex-start; | ||
| 8274 | } | ||
| 8275 | .uk-flex-middle { | ||
| 8276 | -ms-flex-align: center; | ||
| 8277 | -webkit-align-items: center; | ||
| 8278 | align-items: center; | ||
| 8279 | } | ||
| 8280 | .uk-flex-bottom { | ||
| 8281 | -ms-flex-align: end; | ||
| 8282 | -webkit-align-items: flex-end; | ||
| 8283 | align-items: flex-end; | ||
| 8284 | } | ||
| 8285 | /* | ||
| 8286 | * Horizontal alignment | ||
| 8287 | * Default value is `flex-start` | ||
| 8288 | */ | ||
| 8289 | .uk-flex-center { | ||
| 8290 | -ms-flex-pack: center; | ||
| 8291 | -webkit-justify-content: center; | ||
| 8292 | justify-content: center; | ||
| 8293 | } | ||
| 8294 | .uk-flex-right { | ||
| 8295 | -ms-flex-pack: end; | ||
| 8296 | -webkit-justify-content: flex-end; | ||
| 8297 | justify-content: flex-end; | ||
| 8298 | } | ||
| 8299 | .uk-flex-space-between { | ||
| 8300 | -ms-flex-pack: justify; | ||
| 8301 | -webkit-justify-content: space-between; | ||
| 8302 | justify-content: space-between; | ||
| 8303 | } | ||
| 8304 | .uk-flex-space-around { | ||
| 8305 | -ms-flex-pack: distribute; | ||
| 8306 | -webkit-justify-content: space-around; | ||
| 8307 | justify-content: space-around; | ||
| 8308 | } | ||
| 8309 | /* Direction | ||
| 8310 | ========================================================================== */ | ||
| 8311 | .uk-flex-row-reverse { | ||
| 8312 | -ms-flex-direction: row-reverse; | ||
| 8313 | -webkit-flex-direction: row-reverse; | ||
| 8314 | flex-direction: row-reverse; | ||
| 8315 | } | ||
| 8316 | .uk-flex-column { | ||
| 8317 | -ms-flex-direction: column; | ||
| 8318 | -webkit-flex-direction: column; | ||
| 8319 | flex-direction: column; | ||
| 8320 | } | ||
| 8321 | .uk-flex-column-reverse { | ||
| 8322 | -ms-flex-direction: column-reverse; | ||
| 8323 | -webkit-flex-direction: column-reverse; | ||
| 8324 | flex-direction: column-reverse; | ||
| 8325 | } | ||
| 8326 | /* Wrap | ||
| 8327 | ========================================================================== */ | ||
| 8328 | .uk-flex-nowrap { | ||
| 8329 | -ms-flex-wrap: nowrap; | ||
| 8330 | -webkit-flex-wrap: nowrap; | ||
| 8331 | flex-wrap: nowrap; | ||
| 8332 | } | ||
| 8333 | .uk-flex-wrap { | ||
| 8334 | -ms-flex-wrap: wrap; | ||
| 8335 | -webkit-flex-wrap: wrap; | ||
| 8336 | flex-wrap: wrap; | ||
| 8337 | } | ||
| 8338 | .uk-flex-wrap-reverse { | ||
| 8339 | -ms-flex-wrap: wrap-reverse; | ||
| 8340 | -webkit-flex-wrap: wrap-reverse; | ||
| 8341 | flex-wrap: wrap-reverse; | ||
| 8342 | } | ||
| 8343 | /* | ||
| 8344 | * Horizontal alignment | ||
| 8345 | * Default value is `stretch` | ||
| 8346 | */ | ||
| 8347 | .uk-flex-wrap-top { | ||
| 8348 | -ms-flex-line-pack: start; | ||
| 8349 | -webkit-align-content: flex-start; | ||
| 8350 | align-content: flex-start; | ||
| 8351 | } | ||
| 8352 | .uk-flex-wrap-middle { | ||
| 8353 | -ms-flex-line-pack: center; | ||
| 8354 | -webkit-align-content: center; | ||
| 8355 | align-content: center; | ||
| 8356 | } | ||
| 8357 | .uk-flex-wrap-bottom { | ||
| 8358 | -ms-flex-line-pack: end; | ||
| 8359 | -webkit-align-content: flex-end; | ||
| 8360 | align-content: flex-end; | ||
| 8361 | } | ||
| 8362 | .uk-flex-wrap-space-between { | ||
| 8363 | -ms-flex-line-pack: justify; | ||
| 8364 | -webkit-align-content: space-between; | ||
| 8365 | align-content: space-between; | ||
| 8366 | } | ||
| 8367 | .uk-flex-wrap-space-around { | ||
| 8368 | -ms-flex-line-pack: distribute; | ||
| 8369 | -webkit-align-content: space-around; | ||
| 8370 | align-content: space-around; | ||
| 8371 | } | ||
| 8372 | /* Item ordering | ||
| 8373 | ========================================================================== */ | ||
| 8374 | /* | ||
| 8375 | * Default is 0 | ||
| 8376 | */ | ||
| 8377 | .uk-flex-order-first { | ||
| 8378 | -ms-flex-order: -1; | ||
| 8379 | -webkit-order: -1; | ||
| 8380 | order: -1; | ||
| 8381 | } | ||
| 8382 | .uk-flex-order-last { | ||
| 8383 | -ms-flex-order: 99; | ||
| 8384 | -webkit-order: 99; | ||
| 8385 | order: 99; | ||
| 8386 | } | ||
| 8387 | /* Phone landscape and bigger */ | ||
| 8388 | @media (min-width: 480px) { | ||
| 8389 | .uk-flex-order-first-small { | ||
| 8390 | -ms-flex-order: -1; | ||
| 8391 | -webkit-order: -1; | ||
| 8392 | order: -1; | ||
| 8393 | } | ||
| 8394 | .uk-flex-order-last-small { | ||
| 8395 | -ms-flex-order: 99; | ||
| 8396 | -webkit-order: 99; | ||
| 8397 | order: 99; | ||
| 8398 | } | ||
| 8399 | } | ||
| 8400 | /* Tablet and bigger */ | ||
| 8401 | @media (min-width: 768px) { | ||
| 8402 | .uk-flex-order-first-medium { | ||
| 8403 | -ms-flex-order: -1; | ||
| 8404 | -webkit-order: -1; | ||
| 8405 | order: -1; | ||
| 8406 | } | ||
| 8407 | .uk-flex-order-last-medium { | ||
| 8408 | -ms-flex-order: 99; | ||
| 8409 | -webkit-order: 99; | ||
| 8410 | order: 99; | ||
| 8411 | } | ||
| 8412 | } | ||
| 8413 | /* Desktop and bigger */ | ||
| 8414 | @media (min-width: 960px) { | ||
| 8415 | .uk-flex-order-first-large { | ||
| 8416 | -ms-flex-order: -1; | ||
| 8417 | -webkit-order: -1; | ||
| 8418 | order: -1; | ||
| 8419 | } | ||
| 8420 | .uk-flex-order-last-large { | ||
| 8421 | -ms-flex-order: 99; | ||
| 8422 | -webkit-order: 99; | ||
| 8423 | order: 99; | ||
| 8424 | } | ||
| 8425 | } | ||
| 8426 | /* Large screen and bigger */ | ||
| 8427 | @media (min-width: 1220px) { | ||
| 8428 | .uk-flex-order-first-xlarge { | ||
| 8429 | -ms-flex-order: -1; | ||
| 8430 | -webkit-order: -1; | ||
| 8431 | order: -1; | ||
| 8432 | } | ||
| 8433 | .uk-flex-order-last-xlarge { | ||
| 8434 | -ms-flex-order: 99; | ||
| 8435 | -webkit-order: 99; | ||
| 8436 | order: 99; | ||
| 8437 | } | ||
| 8438 | } | ||
| 8439 | /* Item dimensions | ||
| 8440 | ========================================================================== */ | ||
| 8441 | /* | ||
| 8442 | * Initial: 0 1 auto | ||
| 8443 | * Content dimensions, but shrinks | ||
| 8444 | */ | ||
| 8445 | /* | ||
| 8446 | * No Flex: 0 0 auto | ||
| 8447 | * Content dimensions | ||
| 8448 | */ | ||
| 8449 | .uk-flex-item-none { | ||
| 8450 | -ms-flex: none; | ||
| 8451 | -webkit-flex: none; | ||
| 8452 | flex: none; | ||
| 8453 | } | ||
| 8454 | /* | ||
| 8455 | * Relative Flex: 1 1 auto | ||
| 8456 | * Space is allocated considering content | ||
| 8457 | * 1. Fixes flex-shrink value in IE10 | ||
| 8458 | */ | ||
| 8459 | .uk-flex-item-auto { | ||
| 8460 | -ms-flex: auto; | ||
| 8461 | -webkit-flex: auto; | ||
| 8462 | flex: auto; | ||
| 8463 | /* 1 */ | ||
| 8464 | -ms-flex-negative: 1; | ||
| 8465 | } | ||
| 8466 | /* | ||
| 8467 | * Absolute Flex: 1 1 0% | ||
| 8468 | * Space is allocated solely based on flex | ||
| 8469 | */ | ||
| 8470 | .uk-flex-item-1 { | ||
| 8471 | -ms-flex: 1; | ||
| 8472 | -webkit-flex: 1; | ||
| 8473 | flex: 1; | ||
| 8474 | } | ||
| 8475 | /* ======================================================================== | ||
| 8476 | Component: Contrast | ||
| 8477 | ========================================================================== */ | ||
| 8478 | .uk-contrast { | ||
| 8479 | color: #fff; | ||
| 8480 | /* Active */ | ||
| 8481 | } | ||
| 8482 | .uk-contrast a:not([class]), | ||
| 8483 | .uk-contrast .uk-link { | ||
| 8484 | color: rgba(255, 255, 255, 0.7); | ||
| 8485 | text-decoration: none; | ||
| 8486 | } | ||
| 8487 | .uk-contrast a:not([class]):hover, | ||
| 8488 | .uk-contrast .uk-link:hover { | ||
| 8489 | color: #fff; | ||
| 8490 | text-decoration: underline; | ||
| 8491 | } | ||
| 8492 | .uk-contrast :not(pre) > code, | ||
| 8493 | .uk-contrast :not(pre) > kbd, | ||
| 8494 | .uk-contrast :not(pre) > samp { | ||
| 8495 | color: #fff; | ||
| 8496 | } | ||
| 8497 | .uk-contrast em { | ||
| 8498 | color: #fff; | ||
| 8499 | } | ||
| 8500 | .uk-contrast h1, | ||
| 8501 | .uk-contrast h2, | ||
| 8502 | .uk-contrast h3, | ||
| 8503 | .uk-contrast h4, | ||
| 8504 | .uk-contrast h5, | ||
| 8505 | .uk-contrast h6 { | ||
| 8506 | color: #fff; | ||
| 8507 | } | ||
| 8508 | .uk-contrast hr { | ||
| 8509 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8510 | } | ||
| 8511 | .uk-contrast .uk-nav li > a, | ||
| 8512 | .uk-contrast .uk-nav li > a:hover { | ||
| 8513 | text-decoration: none; | ||
| 8514 | } | ||
| 8515 | .uk-contrast .uk-nav-side > li > a { | ||
| 8516 | color: #fff; | ||
| 8517 | } | ||
| 8518 | .uk-contrast .uk-nav-side > li > a:hover, | ||
| 8519 | .uk-contrast .uk-nav-side > li > a:focus { | ||
| 8520 | background: rgba(255, 255, 255, 0.1); | ||
| 8521 | color: #fff; | ||
| 8522 | } | ||
| 8523 | .uk-contrast .uk-nav-side > li.uk-active > a { | ||
| 8524 | background: #fff; | ||
| 8525 | color: #444; | ||
| 8526 | } | ||
| 8527 | .uk-contrast .uk-nav-side .uk-nav-header { | ||
| 8528 | color: #fff; | ||
| 8529 | } | ||
| 8530 | .uk-contrast .uk-nav-side .uk-nav-divider { | ||
| 8531 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8532 | } | ||
| 8533 | .uk-contrast .uk-nav-side ul a { | ||
| 8534 | color: rgba(255, 255, 255, 0.7); | ||
| 8535 | } | ||
| 8536 | .uk-contrast .uk-nav-side ul a:hover { | ||
| 8537 | color: #fff; | ||
| 8538 | } | ||
| 8539 | .uk-contrast .uk-subnav > * > a { | ||
| 8540 | color: rgba(255, 255, 255, 0.7); | ||
| 8541 | text-decoration: none; | ||
| 8542 | } | ||
| 8543 | .uk-contrast .uk-subnav > * > a:hover, | ||
| 8544 | .uk-contrast .uk-subnav > * > a:focus { | ||
| 8545 | color: #fff; | ||
| 8546 | text-decoration: none; | ||
| 8547 | } | ||
| 8548 | .uk-contrast .uk-subnav > .uk-active > a { | ||
| 8549 | color: #fff; | ||
| 8550 | } | ||
| 8551 | .uk-contrast .uk-subnav-line > :nth-child(n+2):before { | ||
| 8552 | border-left-color: rgba(255, 255, 255, 0.2); | ||
| 8553 | } | ||
| 8554 | .uk-contrast .uk-subnav-pill > * > a:hover, | ||
| 8555 | .uk-contrast .uk-subnav-pill > * > a:focus { | ||
| 8556 | background: rgba(255, 255, 255, 0.7); | ||
| 8557 | color: #444; | ||
| 8558 | text-decoration: none; | ||
| 8559 | } | ||
| 8560 | .uk-contrast .uk-subnav-pill > .uk-active > a { | ||
| 8561 | background: #fff; | ||
| 8562 | color: #444; | ||
| 8563 | } | ||
| 8564 | .uk-contrast .uk-tab { | ||
| 8565 | border-bottom-color: rgba(255, 255, 255, 0.2); | ||
| 8566 | } | ||
| 8567 | .uk-contrast .uk-tab > li > a { | ||
| 8568 | border-color: transparent; | ||
| 8569 | color: rgba(255, 255, 255, 0.7); | ||
| 8570 | } | ||
| 8571 | .uk-contrast .uk-tab > li > a:hover, | ||
| 8572 | .uk-contrast .uk-tab > li > a:focus, | ||
| 8573 | .uk-contrast .uk-tab > li.uk-open > a { | ||
| 8574 | border-color: rgba(255, 255, 255, 0.7); | ||
| 8575 | background: rgba(255, 255, 255, 0.7); | ||
| 8576 | color: #444; | ||
| 8577 | text-decoration: none; | ||
| 8578 | } | ||
| 8579 | .uk-contrast .uk-tab > li.uk-active > a { | ||
| 8580 | border-color: rgba(255, 255, 255, 0.2); | ||
| 8581 | border-bottom-color: transparent; | ||
| 8582 | background: #fff; | ||
| 8583 | color: #444; | ||
| 8584 | } | ||
| 8585 | .uk-contrast .uk-tab-center { | ||
| 8586 | border-bottom-color: rgba(255, 255, 255, 0.2); | ||
| 8587 | } | ||
| 8588 | .uk-contrast .uk-tab-grid:before { | ||
| 8589 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8590 | } | ||
| 8591 | .uk-contrast .uk-list-line > li:nth-child(n+2) { | ||
| 8592 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8593 | } | ||
| 8594 | .uk-contrast .uk-form select, | ||
| 8595 | .uk-contrast .uk-form textarea, | ||
| 8596 | .uk-contrast .uk-form input:not([type]), | ||
| 8597 | .uk-contrast .uk-form input[type="text"], | ||
| 8598 | .uk-contrast .uk-form input[type="password"], | ||
| 8599 | .uk-contrast .uk-form input[type="datetime"], | ||
| 8600 | .uk-contrast .uk-form input[type="datetime-local"], | ||
| 8601 | .uk-contrast .uk-form input[type="date"], | ||
| 8602 | .uk-contrast .uk-form input[type="month"], | ||
| 8603 | .uk-contrast .uk-form input[type="time"], | ||
| 8604 | .uk-contrast .uk-form input[type="week"], | ||
| 8605 | .uk-contrast .uk-form input[type="number"], | ||
| 8606 | .uk-contrast .uk-form input[type="email"], | ||
| 8607 | .uk-contrast .uk-form input[type="url"], | ||
| 8608 | .uk-contrast .uk-form input[type="search"], | ||
| 8609 | .uk-contrast .uk-form input[type="tel"], | ||
| 8610 | .uk-contrast .uk-form input[type="color"] { | ||
| 8611 | border-color: rgba(255, 255, 255, 0.8); | ||
| 8612 | background: rgba(255, 255, 255, 0.8); | ||
| 8613 | color: #444; | ||
| 8614 | background-clip: padding-box; | ||
| 8615 | } | ||
| 8616 | .uk-contrast .uk-form select:focus, | ||
| 8617 | .uk-contrast .uk-form textarea:focus, | ||
| 8618 | .uk-contrast .uk-form input:not([type]):focus, | ||
| 8619 | .uk-contrast .uk-form input[type="text"]:focus, | ||
| 8620 | .uk-contrast .uk-form input[type="password"]:focus, | ||
| 8621 | .uk-contrast .uk-form input[type="datetime"]:focus, | ||
| 8622 | .uk-contrast .uk-form input[type="datetime-local"]:focus, | ||
| 8623 | .uk-contrast .uk-form input[type="date"]:focus, | ||
| 8624 | .uk-contrast .uk-form input[type="month"]:focus, | ||
| 8625 | .uk-contrast .uk-form input[type="time"]:focus, | ||
| 8626 | .uk-contrast .uk-form input[type="week"]:focus, | ||
| 8627 | .uk-contrast .uk-form input[type="number"]:focus, | ||
| 8628 | .uk-contrast .uk-form input[type="email"]:focus, | ||
| 8629 | .uk-contrast .uk-form input[type="url"]:focus, | ||
| 8630 | .uk-contrast .uk-form input[type="search"]:focus, | ||
| 8631 | .uk-contrast .uk-form input[type="tel"]:focus, | ||
| 8632 | .uk-contrast .uk-form input[type="color"]:focus { | ||
| 8633 | border-color: #fff; | ||
| 8634 | background: #fff; | ||
| 8635 | color: #444; | ||
| 8636 | } | ||
| 8637 | .uk-contrast .uk-form :-ms-input-placeholder { | ||
| 8638 | color: rgba(68, 68, 68, 0.7) !important; | ||
| 8639 | } | ||
| 8640 | .uk-contrast .uk-form ::-moz-placeholder { | ||
| 8641 | color: rgba(68, 68, 68, 0.7); | ||
| 8642 | } | ||
| 8643 | .uk-contrast .uk-form ::-webkit-input-placeholder { | ||
| 8644 | color: rgba(68, 68, 68, 0.7); | ||
| 8645 | } | ||
| 8646 | .uk-contrast .uk-button { | ||
| 8647 | color: #444; | ||
| 8648 | background: #fff; | ||
| 8649 | } | ||
| 8650 | .uk-contrast .uk-button:hover, | ||
| 8651 | .uk-contrast .uk-button:focus { | ||
| 8652 | background-color: rgba(255, 255, 255, 0.8); | ||
| 8653 | color: #444; | ||
| 8654 | } | ||
| 8655 | .uk-contrast .uk-button:active, | ||
| 8656 | .uk-contrast .uk-button.uk-active { | ||
| 8657 | background-color: rgba(255, 255, 255, 0.7); | ||
| 8658 | color: #444; | ||
| 8659 | } | ||
| 8660 | .uk-contrast .uk-button-primary { | ||
| 8661 | background-color: #00a8e6; | ||
| 8662 | color: #fff; | ||
| 8663 | } | ||
| 8664 | .uk-contrast .uk-button-primary:hover, | ||
| 8665 | .uk-contrast .uk-button-primary:focus { | ||
| 8666 | background-color: #35b3ee; | ||
| 8667 | color: #fff; | ||
| 8668 | } | ||
| 8669 | .uk-contrast .uk-button-primary:active, | ||
| 8670 | .uk-contrast .uk-button-primary.uk-active { | ||
| 8671 | background-color: #0091ca; | ||
| 8672 | color: #fff; | ||
| 8673 | } | ||
| 8674 | .uk-contrast .uk-icon-hover { | ||
| 8675 | color: rgba(255, 255, 255, 0.7); | ||
| 8676 | } | ||
| 8677 | .uk-contrast .uk-icon-hover:hover { | ||
| 8678 | color: #fff; | ||
| 8679 | } | ||
| 8680 | .uk-contrast .uk-icon-button { | ||
| 8681 | background: #fff; | ||
| 8682 | color: #444; | ||
| 8683 | } | ||
| 8684 | .uk-contrast .uk-icon-button:hover, | ||
| 8685 | .uk-contrast .uk-icon-button:focus { | ||
| 8686 | background-color: rgba(255, 255, 255, 0.8); | ||
| 8687 | color: #444; | ||
| 8688 | } | ||
| 8689 | .uk-contrast .uk-icon-button:active { | ||
| 8690 | background-color: rgba(255, 255, 255, 0.7); | ||
| 8691 | color: #444; | ||
| 8692 | } | ||
| 8693 | .uk-contrast .uk-text-muted { | ||
| 8694 | color: rgba(255, 255, 255, 0.6) !important; | ||
| 8695 | } | ||
| 8696 | .uk-contrast .uk-text-primary { | ||
| 8697 | color: #2d7091 !important; | ||
| 8698 | } | ||
| 8699 | /* ======================================================================== | ||
| 8700 | Component: Print | ||
| 8701 | ========================================================================== */ | ||
| 8702 | @media print { | ||
| 8703 | *, | ||
| 8704 | *:before, | ||
| 8705 | *:after { | ||
| 8706 | background: transparent !important; | ||
| 8707 | color: black !important; | ||
| 8708 | box-shadow: none !important; | ||
| 8709 | text-shadow: none !important; | ||
| 8710 | } | ||
| 8711 | a, | ||
| 8712 | a:visited { | ||
| 8713 | text-decoration: underline; | ||
| 8714 | } | ||
| 8715 | pre, | ||
| 8716 | blockquote { | ||
| 8717 | border: 1px solid #999; | ||
| 8718 | page-break-inside: avoid; | ||
| 8719 | } | ||
| 8720 | thead { | ||
| 8721 | display: table-header-group; | ||
| 8722 | } | ||
| 8723 | tr, | ||
| 8724 | img { | ||
| 8725 | page-break-inside: avoid; | ||
| 8726 | } | ||
| 8727 | img { | ||
| 8728 | max-width: 100% !important; | ||
| 8729 | } | ||
| 8730 | @page { | ||
| 8731 | margin: 0.5cm; | ||
| 8732 | } | ||
| 8733 | p, | ||
| 8734 | h2, | ||
| 8735 | h3 { | ||
| 8736 | orphans: 3; | ||
| 8737 | widows: 3; | ||
| 8738 | } | ||
| 8739 | h2, | ||
| 8740 | h3 { | ||
| 8741 | page-break-after: avoid; | ||
| 8742 | } | ||
| 8743 | } | ||
| diff --git a/css/uikit.gradient.css b/css/uikit.gradient.css new file mode 100755 index 0000000..fc34b44 --- /dev/null +++ b/css/uikit.gradient.css | |||
| @@ -0,0 +1,9106 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* ======================================================================== | ||
| 3 | Component: Base | ||
| 4 | ========================================================================== */ | ||
| 5 | /* | ||
| 6 | * 1. Normalize default `font-family` and set `font-size` to support `rem` units | ||
| 7 | * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom | ||
| 8 | * 3. Style | ||
| 9 | */ | ||
| 10 | html { | ||
| 11 | /* 1 */ | ||
| 12 | font: normal 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 13 | /* 2 */ | ||
| 14 | -webkit-text-size-adjust: 100%; | ||
| 15 | -ms-text-size-adjust: 100%; | ||
| 16 | /* 3 */ | ||
| 17 | background: #fff; | ||
| 18 | color: #444; | ||
| 19 | background-image: -webkit-radial-gradient(100% 100%, center, #fff, #fff); | ||
| 20 | background-image: radial-gradient(100% 100% at center, #fff, #fff); | ||
| 21 | } | ||
| 22 | /* | ||
| 23 | * Removes default margin. | ||
| 24 | */ | ||
| 25 | body { | ||
| 26 | margin: 0; | ||
| 27 | } | ||
| 28 | /* Links | ||
| 29 | ========================================================================== */ | ||
| 30 | /* | ||
| 31 | * Remove the gray background color from active links in IE 10. | ||
| 32 | */ | ||
| 33 | a { | ||
| 34 | background: transparent; | ||
| 35 | } | ||
| 36 | /* | ||
| 37 | * Improve readability of focused elements when they are also in an active/hover state. | ||
| 38 | */ | ||
| 39 | a:active, | ||
| 40 | a:hover { | ||
| 41 | outline: 0; | ||
| 42 | } | ||
| 43 | /* | ||
| 44 | * Style | ||
| 45 | */ | ||
| 46 | a, | ||
| 47 | .uk-link { | ||
| 48 | color: #07D; | ||
| 49 | text-decoration: none; | ||
| 50 | cursor: pointer; | ||
| 51 | } | ||
| 52 | a:hover, | ||
| 53 | .uk-link:hover { | ||
| 54 | color: #059; | ||
| 55 | text-decoration: underline; | ||
| 56 | } | ||
| 57 | /* Text-level semantics | ||
| 58 | ========================================================================== */ | ||
| 59 | /* | ||
| 60 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome. | ||
| 61 | */ | ||
| 62 | abbr[title] { | ||
| 63 | border-bottom: 1px dotted; | ||
| 64 | } | ||
| 65 | /* | ||
| 66 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. | ||
| 67 | */ | ||
| 68 | b, | ||
| 69 | strong { | ||
| 70 | font-weight: bold; | ||
| 71 | } | ||
| 72 | /* | ||
| 73 | * 1. Address odd `em`-unit font size rendering in all browsers. | ||
| 74 | * 2. Consolas has a better baseline in running text compared to `Courier` | ||
| 75 | */ | ||
| 76 | :not(pre) > code, | ||
| 77 | :not(pre) > kbd, | ||
| 78 | :not(pre) > samp { | ||
| 79 | /* 1 */ | ||
| 80 | font-size: 12px; | ||
| 81 | /* 2 */ | ||
| 82 | font-family: Consolas, monospace, serif; | ||
| 83 | /* 3 */ | ||
| 84 | color: #D05; | ||
| 85 | white-space: nowrap; | ||
| 86 | padding: 0 4px; | ||
| 87 | border: 1px solid #ddd; | ||
| 88 | border-radius: 3px; | ||
| 89 | background: #fafafa; | ||
| 90 | } | ||
| 91 | /* | ||
| 92 | * Emphasize | ||
| 93 | */ | ||
| 94 | em { | ||
| 95 | color: #D05; | ||
| 96 | } | ||
| 97 | /* | ||
| 98 | * Insert | ||
| 99 | */ | ||
| 100 | ins { | ||
| 101 | background: #ffa; | ||
| 102 | color: #444; | ||
| 103 | text-decoration: none; | ||
| 104 | } | ||
| 105 | /* | ||
| 106 | * Mark | ||
| 107 | * Note: Addresses styling not present in IE 8/9. | ||
| 108 | */ | ||
| 109 | mark { | ||
| 110 | background: #ffa; | ||
| 111 | color: #444; | ||
| 112 | } | ||
| 113 | /* | ||
| 114 | * Quote | ||
| 115 | */ | ||
| 116 | q { | ||
| 117 | font-style: italic; | ||
| 118 | } | ||
| 119 | /* | ||
| 120 | * Addresses inconsistent and variable font size in all browsers. | ||
| 121 | */ | ||
| 122 | small { | ||
| 123 | font-size: 80%; | ||
| 124 | } | ||
| 125 | /* | ||
| 126 | * Prevents `sub` and `sup` affecting `line-height` in all browsers. | ||
| 127 | */ | ||
| 128 | sub, | ||
| 129 | sup { | ||
| 130 | font-size: 75%; | ||
| 131 | line-height: 0; | ||
| 132 | position: relative; | ||
| 133 | vertical-align: baseline; | ||
| 134 | } | ||
| 135 | sup { | ||
| 136 | top: -0.5em; | ||
| 137 | } | ||
| 138 | sub { | ||
| 139 | bottom: -0.25em; | ||
| 140 | } | ||
| 141 | /* Embedded content | ||
| 142 | ========================================================================== */ | ||
| 143 | /* | ||
| 144 | * Remove the gap between embedded content and the bottom of their containers. | ||
| 145 | */ | ||
| 146 | audio, | ||
| 147 | canvas, | ||
| 148 | iframe, | ||
| 149 | img, | ||
| 150 | svg, | ||
| 151 | video { | ||
| 152 | vertical-align: middle; | ||
| 153 | } | ||
| 154 | /* | ||
| 155 | * Responsiveness | ||
| 156 | * 1. Sets a maximum width relative to the parent and auto scales the height | ||
| 157 | * 2. Corrects `max-width` behavior if padding and border are used | ||
| 158 | */ | ||
| 159 | audio, | ||
| 160 | canvas, | ||
| 161 | img, | ||
| 162 | svg, | ||
| 163 | video { | ||
| 164 | /* 1 */ | ||
| 165 | max-width: 100%; | ||
| 166 | height: auto; | ||
| 167 | /* 2 */ | ||
| 168 | box-sizing: border-box; | ||
| 169 | } | ||
| 170 | /* | ||
| 171 | * Preserve original dimensions | ||
| 172 | */ | ||
| 173 | .uk-img-preserve, | ||
| 174 | .uk-img-preserve audio, | ||
| 175 | .uk-img-preserve canvas, | ||
| 176 | .uk-img-preserve img, | ||
| 177 | .uk-img-preserve svg, | ||
| 178 | .uk-img-preserve video { | ||
| 179 | max-width: none; | ||
| 180 | } | ||
| 181 | /* | ||
| 182 | * Remove border when inside `a` element in IE 8/9/10. | ||
| 183 | */ | ||
| 184 | img { | ||
| 185 | border: 0; | ||
| 186 | } | ||
| 187 | /* | ||
| 188 | * Correct overflow not hidden in IE 9/10/11. | ||
| 189 | */ | ||
| 190 | svg:not(:root) { | ||
| 191 | overflow: hidden; | ||
| 192 | } | ||
| 193 | /* Block elements | ||
| 194 | ========================================================================== */ | ||
| 195 | /* | ||
| 196 | * Reset margin | ||
| 197 | */ | ||
| 198 | blockquote, | ||
| 199 | figure { | ||
| 200 | margin: 0; | ||
| 201 | } | ||
| 202 | /* | ||
| 203 | * Margins | ||
| 204 | */ | ||
| 205 | p, | ||
| 206 | ul, | ||
| 207 | ol, | ||
| 208 | dl, | ||
| 209 | blockquote, | ||
| 210 | pre, | ||
| 211 | address, | ||
| 212 | fieldset, | ||
| 213 | figure { | ||
| 214 | margin: 0 0 15px 0; | ||
| 215 | } | ||
| 216 | * + p, | ||
| 217 | * + ul, | ||
| 218 | * + ol, | ||
| 219 | * + dl, | ||
| 220 | * + blockquote, | ||
| 221 | * + pre, | ||
| 222 | * + address, | ||
| 223 | * + fieldset, | ||
| 224 | * + figure { | ||
| 225 | margin-top: 15px; | ||
| 226 | } | ||
| 227 | /* Headings | ||
| 228 | ========================================================================== */ | ||
| 229 | h1, | ||
| 230 | h2, | ||
| 231 | h3, | ||
| 232 | h4, | ||
| 233 | h5, | ||
| 234 | h6 { | ||
| 235 | margin: 0 0 15px 0; | ||
| 236 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 237 | font-weight: normal; | ||
| 238 | color: #444; | ||
| 239 | text-transform: none; | ||
| 240 | } | ||
| 241 | /* | ||
| 242 | * Margins | ||
| 243 | */ | ||
| 244 | * + h1, | ||
| 245 | * + h2, | ||
| 246 | * + h3, | ||
| 247 | * + h4, | ||
| 248 | * + h5, | ||
| 249 | * + h6 { | ||
| 250 | margin-top: 25px; | ||
| 251 | } | ||
| 252 | /* | ||
| 253 | * Sizes | ||
| 254 | */ | ||
| 255 | h1, | ||
| 256 | .uk-h1 { | ||
| 257 | font-size: 36px; | ||
| 258 | line-height: 42px; | ||
| 259 | } | ||
| 260 | h2, | ||
| 261 | .uk-h2 { | ||
| 262 | font-size: 24px; | ||
| 263 | line-height: 30px; | ||
| 264 | } | ||
| 265 | h3, | ||
| 266 | .uk-h3 { | ||
| 267 | font-size: 18px; | ||
| 268 | line-height: 24px; | ||
| 269 | } | ||
| 270 | h4, | ||
| 271 | .uk-h4 { | ||
| 272 | font-size: 16px; | ||
| 273 | line-height: 22px; | ||
| 274 | } | ||
| 275 | h5, | ||
| 276 | .uk-h5 { | ||
| 277 | font-size: 14px; | ||
| 278 | line-height: 20px; | ||
| 279 | } | ||
| 280 | h6, | ||
| 281 | .uk-h6 { | ||
| 282 | font-size: 12px; | ||
| 283 | line-height: 18px; | ||
| 284 | } | ||
| 285 | /* Lists | ||
| 286 | ========================================================================== */ | ||
| 287 | ul, | ||
| 288 | ol { | ||
| 289 | padding-left: 30px; | ||
| 290 | } | ||
| 291 | /* | ||
| 292 | * Reset margin for nested lists | ||
| 293 | */ | ||
| 294 | ul > li > ul, | ||
| 295 | ul > li > ol, | ||
| 296 | ol > li > ol, | ||
| 297 | ol > li > ul { | ||
| 298 | margin: 0; | ||
| 299 | } | ||
| 300 | /* Description lists | ||
| 301 | ========================================================================== */ | ||
| 302 | dt { | ||
| 303 | font-weight: bold; | ||
| 304 | } | ||
| 305 | dd { | ||
| 306 | margin-left: 0; | ||
| 307 | } | ||
| 308 | /* Horizontal rules | ||
| 309 | ========================================================================== */ | ||
| 310 | /* | ||
| 311 | * 1. Address differences between Firefox and other browsers. | ||
| 312 | * 2. Style | ||
| 313 | */ | ||
| 314 | hr { | ||
| 315 | /* 1 */ | ||
| 316 | box-sizing: content-box; | ||
| 317 | height: 0; | ||
| 318 | /* 2 */ | ||
| 319 | margin: 15px 0; | ||
| 320 | border: 0; | ||
| 321 | border-top: 1px solid #ddd; | ||
| 322 | } | ||
| 323 | /* Address | ||
| 324 | ========================================================================== */ | ||
| 325 | address { | ||
| 326 | font-style: normal; | ||
| 327 | } | ||
| 328 | /* Blockquotes | ||
| 329 | ========================================================================== */ | ||
| 330 | blockquote { | ||
| 331 | padding-left: 15px; | ||
| 332 | border-left: 5px solid #ddd; | ||
| 333 | font-size: 16px; | ||
| 334 | line-height: 22px; | ||
| 335 | font-style: italic; | ||
| 336 | } | ||
| 337 | /* Preformatted text | ||
| 338 | ========================================================================== */ | ||
| 339 | /* | ||
| 340 | * 1. Contain overflow in all browsers. | ||
| 341 | */ | ||
| 342 | pre { | ||
| 343 | padding: 10px; | ||
| 344 | background: #fafafa; | ||
| 345 | font: 12px / 18px Consolas, monospace, serif; | ||
| 346 | color: #444; | ||
| 347 | -moz-tab-size: 4; | ||
| 348 | tab-size: 4; | ||
| 349 | /* 1 */ | ||
| 350 | overflow: auto; | ||
| 351 | border: 1px solid #ddd; | ||
| 352 | border-radius: 3px; | ||
| 353 | } | ||
| 354 | /* Selection pseudo-element | ||
| 355 | ========================================================================== */ | ||
| 356 | ::-moz-selection { | ||
| 357 | background: #39f; | ||
| 358 | color: #fff; | ||
| 359 | text-shadow: none; | ||
| 360 | } | ||
| 361 | ::selection { | ||
| 362 | background: #39f; | ||
| 363 | color: #fff; | ||
| 364 | text-shadow: none; | ||
| 365 | } | ||
| 366 | /* HTML5 elements | ||
| 367 | ========================================================================== */ | ||
| 368 | /* | ||
| 369 | * Correct `block` display not defined for any HTML5 element in IE 8/9. | ||
| 370 | * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. | ||
| 371 | * Correct `block` display not defined for `main` in IE 11. | ||
| 372 | */ | ||
| 373 | article, | ||
| 374 | aside, | ||
| 375 | details, | ||
| 376 | figcaption, | ||
| 377 | figure, | ||
| 378 | footer, | ||
| 379 | header, | ||
| 380 | main, | ||
| 381 | nav, | ||
| 382 | section, | ||
| 383 | summary { | ||
| 384 | display: block; | ||
| 385 | } | ||
| 386 | /* | ||
| 387 | * Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. | ||
| 388 | */ | ||
| 389 | progress { | ||
| 390 | vertical-align: baseline; | ||
| 391 | } | ||
| 392 | /* | ||
| 393 | * Prevent displaying `audio` without controls in Chrome, Safari and Opera | ||
| 394 | */ | ||
| 395 | audio:not([controls]) { | ||
| 396 | display: none; | ||
| 397 | } | ||
| 398 | /* | ||
| 399 | * Address `[hidden]` styling not present in IE 8/9/10. | ||
| 400 | * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. | ||
| 401 | */ | ||
| 402 | [hidden], | ||
| 403 | template { | ||
| 404 | display: none; | ||
| 405 | } | ||
| 406 | /* Iframe | ||
| 407 | ========================================================================== */ | ||
| 408 | iframe { | ||
| 409 | border: 0; | ||
| 410 | } | ||
| 411 | /* Fix viewport for IE10 snap mode | ||
| 412 | ========================================================================== */ | ||
| 413 | @media screen and (max-width: 400px) { | ||
| 414 | @-ms-viewport { | ||
| 415 | width: device-width; | ||
| 416 | } | ||
| 417 | } | ||
| 418 | /* ======================================================================== | ||
| 419 | Component: Grid | ||
| 420 | ========================================================================== */ | ||
| 421 | /* | ||
| 422 | * 1. Makes grid more robust so that it can be used with other block elements like lists | ||
| 423 | */ | ||
| 424 | .uk-grid { | ||
| 425 | display: -ms-flexbox; | ||
| 426 | display: -webkit-flex; | ||
| 427 | display: flex; | ||
| 428 | -ms-flex-wrap: wrap; | ||
| 429 | -webkit-flex-wrap: wrap; | ||
| 430 | flex-wrap: wrap; | ||
| 431 | /* 1 */ | ||
| 432 | margin: 0; | ||
| 433 | padding: 0; | ||
| 434 | list-style: none; | ||
| 435 | } | ||
| 436 | /* | ||
| 437 | * DEPRECATED | ||
| 438 | * Micro clearfix | ||
| 439 | * Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit | ||
| 440 | */ | ||
| 441 | .uk-grid:before, | ||
| 442 | .uk-grid:after { | ||
| 443 | content: ""; | ||
| 444 | display: block; | ||
| 445 | overflow: hidden; | ||
| 446 | } | ||
| 447 | .uk-grid:after { | ||
| 448 | clear: both; | ||
| 449 | } | ||
| 450 | /* | ||
| 451 | * Grid cell | ||
| 452 | * 1. Space is allocated solely based on content dimensions | ||
| 453 | * 2. Makes grid more robust so that it can be used with other block elements | ||
| 454 | * 3. DEPRECATED Using `float` to support IE9 | ||
| 455 | */ | ||
| 456 | .uk-grid > * { | ||
| 457 | /* 1 */ | ||
| 458 | -ms-flex: none; | ||
| 459 | -webkit-flex: none; | ||
| 460 | flex: none; | ||
| 461 | /* 2 */ | ||
| 462 | margin: 0; | ||
| 463 | /* 3 */ | ||
| 464 | float: left; | ||
| 465 | } | ||
| 466 | /* | ||
| 467 | * Remove margin from the last-child | ||
| 468 | */ | ||
| 469 | .uk-grid > * > :last-child { | ||
| 470 | margin-bottom: 0; | ||
| 471 | } | ||
| 472 | /* Grid gutter | ||
| 473 | ========================================================================== */ | ||
| 474 | /* | ||
| 475 | * Default gutter | ||
| 476 | */ | ||
| 477 | /* Horizontal */ | ||
| 478 | .uk-grid { | ||
| 479 | margin-left: -25px; | ||
| 480 | } | ||
| 481 | .uk-grid > * { | ||
| 482 | padding-left: 25px; | ||
| 483 | } | ||
| 484 | /* Vertical */ | ||
| 485 | .uk-grid + .uk-grid, | ||
| 486 | .uk-grid-margin, | ||
| 487 | .uk-grid > * > .uk-panel + .uk-panel { | ||
| 488 | margin-top: 25px; | ||
| 489 | } | ||
| 490 | /* Large screen and bigger */ | ||
| 491 | @media (min-width: 1220px) { | ||
| 492 | /* Horizontal */ | ||
| 493 | .uk-grid { | ||
| 494 | margin-left: -35px; | ||
| 495 | } | ||
| 496 | .uk-grid > * { | ||
| 497 | padding-left: 35px; | ||
| 498 | } | ||
| 499 | /* Vertical */ | ||
| 500 | .uk-grid + .uk-grid, | ||
| 501 | .uk-grid-margin, | ||
| 502 | .uk-grid > * > .uk-panel + .uk-panel { | ||
| 503 | margin-top: 35px; | ||
| 504 | } | ||
| 505 | } | ||
| 506 | /* | ||
| 507 | * Collapse gutter | ||
| 508 | */ | ||
| 509 | /* Horizontal */ | ||
| 510 | .uk-grid-collapse { | ||
| 511 | margin-left: 0; | ||
| 512 | } | ||
| 513 | .uk-grid-collapse > * { | ||
| 514 | padding-left: 0; | ||
| 515 | } | ||
| 516 | /* Vertical */ | ||
| 517 | .uk-grid-collapse + .uk-grid-collapse, | ||
| 518 | .uk-grid-collapse > .uk-grid-margin, | ||
| 519 | .uk-grid-collapse > * > .uk-panel + .uk-panel { | ||
| 520 | margin-top: 0; | ||
| 521 | } | ||
| 522 | /* | ||
| 523 | * Small gutter | ||
| 524 | */ | ||
| 525 | /* Horizontal */ | ||
| 526 | .uk-grid-small { | ||
| 527 | margin-left: -10px; | ||
| 528 | } | ||
| 529 | .uk-grid-small > * { | ||
| 530 | padding-left: 10px; | ||
| 531 | } | ||
| 532 | /* Vertical */ | ||
| 533 | .uk-grid-small + .uk-grid-small, | ||
| 534 | .uk-grid-small > .uk-grid-margin, | ||
| 535 | .uk-grid-small > * > .uk-panel + .uk-panel { | ||
| 536 | margin-top: 10px; | ||
| 537 | } | ||
| 538 | /* | ||
| 539 | * Medium gutter | ||
| 540 | */ | ||
| 541 | /* Horizontal */ | ||
| 542 | .uk-grid-medium { | ||
| 543 | margin-left: -25px; | ||
| 544 | } | ||
| 545 | .uk-grid-medium > * { | ||
| 546 | padding-left: 25px; | ||
| 547 | } | ||
| 548 | /* Vertical */ | ||
| 549 | .uk-grid-medium + .uk-grid-medium, | ||
| 550 | .uk-grid-medium > .uk-grid-margin, | ||
| 551 | .uk-grid-medium > * > .uk-panel + .uk-panel { | ||
| 552 | margin-top: 25px; | ||
| 553 | } | ||
| 554 | /* | ||
| 555 | * Large gutter | ||
| 556 | */ | ||
| 557 | /* Large screen and bigger */ | ||
| 558 | @media (min-width: 960px) { | ||
| 559 | /* Horizontal */ | ||
| 560 | .uk-grid-large { | ||
| 561 | margin-left: -35px; | ||
| 562 | } | ||
| 563 | .uk-grid-large > * { | ||
| 564 | padding-left: 35px; | ||
| 565 | } | ||
| 566 | /* Vertical */ | ||
| 567 | .uk-grid-large + .uk-grid-large, | ||
| 568 | .uk-grid-large-margin, | ||
| 569 | .uk-grid-large > * > .uk-panel + .uk-panel { | ||
| 570 | margin-top: 35px; | ||
| 571 | } | ||
| 572 | } | ||
| 573 | /* Extra Large screens */ | ||
| 574 | @media (min-width: 1220px) { | ||
| 575 | /* Horizontal */ | ||
| 576 | .uk-grid-large { | ||
| 577 | margin-left: -50px; | ||
| 578 | } | ||
| 579 | .uk-grid-large > * { | ||
| 580 | padding-left: 50px; | ||
| 581 | } | ||
| 582 | /* Vertical */ | ||
| 583 | .uk-grid-large + .uk-grid-large, | ||
| 584 | .uk-grid-large-margin, | ||
| 585 | .uk-grid-large > * > .uk-panel + .uk-panel { | ||
| 586 | margin-top: 50px; | ||
| 587 | } | ||
| 588 | } | ||
| 589 | /* Modifier: `uk-grid-divider` | ||
| 590 | ========================================================================== */ | ||
| 591 | /* | ||
| 592 | * Horizontal divider | ||
| 593 | * Only works with the default gutter. Does not work with gutter collapse, small or large. | ||
| 594 | * Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row. | ||
| 595 | */ | ||
| 596 | .uk-grid-divider:not(:empty) { | ||
| 597 | margin-left: -25px; | ||
| 598 | margin-right: -25px; | ||
| 599 | } | ||
| 600 | .uk-grid-divider > * { | ||
| 601 | padding-left: 25px; | ||
| 602 | padding-right: 25px; | ||
| 603 | } | ||
| 604 | .uk-grid-divider > [class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2), | ||
| 605 | .uk-grid-divider > [class*='uk-width-2-']:nth-child(n+2), | ||
| 606 | .uk-grid-divider > [class*='uk-width-3-']:nth-child(n+2), | ||
| 607 | .uk-grid-divider > [class*='uk-width-4-']:nth-child(n+2), | ||
| 608 | .uk-grid-divider > [class*='uk-width-5-']:nth-child(n+2), | ||
| 609 | .uk-grid-divider > [class*='uk-width-6-']:nth-child(n+2), | ||
| 610 | .uk-grid-divider > [class*='uk-width-7-']:nth-child(n+2), | ||
| 611 | .uk-grid-divider > [class*='uk-width-8-']:nth-child(n+2), | ||
| 612 | .uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { | ||
| 613 | border-left: 1px solid #ddd; | ||
| 614 | } | ||
| 615 | /* Tablet and bigger */ | ||
| 616 | @media (min-width: 768px) { | ||
| 617 | .uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { | ||
| 618 | border-left: 1px solid #ddd; | ||
| 619 | } | ||
| 620 | } | ||
| 621 | /* Desktop and bigger */ | ||
| 622 | @media (min-width: 960px) { | ||
| 623 | .uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { | ||
| 624 | border-left: 1px solid #ddd; | ||
| 625 | } | ||
| 626 | } | ||
| 627 | /* Large screen and bigger */ | ||
| 628 | @media (min-width: 1220px) { | ||
| 629 | /* | ||
| 630 | * Large gutter | ||
| 631 | */ | ||
| 632 | .uk-grid-divider:not(:empty) { | ||
| 633 | margin-left: -35px; | ||
| 634 | margin-right: -35px; | ||
| 635 | } | ||
| 636 | .uk-grid-divider > * { | ||
| 637 | padding-left: 35px; | ||
| 638 | padding-right: 35px; | ||
| 639 | } | ||
| 640 | .uk-grid-divider:empty { | ||
| 641 | margin-top: 35px; | ||
| 642 | margin-bottom: 35px; | ||
| 643 | } | ||
| 644 | } | ||
| 645 | /* | ||
| 646 | * Vertical divider | ||
| 647 | */ | ||
| 648 | .uk-grid-divider:empty { | ||
| 649 | margin-top: 25px; | ||
| 650 | margin-bottom: 25px; | ||
| 651 | border-top: 1px solid #ddd; | ||
| 652 | } | ||
| 653 | /* Match panels in grids | ||
| 654 | ========================================================================== */ | ||
| 655 | /* | ||
| 656 | * 1. Behave like a block element | ||
| 657 | */ | ||
| 658 | .uk-grid-match > * { | ||
| 659 | display: -ms-flexbox; | ||
| 660 | display: -webkit-flex; | ||
| 661 | display: flex; | ||
| 662 | /* 1 */ | ||
| 663 | -ms-flex-wrap: wrap; | ||
| 664 | -webkit-flex-wrap: wrap; | ||
| 665 | flex-wrap: wrap; | ||
| 666 | } | ||
| 667 | .uk-grid-match > * > * { | ||
| 668 | /* 1 */ | ||
| 669 | -ms-flex: none; | ||
| 670 | -webkit-flex: none; | ||
| 671 | flex: none; | ||
| 672 | box-sizing: border-box; | ||
| 673 | width: 100%; | ||
| 674 | } | ||
| 675 | /* Even grid cell widths | ||
| 676 | ========================================================================== */ | ||
| 677 | [class*='uk-grid-width'] > * { | ||
| 678 | box-sizing: border-box; | ||
| 679 | width: 100%; | ||
| 680 | } | ||
| 681 | .uk-grid-width-1-2 > * { | ||
| 682 | width: 50%; | ||
| 683 | } | ||
| 684 | .uk-grid-width-1-3 > * { | ||
| 685 | width: 33.333%; | ||
| 686 | } | ||
| 687 | .uk-grid-width-1-4 > * { | ||
| 688 | width: 25%; | ||
| 689 | } | ||
| 690 | .uk-grid-width-1-5 > * { | ||
| 691 | width: 20%; | ||
| 692 | } | ||
| 693 | .uk-grid-width-1-6 > * { | ||
| 694 | width: 16.666%; | ||
| 695 | } | ||
| 696 | .uk-grid-width-1-10 > * { | ||
| 697 | width: 10%; | ||
| 698 | } | ||
| 699 | .uk-grid-width-auto > * { | ||
| 700 | width: auto; | ||
| 701 | } | ||
| 702 | /* Phone landscape and bigger */ | ||
| 703 | @media (min-width: 480px) { | ||
| 704 | .uk-grid-width-small-1-1 > * { | ||
| 705 | width: 100%; | ||
| 706 | } | ||
| 707 | .uk-grid-width-small-1-2 > * { | ||
| 708 | width: 50%; | ||
| 709 | } | ||
| 710 | .uk-grid-width-small-1-3 > * { | ||
| 711 | width: 33.333%; | ||
| 712 | } | ||
| 713 | .uk-grid-width-small-1-4 > * { | ||
| 714 | width: 25%; | ||
| 715 | } | ||
| 716 | .uk-grid-width-small-1-5 > * { | ||
| 717 | width: 20%; | ||
| 718 | } | ||
| 719 | .uk-grid-width-small-1-6 > * { | ||
| 720 | width: 16.666%; | ||
| 721 | } | ||
| 722 | .uk-grid-width-small-1-10 > * { | ||
| 723 | width: 10%; | ||
| 724 | } | ||
| 725 | } | ||
| 726 | /* Tablet and bigger */ | ||
| 727 | @media (min-width: 768px) { | ||
| 728 | .uk-grid-width-medium-1-1 > * { | ||
| 729 | width: 100%; | ||
| 730 | } | ||
| 731 | .uk-grid-width-medium-1-2 > * { | ||
| 732 | width: 50%; | ||
| 733 | } | ||
| 734 | .uk-grid-width-medium-1-3 > * { | ||
| 735 | width: 33.333%; | ||
| 736 | } | ||
| 737 | .uk-grid-width-medium-1-4 > * { | ||
| 738 | width: 25%; | ||
| 739 | } | ||
| 740 | .uk-grid-width-medium-1-5 > * { | ||
| 741 | width: 20%; | ||
| 742 | } | ||
| 743 | .uk-grid-width-medium-1-6 > * { | ||
| 744 | width: 16.666%; | ||
| 745 | } | ||
| 746 | .uk-grid-width-medium-1-10 > * { | ||
| 747 | width: 10%; | ||
| 748 | } | ||
| 749 | } | ||
| 750 | /* Desktop and bigger */ | ||
| 751 | @media (min-width: 960px) { | ||
| 752 | .uk-grid-width-large-1-1 > * { | ||
| 753 | width: 100%; | ||
| 754 | } | ||
| 755 | .uk-grid-width-large-1-2 > * { | ||
| 756 | width: 50%; | ||
| 757 | } | ||
| 758 | .uk-grid-width-large-1-3 > * { | ||
| 759 | width: 33.333%; | ||
| 760 | } | ||
| 761 | .uk-grid-width-large-1-4 > * { | ||
| 762 | width: 25%; | ||
| 763 | } | ||
| 764 | .uk-grid-width-large-1-5 > * { | ||
| 765 | width: 20%; | ||
| 766 | } | ||
| 767 | .uk-grid-width-large-1-6 > * { | ||
| 768 | width: 16.666%; | ||
| 769 | } | ||
| 770 | .uk-grid-width-large-1-10 > * { | ||
| 771 | width: 10%; | ||
| 772 | } | ||
| 773 | } | ||
| 774 | /* Large screen and bigger */ | ||
| 775 | @media (min-width: 1220px) { | ||
| 776 | .uk-grid-width-xlarge-1-1 > * { | ||
| 777 | width: 100%; | ||
| 778 | } | ||
| 779 | .uk-grid-width-xlarge-1-2 > * { | ||
| 780 | width: 50%; | ||
| 781 | } | ||
| 782 | .uk-grid-width-xlarge-1-3 > * { | ||
| 783 | width: 33.333%; | ||
| 784 | } | ||
| 785 | .uk-grid-width-xlarge-1-4 > * { | ||
| 786 | width: 25%; | ||
| 787 | } | ||
| 788 | .uk-grid-width-xlarge-1-5 > * { | ||
| 789 | width: 20%; | ||
| 790 | } | ||
| 791 | .uk-grid-width-xlarge-1-6 > * { | ||
| 792 | width: 16.666%; | ||
| 793 | } | ||
| 794 | .uk-grid-width-xlarge-1-10 > * { | ||
| 795 | width: 10%; | ||
| 796 | } | ||
| 797 | } | ||
| 798 | /* Sub-objects: `uk-width-*` | ||
| 799 | ========================================================================== */ | ||
| 800 | [class*='uk-width'] { | ||
| 801 | box-sizing: border-box; | ||
| 802 | width: 100%; | ||
| 803 | } | ||
| 804 | /* | ||
| 805 | * Widths | ||
| 806 | */ | ||
| 807 | /* Whole */ | ||
| 808 | .uk-width-1-1 { | ||
| 809 | width: 100%; | ||
| 810 | } | ||
| 811 | /* Halves */ | ||
| 812 | .uk-width-1-2, | ||
| 813 | .uk-width-2-4, | ||
| 814 | .uk-width-3-6, | ||
| 815 | .uk-width-5-10 { | ||
| 816 | width: 50%; | ||
| 817 | } | ||
| 818 | /* Thirds */ | ||
| 819 | .uk-width-1-3, | ||
| 820 | .uk-width-2-6 { | ||
| 821 | width: 33.333%; | ||
| 822 | } | ||
| 823 | .uk-width-2-3, | ||
| 824 | .uk-width-4-6 { | ||
| 825 | width: 66.666%; | ||
| 826 | } | ||
| 827 | /* Quarters */ | ||
| 828 | .uk-width-1-4 { | ||
| 829 | width: 25%; | ||
| 830 | } | ||
| 831 | .uk-width-3-4 { | ||
| 832 | width: 75%; | ||
| 833 | } | ||
| 834 | /* Fifths */ | ||
| 835 | .uk-width-1-5, | ||
| 836 | .uk-width-2-10 { | ||
| 837 | width: 20%; | ||
| 838 | } | ||
| 839 | .uk-width-2-5, | ||
| 840 | .uk-width-4-10 { | ||
| 841 | width: 40%; | ||
| 842 | } | ||
| 843 | .uk-width-3-5, | ||
| 844 | .uk-width-6-10 { | ||
| 845 | width: 60%; | ||
| 846 | } | ||
| 847 | .uk-width-4-5, | ||
| 848 | .uk-width-8-10 { | ||
| 849 | width: 80%; | ||
| 850 | } | ||
| 851 | /* Sixths */ | ||
| 852 | .uk-width-1-6 { | ||
| 853 | width: 16.666%; | ||
| 854 | } | ||
| 855 | .uk-width-5-6 { | ||
| 856 | width: 83.333%; | ||
| 857 | } | ||
| 858 | /* Tenths */ | ||
| 859 | .uk-width-1-10 { | ||
| 860 | width: 10%; | ||
| 861 | } | ||
| 862 | .uk-width-3-10 { | ||
| 863 | width: 30%; | ||
| 864 | } | ||
| 865 | .uk-width-7-10 { | ||
| 866 | width: 70%; | ||
| 867 | } | ||
| 868 | .uk-width-9-10 { | ||
| 869 | width: 90%; | ||
| 870 | } | ||
| 871 | /* Phone landscape and bigger */ | ||
| 872 | @media (min-width: 480px) { | ||
| 873 | /* Whole */ | ||
| 874 | .uk-width-small-1-1 { | ||
| 875 | width: 100%; | ||
| 876 | } | ||
| 877 | /* Halves */ | ||
| 878 | .uk-width-small-1-2, | ||
| 879 | .uk-width-small-2-4, | ||
| 880 | .uk-width-small-3-6, | ||
| 881 | .uk-width-small-5-10 { | ||
| 882 | width: 50%; | ||
| 883 | } | ||
| 884 | /* Thirds */ | ||
| 885 | .uk-width-small-1-3, | ||
| 886 | .uk-width-small-2-6 { | ||
| 887 | width: 33.333%; | ||
| 888 | } | ||
| 889 | .uk-width-small-2-3, | ||
| 890 | .uk-width-small-4-6 { | ||
| 891 | width: 66.666%; | ||
| 892 | } | ||
| 893 | /* Quarters */ | ||
| 894 | .uk-width-small-1-4 { | ||
| 895 | width: 25%; | ||
| 896 | } | ||
| 897 | .uk-width-small-3-4 { | ||
| 898 | width: 75%; | ||
| 899 | } | ||
| 900 | /* Fifths */ | ||
| 901 | .uk-width-small-1-5, | ||
| 902 | .uk-width-small-2-10 { | ||
| 903 | width: 20%; | ||
| 904 | } | ||
| 905 | .uk-width-small-2-5, | ||
| 906 | .uk-width-small-4-10 { | ||
| 907 | width: 40%; | ||
| 908 | } | ||
| 909 | .uk-width-small-3-5, | ||
| 910 | .uk-width-small-6-10 { | ||
| 911 | width: 60%; | ||
| 912 | } | ||
| 913 | .uk-width-small-4-5, | ||
| 914 | .uk-width-small-8-10 { | ||
| 915 | width: 80%; | ||
| 916 | } | ||
| 917 | /* Sixths */ | ||
| 918 | .uk-width-small-1-6 { | ||
| 919 | width: 16.666%; | ||
| 920 | } | ||
| 921 | .uk-width-small-5-6 { | ||
| 922 | width: 83.333%; | ||
| 923 | } | ||
| 924 | /* Tenths */ | ||
| 925 | .uk-width-small-1-10 { | ||
| 926 | width: 10%; | ||
| 927 | } | ||
| 928 | .uk-width-small-3-10 { | ||
| 929 | width: 30%; | ||
| 930 | } | ||
| 931 | .uk-width-small-7-10 { | ||
| 932 | width: 70%; | ||
| 933 | } | ||
| 934 | .uk-width-small-9-10 { | ||
| 935 | width: 90%; | ||
| 936 | } | ||
| 937 | } | ||
| 938 | /* Tablet and bigger */ | ||
| 939 | @media (min-width: 768px) { | ||
| 940 | /* Whole */ | ||
| 941 | .uk-width-medium-1-1 { | ||
| 942 | width: 100%; | ||
| 943 | } | ||
| 944 | /* Halves */ | ||
| 945 | .uk-width-medium-1-2, | ||
| 946 | .uk-width-medium-2-4, | ||
| 947 | .uk-width-medium-3-6, | ||
| 948 | .uk-width-medium-5-10 { | ||
| 949 | width: 50%; | ||
| 950 | } | ||
| 951 | /* Thirds */ | ||
| 952 | .uk-width-medium-1-3, | ||
| 953 | .uk-width-medium-2-6 { | ||
| 954 | width: 33.333%; | ||
| 955 | } | ||
| 956 | .uk-width-medium-2-3, | ||
| 957 | .uk-width-medium-4-6 { | ||
| 958 | width: 66.666%; | ||
| 959 | } | ||
| 960 | /* Quarters */ | ||
| 961 | .uk-width-medium-1-4 { | ||
| 962 | width: 25%; | ||
| 963 | } | ||
| 964 | .uk-width-medium-3-4 { | ||
| 965 | width: 75%; | ||
| 966 | } | ||
| 967 | /* Fifths */ | ||
| 968 | .uk-width-medium-1-5, | ||
| 969 | .uk-width-medium-2-10 { | ||
| 970 | width: 20%; | ||
| 971 | } | ||
| 972 | .uk-width-medium-2-5, | ||
| 973 | .uk-width-medium-4-10 { | ||
| 974 | width: 40%; | ||
| 975 | } | ||
| 976 | .uk-width-medium-3-5, | ||
| 977 | .uk-width-medium-6-10 { | ||
| 978 | width: 60%; | ||
| 979 | } | ||
| 980 | .uk-width-medium-4-5, | ||
| 981 | .uk-width-medium-8-10 { | ||
| 982 | width: 80%; | ||
| 983 | } | ||
| 984 | /* Sixths */ | ||
| 985 | .uk-width-medium-1-6 { | ||
| 986 | width: 16.666%; | ||
| 987 | } | ||
| 988 | .uk-width-medium-5-6 { | ||
| 989 | width: 83.333%; | ||
| 990 | } | ||
| 991 | /* Tenths */ | ||
| 992 | .uk-width-medium-1-10 { | ||
| 993 | width: 10%; | ||
| 994 | } | ||
| 995 | .uk-width-medium-3-10 { | ||
| 996 | width: 30%; | ||
| 997 | } | ||
| 998 | .uk-width-medium-7-10 { | ||
| 999 | width: 70%; | ||
| 1000 | } | ||
| 1001 | .uk-width-medium-9-10 { | ||
| 1002 | width: 90%; | ||
| 1003 | } | ||
| 1004 | } | ||
| 1005 | /* Desktop and bigger */ | ||
| 1006 | @media (min-width: 960px) { | ||
| 1007 | /* Whole */ | ||
| 1008 | .uk-width-large-1-1 { | ||
| 1009 | width: 100%; | ||
| 1010 | } | ||
| 1011 | /* Halves */ | ||
| 1012 | .uk-width-large-1-2, | ||
| 1013 | .uk-width-large-2-4, | ||
| 1014 | .uk-width-large-3-6, | ||
| 1015 | .uk-width-large-5-10 { | ||
| 1016 | width: 50%; | ||
| 1017 | } | ||
| 1018 | /* Thirds */ | ||
| 1019 | .uk-width-large-1-3, | ||
| 1020 | .uk-width-large-2-6 { | ||
| 1021 | width: 33.333%; | ||
| 1022 | } | ||
| 1023 | .uk-width-large-2-3, | ||
| 1024 | .uk-width-large-4-6 { | ||
| 1025 | width: 66.666%; | ||
| 1026 | } | ||
| 1027 | /* Quarters */ | ||
| 1028 | .uk-width-large-1-4 { | ||
| 1029 | width: 25%; | ||
| 1030 | } | ||
| 1031 | .uk-width-large-3-4 { | ||
| 1032 | width: 75%; | ||
| 1033 | } | ||
| 1034 | /* Fifths */ | ||
| 1035 | .uk-width-large-1-5, | ||
| 1036 | .uk-width-large-2-10 { | ||
| 1037 | width: 20%; | ||
| 1038 | } | ||
| 1039 | .uk-width-large-2-5, | ||
| 1040 | .uk-width-large-4-10 { | ||
| 1041 | width: 40%; | ||
| 1042 | } | ||
| 1043 | .uk-width-large-3-5, | ||
| 1044 | .uk-width-large-6-10 { | ||
| 1045 | width: 60%; | ||
| 1046 | } | ||
| 1047 | .uk-width-large-4-5, | ||
| 1048 | .uk-width-large-8-10 { | ||
| 1049 | width: 80%; | ||
| 1050 | } | ||
| 1051 | /* Sixths */ | ||
| 1052 | .uk-width-large-1-6 { | ||
| 1053 | width: 16.666%; | ||
| 1054 | } | ||
| 1055 | .uk-width-large-5-6 { | ||
| 1056 | width: 83.333%; | ||
| 1057 | } | ||
| 1058 | /* Tenths */ | ||
| 1059 | .uk-width-large-1-10 { | ||
| 1060 | width: 10%; | ||
| 1061 | } | ||
| 1062 | .uk-width-large-3-10 { | ||
| 1063 | width: 30%; | ||
| 1064 | } | ||
| 1065 | .uk-width-large-7-10 { | ||
| 1066 | width: 70%; | ||
| 1067 | } | ||
| 1068 | .uk-width-large-9-10 { | ||
| 1069 | width: 90%; | ||
| 1070 | } | ||
| 1071 | } | ||
| 1072 | /* Large screen and bigger */ | ||
| 1073 | @media (min-width: 1220px) { | ||
| 1074 | /* Whole */ | ||
| 1075 | .uk-width-xlarge-1-1 { | ||
| 1076 | width: 100%; | ||
| 1077 | } | ||
| 1078 | /* Halves */ | ||
| 1079 | .uk-width-xlarge-1-2, | ||
| 1080 | .uk-width-xlarge-2-4, | ||
| 1081 | .uk-width-xlarge-3-6, | ||
| 1082 | .uk-width-xlarge-5-10 { | ||
| 1083 | width: 50%; | ||
| 1084 | } | ||
| 1085 | /* Thirds */ | ||
| 1086 | .uk-width-xlarge-1-3, | ||
| 1087 | .uk-width-xlarge-2-6 { | ||
| 1088 | width: 33.333%; | ||
| 1089 | } | ||
| 1090 | .uk-width-xlarge-2-3, | ||
| 1091 | .uk-width-xlarge-4-6 { | ||
| 1092 | width: 66.666%; | ||
| 1093 | } | ||
| 1094 | /* Quarters */ | ||
| 1095 | .uk-width-xlarge-1-4 { | ||
| 1096 | width: 25%; | ||
| 1097 | } | ||
| 1098 | .uk-width-xlarge-3-4 { | ||
| 1099 | width: 75%; | ||
| 1100 | } | ||
| 1101 | /* Fifths */ | ||
| 1102 | .uk-width-xlarge-1-5, | ||
| 1103 | .uk-width-xlarge-2-10 { | ||
| 1104 | width: 20%; | ||
| 1105 | } | ||
| 1106 | .uk-width-xlarge-2-5, | ||
| 1107 | .uk-width-xlarge-4-10 { | ||
| 1108 | width: 40%; | ||
| 1109 | } | ||
| 1110 | .uk-width-xlarge-3-5, | ||
| 1111 | .uk-width-xlarge-6-10 { | ||
| 1112 | width: 60%; | ||
| 1113 | } | ||
| 1114 | .uk-width-xlarge-4-5, | ||
| 1115 | .uk-width-xlarge-8-10 { | ||
| 1116 | width: 80%; | ||
| 1117 | } | ||
| 1118 | /* Sixths */ | ||
| 1119 | .uk-width-xlarge-1-6 { | ||
| 1120 | width: 16.666%; | ||
| 1121 | } | ||
| 1122 | .uk-width-xlarge-5-6 { | ||
| 1123 | width: 83.333%; | ||
| 1124 | } | ||
| 1125 | /* Tenths */ | ||
| 1126 | .uk-width-xlarge-1-10 { | ||
| 1127 | width: 10%; | ||
| 1128 | } | ||
| 1129 | .uk-width-xlarge-3-10 { | ||
| 1130 | width: 30%; | ||
| 1131 | } | ||
| 1132 | .uk-width-xlarge-7-10 { | ||
| 1133 | width: 70%; | ||
| 1134 | } | ||
| 1135 | .uk-width-xlarge-9-10 { | ||
| 1136 | width: 90%; | ||
| 1137 | } | ||
| 1138 | } | ||
| 1139 | /* Sub-object: `uk-push-*` and `uk-pull-*` | ||
| 1140 | ========================================================================== */ | ||
| 1141 | /* | ||
| 1142 | * Source ordering | ||
| 1143 | * Works only with `uk-width-medium-*` | ||
| 1144 | */ | ||
| 1145 | /* Tablet and bigger */ | ||
| 1146 | @media (min-width: 768px) { | ||
| 1147 | [class*='uk-push-'], | ||
| 1148 | [class*='uk-pull-'] { | ||
| 1149 | position: relative; | ||
| 1150 | } | ||
| 1151 | /* | ||
| 1152 | * Push | ||
| 1153 | */ | ||
| 1154 | /* Halves */ | ||
| 1155 | .uk-push-1-2, | ||
| 1156 | .uk-push-2-4, | ||
| 1157 | .uk-push-3-6, | ||
| 1158 | .uk-push-5-10 { | ||
| 1159 | left: 50%; | ||
| 1160 | } | ||
| 1161 | /* Thirds */ | ||
| 1162 | .uk-push-1-3, | ||
| 1163 | .uk-push-2-6 { | ||
| 1164 | left: 33.333%; | ||
| 1165 | } | ||
| 1166 | .uk-push-2-3, | ||
| 1167 | .uk-push-4-6 { | ||
| 1168 | left: 66.666%; | ||
| 1169 | } | ||
| 1170 | /* Quarters */ | ||
| 1171 | .uk-push-1-4 { | ||
| 1172 | left: 25%; | ||
| 1173 | } | ||
| 1174 | .uk-push-3-4 { | ||
| 1175 | left: 75%; | ||
| 1176 | } | ||
| 1177 | /* Fifths */ | ||
| 1178 | .uk-push-1-5, | ||
| 1179 | .uk-push-2-10 { | ||
| 1180 | left: 20%; | ||
| 1181 | } | ||
| 1182 | .uk-push-2-5, | ||
| 1183 | .uk-push-4-10 { | ||
| 1184 | left: 40%; | ||
| 1185 | } | ||
| 1186 | .uk-push-3-5, | ||
| 1187 | .uk-push-6-10 { | ||
| 1188 | left: 60%; | ||
| 1189 | } | ||
| 1190 | .uk-push-4-5, | ||
| 1191 | .uk-push-8-10 { | ||
| 1192 | left: 80%; | ||
| 1193 | } | ||
| 1194 | /* Sixths */ | ||
| 1195 | .uk-push-1-6 { | ||
| 1196 | left: 16.666%; | ||
| 1197 | } | ||
| 1198 | .uk-push-5-6 { | ||
| 1199 | left: 83.333%; | ||
| 1200 | } | ||
| 1201 | /* Tenths */ | ||
| 1202 | .uk-push-1-10 { | ||
| 1203 | left: 10%; | ||
| 1204 | } | ||
| 1205 | .uk-push-3-10 { | ||
| 1206 | left: 30%; | ||
| 1207 | } | ||
| 1208 | .uk-push-7-10 { | ||
| 1209 | left: 70%; | ||
| 1210 | } | ||
| 1211 | .uk-push-9-10 { | ||
| 1212 | left: 90%; | ||
| 1213 | } | ||
| 1214 | /* | ||
| 1215 | * Pull | ||
| 1216 | */ | ||
| 1217 | /* Halves */ | ||
| 1218 | .uk-pull-1-2, | ||
| 1219 | .uk-pull-2-4, | ||
| 1220 | .uk-pull-3-6, | ||
| 1221 | .uk-pull-5-10 { | ||
| 1222 | left: -50%; | ||
| 1223 | } | ||
| 1224 | /* Thirds */ | ||
| 1225 | .uk-pull-1-3, | ||
| 1226 | .uk-pull-2-6 { | ||
| 1227 | left: -33.333%; | ||
| 1228 | } | ||
| 1229 | .uk-pull-2-3, | ||
| 1230 | .uk-pull-4-6 { | ||
| 1231 | left: -66.666%; | ||
| 1232 | } | ||
| 1233 | /* Quarters */ | ||
| 1234 | .uk-pull-1-4 { | ||
| 1235 | left: -25%; | ||
| 1236 | } | ||
| 1237 | .uk-pull-3-4 { | ||
| 1238 | left: -75%; | ||
| 1239 | } | ||
| 1240 | /* Fifths */ | ||
| 1241 | .uk-pull-1-5, | ||
| 1242 | .uk-pull-2-10 { | ||
| 1243 | left: -20%; | ||
| 1244 | } | ||
| 1245 | .uk-pull-2-5, | ||
| 1246 | .uk-pull-4-10 { | ||
| 1247 | left: -40%; | ||
| 1248 | } | ||
| 1249 | .uk-pull-3-5, | ||
| 1250 | .uk-pull-6-10 { | ||
| 1251 | left: -60%; | ||
| 1252 | } | ||
| 1253 | .uk-pull-4-5, | ||
| 1254 | .uk-pull-8-10 { | ||
| 1255 | left: -80%; | ||
| 1256 | } | ||
| 1257 | /* Sixths */ | ||
| 1258 | .uk-pull-1-6 { | ||
| 1259 | left: -16.666%; | ||
| 1260 | } | ||
| 1261 | .uk-pull-5-6 { | ||
| 1262 | left: -83.333%; | ||
| 1263 | } | ||
| 1264 | /* Tenths */ | ||
| 1265 | .uk-pull-1-10 { | ||
| 1266 | left: -10%; | ||
| 1267 | } | ||
| 1268 | .uk-pull-3-10 { | ||
| 1269 | left: -30%; | ||
| 1270 | } | ||
| 1271 | .uk-pull-7-10 { | ||
| 1272 | left: -70%; | ||
| 1273 | } | ||
| 1274 | .uk-pull-9-10 { | ||
| 1275 | left: -90%; | ||
| 1276 | } | ||
| 1277 | } | ||
| 1278 | /* ======================================================================== | ||
| 1279 | Component: Panel | ||
| 1280 | ========================================================================== */ | ||
| 1281 | /* | ||
| 1282 | * 1. Needed for `a` elements | ||
| 1283 | * 2. Create position context for badges | ||
| 1284 | */ | ||
| 1285 | .uk-panel { | ||
| 1286 | /* 1 */ | ||
| 1287 | display: block; | ||
| 1288 | /* 2 */ | ||
| 1289 | position: relative; | ||
| 1290 | } | ||
| 1291 | /* | ||
| 1292 | * Allow panels to be anchors | ||
| 1293 | */ | ||
| 1294 | .uk-panel, | ||
| 1295 | .uk-panel:hover { | ||
| 1296 | text-decoration: none; | ||
| 1297 | } | ||
| 1298 | /* | ||
| 1299 | * Micro clearfix to make panels more robust | ||
| 1300 | */ | ||
| 1301 | .uk-panel:before, | ||
| 1302 | .uk-panel:after { | ||
| 1303 | content: ""; | ||
| 1304 | display: table; | ||
| 1305 | } | ||
| 1306 | .uk-panel:after { | ||
| 1307 | clear: both; | ||
| 1308 | } | ||
| 1309 | /* | ||
| 1310 | * Remove margin from the last-child if not `uk-widget-title` | ||
| 1311 | */ | ||
| 1312 | .uk-panel > :not(.uk-panel-title):last-child { | ||
| 1313 | margin-bottom: 0; | ||
| 1314 | } | ||
| 1315 | /* Sub-object: `uk-panel-title` | ||
| 1316 | ========================================================================== */ | ||
| 1317 | .uk-panel-title { | ||
| 1318 | margin-top: 0; | ||
| 1319 | margin-bottom: 15px; | ||
| 1320 | font-size: 18px; | ||
| 1321 | line-height: 24px; | ||
| 1322 | font-weight: normal; | ||
| 1323 | text-transform: none; | ||
| 1324 | color: #444; | ||
| 1325 | } | ||
| 1326 | /* Sub-object: `uk-panel-badge` | ||
| 1327 | ========================================================================== */ | ||
| 1328 | .uk-panel-badge { | ||
| 1329 | position: absolute; | ||
| 1330 | top: 0; | ||
| 1331 | right: 0; | ||
| 1332 | z-index: 1; | ||
| 1333 | } | ||
| 1334 | /* Sub-object: `uk-panel-teaser` | ||
| 1335 | ========================================================================== */ | ||
| 1336 | .uk-panel-teaser { | ||
| 1337 | margin-bottom: 15px; | ||
| 1338 | } | ||
| 1339 | /* Sub-object: `uk-panel-body` | ||
| 1340 | ========================================================================== */ | ||
| 1341 | .uk-panel-body { | ||
| 1342 | padding: 15px; | ||
| 1343 | } | ||
| 1344 | /* Modifier: `uk-panel-box` | ||
| 1345 | ========================================================================== */ | ||
| 1346 | .uk-panel-box { | ||
| 1347 | padding: 15px; | ||
| 1348 | background: #fafafa; | ||
| 1349 | color: #444; | ||
| 1350 | border: 1px solid #ddd; | ||
| 1351 | border-radius: 4px; | ||
| 1352 | } | ||
| 1353 | .uk-panel-box-hover:hover { | ||
| 1354 | color: #444; | ||
| 1355 | } | ||
| 1356 | .uk-panel-box .uk-panel-title { | ||
| 1357 | color: #444; | ||
| 1358 | } | ||
| 1359 | .uk-panel-box .uk-panel-badge { | ||
| 1360 | top: 10px; | ||
| 1361 | right: 10px; | ||
| 1362 | } | ||
| 1363 | .uk-panel-box > .uk-panel-teaser { | ||
| 1364 | margin-top: -16px; | ||
| 1365 | margin-left: -16px; | ||
| 1366 | margin-right: -16px; | ||
| 1367 | } | ||
| 1368 | /* | ||
| 1369 | * Nav in panel | ||
| 1370 | */ | ||
| 1371 | .uk-panel-box > .uk-nav-side { | ||
| 1372 | margin: 0 -15px; | ||
| 1373 | } | ||
| 1374 | /* | ||
| 1375 | * Sub-modifier: `uk-panel-box-primary` | ||
| 1376 | */ | ||
| 1377 | .uk-panel-box-primary { | ||
| 1378 | background-color: #ebf7fd; | ||
| 1379 | color: #2d7091; | ||
| 1380 | border-color: rgba(45, 112, 145, 0.3); | ||
| 1381 | } | ||
| 1382 | .uk-panel-box-primary-hover:hover { | ||
| 1383 | color: #2d7091; | ||
| 1384 | } | ||
| 1385 | .uk-panel-box-primary .uk-panel-title { | ||
| 1386 | color: #2d7091; | ||
| 1387 | } | ||
| 1388 | /* | ||
| 1389 | * Sub-modifier: `uk-panel-box-secondary` | ||
| 1390 | */ | ||
| 1391 | .uk-panel-box-secondary { | ||
| 1392 | background-color: #fff; | ||
| 1393 | color: #444; | ||
| 1394 | } | ||
| 1395 | .uk-panel-box-secondary-hover:hover { | ||
| 1396 | color: #444; | ||
| 1397 | } | ||
| 1398 | .uk-panel-box-secondary .uk-panel-title { | ||
| 1399 | color: #444; | ||
| 1400 | } | ||
| 1401 | /* Modifier: `uk-panel-hover` | ||
| 1402 | ========================================================================== */ | ||
| 1403 | .uk-panel-hover { | ||
| 1404 | padding: 15px; | ||
| 1405 | color: #444; | ||
| 1406 | border: 1px solid transparent; | ||
| 1407 | border-radius: 4px; | ||
| 1408 | } | ||
| 1409 | .uk-panel-hover:hover { | ||
| 1410 | background: #fafafa; | ||
| 1411 | color: #444; | ||
| 1412 | border-color: #ddd; | ||
| 1413 | } | ||
| 1414 | .uk-panel-hover .uk-panel-badge { | ||
| 1415 | top: 10px; | ||
| 1416 | right: 10px; | ||
| 1417 | } | ||
| 1418 | .uk-panel-hover > .uk-panel-teaser { | ||
| 1419 | margin-top: -16px; | ||
| 1420 | margin-left: -16px; | ||
| 1421 | margin-right: -16px; | ||
| 1422 | } | ||
| 1423 | /* Modifier: `uk-panel-header` | ||
| 1424 | ========================================================================== */ | ||
| 1425 | .uk-panel-header .uk-panel-title { | ||
| 1426 | padding-bottom: 10px; | ||
| 1427 | border-bottom: 1px solid #ddd; | ||
| 1428 | color: #444; | ||
| 1429 | } | ||
| 1430 | /* Modifier: `uk-panel-space` | ||
| 1431 | ========================================================================== */ | ||
| 1432 | .uk-panel-space { | ||
| 1433 | padding: 30px; | ||
| 1434 | } | ||
| 1435 | .uk-panel-space .uk-panel-badge { | ||
| 1436 | top: 30px; | ||
| 1437 | right: 30px; | ||
| 1438 | } | ||
| 1439 | /* Modifier: `uk-panel-divider` | ||
| 1440 | ========================================================================== */ | ||
| 1441 | .uk-panel + .uk-panel-divider { | ||
| 1442 | margin-top: 50px !important; | ||
| 1443 | } | ||
| 1444 | .uk-panel + .uk-panel-divider:before { | ||
| 1445 | content: ""; | ||
| 1446 | display: block; | ||
| 1447 | position: absolute; | ||
| 1448 | top: -25px; | ||
| 1449 | left: 0; | ||
| 1450 | right: 0; | ||
| 1451 | border-top: 1px solid #ddd; | ||
| 1452 | } | ||
| 1453 | /* Large screen and bigger */ | ||
| 1454 | @media (min-width: 1220px) { | ||
| 1455 | .uk-panel + .uk-panel-divider { | ||
| 1456 | margin-top: 70px !important; | ||
| 1457 | } | ||
| 1458 | .uk-panel + .uk-panel-divider:before { | ||
| 1459 | top: -35px; | ||
| 1460 | } | ||
| 1461 | } | ||
| 1462 | .uk-panel-box .uk-panel-teaser { | ||
| 1463 | border-top-left-radius: 4px; | ||
| 1464 | border-top-right-radius: 4px; | ||
| 1465 | overflow: hidden; | ||
| 1466 | -webkit-transform: translateZ(0); | ||
| 1467 | } | ||
| 1468 | /* ======================================================================== | ||
| 1469 | Component: Block | ||
| 1470 | ========================================================================== */ | ||
| 1471 | .uk-block { | ||
| 1472 | position: relative; | ||
| 1473 | box-sizing: border-box; | ||
| 1474 | padding-top: 20px; | ||
| 1475 | padding-bottom: 20px; | ||
| 1476 | } | ||
| 1477 | /* Phone landscape and bigger */ | ||
| 1478 | @media (min-width: 768px) { | ||
| 1479 | .uk-block { | ||
| 1480 | padding-top: 50px; | ||
| 1481 | padding-bottom: 50px; | ||
| 1482 | } | ||
| 1483 | } | ||
| 1484 | /* | ||
| 1485 | * Micro clearfix to make blocks more robust | ||
| 1486 | */ | ||
| 1487 | .uk-block:before, | ||
| 1488 | .uk-block:after { | ||
| 1489 | content: ""; | ||
| 1490 | display: table; | ||
| 1491 | } | ||
| 1492 | .uk-block:after { | ||
| 1493 | clear: both; | ||
| 1494 | } | ||
| 1495 | /* | ||
| 1496 | * Remove margin from the last-child | ||
| 1497 | */ | ||
| 1498 | .uk-block > :last-child { | ||
| 1499 | margin-bottom: 0; | ||
| 1500 | } | ||
| 1501 | /* Padding Modifier | ||
| 1502 | ========================================================================== */ | ||
| 1503 | /* | ||
| 1504 | * Large padding | ||
| 1505 | */ | ||
| 1506 | .uk-block-large { | ||
| 1507 | padding-top: 20px; | ||
| 1508 | padding-bottom: 20px; | ||
| 1509 | } | ||
| 1510 | /* Tablets and bigger */ | ||
| 1511 | @media (min-width: 768px) { | ||
| 1512 | .uk-block-large { | ||
| 1513 | padding-top: 50px; | ||
| 1514 | padding-bottom: 50px; | ||
| 1515 | } | ||
| 1516 | } | ||
| 1517 | /* Desktop and bigger */ | ||
| 1518 | @media (min-width: 960px) { | ||
| 1519 | .uk-block-large { | ||
| 1520 | padding-top: 100px; | ||
| 1521 | padding-bottom: 100px; | ||
| 1522 | } | ||
| 1523 | } | ||
| 1524 | /* Color Modifier | ||
| 1525 | ========================================================================== */ | ||
| 1526 | /* | ||
| 1527 | * Default | ||
| 1528 | */ | ||
| 1529 | .uk-block-default { | ||
| 1530 | background: #fff; | ||
| 1531 | } | ||
| 1532 | /* | ||
| 1533 | * Muted | ||
| 1534 | */ | ||
| 1535 | .uk-block-muted { | ||
| 1536 | background: #f9f9f9; | ||
| 1537 | } | ||
| 1538 | /* | ||
| 1539 | * Primary | ||
| 1540 | */ | ||
| 1541 | .uk-block-primary { | ||
| 1542 | background: #00a8e6; | ||
| 1543 | } | ||
| 1544 | /* | ||
| 1545 | * Secondary | ||
| 1546 | */ | ||
| 1547 | .uk-block-secondary { | ||
| 1548 | background: #222; | ||
| 1549 | } | ||
| 1550 | /* | ||
| 1551 | * Adjust padding between equal colored blocks | ||
| 1552 | */ | ||
| 1553 | .uk-block-default + .uk-block-default, | ||
| 1554 | .uk-block-muted + .uk-block-muted, | ||
| 1555 | .uk-block-primary + .uk-block-primary, | ||
| 1556 | .uk-block-secondary + .uk-block-secondary { | ||
| 1557 | padding-top: 0; | ||
| 1558 | } | ||
| 1559 | /* ======================================================================== | ||
| 1560 | Component: Article | ||
| 1561 | ========================================================================== */ | ||
| 1562 | /* | ||
| 1563 | * Micro clearfix to make articles more robust | ||
| 1564 | */ | ||
| 1565 | .uk-article:before, | ||
| 1566 | .uk-article:after { | ||
| 1567 | content: ""; | ||
| 1568 | display: table; | ||
| 1569 | } | ||
| 1570 | .uk-article:after { | ||
| 1571 | clear: both; | ||
| 1572 | } | ||
| 1573 | /* | ||
| 1574 | * Remove margin from the last-child | ||
| 1575 | */ | ||
| 1576 | .uk-article > :last-child { | ||
| 1577 | margin-bottom: 0; | ||
| 1578 | } | ||
| 1579 | /* | ||
| 1580 | * Vertical gutter for articles | ||
| 1581 | */ | ||
| 1582 | .uk-article + .uk-article { | ||
| 1583 | margin-top: 25px; | ||
| 1584 | } | ||
| 1585 | /* Sub-object `uk-article-title` | ||
| 1586 | ========================================================================== */ | ||
| 1587 | .uk-article-title { | ||
| 1588 | font-size: 36px; | ||
| 1589 | line-height: 42px; | ||
| 1590 | font-weight: normal; | ||
| 1591 | text-transform: none; | ||
| 1592 | } | ||
| 1593 | .uk-article-title a { | ||
| 1594 | color: inherit; | ||
| 1595 | text-decoration: none; | ||
| 1596 | } | ||
| 1597 | /* Sub-object `uk-article-meta` | ||
| 1598 | ========================================================================== */ | ||
| 1599 | .uk-article-meta { | ||
| 1600 | font-size: 12px; | ||
| 1601 | line-height: 18px; | ||
| 1602 | color: #999; | ||
| 1603 | } | ||
| 1604 | /* Sub-object `uk-article-lead` | ||
| 1605 | ========================================================================== */ | ||
| 1606 | .uk-article-lead { | ||
| 1607 | color: #444; | ||
| 1608 | font-size: 18px; | ||
| 1609 | line-height: 24px; | ||
| 1610 | font-weight: normal; | ||
| 1611 | } | ||
| 1612 | /* Sub-object `uk-article-divider` | ||
| 1613 | ========================================================================== */ | ||
| 1614 | .uk-article-divider { | ||
| 1615 | margin-bottom: 25px; | ||
| 1616 | border-color: #ddd; | ||
| 1617 | } | ||
| 1618 | * + .uk-article-divider { | ||
| 1619 | margin-top: 25px; | ||
| 1620 | } | ||
| 1621 | .uk-article + .uk-article { | ||
| 1622 | padding-top: 25px; | ||
| 1623 | border-top: 1px solid #ddd; | ||
| 1624 | } | ||
| 1625 | /* ======================================================================== | ||
| 1626 | Component: Comment | ||
| 1627 | ========================================================================== */ | ||
| 1628 | /* Sub-object `uk-comment-header` | ||
| 1629 | ========================================================================== */ | ||
| 1630 | .uk-comment-header { | ||
| 1631 | margin-bottom: 15px; | ||
| 1632 | padding: 10px; | ||
| 1633 | border: 1px solid #ddd; | ||
| 1634 | border-radius: 4px; | ||
| 1635 | background: #fafafa; | ||
| 1636 | } | ||
| 1637 | /* | ||
| 1638 | * Micro clearfix | ||
| 1639 | */ | ||
| 1640 | .uk-comment-header:before, | ||
| 1641 | .uk-comment-header:after { | ||
| 1642 | content: ""; | ||
| 1643 | display: table; | ||
| 1644 | } | ||
| 1645 | .uk-comment-header:after { | ||
| 1646 | clear: both; | ||
| 1647 | } | ||
| 1648 | /* Sub-object `uk-comment-avatar` | ||
| 1649 | ========================================================================== */ | ||
| 1650 | .uk-comment-avatar { | ||
| 1651 | margin-right: 15px; | ||
| 1652 | float: left; | ||
| 1653 | } | ||
| 1654 | /* Sub-object `uk-comment-title` | ||
| 1655 | ========================================================================== */ | ||
| 1656 | .uk-comment-title { | ||
| 1657 | margin: 5px 0 0 0; | ||
| 1658 | font-size: 16px; | ||
| 1659 | line-height: 22px; | ||
| 1660 | } | ||
| 1661 | /* Sub-object `uk-comment-meta` | ||
| 1662 | ========================================================================== */ | ||
| 1663 | .uk-comment-meta { | ||
| 1664 | margin: 2px 0 0 0; | ||
| 1665 | font-size: 11px; | ||
| 1666 | line-height: 16px; | ||
| 1667 | color: #999; | ||
| 1668 | } | ||
| 1669 | /* Sub-object `uk-comment-body` | ||
| 1670 | ========================================================================== */ | ||
| 1671 | .uk-comment-body { | ||
| 1672 | padding-left: 10px; | ||
| 1673 | padding-right: 10px; | ||
| 1674 | } | ||
| 1675 | /* | ||
| 1676 | * Remove margin from the last-child | ||
| 1677 | */ | ||
| 1678 | .uk-comment-body > :last-child { | ||
| 1679 | margin-bottom: 0; | ||
| 1680 | } | ||
| 1681 | /* Sub-object `uk-comment-list` | ||
| 1682 | ========================================================================== */ | ||
| 1683 | .uk-comment-list { | ||
| 1684 | padding: 0; | ||
| 1685 | list-style: none; | ||
| 1686 | } | ||
| 1687 | .uk-comment-list .uk-comment + ul { | ||
| 1688 | margin: 25px 0 0 0; | ||
| 1689 | list-style: none; | ||
| 1690 | } | ||
| 1691 | .uk-comment-list > li:nth-child(n+2), | ||
| 1692 | .uk-comment-list .uk-comment + ul > li:nth-child(n+2) { | ||
| 1693 | margin-top: 25px; | ||
| 1694 | } | ||
| 1695 | /* Tablet and bigger */ | ||
| 1696 | @media (min-width: 768px) { | ||
| 1697 | .uk-comment-list .uk-comment + ul { | ||
| 1698 | padding-left: 100px; | ||
| 1699 | } | ||
| 1700 | } | ||
| 1701 | /* Modifier `uk-comment-primary` | ||
| 1702 | ========================================================================== */ | ||
| 1703 | .uk-comment-primary .uk-comment-header { | ||
| 1704 | border-color: rgba(45, 112, 145, 0.3); | ||
| 1705 | background-color: #ebf7fd; | ||
| 1706 | color: #2d7091; | ||
| 1707 | text-shadow: 0 1px 0 #fff; | ||
| 1708 | } | ||
| 1709 | /* ======================================================================== | ||
| 1710 | Component: Cover | ||
| 1711 | ========================================================================== */ | ||
| 1712 | /* | ||
| 1713 | * Background image always covers and centers its element | ||
| 1714 | */ | ||
| 1715 | .uk-cover-background { | ||
| 1716 | background-position: 50% 50%; | ||
| 1717 | background-size: cover; | ||
| 1718 | background-repeat: no-repeat; | ||
| 1719 | } | ||
| 1720 | /* | ||
| 1721 | * Emulates image cover, works with video and image elements | ||
| 1722 | * 1. Parent container which clips resized object | ||
| 1723 | * 2. Resizes the object to always covers its container | ||
| 1724 | * 3. Reset the responsive image CSS | ||
| 1725 | * 4. Center object | ||
| 1726 | */ | ||
| 1727 | /* 1 */ | ||
| 1728 | .uk-cover { | ||
| 1729 | overflow: hidden; | ||
| 1730 | } | ||
| 1731 | .uk-cover-object { | ||
| 1732 | /* 2 */ | ||
| 1733 | width: auto; | ||
| 1734 | height: auto; | ||
| 1735 | min-width: 100%; | ||
| 1736 | min-height: 100%; | ||
| 1737 | /* 3 */ | ||
| 1738 | max-width: none; | ||
| 1739 | /* 4 */ | ||
| 1740 | position: relative; | ||
| 1741 | left: 50%; | ||
| 1742 | top: 50%; | ||
| 1743 | -webkit-transform: translate(-50%, -50%); | ||
| 1744 | transform: translate(-50%, -50%); | ||
| 1745 | } | ||
| 1746 | /* | ||
| 1747 | * To center iframes use `data-uk-cover` JavaScript | ||
| 1748 | */ | ||
| 1749 | [data-uk-cover] { | ||
| 1750 | position: relative; | ||
| 1751 | left: 50%; | ||
| 1752 | top: 50%; | ||
| 1753 | -webkit-transform: translate(-50%, -50%); | ||
| 1754 | transform: translate(-50%, -50%); | ||
| 1755 | } | ||
| 1756 | /* ======================================================================== | ||
| 1757 | Component: Nav | ||
| 1758 | ========================================================================== */ | ||
| 1759 | .uk-nav, | ||
| 1760 | .uk-nav ul { | ||
| 1761 | margin: 0; | ||
| 1762 | padding: 0; | ||
| 1763 | list-style: none; | ||
| 1764 | } | ||
| 1765 | /* | ||
| 1766 | * Items | ||
| 1767 | */ | ||
| 1768 | .uk-nav li > a { | ||
| 1769 | display: block; | ||
| 1770 | text-decoration: none; | ||
| 1771 | } | ||
| 1772 | .uk-nav > li > a { | ||
| 1773 | padding: 5px 15px; | ||
| 1774 | } | ||
| 1775 | /* | ||
| 1776 | * Nested items | ||
| 1777 | */ | ||
| 1778 | .uk-nav ul { | ||
| 1779 | padding-left: 15px; | ||
| 1780 | } | ||
| 1781 | .uk-nav ul a { | ||
| 1782 | padding: 2px 0; | ||
| 1783 | } | ||
| 1784 | /* | ||
| 1785 | * Item subtitle | ||
| 1786 | */ | ||
| 1787 | .uk-nav li > a > div { | ||
| 1788 | font-size: 12px; | ||
| 1789 | line-height: 18px; | ||
| 1790 | } | ||
| 1791 | /* Sub-object: `uk-nav-header` | ||
| 1792 | ========================================================================== */ | ||
| 1793 | .uk-nav-header { | ||
| 1794 | padding: 5px 15px; | ||
| 1795 | text-transform: uppercase; | ||
| 1796 | font-weight: bold; | ||
| 1797 | font-size: 12px; | ||
| 1798 | } | ||
| 1799 | .uk-nav-header:not(:first-child) { | ||
| 1800 | margin-top: 15px; | ||
| 1801 | } | ||
| 1802 | /* Sub-object: `uk-nav-divider` | ||
| 1803 | ========================================================================== */ | ||
| 1804 | .uk-nav-divider { | ||
| 1805 | margin: 9px 15px; | ||
| 1806 | } | ||
| 1807 | /* Sub-object: `uk-nav-sub` | ||
| 1808 | ========================================================================== */ | ||
| 1809 | /* | ||
| 1810 | * `ul` needed for higher specificity to override padding | ||
| 1811 | */ | ||
| 1812 | ul.uk-nav-sub { | ||
| 1813 | padding: 5px 0 5px 15px; | ||
| 1814 | } | ||
| 1815 | /* Modifier: `uk-nav-parent-icon` | ||
| 1816 | ========================================================================== */ | ||
| 1817 | .uk-nav-parent-icon > .uk-parent > a:after { | ||
| 1818 | content: "\f104"; | ||
| 1819 | width: 20px; | ||
| 1820 | margin-right: -10px; | ||
| 1821 | float: right; | ||
| 1822 | font-family: FontAwesome; | ||
| 1823 | text-align: center; | ||
| 1824 | } | ||
| 1825 | .uk-nav-parent-icon > .uk-parent.uk-open > a:after { | ||
| 1826 | content: "\f107"; | ||
| 1827 | } | ||
| 1828 | /* Modifier `uk-nav-side` | ||
| 1829 | ========================================================================== */ | ||
| 1830 | /* | ||
| 1831 | * Items | ||
| 1832 | */ | ||
| 1833 | .uk-nav-side > li > a { | ||
| 1834 | color: #444; | ||
| 1835 | } | ||
| 1836 | /* | ||
| 1837 | * Hover | ||
| 1838 | * 1. Apply hover style also to focus state | ||
| 1839 | * 2. Remove default focus style | ||
| 1840 | */ | ||
| 1841 | .uk-nav-side > li > a:hover, | ||
| 1842 | .uk-nav-side > li > a:focus { | ||
| 1843 | background: rgba(0, 0, 0, 0.03); | ||
| 1844 | color: #444; | ||
| 1845 | /* 2 */ | ||
| 1846 | outline: none; | ||
| 1847 | box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.1); | ||
| 1848 | text-shadow: 0 -1px 0 #fff; | ||
| 1849 | } | ||
| 1850 | /* Active */ | ||
| 1851 | .uk-nav-side > li.uk-active > a { | ||
| 1852 | background: #009dd8; | ||
| 1853 | color: #fff; | ||
| 1854 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 1855 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 1856 | } | ||
| 1857 | /* | ||
| 1858 | * Sub-object: `uk-nav-header` | ||
| 1859 | */ | ||
| 1860 | .uk-nav-side .uk-nav-header { | ||
| 1861 | color: #444; | ||
| 1862 | } | ||
| 1863 | /* | ||
| 1864 | * Sub-object: `uk-nav-divider` | ||
| 1865 | */ | ||
| 1866 | .uk-nav-side .uk-nav-divider { | ||
| 1867 | border-top: 1px solid #ddd; | ||
| 1868 | box-shadow: 0 1px 0 #fff; | ||
| 1869 | } | ||
| 1870 | /* | ||
| 1871 | * Nested items | ||
| 1872 | */ | ||
| 1873 | .uk-nav-side ul a { | ||
| 1874 | color: #07D; | ||
| 1875 | } | ||
| 1876 | .uk-nav-side ul a:hover { | ||
| 1877 | color: #059; | ||
| 1878 | } | ||
| 1879 | /* Modifier `uk-nav-dropdown` | ||
| 1880 | ========================================================================== */ | ||
| 1881 | /* | ||
| 1882 | * Items | ||
| 1883 | */ | ||
| 1884 | .uk-nav-dropdown > li > a { | ||
| 1885 | color: #444; | ||
| 1886 | } | ||
| 1887 | /* | ||
| 1888 | * Hover | ||
| 1889 | * 1. Apply hover style also to focus state | ||
| 1890 | * 2. Remove default focus style | ||
| 1891 | */ | ||
| 1892 | .uk-nav-dropdown > li > a:hover, | ||
| 1893 | .uk-nav-dropdown > li > a:focus { | ||
| 1894 | background: #009dd8; | ||
| 1895 | color: #fff; | ||
| 1896 | /* 2 */ | ||
| 1897 | outline: none; | ||
| 1898 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 1899 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 1900 | } | ||
| 1901 | /* | ||
| 1902 | * Sub-object: `uk-nav-header` | ||
| 1903 | */ | ||
| 1904 | .uk-nav-dropdown .uk-nav-header { | ||
| 1905 | color: #999; | ||
| 1906 | } | ||
| 1907 | /* | ||
| 1908 | * Sub-object: `uk-nav-divider` | ||
| 1909 | */ | ||
| 1910 | .uk-nav-dropdown .uk-nav-divider { | ||
| 1911 | border-top: 1px solid #ddd; | ||
| 1912 | } | ||
| 1913 | /* | ||
| 1914 | * Nested items | ||
| 1915 | */ | ||
| 1916 | .uk-nav-dropdown ul a { | ||
| 1917 | color: #07D; | ||
| 1918 | } | ||
| 1919 | .uk-nav-dropdown ul a:hover { | ||
| 1920 | color: #059; | ||
| 1921 | } | ||
| 1922 | /* Modifier `uk-nav-navbar` | ||
| 1923 | ========================================================================== */ | ||
| 1924 | /* | ||
| 1925 | * Items | ||
| 1926 | */ | ||
| 1927 | .uk-nav-navbar > li > a { | ||
| 1928 | color: #444; | ||
| 1929 | } | ||
| 1930 | /* | ||
| 1931 | * Hover | ||
| 1932 | * 1. Apply hover style also to focus state | ||
| 1933 | * 2. Remove default focus style | ||
| 1934 | */ | ||
| 1935 | .uk-nav-navbar > li > a:hover, | ||
| 1936 | .uk-nav-navbar > li > a:focus { | ||
| 1937 | background: #009dd8; | ||
| 1938 | color: #fff; | ||
| 1939 | /* 2 */ | ||
| 1940 | outline: none; | ||
| 1941 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 1942 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 1943 | } | ||
| 1944 | /* | ||
| 1945 | * Sub-object: `uk-nav-header` | ||
| 1946 | */ | ||
| 1947 | .uk-nav-navbar .uk-nav-header { | ||
| 1948 | color: #999; | ||
| 1949 | } | ||
| 1950 | /* | ||
| 1951 | * Sub-object: `uk-nav-divider` | ||
| 1952 | */ | ||
| 1953 | .uk-nav-navbar .uk-nav-divider { | ||
| 1954 | border-top: 1px solid #ddd; | ||
| 1955 | } | ||
| 1956 | /* | ||
| 1957 | * Nested items | ||
| 1958 | */ | ||
| 1959 | .uk-nav-navbar ul a { | ||
| 1960 | color: #07D; | ||
| 1961 | } | ||
| 1962 | .uk-nav-navbar ul a:hover { | ||
| 1963 | color: #059; | ||
| 1964 | } | ||
| 1965 | /* Modifier `uk-nav-offcanvas` | ||
| 1966 | ========================================================================== */ | ||
| 1967 | /* | ||
| 1968 | * Items | ||
| 1969 | */ | ||
| 1970 | .uk-nav-offcanvas > li > a { | ||
| 1971 | color: #ccc; | ||
| 1972 | padding: 10px 15px; | ||
| 1973 | border-top: 1px solid rgba(0, 0, 0, 0.3); | ||
| 1974 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 1975 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 1976 | } | ||
| 1977 | /* | ||
| 1978 | * Hover | ||
| 1979 | * No hover on touch devices because it behaves buggy in fixed offcanvas | ||
| 1980 | * 1. Apply hover style also to focus state | ||
| 1981 | * 2. Remove default focus style | ||
| 1982 | */ | ||
| 1983 | .uk-nav-offcanvas > .uk-open > a, | ||
| 1984 | html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover, | ||
| 1985 | html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { | ||
| 1986 | background: #404040; | ||
| 1987 | color: #fff; | ||
| 1988 | /* 2 */ | ||
| 1989 | outline: none; | ||
| 1990 | } | ||
| 1991 | /* | ||
| 1992 | * Active | ||
| 1993 | * `html .uk-nav` needed for higher specificity to override hover | ||
| 1994 | */ | ||
| 1995 | html .uk-nav.uk-nav-offcanvas > li.uk-active > a { | ||
| 1996 | background: #1a1a1a; | ||
| 1997 | color: #fff; | ||
| 1998 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); | ||
| 1999 | } | ||
| 2000 | /* | ||
| 2001 | * Sub-object: `uk-nav-header` | ||
| 2002 | */ | ||
| 2003 | .uk-nav-offcanvas .uk-nav-header { | ||
| 2004 | color: #777; | ||
| 2005 | margin-top: 0; | ||
| 2006 | border-top: 1px solid rgba(0, 0, 0, 0.3); | ||
| 2007 | background: #404040; | ||
| 2008 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 2009 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 2010 | } | ||
| 2011 | /* | ||
| 2012 | * Sub-object: `uk-nav-divider` | ||
| 2013 | */ | ||
| 2014 | .uk-nav-offcanvas .uk-nav-divider { | ||
| 2015 | border-top: 1px solid rgba(255, 255, 255, 0.01); | ||
| 2016 | margin: 0; | ||
| 2017 | height: 4px; | ||
| 2018 | background: rgba(0, 0, 0, 0.2); | ||
| 2019 | box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3); | ||
| 2020 | } | ||
| 2021 | /* | ||
| 2022 | * Nested items | ||
| 2023 | * No hover on touch devices because it behaves buggy in fixed offcanvas | ||
| 2024 | */ | ||
| 2025 | .uk-nav-offcanvas ul a { | ||
| 2026 | color: #ccc; | ||
| 2027 | } | ||
| 2028 | html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { | ||
| 2029 | color: #fff; | ||
| 2030 | } | ||
| 2031 | /* | ||
| 2032 | * Modifier `uk-nav-offcanvas` | ||
| 2033 | */ | ||
| 2034 | .uk-nav-offcanvas { | ||
| 2035 | border-bottom: 1px solid rgba(0, 0, 0, 0.3); | ||
| 2036 | box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 2037 | } | ||
| 2038 | /* | ||
| 2039 | * Sub-object: `uk-nav-sub` | ||
| 2040 | */ | ||
| 2041 | .uk-nav-offcanvas .uk-nav-sub { | ||
| 2042 | border-top: 1px solid rgba(0, 0, 0, 0.3); | ||
| 2043 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); | ||
| 2044 | } | ||
| 2045 | /* ======================================================================== | ||
| 2046 | Component: Navbar | ||
| 2047 | ========================================================================== */ | ||
| 2048 | .uk-navbar { | ||
| 2049 | background: #f7f7f7; | ||
| 2050 | color: #444; | ||
| 2051 | border: 1px solid rgba(0, 0, 0, 0.1); | ||
| 2052 | border-bottom-color: rgba(0, 0, 0, 0.3); | ||
| 2053 | border-radius: 4px; | ||
| 2054 | background-origin: border-box; | ||
| 2055 | background-image: -webkit-linear-gradient(top, #fff, #eee); | ||
| 2056 | background-image: linear-gradient(to bottom, #fff, #eee); | ||
| 2057 | } | ||
| 2058 | /* | ||
| 2059 | * Micro clearfix | ||
| 2060 | */ | ||
| 2061 | .uk-navbar:before, | ||
| 2062 | .uk-navbar:after { | ||
| 2063 | content: ""; | ||
| 2064 | display: table; | ||
| 2065 | } | ||
| 2066 | .uk-navbar:after { | ||
| 2067 | clear: both; | ||
| 2068 | } | ||
| 2069 | /* Sub-object: `uk-navbar-nav` | ||
| 2070 | ========================================================================== */ | ||
| 2071 | .uk-navbar-nav { | ||
| 2072 | margin: 0; | ||
| 2073 | padding: 0; | ||
| 2074 | list-style: none; | ||
| 2075 | float: left; | ||
| 2076 | } | ||
| 2077 | /* | ||
| 2078 | * 1. Create position context for dropdowns | ||
| 2079 | */ | ||
| 2080 | .uk-navbar-nav > li { | ||
| 2081 | float: left; | ||
| 2082 | /* 1 */ | ||
| 2083 | position: relative; | ||
| 2084 | } | ||
| 2085 | /* | ||
| 2086 | * 1. Dimensions | ||
| 2087 | * 2. Style | ||
| 2088 | */ | ||
| 2089 | .uk-navbar-nav > li > a { | ||
| 2090 | display: block; | ||
| 2091 | box-sizing: border-box; | ||
| 2092 | text-decoration: none; | ||
| 2093 | /* 1 */ | ||
| 2094 | height: 41px; | ||
| 2095 | padding: 0 15px; | ||
| 2096 | line-height: 40px; | ||
| 2097 | /* 2 */ | ||
| 2098 | color: #444; | ||
| 2099 | font-size: 14px; | ||
| 2100 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
| 2101 | font-weight: normal; | ||
| 2102 | margin-top: -1px; | ||
| 2103 | margin-left: -1px; | ||
| 2104 | border: 1px solid transparent; | ||
| 2105 | border-bottom-width: 0; | ||
| 2106 | text-shadow: 0 1px 0 #fff; | ||
| 2107 | } | ||
| 2108 | /* Appear not as link */ | ||
| 2109 | .uk-navbar-nav > li > a[href='#'] { | ||
| 2110 | cursor: text; | ||
| 2111 | } | ||
| 2112 | /* | ||
| 2113 | * Hover | ||
| 2114 | * 1. Apply hover style also to focus state | ||
| 2115 | * 2. Also apply if dropdown is opened | ||
| 2116 | * 3. Remove default focus style | ||
| 2117 | */ | ||
| 2118 | .uk-navbar-nav > li:hover > a, | ||
| 2119 | .uk-navbar-nav > li > a:focus, | ||
| 2120 | .uk-navbar-nav > li.uk-open > a { | ||
| 2121 | background-color: transparent; | ||
| 2122 | color: #444; | ||
| 2123 | /* 3 */ | ||
| 2124 | outline: none; | ||
| 2125 | position: relative; | ||
| 2126 | z-index: 1; | ||
| 2127 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 2128 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 2129 | border-top-color: rgba(0, 0, 0, 0.1); | ||
| 2130 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 2131 | } | ||
| 2132 | /* OnClick */ | ||
| 2133 | .uk-navbar-nav > li > a:active { | ||
| 2134 | background-color: #f5f5f5; | ||
| 2135 | color: #444; | ||
| 2136 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 2137 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 2138 | border-top-color: rgba(0, 0, 0, 0.2); | ||
| 2139 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 2140 | } | ||
| 2141 | /* Active */ | ||
| 2142 | .uk-navbar-nav > li.uk-active > a { | ||
| 2143 | background-color: #fafafa; | ||
| 2144 | color: #444; | ||
| 2145 | border-left-color: rgba(0, 0, 0, 0.1); | ||
| 2146 | border-right-color: rgba(0, 0, 0, 0.1); | ||
| 2147 | border-top-color: rgba(0, 0, 0, 0.2); | ||
| 2148 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 2149 | } | ||
| 2150 | /* Sub-objects: `uk-navbar-nav-subtitle` | ||
| 2151 | ========================================================================== */ | ||
| 2152 | .uk-navbar-nav .uk-navbar-nav-subtitle { | ||
| 2153 | line-height: 28px; | ||
| 2154 | } | ||
| 2155 | .uk-navbar-nav-subtitle > div { | ||
| 2156 | margin-top: -6px; | ||
| 2157 | font-size: 10px; | ||
| 2158 | line-height: 12px; | ||
| 2159 | } | ||
| 2160 | /* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle` | ||
| 2161 | ========================================================================== */ | ||
| 2162 | /* | ||
| 2163 | * Imitate navbar items | ||
| 2164 | */ | ||
| 2165 | .uk-navbar-content, | ||
| 2166 | .uk-navbar-brand, | ||
| 2167 | .uk-navbar-toggle { | ||
| 2168 | box-sizing: border-box; | ||
| 2169 | display: block; | ||
| 2170 | height: 41px; | ||
| 2171 | padding: 0 15px; | ||
| 2172 | float: left; | ||
| 2173 | margin-top: -1px; | ||
| 2174 | text-shadow: 0 1px 0 #fff; | ||
| 2175 | } | ||
| 2176 | /* | ||
| 2177 | * Helper to center all child elements vertically | ||
| 2178 | */ | ||
| 2179 | .uk-navbar-content:before, | ||
| 2180 | .uk-navbar-brand:before, | ||
| 2181 | .uk-navbar-toggle:before { | ||
| 2182 | content: ''; | ||
| 2183 | display: inline-block; | ||
| 2184 | height: 100%; | ||
| 2185 | vertical-align: middle; | ||
| 2186 | } | ||
| 2187 | /* Sub-objects: `uk-navbar-content` | ||
| 2188 | ========================================================================== */ | ||
| 2189 | /* | ||
| 2190 | * Better sibling spacing | ||
| 2191 | */ | ||
| 2192 | .uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { | ||
| 2193 | padding-left: 0; | ||
| 2194 | } | ||
| 2195 | /* | ||
| 2196 | * Link colors | ||
| 2197 | */ | ||
| 2198 | .uk-navbar-content > a:not([class]) { | ||
| 2199 | color: #07D; | ||
| 2200 | } | ||
| 2201 | .uk-navbar-content > a:not([class]):hover { | ||
| 2202 | color: #059; | ||
| 2203 | } | ||
| 2204 | /* Sub-objects: `uk-navbar-brand` | ||
| 2205 | ========================================================================== */ | ||
| 2206 | .uk-navbar-brand { | ||
| 2207 | font-size: 18px; | ||
| 2208 | color: #444; | ||
| 2209 | text-decoration: none; | ||
| 2210 | } | ||
| 2211 | /* | ||
| 2212 | * 1. Apply hover style also to focus state | ||
| 2213 | * 2. Remove default focus style | ||
| 2214 | */ | ||
| 2215 | .uk-navbar-brand:hover, | ||
| 2216 | .uk-navbar-brand:focus { | ||
| 2217 | color: #444; | ||
| 2218 | text-decoration: none; | ||
| 2219 | /* 2 */ | ||
| 2220 | outline: none; | ||
| 2221 | } | ||
| 2222 | /* Sub-object: `uk-navbar-toggle` | ||
| 2223 | ========================================================================== */ | ||
| 2224 | .uk-navbar-toggle { | ||
| 2225 | font-size: 18px; | ||
| 2226 | color: #444; | ||
| 2227 | text-decoration: none; | ||
| 2228 | } | ||
| 2229 | /* | ||
| 2230 | * 1. Apply hover style also to focus state | ||
| 2231 | * 2. Remove default focus style | ||
| 2232 | */ | ||
| 2233 | .uk-navbar-toggle:hover, | ||
| 2234 | .uk-navbar-toggle:focus { | ||
| 2235 | color: #444; | ||
| 2236 | text-decoration: none; | ||
| 2237 | /* 2 */ | ||
| 2238 | outline: none; | ||
| 2239 | } | ||
| 2240 | /* | ||
| 2241 | * 1. Center icon vertically | ||
| 2242 | */ | ||
| 2243 | .uk-navbar-toggle:after { | ||
| 2244 | content: "\f0c9"; | ||
| 2245 | font-family: FontAwesome; | ||
| 2246 | /* 1 */ | ||
| 2247 | vertical-align: middle; | ||
| 2248 | } | ||
| 2249 | .uk-navbar-toggle-alt:after { | ||
| 2250 | content: "\f002"; | ||
| 2251 | } | ||
| 2252 | /* Sub-object: `uk-navbar-center` | ||
| 2253 | ========================================================================== */ | ||
| 2254 | /* | ||
| 2255 | * The element with this class needs to be last child in the navbar | ||
| 2256 | * 1. This hack is needed because other float elements shift centered text | ||
| 2257 | */ | ||
| 2258 | .uk-navbar-center { | ||
| 2259 | float: none; | ||
| 2260 | text-align: center; | ||
| 2261 | /* 1 */ | ||
| 2262 | max-width: 50%; | ||
| 2263 | margin-left: auto; | ||
| 2264 | margin-right: auto; | ||
| 2265 | } | ||
| 2266 | /* Sub-object: `uk-navbar-flip` | ||
| 2267 | ========================================================================== */ | ||
| 2268 | .uk-navbar-flip { | ||
| 2269 | float: right; | ||
| 2270 | } | ||
| 2271 | /* | ||
| 2272 | * Apply same `border-radius` as `uk-navbar` | ||
| 2273 | */ | ||
| 2274 | .uk-navbar-nav:first-child > li:first-child > a { | ||
| 2275 | border-top-left-radius: 4px; | ||
| 2276 | border-bottom-left-radius: 4px; | ||
| 2277 | } | ||
| 2278 | /* | ||
| 2279 | * Sub-modifier `uk-navbar-flip` | ||
| 2280 | */ | ||
| 2281 | /* Collapse border */ | ||
| 2282 | .uk-navbar-flip .uk-navbar-nav > li > a { | ||
| 2283 | margin-left: 0; | ||
| 2284 | margin-right: -1px; | ||
| 2285 | } | ||
| 2286 | /* Apply same `border-radius` as `uk-navbar` */ | ||
| 2287 | .uk-navbar-flip .uk-navbar-nav:first-child > li:first-child > a { | ||
| 2288 | border-top-left-radius: 0; | ||
| 2289 | border-bottom-left-radius: 0; | ||
| 2290 | } | ||
| 2291 | .uk-navbar-flip .uk-navbar-nav:last-child > li:last-child > a { | ||
| 2292 | border-top-right-radius: 4px; | ||
| 2293 | border-bottom-right-radius: 4px; | ||
| 2294 | } | ||
| 2295 | /* | ||
| 2296 | * Sub-modifier `uk-navbar-attached` | ||
| 2297 | */ | ||
| 2298 | .uk-navbar-attached { | ||
| 2299 | border-top-color: transparent; | ||
| 2300 | border-left-color: transparent; | ||
| 2301 | border-right-color: transparent; | ||
| 2302 | border-radius: 0; | ||
| 2303 | } | ||
| 2304 | .uk-navbar-attached .uk-navbar-nav > li > a { | ||
| 2305 | border-radius: 0 !important; | ||
| 2306 | } | ||
| 2307 | /* ======================================================================== | ||
| 2308 | Component: Subnav | ||
| 2309 | ========================================================================== */ | ||
| 2310 | /* | ||
| 2311 | * 1. Gutter | ||
| 2312 | * 2. Remove default list style | ||
| 2313 | */ | ||
| 2314 | .uk-subnav { | ||
| 2315 | display: -ms-flexbox; | ||
| 2316 | display: -webkit-flex; | ||
| 2317 | display: flex; | ||
| 2318 | -ms-flex-wrap: wrap; | ||
| 2319 | -webkit-flex-wrap: wrap; | ||
| 2320 | flex-wrap: wrap; | ||
| 2321 | /* 1 */ | ||
| 2322 | margin-left: -10px; | ||
| 2323 | margin-top: -10px; | ||
| 2324 | /* 2 */ | ||
| 2325 | padding: 0; | ||
| 2326 | list-style: none; | ||
| 2327 | } | ||
| 2328 | /* | ||
| 2329 | * 1. Space is allocated solely based on content dimensions | ||
| 2330 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 2331 | * 3. Create position context for dropdowns | ||
| 2332 | */ | ||
| 2333 | .uk-subnav > * { | ||
| 2334 | /* 1 */ | ||
| 2335 | -ms-flex: none; | ||
| 2336 | -webkit-flex: none; | ||
| 2337 | flex: none; | ||
| 2338 | /* 2 */ | ||
| 2339 | padding-left: 10px; | ||
| 2340 | margin-top: 10px; | ||
| 2341 | /* 3 */ | ||
| 2342 | position: relative; | ||
| 2343 | } | ||
| 2344 | /* | ||
| 2345 | * DEPRECATED IE9 Support | ||
| 2346 | */ | ||
| 2347 | .uk-subnav:before, | ||
| 2348 | .uk-subnav:after { | ||
| 2349 | content: ""; | ||
| 2350 | display: block; | ||
| 2351 | overflow: hidden; | ||
| 2352 | } | ||
| 2353 | .uk-subnav:after { | ||
| 2354 | clear: both; | ||
| 2355 | } | ||
| 2356 | .uk-subnav > * { | ||
| 2357 | float: left; | ||
| 2358 | } | ||
| 2359 | /* Items | ||
| 2360 | ========================================================================== */ | ||
| 2361 | .uk-subnav > * > * { | ||
| 2362 | display: inline-block; | ||
| 2363 | color: #444; | ||
| 2364 | } | ||
| 2365 | /* | ||
| 2366 | * Hover | ||
| 2367 | * 1. Apply hover style also to focus state | ||
| 2368 | */ | ||
| 2369 | .uk-subnav > * > :hover, | ||
| 2370 | .uk-subnav > * > :focus { | ||
| 2371 | color: #07D; | ||
| 2372 | text-decoration: none; | ||
| 2373 | } | ||
| 2374 | /* | ||
| 2375 | * Active | ||
| 2376 | */ | ||
| 2377 | .uk-subnav > .uk-active > * { | ||
| 2378 | color: #07D; | ||
| 2379 | } | ||
| 2380 | /* Modifier: 'subnav-line' | ||
| 2381 | ========================================================================== */ | ||
| 2382 | .uk-subnav-line > :before { | ||
| 2383 | content: ""; | ||
| 2384 | display: inline-block; | ||
| 2385 | height: 10px; | ||
| 2386 | vertical-align: middle; | ||
| 2387 | } | ||
| 2388 | .uk-subnav-line > :nth-child(n+2):before { | ||
| 2389 | margin-right: 10px; | ||
| 2390 | border-left: 1px solid #ddd; | ||
| 2391 | } | ||
| 2392 | /* Modifier: 'subnav-pill' | ||
| 2393 | ========================================================================== */ | ||
| 2394 | .uk-subnav-pill > * > * { | ||
| 2395 | padding: 3px 9px; | ||
| 2396 | border-radius: 4px; | ||
| 2397 | } | ||
| 2398 | /* | ||
| 2399 | * Hover | ||
| 2400 | * 1. Apply hover style also to focus state | ||
| 2401 | * 2. Remove default focus style | ||
| 2402 | */ | ||
| 2403 | .uk-subnav-pill > * > :hover, | ||
| 2404 | .uk-subnav-pill > * > :focus { | ||
| 2405 | background: #fafafa; | ||
| 2406 | color: #444; | ||
| 2407 | text-decoration: none; | ||
| 2408 | /* 2 */ | ||
| 2409 | outline: none; | ||
| 2410 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); | ||
| 2411 | } | ||
| 2412 | /* | ||
| 2413 | * Active | ||
| 2414 | * `li` needed for higher specificity to override hover | ||
| 2415 | */ | ||
| 2416 | .uk-subnav-pill > .uk-active > * { | ||
| 2417 | background: #009dd8; | ||
| 2418 | color: #fff; | ||
| 2419 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 2420 | } | ||
| 2421 | /* Disabled state | ||
| 2422 | ========================================================================== */ | ||
| 2423 | .uk-subnav > .uk-disabled > * { | ||
| 2424 | background: none; | ||
| 2425 | color: #999; | ||
| 2426 | text-decoration: none; | ||
| 2427 | cursor: text; | ||
| 2428 | box-shadow: none; | ||
| 2429 | } | ||
| 2430 | /* ======================================================================== | ||
| 2431 | Component: Breadcrumb | ||
| 2432 | ========================================================================== */ | ||
| 2433 | /* | ||
| 2434 | * 1. Remove default list style | ||
| 2435 | * 2. Remove whitespace between child elements when using `inline-block` | ||
| 2436 | */ | ||
| 2437 | .uk-breadcrumb { | ||
| 2438 | /* 1 */ | ||
| 2439 | padding: 0; | ||
| 2440 | list-style: none; | ||
| 2441 | /* 2 */ | ||
| 2442 | font-size: 0.001px; | ||
| 2443 | } | ||
| 2444 | /* Items | ||
| 2445 | ========================================================================== */ | ||
| 2446 | /* | ||
| 2447 | * Reset whitespace hack | ||
| 2448 | */ | ||
| 2449 | .uk-breadcrumb > li { | ||
| 2450 | font-size: 1rem; | ||
| 2451 | vertical-align: top; | ||
| 2452 | } | ||
| 2453 | .uk-breadcrumb > li, | ||
| 2454 | .uk-breadcrumb > li > a, | ||
| 2455 | .uk-breadcrumb > li > span { | ||
| 2456 | display: inline-block; | ||
| 2457 | } | ||
| 2458 | .uk-breadcrumb > li:nth-child(n+2):before { | ||
| 2459 | content: "/"; | ||
| 2460 | display: inline-block; | ||
| 2461 | margin: 0 8px; | ||
| 2462 | } | ||
| 2463 | /* | ||
| 2464 | * Disabled | ||
| 2465 | */ | ||
| 2466 | .uk-breadcrumb > li:not(.uk-active) > span { | ||
| 2467 | color: #999; | ||
| 2468 | } | ||
| 2469 | /* ======================================================================== | ||
| 2470 | Component: Pagination | ||
| 2471 | ========================================================================== */ | ||
| 2472 | /* | ||
| 2473 | * 1. Remove default list style | ||
| 2474 | * 2. Center pagination by default | ||
| 2475 | * 3. Remove whitespace between child elements when using `inline-block` | ||
| 2476 | */ | ||
| 2477 | .uk-pagination { | ||
| 2478 | /* 1 */ | ||
| 2479 | padding: 0; | ||
| 2480 | list-style: none; | ||
| 2481 | /* 2 */ | ||
| 2482 | text-align: center; | ||
| 2483 | /* 3 */ | ||
| 2484 | font-size: 0.001px; | ||
| 2485 | } | ||
| 2486 | /* | ||
| 2487 | * Micro clearfix | ||
| 2488 | * Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used | ||
| 2489 | */ | ||
| 2490 | .uk-pagination:before, | ||
| 2491 | .uk-pagination:after { | ||
| 2492 | content: ""; | ||
| 2493 | display: table; | ||
| 2494 | } | ||
| 2495 | .uk-pagination:after { | ||
| 2496 | clear: both; | ||
| 2497 | } | ||
| 2498 | /* Items | ||
| 2499 | ========================================================================== */ | ||
| 2500 | /* | ||
| 2501 | * 1. Reset whitespace hack | ||
| 2502 | * 2. Remove the gap at the bottom of it container | ||
| 2503 | */ | ||
| 2504 | .uk-pagination > li { | ||
| 2505 | display: inline-block; | ||
| 2506 | /* 1 */ | ||
| 2507 | font-size: 1rem; | ||
| 2508 | /* 2 */ | ||
| 2509 | vertical-align: top; | ||
| 2510 | } | ||
| 2511 | .uk-pagination > li:nth-child(n+2) { | ||
| 2512 | margin-left: 5px; | ||
| 2513 | } | ||
| 2514 | /* | ||
| 2515 | * 1. Makes pagination more robust against different box-sizing use | ||
| 2516 | * 2. Reset text-align to center if alignment modifier is used | ||
| 2517 | */ | ||
| 2518 | .uk-pagination > li > a, | ||
| 2519 | .uk-pagination > li > span { | ||
| 2520 | display: inline-block; | ||
| 2521 | min-width: 16px; | ||
| 2522 | padding: 3px 5px; | ||
| 2523 | line-height: 20px; | ||
| 2524 | text-decoration: none; | ||
| 2525 | /* 1 */ | ||
| 2526 | box-sizing: content-box; | ||
| 2527 | /* 2 */ | ||
| 2528 | text-align: center; | ||
| 2529 | border-radius: 4px; | ||
| 2530 | } | ||
| 2531 | /* | ||
| 2532 | * Links | ||
| 2533 | */ | ||
| 2534 | .uk-pagination > li > a { | ||
| 2535 | background: #f7f7f7; | ||
| 2536 | color: #444; | ||
| 2537 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 2538 | border-bottom-color: rgba(0, 0, 0, 0.3); | ||
| 2539 | background-origin: border-box; | ||
| 2540 | background-image: -webkit-linear-gradient(top, #fff, #eee); | ||
| 2541 | background-image: linear-gradient(to bottom, #fff, #eee); | ||
| 2542 | text-shadow: 0 1px 0 #fff; | ||
| 2543 | } | ||
| 2544 | /* | ||
| 2545 | * Hover | ||
| 2546 | * 1. Apply hover style also to focus state | ||
| 2547 | * 2. Remove default focus style | ||
| 2548 | */ | ||
| 2549 | .uk-pagination > li > a:hover, | ||
| 2550 | .uk-pagination > li > a:focus { | ||
| 2551 | background-color: #fafafa; | ||
| 2552 | color: #444; | ||
| 2553 | /* 2 */ | ||
| 2554 | outline: none; | ||
| 2555 | background-image: none; | ||
| 2556 | } | ||
| 2557 | /* OnClick */ | ||
| 2558 | .uk-pagination > li > a:active { | ||
| 2559 | background-color: #f5f5f5; | ||
| 2560 | color: #444; | ||
| 2561 | border-color: rgba(0, 0, 0, 0.2); | ||
| 2562 | border-top-color: rgba(0, 0, 0, 0.3); | ||
| 2563 | background-image: none; | ||
| 2564 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 2565 | } | ||
| 2566 | /* | ||
| 2567 | * Active | ||
| 2568 | */ | ||
| 2569 | .uk-pagination > .uk-active > span { | ||
| 2570 | background: #009dd8; | ||
| 2571 | color: #fff; | ||
| 2572 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 2573 | border-bottom-color: rgba(0, 0, 0, 0.4); | ||
| 2574 | background-origin: border-box; | ||
| 2575 | background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); | ||
| 2576 | background-image: linear-gradient(to bottom, #00b4f5, #008dc5); | ||
| 2577 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 2578 | } | ||
| 2579 | /* | ||
| 2580 | * Disabled | ||
| 2581 | */ | ||
| 2582 | .uk-pagination > .uk-disabled > span { | ||
| 2583 | background-color: #fafafa; | ||
| 2584 | color: #999; | ||
| 2585 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 2586 | text-shadow: 0 1px 0 #fff; | ||
| 2587 | } | ||
| 2588 | /* Previous and next navigation | ||
| 2589 | ========================================================================== */ | ||
| 2590 | .uk-pagination-previous { | ||
| 2591 | float: left; | ||
| 2592 | } | ||
| 2593 | .uk-pagination-next { | ||
| 2594 | float: right; | ||
| 2595 | } | ||
| 2596 | /* Alignment modifiers | ||
| 2597 | ========================================================================== */ | ||
| 2598 | .uk-pagination-left { | ||
| 2599 | text-align: left; | ||
| 2600 | } | ||
| 2601 | .uk-pagination-right { | ||
| 2602 | text-align: right; | ||
| 2603 | } | ||
| 2604 | /* ======================================================================== | ||
| 2605 | Component: Tab | ||
| 2606 | ========================================================================== */ | ||
| 2607 | .uk-tab { | ||
| 2608 | margin: 0; | ||
| 2609 | padding: 0; | ||
| 2610 | list-style: none; | ||
| 2611 | border-bottom: 1px solid #ddd; | ||
| 2612 | } | ||
| 2613 | /* | ||
| 2614 | * Micro clearfix on the deepest container | ||
| 2615 | */ | ||
| 2616 | .uk-tab:before, | ||
| 2617 | .uk-tab:after { | ||
| 2618 | content: ""; | ||
| 2619 | display: table; | ||
| 2620 | } | ||
| 2621 | .uk-tab:after { | ||
| 2622 | clear: both; | ||
| 2623 | } | ||
| 2624 | /* | ||
| 2625 | * Items | ||
| 2626 | * 1. Create position context for dropdowns | ||
| 2627 | */ | ||
| 2628 | .uk-tab > li { | ||
| 2629 | margin-bottom: -1px; | ||
| 2630 | float: left; | ||
| 2631 | /* 1 */ | ||
| 2632 | position: relative; | ||
| 2633 | } | ||
| 2634 | .uk-tab > li > a { | ||
| 2635 | display: block; | ||
| 2636 | padding: 8px 12px 8px 12px; | ||
| 2637 | border: 1px solid transparent; | ||
| 2638 | border-bottom-width: 0; | ||
| 2639 | color: #07D; | ||
| 2640 | text-decoration: none; | ||
| 2641 | border-radius: 4px 4px 0 0; | ||
| 2642 | text-shadow: 0 1px 0 #fff; | ||
| 2643 | } | ||
| 2644 | .uk-tab > li:nth-child(n+2) > a { | ||
| 2645 | margin-left: 5px; | ||
| 2646 | } | ||
| 2647 | /* | ||
| 2648 | * Hover | ||
| 2649 | * 1. Apply hover style also to focus state | ||
| 2650 | * 2. Also apply if dropdown is opened | ||
| 2651 | * 3. Remove default focus style | ||
| 2652 | */ | ||
| 2653 | .uk-tab > li > a:hover, | ||
| 2654 | .uk-tab > li > a:focus, | ||
| 2655 | .uk-tab > li.uk-open > a { | ||
| 2656 | border-color: #ddd; | ||
| 2657 | background: #fafafa; | ||
| 2658 | color: #059; | ||
| 2659 | /* 2 */ | ||
| 2660 | outline: none; | ||
| 2661 | } | ||
| 2662 | .uk-tab > li:not(.uk-active) > a:hover, | ||
| 2663 | .uk-tab > li:not(.uk-active) > a:focus, | ||
| 2664 | .uk-tab > li.uk-open:not(.uk-active) > a { | ||
| 2665 | margin-bottom: 1px; | ||
| 2666 | padding-bottom: 7px; | ||
| 2667 | } | ||
| 2668 | /* Active */ | ||
| 2669 | .uk-tab > li.uk-active > a { | ||
| 2670 | border-color: #ddd; | ||
| 2671 | border-bottom-color: transparent; | ||
| 2672 | background: #fff; | ||
| 2673 | color: #444; | ||
| 2674 | } | ||
| 2675 | /* Disabled */ | ||
| 2676 | .uk-tab > li.uk-disabled > a { | ||
| 2677 | color: #999; | ||
| 2678 | cursor: text; | ||
| 2679 | } | ||
| 2680 | .uk-tab > li.uk-disabled > a:hover, | ||
| 2681 | .uk-tab > li.uk-disabled > a:focus, | ||
| 2682 | .uk-tab > li.uk-disabled.uk-active > a { | ||
| 2683 | background: none; | ||
| 2684 | border-color: transparent; | ||
| 2685 | } | ||
| 2686 | /* Modifier: 'tab-flip' | ||
| 2687 | ========================================================================== */ | ||
| 2688 | .uk-tab-flip > li { | ||
| 2689 | float: right; | ||
| 2690 | } | ||
| 2691 | .uk-tab-flip > li:nth-child(n+2) > a { | ||
| 2692 | margin-left: 0; | ||
| 2693 | margin-right: 5px; | ||
| 2694 | } | ||
| 2695 | /* Modifier: 'tab-responsive' | ||
| 2696 | ========================================================================== */ | ||
| 2697 | .uk-tab > li.uk-tab-responsive > a { | ||
| 2698 | margin-left: 0; | ||
| 2699 | margin-right: 0; | ||
| 2700 | } | ||
| 2701 | /* | ||
| 2702 | * Icon | ||
| 2703 | */ | ||
| 2704 | .uk-tab-responsive > a:before { | ||
| 2705 | content: "\f0c9\00a0"; | ||
| 2706 | font-family: FontAwesome; | ||
| 2707 | } | ||
| 2708 | /* Modifier: 'tab-center' | ||
| 2709 | ========================================================================== */ | ||
| 2710 | .uk-tab-center { | ||
| 2711 | border-bottom: 1px solid #ddd; | ||
| 2712 | } | ||
| 2713 | .uk-tab-center-bottom { | ||
| 2714 | border-bottom: none; | ||
| 2715 | border-top: 1px solid #ddd; | ||
| 2716 | } | ||
| 2717 | .uk-tab-center:before, | ||
| 2718 | .uk-tab-center:after { | ||
| 2719 | content: ""; | ||
| 2720 | display: table; | ||
| 2721 | } | ||
| 2722 | .uk-tab-center:after { | ||
| 2723 | clear: both; | ||
| 2724 | } | ||
| 2725 | /* | ||
| 2726 | * 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs | ||
| 2727 | */ | ||
| 2728 | .uk-tab-center .uk-tab { | ||
| 2729 | position: relative; | ||
| 2730 | right: 50%; | ||
| 2731 | border: none; | ||
| 2732 | float: right; | ||
| 2733 | } | ||
| 2734 | .uk-tab-center .uk-tab > li { | ||
| 2735 | position: relative; | ||
| 2736 | right: -50%; | ||
| 2737 | } | ||
| 2738 | .uk-tab-center .uk-tab > li > a { | ||
| 2739 | text-align: center; | ||
| 2740 | } | ||
| 2741 | /* Modifier: 'tab-bottom' | ||
| 2742 | ========================================================================== */ | ||
| 2743 | .uk-tab-bottom { | ||
| 2744 | border-top: 1px solid #ddd; | ||
| 2745 | border-bottom: none; | ||
| 2746 | } | ||
| 2747 | .uk-tab-bottom > li { | ||
| 2748 | margin-top: -1px; | ||
| 2749 | margin-bottom: 0; | ||
| 2750 | } | ||
| 2751 | .uk-tab-bottom > li > a { | ||
| 2752 | padding-top: 8px; | ||
| 2753 | padding-bottom: 8px; | ||
| 2754 | border-bottom-width: 1px; | ||
| 2755 | border-top-width: 0; | ||
| 2756 | } | ||
| 2757 | .uk-tab-bottom > li:not(.uk-active) > a:hover, | ||
| 2758 | .uk-tab-bottom > li:not(.uk-active) > a:focus, | ||
| 2759 | .uk-tab-bottom > li.uk-open:not(.uk-active) > a { | ||
| 2760 | margin-bottom: 0; | ||
| 2761 | margin-top: 1px; | ||
| 2762 | padding-bottom: 8px; | ||
| 2763 | padding-top: 7px; | ||
| 2764 | } | ||
| 2765 | .uk-tab-bottom > li.uk-active > a { | ||
| 2766 | border-top-color: transparent; | ||
| 2767 | border-bottom-color: #ddd; | ||
| 2768 | } | ||
| 2769 | /* Modifier: 'tab-grid' | ||
| 2770 | ========================================================================== */ | ||
| 2771 | /* | ||
| 2772 | * 1. Create position context to prevent hidden border because of negative `z-index` | ||
| 2773 | */ | ||
| 2774 | .uk-tab-grid { | ||
| 2775 | margin-left: -5px; | ||
| 2776 | border-bottom: none; | ||
| 2777 | /* 1 */ | ||
| 2778 | position: relative; | ||
| 2779 | z-index: 0; | ||
| 2780 | } | ||
| 2781 | .uk-tab-grid:before { | ||
| 2782 | display: block; | ||
| 2783 | position: absolute; | ||
| 2784 | left: 5px; | ||
| 2785 | right: 0; | ||
| 2786 | bottom: -1px; | ||
| 2787 | border-top: 1px solid #ddd; | ||
| 2788 | /* 1 */ | ||
| 2789 | z-index: -1; | ||
| 2790 | } | ||
| 2791 | .uk-tab-grid > li:first-child > a { | ||
| 2792 | margin-left: 5px; | ||
| 2793 | } | ||
| 2794 | .uk-tab-grid > li > a { | ||
| 2795 | text-align: center; | ||
| 2796 | } | ||
| 2797 | /* | ||
| 2798 | * If `uk-tab-bottom` | ||
| 2799 | */ | ||
| 2800 | .uk-tab-grid.uk-tab-bottom { | ||
| 2801 | border-top: none; | ||
| 2802 | } | ||
| 2803 | .uk-tab-grid.uk-tab-bottom:before { | ||
| 2804 | top: -1px; | ||
| 2805 | bottom: auto; | ||
| 2806 | } | ||
| 2807 | /* Modifier: 'tab-left', 'tab-right' | ||
| 2808 | ========================================================================== */ | ||
| 2809 | /* Tablet and bigger */ | ||
| 2810 | @media (min-width: 768px) { | ||
| 2811 | .uk-tab-left, | ||
| 2812 | .uk-tab-right { | ||
| 2813 | border-bottom: none; | ||
| 2814 | } | ||
| 2815 | .uk-tab-left > li, | ||
| 2816 | .uk-tab-right > li { | ||
| 2817 | margin-bottom: 0; | ||
| 2818 | float: none; | ||
| 2819 | } | ||
| 2820 | .uk-tab-left > li > a, | ||
| 2821 | .uk-tab-right > li > a { | ||
| 2822 | padding-top: 8px; | ||
| 2823 | padding-bottom: 8px; | ||
| 2824 | } | ||
| 2825 | .uk-tab-left > li:nth-child(n+2) > a, | ||
| 2826 | .uk-tab-right > li:nth-child(n+2) > a { | ||
| 2827 | margin-left: 0; | ||
| 2828 | margin-top: 5px; | ||
| 2829 | } | ||
| 2830 | .uk-tab-left > li.uk-active > a, | ||
| 2831 | .uk-tab-right > li.uk-active > a { | ||
| 2832 | border-color: #ddd; | ||
| 2833 | } | ||
| 2834 | /* | ||
| 2835 | * Modifier: 'tab-left' | ||
| 2836 | */ | ||
| 2837 | .uk-tab-left { | ||
| 2838 | border-right: 1px solid #ddd; | ||
| 2839 | } | ||
| 2840 | .uk-tab-left > li { | ||
| 2841 | margin-right: -1px; | ||
| 2842 | } | ||
| 2843 | .uk-tab-left > li > a { | ||
| 2844 | border-bottom-width: 1px; | ||
| 2845 | border-right-width: 0; | ||
| 2846 | } | ||
| 2847 | .uk-tab-left > li:not(.uk-active) > a:hover, | ||
| 2848 | .uk-tab-left > li:not(.uk-active) > a:focus { | ||
| 2849 | margin-bottom: 0; | ||
| 2850 | margin-right: 1px; | ||
| 2851 | padding-bottom: 8px; | ||
| 2852 | padding-right: 11px; | ||
| 2853 | } | ||
| 2854 | .uk-tab-left > li.uk-active > a { | ||
| 2855 | border-right-color: transparent; | ||
| 2856 | } | ||
| 2857 | /* | ||
| 2858 | * Modifier: 'tab-right' | ||
| 2859 | */ | ||
| 2860 | .uk-tab-right { | ||
| 2861 | border-left: 1px solid #ddd; | ||
| 2862 | } | ||
| 2863 | .uk-tab-right > li { | ||
| 2864 | margin-left: -1px; | ||
| 2865 | } | ||
| 2866 | .uk-tab-right > li > a { | ||
| 2867 | border-bottom-width: 1px; | ||
| 2868 | border-left-width: 0; | ||
| 2869 | } | ||
| 2870 | .uk-tab-right > li:not(.uk-active) > a:hover, | ||
| 2871 | .uk-tab-right > li:not(.uk-active) > a:focus { | ||
| 2872 | margin-bottom: 0; | ||
| 2873 | margin-left: 1px; | ||
| 2874 | padding-bottom: 8px; | ||
| 2875 | padding-left: 11px; | ||
| 2876 | } | ||
| 2877 | .uk-tab-right > li.uk-active > a { | ||
| 2878 | border-left-color: transparent; | ||
| 2879 | } | ||
| 2880 | } | ||
| 2881 | /* Modifier: `uk-tab-bottom' | ||
| 2882 | ========================================================================== */ | ||
| 2883 | .uk-tab-bottom > li > a { | ||
| 2884 | border-radius: 0 0 4px 4px; | ||
| 2885 | } | ||
| 2886 | /* Modifier: `uk-tab-left', `uk-tab-right' | ||
| 2887 | ========================================================================== */ | ||
| 2888 | /* Tablet and bigger */ | ||
| 2889 | @media (min-width: 768px) { | ||
| 2890 | /* | ||
| 2891 | * Modifier: `uk-tab-left' | ||
| 2892 | */ | ||
| 2893 | .uk-tab-left > li > a { | ||
| 2894 | border-radius: 4px 0 0 4px; | ||
| 2895 | } | ||
| 2896 | /* | ||
| 2897 | * Modifier: `uk-tab-right' | ||
| 2898 | */ | ||
| 2899 | .uk-tab-right > li > a { | ||
| 2900 | border-radius: 0 4px 4px 0; | ||
| 2901 | } | ||
| 2902 | } | ||
| 2903 | /* ======================================================================== | ||
| 2904 | Component: Thumbnav | ||
| 2905 | ========================================================================== */ | ||
| 2906 | /* | ||
| 2907 | * 1. Gutter | ||
| 2908 | * 2. Remove default list style | ||
| 2909 | */ | ||
| 2910 | .uk-thumbnav { | ||
| 2911 | display: -ms-flexbox; | ||
| 2912 | display: -webkit-flex; | ||
| 2913 | display: flex; | ||
| 2914 | -ms-flex-wrap: wrap; | ||
| 2915 | -webkit-flex-wrap: wrap; | ||
| 2916 | flex-wrap: wrap; | ||
| 2917 | /* 1 */ | ||
| 2918 | margin-left: -10px; | ||
| 2919 | margin-top: -10px; | ||
| 2920 | /* 2 */ | ||
| 2921 | padding: 0; | ||
| 2922 | list-style: none; | ||
| 2923 | } | ||
| 2924 | /* | ||
| 2925 | * 1. Space is allocated solely based on content dimensions | ||
| 2926 | * 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied | ||
| 2927 | */ | ||
| 2928 | .uk-thumbnav > * { | ||
| 2929 | /* 1 */ | ||
| 2930 | -ms-flex: none; | ||
| 2931 | -webkit-flex: none; | ||
| 2932 | flex: none; | ||
| 2933 | /* 2 */ | ||
| 2934 | padding-left: 10px; | ||
| 2935 | margin-top: 10px; | ||
| 2936 | } | ||
| 2937 | /* | ||
| 2938 | * DEPRECATED IE9 Support | ||
| 2939 | */ | ||
| 2940 | .uk-thumbnav:before, | ||
| 2941 | .uk-thumbnav:after { | ||
| 2942 | content: ""; | ||
| 2943 | display: block; | ||
| 2944 | overflow: hidden; | ||
| 2945 | } | ||
| 2946 | .uk-thumbnav:after { | ||
| 2947 | clear: both; | ||
| 2948 | } | ||
| 2949 | .uk-thumbnav > * { | ||
| 2950 | float: left; | ||
| 2951 | } | ||
| 2952 | /* Items | ||
| 2953 | ========================================================================== */ | ||
| 2954 | .uk-thumbnav > * > * { | ||
| 2955 | display: block; | ||
| 2956 | background: #fff; | ||
| 2957 | } | ||
| 2958 | .uk-thumbnav > * > * > img { | ||
| 2959 | opacity: 0.7; | ||
| 2960 | -webkit-transition: opacity 0.15s linear; | ||
| 2961 | transition: opacity 0.15s linear; | ||
| 2962 | } | ||
| 2963 | /* | ||
| 2964 | * Hover | ||
| 2965 | */ | ||
| 2966 | .uk-thumbnav > * > :hover > img, | ||
| 2967 | .uk-thumbnav > * > :focus > img { | ||
| 2968 | opacity: 1; | ||
| 2969 | } | ||
| 2970 | /* | ||
| 2971 | * Active | ||
| 2972 | */ | ||
| 2973 | .uk-thumbnav > .uk-active > * > img { | ||
| 2974 | opacity: 1; | ||
| 2975 | } | ||
| 2976 | /* ======================================================================== | ||
| 2977 | Component: List | ||
| 2978 | ========================================================================== */ | ||
| 2979 | .uk-list { | ||
| 2980 | padding: 0; | ||
| 2981 | list-style: none; | ||
| 2982 | } | ||
| 2983 | /* | ||
| 2984 | * Micro clearfix to make list more robust | ||
| 2985 | */ | ||
| 2986 | .uk-list > li:before, | ||
| 2987 | .uk-list > li:after { | ||
| 2988 | content: ""; | ||
| 2989 | display: table; | ||
| 2990 | } | ||
| 2991 | .uk-list > li:after { | ||
| 2992 | clear: both; | ||
| 2993 | } | ||
| 2994 | /* | ||
| 2995 | * Remove margin from the last-child | ||
| 2996 | */ | ||
| 2997 | .uk-list > li > :last-child { | ||
| 2998 | margin-bottom: 0; | ||
| 2999 | } | ||
| 3000 | /* | ||
| 3001 | * Nested lists | ||
| 3002 | */ | ||
| 3003 | .uk-list ul { | ||
| 3004 | margin: 0; | ||
| 3005 | padding-left: 20px; | ||
| 3006 | list-style: none; | ||
| 3007 | } | ||
| 3008 | /* Modifier: `uk-list-line` | ||
| 3009 | ========================================================================== */ | ||
| 3010 | .uk-list-line > li:nth-child(n+2) { | ||
| 3011 | margin-top: 5px; | ||
| 3012 | padding-top: 5px; | ||
| 3013 | border-top: 1px solid #ddd; | ||
| 3014 | } | ||
| 3015 | /* Modifier: `uk-list-striped` | ||
| 3016 | ========================================================================== */ | ||
| 3017 | .uk-list-striped > li { | ||
| 3018 | padding: 5px 5px; | ||
| 3019 | border-bottom: 1px solid #ddd; | ||
| 3020 | } | ||
| 3021 | .uk-list-striped > li:nth-of-type(odd) { | ||
| 3022 | background: #fafafa; | ||
| 3023 | } | ||
| 3024 | /* Modifier: `uk-list-space` | ||
| 3025 | ========================================================================== */ | ||
| 3026 | .uk-list-space > li:nth-child(n+2) { | ||
| 3027 | margin-top: 10px; | ||
| 3028 | } | ||
| 3029 | .uk-list-striped > li:first-child { | ||
| 3030 | border-top: 1px solid #ddd; | ||
| 3031 | } | ||
| 3032 | /* ======================================================================== | ||
| 3033 | Component: Description list | ||
| 3034 | ========================================================================== */ | ||
| 3035 | /* Modifier: `uk-description-list-horizontal` | ||
| 3036 | ========================================================================== */ | ||
| 3037 | /* Tablet and bigger */ | ||
| 3038 | @media (min-width: 768px) { | ||
| 3039 | .uk-description-list-horizontal { | ||
| 3040 | overflow: hidden; | ||
| 3041 | } | ||
| 3042 | .uk-description-list-horizontal > dt { | ||
| 3043 | width: 160px; | ||
| 3044 | float: left; | ||
| 3045 | clear: both; | ||
| 3046 | overflow: hidden; | ||
| 3047 | text-overflow: ellipsis; | ||
| 3048 | white-space: nowrap; | ||
| 3049 | } | ||
| 3050 | .uk-description-list-horizontal > dd { | ||
| 3051 | margin-left: 180px; | ||
| 3052 | } | ||
| 3053 | } | ||
| 3054 | /* Modifier: `uk-description-list-line` | ||
| 3055 | ========================================================================== */ | ||
| 3056 | .uk-description-list-line > dt { | ||
| 3057 | font-weight: normal; | ||
| 3058 | } | ||
| 3059 | .uk-description-list-line > dt:nth-child(n+2) { | ||
| 3060 | margin-top: 5px; | ||
| 3061 | padding-top: 5px; | ||
| 3062 | border-top: 1px solid #ddd; | ||
| 3063 | } | ||
| 3064 | .uk-description-list-line > dd { | ||
| 3065 | color: #999; | ||
| 3066 | } | ||
| 3067 | /* ======================================================================== | ||
| 3068 | Component: Table | ||
| 3069 | ========================================================================== */ | ||
| 3070 | /* | ||
| 3071 | * 1. Remove most spacing between table cells. | ||
| 3072 | * 2. Block element behavior | ||
| 3073 | * 3. Style | ||
| 3074 | */ | ||
| 3075 | .uk-table { | ||
| 3076 | /* 1 */ | ||
| 3077 | border-collapse: collapse; | ||
| 3078 | border-spacing: 0; | ||
| 3079 | /* 2 */ | ||
| 3080 | width: 100%; | ||
| 3081 | /* 3 */ | ||
| 3082 | margin-bottom: 15px; | ||
| 3083 | } | ||
| 3084 | /* | ||
| 3085 | * Add margin if adjacent element | ||
| 3086 | */ | ||
| 3087 | * + .uk-table { | ||
| 3088 | margin-top: 15px; | ||
| 3089 | } | ||
| 3090 | .uk-table th, | ||
| 3091 | .uk-table td { | ||
| 3092 | padding: 8px 8px; | ||
| 3093 | border-bottom: 1px solid #ddd; | ||
| 3094 | } | ||
| 3095 | /* | ||
| 3096 | * Set alignment | ||
| 3097 | */ | ||
| 3098 | .uk-table th { | ||
| 3099 | text-align: left; | ||
| 3100 | } | ||
| 3101 | .uk-table td { | ||
| 3102 | vertical-align: top; | ||
| 3103 | } | ||
| 3104 | .uk-table thead th { | ||
| 3105 | vertical-align: bottom; | ||
| 3106 | } | ||
| 3107 | /* | ||
| 3108 | * Caption and footer | ||
| 3109 | */ | ||
| 3110 | .uk-table caption, | ||
| 3111 | .uk-table tfoot { | ||
| 3112 | font-size: 12px; | ||
| 3113 | font-style: italic; | ||
| 3114 | } | ||
| 3115 | .uk-table caption { | ||
| 3116 | text-align: left; | ||
| 3117 | color: #999; | ||
| 3118 | } | ||
| 3119 | /* | ||
| 3120 | * Active State | ||
| 3121 | */ | ||
| 3122 | .uk-table tbody tr.uk-active { | ||
| 3123 | background: #f0f0f0; | ||
| 3124 | } | ||
| 3125 | /* Sub-modifier: `uk-table-middle` | ||
| 3126 | ========================================================================== */ | ||
| 3127 | .uk-table-middle, | ||
| 3128 | .uk-table-middle td { | ||
| 3129 | vertical-align: middle !important; | ||
| 3130 | } | ||
| 3131 | /* Modifier: `uk-table-striped` | ||
| 3132 | ========================================================================== */ | ||
| 3133 | .uk-table-striped tbody tr:nth-of-type(odd) { | ||
| 3134 | background: #fafafa; | ||
| 3135 | } | ||
| 3136 | /* Modifier: `uk-table-condensed` | ||
| 3137 | ========================================================================== */ | ||
| 3138 | .uk-table-condensed td { | ||
| 3139 | padding: 4px 8px; | ||
| 3140 | } | ||
| 3141 | /* Modifier: `uk-table-hover` | ||
| 3142 | ========================================================================== */ | ||
| 3143 | .uk-table-hover tbody tr:hover { | ||
| 3144 | background: #f0f0f0; | ||
| 3145 | } | ||
| 3146 | /* ======================================================================== | ||
| 3147 | Component: Form | ||
| 3148 | ========================================================================== */ | ||
| 3149 | /* | ||
| 3150 | * 1. Define consistent box sizing. | ||
| 3151 | * Default is `content-box` with following exceptions set to `border-box` | ||
| 3152 | * `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]` | ||
| 3153 | * `input[type="search"]` in Chrome, Safari and Opera | ||
| 3154 | * `input[type="color"]` in Firefox | ||
| 3155 | * 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera. | ||
| 3156 | * 3. Remove `border-radius` in iOS. | ||
| 3157 | * 4. Correct `font` properties and `color` not being inherited. | ||
| 3158 | */ | ||
| 3159 | .uk-form input, | ||
| 3160 | .uk-form select, | ||
| 3161 | .uk-form textarea { | ||
| 3162 | /* 1 */ | ||
| 3163 | box-sizing: border-box; | ||
| 3164 | /* 2 */ | ||
| 3165 | margin: 0; | ||
| 3166 | /* 3 */ | ||
| 3167 | border-radius: 0; | ||
| 3168 | /* 4 */ | ||
| 3169 | font: inherit; | ||
| 3170 | color: inherit; | ||
| 3171 | } | ||
| 3172 | /* | ||
| 3173 | * Address inconsistent `text-transform` inheritance which is only inherit in Firefox | ||
| 3174 | */ | ||
| 3175 | .uk-form select { | ||
| 3176 | text-transform: none; | ||
| 3177 | } | ||
| 3178 | /* | ||
| 3179 | * 1. Correct `font` properties not being inherited. | ||
| 3180 | * 2. Don't inherit the `font-weight` and use `bold` instead. | ||
| 3181 | * NOTE: Both declarations don't work in Chrome, Safari and Opera. | ||
| 3182 | */ | ||
| 3183 | .uk-form optgroup { | ||
| 3184 | /* 1 */ | ||
| 3185 | font: inherit; | ||
| 3186 | /* 2 */ | ||
| 3187 | font-weight: bold; | ||
| 3188 | } | ||
| 3189 | /* | ||
| 3190 | * Removes inner padding and border in Firefox 4+. | ||
| 3191 | */ | ||
| 3192 | .uk-form input::-moz-focus-inner { | ||
| 3193 | border: 0; | ||
| 3194 | padding: 0; | ||
| 3195 | } | ||
| 3196 | /* | ||
| 3197 | * Removes excess padding in IE 8/9/10. | ||
| 3198 | */ | ||
| 3199 | .uk-form input[type="checkbox"], | ||
| 3200 | .uk-form input[type="radio"] { | ||
| 3201 | padding: 0; | ||
| 3202 | } | ||
| 3203 | /* | ||
| 3204 | * Improves consistency of cursor style for clickable elements | ||
| 3205 | */ | ||
| 3206 | .uk-form input[type="checkbox"]:not(:disabled), | ||
| 3207 | .uk-form input[type="radio"]:not(:disabled) { | ||
| 3208 | cursor: pointer; | ||
| 3209 | } | ||
| 3210 | /* | ||
| 3211 | * Remove default style in iOS. | ||
| 3212 | */ | ||
| 3213 | .uk-form textarea, | ||
| 3214 | .uk-form input:not([type]), | ||
| 3215 | .uk-form input[type="text"], | ||
| 3216 | .uk-form input[type="password"], | ||
| 3217 | .uk-form input[type="email"], | ||
| 3218 | .uk-form input[type="url"], | ||
| 3219 | .uk-form input[type="search"], | ||
| 3220 | .uk-form input[type="tel"], | ||
| 3221 | .uk-form input[type="number"], | ||
| 3222 | .uk-form input[type="datetime"] { | ||
| 3223 | -webkit-appearance: none; | ||
| 3224 | } | ||
| 3225 | /* | ||
| 3226 | * Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X. | ||
| 3227 | */ | ||
| 3228 | .uk-form input[type="search"]::-webkit-search-cancel-button, | ||
| 3229 | .uk-form input[type="search"]::-webkit-search-decoration { | ||
| 3230 | -webkit-appearance: none; | ||
| 3231 | } | ||
| 3232 | /* | ||
| 3233 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain | ||
| 3234 | * `font-size` values of the `input`, it causes the cursor style of the | ||
| 3235 | * decrement button to change from `default` to `text`. | ||
| 3236 | */ | ||
| 3237 | .uk-form input[type="number"]::-webkit-inner-spin-button, | ||
| 3238 | .uk-form input[type="number"]::-webkit-outer-spin-button { | ||
| 3239 | height: auto; | ||
| 3240 | } | ||
| 3241 | /* | ||
| 3242 | * Define consistent border, margin, and padding. | ||
| 3243 | */ | ||
| 3244 | .uk-form fieldset { | ||
| 3245 | border: none; | ||
| 3246 | margin: 0; | ||
| 3247 | padding: 0; | ||
| 3248 | } | ||
| 3249 | /* | ||
| 3250 | * 1. Remove default vertical scrollbar in IE 8/9/10/11. | ||
| 3251 | * 2. Improve readability and alignment in all browsers. | ||
| 3252 | */ | ||
| 3253 | .uk-form textarea { | ||
| 3254 | /* 1 */ | ||
| 3255 | overflow: auto; | ||
| 3256 | /* 2 */ | ||
| 3257 | vertical-align: top; | ||
| 3258 | } | ||
| 3259 | /* | ||
| 3260 | * Removes placeholder transparency in Firefox. | ||
| 3261 | */ | ||
| 3262 | .uk-form ::-moz-placeholder { | ||
| 3263 | opacity: 1; | ||
| 3264 | } | ||
| 3265 | /* | ||
| 3266 | * Removes `box-shadow` for invalid controls in Firefox. | ||
| 3267 | */ | ||
| 3268 | .uk-form :invalid { | ||
| 3269 | box-shadow: none; | ||
| 3270 | } | ||
| 3271 | /* | ||
| 3272 | * Vertical alignment | ||
| 3273 | */ | ||
| 3274 | .uk-form input:not([type="radio"]):not([type="checkbox"]), | ||
| 3275 | .uk-form select { | ||
| 3276 | vertical-align: middle; | ||
| 3277 | } | ||
| 3278 | /* Style | ||
| 3279 | ========================================================================== */ | ||
| 3280 | /* | ||
| 3281 | * Remove margin from the last-child | ||
| 3282 | */ | ||
| 3283 | .uk-form > :last-child { | ||
| 3284 | margin-bottom: 0; | ||
| 3285 | } | ||
| 3286 | /* | ||
| 3287 | * Controls | ||
| 3288 | * Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image` | ||
| 3289 | * 1. Must be `height` because `min-height` is not working in OSX | ||
| 3290 | * 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports | ||
| 3291 | * 3. Vertical `padding` needed for `select` elements in Firefox | ||
| 3292 | * 4. Style | ||
| 3293 | */ | ||
| 3294 | .uk-form select, | ||
| 3295 | .uk-form textarea, | ||
| 3296 | .uk-form input:not([type]), | ||
| 3297 | .uk-form input[type="text"], | ||
| 3298 | .uk-form input[type="password"], | ||
| 3299 | .uk-form input[type="datetime"], | ||
| 3300 | .uk-form input[type="datetime-local"], | ||
| 3301 | .uk-form input[type="date"], | ||
| 3302 | .uk-form input[type="month"], | ||
| 3303 | .uk-form input[type="time"], | ||
| 3304 | .uk-form input[type="week"], | ||
| 3305 | .uk-form input[type="number"], | ||
| 3306 | .uk-form input[type="email"], | ||
| 3307 | .uk-form input[type="url"], | ||
| 3308 | .uk-form input[type="search"], | ||
| 3309 | .uk-form input[type="tel"], | ||
| 3310 | .uk-form input[type="color"] { | ||
| 3311 | /* 1 */ | ||
| 3312 | height: 30px; | ||
| 3313 | /* 2 */ | ||
| 3314 | max-width: 100%; | ||
| 3315 | /* 3 */ | ||
| 3316 | padding: 4px 6px; | ||
| 3317 | /* 4 */ | ||
| 3318 | border: 1px solid #ddd; | ||
| 3319 | background: #fff; | ||
| 3320 | color: #444; | ||
| 3321 | -webkit-transition: all 0.2s linear; | ||
| 3322 | -webkit-transition-property: border, background, color, box-shadow, padding; | ||
| 3323 | transition: all 0.2s linear; | ||
| 3324 | transition-property: border, background, color, box-shadow, padding; | ||
| 3325 | border-radius: 4px; | ||
| 3326 | } | ||
| 3327 | .uk-form select:focus, | ||
| 3328 | .uk-form textarea:focus, | ||
| 3329 | .uk-form input:not([type]):focus, | ||
| 3330 | .uk-form input[type="text"]:focus, | ||
| 3331 | .uk-form input[type="password"]:focus, | ||
| 3332 | .uk-form input[type="datetime"]:focus, | ||
| 3333 | .uk-form input[type="datetime-local"]:focus, | ||
| 3334 | .uk-form input[type="date"]:focus, | ||
| 3335 | .uk-form input[type="month"]:focus, | ||
| 3336 | .uk-form input[type="time"]:focus, | ||
| 3337 | .uk-form input[type="week"]:focus, | ||
| 3338 | .uk-form input[type="number"]:focus, | ||
| 3339 | .uk-form input[type="email"]:focus, | ||
| 3340 | .uk-form input[type="url"]:focus, | ||
| 3341 | .uk-form input[type="search"]:focus, | ||
| 3342 | .uk-form input[type="tel"]:focus, | ||
| 3343 | .uk-form input[type="color"]:focus { | ||
| 3344 | border-color: #99baca; | ||
| 3345 | outline: 0; | ||
| 3346 | background: #f5fbfe; | ||
| 3347 | color: #444; | ||
| 3348 | } | ||
| 3349 | .uk-form select:disabled, | ||
| 3350 | .uk-form textarea:disabled, | ||
| 3351 | .uk-form input:not([type]):disabled, | ||
| 3352 | .uk-form input[type="text"]:disabled, | ||
| 3353 | .uk-form input[type="password"]:disabled, | ||
| 3354 | .uk-form input[type="datetime"]:disabled, | ||
| 3355 | .uk-form input[type="datetime-local"]:disabled, | ||
| 3356 | .uk-form input[type="date"]:disabled, | ||
| 3357 | .uk-form input[type="month"]:disabled, | ||
| 3358 | .uk-form input[type="time"]:disabled, | ||
| 3359 | .uk-form input[type="week"]:disabled, | ||
| 3360 | .uk-form input[type="number"]:disabled, | ||
| 3361 | .uk-form input[type="email"]:disabled, | ||
| 3362 | .uk-form input[type="url"]:disabled, | ||
| 3363 | .uk-form input[type="search"]:disabled, | ||
| 3364 | .uk-form input[type="tel"]:disabled, | ||
| 3365 | .uk-form input[type="color"]:disabled { | ||
| 3366 | border-color: #ddd; | ||
| 3367 | background-color: #fafafa; | ||
| 3368 | color: #999; | ||
| 3369 | } | ||
| 3370 | /* | ||
| 3371 | * Placeholder | ||
| 3372 | */ | ||
| 3373 | .uk-form :-ms-input-placeholder { | ||
| 3374 | color: #999 !important; | ||
| 3375 | } | ||
| 3376 | .uk-form ::-moz-placeholder { | ||
| 3377 | color: #999; | ||
| 3378 | } | ||
| 3379 | .uk-form ::-webkit-input-placeholder { | ||
| 3380 | color: #999; | ||
| 3381 | } | ||
| 3382 | .uk-form :disabled:-ms-input-placeholder { | ||
| 3383 | color: #999 !important; | ||
| 3384 | } | ||
| 3385 | .uk-form :disabled::-moz-placeholder { | ||
| 3386 | color: #999; | ||
| 3387 | } | ||
| 3388 | .uk-form :disabled::-webkit-input-placeholder { | ||
| 3389 | color: #999; | ||
| 3390 | } | ||
| 3391 | /* | ||
| 3392 | * Legend | ||
| 3393 | * 1. Behave like block element | ||
| 3394 | * 2. Correct `color` not being inherited in IE 8/9/10/11. | ||
| 3395 | * 3. Remove padding | ||
| 3396 | * 4. `margin-bottom` is not working in Safari and Opera. | ||
| 3397 | * Using `padding` and :after instead to create the border | ||
| 3398 | * 5. Style | ||
| 3399 | */ | ||
| 3400 | .uk-form legend { | ||
| 3401 | /* 1 */ | ||
| 3402 | width: 100%; | ||
| 3403 | /* 2 */ | ||
| 3404 | border: 0; | ||
| 3405 | /* 3 */ | ||
| 3406 | padding: 0; | ||
| 3407 | /* 4 */ | ||
| 3408 | padding-bottom: 15px; | ||
| 3409 | /* 5 */ | ||
| 3410 | font-size: 18px; | ||
| 3411 | line-height: 30px; | ||
| 3412 | } | ||
| 3413 | /* | ||
| 3414 | * 1. Fixes IE9 | ||
| 3415 | */ | ||
| 3416 | .uk-form legend:after { | ||
| 3417 | content: ""; | ||
| 3418 | display: block; | ||
| 3419 | border-bottom: 1px solid #ddd; | ||
| 3420 | /* 1 */ | ||
| 3421 | width: 100%; | ||
| 3422 | } | ||
| 3423 | /* Size modifiers | ||
| 3424 | * Higher specificity needed to override defaults | ||
| 3425 | ========================================================================== */ | ||
| 3426 | select.uk-form-small, | ||
| 3427 | textarea.uk-form-small, | ||
| 3428 | input[type].uk-form-small, | ||
| 3429 | input:not([type]).uk-form-small { | ||
| 3430 | height: 25px; | ||
| 3431 | padding: 3px 3px; | ||
| 3432 | font-size: 12px; | ||
| 3433 | } | ||
| 3434 | select.uk-form-large, | ||
| 3435 | textarea.uk-form-large, | ||
| 3436 | input[type].uk-form-large, | ||
| 3437 | input:not([type]).uk-form-large { | ||
| 3438 | height: 40px; | ||
| 3439 | padding: 8px 6px; | ||
| 3440 | font-size: 16px; | ||
| 3441 | } | ||
| 3442 | /* Reset height | ||
| 3443 | * Must be after size modifiers | ||
| 3444 | ========================================================================== */ | ||
| 3445 | .uk-form textarea, | ||
| 3446 | .uk-form select[multiple], | ||
| 3447 | .uk-form select[size] { | ||
| 3448 | height: auto; | ||
| 3449 | } | ||
| 3450 | /* Validation states | ||
| 3451 | * Using !important to keep the selector simple | ||
| 3452 | ========================================================================== */ | ||
| 3453 | /* | ||
| 3454 | * Error state | ||
| 3455 | */ | ||
| 3456 | .uk-form-danger { | ||
| 3457 | border-color: #dc8d99 !important; | ||
| 3458 | background: #fff7f8 !important; | ||
| 3459 | color: #d85030 !important; | ||
| 3460 | } | ||
| 3461 | /* | ||
| 3462 | * Success state | ||
| 3463 | */ | ||
| 3464 | .uk-form-success { | ||
| 3465 | border-color: #8ec73b !important; | ||
| 3466 | background: #fafff2 !important; | ||
| 3467 | color: #659f13 !important; | ||
| 3468 | } | ||
| 3469 | /* Style modifiers | ||
| 3470 | * Using !important to keep the selector simple | ||
| 3471 | ========================================================================== */ | ||
| 3472 | /* | ||
| 3473 | * Blank form | ||
| 3474 | */ | ||
| 3475 | .uk-form-blank { | ||
| 3476 | border-color: transparent !important; | ||
| 3477 | border-style: dashed !important; | ||
| 3478 | background: none !important; | ||
| 3479 | } | ||
| 3480 | .uk-form-blank:focus { | ||
| 3481 | border-color: #ddd !important; | ||
| 3482 | } | ||
| 3483 | /* Size sub-modifiers | ||
| 3484 | ========================================================================== */ | ||
| 3485 | /* | ||
| 3486 | * Fixed widths | ||
| 3487 | * Different widths for mini sized `input` and `select` elements | ||
| 3488 | */ | ||
| 3489 | input.uk-form-width-mini { | ||
| 3490 | width: 40px; | ||
| 3491 | } | ||
| 3492 | select.uk-form-width-mini { | ||
| 3493 | width: 65px; | ||
| 3494 | } | ||
| 3495 | .uk-form-width-small { | ||
| 3496 | width: 130px; | ||
| 3497 | } | ||
| 3498 | .uk-form-width-medium { | ||
| 3499 | width: 200px; | ||
| 3500 | } | ||
| 3501 | .uk-form-width-large { | ||
| 3502 | width: 500px; | ||
| 3503 | } | ||
| 3504 | /* Sub-objects: `uk-form-row` | ||
| 3505 | * Groups labels and controls in rows | ||
| 3506 | ========================================================================== */ | ||
| 3507 | /* | ||
| 3508 | * Micro clearfix | ||
| 3509 | * Needed for `uk-form-horizontal` modifier | ||
| 3510 | */ | ||
| 3511 | .uk-form-row:before, | ||
| 3512 | .uk-form-row:after { | ||
| 3513 | content: ""; | ||
| 3514 | display: table; | ||
| 3515 | } | ||
| 3516 | .uk-form-row:after { | ||
| 3517 | clear: both; | ||
| 3518 | } | ||
| 3519 | /* | ||
| 3520 | * Vertical gutter | ||
| 3521 | */ | ||
| 3522 | .uk-form-row + .uk-form-row { | ||
| 3523 | margin-top: 15px; | ||
| 3524 | } | ||
| 3525 | /* Help text | ||
| 3526 | * Sub-object: `uk-form-help-inline`, `uk-form-help-block` | ||
| 3527 | ========================================================================== */ | ||
| 3528 | .uk-form-help-inline { | ||
| 3529 | display: inline-block; | ||
| 3530 | margin: 0 0 0 10px; | ||
| 3531 | } | ||
| 3532 | .uk-form-help-block { | ||
| 3533 | margin: 5px 0 0 0; | ||
| 3534 | } | ||
| 3535 | /* Controls content | ||
| 3536 | * Sub-object: `uk-form-controls`, `uk-form-controls-condensed` | ||
| 3537 | ========================================================================== */ | ||
| 3538 | /* | ||
| 3539 | * Remove margins | ||
| 3540 | */ | ||
| 3541 | .uk-form-controls > :first-child { | ||
| 3542 | margin-top: 0; | ||
| 3543 | } | ||
| 3544 | .uk-form-controls > :last-child { | ||
| 3545 | margin-bottom: 0; | ||
| 3546 | } | ||
| 3547 | /* | ||
| 3548 | * Group controls and text into blocks with a small spacing between blocks | ||
| 3549 | */ | ||
| 3550 | .uk-form-controls-condensed { | ||
| 3551 | margin: 5px 0; | ||
| 3552 | } | ||
| 3553 | /* Modifier: `uk-form-stacked` | ||
| 3554 | * Requires sub-object: `uk-form-label` | ||
| 3555 | ========================================================================== */ | ||
| 3556 | .uk-form-stacked .uk-form-label { | ||
| 3557 | display: block; | ||
| 3558 | margin-bottom: 5px; | ||
| 3559 | font-weight: bold; | ||
| 3560 | } | ||
| 3561 | /* Modifier: `uk-form-horizontal` | ||
| 3562 | * Requires sub-objects: `uk-form-label`, `uk-form-controls` | ||
| 3563 | ========================================================================== */ | ||
| 3564 | /* Tablet portrait and smaller */ | ||
| 3565 | @media (max-width: 959px) { | ||
| 3566 | /* Behave like `uk-form-stacked` */ | ||
| 3567 | .uk-form-horizontal .uk-form-label { | ||
| 3568 | display: block; | ||
| 3569 | margin-bottom: 5px; | ||
| 3570 | font-weight: bold; | ||
| 3571 | } | ||
| 3572 | } | ||
| 3573 | /* Desktop and bigger */ | ||
| 3574 | @media (min-width: 960px) { | ||
| 3575 | .uk-form-horizontal .uk-form-label { | ||
| 3576 | width: 200px; | ||
| 3577 | margin-top: 5px; | ||
| 3578 | float: left; | ||
| 3579 | } | ||
| 3580 | .uk-form-horizontal .uk-form-controls { | ||
| 3581 | margin-left: 215px; | ||
| 3582 | } | ||
| 3583 | /* Better vertical alignment if controls are checkboxes and radio buttons with text */ | ||
| 3584 | .uk-form-horizontal .uk-form-controls-text { | ||
| 3585 | padding-top: 5px; | ||
| 3586 | } | ||
| 3587 | } | ||
| 3588 | /* Sub-object: `uk-form-icon` | ||
| 3589 | ========================================================================== */ | ||
| 3590 | /* | ||
| 3591 | * 1. Container width fits its content | ||
| 3592 | * 2. Create position context | ||
| 3593 | * 3. Prevent `inline-block` consequences | ||
| 3594 | */ | ||
| 3595 | .uk-form-icon { | ||
| 3596 | /* 1 */ | ||
| 3597 | display: inline-block; | ||
| 3598 | /* 2 */ | ||
| 3599 | position: relative; | ||
| 3600 | /* 3 */ | ||
| 3601 | max-width: 100%; | ||
| 3602 | } | ||
| 3603 | /* | ||
| 3604 | * 1. Make form element clickable through icon | ||
| 3605 | */ | ||
| 3606 | .uk-form-icon > [class*='uk-icon-'] { | ||
| 3607 | position: absolute; | ||
| 3608 | top: 50%; | ||
| 3609 | width: 30px; | ||
| 3610 | margin-top: -7px; | ||
| 3611 | font-size: 14px; | ||
| 3612 | color: #999; | ||
| 3613 | text-align: center; | ||
| 3614 | /* 1 */ | ||
| 3615 | pointer-events: none; | ||
| 3616 | } | ||
| 3617 | .uk-form-icon:not(.uk-form-icon-flip) > input { | ||
| 3618 | padding-left: 30px !important; | ||
| 3619 | } | ||
| 3620 | /* | ||
| 3621 | * Sub-modifier: `uk-form-icon-flip` | ||
| 3622 | */ | ||
| 3623 | .uk-form-icon-flip > [class*='uk-icon-'] { | ||
| 3624 | right: 0; | ||
| 3625 | } | ||
| 3626 | .uk-form-icon-flip > input { | ||
| 3627 | padding-right: 30px !important; | ||
| 3628 | } | ||
| 3629 | /* ======================================================================== | ||
| 3630 | Component: Button | ||
| 3631 | ========================================================================== */ | ||
| 3632 | /* | ||
| 3633 | * Removes inner padding and border in Firefox 4+. | ||
| 3634 | */ | ||
| 3635 | .uk-button::-moz-focus-inner { | ||
| 3636 | border: 0; | ||
| 3637 | padding: 0; | ||
| 3638 | } | ||
| 3639 | /* | ||
| 3640 | * 1. Correct inability to style clickable `input` types in iOS. | ||
| 3641 | * 2. Remove margins in Chrome, Safari and Opera. | ||
| 3642 | * 3. Remove borders for `button`. | ||
| 3643 | * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. | ||
| 3644 | * 5. Correct `font` properties and `color` not being inherited for `button`. | ||
| 3645 | * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE | ||
| 3646 | * 7. Style | ||
| 3647 | * 8. `line-height` is used to create a height | ||
| 3648 | * 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working. | ||
| 3649 | * 10. Reset button group whitespace hack | ||
| 3650 | * 11. Required for `a`. | ||
| 3651 | */ | ||
| 3652 | .uk-button { | ||
| 3653 | /* 1 */ | ||
| 3654 | -webkit-appearance: none; | ||
| 3655 | /* 2 */ | ||
| 3656 | margin: 0; | ||
| 3657 | /* 3 */ | ||
| 3658 | border: none; | ||
| 3659 | /* 4 */ | ||
| 3660 | overflow: visible; | ||
| 3661 | /* 5 */ | ||
| 3662 | font: inherit; | ||
| 3663 | color: #444; | ||
| 3664 | /* 6 */ | ||
| 3665 | text-transform: none; | ||
| 3666 | /* 7 */ | ||
| 3667 | display: inline-block; | ||
| 3668 | box-sizing: border-box; | ||
| 3669 | padding: 0 12px; | ||
| 3670 | background: #f7f7f7; | ||
| 3671 | vertical-align: middle; | ||
| 3672 | /* 8 */ | ||
| 3673 | line-height: 28px; | ||
| 3674 | /* 9 */ | ||
| 3675 | min-height: 30px; | ||
| 3676 | /* 10 */ | ||
| 3677 | font-size: 1rem; | ||
| 3678 | /* 11 */ | ||
| 3679 | text-decoration: none; | ||
| 3680 | text-align: center; | ||
| 3681 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 3682 | border-bottom-color: rgba(0, 0, 0, 0.3); | ||
| 3683 | background-origin: border-box; | ||
| 3684 | background-image: -webkit-linear-gradient(top, #fff, #eee); | ||
| 3685 | background-image: linear-gradient(to bottom, #fff, #eee); | ||
| 3686 | border-radius: 4px; | ||
| 3687 | text-shadow: 0 1px 0 #fff; | ||
| 3688 | } | ||
| 3689 | .uk-button:not(:disabled) { | ||
| 3690 | cursor: pointer; | ||
| 3691 | } | ||
| 3692 | /* | ||
| 3693 | * Hover | ||
| 3694 | * 1. Apply hover style also to focus state | ||
| 3695 | * 2. Remove default focus style | ||
| 3696 | * 3. Required for `a` elements | ||
| 3697 | */ | ||
| 3698 | .uk-button:hover, | ||
| 3699 | .uk-button:focus { | ||
| 3700 | background-color: #fafafa; | ||
| 3701 | color: #444; | ||
| 3702 | /* 2 */ | ||
| 3703 | outline: none; | ||
| 3704 | /* 3 */ | ||
| 3705 | text-decoration: none; | ||
| 3706 | background-image: none; | ||
| 3707 | } | ||
| 3708 | /* Active */ | ||
| 3709 | .uk-button:active, | ||
| 3710 | .uk-button.uk-active { | ||
| 3711 | background-color: #f5f5f5; | ||
| 3712 | color: #444; | ||
| 3713 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3714 | border-top-color: rgba(0, 0, 0, 0.3); | ||
| 3715 | background-image: none; | ||
| 3716 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 3717 | } | ||
| 3718 | /* Color modifiers | ||
| 3719 | ========================================================================== */ | ||
| 3720 | /* | ||
| 3721 | * Modifier: `uk-button-primary` | ||
| 3722 | */ | ||
| 3723 | .uk-button-primary { | ||
| 3724 | background-color: #009dd8; | ||
| 3725 | color: #fff; | ||
| 3726 | background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); | ||
| 3727 | background-image: linear-gradient(to bottom, #00b4f5, #008dc5); | ||
| 3728 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3729 | border-bottom-color: rgba(0, 0, 0, 0.4); | ||
| 3730 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 3731 | } | ||
| 3732 | /* Hover */ | ||
| 3733 | .uk-button-primary:hover, | ||
| 3734 | .uk-button-primary:focus { | ||
| 3735 | background-color: #00aff2; | ||
| 3736 | color: #fff; | ||
| 3737 | background-image: none; | ||
| 3738 | } | ||
| 3739 | /* Active */ | ||
| 3740 | .uk-button-primary:active, | ||
| 3741 | .uk-button-primary.uk-active { | ||
| 3742 | background-color: #008abf; | ||
| 3743 | color: #fff; | ||
| 3744 | background-image: none; | ||
| 3745 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3746 | border-top-color: rgba(0, 0, 0, 0.4); | ||
| 3747 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 3748 | } | ||
| 3749 | /* | ||
| 3750 | * Modifier: `uk-button-success` | ||
| 3751 | */ | ||
| 3752 | .uk-button-success { | ||
| 3753 | background-color: #82bb42; | ||
| 3754 | color: #fff; | ||
| 3755 | background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); | ||
| 3756 | background-image: linear-gradient(to bottom, #9fd256, #6fac34); | ||
| 3757 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3758 | border-bottom-color: rgba(0, 0, 0, 0.4); | ||
| 3759 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 3760 | } | ||
| 3761 | /* Hover */ | ||
| 3762 | .uk-button-success:hover, | ||
| 3763 | .uk-button-success:focus { | ||
| 3764 | background-color: #8fce48; | ||
| 3765 | color: #fff; | ||
| 3766 | background-image: none; | ||
| 3767 | } | ||
| 3768 | /* Active */ | ||
| 3769 | .uk-button-success:active, | ||
| 3770 | .uk-button-success.uk-active { | ||
| 3771 | background-color: #76b430; | ||
| 3772 | color: #fff; | ||
| 3773 | background-image: none; | ||
| 3774 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3775 | border-top-color: rgba(0, 0, 0, 0.4); | ||
| 3776 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 3777 | } | ||
| 3778 | /* | ||
| 3779 | * Modifier: `uk-button-danger` | ||
| 3780 | */ | ||
| 3781 | .uk-button-danger { | ||
| 3782 | background-color: #d32c46; | ||
| 3783 | color: #fff; | ||
| 3784 | background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); | ||
| 3785 | background-image: linear-gradient(to bottom, #ee465a, #c11a39); | ||
| 3786 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3787 | border-bottom-color: rgba(0, 0, 0, 0.4); | ||
| 3788 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 3789 | } | ||
| 3790 | /* Hover */ | ||
| 3791 | .uk-button-danger:hover, | ||
| 3792 | .uk-button-danger:focus { | ||
| 3793 | background-color: #e33551; | ||
| 3794 | color: #fff; | ||
| 3795 | background-image: none; | ||
| 3796 | } | ||
| 3797 | /* Active */ | ||
| 3798 | .uk-button-danger:active, | ||
| 3799 | .uk-button-danger.uk-active { | ||
| 3800 | background-color: #c91c37; | ||
| 3801 | color: #fff; | ||
| 3802 | background-image: none; | ||
| 3803 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3804 | border-top-color: rgba(0, 0, 0, 0.4); | ||
| 3805 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); | ||
| 3806 | } | ||
| 3807 | /* Disabled state | ||
| 3808 | * Overrides also the color modifiers | ||
| 3809 | ========================================================================== */ | ||
| 3810 | /* Equal for all button types */ | ||
| 3811 | .uk-button:disabled { | ||
| 3812 | background-color: #fafafa; | ||
| 3813 | color: #999; | ||
| 3814 | border-color: rgba(0, 0, 0, 0.2); | ||
| 3815 | background-image: none; | ||
| 3816 | box-shadow: none; | ||
| 3817 | text-shadow: 0 1px 0 #fff; | ||
| 3818 | } | ||
| 3819 | /* Modifier: `uk-button-link` | ||
| 3820 | ========================================================================== */ | ||
| 3821 | /* Reset */ | ||
| 3822 | .uk-button-link, | ||
| 3823 | .uk-button-link:hover, | ||
| 3824 | .uk-button-link:focus, | ||
| 3825 | .uk-button-link:active, | ||
| 3826 | .uk-button-link.uk-active, | ||
| 3827 | .uk-button-link:disabled { | ||
| 3828 | border-color: transparent; | ||
| 3829 | background: none; | ||
| 3830 | box-shadow: none; | ||
| 3831 | text-shadow: none; | ||
| 3832 | } | ||
| 3833 | /* Color */ | ||
| 3834 | .uk-button-link { | ||
| 3835 | color: #07D; | ||
| 3836 | } | ||
| 3837 | .uk-button-link:hover, | ||
| 3838 | .uk-button-link:focus, | ||
| 3839 | .uk-button-link:active, | ||
| 3840 | .uk-button-link.uk-active { | ||
| 3841 | color: #059; | ||
| 3842 | text-decoration: underline; | ||
| 3843 | } | ||
| 3844 | .uk-button-link:disabled { | ||
| 3845 | color: #999; | ||
| 3846 | } | ||
| 3847 | /* Focus */ | ||
| 3848 | .uk-button-link:focus { | ||
| 3849 | outline: 1px dotted; | ||
| 3850 | } | ||
| 3851 | /* Size modifiers | ||
| 3852 | ========================================================================== */ | ||
| 3853 | .uk-button-mini { | ||
| 3854 | min-height: 20px; | ||
| 3855 | padding: 0 6px; | ||
| 3856 | line-height: 18px; | ||
| 3857 | font-size: 11px; | ||
| 3858 | } | ||
| 3859 | .uk-button-small { | ||
| 3860 | min-height: 25px; | ||
| 3861 | padding: 0 10px; | ||
| 3862 | line-height: 23px; | ||
| 3863 | font-size: 12px; | ||
| 3864 | } | ||
| 3865 | .uk-button-large { | ||
| 3866 | min-height: 40px; | ||
| 3867 | padding: 0 15px; | ||
| 3868 | line-height: 38px; | ||
| 3869 | font-size: 16px; | ||
| 3870 | border-radius: 5px; | ||
| 3871 | } | ||
| 3872 | /* Sub-object `uk-button-group` | ||
| 3873 | ========================================================================== */ | ||
| 3874 | /* | ||
| 3875 | * 1. Behave like buttons | ||
| 3876 | * 2. Create position context for dropdowns | ||
| 3877 | * 3. Remove whitespace between child elements when using `inline-block` | ||
| 3878 | * 4. Prevent buttons from wrapping | ||
| 3879 | * 5. Remove whitespace between child elements when using `inline-block` | ||
| 3880 | */ | ||
| 3881 | .uk-button-group { | ||
| 3882 | /* 1 */ | ||
| 3883 | display: inline-block; | ||
| 3884 | vertical-align: middle; | ||
| 3885 | /* 2 */ | ||
| 3886 | position: relative; | ||
| 3887 | /* 3 */ | ||
| 3888 | font-size: 0.001px; | ||
| 3889 | /* 4 */ | ||
| 3890 | white-space: nowrap; | ||
| 3891 | } | ||
| 3892 | .uk-button-group > * { | ||
| 3893 | display: inline-block; | ||
| 3894 | } | ||
| 3895 | /* 5 */ | ||
| 3896 | .uk-button-group .uk-button { | ||
| 3897 | vertical-align: top; | ||
| 3898 | } | ||
| 3899 | /* Sub-object: `uk-button-dropdown` | ||
| 3900 | ========================================================================== */ | ||
| 3901 | /* | ||
| 3902 | * 1. Behave like buttons | ||
| 3903 | * 2. Create position context for dropdowns | ||
| 3904 | */ | ||
| 3905 | .uk-button-dropdown { | ||
| 3906 | /* 1 */ | ||
| 3907 | display: inline-block; | ||
| 3908 | vertical-align: middle; | ||
| 3909 | /* 2 */ | ||
| 3910 | position: relative; | ||
| 3911 | } | ||
| 3912 | /* Sub-object `uk-button-group` | ||
| 3913 | ========================================================================== */ | ||
| 3914 | /* | ||
| 3915 | * Reset border-radius | ||
| 3916 | */ | ||
| 3917 | .uk-button-group > .uk-button:not(:first-child):not(:last-child), | ||
| 3918 | .uk-button-group > div:not(:first-child):not(:last-child) .uk-button { | ||
| 3919 | border-radius: 0; | ||
| 3920 | } | ||
| 3921 | .uk-button-group > .uk-button:first-child, | ||
| 3922 | .uk-button-group > div:first-child .uk-button { | ||
| 3923 | border-top-right-radius: 0; | ||
| 3924 | border-bottom-right-radius: 0; | ||
| 3925 | } | ||
| 3926 | .uk-button-group > .uk-button:last-child, | ||
| 3927 | .uk-button-group > div:last-child .uk-button { | ||
| 3928 | border-top-left-radius: 0; | ||
| 3929 | border-bottom-left-radius: 0; | ||
| 3930 | } | ||
| 3931 | /* | ||
| 3932 | * Collapse border | ||
| 3933 | */ | ||
| 3934 | .uk-button-group > .uk-button:nth-child(n+2), | ||
| 3935 | .uk-button-group > div:nth-child(n+2) .uk-button { | ||
| 3936 | margin-left: -1px; | ||
| 3937 | } | ||
| 3938 | /* | ||
| 3939 | * Create position context to superimpose the successor elements border | ||
| 3940 | * Known issue: If you use an `a` element as button and an icon inside, | ||
| 3941 | * the active state will not work if you click the icon inside the button | ||
| 3942 | * Workaround: Just use a `button` or `input` element as button | ||
| 3943 | */ | ||
| 3944 | .uk-button-group .uk-button:hover, | ||
| 3945 | .uk-button-group .uk-button:active, | ||
| 3946 | .uk-button-group .uk-button.uk-active { | ||
| 3947 | position: relative; | ||
| 3948 | } | ||
| 3949 | /* ======================================================================== | ||
| 3950 | Component: Icon | ||
| 3951 | ========================================================================== */ | ||
| 3952 | @font-face { | ||
| 3953 | font-family: 'FontAwesome'; | ||
| 3954 | src: url("../fonts/fontawesome-webfont.woff2") format('woff2'), url("../fonts/fontawesome-webfont.woff") format("woff"), url("../fonts/fontawesome-webfont.ttf") format("truetype"); | ||
| 3955 | font-weight: normal; | ||
| 3956 | font-style: normal; | ||
| 3957 | } | ||
| 3958 | /* | ||
| 3959 | * 1. Allow margin | ||
| 3960 | * 2. Prevent inherit font style | ||
| 3961 | * 4. Correct line-height | ||
| 3962 | * 5. Better font rendering | ||
| 3963 | * 6. Remove `text-decoration` for anchors | ||
| 3964 | */ | ||
| 3965 | [class*='uk-icon-'] { | ||
| 3966 | font-family: FontAwesome; | ||
| 3967 | /* 1 */ | ||
| 3968 | display: inline-block; | ||
| 3969 | /* 2 */ | ||
| 3970 | font-weight: normal; | ||
| 3971 | font-style: normal; | ||
| 3972 | /* 4 */ | ||
| 3973 | line-height: 1; | ||
| 3974 | /* 5 */ | ||
| 3975 | -webkit-font-smoothing: antialiased; | ||
| 3976 | -moz-osx-font-smoothing: grayscale; | ||
| 3977 | } | ||
| 3978 | /* 6 */ | ||
| 3979 | [class*='uk-icon-'], | ||
| 3980 | [class*='uk-icon-']:hover, | ||
| 3981 | [class*='uk-icon-']:focus { | ||
| 3982 | text-decoration: none; | ||
| 3983 | } | ||
| 3984 | /* Size modifiers | ||
| 3985 | ========================================================================== */ | ||
| 3986 | .uk-icon-small { | ||
| 3987 | font-size: 150%; | ||
| 3988 | vertical-align: -10%; | ||
| 3989 | } | ||
| 3990 | .uk-icon-medium { | ||
| 3991 | font-size: 200%; | ||
| 3992 | vertical-align: -16%; | ||
| 3993 | } | ||
| 3994 | .uk-icon-large { | ||
| 3995 | font-size: 250%; | ||
| 3996 | vertical-align: -22%; | ||
| 3997 | } | ||
| 3998 | /* Modifier: `uk-icon-justify` | ||
| 3999 | ========================================================================== */ | ||
| 4000 | .uk-icon-justify { | ||
| 4001 | width: 1em; | ||
| 4002 | text-align: center; | ||
| 4003 | } | ||
| 4004 | /* Modifier: `uk-icon-spin` | ||
| 4005 | ========================================================================== */ | ||
| 4006 | .uk-icon-spin { | ||
| 4007 | display: inline-block; | ||
| 4008 | -webkit-animation: uk-rotate 2s infinite linear; | ||
| 4009 | animation: uk-rotate 2s infinite linear; | ||
| 4010 | } | ||
| 4011 | /* Modifier: `uk-icon-hover` | ||
| 4012 | ========================================================================== */ | ||
| 4013 | .uk-icon-hover { | ||
| 4014 | color: #999; | ||
| 4015 | } | ||
| 4016 | /* | ||
| 4017 | * Hover | ||
| 4018 | */ | ||
| 4019 | .uk-icon-hover:hover { | ||
| 4020 | color: #444; | ||
| 4021 | } | ||
| 4022 | /* Modifier: `uk-icon-button` | ||
| 4023 | ========================================================================== */ | ||
| 4024 | .uk-icon-button { | ||
| 4025 | box-sizing: border-box; | ||
| 4026 | display: inline-block; | ||
| 4027 | width: 35px; | ||
| 4028 | height: 35px; | ||
| 4029 | border-radius: 100%; | ||
| 4030 | background: #f7f7f7; | ||
| 4031 | line-height: 35px; | ||
| 4032 | color: #444; | ||
| 4033 | font-size: 18px; | ||
| 4034 | text-align: center; | ||
| 4035 | border: 1px solid #ccc; | ||
| 4036 | border-bottom-color: #bbb; | ||
| 4037 | background-origin: border-box; | ||
| 4038 | background-image: -webkit-linear-gradient(top, #fff, #eee); | ||
| 4039 | background-image: linear-gradient(to bottom, #fff, #eee); | ||
| 4040 | text-shadow: 0 1px 0 #fff; | ||
| 4041 | } | ||
| 4042 | /* | ||
| 4043 | * Hover | ||
| 4044 | * 1. Apply hover style also to focus state | ||
| 4045 | * 2. Remove default focus style | ||
| 4046 | */ | ||
| 4047 | .uk-icon-button:hover, | ||
| 4048 | .uk-icon-button:focus { | ||
| 4049 | background-color: #fafafa; | ||
| 4050 | color: #444; | ||
| 4051 | /* 2 */ | ||
| 4052 | outline: none; | ||
| 4053 | background-image: none; | ||
| 4054 | } | ||
| 4055 | /* Active */ | ||
| 4056 | .uk-icon-button:active { | ||
| 4057 | background-color: #f5f5f5; | ||
| 4058 | color: #444; | ||
| 4059 | border-color: #ccc; | ||
| 4060 | border-top-color: #bbb; | ||
| 4061 | background-image: none; | ||
| 4062 | box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); | ||
| 4063 | } | ||
| 4064 | /* Icon mapping | ||
| 4065 | ========================================================================== */ | ||
| 4066 | .uk-icon-glass:before { | ||
| 4067 | content: "\f000"; | ||
| 4068 | } | ||
| 4069 | .uk-icon-music:before { | ||
| 4070 | content: "\f001"; | ||
| 4071 | } | ||
| 4072 | .uk-icon-search:before { | ||
| 4073 | content: "\f002"; | ||
| 4074 | } | ||
| 4075 | .uk-icon-envelope-o:before { | ||
| 4076 | content: "\f003"; | ||
| 4077 | } | ||
| 4078 | .uk-icon-heart:before { | ||
| 4079 | content: "\f004"; | ||
| 4080 | } | ||
| 4081 | .uk-icon-star:before { | ||
| 4082 | content: "\f005"; | ||
| 4083 | } | ||
| 4084 | .uk-icon-star-o:before { | ||
| 4085 | content: "\f006"; | ||
| 4086 | } | ||
| 4087 | .uk-icon-user:before { | ||
| 4088 | content: "\f007"; | ||
| 4089 | } | ||
| 4090 | .uk-icon-film:before { | ||
| 4091 | content: "\f008"; | ||
| 4092 | } | ||
| 4093 | .uk-icon-th-large:before { | ||
| 4094 | content: "\f009"; | ||
| 4095 | } | ||
| 4096 | .uk-icon-th:before { | ||
| 4097 | content: "\f00a"; | ||
| 4098 | } | ||
| 4099 | .uk-icon-th-list:before { | ||
| 4100 | content: "\f00b"; | ||
| 4101 | } | ||
| 4102 | .uk-icon-check:before { | ||
| 4103 | content: "\f00c"; | ||
| 4104 | } | ||
| 4105 | .uk-icon-remove:before, | ||
| 4106 | .uk-icon-close:before, | ||
| 4107 | .uk-icon-times:before { | ||
| 4108 | content: "\f00d"; | ||
| 4109 | } | ||
| 4110 | .uk-icon-search-plus:before { | ||
| 4111 | content: "\f00e"; | ||
| 4112 | } | ||
| 4113 | .uk-icon-search-minus:before { | ||
| 4114 | content: "\f010"; | ||
| 4115 | } | ||
| 4116 | .uk-icon-power-off:before { | ||
| 4117 | content: "\f011"; | ||
| 4118 | } | ||
| 4119 | .uk-icon-signal:before { | ||
| 4120 | content: "\f012"; | ||
| 4121 | } | ||
| 4122 | .uk-icon-gear:before, | ||
| 4123 | .uk-icon-cog:before { | ||
| 4124 | content: "\f013"; | ||
| 4125 | } | ||
| 4126 | .uk-icon-trash-o:before { | ||
| 4127 | content: "\f014"; | ||
| 4128 | } | ||
| 4129 | .uk-icon-home:before { | ||
| 4130 | content: "\f015"; | ||
| 4131 | } | ||
| 4132 | .uk-icon-file-o:before { | ||
| 4133 | content: "\f016"; | ||
| 4134 | } | ||
| 4135 | .uk-icon-clock-o:before { | ||
| 4136 | content: "\f017"; | ||
| 4137 | } | ||
| 4138 | .uk-icon-road:before { | ||
| 4139 | content: "\f018"; | ||
| 4140 | } | ||
| 4141 | .uk-icon-download:before { | ||
| 4142 | content: "\f019"; | ||
| 4143 | } | ||
| 4144 | .uk-icon-arrow-circle-o-down:before { | ||
| 4145 | content: "\f01a"; | ||
| 4146 | } | ||
| 4147 | .uk-icon-arrow-circle-o-up:before { | ||
| 4148 | content: "\f01b"; | ||
| 4149 | } | ||
| 4150 | .uk-icon-inbox:before { | ||
| 4151 | content: "\f01c"; | ||
| 4152 | } | ||
| 4153 | .uk-icon-play-circle-o:before { | ||
| 4154 | content: "\f01d"; | ||
| 4155 | } | ||
| 4156 | .uk-icon-rotate-right:before, | ||
| 4157 | .uk-icon-repeat:before { | ||
| 4158 | content: "\f01e"; | ||
| 4159 | } | ||
| 4160 | .uk-icon-refresh:before { | ||
| 4161 | content: "\f021"; | ||
| 4162 | } | ||
| 4163 | .uk-icon-list-alt:before { | ||
| 4164 | content: "\f022"; | ||
| 4165 | } | ||
| 4166 | .uk-icon-lock:before { | ||
| 4167 | content: "\f023"; | ||
| 4168 | } | ||
| 4169 | .uk-icon-flag:before { | ||
| 4170 | content: "\f024"; | ||
| 4171 | } | ||
| 4172 | .uk-icon-headphones:before { | ||
| 4173 | content: "\f025"; | ||
| 4174 | } | ||
| 4175 | .uk-icon-volume-off:before { | ||
| 4176 | content: "\f026"; | ||
| 4177 | } | ||
| 4178 | .uk-icon-volume-down:before { | ||
| 4179 | content: "\f027"; | ||
| 4180 | } | ||
| 4181 | .uk-icon-volume-up:before { | ||
| 4182 | content: "\f028"; | ||
| 4183 | } | ||
| 4184 | .uk-icon-qrcode:before { | ||
| 4185 | content: "\f029"; | ||
| 4186 | } | ||
| 4187 | .uk-icon-barcode:before { | ||
| 4188 | content: "\f02a"; | ||
| 4189 | } | ||
| 4190 | .uk-icon-tag:before { | ||
| 4191 | content: "\f02b"; | ||
| 4192 | } | ||
| 4193 | .uk-icon-tags:before { | ||
| 4194 | content: "\f02c"; | ||
| 4195 | } | ||
| 4196 | .uk-icon-book:before { | ||
| 4197 | content: "\f02d"; | ||
| 4198 | } | ||
| 4199 | .uk-icon-bookmark:before { | ||
| 4200 | content: "\f02e"; | ||
| 4201 | } | ||
| 4202 | .uk-icon-print:before { | ||
| 4203 | content: "\f02f"; | ||
| 4204 | } | ||
| 4205 | .uk-icon-camera:before { | ||
| 4206 | content: "\f030"; | ||
| 4207 | } | ||
| 4208 | .uk-icon-font:before { | ||
| 4209 | content: "\f031"; | ||
| 4210 | } | ||
| 4211 | .uk-icon-bold:before { | ||
| 4212 | content: "\f032"; | ||
| 4213 | } | ||
| 4214 | .uk-icon-italic:before { | ||
| 4215 | content: "\f033"; | ||
| 4216 | } | ||
| 4217 | .uk-icon-text-height:before { | ||
| 4218 | content: "\f034"; | ||
| 4219 | } | ||
| 4220 | .uk-icon-text-width:before { | ||
| 4221 | content: "\f035"; | ||
| 4222 | } | ||
| 4223 | .uk-icon-align-left:before { | ||
| 4224 | content: "\f036"; | ||
| 4225 | } | ||
| 4226 | .uk-icon-align-center:before { | ||
| 4227 | content: "\f037"; | ||
| 4228 | } | ||
| 4229 | .uk-icon-align-right:before { | ||
| 4230 | content: "\f038"; | ||
| 4231 | } | ||
| 4232 | .uk-icon-align-justify:before { | ||
| 4233 | content: "\f039"; | ||
| 4234 | } | ||
| 4235 | .uk-icon-list:before { | ||
| 4236 | content: "\f03a"; | ||
| 4237 | } | ||
| 4238 | .uk-icon-dedent:before, | ||
| 4239 | .uk-icon-outdent:before { | ||
| 4240 | content: "\f03b"; | ||
| 4241 | } | ||
| 4242 | .uk-icon-indent:before { | ||
| 4243 | content: "\f03c"; | ||
| 4244 | } | ||
| 4245 | .uk-icon-video-camera:before { | ||
| 4246 | content: "\f03d"; | ||
| 4247 | } | ||
| 4248 | .uk-icon-photo:before, | ||
| 4249 | .uk-icon-image:before, | ||
| 4250 | .uk-icon-picture-o:before { | ||
| 4251 | content: "\f03e"; | ||
| 4252 | } | ||
| 4253 | .uk-icon-pencil:before { | ||
| 4254 | content: "\f040"; | ||
| 4255 | } | ||
| 4256 | .uk-icon-map-marker:before { | ||
| 4257 | content: "\f041"; | ||
| 4258 | } | ||
| 4259 | .uk-icon-adjust:before { | ||
| 4260 | content: "\f042"; | ||
| 4261 | } | ||
| 4262 | .uk-icon-tint:before { | ||
| 4263 | content: "\f043"; | ||
| 4264 | } | ||
| 4265 | .uk-icon-edit:before, | ||
| 4266 | .uk-icon-pencil-square-o:before { | ||
| 4267 | content: "\f044"; | ||
| 4268 | } | ||
| 4269 | .uk-icon-share-square-o:before { | ||
| 4270 | content: "\f045"; | ||
| 4271 | } | ||
| 4272 | .uk-icon-check-square-o:before { | ||
| 4273 | content: "\f046"; | ||
| 4274 | } | ||
| 4275 | .uk-icon-arrows:before { | ||
| 4276 | content: "\f047"; | ||
| 4277 | } | ||
| 4278 | .uk-icon-step-backward:before { | ||
| 4279 | content: "\f048"; | ||
| 4280 | } | ||
| 4281 | .uk-icon-fast-backward:before { | ||
| 4282 | content: "\f049"; | ||
| 4283 | } | ||
| 4284 | .uk-icon-backward:before { | ||
| 4285 | content: "\f04a"; | ||
| 4286 | } | ||
| 4287 | .uk-icon-play:before { | ||
| 4288 | content: "\f04b"; | ||
| 4289 | } | ||
| 4290 | .uk-icon-pause:before { | ||
| 4291 | content: "\f04c"; | ||
| 4292 | } | ||
| 4293 | .uk-icon-stop:before { | ||
| 4294 | content: "\f04d"; | ||
| 4295 | } | ||
| 4296 | .uk-icon-forward:before { | ||
| 4297 | content: "\f04e"; | ||
| 4298 | } | ||
| 4299 | .uk-icon-fast-forward:before { | ||
| 4300 | content: "\f050"; | ||
| 4301 | } | ||
| 4302 | .uk-icon-step-forward:before { | ||
| 4303 | content: "\f051"; | ||
| 4304 | } | ||
| 4305 | .uk-icon-eject:before { | ||
| 4306 | content: "\f052"; | ||
| 4307 | } | ||
| 4308 | .uk-icon-chevron-left:before { | ||
| 4309 | content: "\f053"; | ||
| 4310 | } | ||
| 4311 | .uk-icon-chevron-right:before { | ||
| 4312 | content: "\f054"; | ||
| 4313 | } | ||
| 4314 | .uk-icon-plus-circle:before { | ||
| 4315 | content: "\f055"; | ||
| 4316 | } | ||
| 4317 | .uk-icon-minus-circle:before { | ||
| 4318 | content: "\f056"; | ||
| 4319 | } | ||
| 4320 | .uk-icon-times-circle:before { | ||
| 4321 | content: "\f057"; | ||
| 4322 | } | ||
| 4323 | .uk-icon-check-circle:before { | ||
| 4324 | content: "\f058"; | ||
| 4325 | } | ||
| 4326 | .uk-icon-question-circle:before { | ||
| 4327 | content: "\f059"; | ||
| 4328 | } | ||
| 4329 | .uk-icon-info-circle:before { | ||
| 4330 | content: "\f05a"; | ||
| 4331 | } | ||
| 4332 | .uk-icon-crosshairs:before { | ||
| 4333 | content: "\f05b"; | ||
| 4334 | } | ||
| 4335 | .uk-icon-times-circle-o:before { | ||
| 4336 | content: "\f05c"; | ||
| 4337 | } | ||
| 4338 | .uk-icon-check-circle-o:before { | ||
| 4339 | content: "\f05d"; | ||
| 4340 | } | ||
| 4341 | .uk-icon-ban:before { | ||
| 4342 | content: "\f05e"; | ||
| 4343 | } | ||
| 4344 | .uk-icon-arrow-left:before { | ||
| 4345 | content: "\f060"; | ||
| 4346 | } | ||
| 4347 | .uk-icon-arrow-right:before { | ||
| 4348 | content: "\f061"; | ||
| 4349 | } | ||
| 4350 | .uk-icon-arrow-up:before { | ||
| 4351 | content: "\f062"; | ||
| 4352 | } | ||
| 4353 | .uk-icon-arrow-down:before { | ||
| 4354 | content: "\f063"; | ||
| 4355 | } | ||
| 4356 | .uk-icon-mail-forward:before, | ||
| 4357 | .uk-icon-share:before { | ||
| 4358 | content: "\f064"; | ||
| 4359 | } | ||
| 4360 | .uk-icon-expand:before { | ||
| 4361 | content: "\f065"; | ||
| 4362 | } | ||
| 4363 | .uk-icon-compress:before { | ||
| 4364 | content: "\f066"; | ||
| 4365 | } | ||
| 4366 | .uk-icon-plus:before { | ||
| 4367 | content: "\f067"; | ||
| 4368 | } | ||
| 4369 | .uk-icon-minus:before { | ||
| 4370 | content: "\f068"; | ||
| 4371 | } | ||
| 4372 | .uk-icon-asterisk:before { | ||
| 4373 | content: "\f069"; | ||
| 4374 | } | ||
| 4375 | .uk-icon-exclamation-circle:before { | ||
| 4376 | content: "\f06a"; | ||
| 4377 | } | ||
| 4378 | .uk-icon-gift:before { | ||
| 4379 | content: "\f06b"; | ||
| 4380 | } | ||
| 4381 | .uk-icon-leaf:before { | ||
| 4382 | content: "\f06c"; | ||
| 4383 | } | ||
| 4384 | .uk-icon-fire:before { | ||
| 4385 | content: "\f06d"; | ||
| 4386 | } | ||
| 4387 | .uk-icon-eye:before { | ||
| 4388 | content: "\f06e"; | ||
| 4389 | } | ||
| 4390 | .uk-icon-eye-slash:before { | ||
| 4391 | content: "\f070"; | ||
| 4392 | } | ||
| 4393 | .uk-icon-warning:before, | ||
| 4394 | .uk-icon-exclamation-triangle:before { | ||
| 4395 | content: "\f071"; | ||
| 4396 | } | ||
| 4397 | .uk-icon-plane:before { | ||
| 4398 | content: "\f072"; | ||
| 4399 | } | ||
| 4400 | .uk-icon-calendar:before { | ||
| 4401 | content: "\f073"; | ||
| 4402 | } | ||
| 4403 | .uk-icon-random:before { | ||
| 4404 | content: "\f074"; | ||
| 4405 | } | ||
| 4406 | .uk-icon-comment:before { | ||
| 4407 | content: "\f075"; | ||
| 4408 | } | ||
| 4409 | .uk-icon-magnet:before { | ||
| 4410 | content: "\f076"; | ||
| 4411 | } | ||
| 4412 | .uk-icon-chevron-up:before { | ||
| 4413 | content: "\f077"; | ||
| 4414 | } | ||
| 4415 | .uk-icon-chevron-down:before { | ||
| 4416 | content: "\f078"; | ||
| 4417 | } | ||
| 4418 | .uk-icon-retweet:before { | ||
| 4419 | content: "\f079"; | ||
| 4420 | } | ||
| 4421 | .uk-icon-shopping-cart:before { | ||
| 4422 | content: "\f07a"; | ||
| 4423 | } | ||
| 4424 | .uk-icon-folder:before { | ||
| 4425 | content: "\f07b"; | ||
| 4426 | } | ||
| 4427 | .uk-icon-folder-open:before { | ||
| 4428 | content: "\f07c"; | ||
| 4429 | } | ||
| 4430 | .uk-icon-arrows-v:before { | ||
| 4431 | content: "\f07d"; | ||
| 4432 | } | ||
| 4433 | .uk-icon-arrows-h:before { | ||
| 4434 | content: "\f07e"; | ||
| 4435 | } | ||
| 4436 | .uk-icon-bar-chart-o:before, | ||
| 4437 | .uk-icon-bar-chart:before { | ||
| 4438 | content: "\f080"; | ||
| 4439 | } | ||
| 4440 | .uk-icon-twitter-square:before { | ||
| 4441 | content: "\f081"; | ||
| 4442 | } | ||
| 4443 | .uk-icon-facebook-square:before { | ||
| 4444 | content: "\f082"; | ||
| 4445 | } | ||
| 4446 | .uk-icon-camera-retro:before { | ||
| 4447 | content: "\f083"; | ||
| 4448 | } | ||
| 4449 | .uk-icon-key:before { | ||
| 4450 | content: "\f084"; | ||
| 4451 | } | ||
| 4452 | .uk-icon-gears:before, | ||
| 4453 | .uk-icon-cogs:before { | ||
| 4454 | content: "\f085"; | ||
| 4455 | } | ||
| 4456 | .uk-icon-comments:before { | ||
| 4457 | content: "\f086"; | ||
| 4458 | } | ||
| 4459 | .uk-icon-thumbs-o-up:before { | ||
| 4460 | content: "\f087"; | ||
| 4461 | } | ||
| 4462 | .uk-icon-thumbs-o-down:before { | ||
| 4463 | content: "\f088"; | ||
| 4464 | } | ||
| 4465 | .uk-icon-star-half:before { | ||
| 4466 | content: "\f089"; | ||
| 4467 | } | ||
| 4468 | .uk-icon-heart-o:before { | ||
| 4469 | content: "\f08a"; | ||
| 4470 | } | ||
| 4471 | .uk-icon-sign-out:before { | ||
| 4472 | content: "\f08b"; | ||
| 4473 | } | ||
| 4474 | .uk-icon-linkedin-square:before { | ||
| 4475 | content: "\f08c"; | ||
| 4476 | } | ||
| 4477 | .uk-icon-thumb-tack:before { | ||
| 4478 | content: "\f08d"; | ||
| 4479 | } | ||
| 4480 | .uk-icon-external-link:before { | ||
| 4481 | content: "\f08e"; | ||
| 4482 | } | ||
| 4483 | .uk-icon-sign-in:before { | ||
| 4484 | content: "\f090"; | ||
| 4485 | } | ||
| 4486 | .uk-icon-trophy:before { | ||
| 4487 | content: "\f091"; | ||
| 4488 | } | ||
| 4489 | .uk-icon-github-square:before { | ||
| 4490 | content: "\f092"; | ||
| 4491 | } | ||
| 4492 | .uk-icon-upload:before { | ||
| 4493 | content: "\f093"; | ||
| 4494 | } | ||
| 4495 | .uk-icon-lemon-o:before { | ||
| 4496 | content: "\f094"; | ||
| 4497 | } | ||
| 4498 | .uk-icon-phone:before { | ||
| 4499 | content: "\f095"; | ||
| 4500 | } | ||
| 4501 | .uk-icon-square-o:before { | ||
| 4502 | content: "\f096"; | ||
| 4503 | } | ||
| 4504 | .uk-icon-bookmark-o:before { | ||
| 4505 | content: "\f097"; | ||
| 4506 | } | ||
| 4507 | .uk-icon-phone-square:before { | ||
| 4508 | content: "\f098"; | ||
| 4509 | } | ||
| 4510 | .uk-icon-twitter:before { | ||
| 4511 | content: "\f099"; | ||
| 4512 | } | ||
| 4513 | .uk-icon-facebook-f:before, | ||
| 4514 | .uk-icon-facebook:before { | ||
| 4515 | content: "\f09a"; | ||
| 4516 | } | ||
| 4517 | .uk-icon-github:before { | ||
| 4518 | content: "\f09b"; | ||
| 4519 | } | ||
| 4520 | .uk-icon-unlock:before { | ||
| 4521 | content: "\f09c"; | ||
| 4522 | } | ||
| 4523 | .uk-icon-credit-card:before { | ||
| 4524 | content: "\f09d"; | ||
| 4525 | } | ||
| 4526 | .uk-icon-rss:before { | ||
| 4527 | content: "\f09e"; | ||
| 4528 | } | ||
| 4529 | .uk-icon-hdd-o:before { | ||
| 4530 | content: "\f0a0"; | ||
| 4531 | } | ||
| 4532 | .uk-icon-bullhorn:before { | ||
| 4533 | content: "\f0a1"; | ||
| 4534 | } | ||
| 4535 | .uk-icon-bell:before { | ||
| 4536 | content: "\f0f3"; | ||
| 4537 | } | ||
| 4538 | .uk-icon-certificate:before { | ||
| 4539 | content: "\f0a3"; | ||
| 4540 | } | ||
| 4541 | .uk-icon-hand-o-right:before { | ||
| 4542 | content: "\f0a4"; | ||
| 4543 | } | ||
| 4544 | .uk-icon-hand-o-left:before { | ||
| 4545 | content: "\f0a5"; | ||
| 4546 | } | ||
| 4547 | .uk-icon-hand-o-up:before { | ||
| 4548 | content: "\f0a6"; | ||
| 4549 | } | ||
| 4550 | .uk-icon-hand-o-down:before { | ||
| 4551 | content: "\f0a7"; | ||
| 4552 | } | ||
| 4553 | .uk-icon-arrow-circle-left:before { | ||
| 4554 | content: "\f0a8"; | ||
| 4555 | } | ||
| 4556 | .uk-icon-arrow-circle-right:before { | ||
| 4557 | content: "\f0a9"; | ||
| 4558 | } | ||
| 4559 | .uk-icon-arrow-circle-up:before { | ||
| 4560 | content: "\f0aa"; | ||
| 4561 | } | ||
| 4562 | .uk-icon-arrow-circle-down:before { | ||
| 4563 | content: "\f0ab"; | ||
| 4564 | } | ||
| 4565 | .uk-icon-globe:before { | ||
| 4566 | content: "\f0ac"; | ||
| 4567 | } | ||
| 4568 | .uk-icon-wrench:before { | ||
| 4569 | content: "\f0ad"; | ||
| 4570 | } | ||
| 4571 | .uk-icon-tasks:before { | ||
| 4572 | content: "\f0ae"; | ||
| 4573 | } | ||
| 4574 | .uk-icon-filter:before { | ||
| 4575 | content: "\f0b0"; | ||
| 4576 | } | ||
| 4577 | .uk-icon-briefcase:before { | ||
| 4578 | content: "\f0b1"; | ||
| 4579 | } | ||
| 4580 | .uk-icon-arrows-alt:before { | ||
| 4581 | content: "\f0b2"; | ||
| 4582 | } | ||
| 4583 | .uk-icon-group:before, | ||
| 4584 | .uk-icon-users:before { | ||
| 4585 | content: "\f0c0"; | ||
| 4586 | } | ||
| 4587 | .uk-icon-chain:before, | ||
| 4588 | .uk-icon-link:before { | ||
| 4589 | content: "\f0c1"; | ||
| 4590 | } | ||
| 4591 | .uk-icon-cloud:before { | ||
| 4592 | content: "\f0c2"; | ||
| 4593 | } | ||
| 4594 | .uk-icon-flask:before { | ||
| 4595 | content: "\f0c3"; | ||
| 4596 | } | ||
| 4597 | .uk-icon-cut:before, | ||
| 4598 | .uk-icon-scissors:before { | ||
| 4599 | content: "\f0c4"; | ||
| 4600 | } | ||
| 4601 | .uk-icon-copy:before, | ||
| 4602 | .uk-icon-files-o:before { | ||
| 4603 | content: "\f0c5"; | ||
| 4604 | } | ||
| 4605 | .uk-icon-paperclip:before { | ||
| 4606 | content: "\f0c6"; | ||
| 4607 | } | ||
| 4608 | .uk-icon-save:before, | ||
| 4609 | .uk-icon-floppy-o:before { | ||
| 4610 | content: "\f0c7"; | ||
| 4611 | } | ||
| 4612 | .uk-icon-square:before { | ||
| 4613 | content: "\f0c8"; | ||
| 4614 | } | ||
| 4615 | .uk-icon-navicon:before, | ||
| 4616 | .uk-icon-reorder:before, | ||
| 4617 | .uk-icon-bars:before { | ||
| 4618 | content: "\f0c9"; | ||
| 4619 | } | ||
| 4620 | .uk-icon-list-ul:before { | ||
| 4621 | content: "\f0ca"; | ||
| 4622 | } | ||
| 4623 | .uk-icon-list-ol:before { | ||
| 4624 | content: "\f0cb"; | ||
| 4625 | } | ||
| 4626 | .uk-icon-strikethrough:before { | ||
| 4627 | content: "\f0cc"; | ||
| 4628 | } | ||
| 4629 | .uk-icon-underline:before { | ||
| 4630 | content: "\f0cd"; | ||
| 4631 | } | ||
| 4632 | .uk-icon-table:before { | ||
| 4633 | content: "\f0ce"; | ||
| 4634 | } | ||
| 4635 | .uk-icon-magic:before { | ||
| 4636 | content: "\f0d0"; | ||
| 4637 | } | ||
| 4638 | .uk-icon-truck:before { | ||
| 4639 | content: "\f0d1"; | ||
| 4640 | } | ||
| 4641 | .uk-icon-pinterest:before { | ||
| 4642 | content: "\f0d2"; | ||
| 4643 | } | ||
| 4644 | .uk-icon-pinterest-square:before { | ||
| 4645 | content: "\f0d3"; | ||
| 4646 | } | ||
| 4647 | .uk-icon-google-plus-square:before { | ||
| 4648 | content: "\f0d4"; | ||
| 4649 | } | ||
| 4650 | .uk-icon-google-plus:before { | ||
| 4651 | content: "\f0d5"; | ||
| 4652 | } | ||
| 4653 | .uk-icon-money:before { | ||
| 4654 | content: "\f0d6"; | ||
| 4655 | } | ||
| 4656 | .uk-icon-caret-down:before { | ||
| 4657 | content: "\f0d7"; | ||
| 4658 | } | ||
| 4659 | .uk-icon-caret-up:before { | ||
| 4660 | content: "\f0d8"; | ||
| 4661 | } | ||
| 4662 | .uk-icon-caret-left:before { | ||
| 4663 | content: "\f0d9"; | ||
| 4664 | } | ||
| 4665 | .uk-icon-caret-right:before { | ||
| 4666 | content: "\f0da"; | ||
| 4667 | } | ||
| 4668 | .uk-icon-columns:before { | ||
| 4669 | content: "\f0db"; | ||
| 4670 | } | ||
| 4671 | .uk-icon-unsorted:before, | ||
| 4672 | .uk-icon-sort:before { | ||
| 4673 | content: "\f0dc"; | ||
| 4674 | } | ||
| 4675 | .uk-icon-sort-down:before, | ||
| 4676 | .uk-icon-sort-desc:before { | ||
| 4677 | content: "\f0dd"; | ||
| 4678 | } | ||
| 4679 | .uk-icon-sort-up:before, | ||
| 4680 | .uk-icon-sort-asc:before { | ||
| 4681 | content: "\f0de"; | ||
| 4682 | } | ||
| 4683 | .uk-icon-envelope:before { | ||
| 4684 | content: "\f0e0"; | ||
| 4685 | } | ||
| 4686 | .uk-icon-linkedin:before { | ||
| 4687 | content: "\f0e1"; | ||
| 4688 | } | ||
| 4689 | .uk-icon-rotate-left:before, | ||
| 4690 | .uk-icon-undo:before { | ||
| 4691 | content: "\f0e2"; | ||
| 4692 | } | ||
| 4693 | .uk-icon-legal:before, | ||
| 4694 | .uk-icon-gavel:before { | ||
| 4695 | content: "\f0e3"; | ||
| 4696 | } | ||
| 4697 | .uk-icon-dashboard:before, | ||
| 4698 | .uk-icon-tachometer:before { | ||
| 4699 | content: "\f0e4"; | ||
| 4700 | } | ||
| 4701 | .uk-icon-comment-o:before { | ||
| 4702 | content: "\f0e5"; | ||
| 4703 | } | ||
| 4704 | .uk-icon-comments-o:before { | ||
| 4705 | content: "\f0e6"; | ||
| 4706 | } | ||
| 4707 | .uk-icon-flash:before, | ||
| 4708 | .uk-icon-bolt:before { | ||
| 4709 | content: "\f0e7"; | ||
| 4710 | } | ||
| 4711 | .uk-icon-sitemap:before { | ||
| 4712 | content: "\f0e8"; | ||
| 4713 | } | ||
| 4714 | .uk-icon-umbrella:before { | ||
| 4715 | content: "\f0e9"; | ||
| 4716 | } | ||
| 4717 | .uk-icon-paste:before, | ||
| 4718 | .uk-icon-clipboard:before { | ||
| 4719 | content: "\f0ea"; | ||
| 4720 | } | ||
| 4721 | .uk-icon-lightbulb-o:before { | ||
| 4722 | content: "\f0eb"; | ||
| 4723 | } | ||
| 4724 | .uk-icon-exchange:before { | ||
| 4725 | content: "\f0ec"; | ||
| 4726 | } | ||
| 4727 | .uk-icon-cloud-download:before { | ||
| 4728 | content: "\f0ed"; | ||
| 4729 | } | ||
| 4730 | .uk-icon-cloud-upload:before { | ||
| 4731 | content: "\f0ee"; | ||
| 4732 | } | ||
| 4733 | .uk-icon-user-md:before { | ||
| 4734 | content: "\f0f0"; | ||
| 4735 | } | ||
| 4736 | .uk-icon-stethoscope:before { | ||
| 4737 | content: "\f0f1"; | ||
| 4738 | } | ||
| 4739 | .uk-icon-suitcase:before { | ||
| 4740 | content: "\f0f2"; | ||
| 4741 | } | ||
| 4742 | .uk-icon-bell-o:before { | ||
| 4743 | content: "\f0a2"; | ||
| 4744 | } | ||
| 4745 | .uk-icon-coffee:before { | ||
| 4746 | content: "\f0f4"; | ||
| 4747 | } | ||
| 4748 | .uk-icon-cutlery:before { | ||
| 4749 | content: "\f0f5"; | ||
| 4750 | } | ||
| 4751 | .uk-icon-file-text-o:before { | ||
| 4752 | content: "\f0f6"; | ||
| 4753 | } | ||
| 4754 | .uk-icon-building-o:before { | ||
| 4755 | content: "\f0f7"; | ||
| 4756 | } | ||
| 4757 | .uk-icon-hospital-o:before { | ||
| 4758 | content: "\f0f8"; | ||
| 4759 | } | ||
| 4760 | .uk-icon-ambulance:before { | ||
| 4761 | content: "\f0f9"; | ||
| 4762 | } | ||
| 4763 | .uk-icon-medkit:before { | ||
| 4764 | content: "\f0fa"; | ||
| 4765 | } | ||
| 4766 | .uk-icon-fighter-jet:before { | ||
| 4767 | content: "\f0fb"; | ||
| 4768 | } | ||
| 4769 | .uk-icon-beer:before { | ||
| 4770 | content: "\f0fc"; | ||
| 4771 | } | ||
| 4772 | .uk-icon-h-square:before { | ||
| 4773 | content: "\f0fd"; | ||
| 4774 | } | ||
| 4775 | .uk-icon-plus-square:before { | ||
| 4776 | content: "\f0fe"; | ||
| 4777 | } | ||
| 4778 | .uk-icon-angle-double-left:before { | ||
| 4779 | content: "\f100"; | ||
| 4780 | } | ||
| 4781 | .uk-icon-angle-double-right:before { | ||
| 4782 | content: "\f101"; | ||
| 4783 | } | ||
| 4784 | .uk-icon-angle-double-up:before { | ||
| 4785 | content: "\f102"; | ||
| 4786 | } | ||
| 4787 | .uk-icon-angle-double-down:before { | ||
| 4788 | content: "\f103"; | ||
| 4789 | } | ||
| 4790 | .uk-icon-angle-left:before { | ||
| 4791 | content: "\f104"; | ||
| 4792 | } | ||
| 4793 | .uk-icon-angle-right:before { | ||
| 4794 | content: "\f105"; | ||
| 4795 | } | ||
| 4796 | .uk-icon-angle-up:before { | ||
| 4797 | content: "\f106"; | ||
| 4798 | } | ||
| 4799 | .uk-icon-angle-down:before { | ||
| 4800 | content: "\f107"; | ||
| 4801 | } | ||
| 4802 | .uk-icon-desktop:before { | ||
| 4803 | content: "\f108"; | ||
| 4804 | } | ||
| 4805 | .uk-icon-laptop:before { | ||
| 4806 | content: "\f109"; | ||
| 4807 | } | ||
| 4808 | .uk-icon-tablet:before { | ||
| 4809 | content: "\f10a"; | ||
| 4810 | } | ||
| 4811 | .uk-icon-mobile-phone:before, | ||
| 4812 | .uk-icon-mobile:before { | ||
| 4813 | content: "\f10b"; | ||
| 4814 | } | ||
| 4815 | .uk-icon-circle-o:before { | ||
| 4816 | content: "\f10c"; | ||
| 4817 | } | ||
| 4818 | .uk-icon-quote-left:before { | ||
| 4819 | content: "\f10d"; | ||
| 4820 | } | ||
| 4821 | .uk-icon-quote-right:before { | ||
| 4822 | content: "\f10e"; | ||
| 4823 | } | ||
| 4824 | .uk-icon-spinner:before { | ||
| 4825 | content: "\f110"; | ||
| 4826 | } | ||
| 4827 | .uk-icon-circle:before { | ||
| 4828 | content: "\f111"; | ||
| 4829 | } | ||
| 4830 | .uk-icon-mail-reply:before, | ||
| 4831 | .uk-icon-reply:before { | ||
| 4832 | content: "\f112"; | ||
| 4833 | } | ||
| 4834 | .uk-icon-github-alt:before { | ||
| 4835 | content: "\f113"; | ||
| 4836 | } | ||
| 4837 | .uk-icon-folder-o:before { | ||
| 4838 | content: "\f114"; | ||
| 4839 | } | ||
| 4840 | .uk-icon-folder-open-o:before { | ||
| 4841 | content: "\f115"; | ||
| 4842 | } | ||
| 4843 | .uk-icon-smile-o:before { | ||
| 4844 | content: "\f118"; | ||
| 4845 | } | ||
| 4846 | .uk-icon-frown-o:before { | ||
| 4847 | content: "\f119"; | ||
| 4848 | } | ||
| 4849 | .uk-icon-meh-o:before { | ||
| 4850 | content: "\f11a"; | ||
| 4851 | } | ||
| 4852 | .uk-icon-gamepad:before { | ||
| 4853 | content: "\f11b"; | ||
| 4854 | } | ||
| 4855 | .uk-icon-keyboard-o:before { | ||
| 4856 | content: "\f11c"; | ||
| 4857 | } | ||
| 4858 | .uk-icon-flag-o:before { | ||
| 4859 | content: "\f11d"; | ||
| 4860 | } | ||
| 4861 | .uk-icon-flag-checkered:before { | ||
| 4862 | content: "\f11e"; | ||
| 4863 | } | ||
| 4864 | .uk-icon-terminal:before { | ||
| 4865 | content: "\f120"; | ||
| 4866 | } | ||
| 4867 | .uk-icon-code:before { | ||
| 4868 | content: "\f121"; | ||
| 4869 | } | ||
| 4870 | .uk-icon-mail-reply-all:before, | ||
| 4871 | .uk-icon-reply-all:before { | ||
| 4872 | content: "\f122"; | ||
| 4873 | } | ||
| 4874 | .uk-icon-star-half-empty:before, | ||
| 4875 | .uk-icon-star-half-full:before, | ||
| 4876 | .uk-icon-star-half-o:before { | ||
| 4877 | content: "\f123"; | ||
| 4878 | } | ||
| 4879 | .uk-icon-location-arrow:before { | ||
| 4880 | content: "\f124"; | ||
| 4881 | } | ||
| 4882 | .uk-icon-crop:before { | ||
| 4883 | content: "\f125"; | ||
| 4884 | } | ||
| 4885 | .uk-icon-code-fork:before { | ||
| 4886 | content: "\f126"; | ||
| 4887 | } | ||
| 4888 | .uk-icon-unlink:before, | ||
| 4889 | .uk-icon-chain-broken:before { | ||
| 4890 | content: "\f127"; | ||
| 4891 | } | ||
| 4892 | .uk-icon-question:before { | ||
| 4893 | content: "\f128"; | ||
| 4894 | } | ||
| 4895 | .uk-icon-info:before { | ||
| 4896 | content: "\f129"; | ||
| 4897 | } | ||
| 4898 | .uk-icon-exclamation:before { | ||
| 4899 | content: "\f12a"; | ||
| 4900 | } | ||
| 4901 | .uk-icon-superscript:before { | ||
| 4902 | content: "\f12b"; | ||
| 4903 | } | ||
| 4904 | .uk-icon-subscript:before { | ||
| 4905 | content: "\f12c"; | ||
| 4906 | } | ||
| 4907 | .uk-icon-eraser:before { | ||
| 4908 | content: "\f12d"; | ||
| 4909 | } | ||
| 4910 | .uk-icon-puzzle-piece:before { | ||
| 4911 | content: "\f12e"; | ||
| 4912 | } | ||
| 4913 | .uk-icon-microphone:before { | ||
| 4914 | content: "\f130"; | ||
| 4915 | } | ||
| 4916 | .uk-icon-microphone-slash:before { | ||
| 4917 | content: "\f131"; | ||
| 4918 | } | ||
| 4919 | .uk-icon-shield:before { | ||
| 4920 | content: "\f132"; | ||
| 4921 | } | ||
| 4922 | .uk-icon-calendar-o:before { | ||
| 4923 | content: "\f133"; | ||
| 4924 | } | ||
| 4925 | .uk-icon-fire-extinguisher:before { | ||
| 4926 | content: "\f134"; | ||
| 4927 | } | ||
| 4928 | .uk-icon-rocket:before { | ||
| 4929 | content: "\f135"; | ||
| 4930 | } | ||
| 4931 | .uk-icon-maxcdn:before { | ||
| 4932 | content: "\f136"; | ||
| 4933 | } | ||
| 4934 | .uk-icon-chevron-circle-left:before { | ||
| 4935 | content: "\f137"; | ||
| 4936 | } | ||
| 4937 | .uk-icon-chevron-circle-right:before { | ||
| 4938 | content: "\f138"; | ||
| 4939 | } | ||
| 4940 | .uk-icon-chevron-circle-up:before { | ||
| 4941 | content: "\f139"; | ||
| 4942 | } | ||
| 4943 | .uk-icon-chevron-circle-down:before { | ||
| 4944 | content: "\f13a"; | ||
| 4945 | } | ||
| 4946 | .uk-icon-html5:before { | ||
| 4947 | content: "\f13b"; | ||
| 4948 | } | ||
| 4949 | .uk-icon-css3:before { | ||
| 4950 | content: "\f13c"; | ||
| 4951 | } | ||
| 4952 | .uk-icon-anchor:before { | ||
| 4953 | content: "\f13d"; | ||
| 4954 | } | ||
| 4955 | .uk-icon-unlock-alt:before { | ||
| 4956 | content: "\f13e"; | ||
| 4957 | } | ||
| 4958 | .uk-icon-bullseye:before { | ||
| 4959 | content: "\f140"; | ||
| 4960 | } | ||
| 4961 | .uk-icon-ellipsis-h:before { | ||
| 4962 | content: "\f141"; | ||
| 4963 | } | ||
| 4964 | .uk-icon-ellipsis-v:before { | ||
| 4965 | content: "\f142"; | ||
| 4966 | } | ||
| 4967 | .uk-icon-rss-square:before { | ||
| 4968 | content: "\f143"; | ||
| 4969 | } | ||
| 4970 | .uk-icon-play-circle:before { | ||
| 4971 | content: "\f144"; | ||
| 4972 | } | ||
| 4973 | .uk-icon-ticket:before { | ||
| 4974 | content: "\f145"; | ||
| 4975 | } | ||
| 4976 | .uk-icon-minus-square:before { | ||
| 4977 | content: "\f146"; | ||
| 4978 | } | ||
| 4979 | .uk-icon-minus-square-o:before { | ||
| 4980 | content: "\f147"; | ||
| 4981 | } | ||
| 4982 | .uk-icon-level-up:before { | ||
| 4983 | content: "\f148"; | ||
| 4984 | } | ||
| 4985 | .uk-icon-level-down:before { | ||
| 4986 | content: "\f149"; | ||
| 4987 | } | ||
| 4988 | .uk-icon-check-square:before { | ||
| 4989 | content: "\f14a"; | ||
| 4990 | } | ||
| 4991 | .uk-icon-pencil-square:before { | ||
| 4992 | content: "\f14b"; | ||
| 4993 | } | ||
| 4994 | .uk-icon-external-link-square:before { | ||
| 4995 | content: "\f14c"; | ||
| 4996 | } | ||
| 4997 | .uk-icon-share-square:before { | ||
| 4998 | content: "\f14d"; | ||
| 4999 | } | ||
| 5000 | .uk-icon-compass:before { | ||
| 5001 | content: "\f14e"; | ||
| 5002 | } | ||
| 5003 | .uk-icon-toggle-down:before, | ||
| 5004 | .uk-icon-caret-square-o-down:before { | ||
| 5005 | content: "\f150"; | ||
| 5006 | } | ||
| 5007 | .uk-icon-toggle-up:before, | ||
| 5008 | .uk-icon-caret-square-o-up:before { | ||
| 5009 | content: "\f151"; | ||
| 5010 | } | ||
| 5011 | .uk-icon-toggle-right:before, | ||
| 5012 | .uk-icon-caret-square-o-right:before { | ||
| 5013 | content: "\f152"; | ||
| 5014 | } | ||
| 5015 | .uk-icon-euro:before, | ||
| 5016 | .uk-icon-eur:before { | ||
| 5017 | content: "\f153"; | ||
| 5018 | } | ||
| 5019 | .uk-icon-gbp:before { | ||
| 5020 | content: "\f154"; | ||
| 5021 | } | ||
| 5022 | .uk-icon-dollar:before, | ||
| 5023 | .uk-icon-usd:before { | ||
| 5024 | content: "\f155"; | ||
| 5025 | } | ||
| 5026 | .uk-icon-rupee:before, | ||
| 5027 | .uk-icon-inr:before { | ||
| 5028 | content: "\f156"; | ||
| 5029 | } | ||
| 5030 | .uk-icon-cny:before, | ||
| 5031 | .uk-icon-rmb:before, | ||
| 5032 | .uk-icon-yen:before, | ||
| 5033 | .uk-icon-jpy:before { | ||
| 5034 | content: "\f157"; | ||
| 5035 | } | ||
| 5036 | .uk-icon-ruble:before, | ||
| 5037 | .uk-icon-rouble:before, | ||
| 5038 | .uk-icon-rub:before { | ||
| 5039 | content: "\f158"; | ||
| 5040 | } | ||
| 5041 | .uk-icon-won:before, | ||
| 5042 | .uk-icon-krw:before { | ||
| 5043 | content: "\f159"; | ||
| 5044 | } | ||
| 5045 | .uk-icon-bitcoin:before, | ||
| 5046 | .uk-icon-btc:before { | ||
| 5047 | content: "\f15a"; | ||
| 5048 | } | ||
| 5049 | .uk-icon-file:before { | ||
| 5050 | content: "\f15b"; | ||
| 5051 | } | ||
| 5052 | .uk-icon-file-text:before { | ||
| 5053 | content: "\f15c"; | ||
| 5054 | } | ||
| 5055 | .uk-icon-sort-alpha-asc:before { | ||
| 5056 | content: "\f15d"; | ||
| 5057 | } | ||
| 5058 | .uk-icon-sort-alpha-desc:before { | ||
| 5059 | content: "\f15e"; | ||
| 5060 | } | ||
| 5061 | .uk-icon-sort-amount-asc:before { | ||
| 5062 | content: "\f160"; | ||
| 5063 | } | ||
| 5064 | .uk-icon-sort-amount-desc:before { | ||
| 5065 | content: "\f161"; | ||
| 5066 | } | ||
| 5067 | .uk-icon-sort-numeric-asc:before { | ||
| 5068 | content: "\f162"; | ||
| 5069 | } | ||
| 5070 | .uk-icon-sort-numeric-desc:before { | ||
| 5071 | content: "\f163"; | ||
| 5072 | } | ||
| 5073 | .uk-icon-thumbs-up:before { | ||
| 5074 | content: "\f164"; | ||
| 5075 | } | ||
| 5076 | .uk-icon-thumbs-down:before { | ||
| 5077 | content: "\f165"; | ||
| 5078 | } | ||
| 5079 | .uk-icon-youtube-square:before { | ||
| 5080 | content: "\f166"; | ||
| 5081 | } | ||
| 5082 | .uk-icon-youtube:before { | ||
| 5083 | content: "\f167"; | ||
| 5084 | } | ||
| 5085 | .uk-icon-xing:before { | ||
| 5086 | content: "\f168"; | ||
| 5087 | } | ||
| 5088 | .uk-icon-xing-square:before { | ||
| 5089 | content: "\f169"; | ||
| 5090 | } | ||
| 5091 | .uk-icon-youtube-play:before { | ||
| 5092 | content: "\f16a"; | ||
| 5093 | } | ||
| 5094 | .uk-icon-dropbox:before { | ||
| 5095 | content: "\f16b"; | ||
| 5096 | } | ||
| 5097 | .uk-icon-stack-overflow:before { | ||
| 5098 | content: "\f16c"; | ||
| 5099 | } | ||
| 5100 | .uk-icon-instagram:before { | ||
| 5101 | content: "\f16d"; | ||
| 5102 | } | ||
| 5103 | .uk-icon-flickr:before { | ||
| 5104 | content: "\f16e"; | ||
| 5105 | } | ||
| 5106 | .uk-icon-adn:before { | ||
| 5107 | content: "\f170"; | ||
| 5108 | } | ||
| 5109 | .uk-icon-bitbucket:before { | ||
| 5110 | content: "\f171"; | ||
| 5111 | } | ||
| 5112 | .uk-icon-bitbucket-square:before { | ||
| 5113 | content: "\f172"; | ||
| 5114 | } | ||
| 5115 | .uk-icon-tumblr:before { | ||
| 5116 | content: "\f173"; | ||
| 5117 | } | ||
| 5118 | .uk-icon-tumblr-square:before { | ||
| 5119 | content: "\f174"; | ||
| 5120 | } | ||
| 5121 | .uk-icon-long-arrow-down:before { | ||
| 5122 | content: "\f175"; | ||
| 5123 | } | ||
| 5124 | .uk-icon-long-arrow-up:before { | ||
| 5125 | content: "\f176"; | ||
| 5126 | } | ||
| 5127 | .uk-icon-long-arrow-left:before { | ||
| 5128 | content: "\f177"; | ||
| 5129 | } | ||
| 5130 | .uk-icon-long-arrow-right:before { | ||
| 5131 | content: "\f178"; | ||
| 5132 | } | ||
| 5133 | .uk-icon-apple:before { | ||
| 5134 | content: "\f179"; | ||
| 5135 | } | ||
| 5136 | .uk-icon-windows:before { | ||
| 5137 | content: "\f17a"; | ||
| 5138 | } | ||
| 5139 | .uk-icon-android:before { | ||
| 5140 | content: "\f17b"; | ||
| 5141 | } | ||
| 5142 | .uk-icon-linux:before { | ||
| 5143 | content: "\f17c"; | ||
| 5144 | } | ||
| 5145 | .uk-icon-dribbble:before { | ||
| 5146 | content: "\f17d"; | ||
| 5147 | } | ||
| 5148 | .uk-icon-skype:before { | ||
| 5149 | content: "\f17e"; | ||
| 5150 | } | ||
| 5151 | .uk-icon-foursquare:before { | ||
| 5152 | content: "\f180"; | ||
| 5153 | } | ||
| 5154 | .uk-icon-trello:before { | ||
| 5155 | content: "\f181"; | ||
| 5156 | } | ||
| 5157 | .uk-icon-female:before { | ||
| 5158 | content: "\f182"; | ||
| 5159 | } | ||
| 5160 | .uk-icon-male:before { | ||
| 5161 | content: "\f183"; | ||
| 5162 | } | ||
| 5163 | .uk-icon-gittip:before, | ||
| 5164 | .uk-icon-gratipay:before { | ||
| 5165 | content: "\f184"; | ||
| 5166 | } | ||
| 5167 | .uk-icon-sun-o:before { | ||
| 5168 | content: "\f185"; | ||
| 5169 | } | ||
| 5170 | .uk-icon-moon-o:before { | ||
| 5171 | content: "\f186"; | ||
| 5172 | } | ||
| 5173 | .uk-icon-archive:before { | ||
| 5174 | content: "\f187"; | ||
| 5175 | } | ||
| 5176 | .uk-icon-bug:before { | ||
| 5177 | content: "\f188"; | ||
| 5178 | } | ||
| 5179 | .uk-icon-vk:before { | ||
| 5180 | content: "\f189"; | ||
| 5181 | } | ||
| 5182 | .uk-icon-weibo:before { | ||
| 5183 | content: "\f18a"; | ||
| 5184 | } | ||
| 5185 | .uk-icon-renren:before { | ||
| 5186 | content: "\f18b"; | ||
| 5187 | } | ||
| 5188 | .uk-icon-pagelines:before { | ||
| 5189 | content: "\f18c"; | ||
| 5190 | } | ||
| 5191 | .uk-icon-stack-exchange:before { | ||
| 5192 | content: "\f18d"; | ||
| 5193 | } | ||
| 5194 | .uk-icon-arrow-circle-o-right:before { | ||
| 5195 | content: "\f18e"; | ||
| 5196 | } | ||
| 5197 | .uk-icon-arrow-circle-o-left:before { | ||
| 5198 | content: "\f190"; | ||
| 5199 | } | ||
| 5200 | .uk-icon-toggle-left:before, | ||
| 5201 | .uk-icon-caret-square-o-left:before { | ||
| 5202 | content: "\f191"; | ||
| 5203 | } | ||
| 5204 | .uk-icon-dot-circle-o:before { | ||
| 5205 | content: "\f192"; | ||
| 5206 | } | ||
| 5207 | .uk-icon-wheelchair:before { | ||
| 5208 | content: "\f193"; | ||
| 5209 | } | ||
| 5210 | .uk-icon-vimeo-square:before { | ||
| 5211 | content: "\f194"; | ||
| 5212 | } | ||
| 5213 | .uk-icon-turkish-lira:before, | ||
| 5214 | .uk-icon-try:before { | ||
| 5215 | content: "\f195"; | ||
| 5216 | } | ||
| 5217 | .uk-icon-plus-square-o:before { | ||
| 5218 | content: "\f196"; | ||
| 5219 | } | ||
| 5220 | .uk-icon-space-shuttle:before { | ||
| 5221 | content: "\f197"; | ||
| 5222 | } | ||
| 5223 | .uk-icon-slack:before { | ||
| 5224 | content: "\f198"; | ||
| 5225 | } | ||
| 5226 | .uk-icon-envelope-square:before { | ||
| 5227 | content: "\f199"; | ||
| 5228 | } | ||
| 5229 | .uk-icon-wordpress:before { | ||
| 5230 | content: "\f19a"; | ||
| 5231 | } | ||
| 5232 | .uk-icon-openid:before { | ||
| 5233 | content: "\f19b"; | ||
| 5234 | } | ||
| 5235 | .uk-icon-institution:before, | ||
| 5236 | .uk-icon-bank:before, | ||
| 5237 | .uk-icon-university:before { | ||
| 5238 | content: "\f19c"; | ||
| 5239 | } | ||
| 5240 | .uk-icon-mortar-board:before, | ||
| 5241 | .uk-icon-graduation-cap:before { | ||
| 5242 | content: "\f19d"; | ||
| 5243 | } | ||
| 5244 | .uk-icon-yahoo:before { | ||
| 5245 | content: "\f19e"; | ||
| 5246 | } | ||
| 5247 | .uk-icon-google:before { | ||
| 5248 | content: "\f1a0"; | ||
| 5249 | } | ||
| 5250 | .uk-icon-reddit:before { | ||
| 5251 | content: "\f1a1"; | ||
| 5252 | } | ||
| 5253 | .uk-icon-reddit-square:before { | ||
| 5254 | content: "\f1a2"; | ||
| 5255 | } | ||
| 5256 | .uk-icon-stumbleupon-circle:before { | ||
| 5257 | content: "\f1a3"; | ||
| 5258 | } | ||
| 5259 | .uk-icon-stumbleupon:before { | ||
| 5260 | content: "\f1a4"; | ||
| 5261 | } | ||
| 5262 | .uk-icon-delicious:before { | ||
| 5263 | content: "\f1a5"; | ||
| 5264 | } | ||
| 5265 | .uk-icon-digg:before { | ||
| 5266 | content: "\f1a6"; | ||
| 5267 | } | ||
| 5268 | .uk-icon-pied-piper:before { | ||
| 5269 | content: "\f1a7"; | ||
| 5270 | } | ||
| 5271 | .uk-icon-pied-piper-alt:before { | ||
| 5272 | content: "\f1a8"; | ||
| 5273 | } | ||
| 5274 | .uk-icon-drupal:before { | ||
| 5275 | content: "\f1a9"; | ||
| 5276 | } | ||
| 5277 | .uk-icon-joomla:before { | ||
| 5278 | content: "\f1aa"; | ||
| 5279 | } | ||
| 5280 | .uk-icon-language:before { | ||
| 5281 | content: "\f1ab"; | ||
| 5282 | } | ||
| 5283 | .uk-icon-fax:before { | ||
| 5284 | content: "\f1ac"; | ||
| 5285 | } | ||
| 5286 | .uk-icon-building:before { | ||
| 5287 | content: "\f1ad"; | ||
| 5288 | } | ||
| 5289 | .uk-icon-child:before { | ||
| 5290 | content: "\f1ae"; | ||
| 5291 | } | ||
| 5292 | .uk-icon-paw:before { | ||
| 5293 | content: "\f1b0"; | ||
| 5294 | } | ||
| 5295 | .uk-icon-spoon:before { | ||
| 5296 | content: "\f1b1"; | ||
| 5297 | } | ||
| 5298 | .uk-icon-cube:before { | ||
| 5299 | content: "\f1b2"; | ||
| 5300 | } | ||
| 5301 | .uk-icon-cubes:before { | ||
| 5302 | content: "\f1b3"; | ||
| 5303 | } | ||
| 5304 | .uk-icon-behance:before { | ||
| 5305 | content: "\f1b4"; | ||
| 5306 | } | ||
| 5307 | .uk-icon-behance-square:before { | ||
| 5308 | content: "\f1b5"; | ||
| 5309 | } | ||
| 5310 | .uk-icon-steam:before { | ||
| 5311 | content: "\f1b6"; | ||
| 5312 | } | ||
| 5313 | .uk-icon-steam-square:before { | ||
| 5314 | content: "\f1b7"; | ||
| 5315 | } | ||
| 5316 | .uk-icon-recycle:before { | ||
| 5317 | content: "\f1b8"; | ||
| 5318 | } | ||
| 5319 | .uk-icon-automobile:before, | ||
| 5320 | .uk-icon-car:before { | ||
| 5321 | content: "\f1b9"; | ||
| 5322 | } | ||
| 5323 | .uk-icon-cab:before, | ||
| 5324 | .uk-icon-taxi:before { | ||
| 5325 | content: "\f1ba"; | ||
| 5326 | } | ||
| 5327 | .uk-icon-tree:before { | ||
| 5328 | content: "\f1bb"; | ||
| 5329 | } | ||
| 5330 | .uk-icon-spotify:before { | ||
| 5331 | content: "\f1bc"; | ||
| 5332 | } | ||
| 5333 | .uk-icon-deviantart:before { | ||
| 5334 | content: "\f1bd"; | ||
| 5335 | } | ||
| 5336 | .uk-icon-soundcloud:before { | ||
| 5337 | content: "\f1be"; | ||
| 5338 | } | ||
| 5339 | .uk-icon-database:before { | ||
| 5340 | content: "\f1c0"; | ||
| 5341 | } | ||
| 5342 | .uk-icon-file-pdf-o:before { | ||
| 5343 | content: "\f1c1"; | ||
| 5344 | } | ||
| 5345 | .uk-icon-file-word-o:before { | ||
| 5346 | content: "\f1c2"; | ||
| 5347 | } | ||
| 5348 | .uk-icon-file-excel-o:before { | ||
| 5349 | content: "\f1c3"; | ||
| 5350 | } | ||
| 5351 | .uk-icon-file-powerpoint-o:before { | ||
| 5352 | content: "\f1c4"; | ||
| 5353 | } | ||
| 5354 | .uk-icon-file-photo-o:before, | ||
| 5355 | .uk-icon-file-picture-o:before, | ||
| 5356 | .uk-icon-file-image-o:before { | ||
| 5357 | content: "\f1c5"; | ||
| 5358 | } | ||
| 5359 | .uk-icon-file-zip-o:before, | ||
| 5360 | .uk-icon-file-archive-o:before { | ||
| 5361 | content: "\f1c6"; | ||
| 5362 | } | ||
| 5363 | .uk-icon-file-sound-o:before, | ||
| 5364 | .uk-icon-file-audio-o:before { | ||
| 5365 | content: "\f1c7"; | ||
| 5366 | } | ||
| 5367 | .uk-icon-file-movie-o:before, | ||
| 5368 | .uk-icon-file-video-o:before { | ||
| 5369 | content: "\f1c8"; | ||
| 5370 | } | ||
| 5371 | .uk-icon-file-code-o:before { | ||
| 5372 | content: "\f1c9"; | ||
| 5373 | } | ||
| 5374 | .uk-icon-vine:before { | ||
| 5375 | content: "\f1ca"; | ||
| 5376 | } | ||
| 5377 | .uk-icon-codepen:before { | ||
| 5378 | content: "\f1cb"; | ||
| 5379 | } | ||
| 5380 | .uk-icon-jsfiddle:before { | ||
| 5381 | content: "\f1cc"; | ||
| 5382 | } | ||
| 5383 | .uk-icon-life-bouy:before, | ||
| 5384 | .uk-icon-life-buoy:before, | ||
| 5385 | .uk-icon-life-saver:before, | ||
| 5386 | .uk-icon-support:before, | ||
| 5387 | .uk-icon-life-ring:before { | ||
| 5388 | content: "\f1cd"; | ||
| 5389 | } | ||
| 5390 | .uk-icon-circle-o-notch:before { | ||
| 5391 | content: "\f1ce"; | ||
| 5392 | } | ||
| 5393 | .uk-icon-ra:before, | ||
| 5394 | .uk-icon-rebel:before { | ||
| 5395 | content: "\f1d0"; | ||
| 5396 | } | ||
| 5397 | .uk-icon-ge:before, | ||
| 5398 | .uk-icon-empire:before { | ||
| 5399 | content: "\f1d1"; | ||
| 5400 | } | ||
| 5401 | .uk-icon-git-square:before { | ||
| 5402 | content: "\f1d2"; | ||
| 5403 | } | ||
| 5404 | .uk-icon-git:before { | ||
| 5405 | content: "\f1d3"; | ||
| 5406 | } | ||
| 5407 | .uk-icon-hacker-news:before { | ||
| 5408 | content: "\f1d4"; | ||
| 5409 | } | ||
| 5410 | .uk-icon-tencent-weibo:before { | ||
| 5411 | content: "\f1d5"; | ||
| 5412 | } | ||
| 5413 | .uk-icon-qq:before { | ||
| 5414 | content: "\f1d6"; | ||
| 5415 | } | ||
| 5416 | .uk-icon-wechat:before, | ||
| 5417 | .uk-icon-weixin:before { | ||
| 5418 | content: "\f1d7"; | ||
| 5419 | } | ||
| 5420 | .uk-icon-send:before, | ||
| 5421 | .uk-icon-paper-plane:before { | ||
| 5422 | content: "\f1d8"; | ||
| 5423 | } | ||
| 5424 | .uk-icon-send-o:before, | ||
| 5425 | .uk-icon-paper-plane-o:before { | ||
| 5426 | content: "\f1d9"; | ||
| 5427 | } | ||
| 5428 | .uk-icon-history:before { | ||
| 5429 | content: "\f1da"; | ||
| 5430 | } | ||
| 5431 | .uk-icon-genderless:before, | ||
| 5432 | .uk-icon-circle-thin:before { | ||
| 5433 | content: "\f1db"; | ||
| 5434 | } | ||
| 5435 | .uk-icon-header:before { | ||
| 5436 | content: "\f1dc"; | ||
| 5437 | } | ||
| 5438 | .uk-icon-paragraph:before { | ||
| 5439 | content: "\f1dd"; | ||
| 5440 | } | ||
| 5441 | .uk-icon-sliders:before { | ||
| 5442 | content: "\f1de"; | ||
| 5443 | } | ||
| 5444 | .uk-icon-share-alt:before { | ||
| 5445 | content: "\f1e0"; | ||
| 5446 | } | ||
| 5447 | .uk-icon-share-alt-square:before { | ||
| 5448 | content: "\f1e1"; | ||
| 5449 | } | ||
| 5450 | .uk-icon-bomb:before { | ||
| 5451 | content: "\f1e2"; | ||
| 5452 | } | ||
| 5453 | .uk-icon-soccer-ball-o:before, | ||
| 5454 | .uk-icon-futbol-o:before { | ||
| 5455 | content: "\f1e3"; | ||
| 5456 | } | ||
| 5457 | .uk-icon-tty:before { | ||
| 5458 | content: "\f1e4"; | ||
| 5459 | } | ||
| 5460 | .uk-icon-binoculars:before { | ||
| 5461 | content: "\f1e5"; | ||
| 5462 | } | ||
| 5463 | .uk-icon-plug:before { | ||
| 5464 | content: "\f1e6"; | ||
| 5465 | } | ||
| 5466 | .uk-icon-slideshare:before { | ||
| 5467 | content: "\f1e7"; | ||
| 5468 | } | ||
| 5469 | .uk-icon-twitch:before { | ||
| 5470 | content: "\f1e8"; | ||
| 5471 | } | ||
| 5472 | .uk-icon-yelp:before { | ||
| 5473 | content: "\f1e9"; | ||
| 5474 | } | ||
| 5475 | .uk-icon-newspaper-o:before { | ||
| 5476 | content: "\f1ea"; | ||
| 5477 | } | ||
| 5478 | .uk-icon-wifi:before { | ||
| 5479 | content: "\f1eb"; | ||
| 5480 | } | ||
| 5481 | .uk-icon-calculator:before { | ||
| 5482 | content: "\f1ec"; | ||
| 5483 | } | ||
| 5484 | .uk-icon-paypal:before { | ||
| 5485 | content: "\f1ed"; | ||
| 5486 | } | ||
| 5487 | .uk-icon-google-wallet:before { | ||
| 5488 | content: "\f1ee"; | ||
| 5489 | } | ||
| 5490 | .uk-icon-cc-visa:before { | ||
| 5491 | content: "\f1f0"; | ||
| 5492 | } | ||
| 5493 | .uk-icon-cc-mastercard:before { | ||
| 5494 | content: "\f1f1"; | ||
| 5495 | } | ||
| 5496 | .uk-icon-cc-discover:before { | ||
| 5497 | content: "\f1f2"; | ||
| 5498 | } | ||
| 5499 | .uk-icon-cc-amex:before { | ||
| 5500 | content: "\f1f3"; | ||
| 5501 | } | ||
| 5502 | .uk-icon-cc-paypal:before { | ||
| 5503 | content: "\f1f4"; | ||
| 5504 | } | ||
| 5505 | .uk-icon-cc-stripe:before { | ||
| 5506 | content: "\f1f5"; | ||
| 5507 | } | ||
| 5508 | .uk-icon-bell-slash:before { | ||
| 5509 | content: "\f1f6"; | ||
| 5510 | } | ||
| 5511 | .uk-icon-bell-slash-o:before { | ||
| 5512 | content: "\f1f7"; | ||
| 5513 | } | ||
| 5514 | .uk-icon-trash:before { | ||
| 5515 | content: "\f1f8"; | ||
| 5516 | } | ||
| 5517 | .uk-icon-copyright:before { | ||
| 5518 | content: "\f1f9"; | ||
| 5519 | } | ||
| 5520 | .uk-icon-at:before { | ||
| 5521 | content: "\f1fa"; | ||
| 5522 | } | ||
| 5523 | .uk-icon-eyedropper:before { | ||
| 5524 | content: "\f1fb"; | ||
| 5525 | } | ||
| 5526 | .uk-icon-paint-brush:before { | ||
| 5527 | content: "\f1fc"; | ||
| 5528 | } | ||
| 5529 | .uk-icon-birthday-cake:before { | ||
| 5530 | content: "\f1fd"; | ||
| 5531 | } | ||
| 5532 | .uk-icon-area-chart:before { | ||
| 5533 | content: "\f1fe"; | ||
| 5534 | } | ||
| 5535 | .uk-icon-pie-chart:before { | ||
| 5536 | content: "\f200"; | ||
| 5537 | } | ||
| 5538 | .uk-icon-line-chart:before { | ||
| 5539 | content: "\f201"; | ||
| 5540 | } | ||
| 5541 | .uk-icon-lastfm:before { | ||
| 5542 | content: "\f202"; | ||
| 5543 | } | ||
| 5544 | .uk-icon-lastfm-square:before { | ||
| 5545 | content: "\f203"; | ||
| 5546 | } | ||
| 5547 | .uk-icon-toggle-off:before { | ||
| 5548 | content: "\f204"; | ||
| 5549 | } | ||
| 5550 | .uk-icon-toggle-on:before { | ||
| 5551 | content: "\f205"; | ||
| 5552 | } | ||
| 5553 | .uk-icon-bicycle:before { | ||
| 5554 | content: "\f206"; | ||
| 5555 | } | ||
| 5556 | .uk-icon-bus:before { | ||
| 5557 | content: "\f207"; | ||
| 5558 | } | ||
| 5559 | .uk-icon-ioxhost:before { | ||
| 5560 | content: "\f208"; | ||
| 5561 | } | ||
| 5562 | .uk-icon-angellist:before { | ||
| 5563 | content: "\f209"; | ||
| 5564 | } | ||
| 5565 | .uk-icon-cc:before { | ||
| 5566 | content: "\f20a"; | ||
| 5567 | } | ||
| 5568 | .uk-icon-shekel:before, | ||
| 5569 | .uk-icon-sheqel:before, | ||
| 5570 | .uk-icon-ils:before { | ||
| 5571 | content: "\f20b"; | ||
| 5572 | } | ||
| 5573 | .uk-icon-meanpath:before { | ||
| 5574 | content: "\f20c"; | ||
| 5575 | } | ||
| 5576 | .uk-icon-buysellads:before { | ||
| 5577 | content: "\f20d"; | ||
| 5578 | } | ||
| 5579 | .uk-icon-connectdevelop:before { | ||
| 5580 | content: "\f20e"; | ||
| 5581 | } | ||
| 5582 | .uk-icon-dashcube:before { | ||
| 5583 | content: "\f210"; | ||
| 5584 | } | ||
| 5585 | .uk-icon-forumbee:before { | ||
| 5586 | content: "\f211"; | ||
| 5587 | } | ||
| 5588 | .uk-icon-leanpub:before { | ||
| 5589 | content: "\f212"; | ||
| 5590 | } | ||
| 5591 | .uk-icon-sellsy:before { | ||
| 5592 | content: "\f213"; | ||
| 5593 | } | ||
| 5594 | .uk-icon-shirtsinbulk:before { | ||
| 5595 | content: "\f214"; | ||
| 5596 | } | ||
| 5597 | .uk-icon-simplybuilt:before { | ||
| 5598 | content: "\f215"; | ||
| 5599 | } | ||
| 5600 | .uk-icon-skyatlas:before { | ||
| 5601 | content: "\f216"; | ||
| 5602 | } | ||
| 5603 | .uk-icon-cart-plus:before { | ||
| 5604 | content: "\f217"; | ||
| 5605 | } | ||
| 5606 | .uk-icon-cart-arrow-down:before { | ||
| 5607 | content: "\f218"; | ||
| 5608 | } | ||
| 5609 | .uk-icon-diamond:before { | ||
| 5610 | content: "\f219"; | ||
| 5611 | } | ||
| 5612 | .uk-icon-ship:before { | ||
| 5613 | content: "\f21a"; | ||
| 5614 | } | ||
| 5615 | .uk-icon-user-secret:before { | ||
| 5616 | content: "\f21b"; | ||
| 5617 | } | ||
| 5618 | .uk-icon-motorcycle:before { | ||
| 5619 | content: "\f21c"; | ||
| 5620 | } | ||
| 5621 | .uk-icon-street-view:before { | ||
| 5622 | content: "\f21d"; | ||
| 5623 | } | ||
| 5624 | .uk-icon-heartbeat:before { | ||
| 5625 | content: "\f21e"; | ||
| 5626 | } | ||
| 5627 | .uk-icon-venus:before { | ||
| 5628 | content: "\f221"; | ||
| 5629 | } | ||
| 5630 | .uk-icon-mars:before { | ||
| 5631 | content: "\f222"; | ||
| 5632 | } | ||
| 5633 | .uk-icon-mercury:before { | ||
| 5634 | content: "\f223"; | ||
| 5635 | } | ||
| 5636 | .uk-icon-transgender:before { | ||
| 5637 | content: "\f224"; | ||
| 5638 | } | ||
| 5639 | .uk-icon-transgender-alt:before { | ||
| 5640 | content: "\f225"; | ||
| 5641 | } | ||
| 5642 | .uk-icon-venus-double:before { | ||
| 5643 | content: "\f226"; | ||
| 5644 | } | ||
| 5645 | .uk-icon-mars-double:before { | ||
| 5646 | content: "\f227"; | ||
| 5647 | } | ||
| 5648 | .uk-icon-venus-mars:before { | ||
| 5649 | content: "\f228"; | ||
| 5650 | } | ||
| 5651 | .uk-icon-mars-stroke:before { | ||
| 5652 | content: "\f229"; | ||
| 5653 | } | ||
| 5654 | .uk-icon-mars-stroke-v:before { | ||
| 5655 | content: "\f22a"; | ||
| 5656 | } | ||
| 5657 | .uk-icon-mars-stroke-h:before { | ||
| 5658 | content: "\f22b"; | ||
| 5659 | } | ||
| 5660 | .uk-icon-neuter:before { | ||
| 5661 | content: "\f22c"; | ||
| 5662 | } | ||
| 5663 | .uk-icon-facebook-official:before { | ||
| 5664 | content: "\f230"; | ||
| 5665 | } | ||
| 5666 | .uk-icon-pinterest-p:before { | ||
| 5667 | content: "\f231"; | ||
| 5668 | } | ||
| 5669 | .uk-icon-whatsapp:before { | ||
| 5670 | content: "\f232"; | ||
| 5671 | } | ||
| 5672 | .uk-icon-server:before { | ||
| 5673 | content: "\f233"; | ||
| 5674 | } | ||
| 5675 | .uk-icon-user-plus:before { | ||
| 5676 | content: "\f234"; | ||
| 5677 | } | ||
| 5678 | .uk-icon-user-times:before { | ||
| 5679 | content: "\f235"; | ||
| 5680 | } | ||
| 5681 | .uk-icon-hotel:before, | ||
| 5682 | .uk-icon-bed:before { | ||
| 5683 | content: "\f236"; | ||
| 5684 | } | ||
| 5685 | .uk-icon-viacoin:before { | ||
| 5686 | content: "\f237"; | ||
| 5687 | } | ||
| 5688 | .uk-icon-train:before { | ||
| 5689 | content: "\f238"; | ||
| 5690 | } | ||
| 5691 | .uk-icon-subway:before { | ||
| 5692 | content: "\f239"; | ||
| 5693 | } | ||
| 5694 | .uk-icon-medium-logo:before { | ||
| 5695 | content: "\f23a"; | ||
| 5696 | } | ||
| 5697 | .uk-icon-500px:before { | ||
| 5698 | content: "\f26e"; | ||
| 5699 | } | ||
| 5700 | .uk-icon-amazon:before { | ||
| 5701 | content: "\f270"; | ||
| 5702 | } | ||
| 5703 | .uk-icon-balance-scale:before { | ||
| 5704 | content: "\f24e"; | ||
| 5705 | } | ||
| 5706 | .uk-icon-battery-empty:before, | ||
| 5707 | .uk-icon-battery-0:before { | ||
| 5708 | content: "\f244"; | ||
| 5709 | } | ||
| 5710 | .uk-icon-battery-quarter:before, | ||
| 5711 | .uk-icon-battery-1:before { | ||
| 5712 | content: "\f243"; | ||
| 5713 | } | ||
| 5714 | .uk-icon-battery-half:before, | ||
| 5715 | .uk-icon-battery-2:before { | ||
| 5716 | content: "\f242"; | ||
| 5717 | } | ||
| 5718 | .uk-icon-battery-three-quarters:before, | ||
| 5719 | .uk-icon-battery-3:before { | ||
| 5720 | content: "\f241"; | ||
| 5721 | } | ||
| 5722 | .uk-icon-battery-full:before, | ||
| 5723 | .uk-icon-battery-4:before { | ||
| 5724 | content: "\f240"; | ||
| 5725 | } | ||
| 5726 | .uk-icon-black-tie:before { | ||
| 5727 | content: "\f27e"; | ||
| 5728 | } | ||
| 5729 | .uk-icon-calendar-check-o:before { | ||
| 5730 | content: "\f274"; | ||
| 5731 | } | ||
| 5732 | .uk-icon-calendar-minus-o:before { | ||
| 5733 | content: "\f272"; | ||
| 5734 | } | ||
| 5735 | .uk-icon-calendar-plus-o:before { | ||
| 5736 | content: "\f271"; | ||
| 5737 | } | ||
| 5738 | .uk-icon-calendar-times-o:before { | ||
| 5739 | content: "\f273"; | ||
| 5740 | } | ||
| 5741 | .uk-icon-cc-diners-club:before { | ||
| 5742 | content: "\f24c"; | ||
| 5743 | } | ||
| 5744 | .uk-icon-cc-jcb:before { | ||
| 5745 | content: "\f24b"; | ||
| 5746 | } | ||
| 5747 | .uk-icon-chrome:before { | ||
| 5748 | content: "\f268"; | ||
| 5749 | } | ||
| 5750 | .uk-icon-clone:before { | ||
| 5751 | content: "\f24d"; | ||
| 5752 | } | ||
| 5753 | .uk-icon-commenting:before { | ||
| 5754 | content: "\f27a"; | ||
| 5755 | } | ||
| 5756 | .uk-icon-commenting-o:before { | ||
| 5757 | content: "\f27b"; | ||
| 5758 | } | ||
| 5759 | .uk-icon-contao:before { | ||
| 5760 | content: "\f26d"; | ||
| 5761 | } | ||
| 5762 | .uk-icon-creative-commons:before { | ||
| 5763 | content: "\f25e"; | ||
| 5764 | } | ||
| 5765 | .uk-icon-expeditedssl:before { | ||
| 5766 | content: "\f23e"; | ||
| 5767 | } | ||
| 5768 | .uk-icon-firefox:before { | ||
| 5769 | content: "\f269"; | ||
| 5770 | } | ||
| 5771 | .uk-icon-fonticons:before { | ||
| 5772 | content: "\f280"; | ||
| 5773 | } | ||
| 5774 | .uk-icon-get-pocket:before { | ||
| 5775 | content: "\f265"; | ||
| 5776 | } | ||
| 5777 | .uk-icon-gg:before { | ||
| 5778 | content: "\f260"; | ||
| 5779 | } | ||
| 5780 | .uk-icon-gg-circle:before { | ||
| 5781 | content: "\f261"; | ||
| 5782 | } | ||
| 5783 | .uk-icon-hand-lizard-o:before { | ||
| 5784 | content: "\f258"; | ||
| 5785 | } | ||
| 5786 | .uk-icon-hand-stop-o:before, | ||
| 5787 | .uk-icon-hand-paper-o:before { | ||
| 5788 | content: "\f256"; | ||
| 5789 | } | ||
| 5790 | .uk-icon-hand-peace-o:before { | ||
| 5791 | content: "\f25b"; | ||
| 5792 | } | ||
| 5793 | .uk-icon-hand-pointer-o:before { | ||
| 5794 | content: "\f25a"; | ||
| 5795 | } | ||
| 5796 | .uk-icon-hand-grab-o:before, | ||
| 5797 | .uk-icon-hand-rock-o:before { | ||
| 5798 | content: "\f255"; | ||
| 5799 | } | ||
| 5800 | .uk-icon-hand-scissors-o:before { | ||
| 5801 | content: "\f257"; | ||
| 5802 | } | ||
| 5803 | .uk-icon-hand-spock-o:before { | ||
| 5804 | content: "\f259"; | ||
| 5805 | } | ||
| 5806 | .uk-icon-hourglass:before { | ||
| 5807 | content: "\f254"; | ||
| 5808 | } | ||
| 5809 | .uk-icon-hourglass-o:before { | ||
| 5810 | content: "\f250"; | ||
| 5811 | } | ||
| 5812 | .uk-icon-hourglass-1:before, | ||
| 5813 | .uk-icon-hourglass-start:before { | ||
| 5814 | content: "\f251"; | ||
| 5815 | } | ||
| 5816 | .uk-icon-hourglass-2:before, | ||
| 5817 | .uk-icon-hourglass-half:before { | ||
| 5818 | content: "\f252"; | ||
| 5819 | } | ||
| 5820 | .uk-icon-hourglass-3:before, | ||
| 5821 | .uk-icon-hourglass-end:before { | ||
| 5822 | content: "\f253"; | ||
| 5823 | } | ||
| 5824 | .uk-icon-houzz:before { | ||
| 5825 | content: "\f27c"; | ||
| 5826 | } | ||
| 5827 | .uk-icon-i-cursor:before { | ||
| 5828 | content: "\f246"; | ||
| 5829 | } | ||
| 5830 | .uk-icon-industry:before { | ||
| 5831 | content: "\f275"; | ||
| 5832 | } | ||
| 5833 | .uk-icon-internet-explorer:before { | ||
| 5834 | content: "\f26b"; | ||
| 5835 | } | ||
| 5836 | .uk-icon-map:before { | ||
| 5837 | content: "\f279"; | ||
| 5838 | } | ||
| 5839 | .uk-icon-map-o:before { | ||
| 5840 | content: "\f278"; | ||
| 5841 | } | ||
| 5842 | .uk-icon-map-pin:before { | ||
| 5843 | content: "\f276"; | ||
| 5844 | } | ||
| 5845 | .uk-icon-map-signs:before { | ||
| 5846 | content: "\f277"; | ||
| 5847 | } | ||
| 5848 | .uk-icon-mouse-pointer:before { | ||
| 5849 | content: "\f245"; | ||
| 5850 | } | ||
| 5851 | .uk-icon-object-group:before { | ||
| 5852 | content: "\f247"; | ||
| 5853 | } | ||
| 5854 | .uk-icon-object-ungroup:before { | ||
| 5855 | content: "\f248"; | ||
| 5856 | } | ||
| 5857 | .uk-icon-odnoklassniki:before { | ||
| 5858 | content: "\f263"; | ||
| 5859 | } | ||
| 5860 | .uk-icon-odnoklassniki-square:before { | ||
| 5861 | content: "\f264"; | ||
| 5862 | } | ||
| 5863 | .uk-icon-opencart:before { | ||
| 5864 | content: "\f23d"; | ||
| 5865 | } | ||
| 5866 | .uk-icon-opera:before { | ||
| 5867 | content: "\f26a"; | ||
| 5868 | } | ||
| 5869 | .uk-icon-optin-monster:before { | ||
| 5870 | content: "\f23c"; | ||
| 5871 | } | ||
| 5872 | .uk-icon-registered:before { | ||
| 5873 | content: "\f25d"; | ||
| 5874 | } | ||
| 5875 | .uk-icon-safari:before { | ||
| 5876 | content: "\f267"; | ||
| 5877 | } | ||
| 5878 | .uk-icon-sticky-note:before { | ||
| 5879 | content: "\f249"; | ||
| 5880 | } | ||
| 5881 | .uk-icon-sticky-note-o:before { | ||
| 5882 | content: "\f24a"; | ||
| 5883 | } | ||
| 5884 | .uk-icon-tv:before, | ||
| 5885 | .uk-icon-television:before { | ||
| 5886 | content: "\f26c"; | ||
| 5887 | } | ||
| 5888 | .uk-icon-trademark:before { | ||
| 5889 | content: "\f25c"; | ||
| 5890 | } | ||
| 5891 | .uk-icon-tripadvisor:before { | ||
| 5892 | content: "\f262"; | ||
| 5893 | } | ||
| 5894 | .uk-icon-vimeo:before { | ||
| 5895 | content: "\f27d"; | ||
| 5896 | } | ||
| 5897 | .uk-icon-wikipedia-w:before { | ||
| 5898 | content: "\f266"; | ||
| 5899 | } | ||
| 5900 | .uk-icon-yc:before, | ||
| 5901 | .uk-icon-y-combinator:before { | ||
| 5902 | content: "\f23b"; | ||
| 5903 | } | ||
| 5904 | .uk-icon-yc-square:before, | ||
| 5905 | .uk-icon-y-combinator-square:before { | ||
| 5906 | content: "\f1d4"; | ||
| 5907 | } | ||
| 5908 | .uk-icon-bluetooth:before { | ||
| 5909 | content: "\f293"; | ||
| 5910 | } | ||
| 5911 | .uk-icon-bluetooth-b:before { | ||
| 5912 | content: "\f294"; | ||
| 5913 | } | ||
| 5914 | .uk-icon-codiepie:before { | ||
| 5915 | content: "\f284"; | ||
| 5916 | } | ||
| 5917 | .uk-icon-credit-card-alt:before { | ||
| 5918 | content: "\f283"; | ||
| 5919 | } | ||
| 5920 | .uk-icon-edge:before { | ||
| 5921 | content: "\f282"; | ||
| 5922 | } | ||
| 5923 | .uk-icon-fort-awesome:before { | ||
| 5924 | content: "\f286"; | ||
| 5925 | } | ||
| 5926 | .uk-icon-hashtag:before { | ||
| 5927 | content: "\f292"; | ||
| 5928 | } | ||
| 5929 | .uk-icon-mixcloud:before { | ||
| 5930 | content: "\f289"; | ||
| 5931 | } | ||
| 5932 | .uk-icon-modx:before { | ||
| 5933 | content: "\f285"; | ||
| 5934 | } | ||
| 5935 | .uk-icon-pause-circle:before { | ||
| 5936 | content: "\f28b"; | ||
| 5937 | } | ||
| 5938 | .uk-icon-pause-circle-o:before { | ||
| 5939 | content: "\f28c"; | ||
| 5940 | } | ||
| 5941 | .uk-icon-percent:before { | ||
| 5942 | content: "\f295"; | ||
| 5943 | } | ||
| 5944 | .uk-icon-product-hunt:before { | ||
| 5945 | content: "\f288"; | ||
| 5946 | } | ||
| 5947 | .uk-icon-reddit-alien:before { | ||
| 5948 | content: "\f281"; | ||
| 5949 | } | ||
| 5950 | .uk-icon-scribd:before { | ||
| 5951 | content: "\f28a"; | ||
| 5952 | } | ||
| 5953 | .uk-icon-shopping-bag:before { | ||
| 5954 | content: "\f290"; | ||
| 5955 | } | ||
| 5956 | .uk-icon-shopping-basket:before { | ||
| 5957 | content: "\f291"; | ||
| 5958 | } | ||
| 5959 | .uk-icon-stop-circle:before { | ||
| 5960 | content: "\f28d"; | ||
| 5961 | } | ||
| 5962 | .uk-icon-stop-circle-o:before { | ||
| 5963 | content: "\f28e"; | ||
| 5964 | } | ||
| 5965 | .uk-icon-usb:before { | ||
| 5966 | content: "\f287"; | ||
| 5967 | } | ||
| 5968 | .uk-icon-american-sign-language-interpreting:before, | ||
| 5969 | .uk-icon-asl-interpreting:before { | ||
| 5970 | content: "\f2a3"; | ||
| 5971 | } | ||
| 5972 | .uk-icon-assistive-listening-systems:before { | ||
| 5973 | content: "\f2a2"; | ||
| 5974 | } | ||
| 5975 | .uk-icon-audio-description:before { | ||
| 5976 | content: "\f29e"; | ||
| 5977 | } | ||
| 5978 | .uk-icon-blind:before { | ||
| 5979 | content: "\f29d"; | ||
| 5980 | } | ||
| 5981 | .uk-icon-braille:before { | ||
| 5982 | content: "\f2a1"; | ||
| 5983 | } | ||
| 5984 | .uk-icon-deaf:before { | ||
| 5985 | content: "\f2a4"; | ||
| 5986 | } | ||
| 5987 | .uk-icon-deafness:before { | ||
| 5988 | content: "\f2a4"; | ||
| 5989 | } | ||
| 5990 | .uk-icon-envira:before { | ||
| 5991 | content: "\f299"; | ||
| 5992 | } | ||
| 5993 | .uk-icon-gitlab:before { | ||
| 5994 | content: "\f296"; | ||
| 5995 | } | ||
| 5996 | .uk-icon-glide:before { | ||
| 5997 | content: "\f2a5"; | ||
| 5998 | } | ||
| 5999 | .uk-icon-glide-g:before { | ||
| 6000 | content: "\f2a6"; | ||
| 6001 | } | ||
| 6002 | .uk-icon-hard-of-hearing:before { | ||
| 6003 | content: "\f2a4"; | ||
| 6004 | } | ||
| 6005 | .uk-icon-low-vision:before { | ||
| 6006 | content: "\f2a8"; | ||
| 6007 | } | ||
| 6008 | .uk-icon-question-circle-o:before { | ||
| 6009 | content: "\f29c"; | ||
| 6010 | } | ||
| 6011 | .uk-icon-sign-language:before, | ||
| 6012 | .uk-icon-signing:before { | ||
| 6013 | content: "\f2a7"; | ||
| 6014 | } | ||
| 6015 | .uk-icon-snapchat:before { | ||
| 6016 | content: "\f2ab"; | ||
| 6017 | } | ||
| 6018 | .uk-icon-snapchat-ghost:before { | ||
| 6019 | content: "\f2ac"; | ||
| 6020 | } | ||
| 6021 | .uk-icon-snapchat-square:before { | ||
| 6022 | content: "\f2ad"; | ||
| 6023 | } | ||
| 6024 | .uk-icon-universal-access:before { | ||
| 6025 | content: "\f29a"; | ||
| 6026 | } | ||
| 6027 | .uk-icon-viadeo:before { | ||
| 6028 | content: "\f2a9"; | ||
| 6029 | } | ||
| 6030 | .uk-icon-viadeo-square:before { | ||
| 6031 | content: "\f2aa"; | ||
| 6032 | } | ||
| 6033 | .uk-icon-volume-control-phone:before { | ||
| 6034 | content: "\f2a0"; | ||
| 6035 | } | ||
| 6036 | .uk-icon-wheelchair-alt:before { | ||
| 6037 | content: "\f29b"; | ||
| 6038 | } | ||
| 6039 | .uk-icon-wpbeginner:before { | ||
| 6040 | content: "\f297"; | ||
| 6041 | } | ||
| 6042 | .uk-icon-wpforms:before { | ||
| 6043 | content: "\f298"; | ||
| 6044 | } | ||
| 6045 | /* ======================================================================== | ||
| 6046 | Component: Close | ||
| 6047 | ========================================================================== */ | ||
| 6048 | /* | ||
| 6049 | * Removes inner padding and border in Firefox 4+. | ||
| 6050 | */ | ||
| 6051 | .uk-close::-moz-focus-inner { | ||
| 6052 | border: 0; | ||
| 6053 | padding: 0; | ||
| 6054 | } | ||
| 6055 | /* | ||
| 6056 | * 1. Correct inability to style clickable `input` types in iOS. | ||
| 6057 | * 2. Remove margins in Chrome, Safari and Opera. | ||
| 6058 | * 3. Remove borders for `button`. | ||
| 6059 | * 4. Address `overflow` set to `hidden` in IE 8/9/10/11. | ||
| 6060 | * 5. Correct `font` properties and `color` not being inherited for `button`. | ||
| 6061 | * 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE | ||
| 6062 | * 7. Remove default `button` padding and background color | ||
| 6063 | * 8. Style | ||
| 6064 | */ | ||
| 6065 | .uk-close { | ||
| 6066 | /* 1 */ | ||
| 6067 | -webkit-appearance: none; | ||
| 6068 | /* 2 */ | ||
| 6069 | margin: 0; | ||
| 6070 | /* 3 */ | ||
| 6071 | border: none; | ||
| 6072 | /* 4 */ | ||
| 6073 | overflow: visible; | ||
| 6074 | /* 5 */ | ||
| 6075 | font: inherit; | ||
| 6076 | color: inherit; | ||
| 6077 | /* 6 */ | ||
| 6078 | text-transform: none; | ||
| 6079 | /* 7. */ | ||
| 6080 | padding: 0; | ||
| 6081 | background: transparent; | ||
| 6082 | /* 8 */ | ||
| 6083 | display: inline-block; | ||
| 6084 | box-sizing: content-box; | ||
| 6085 | width: 20px; | ||
| 6086 | line-height: 20px; | ||
| 6087 | text-align: center; | ||
| 6088 | vertical-align: middle; | ||
| 6089 | opacity: 0.3; | ||
| 6090 | } | ||
| 6091 | /* Icon */ | ||
| 6092 | .uk-close:after { | ||
| 6093 | display: block; | ||
| 6094 | content: "\f00d"; | ||
| 6095 | font-family: FontAwesome; | ||
| 6096 | } | ||
| 6097 | /* | ||
| 6098 | * Hover | ||
| 6099 | * 1. Apply hover style also to focus state | ||
| 6100 | * 2. Remove default focus style | ||
| 6101 | * 3. Required for `a` elements | ||
| 6102 | */ | ||
| 6103 | .uk-close:hover, | ||
| 6104 | .uk-close:focus { | ||
| 6105 | opacity: 0.5; | ||
| 6106 | /* 2 */ | ||
| 6107 | outline: none; | ||
| 6108 | /* 3 */ | ||
| 6109 | color: inherit; | ||
| 6110 | text-decoration: none; | ||
| 6111 | cursor: pointer; | ||
| 6112 | } | ||
| 6113 | /* Modifier | ||
| 6114 | ========================================================================== */ | ||
| 6115 | .uk-close-alt { | ||
| 6116 | padding: 2px; | ||
| 6117 | border-radius: 50%; | ||
| 6118 | background: #fff; | ||
| 6119 | opacity: 1; | ||
| 6120 | box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 0 6px rgba(0, 0, 0, 0.3); | ||
| 6121 | } | ||
| 6122 | /* Hover */ | ||
| 6123 | .uk-close-alt:hover, | ||
| 6124 | .uk-close-alt:focus { | ||
| 6125 | opacity: 1; | ||
| 6126 | } | ||
| 6127 | /* Icon */ | ||
| 6128 | .uk-close-alt:after { | ||
| 6129 | opacity: 0.5; | ||
| 6130 | } | ||
| 6131 | .uk-close-alt:hover:after, | ||
| 6132 | .uk-close-alt:focus:after { | ||
| 6133 | opacity: 0.8; | ||
| 6134 | } | ||
| 6135 | /* ======================================================================== | ||
| 6136 | Component: Badge | ||
| 6137 | ========================================================================== */ | ||
| 6138 | .uk-badge { | ||
| 6139 | display: inline-block; | ||
| 6140 | padding: 0 5px; | ||
| 6141 | background: #009dd8; | ||
| 6142 | font-size: 10px; | ||
| 6143 | font-weight: bold; | ||
| 6144 | line-height: 14px; | ||
| 6145 | color: #fff; | ||
| 6146 | text-align: center; | ||
| 6147 | vertical-align: middle; | ||
| 6148 | text-transform: none; | ||
| 6149 | border: 1px solid rgba(0, 0, 0, 0.2); | ||
| 6150 | border-bottom-color: rgba(0, 0, 0, 0.3); | ||
| 6151 | background-origin: border-box; | ||
| 6152 | background-image: -webkit-linear-gradient(top, #00b4f5, #008dc5); | ||
| 6153 | background-image: linear-gradient(to bottom, #00b4f5, #008dc5); | ||
| 6154 | border-radius: 2px; | ||
| 6155 | text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); | ||
| 6156 | } | ||
| 6157 | /* | ||
| 6158 | * Keep color when badge is a link | ||
| 6159 | */ | ||
| 6160 | a.uk-badge:hover { | ||
| 6161 | color: #fff; | ||
| 6162 | } | ||
| 6163 | /* Modifier: `uk-badge-notification`; | ||
| 6164 | ========================================================================== */ | ||
| 6165 | .uk-badge-notification { | ||
| 6166 | box-sizing: border-box; | ||
| 6167 | min-width: 18px; | ||
| 6168 | border-radius: 500px; | ||
| 6169 | font-size: 12px; | ||
| 6170 | line-height: 18px; | ||
| 6171 | } | ||
| 6172 | /* Color modifier | ||
| 6173 | ========================================================================== */ | ||
| 6174 | /* | ||
| 6175 | * Modifier: `uk-badge-success` | ||
| 6176 | */ | ||
| 6177 | .uk-badge-success { | ||
| 6178 | background-color: #82bb42; | ||
| 6179 | background-image: -webkit-linear-gradient(top, #9fd256, #6fac34); | ||
| 6180 | background-image: linear-gradient(to bottom, #9fd256, #6fac34); | ||
| 6181 | } | ||
| 6182 | /* | ||
| 6183 | * Modifier: `uk-badge-warning` | ||
| 6184 | */ | ||
| 6185 | .uk-badge-warning { | ||
| 6186 | background-color: #f9a124; | ||
| 6187 | background-image: -webkit-linear-gradient(top, #fbb450, #f89406); | ||
| 6188 | background-image: linear-gradient(to bottom, #fbb450, #f89406); | ||
| 6189 | } | ||
| 6190 | /* | ||
| 6191 | * Modifier: `uk-badge-danger` | ||
| 6192 | */ | ||
| 6193 | .uk-badge-danger { | ||
| 6194 | background-color: #d32c46; | ||
| 6195 | background-image: -webkit-linear-gradient(top, #ee465a, #c11a39); | ||
| 6196 | background-image: linear-gradient(to bottom, #ee465a, #c11a39); | ||
| 6197 | } | ||
| 6198 | /* ======================================================================== | ||
| 6199 | Component: Alert | ||
| 6200 | ========================================================================== */ | ||
| 6201 | .uk-alert { | ||
| 6202 | margin-bottom: 15px; | ||
| 6203 | padding: 10px; | ||
| 6204 | background: #ebf7fd; | ||
| 6205 | color: #2d7091; | ||
| 6206 | border: 1px solid rgba(45, 112, 145, 0.3); | ||
| 6207 | border-radius: 4px; | ||
| 6208 | text-shadow: 0 1px 0 #fff; | ||
| 6209 | } | ||
| 6210 | /* | ||
| 6211 | * Add margin if adjacent element | ||
| 6212 | */ | ||
| 6213 | * + .uk-alert { | ||
| 6214 | margin-top: 15px; | ||
| 6215 | } | ||
| 6216 | /* | ||
| 6217 | * Remove margin from the last-child | ||
| 6218 | */ | ||
| 6219 | .uk-alert > :last-child { | ||
| 6220 | margin-bottom: 0; | ||
| 6221 | } | ||
| 6222 | /* | ||
| 6223 | * Keep color for headings if the default heading color is changed | ||
| 6224 | */ | ||
| 6225 | .uk-alert h1, | ||
| 6226 | .uk-alert h2, | ||
| 6227 | .uk-alert h3, | ||
| 6228 | .uk-alert h4, | ||
| 6229 | .uk-alert h5, | ||
| 6230 | .uk-alert h6 { | ||
| 6231 | color: inherit; | ||
| 6232 | } | ||
| 6233 | /* Close in alert | ||
| 6234 | ========================================================================== */ | ||
| 6235 | .uk-alert > .uk-close:first-child { | ||
| 6236 | float: right; | ||
| 6237 | } | ||
| 6238 | /* | ||
| 6239 | * Remove margin from adjacent element | ||
| 6240 | */ | ||
| 6241 | .uk-alert > .uk-close:first-child + * { | ||
| 6242 | margin-top: 0; | ||
| 6243 | } | ||
| 6244 | /* Modifier: `uk-alert-success` | ||
| 6245 | ========================================================================== */ | ||
| 6246 | .uk-alert-success { | ||
| 6247 | background: #f2fae3; | ||
| 6248 | color: #659f13; | ||
| 6249 | border-color: rgba(101, 159, 19, 0.3); | ||
| 6250 | } | ||
| 6251 | /* Modifier: `uk-alert-warning` | ||
| 6252 | ========================================================================== */ | ||
| 6253 | .uk-alert-warning { | ||
| 6254 | background: #fffceb; | ||
| 6255 | color: #e28327; | ||
| 6256 | border-color: rgba(226, 131, 39, 0.3); | ||
| 6257 | } | ||
| 6258 | /* Modifier: `uk-alert-danger` | ||
| 6259 | ========================================================================== */ | ||
| 6260 | .uk-alert-danger { | ||
| 6261 | background: #fff1f0; | ||
| 6262 | color: #d85030; | ||
| 6263 | border-color: rgba(216, 80, 48, 0.3); | ||
| 6264 | } | ||
| 6265 | /* Modifier: `uk-alert-large` | ||
| 6266 | ========================================================================== */ | ||
| 6267 | .uk-alert-large { | ||
| 6268 | padding: 20px; | ||
| 6269 | } | ||
| 6270 | .uk-alert-large > .uk-close:first-child { | ||
| 6271 | margin: -10px -10px 0 0; | ||
| 6272 | } | ||
| 6273 | /* ======================================================================== | ||
| 6274 | Component: Thumbnail | ||
| 6275 | ========================================================================== */ | ||
| 6276 | /* | ||
| 6277 | * 1. Container width fits its content | ||
| 6278 | * 2. Responsive behavior | ||
| 6279 | * 3. Corrects `max-width` behavior sed | ||
| 6280 | * 4. Required for `figure` element | ||
| 6281 | * 5. Style | ||
| 6282 | */ | ||
| 6283 | .uk-thumbnail { | ||
| 6284 | /* 1 */ | ||
| 6285 | display: inline-block; | ||
| 6286 | /* 2 */ | ||
| 6287 | max-width: 100%; | ||
| 6288 | /* 3 */ | ||
| 6289 | box-sizing: border-box; | ||
| 6290 | /* 3 */ | ||
| 6291 | margin: 0; | ||
| 6292 | /* 4 */ | ||
| 6293 | padding: 4px; | ||
| 6294 | border: 1px solid #ddd; | ||
| 6295 | background: #fff; | ||
| 6296 | border-radius: 4px; | ||
| 6297 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); | ||
| 6298 | } | ||
| 6299 | /* | ||
| 6300 | * Hover state for `a` elements | ||
| 6301 | * 1. Apply hover style also to focus state | ||
| 6302 | * 2. Needed for caption | ||
| 6303 | * 3. Remove default focus style | ||
| 6304 | */ | ||
| 6305 | a.uk-thumbnail:hover, | ||
| 6306 | a.uk-thumbnail:focus { | ||
| 6307 | border-color: #aaaaaa; | ||
| 6308 | background-color: #fff; | ||
| 6309 | /* 2 */ | ||
| 6310 | text-decoration: none; | ||
| 6311 | /* 3 */ | ||
| 6312 | outline: none; | ||
| 6313 | box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); | ||
| 6314 | } | ||
| 6315 | /* Caption | ||
| 6316 | ========================================================================== */ | ||
| 6317 | .uk-thumbnail-caption { | ||
| 6318 | padding-top: 4px; | ||
| 6319 | text-align: center; | ||
| 6320 | color: #444; | ||
| 6321 | } | ||
| 6322 | /* Sizes | ||
| 6323 | ========================================================================== */ | ||
| 6324 | .uk-thumbnail-mini { | ||
| 6325 | width: 150px; | ||
| 6326 | } | ||
| 6327 | .uk-thumbnail-small { | ||
| 6328 | width: 200px; | ||
| 6329 | } | ||
| 6330 | .uk-thumbnail-medium { | ||
| 6331 | width: 300px; | ||
| 6332 | } | ||
| 6333 | .uk-thumbnail-large { | ||
| 6334 | width: 400px; | ||
| 6335 | } | ||
| 6336 | .uk-thumbnail-expand, | ||
| 6337 | .uk-thumbnail-expand > img { | ||
| 6338 | width: 100%; | ||
| 6339 | } | ||
| 6340 | /* ======================================================================== | ||
| 6341 | Component: Overlay | ||
| 6342 | ========================================================================== */ | ||
| 6343 | /* | ||
| 6344 | * 1. Container width fits its content | ||
| 6345 | * 2. Create position context | ||
| 6346 | * 3. Set max-width for responsive images to prevent `inline-block` consequences | ||
| 6347 | * 4. Remove the gap between the container and its child element | ||
| 6348 | * 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome | ||
| 6349 | * 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit | ||
| 6350 | * 7. Reset margin | ||
| 6351 | */ | ||
| 6352 | .uk-overlay { | ||
| 6353 | /* 1 */ | ||
| 6354 | display: inline-block; | ||
| 6355 | /* 2 */ | ||
| 6356 | position: relative; | ||
| 6357 | /* 3 */ | ||
| 6358 | max-width: 100%; | ||
| 6359 | /* 4 */ | ||
| 6360 | vertical-align: middle; | ||
| 6361 | /* 5 */ | ||
| 6362 | overflow: hidden; | ||
| 6363 | /* 6 */ | ||
| 6364 | -webkit-transform: translateZ(0); | ||
| 6365 | /* 7 */ | ||
| 6366 | margin: 0; | ||
| 6367 | } | ||
| 6368 | /* 6 for Safari */ | ||
| 6369 | .uk-overlay.uk-border-circle { | ||
| 6370 | -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); | ||
| 6371 | } | ||
| 6372 | /* | ||
| 6373 | * Remove margin from content | ||
| 6374 | */ | ||
| 6375 | .uk-overlay > :first-child { | ||
| 6376 | margin-bottom: 0; | ||
| 6377 | } | ||
| 6378 | /* Sub-object `uk-overlay-panel` | ||
| 6379 | ========================================================================== */ | ||
| 6380 | /* | ||
| 6381 | * 1. Position cover | ||
| 6382 | * 2. Style | ||
| 6383 | */ | ||
| 6384 | .uk-overlay-panel { | ||
| 6385 | /* 1 */ | ||
| 6386 | position: absolute; | ||
| 6387 | top: 0; | ||
| 6388 | bottom: 0; | ||
| 6389 | left: 0; | ||
| 6390 | right: 0; | ||
| 6391 | /* 2 */ | ||
| 6392 | padding: 20px; | ||
| 6393 | color: #fff; | ||
| 6394 | } | ||
| 6395 | /* | ||
| 6396 | * Remove margin from the last-child | ||
| 6397 | */ | ||
| 6398 | .uk-overlay-panel > :last-child, | ||
| 6399 | .uk-overlay-panel.uk-flex > * > :last-child { | ||
| 6400 | margin-bottom: 0; | ||
| 6401 | } | ||
| 6402 | /* | ||
| 6403 | * Keep color for headings if the default heading color is changed | ||
| 6404 | */ | ||
| 6405 | .uk-overlay-panel h1, | ||
| 6406 | .uk-overlay-panel h2, | ||
| 6407 | .uk-overlay-panel h3, | ||
| 6408 | .uk-overlay-panel h4, | ||
| 6409 | .uk-overlay-panel h5, | ||
| 6410 | .uk-overlay-panel h6 { | ||
| 6411 | color: inherit; | ||
| 6412 | } | ||
| 6413 | .uk-overlay-panel a:not([class]) { | ||
| 6414 | color: inherit; | ||
| 6415 | text-decoration: underline; | ||
| 6416 | } | ||
| 6417 | .uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { | ||
| 6418 | color: inherit; | ||
| 6419 | } | ||
| 6420 | /* Sub-object `uk-overlay-hover` and `uk-overlay-active` | ||
| 6421 | ========================================================================== */ | ||
| 6422 | .uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore) { | ||
| 6423 | opacity: 0; | ||
| 6424 | } | ||
| 6425 | .uk-overlay-active :not(.uk-active) > .uk-overlay-panel:not(.uk-ignore) { | ||
| 6426 | opacity: 0; | ||
| 6427 | } | ||
| 6428 | /* Modifier `uk-overlay-background` | ||
| 6429 | ========================================================================== */ | ||
| 6430 | .uk-overlay-background { | ||
| 6431 | background: rgba(0, 0, 0, 0.5); | ||
| 6432 | } | ||
| 6433 | /* Modifier `uk-overlay-image` | ||
| 6434 | ========================================================================== */ | ||
| 6435 | /* | ||
| 6436 | * Reset panel | ||
| 6437 | */ | ||
| 6438 | .uk-overlay-image { | ||
| 6439 | padding: 0; | ||
| 6440 | } | ||
| 6441 | /* Position modifiers | ||
| 6442 | ========================================================================== */ | ||
| 6443 | .uk-overlay-top { | ||
| 6444 | bottom: auto; | ||
| 6445 | } | ||
| 6446 | .uk-overlay-bottom { | ||
| 6447 | top: auto; | ||
| 6448 | } | ||
| 6449 | .uk-overlay-left { | ||
| 6450 | right: auto; | ||
| 6451 | } | ||
| 6452 | .uk-overlay-right { | ||
| 6453 | left: auto; | ||
| 6454 | } | ||
| 6455 | /* Sub-object `uk-overlay-icon` | ||
| 6456 | ========================================================================== */ | ||
| 6457 | .uk-overlay-icon:before { | ||
| 6458 | content: "\f002"; | ||
| 6459 | position: absolute; | ||
| 6460 | top: 50%; | ||
| 6461 | left: 50%; | ||
| 6462 | width: 50px; | ||
| 6463 | height: 50px; | ||
| 6464 | margin-top: -25px; | ||
| 6465 | margin-left: -25px; | ||
| 6466 | font-size: 50px; | ||
| 6467 | line-height: 1; | ||
| 6468 | font-family: FontAwesome; | ||
| 6469 | text-align: center; | ||
| 6470 | color: #fff; | ||
| 6471 | } | ||
| 6472 | /* Transitions | ||
| 6473 | ========================================================================== */ | ||
| 6474 | .uk-overlay-fade, | ||
| 6475 | .uk-overlay-scale, | ||
| 6476 | .uk-overlay-spin, | ||
| 6477 | .uk-overlay-grayscale, | ||
| 6478 | .uk-overlay-blur, | ||
| 6479 | [class*='uk-overlay-slide'] { | ||
| 6480 | transition-duration: 0.3s; | ||
| 6481 | transition-timing-function: ease-out; | ||
| 6482 | transition-property: opacity, transform, filter; | ||
| 6483 | } | ||
| 6484 | .uk-overlay-active .uk-overlay-fade, | ||
| 6485 | .uk-overlay-active .uk-overlay-scale, | ||
| 6486 | .uk-overlay-active .uk-overlay-spin, | ||
| 6487 | .uk-overlay-active [class*='uk-overlay-slide'] { | ||
| 6488 | transition-duration: 0.8s; | ||
| 6489 | } | ||
| 6490 | /* | ||
| 6491 | * Fade | ||
| 6492 | */ | ||
| 6493 | .uk-overlay-fade { | ||
| 6494 | opacity: 0.7; | ||
| 6495 | } | ||
| 6496 | .uk-overlay-hover:hover .uk-overlay-fade, | ||
| 6497 | .uk-overlay-hover.uk-hover .uk-overlay-fade, | ||
| 6498 | .uk-overlay-active .uk-active > .uk-overlay-fade { | ||
| 6499 | opacity: 1; | ||
| 6500 | } | ||
| 6501 | /* | ||
| 6502 | * Scale | ||
| 6503 | */ | ||
| 6504 | .uk-overlay-scale { | ||
| 6505 | -webkit-transform: scale(1); | ||
| 6506 | transform: scale(1); | ||
| 6507 | } | ||
| 6508 | .uk-overlay-hover:hover .uk-overlay-scale, | ||
| 6509 | .uk-overlay-hover.uk-hover .uk-overlay-scale, | ||
| 6510 | .uk-overlay-active .uk-active > .uk-overlay-scale { | ||
| 6511 | -webkit-transform: scale(1.1); | ||
| 6512 | transform: scale(1.1); | ||
| 6513 | } | ||
| 6514 | /* | ||
| 6515 | * Spin | ||
| 6516 | */ | ||
| 6517 | .uk-overlay-spin { | ||
| 6518 | -webkit-transform: scale(1) rotate(0deg); | ||
| 6519 | transform: scale(1) rotate(0deg); | ||
| 6520 | } | ||
| 6521 | .uk-overlay-hover:hover .uk-overlay-spin, | ||
| 6522 | .uk-overlay-hover.uk-hover .uk-overlay-spin, | ||
| 6523 | .uk-overlay-active .uk-active > .uk-overlay-spin { | ||
| 6524 | -webkit-transform: scale(1.1) rotate(3deg); | ||
| 6525 | transform: scale(1.1) rotate(3deg); | ||
| 6526 | } | ||
| 6527 | /* | ||
| 6528 | * Grayscale | ||
| 6529 | */ | ||
| 6530 | .uk-overlay-grayscale { | ||
| 6531 | -webkit-filter: grayscale(100%); | ||
| 6532 | filter: grayscale(100%); | ||
| 6533 | } | ||
| 6534 | .uk-overlay-hover:hover .uk-overlay-grayscale, | ||
| 6535 | .uk-overlay-hover.uk-hover .uk-overlay-grayscale, | ||
| 6536 | .uk-overlay-active .uk-active > .uk-overlay-grayscale { | ||
| 6537 | -webkit-filter: grayscale(0%); | ||
| 6538 | filter: grayscale(0%); | ||
| 6539 | } | ||
| 6540 | /* | ||
| 6541 | * Slide | ||
| 6542 | */ | ||
| 6543 | [class*='uk-overlay-slide'] { | ||
| 6544 | opacity: 0; | ||
| 6545 | } | ||
| 6546 | /* Top */ | ||
| 6547 | .uk-overlay-slide-top { | ||
| 6548 | -webkit-transform: translateY(-100%); | ||
| 6549 | transform: translateY(-100%); | ||
| 6550 | } | ||
| 6551 | /* Bottom */ | ||
| 6552 | .uk-overlay-slide-bottom { | ||
| 6553 | -webkit-transform: translateY(100%); | ||
| 6554 | transform: translateY(100%); | ||
| 6555 | } | ||
| 6556 | /* Left */ | ||
| 6557 | .uk-overlay-slide-left { | ||
| 6558 | -webkit-transform: translateX(-100%); | ||
| 6559 | transform: translateX(-100%); | ||
| 6560 | } | ||
| 6561 | /* Right */ | ||
| 6562 | .uk-overlay-slide-right { | ||
| 6563 | -webkit-transform: translateX(100%); | ||
| 6564 | transform: translateX(100%); | ||
| 6565 | } | ||
| 6566 | /* Hover */ | ||
| 6567 | .uk-overlay-hover:hover [class*='uk-overlay-slide'], | ||
| 6568 | .uk-overlay-hover.uk-hover [class*='uk-overlay-slide'], | ||
| 6569 | .uk-overlay-active .uk-active > [class*='uk-overlay-slide'] { | ||
| 6570 | opacity: 1; | ||
| 6571 | -webkit-transform: translateX(0) translateY(0); | ||
| 6572 | transform: translateX(0) translateY(0); | ||
| 6573 | } | ||
| 6574 | /* DEPRECATED | ||
| 6575 | * Sub-object `uk-overlay-area` | ||
| 6576 | ========================================================================== */ | ||
| 6577 | /* | ||
| 6578 | * 1. Set position | ||
| 6579 | * 2. Set style | ||
| 6580 | * 3. Fade-in transition | ||
| 6581 | */ | ||
| 6582 | .uk-overlay-area { | ||
| 6583 | /* 1 */ | ||
| 6584 | position: absolute; | ||
| 6585 | top: 0; | ||
| 6586 | bottom: 0; | ||
| 6587 | left: 0; | ||
| 6588 | right: 0; | ||
| 6589 | /* 2 */ | ||
| 6590 | background: rgba(0, 0, 0, 0.3); | ||
| 6591 | /* 3 */ | ||
| 6592 | opacity: 0; | ||
| 6593 | -webkit-transition: opacity 0.15s linear; | ||
| 6594 | transition: opacity 0.15s linear; | ||
| 6595 | -webkit-transform: translate3d(0, 0, 0); | ||
| 6596 | } | ||
| 6597 | /* | ||
| 6598 | * Hover | ||
| 6599 | * 1. `uk-hover` to support touch devices | ||
| 6600 | * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier | ||
| 6601 | */ | ||
| 6602 | .uk-overlay:hover .uk-overlay-area, | ||
| 6603 | .uk-overlay.uk-hover .uk-overlay-area, | ||
| 6604 | .uk-overlay-toggle:hover .uk-overlay-area, | ||
| 6605 | .uk-overlay-toggle.uk-hover .uk-overlay-area { | ||
| 6606 | opacity: 1; | ||
| 6607 | } | ||
| 6608 | /* | ||
| 6609 | * Icon | ||
| 6610 | */ | ||
| 6611 | .uk-overlay-area:empty:before { | ||
| 6612 | content: "\f002"; | ||
| 6613 | position: absolute; | ||
| 6614 | top: 50%; | ||
| 6615 | left: 50%; | ||
| 6616 | width: 50px; | ||
| 6617 | height: 50px; | ||
| 6618 | margin-top: -25px; | ||
| 6619 | margin-left: -25px; | ||
| 6620 | font-size: 50px; | ||
| 6621 | line-height: 1; | ||
| 6622 | font-family: FontAwesome; | ||
| 6623 | text-align: center; | ||
| 6624 | color: #fff; | ||
| 6625 | } | ||
| 6626 | /* DEPRECATED | ||
| 6627 | * Sub-object `uk-overlay-area-content` | ||
| 6628 | ========================================================================== */ | ||
| 6629 | /* | ||
| 6630 | * Remove whitespace between child elements when using `inline-block` | ||
| 6631 | * Needed for Firefox | ||
| 6632 | */ | ||
| 6633 | .uk-overlay-area:not(:empty) { | ||
| 6634 | font-size: 0.001px; | ||
| 6635 | } | ||
| 6636 | /* | ||
| 6637 | * 1. Needed for vertical alignment | ||
| 6638 | */ | ||
| 6639 | .uk-overlay-area:not(:empty):before { | ||
| 6640 | content: ''; | ||
| 6641 | display: inline-block; | ||
| 6642 | height: 100%; | ||
| 6643 | vertical-align: middle; | ||
| 6644 | } | ||
| 6645 | /* | ||
| 6646 | * 1. Set vertical alignment | ||
| 6647 | * 2. Reset whitespace hack | ||
| 6648 | * 3. Set horizontal alignment | ||
| 6649 | * 4. Set style | ||
| 6650 | */ | ||
| 6651 | .uk-overlay-area-content { | ||
| 6652 | /* 1 */ | ||
| 6653 | display: inline-block; | ||
| 6654 | box-sizing: border-box; | ||
| 6655 | width: 100%; | ||
| 6656 | vertical-align: middle; | ||
| 6657 | /* 2 */ | ||
| 6658 | font-size: 1rem; | ||
| 6659 | /* 3 */ | ||
| 6660 | text-align: center; | ||
| 6661 | /* 4 */ | ||
| 6662 | padding: 0 15px; | ||
| 6663 | color: #fff; | ||
| 6664 | } | ||
| 6665 | /* | ||
| 6666 | * Remove margin from the last-child | ||
| 6667 | */ | ||
| 6668 | .uk-overlay-area-content > :last-child { | ||
| 6669 | margin-bottom: 0; | ||
| 6670 | } | ||
| 6671 | /* | ||
| 6672 | * Links in overlay area | ||
| 6673 | */ | ||
| 6674 | .uk-overlay-area-content a:not([class]), | ||
| 6675 | .uk-overlay-area-content a:not([class]):hover { | ||
| 6676 | color: inherit; | ||
| 6677 | } | ||
| 6678 | /* DEPRECATED | ||
| 6679 | * Sub-object `uk-overlay-caption` | ||
| 6680 | ========================================================================== */ | ||
| 6681 | /* | ||
| 6682 | * 1. Set position | ||
| 6683 | * 2. Set style | ||
| 6684 | * 3. Fade-in transition | ||
| 6685 | */ | ||
| 6686 | .uk-overlay-caption { | ||
| 6687 | /* 1 */ | ||
| 6688 | position: absolute; | ||
| 6689 | bottom: 0; | ||
| 6690 | left: 0; | ||
| 6691 | right: 0; | ||
| 6692 | /* 2 */ | ||
| 6693 | padding: 15px; | ||
| 6694 | background: rgba(0, 0, 0, 0.5); | ||
| 6695 | color: #fff; | ||
| 6696 | /* 3 */ | ||
| 6697 | opacity: 0; | ||
| 6698 | -webkit-transition: opacity 0.15s linear; | ||
| 6699 | transition: opacity 0.15s linear; | ||
| 6700 | -webkit-transform: translate3d(0, 0, 0); | ||
| 6701 | } | ||
| 6702 | /* | ||
| 6703 | * Hover | ||
| 6704 | * 1. `uk-hover` to support touch devices | ||
| 6705 | * 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier | ||
| 6706 | */ | ||
| 6707 | .uk-overlay:hover .uk-overlay-caption, | ||
| 6708 | .uk-overlay.uk-hover .uk-overlay-caption, | ||
| 6709 | .uk-overlay-toggle:hover .uk-overlay-caption, | ||
| 6710 | .uk-overlay-toggle.uk-hover .uk-overlay-caption { | ||
| 6711 | opacity: 1; | ||
| 6712 | } | ||
| 6713 | /* ======================================================================== | ||
| 6714 | Component: Column | ||
| 6715 | ========================================================================== */ | ||
| 6716 | [class*='uk-column-'] { | ||
| 6717 | -webkit-column-gap: 25px; | ||
| 6718 | -moz-column-gap: 25px; | ||
| 6719 | column-gap: 25px; | ||
| 6720 | } | ||
| 6721 | /* Width modifiers | ||
| 6722 | ========================================================================== */ | ||
| 6723 | .uk-column-1-2 { | ||
| 6724 | -webkit-column-count: 2; | ||
| 6725 | -moz-column-count: 2; | ||
| 6726 | column-count: 2; | ||
| 6727 | } | ||
| 6728 | .uk-column-1-3 { | ||
| 6729 | -webkit-column-count: 3; | ||
| 6730 | -moz-column-count: 3; | ||
| 6731 | column-count: 3; | ||
| 6732 | } | ||
| 6733 | .uk-column-1-4 { | ||
| 6734 | -webkit-column-count: 4; | ||
| 6735 | -moz-column-count: 4; | ||
| 6736 | column-count: 4; | ||
| 6737 | } | ||
| 6738 | .uk-column-1-5 { | ||
| 6739 | -webkit-column-count: 5; | ||
| 6740 | -moz-column-count: 5; | ||
| 6741 | column-count: 5; | ||
| 6742 | } | ||
| 6743 | .uk-column-1-6 { | ||
| 6744 | -webkit-column-count: 6; | ||
| 6745 | -moz-column-count: 6; | ||
| 6746 | column-count: 6; | ||
| 6747 | } | ||
| 6748 | /* Phone landscape and bigger */ | ||
| 6749 | @media (min-width: 480px) { | ||
| 6750 | .uk-column-small-1-2 { | ||
| 6751 | -webkit-column-count: 2; | ||
| 6752 | -moz-column-count: 2; | ||
| 6753 | column-count: 2; | ||
| 6754 | } | ||
| 6755 | .uk-column-small-1-3 { | ||
| 6756 | -webkit-column-count: 3; | ||
| 6757 | -moz-column-count: 3; | ||
| 6758 | column-count: 3; | ||
| 6759 | } | ||
| 6760 | .uk-column-small-1-4 { | ||
| 6761 | -webkit-column-count: 4; | ||
| 6762 | -moz-column-count: 4; | ||
| 6763 | column-count: 4; | ||
| 6764 | } | ||
| 6765 | .uk-column-small-1-5 { | ||
| 6766 | -webkit-column-count: 5; | ||
| 6767 | -moz-column-count: 5; | ||
| 6768 | column-count: 5; | ||
| 6769 | } | ||
| 6770 | .uk-column-small-1-6 { | ||
| 6771 | -webkit-column-count: 6; | ||
| 6772 | -moz-column-count: 6; | ||
| 6773 | column-count: 6; | ||
| 6774 | } | ||
| 6775 | } | ||
| 6776 | /* Tablet and bigger */ | ||
| 6777 | @media (min-width: 768px) { | ||
| 6778 | .uk-column-medium-1-2 { | ||
| 6779 | -webkit-column-count: 2; | ||
| 6780 | -moz-column-count: 2; | ||
| 6781 | column-count: 2; | ||
| 6782 | } | ||
| 6783 | .uk-column-medium-1-3 { | ||
| 6784 | -webkit-column-count: 3; | ||
| 6785 | -moz-column-count: 3; | ||
| 6786 | column-count: 3; | ||
| 6787 | } | ||
| 6788 | .uk-column-medium-1-4 { | ||
| 6789 | -webkit-column-count: 4; | ||
| 6790 | -moz-column-count: 4; | ||
| 6791 | column-count: 4; | ||
| 6792 | } | ||
| 6793 | .uk-column-medium-1-5 { | ||
| 6794 | -webkit-column-count: 5; | ||
| 6795 | -moz-column-count: 5; | ||
| 6796 | column-count: 5; | ||
| 6797 | } | ||
| 6798 | .uk-column-medium-1-6 { | ||
| 6799 | -webkit-column-count: 6; | ||
| 6800 | -moz-column-count: 6; | ||
| 6801 | column-count: 6; | ||
| 6802 | } | ||
| 6803 | } | ||
| 6804 | /* Desktop and bigger */ | ||
| 6805 | @media (min-width: 960px) { | ||
| 6806 | .uk-column-large-1-2 { | ||
| 6807 | -webkit-column-count: 2; | ||
| 6808 | -moz-column-count: 2; | ||
| 6809 | column-count: 2; | ||
| 6810 | } | ||
| 6811 | .uk-column-large-1-3 { | ||
| 6812 | -webkit-column-count: 3; | ||
| 6813 | -moz-column-count: 3; | ||
| 6814 | column-count: 3; | ||
| 6815 | } | ||
| 6816 | .uk-column-large-1-4 { | ||
| 6817 | -webkit-column-count: 4; | ||
| 6818 | -moz-column-count: 4; | ||
| 6819 | column-count: 4; | ||
| 6820 | } | ||
| 6821 | .uk-column-large-1-5 { | ||
| 6822 | -webkit-column-count: 5; | ||
| 6823 | -moz-column-count: 5; | ||
| 6824 | column-count: 5; | ||
| 6825 | } | ||
| 6826 | .uk-column-large-1-6 { | ||
| 6827 | -webkit-column-count: 6; | ||
| 6828 | -moz-column-count: 6; | ||
| 6829 | column-count: 6; | ||
| 6830 | } | ||
| 6831 | } | ||
| 6832 | /* Large screen and bigger */ | ||
| 6833 | @media (min-width: 1220px) { | ||
| 6834 | .uk-column-xlarge-1-2 { | ||
| 6835 | -webkit-column-count: 2; | ||
| 6836 | -moz-column-count: 2; | ||
| 6837 | column-count: 2; | ||
| 6838 | } | ||
| 6839 | .uk-column-xlarge-1-3 { | ||
| 6840 | -webkit-column-count: 3; | ||
| 6841 | -moz-column-count: 3; | ||
| 6842 | column-count: 3; | ||
| 6843 | } | ||
| 6844 | .uk-column-xlarge-1-4 { | ||
| 6845 | -webkit-column-count: 4; | ||
| 6846 | -moz-column-count: 4; | ||
| 6847 | column-count: 4; | ||
| 6848 | } | ||
| 6849 | .uk-column-xlarge-1-5 { | ||
| 6850 | -webkit-column-count: 5; | ||
| 6851 | -moz-column-count: 5; | ||
| 6852 | column-count: 5; | ||
| 6853 | } | ||
| 6854 | .uk-column-xlarge-1-6 { | ||
| 6855 | -webkit-column-count: 6; | ||
| 6856 | -moz-column-count: 6; | ||
| 6857 | column-count: 6; | ||
| 6858 | } | ||
| 6859 | } | ||
| 6860 | /* ======================================================================== | ||
| 6861 | Component: Animation | ||
| 6862 | ========================================================================== */ | ||
| 6863 | [class*='uk-animation-'] { | ||
| 6864 | -webkit-animation-duration: 0.5s; | ||
| 6865 | animation-duration: 0.5s; | ||
| 6866 | -webkit-animation-timing-function: ease-out; | ||
| 6867 | animation-timing-function: ease-out; | ||
| 6868 | -webkit-animation-fill-mode: both; | ||
| 6869 | animation-fill-mode: both; | ||
| 6870 | } | ||
| 6871 | /* Hide animated element if scrollspy is used */ | ||
| 6872 | @media screen { | ||
| 6873 | [data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { | ||
| 6874 | opacity: 0; | ||
| 6875 | } | ||
| 6876 | } | ||
| 6877 | /* | ||
| 6878 | * Fade | ||
| 6879 | * Higher specificity (!important) needed because of reverse modifier | ||
| 6880 | */ | ||
| 6881 | .uk-animation-fade { | ||
| 6882 | -webkit-animation-name: uk-fade; | ||
| 6883 | animation-name: uk-fade; | ||
| 6884 | -webkit-animation-duration: 0.8s; | ||
| 6885 | animation-duration: 0.8s; | ||
| 6886 | -webkit-animation-timing-function: linear !important; | ||
| 6887 | animation-timing-function: linear !important; | ||
| 6888 | } | ||
| 6889 | /* | ||
| 6890 | * Fade with scale | ||
| 6891 | */ | ||
| 6892 | .uk-animation-scale-up { | ||
| 6893 | -webkit-animation-name: uk-fade-scale-02; | ||
| 6894 | animation-name: uk-fade-scale-02; | ||
| 6895 | } | ||
| 6896 | .uk-animation-scale-down { | ||
| 6897 | -webkit-animation-name: uk-fade-scale-18; | ||
| 6898 | animation-name: uk-fade-scale-18; | ||
| 6899 | } | ||
| 6900 | /* | ||
| 6901 | * Fade with slide | ||
| 6902 | */ | ||
| 6903 | .uk-animation-slide-top { | ||
| 6904 | -webkit-animation-name: uk-fade-top; | ||
| 6905 | animation-name: uk-fade-top; | ||
| 6906 | } | ||
| 6907 | .uk-animation-slide-bottom { | ||
| 6908 | -webkit-animation-name: uk-fade-bottom; | ||
| 6909 | animation-name: uk-fade-bottom; | ||
| 6910 | } | ||
| 6911 | .uk-animation-slide-left { | ||
| 6912 | -webkit-animation-name: uk-fade-left; | ||
| 6913 | animation-name: uk-fade-left; | ||
| 6914 | } | ||
| 6915 | .uk-animation-slide-right { | ||
| 6916 | -webkit-animation-name: uk-fade-right; | ||
| 6917 | animation-name: uk-fade-right; | ||
| 6918 | } | ||
| 6919 | /* | ||
| 6920 | * Scale | ||
| 6921 | */ | ||
| 6922 | .uk-animation-scale { | ||
| 6923 | -webkit-animation-name: uk-scale-12; | ||
| 6924 | animation-name: uk-scale-12; | ||
| 6925 | } | ||
| 6926 | /* | ||
| 6927 | * Shake | ||
| 6928 | */ | ||
| 6929 | .uk-animation-shake { | ||
| 6930 | -webkit-animation-name: uk-shake; | ||
| 6931 | animation-name: uk-shake; | ||
| 6932 | } | ||
| 6933 | /* Direction modifiers | ||
| 6934 | ========================================================================== */ | ||
| 6935 | .uk-animation-reverse { | ||
| 6936 | -webkit-animation-direction: reverse; | ||
| 6937 | animation-direction: reverse; | ||
| 6938 | -webkit-animation-timing-function: ease-in; | ||
| 6939 | animation-timing-function: ease-in; | ||
| 6940 | } | ||
| 6941 | /* Duration modifiers | ||
| 6942 | ========================================================================== */ | ||
| 6943 | .uk-animation-15 { | ||
| 6944 | -webkit-animation-duration: 15s; | ||
| 6945 | animation-duration: 15s; | ||
| 6946 | } | ||
| 6947 | /* Origin modifiers | ||
| 6948 | ========================================================================== */ | ||
| 6949 | .uk-animation-top-left { | ||
| 6950 | -webkit-transform-origin: 0 0; | ||
| 6951 | transform-origin: 0 0; | ||
| 6952 | } | ||
| 6953 | .uk-animation-top-center { | ||
| 6954 | -webkit-transform-origin: 50% 0; | ||
| 6955 | transform-origin: 50% 0; | ||
| 6956 | } | ||
| 6957 | .uk-animation-top-right { | ||
| 6958 | -webkit-transform-origin: 100% 0; | ||
| 6959 | transform-origin: 100% 0; | ||
| 6960 | } | ||
| 6961 | .uk-animation-middle-left { | ||
| 6962 | -webkit-transform-origin: 0 50%; | ||
| 6963 | transform-origin: 0 50%; | ||
| 6964 | } | ||
| 6965 | .uk-animation-middle-right { | ||
| 6966 | -webkit-transform-origin: 100% 50%; | ||
| 6967 | transform-origin: 100% 50%; | ||
| 6968 | } | ||
| 6969 | .uk-animation-bottom-left { | ||
| 6970 | -webkit-transform-origin: 0 100%; | ||
| 6971 | transform-origin: 0 100%; | ||
| 6972 | } | ||
| 6973 | .uk-animation-bottom-center { | ||
| 6974 | -webkit-transform-origin: 50% 100%; | ||
| 6975 | transform-origin: 50% 100%; | ||
| 6976 | } | ||
| 6977 | .uk-animation-bottom-right { | ||
| 6978 | -webkit-transform-origin: 100% 100%; | ||
| 6979 | transform-origin: 100% 100%; | ||
| 6980 | } | ||
| 6981 | /* Sub-object: `uk-animation-hover` | ||
| 6982 | ========================================================================== */ | ||
| 6983 | /* | ||
| 6984 | * Enable animation only on hover | ||
| 6985 | * Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block` | ||
| 6986 | */ | ||
| 6987 | .uk-animation-hover:not(:hover), | ||
| 6988 | .uk-animation-hover:not(:hover) [class*='uk-animation-'], | ||
| 6989 | .uk-touch .uk-animation-hover:not(.uk-hover), | ||
| 6990 | .uk-touch .uk-animation-hover:not(.uk-hover) [class*='uk-animation-'] { | ||
| 6991 | -webkit-animation-name: none; | ||
| 6992 | animation-name: none; | ||
| 6993 | } | ||
| 6994 | /* Keyframes: Fade | ||
| 6995 | * Used by dropdown, datepicker and slideshow component | ||
| 6996 | ========================================================================== */ | ||
| 6997 | @-webkit-keyframes uk-fade { | ||
| 6998 | 0% { | ||
| 6999 | opacity: 0; | ||
| 7000 | } | ||
| 7001 | 100% { | ||
| 7002 | opacity: 1; | ||
| 7003 | } | ||
| 7004 | } | ||
| 7005 | @keyframes uk-fade { | ||
| 7006 | 0% { | ||
| 7007 | opacity: 0; | ||
| 7008 | } | ||
| 7009 | 100% { | ||
| 7010 | opacity: 1; | ||
| 7011 | } | ||
| 7012 | } | ||
| 7013 | /* Keyframes: Fade with slide | ||
| 7014 | ========================================================================== */ | ||
| 7015 | /* | ||
| 7016 | * Top | ||
| 7017 | */ | ||
| 7018 | @-webkit-keyframes uk-fade-top { | ||
| 7019 | 0% { | ||
| 7020 | opacity: 0; | ||
| 7021 | -webkit-transform: translateY(-100%); | ||
| 7022 | } | ||
| 7023 | 100% { | ||
| 7024 | opacity: 1; | ||
| 7025 | -webkit-transform: translateY(0); | ||
| 7026 | } | ||
| 7027 | } | ||
| 7028 | @keyframes uk-fade-top { | ||
| 7029 | 0% { | ||
| 7030 | opacity: 0; | ||
| 7031 | transform: translateY(-100%); | ||
| 7032 | } | ||
| 7033 | 100% { | ||
| 7034 | opacity: 1; | ||
| 7035 | transform: translateY(0); | ||
| 7036 | } | ||
| 7037 | } | ||
| 7038 | /* | ||
| 7039 | * Bottom | ||
| 7040 | */ | ||
| 7041 | @-webkit-keyframes uk-fade-bottom { | ||
| 7042 | 0% { | ||
| 7043 | opacity: 0; | ||
| 7044 | -webkit-transform: translateY(100%); | ||
| 7045 | } | ||
| 7046 | 100% { | ||
| 7047 | opacity: 1; | ||
| 7048 | -webkit-transform: translateY(0); | ||
| 7049 | } | ||
| 7050 | } | ||
| 7051 | @keyframes uk-fade-bottom { | ||
| 7052 | 0% { | ||
| 7053 | opacity: 0; | ||
| 7054 | transform: translateY(100%); | ||
| 7055 | } | ||
| 7056 | 100% { | ||
| 7057 | opacity: 1; | ||
| 7058 | transform: translateY(0); | ||
| 7059 | } | ||
| 7060 | } | ||
| 7061 | /* | ||
| 7062 | * Left | ||
| 7063 | */ | ||
| 7064 | @-webkit-keyframes uk-fade-left { | ||
| 7065 | 0% { | ||
| 7066 | opacity: 0; | ||
| 7067 | -webkit-transform: translateX(-100%); | ||
| 7068 | } | ||
| 7069 | 100% { | ||
| 7070 | opacity: 1; | ||
| 7071 | -webkit-transform: translateX(0); | ||
| 7072 | } | ||
| 7073 | } | ||
| 7074 | @keyframes uk-fade-left { | ||
| 7075 | 0% { | ||
| 7076 | opacity: 0; | ||
| 7077 | transform: translateX(-100%); | ||
| 7078 | } | ||
| 7079 | 100% { | ||
| 7080 | opacity: 1; | ||
| 7081 | transform: translateX(0); | ||
| 7082 | } | ||
| 7083 | } | ||
| 7084 | /* | ||
| 7085 | * Right | ||
| 7086 | */ | ||
| 7087 | @-webkit-keyframes uk-fade-right { | ||
| 7088 | 0% { | ||
| 7089 | opacity: 0; | ||
| 7090 | -webkit-transform: translateX(100%); | ||
| 7091 | } | ||
| 7092 | 100% { | ||
| 7093 | opacity: 1; | ||
| 7094 | -webkit-transform: translateX(0); | ||
| 7095 | } | ||
| 7096 | } | ||
| 7097 | @keyframes uk-fade-right { | ||
| 7098 | 0% { | ||
| 7099 | opacity: 0; | ||
| 7100 | transform: translateX(100%); | ||
| 7101 | } | ||
| 7102 | 100% { | ||
| 7103 | opacity: 1; | ||
| 7104 | transform: translateX(0); | ||
| 7105 | } | ||
| 7106 | } | ||
| 7107 | /* Keyframes: Fade with scale | ||
| 7108 | ========================================================================== */ | ||
| 7109 | /* | ||
| 7110 | * Scale by 0.2 | ||
| 7111 | */ | ||
| 7112 | @-webkit-keyframes uk-fade-scale-02 { | ||
| 7113 | 0% { | ||
| 7114 | opacity: 0; | ||
| 7115 | -webkit-transform: scale(0.2); | ||
| 7116 | } | ||
| 7117 | 100% { | ||
| 7118 | opacity: 1; | ||
| 7119 | -webkit-transform: scale(1); | ||
| 7120 | } | ||
| 7121 | } | ||
| 7122 | @keyframes uk-fade-scale-02 { | ||
| 7123 | 0% { | ||
| 7124 | opacity: 0; | ||
| 7125 | transform: scale(0.2); | ||
| 7126 | } | ||
| 7127 | 100% { | ||
| 7128 | opacity: 1; | ||
| 7129 | transform: scale(1); | ||
| 7130 | } | ||
| 7131 | } | ||
| 7132 | /* | ||
| 7133 | * Scale by 1.5 | ||
| 7134 | * Used by slideshow component | ||
| 7135 | */ | ||
| 7136 | @-webkit-keyframes uk-fade-scale-15 { | ||
| 7137 | 0% { | ||
| 7138 | opacity: 0; | ||
| 7139 | -webkit-transform: scale(1.5); | ||
| 7140 | } | ||
| 7141 | 100% { | ||
| 7142 | opacity: 1; | ||
| 7143 | -webkit-transform: scale(1); | ||
| 7144 | } | ||
| 7145 | } | ||
| 7146 | @keyframes uk-fade-scale-15 { | ||
| 7147 | 0% { | ||
| 7148 | opacity: 0; | ||
| 7149 | transform: scale(1.5); | ||
| 7150 | } | ||
| 7151 | 100% { | ||
| 7152 | opacity: 1; | ||
| 7153 | transform: scale(1); | ||
| 7154 | } | ||
| 7155 | } | ||
| 7156 | /* | ||
| 7157 | * Scale by 1.8 | ||
| 7158 | */ | ||
| 7159 | @-webkit-keyframes uk-fade-scale-18 { | ||
| 7160 | 0% { | ||
| 7161 | opacity: 0; | ||
| 7162 | -webkit-transform: scale(1.8); | ||
| 7163 | } | ||
| 7164 | 100% { | ||
| 7165 | opacity: 1; | ||
| 7166 | -webkit-transform: scale(1); | ||
| 7167 | } | ||
| 7168 | } | ||
| 7169 | @keyframes uk-fade-scale-18 { | ||
| 7170 | 0% { | ||
| 7171 | opacity: 0; | ||
| 7172 | transform: scale(1.8); | ||
| 7173 | } | ||
| 7174 | 100% { | ||
| 7175 | opacity: 1; | ||
| 7176 | transform: scale(1); | ||
| 7177 | } | ||
| 7178 | } | ||
| 7179 | /* Keyframes: Slide | ||
| 7180 | * Used by slideshow component | ||
| 7181 | ========================================================================== */ | ||
| 7182 | /* | ||
| 7183 | * Left | ||
| 7184 | */ | ||
| 7185 | @-webkit-keyframes uk-slide-left { | ||
| 7186 | 0% { | ||
| 7187 | -webkit-transform: translateX(-100%); | ||
| 7188 | } | ||
| 7189 | 100% { | ||
| 7190 | -webkit-transform: translateX(0); | ||
| 7191 | } | ||
| 7192 | } | ||
| 7193 | @keyframes uk-slide-left { | ||
| 7194 | 0% { | ||
| 7195 | transform: translateX(-100%); | ||
| 7196 | } | ||
| 7197 | 100% { | ||
| 7198 | transform: translateX(0); | ||
| 7199 | } | ||
| 7200 | } | ||
| 7201 | /* | ||
| 7202 | * Right | ||
| 7203 | */ | ||
| 7204 | @-webkit-keyframes uk-slide-right { | ||
| 7205 | 0% { | ||
| 7206 | -webkit-transform: translateX(100%); | ||
| 7207 | } | ||
| 7208 | 100% { | ||
| 7209 | -webkit-transform: translateX(0); | ||
| 7210 | } | ||
| 7211 | } | ||
| 7212 | @keyframes uk-slide-right { | ||
| 7213 | 0% { | ||
| 7214 | transform: translateX(100%); | ||
| 7215 | } | ||
| 7216 | 100% { | ||
| 7217 | transform: translateX(0); | ||
| 7218 | } | ||
| 7219 | } | ||
| 7220 | /* | ||
| 7221 | * Left third | ||
| 7222 | */ | ||
| 7223 | @-webkit-keyframes uk-slide-left-33 { | ||
| 7224 | 0% { | ||
| 7225 | -webkit-transform: translateX(33%); | ||
| 7226 | } | ||
| 7227 | 100% { | ||
| 7228 | -webkit-transform: translateX(0); | ||
| 7229 | } | ||
| 7230 | } | ||
| 7231 | @keyframes uk-slide-left-33 { | ||
| 7232 | 0% { | ||
| 7233 | transform: translateX(33%); | ||
| 7234 | } | ||
| 7235 | 100% { | ||
| 7236 | transform: translateX(0); | ||
| 7237 | } | ||
| 7238 | } | ||
| 7239 | /* | ||
| 7240 | * Right third | ||
| 7241 | */ | ||
| 7242 | @-webkit-keyframes uk-slide-right-33 { | ||
| 7243 | 0% { | ||
| 7244 | -webkit-transform: translateX(-33%); | ||
| 7245 | } | ||
| 7246 | 100% { | ||
| 7247 | -webkit-transform: translateX(0); | ||
| 7248 | } | ||
| 7249 | } | ||
| 7250 | @keyframes uk-slide-right-33 { | ||
| 7251 | 0% { | ||
| 7252 | transform: translateX(-33%); | ||
| 7253 | } | ||
| 7254 | 100% { | ||
| 7255 | transform: translateX(0); | ||
| 7256 | } | ||
| 7257 | } | ||
| 7258 | /* Keyframes: Scale | ||
| 7259 | ========================================================================== */ | ||
| 7260 | @-webkit-keyframes uk-scale-12 { | ||
| 7261 | 0% { | ||
| 7262 | -webkit-transform: scale(1.2); | ||
| 7263 | } | ||
| 7264 | 100% { | ||
| 7265 | -webkit-transform: scale(1); | ||
| 7266 | } | ||
| 7267 | } | ||
| 7268 | @keyframes uk-scale-12 { | ||
| 7269 | 0% { | ||
| 7270 | transform: scale(1.2); | ||
| 7271 | } | ||
| 7272 | 100% { | ||
| 7273 | transform: scale(1); | ||
| 7274 | } | ||
| 7275 | } | ||
| 7276 | /* Keyframes: Rotate | ||
| 7277 | * Used by icon component | ||
| 7278 | ========================================================================== */ | ||
| 7279 | @-webkit-keyframes uk-rotate { | ||
| 7280 | 0% { | ||
| 7281 | -webkit-transform: rotate(0deg); | ||
| 7282 | } | ||
| 7283 | 100% { | ||
| 7284 | -webkit-transform: rotate(359deg); | ||
| 7285 | } | ||
| 7286 | } | ||
| 7287 | @keyframes uk-rotate { | ||
| 7288 | 0% { | ||
| 7289 | transform: rotate(0deg); | ||
| 7290 | } | ||
| 7291 | 100% { | ||
| 7292 | transform: rotate(359deg); | ||
| 7293 | } | ||
| 7294 | } | ||
| 7295 | /* Keyframes: Shake | ||
| 7296 | ========================================================================== */ | ||
| 7297 | @-webkit-keyframes uk-shake { | ||
| 7298 | 0%, | ||
| 7299 | 100% { | ||
| 7300 | -webkit-transform: translateX(0); | ||
| 7301 | } | ||
| 7302 | 10% { | ||
| 7303 | -webkit-transform: translateX(-9px); | ||
| 7304 | } | ||
| 7305 | 20% { | ||
| 7306 | -webkit-transform: translateX(8px); | ||
| 7307 | } | ||
| 7308 | 30% { | ||
| 7309 | -webkit-transform: translateX(-7px); | ||
| 7310 | } | ||
| 7311 | 40% { | ||
| 7312 | -webkit-transform: translateX(6px); | ||
| 7313 | } | ||
| 7314 | 50% { | ||
| 7315 | -webkit-transform: translateX(-5px); | ||
| 7316 | } | ||
| 7317 | 60% { | ||
| 7318 | -webkit-transform: translateX(4px); | ||
| 7319 | } | ||
| 7320 | 70% { | ||
| 7321 | -webkit-transform: translateX(-3px); | ||
| 7322 | } | ||
| 7323 | 80% { | ||
| 7324 | -webkit-transform: translateX(2px); | ||
| 7325 | } | ||
| 7326 | 90% { | ||
| 7327 | -webkit-transform: translateX(-1px); | ||
| 7328 | } | ||
| 7329 | } | ||
| 7330 | @keyframes uk-shake { | ||
| 7331 | 0%, | ||
| 7332 | 100% { | ||
| 7333 | transform: translateX(0); | ||
| 7334 | } | ||
| 7335 | 10% { | ||
| 7336 | transform: translateX(-9px); | ||
| 7337 | } | ||
| 7338 | 20% { | ||
| 7339 | transform: translateX(8px); | ||
| 7340 | } | ||
| 7341 | 30% { | ||
| 7342 | transform: translateX(-7px); | ||
| 7343 | } | ||
| 7344 | 40% { | ||
| 7345 | transform: translateX(6px); | ||
| 7346 | } | ||
| 7347 | 50% { | ||
| 7348 | transform: translateX(-5px); | ||
| 7349 | } | ||
| 7350 | 60% { | ||
| 7351 | transform: translateX(4px); | ||
| 7352 | } | ||
| 7353 | 70% { | ||
| 7354 | transform: translateX(-3px); | ||
| 7355 | } | ||
| 7356 | 80% { | ||
| 7357 | transform: translateX(2px); | ||
| 7358 | } | ||
| 7359 | 90% { | ||
| 7360 | transform: translateX(-1px); | ||
| 7361 | } | ||
| 7362 | } | ||
| 7363 | /* Keyframes: Fade with slide fixed | ||
| 7364 | * Used by dropdown and search component | ||
| 7365 | ========================================================================== */ | ||
| 7366 | /* | ||
| 7367 | * Top fixed | ||
| 7368 | */ | ||
| 7369 | @-webkit-keyframes uk-slide-top-fixed { | ||
| 7370 | 0% { | ||
| 7371 | opacity: 0; | ||
| 7372 | -webkit-transform: translateY(-10px); | ||
| 7373 | } | ||
| 7374 | 100% { | ||
| 7375 | opacity: 1; | ||
| 7376 | -webkit-transform: translateY(0); | ||
| 7377 | } | ||
| 7378 | } | ||
| 7379 | @keyframes uk-slide-top-fixed { | ||
| 7380 | 0% { | ||
| 7381 | opacity: 0; | ||
| 7382 | transform: translateY(-10px); | ||
| 7383 | } | ||
| 7384 | 100% { | ||
| 7385 | opacity: 1; | ||
| 7386 | transform: translateY(0); | ||
| 7387 | } | ||
| 7388 | } | ||
| 7389 | /* | ||
| 7390 | * Bottom fixed | ||
| 7391 | */ | ||
| 7392 | @-webkit-keyframes uk-slide-bottom-fixed { | ||
| 7393 | 0% { | ||
| 7394 | opacity: 0; | ||
| 7395 | -webkit-transform: translateY(10px); | ||
| 7396 | } | ||
| 7397 | 100% { | ||
| 7398 | opacity: 1; | ||
| 7399 | -webkit-transform: translateY(0); | ||
| 7400 | } | ||
| 7401 | } | ||
| 7402 | @keyframes uk-slide-bottom-fixed { | ||
| 7403 | 0% { | ||
| 7404 | opacity: 0; | ||
| 7405 | transform: translateY(10px); | ||
| 7406 | } | ||
| 7407 | 100% { | ||
| 7408 | opacity: 1; | ||
| 7409 | transform: translateY(0); | ||
| 7410 | } | ||
| 7411 | } | ||
| 7412 | /* ======================================================================== | ||
| 7413 | Component: Dropdown | ||
| 7414 | ========================================================================== */ | ||
| 7415 | /* | ||
| 7416 | * 1. Hide by default | ||
| 7417 | * 2. Set position | ||
| 7418 | * 3. Box-sizing is needed for `uk-dropdown-justify` | ||
| 7419 | * 4. Set width | ||
| 7420 | */ | ||
| 7421 | .uk-dropdown, | ||
| 7422 | .uk-dropdown-blank { | ||
| 7423 | /* 1 */ | ||
| 7424 | display: none; | ||
| 7425 | /* 2 */ | ||
| 7426 | position: absolute; | ||
| 7427 | z-index: 1020; | ||
| 7428 | /* 3 */ | ||
| 7429 | box-sizing: border-box; | ||
| 7430 | /* 4 */ | ||
| 7431 | width: 200px; | ||
| 7432 | } | ||
| 7433 | /* | ||
| 7434 | * Dropdown style | ||
| 7435 | * 1. Reset button group whitespace hack | ||
| 7436 | */ | ||
| 7437 | .uk-dropdown { | ||
| 7438 | padding: 15px; | ||
| 7439 | background: #fff; | ||
| 7440 | color: #444; | ||
| 7441 | /* 1 */ | ||
| 7442 | font-size: 1rem; | ||
| 7443 | vertical-align: top; | ||
| 7444 | border: 1px solid #cbcbcb; | ||
| 7445 | border-radius: 4px; | ||
| 7446 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
| 7447 | } | ||
| 7448 | /* | ||
| 7449 | * 1. Show dropdown | ||
| 7450 | * 2. Set animation | ||
| 7451 | * 3. Needed for scale animation | ||
| 7452 | */ | ||
| 7453 | .uk-open > .uk-dropdown, | ||
| 7454 | .uk-open > .uk-dropdown-blank { | ||
| 7455 | /* 1 */ | ||
| 7456 | display: block; | ||
| 7457 | /* 2 */ | ||
| 7458 | -webkit-animation: uk-fade 0.2s ease-in-out; | ||
| 7459 | animation: uk-fade 0.2s ease-in-out; | ||
| 7460 | /* 3 */ | ||
| 7461 | -webkit-transform-origin: 0 0; | ||
| 7462 | transform-origin: 0 0; | ||
| 7463 | } | ||
| 7464 | /* Alignment modifiers | ||
| 7465 | ========================================================================== */ | ||
| 7466 | /* | ||
| 7467 | * Modifier | ||
| 7468 | */ | ||
| 7469 | .uk-dropdown-top { | ||
| 7470 | margin-top: -5px; | ||
| 7471 | } | ||
| 7472 | .uk-dropdown-bottom { | ||
| 7473 | margin-top: 5px; | ||
| 7474 | } | ||
| 7475 | .uk-dropdown-left { | ||
| 7476 | margin-left: -5px; | ||
| 7477 | } | ||
| 7478 | .uk-dropdown-right { | ||
| 7479 | margin-left: 5px; | ||
| 7480 | } | ||
| 7481 | /* Nav in dropdown | ||
| 7482 | ========================================================================== */ | ||
| 7483 | .uk-dropdown .uk-nav { | ||
| 7484 | margin: 0 -15px; | ||
| 7485 | } | ||
| 7486 | /* Grid and panel in dropdown | ||
| 7487 | ========================================================================== */ | ||
| 7488 | /* | ||
| 7489 | * Vertical gutter | ||
| 7490 | */ | ||
| 7491 | /* | ||
| 7492 | * Grid | ||
| 7493 | * Higher specificity to override large gutter | ||
| 7494 | */ | ||
| 7495 | .uk-grid .uk-dropdown-grid + .uk-dropdown-grid { | ||
| 7496 | margin-top: 15px; | ||
| 7497 | } | ||
| 7498 | /* Panels */ | ||
| 7499 | .uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { | ||
| 7500 | margin-top: 15px; | ||
| 7501 | } | ||
| 7502 | /* Tablet and bigger */ | ||
| 7503 | @media (min-width: 768px) { | ||
| 7504 | /* | ||
| 7505 | * Horizontal gutter | ||
| 7506 | */ | ||
| 7507 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid { | ||
| 7508 | margin-left: -15px; | ||
| 7509 | margin-right: -15px; | ||
| 7510 | } | ||
| 7511 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7512 | padding-left: 15px; | ||
| 7513 | padding-right: 15px; | ||
| 7514 | } | ||
| 7515 | /* | ||
| 7516 | * Column divider | ||
| 7517 | */ | ||
| 7518 | .uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7519 | border-left: 1px solid #ddd; | ||
| 7520 | } | ||
| 7521 | /* | ||
| 7522 | * Width multiplier for dropdown columns | ||
| 7523 | */ | ||
| 7524 | .uk-dropdown-width-2:not(.uk-dropdown-stack) { | ||
| 7525 | width: 400px; | ||
| 7526 | } | ||
| 7527 | .uk-dropdown-width-3:not(.uk-dropdown-stack) { | ||
| 7528 | width: 600px; | ||
| 7529 | } | ||
| 7530 | .uk-dropdown-width-4:not(.uk-dropdown-stack) { | ||
| 7531 | width: 800px; | ||
| 7532 | } | ||
| 7533 | .uk-dropdown-width-5:not(.uk-dropdown-stack) { | ||
| 7534 | width: 1000px; | ||
| 7535 | } | ||
| 7536 | } | ||
| 7537 | /* Phone landscape and smaller */ | ||
| 7538 | @media (max-width: 767px) { | ||
| 7539 | /* | ||
| 7540 | * Stack columns and take full width | ||
| 7541 | */ | ||
| 7542 | .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7543 | width: 100%; | ||
| 7544 | } | ||
| 7545 | /* | ||
| 7546 | * Vertical gutter | ||
| 7547 | */ | ||
| 7548 | .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7549 | margin-top: 15px; | ||
| 7550 | } | ||
| 7551 | } | ||
| 7552 | /* | ||
| 7553 | * Stack grid columns | ||
| 7554 | */ | ||
| 7555 | .uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-'] { | ||
| 7556 | width: 100%; | ||
| 7557 | } | ||
| 7558 | .uk-dropdown-stack > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { | ||
| 7559 | margin-top: 15px; | ||
| 7560 | } | ||
| 7561 | /* Modifier `uk-dropdown-small` | ||
| 7562 | ========================================================================== */ | ||
| 7563 | /* | ||
| 7564 | * Set min-width and text expands dropdown if needed | ||
| 7565 | */ | ||
| 7566 | .uk-dropdown-small { | ||
| 7567 | min-width: 150px; | ||
| 7568 | width: auto; | ||
| 7569 | padding: 5px; | ||
| 7570 | white-space: nowrap; | ||
| 7571 | } | ||
| 7572 | /* | ||
| 7573 | * Nav in dropdown | ||
| 7574 | */ | ||
| 7575 | .uk-dropdown-small .uk-nav { | ||
| 7576 | margin: 0 -5px; | ||
| 7577 | } | ||
| 7578 | /* Modifier: `uk-dropdown-navbar` | ||
| 7579 | ========================================================================== */ | ||
| 7580 | .uk-dropdown-navbar { | ||
| 7581 | margin-top: 6px; | ||
| 7582 | background: #fff; | ||
| 7583 | color: #444; | ||
| 7584 | left: -1px; | ||
| 7585 | box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); | ||
| 7586 | } | ||
| 7587 | .uk-open > .uk-dropdown-navbar { | ||
| 7588 | -webkit-animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 7589 | animation: uk-slide-top-fixed 0.2s ease-in-out; | ||
| 7590 | } | ||
| 7591 | /* Modifier `uk-dropdown-scrollable` | ||
| 7592 | ========================================================================== */ | ||
| 7593 | /* | ||
| 7594 | * Usefull for long lists | ||
| 7595 | */ | ||
| 7596 | .uk-dropdown-scrollable { | ||
| 7597 | overflow-y: auto; | ||
| 7598 | max-height: 200px; | ||
| 7599 | } | ||
| 7600 | /* Sub-object: `uk-dropdown-overlay` | ||
| 7601 | ========================================================================== */ | ||
| 7602 | .uk-dropdown-navbar.uk-dropdown-flip { | ||
| 7603 | left: auto; | ||
| 7604 | } | ||
| 7605 | /* ======================================================================== | ||
| 7606 | Component: Modal | ||
| 7607 | ========================================================================== */ | ||
| 7608 | /* | ||
| 7609 | * This is the modal overlay and modal dialog container | ||
| 7610 | * 1. Hide by default | ||
| 7611 | * 2. Set fixed position | ||
| 7612 | * 3. Allow scrolling for the modal dialog | ||
| 7613 | * 4. Mask the background page | ||
| 7614 | * 5. Fade-in transition | ||
| 7615 | * 6. Deactivate browser history navigation in IE11 | ||
| 7616 | * 7. force hardware acceleration to prevent browser rendering hiccups | ||
| 7617 | */ | ||
| 7618 | .uk-modal { | ||
| 7619 | /* 1 */ | ||
| 7620 | display: none; | ||
| 7621 | /* 2 */ | ||
| 7622 | position: fixed; | ||
| 7623 | top: 0; | ||
| 7624 | right: 0; | ||
| 7625 | bottom: 0; | ||
| 7626 | left: 0; | ||
| 7627 | z-index: 1010; | ||
| 7628 | /* 3 */ | ||
| 7629 | overflow-y: auto; | ||
| 7630 | -webkit-overflow-scrolling: touch; | ||
| 7631 | /* 4 */ | ||
| 7632 | background: rgba(0, 0, 0, 0.6); | ||
| 7633 | /* 5 */ | ||
| 7634 | opacity: 0; | ||
| 7635 | -webkit-transition: opacity 0.15s linear; | ||
| 7636 | transition: opacity 0.15s linear; | ||
| 7637 | /* 6 */ | ||
| 7638 | touch-action: cross-slide-y pinch-zoom double-tap-zoom; | ||
| 7639 | /* 7 */ | ||
| 7640 | -webkit-transform: translateZ(0); | ||
| 7641 | transform: translateZ(0); | ||
| 7642 | } | ||
| 7643 | /* | ||
| 7644 | * Open state | ||
| 7645 | */ | ||
| 7646 | .uk-modal.uk-open { | ||
| 7647 | opacity: 1; | ||
| 7648 | } | ||
| 7649 | /* | ||
| 7650 | * Prevents duplicated scrollbar caused by 4. | ||
| 7651 | */ | ||
| 7652 | .uk-modal-page, | ||
| 7653 | .uk-modal-page body { | ||
| 7654 | overflow: hidden; | ||
| 7655 | } | ||
| 7656 | /* Sub-object: `uk-modal-dialog` | ||
| 7657 | ========================================================================== */ | ||
| 7658 | /* | ||
| 7659 | * 1. Create position context for caption, spinner and close button | ||
| 7660 | * 2. Set box sizing | ||
| 7661 | * 3. Set style | ||
| 7662 | * 4. Slide-in transition | ||
| 7663 | */ | ||
| 7664 | .uk-modal-dialog { | ||
| 7665 | /* 1 */ | ||
| 7666 | position: relative; | ||
| 7667 | /* 2 */ | ||
| 7668 | box-sizing: border-box; | ||
| 7669 | margin: 50px auto; | ||
| 7670 | padding: 20px; | ||
| 7671 | width: 600px; | ||
| 7672 | max-width: 100%; | ||
| 7673 | max-width: calc(100% - 20px); | ||
| 7674 | /* 3 */ | ||
| 7675 | background: #fff; | ||
| 7676 | /* 4 */ | ||
| 7677 | opacity: 0; | ||
| 7678 | -webkit-transform: translateY(-100px); | ||
| 7679 | transform: translateY(-100px); | ||
| 7680 | -webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out; | ||
| 7681 | transition: opacity 0.3s linear, transform 0.3s ease-out; | ||
| 7682 | border-radius: 4px; | ||
| 7683 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); | ||
| 7684 | } | ||
| 7685 | /* Phone landscape and smaller */ | ||
| 7686 | @media (max-width: 767px) { | ||
| 7687 | /* | ||
| 7688 | * Fit in small screen | ||
| 7689 | */ | ||
| 7690 | .uk-modal-dialog { | ||
| 7691 | width: auto; | ||
| 7692 | margin: 10px auto; | ||
| 7693 | } | ||
| 7694 | } | ||
| 7695 | /* | ||
| 7696 | * Open state | ||
| 7697 | */ | ||
| 7698 | .uk-open .uk-modal-dialog { | ||
| 7699 | /* 4 */ | ||
| 7700 | opacity: 1; | ||
| 7701 | -webkit-transform: translateY(0); | ||
| 7702 | transform: translateY(0); | ||
| 7703 | } | ||
| 7704 | /* | ||
| 7705 | * Remove margin from the last-child | ||
| 7706 | */ | ||
| 7707 | .uk-modal-dialog > :not([class*='uk-modal-']):last-child { | ||
| 7708 | margin-bottom: 0; | ||
| 7709 | } | ||
| 7710 | /* Close in modal | ||
| 7711 | ========================================================================== */ | ||
| 7712 | .uk-modal-dialog > .uk-close:first-child { | ||
| 7713 | margin: -10px -10px 0 0; | ||
| 7714 | float: right; | ||
| 7715 | } | ||
| 7716 | /* | ||
| 7717 | * Remove margin from adjacent element | ||
| 7718 | */ | ||
| 7719 | .uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { | ||
| 7720 | margin-top: 0; | ||
| 7721 | } | ||
| 7722 | /* Modifier: `uk-modal-dialog-lightbox` | ||
| 7723 | ========================================================================== */ | ||
| 7724 | .uk-modal-dialog-lightbox { | ||
| 7725 | margin: 15px auto; | ||
| 7726 | padding: 0; | ||
| 7727 | max-width: 95%; | ||
| 7728 | max-width: calc(100% - 30px); | ||
| 7729 | min-height: 50px; | ||
| 7730 | border-radius: 0; | ||
| 7731 | } | ||
| 7732 | /* | ||
| 7733 | * Close button | ||
| 7734 | */ | ||
| 7735 | .uk-modal-dialog-lightbox > .uk-close:first-child { | ||
| 7736 | position: absolute; | ||
| 7737 | top: -12px; | ||
| 7738 | right: -12px; | ||
| 7739 | margin: 0; | ||
| 7740 | float: none; | ||
| 7741 | } | ||
| 7742 | /* Phone landscape and smaller */ | ||
| 7743 | @media (max-width: 767px) { | ||
| 7744 | .uk-modal-dialog-lightbox > .uk-close:first-child { | ||
| 7745 | top: -7px; | ||
| 7746 | right: -7px; | ||
| 7747 | } | ||
| 7748 | } | ||
| 7749 | /* Modifier: `uk-modal-dialog-blank` | ||
| 7750 | ========================================================================== */ | ||
| 7751 | .uk-modal-dialog-blank { | ||
| 7752 | margin: 0; | ||
| 7753 | padding: 0; | ||
| 7754 | width: 100%; | ||
| 7755 | max-width: 100%; | ||
| 7756 | -webkit-transition: opacity 0.3s linear; | ||
| 7757 | transition: opacity 0.3s linear; | ||
| 7758 | } | ||
| 7759 | /* | ||
| 7760 | * Close button | ||
| 7761 | */ | ||
| 7762 | .uk-modal-dialog-blank > .uk-close:first-child { | ||
| 7763 | position: absolute; | ||
| 7764 | top: 20px; | ||
| 7765 | right: 20px; | ||
| 7766 | z-index: 1; | ||
| 7767 | margin: 0; | ||
| 7768 | float: none; | ||
| 7769 | } | ||
| 7770 | /* Modifier: `uk-modal-dialog-large` | ||
| 7771 | ========================================================================== */ | ||
| 7772 | /* Tablet and bigger */ | ||
| 7773 | @media (min-width: 768px) { | ||
| 7774 | .uk-modal-dialog-large { | ||
| 7775 | width: 930px; | ||
| 7776 | } | ||
| 7777 | } | ||
| 7778 | /* Large screen and bigger */ | ||
| 7779 | @media (min-width: 1220px) { | ||
| 7780 | .uk-modal-dialog-large { | ||
| 7781 | width: 1130px; | ||
| 7782 | } | ||
| 7783 | } | ||
| 7784 | /* Sub-Object: `uk-modal-header` and `uk-modal-footer` | ||
| 7785 | ========================================================================== */ | ||
| 7786 | .uk-modal-header { | ||
| 7787 | margin-bottom: 15px; | ||
| 7788 | margin: -20px -20px 15px -20px; | ||
| 7789 | padding: 20px; | ||
| 7790 | border-bottom: 1px solid #ddd; | ||
| 7791 | border-radius: 4px 4px 0 0; | ||
| 7792 | background: #fafafa; | ||
| 7793 | } | ||
| 7794 | .uk-modal-footer { | ||
| 7795 | margin-top: 15px; | ||
| 7796 | margin: 15px -20px -20px -20px; | ||
| 7797 | padding: 20px; | ||
| 7798 | border-top: 1px solid #ddd; | ||
| 7799 | border-radius: 0 0 4px 4px; | ||
| 7800 | background: #fafafa; | ||
| 7801 | } | ||
| 7802 | /* | ||
| 7803 | * Remove margin from the last-child | ||
| 7804 | */ | ||
| 7805 | .uk-modal-header > :last-child, | ||
| 7806 | .uk-modal-footer > :last-child { | ||
| 7807 | margin-bottom: 0; | ||
| 7808 | } | ||
| 7809 | /* Sub-Object: `uk-modal-caption` | ||
| 7810 | ========================================================================== */ | ||
| 7811 | .uk-modal-caption { | ||
| 7812 | position: absolute; | ||
| 7813 | left: 0; | ||
| 7814 | right: 0; | ||
| 7815 | bottom: -20px; | ||
| 7816 | margin-bottom: -10px; | ||
| 7817 | color: #fff; | ||
| 7818 | text-align: center; | ||
| 7819 | overflow: hidden; | ||
| 7820 | text-overflow: ellipsis; | ||
| 7821 | white-space: nowrap; | ||
| 7822 | } | ||
| 7823 | /* Sub-Object: `uk-modal-spinner` | ||
| 7824 | ========================================================================== */ | ||
| 7825 | .uk-modal-spinner { | ||
| 7826 | position: absolute; | ||
| 7827 | top: 50%; | ||
| 7828 | left: 50%; | ||
| 7829 | -webkit-transform: translate(-50%, -50%); | ||
| 7830 | transform: translate(-50%, -50%); | ||
| 7831 | font-size: 25px; | ||
| 7832 | color: #ddd; | ||
| 7833 | } | ||
| 7834 | .uk-modal-spinner:after { | ||
| 7835 | content: "\f110"; | ||
| 7836 | display: block; | ||
| 7837 | font-family: FontAwesome; | ||
| 7838 | -webkit-animation: uk-rotate 2s infinite linear; | ||
| 7839 | animation: uk-rotate 2s infinite linear; | ||
| 7840 | } | ||
| 7841 | /* ======================================================================== | ||
| 7842 | Component: Off-canvas | ||
| 7843 | ========================================================================== */ | ||
| 7844 | /* | ||
| 7845 | * This is the offcanvas overlay and bar container | ||
| 7846 | * 1. Hide by default | ||
| 7847 | * 2. Set fixed position | ||
| 7848 | * 3. Deactivate browser touch actions in IE11 | ||
| 7849 | * 4. Mask the background page | ||
| 7850 | */ | ||
| 7851 | .uk-offcanvas { | ||
| 7852 | /* 1 */ | ||
| 7853 | display: none; | ||
| 7854 | /* 2 */ | ||
| 7855 | position: fixed; | ||
| 7856 | top: 0; | ||
| 7857 | right: 0; | ||
| 7858 | bottom: 0; | ||
| 7859 | left: 0; | ||
| 7860 | z-index: 1000; | ||
| 7861 | /* 3 */ | ||
| 7862 | touch-action: none; | ||
| 7863 | /* 4 */ | ||
| 7864 | background: rgba(0, 0, 0, 0.1); | ||
| 7865 | } | ||
| 7866 | .uk-offcanvas.uk-active { | ||
| 7867 | display: block; | ||
| 7868 | } | ||
| 7869 | /* Sub-object `uk-offcanvas-page` | ||
| 7870 | ========================================================================== */ | ||
| 7871 | /* | ||
| 7872 | * Prepares the whole HTML page to slide-out | ||
| 7873 | * 1. Fix the main page and disallow scrolling | ||
| 7874 | * 2. Side-out transition | ||
| 7875 | */ | ||
| 7876 | .uk-offcanvas-page { | ||
| 7877 | /* 1 */ | ||
| 7878 | position: fixed; | ||
| 7879 | /* 2 */ | ||
| 7880 | -webkit-transition: margin-left 0.3s ease-in-out; | ||
| 7881 | transition: margin-left 0.3s ease-in-out; | ||
| 7882 | } | ||
| 7883 | /* Sub-object `uk-offcanvas-bar` | ||
| 7884 | ========================================================================== */ | ||
| 7885 | /* | ||
| 7886 | * This is the offcanvas bar | ||
| 7887 | * 1. Set fixed position | ||
| 7888 | * 2. Size and style | ||
| 7889 | * 3. Allow scrolling | ||
| 7890 | * 4. Side-out transition | ||
| 7891 | * 5. Deactivate scroll chaining in IE11 | ||
| 7892 | */ | ||
| 7893 | .uk-offcanvas-bar { | ||
| 7894 | /* 1 */ | ||
| 7895 | position: fixed; | ||
| 7896 | top: 0; | ||
| 7897 | bottom: 0; | ||
| 7898 | left: 0; | ||
| 7899 | -webkit-transform: translateX(-100%); | ||
| 7900 | transform: translateX(-100%); | ||
| 7901 | z-index: 1001; | ||
| 7902 | /* 2 */ | ||
| 7903 | width: 270px; | ||
| 7904 | max-width: 100%; | ||
| 7905 | background: #333; | ||
| 7906 | /* 3 */ | ||
| 7907 | overflow-y: auto; | ||
| 7908 | -webkit-overflow-scrolling: touch; | ||
| 7909 | /* 4 */ | ||
| 7910 | -webkit-transition: -webkit-transform 0.3s ease-in-out; | ||
| 7911 | transition: transform 0.3s ease-in-out; | ||
| 7912 | /* 5 */ | ||
| 7913 | -ms-scroll-chaining: none; | ||
| 7914 | } | ||
| 7915 | .uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show { | ||
| 7916 | -webkit-transform: translateX(0%); | ||
| 7917 | transform: translateX(0%); | ||
| 7918 | } | ||
| 7919 | /* Modifier `uk-offcanvas-bar-flip` | ||
| 7920 | ========================================================================== */ | ||
| 7921 | .uk-offcanvas-bar-flip { | ||
| 7922 | left: auto; | ||
| 7923 | right: 0; | ||
| 7924 | -webkit-transform: translateX(100%); | ||
| 7925 | transform: translateX(100%); | ||
| 7926 | } | ||
| 7927 | /* Panel in offcanvas | ||
| 7928 | ========================================================================== */ | ||
| 7929 | .uk-offcanvas .uk-panel { | ||
| 7930 | margin: 20px 15px; | ||
| 7931 | color: #777; | ||
| 7932 | text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5); | ||
| 7933 | } | ||
| 7934 | .uk-offcanvas .uk-panel-title { | ||
| 7935 | color: #ccc; | ||
| 7936 | } | ||
| 7937 | .uk-offcanvas .uk-panel a:not([class]) { | ||
| 7938 | color: #ccc; | ||
| 7939 | } | ||
| 7940 | .uk-offcanvas .uk-panel a:not([class]):hover { | ||
| 7941 | color: #fff; | ||
| 7942 | } | ||
| 7943 | .uk-offcanvas-bar:after { | ||
| 7944 | content: ""; | ||
| 7945 | display: block; | ||
| 7946 | position: absolute; | ||
| 7947 | top: 0; | ||
| 7948 | bottom: 0; | ||
| 7949 | right: 0; | ||
| 7950 | width: 1px; | ||
| 7951 | background: rgba(0, 0, 0, 0.6); | ||
| 7952 | box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); | ||
| 7953 | } | ||
| 7954 | .uk-offcanvas-bar-flip:after { | ||
| 7955 | right: auto; | ||
| 7956 | left: 0; | ||
| 7957 | width: 1px; | ||
| 7958 | background: rgba(0, 0, 0, 0.6); | ||
| 7959 | box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.6); | ||
| 7960 | } | ||
| 7961 | /* ======================================================================== | ||
| 7962 | Component: Switcher | ||
| 7963 | ========================================================================== */ | ||
| 7964 | /* | ||
| 7965 | * 1. Deactivate browser history navigation in IE11 | ||
| 7966 | */ | ||
| 7967 | .uk-switcher { | ||
| 7968 | margin: 0; | ||
| 7969 | padding: 0; | ||
| 7970 | list-style: none; | ||
| 7971 | /* 1 */ | ||
| 7972 | touch-action: cross-slide-y pinch-zoom double-tap-zoom; | ||
| 7973 | } | ||
| 7974 | /* | ||
| 7975 | * Items | ||
| 7976 | */ | ||
| 7977 | .uk-switcher > :not(.uk-active) { | ||
| 7978 | display: none; | ||
| 7979 | } | ||
| 7980 | /* ======================================================================== | ||
| 7981 | Component: Text | ||
| 7982 | ========================================================================== */ | ||
| 7983 | /* Size modifiers | ||
| 7984 | ========================================================================== */ | ||
| 7985 | .uk-text-small { | ||
| 7986 | font-size: 11px; | ||
| 7987 | line-height: 16px; | ||
| 7988 | } | ||
| 7989 | .uk-text-large { | ||
| 7990 | font-size: 18px; | ||
| 7991 | line-height: 24px; | ||
| 7992 | font-weight: normal; | ||
| 7993 | } | ||
| 7994 | /* Weight modifiers | ||
| 7995 | ========================================================================== */ | ||
| 7996 | .uk-text-bold { | ||
| 7997 | font-weight: bold; | ||
| 7998 | } | ||
| 7999 | /* Color modifiers | ||
| 8000 | ========================================================================== */ | ||
| 8001 | .uk-text-muted { | ||
| 8002 | color: #999 !important; | ||
| 8003 | } | ||
| 8004 | .uk-text-primary { | ||
| 8005 | color: #2d7091 !important; | ||
| 8006 | } | ||
| 8007 | .uk-text-success { | ||
| 8008 | color: #659f13 !important; | ||
| 8009 | } | ||
| 8010 | .uk-text-warning { | ||
| 8011 | color: #e28327 !important; | ||
| 8012 | } | ||
| 8013 | .uk-text-danger { | ||
| 8014 | color: #d85030 !important; | ||
| 8015 | } | ||
| 8016 | .uk-text-contrast { | ||
| 8017 | color: #fff !important; | ||
| 8018 | } | ||
| 8019 | /* Alignment modifiers | ||
| 8020 | ========================================================================== */ | ||
| 8021 | .uk-text-left { | ||
| 8022 | text-align: left !important; | ||
| 8023 | } | ||
| 8024 | .uk-text-right { | ||
| 8025 | text-align: right !important; | ||
| 8026 | } | ||
| 8027 | .uk-text-center { | ||
| 8028 | text-align: center !important; | ||
| 8029 | } | ||
| 8030 | .uk-text-justify { | ||
| 8031 | text-align: justify !important; | ||
| 8032 | } | ||
| 8033 | .uk-text-top { | ||
| 8034 | vertical-align: top !important; | ||
| 8035 | } | ||
| 8036 | .uk-text-middle { | ||
| 8037 | vertical-align: middle !important; | ||
| 8038 | } | ||
| 8039 | .uk-text-bottom { | ||
| 8040 | vertical-align: bottom !important; | ||
| 8041 | } | ||
| 8042 | /* Only tablets portrait and smaller */ | ||
| 8043 | @media (max-width: 959px) { | ||
| 8044 | .uk-text-center-medium { | ||
| 8045 | text-align: center !important; | ||
| 8046 | } | ||
| 8047 | .uk-text-left-medium { | ||
| 8048 | text-align: left !important; | ||
| 8049 | } | ||
| 8050 | } | ||
| 8051 | /* Phone landscape and smaller */ | ||
| 8052 | @media (max-width: 767px) { | ||
| 8053 | .uk-text-center-small { | ||
| 8054 | text-align: center !important; | ||
| 8055 | } | ||
| 8056 | .uk-text-left-small { | ||
| 8057 | text-align: left !important; | ||
| 8058 | } | ||
| 8059 | } | ||
| 8060 | /* Wrap modifiers | ||
| 8061 | ========================================================================== */ | ||
| 8062 | /* | ||
| 8063 | * Prevent text from wrapping onto multiple lines | ||
| 8064 | */ | ||
| 8065 | .uk-text-nowrap { | ||
| 8066 | white-space: nowrap; | ||
| 8067 | } | ||
| 8068 | /* | ||
| 8069 | * Prevent text from wrapping onto multiple lines, and truncate with an ellipsis | ||
| 8070 | */ | ||
| 8071 | .uk-text-truncate { | ||
| 8072 | overflow: hidden; | ||
| 8073 | text-overflow: ellipsis; | ||
| 8074 | white-space: nowrap; | ||
| 8075 | } | ||
| 8076 | /* | ||
| 8077 | * Break strings if their length exceeds the width of their container | ||
| 8078 | */ | ||
| 8079 | .uk-text-break { | ||
| 8080 | word-wrap: break-word; | ||
| 8081 | -webkit-hyphens: auto; | ||
| 8082 | -ms-hyphens: auto; | ||
| 8083 | -moz-hyphens: auto; | ||
| 8084 | hyphens: auto; | ||
| 8085 | } | ||
| 8086 | /* ======================================================================== | ||
| 8087 | Component: Utility | ||
| 8088 | ========================================================================== */ | ||
| 8089 | /* Container | ||
| 8090 | ========================================================================== */ | ||
| 8091 | .uk-container { | ||
| 8092 | box-sizing: border-box; | ||
| 8093 | max-width: 980px; | ||
| 8094 | padding: 0 25px; | ||
| 8095 | } | ||
| 8096 | /* Large screen and bigger */ | ||
| 8097 | @media (min-width: 1220px) { | ||
| 8098 | .uk-container { | ||
| 8099 | max-width: 1200px; | ||
| 8100 | padding: 0 35px; | ||
| 8101 | } | ||
| 8102 | } | ||
| 8103 | /* | ||
| 8104 | * Micro clearfix | ||
| 8105 | */ | ||
| 8106 | .uk-container:before, | ||
| 8107 | .uk-container:after { | ||
| 8108 | content: ""; | ||
| 8109 | display: table; | ||
| 8110 | } | ||
| 8111 | .uk-container:after { | ||
| 8112 | clear: both; | ||
| 8113 | } | ||
| 8114 | /* | ||
| 8115 | * Center container | ||
| 8116 | */ | ||
| 8117 | .uk-container-center { | ||
| 8118 | margin-left: auto; | ||
| 8119 | margin-right: auto; | ||
| 8120 | } | ||
| 8121 | /* Clearing | ||
| 8122 | ========================================================================== */ | ||
| 8123 | /* | ||
| 8124 | * Micro clearfix | ||
| 8125 | * `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit | ||
| 8126 | * `table` is used again with `:after` because `clear` only works with block elements. | ||
| 8127 | * Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari | ||
| 8128 | */ | ||
| 8129 | .uk-clearfix:before { | ||
| 8130 | content: ""; | ||
| 8131 | display: table-cell; | ||
| 8132 | } | ||
| 8133 | .uk-clearfix:after { | ||
| 8134 | content: ""; | ||
| 8135 | display: table; | ||
| 8136 | clear: both; | ||
| 8137 | } | ||
| 8138 | /* | ||
| 8139 | * Create a new block formatting context | ||
| 8140 | */ | ||
| 8141 | .uk-nbfc { | ||
| 8142 | overflow: hidden; | ||
| 8143 | } | ||
| 8144 | .uk-nbfc-alt { | ||
| 8145 | display: table-cell; | ||
| 8146 | width: 10000px; | ||
| 8147 | } | ||
| 8148 | /* Alignment of block elements | ||
| 8149 | ========================================================================== */ | ||
| 8150 | /* | ||
| 8151 | * Float blocks | ||
| 8152 | * 1. Prevent content overflow on small devices | ||
| 8153 | */ | ||
| 8154 | .uk-float-left { | ||
| 8155 | float: left; | ||
| 8156 | } | ||
| 8157 | .uk-float-right { | ||
| 8158 | float: right; | ||
| 8159 | } | ||
| 8160 | /* 1 */ | ||
| 8161 | [class*='uk-float-'] { | ||
| 8162 | max-width: 100%; | ||
| 8163 | } | ||
| 8164 | /* Alignment of images and objects | ||
| 8165 | ========================================================================== */ | ||
| 8166 | /* | ||
| 8167 | * Alignment | ||
| 8168 | */ | ||
| 8169 | [class*='uk-align-'] { | ||
| 8170 | display: block; | ||
| 8171 | margin-bottom: 15px; | ||
| 8172 | } | ||
| 8173 | .uk-align-left { | ||
| 8174 | margin-right: 15px; | ||
| 8175 | float: left; | ||
| 8176 | } | ||
| 8177 | .uk-align-right { | ||
| 8178 | margin-left: 15px; | ||
| 8179 | float: right; | ||
| 8180 | } | ||
| 8181 | /* Tablet and bigger */ | ||
| 8182 | @media (min-width: 768px) { | ||
| 8183 | .uk-align-medium-left { | ||
| 8184 | margin-right: 15px; | ||
| 8185 | float: left; | ||
| 8186 | } | ||
| 8187 | .uk-align-medium-right { | ||
| 8188 | margin-left: 15px; | ||
| 8189 | float: right; | ||
| 8190 | } | ||
| 8191 | } | ||
| 8192 | .uk-align-center { | ||
| 8193 | margin-left: auto; | ||
| 8194 | margin-right: auto; | ||
| 8195 | } | ||
| 8196 | /* Vertical alignment | ||
| 8197 | ========================================================================== */ | ||
| 8198 | /* | ||
| 8199 | * Remove whitespace between child elements when using `inline-block` | ||
| 8200 | */ | ||
| 8201 | .uk-vertical-align { | ||
| 8202 | font-size: 0.001px; | ||
| 8203 | } | ||
| 8204 | /* | ||
| 8205 | * The `uk-vertical-align` container needs a specific height | ||
| 8206 | */ | ||
| 8207 | .uk-vertical-align:before { | ||
| 8208 | content: ''; | ||
| 8209 | display: inline-block; | ||
| 8210 | height: 100%; | ||
| 8211 | vertical-align: middle; | ||
| 8212 | } | ||
| 8213 | /* | ||
| 8214 | * Sub-object which can have any height | ||
| 8215 | * 1. Reset whitespace hack | ||
| 8216 | */ | ||
| 8217 | .uk-vertical-align-middle, | ||
| 8218 | .uk-vertical-align-bottom { | ||
| 8219 | display: inline-block; | ||
| 8220 | max-width: 100%; | ||
| 8221 | /* 1 */ | ||
| 8222 | font-size: 1rem; | ||
| 8223 | } | ||
| 8224 | .uk-vertical-align-middle { | ||
| 8225 | vertical-align: middle; | ||
| 8226 | } | ||
| 8227 | .uk-vertical-align-bottom { | ||
| 8228 | vertical-align: bottom; | ||
| 8229 | } | ||
| 8230 | /* Height | ||
| 8231 | ========================================================================== */ | ||
| 8232 | /* | ||
| 8233 | * More robust if padding and border are used | ||
| 8234 | */ | ||
| 8235 | [class*='uk-height'] { | ||
| 8236 | box-sizing: border-box; | ||
| 8237 | } | ||
| 8238 | /* | ||
| 8239 | * Useful to extend the `html` and `body` element to the full height of the page. | ||
| 8240 | */ | ||
| 8241 | .uk-height-1-1 { | ||
| 8242 | height: 100%; | ||
| 8243 | } | ||
| 8244 | /* | ||
| 8245 | * Useful to create image teasers | ||
| 8246 | */ | ||
| 8247 | .uk-height-viewport { | ||
| 8248 | height: 100vh; | ||
| 8249 | min-height: 600px; | ||
| 8250 | } | ||
| 8251 | /* Responsive objects | ||
| 8252 | * Note: Images are already responsive by default, see Base component | ||
| 8253 | ========================================================================== */ | ||
| 8254 | /* | ||
| 8255 | * 1. Corrects `max-width` and `max-height` behavior if padding and border are used | ||
| 8256 | */ | ||
| 8257 | .uk-responsive-width, | ||
| 8258 | .uk-responsive-height { | ||
| 8259 | box-sizing: border-box; | ||
| 8260 | } | ||
| 8261 | /* | ||
| 8262 | * Responsiveness: Sets a maximum width relative to the parent and auto scales the height | ||
| 8263 | * `important` needed to override `uk-img-preserve img` | ||
| 8264 | */ | ||
| 8265 | .uk-responsive-width { | ||
| 8266 | max-width: 100% !important; | ||
| 8267 | height: auto; | ||
| 8268 | } | ||
| 8269 | /* | ||
| 8270 | * Responsiveness: Sets a maximum height relative to the parent and auto scales the width | ||
| 8271 | * Only works if the parent element has a fixed height. | ||
| 8272 | */ | ||
| 8273 | .uk-responsive-height { | ||
| 8274 | max-height: 100%; | ||
| 8275 | width: auto; | ||
| 8276 | } | ||
| 8277 | /* Margin | ||
| 8278 | ========================================================================== */ | ||
| 8279 | /* | ||
| 8280 | * Create a block with the same margin of a paragraph | ||
| 8281 | * Add margin if adjacent element | ||
| 8282 | */ | ||
| 8283 | .uk-margin { | ||
| 8284 | margin-bottom: 15px; | ||
| 8285 | } | ||
| 8286 | * + .uk-margin { | ||
| 8287 | margin-top: 15px; | ||
| 8288 | } | ||
| 8289 | .uk-margin-top { | ||
| 8290 | margin-top: 15px !important; | ||
| 8291 | } | ||
| 8292 | .uk-margin-bottom { | ||
| 8293 | margin-bottom: 15px !important; | ||
| 8294 | } | ||
| 8295 | .uk-margin-left { | ||
| 8296 | margin-left: 15px !important; | ||
| 8297 | } | ||
| 8298 | .uk-margin-right { | ||
| 8299 | margin-right: 15px !important; | ||
| 8300 | } | ||
| 8301 | /* | ||
| 8302 | * Larger margins | ||
| 8303 | */ | ||
| 8304 | .uk-margin-large { | ||
| 8305 | margin-bottom: 50px; | ||
| 8306 | } | ||
| 8307 | * + .uk-margin-large { | ||
| 8308 | margin-top: 50px; | ||
| 8309 | } | ||
| 8310 | .uk-margin-large-top { | ||
| 8311 | margin-top: 50px !important; | ||
| 8312 | } | ||
| 8313 | .uk-margin-large-bottom { | ||
| 8314 | margin-bottom: 50px !important; | ||
| 8315 | } | ||
| 8316 | .uk-margin-large-left { | ||
| 8317 | margin-left: 50px !important; | ||
| 8318 | } | ||
| 8319 | .uk-margin-large-right { | ||
| 8320 | margin-right: 50px !important; | ||
| 8321 | } | ||
| 8322 | /* | ||
| 8323 | * Smaller margins | ||
| 8324 | */ | ||
| 8325 | .uk-margin-small { | ||
| 8326 | margin-bottom: 5px; | ||
| 8327 | } | ||
| 8328 | * + .uk-margin-small { | ||
| 8329 | margin-top: 5px; | ||
| 8330 | } | ||
| 8331 | .uk-margin-small-top { | ||
| 8332 | margin-top: 5px !important; | ||
| 8333 | } | ||
| 8334 | .uk-margin-small-bottom { | ||
| 8335 | margin-bottom: 5px !important; | ||
| 8336 | } | ||
| 8337 | .uk-margin-small-left { | ||
| 8338 | margin-left: 5px !important; | ||
| 8339 | } | ||
| 8340 | .uk-margin-small-right { | ||
| 8341 | margin-right: 5px !important; | ||
| 8342 | } | ||
| 8343 | /* | ||
| 8344 | * Remove margins | ||
| 8345 | */ | ||
| 8346 | .uk-margin-remove { | ||
| 8347 | margin: 0 !important; | ||
| 8348 | } | ||
| 8349 | .uk-margin-top-remove { | ||
| 8350 | margin-top: 0 !important; | ||
| 8351 | } | ||
| 8352 | .uk-margin-bottom-remove { | ||
| 8353 | margin-bottom: 0 !important; | ||
| 8354 | } | ||
| 8355 | /* Padding | ||
| 8356 | ========================================================================== */ | ||
| 8357 | .uk-padding-remove { | ||
| 8358 | padding: 0 !important; | ||
| 8359 | } | ||
| 8360 | .uk-padding-top-remove { | ||
| 8361 | padding-top: 0 !important; | ||
| 8362 | } | ||
| 8363 | .uk-padding-bottom-remove { | ||
| 8364 | padding-bottom: 0 !important; | ||
| 8365 | } | ||
| 8366 | .uk-padding-vertical-remove { | ||
| 8367 | padding-top: 0 !important; | ||
| 8368 | padding-bottom: 0 !important; | ||
| 8369 | } | ||
| 8370 | /* Border | ||
| 8371 | ========================================================================== */ | ||
| 8372 | .uk-border-circle { | ||
| 8373 | border-radius: 50%; | ||
| 8374 | } | ||
| 8375 | .uk-border-rounded { | ||
| 8376 | border-radius: 5px; | ||
| 8377 | } | ||
| 8378 | /* Headings | ||
| 8379 | ========================================================================== */ | ||
| 8380 | .uk-heading-large { | ||
| 8381 | font-size: 36px; | ||
| 8382 | line-height: 42px; | ||
| 8383 | } | ||
| 8384 | /* Tablet and bigger */ | ||
| 8385 | @media (min-width: 768px) { | ||
| 8386 | .uk-heading-large { | ||
| 8387 | font-size: 52px; | ||
| 8388 | line-height: 64px; | ||
| 8389 | } | ||
| 8390 | } | ||
| 8391 | /* Link | ||
| 8392 | ========================================================================== */ | ||
| 8393 | /* | ||
| 8394 | * Let links appear in default text color | ||
| 8395 | */ | ||
| 8396 | .uk-link-muted, | ||
| 8397 | .uk-link-muted a { | ||
| 8398 | color: #444; | ||
| 8399 | } | ||
| 8400 | .uk-link-muted:hover, | ||
| 8401 | .uk-link-muted a:hover { | ||
| 8402 | color: #444; | ||
| 8403 | } | ||
| 8404 | /* | ||
| 8405 | * Reset link style | ||
| 8406 | */ | ||
| 8407 | .uk-link-reset, | ||
| 8408 | .uk-link-reset a, | ||
| 8409 | .uk-link-reset:hover, | ||
| 8410 | .uk-link-reset a:hover, | ||
| 8411 | .uk-link-reset:focus, | ||
| 8412 | .uk-link-reset a:focus { | ||
| 8413 | color: inherit; | ||
| 8414 | text-decoration: none; | ||
| 8415 | } | ||
| 8416 | /* Scrollable | ||
| 8417 | ========================================================================== */ | ||
| 8418 | /* | ||
| 8419 | * Enable scrolling for preformatted text | ||
| 8420 | */ | ||
| 8421 | .uk-scrollable-text { | ||
| 8422 | height: 300px; | ||
| 8423 | overflow-y: scroll; | ||
| 8424 | -webkit-overflow-scrolling: touch; | ||
| 8425 | resize: both; | ||
| 8426 | } | ||
| 8427 | /* | ||
| 8428 | * Box with scrolling enabled | ||
| 8429 | */ | ||
| 8430 | .uk-scrollable-box { | ||
| 8431 | box-sizing: border-box; | ||
| 8432 | height: 170px; | ||
| 8433 | padding: 10px; | ||
| 8434 | border: 1px solid #ddd; | ||
| 8435 | overflow: auto; | ||
| 8436 | -webkit-overflow-scrolling: touch; | ||
| 8437 | resize: both; | ||
| 8438 | border-radius: 3px; | ||
| 8439 | } | ||
| 8440 | .uk-scrollable-box > :last-child { | ||
| 8441 | margin-bottom: 0; | ||
| 8442 | } | ||
| 8443 | /* Overflow | ||
| 8444 | ========================================================================== */ | ||
| 8445 | .uk-overflow-hidden { | ||
| 8446 | overflow: hidden; | ||
| 8447 | } | ||
| 8448 | /* | ||
| 8449 | * Enable scrollbars if content is clipped | ||
| 8450 | */ | ||
| 8451 | .uk-overflow-container { | ||
| 8452 | overflow: auto; | ||
| 8453 | -webkit-overflow-scrolling: touch; | ||
| 8454 | } | ||
| 8455 | .uk-overflow-container > :last-child { | ||
| 8456 | margin-bottom: 0; | ||
| 8457 | } | ||
| 8458 | /* Position | ||
| 8459 | ========================================================================== */ | ||
| 8460 | .uk-position-absolute, | ||
| 8461 | [class*='uk-position-top'], | ||
| 8462 | [class*='uk-position-bottom'] { | ||
| 8463 | position: absolute !important; | ||
| 8464 | } | ||
| 8465 | /* Don't use `width: 100%` because it is wrong if the parent has padding. */ | ||
| 8466 | .uk-position-top { | ||
| 8467 | top: 0; | ||
| 8468 | left: 0; | ||
| 8469 | right: 0; | ||
| 8470 | } | ||
| 8471 | .uk-position-bottom { | ||
| 8472 | bottom: 0; | ||
| 8473 | left: 0; | ||
| 8474 | right: 0; | ||
| 8475 | } | ||
| 8476 | .uk-position-top-left { | ||
| 8477 | top: 0; | ||
| 8478 | left: 0; | ||
| 8479 | } | ||
| 8480 | .uk-position-top-right { | ||
| 8481 | top: 0; | ||
| 8482 | right: 0; | ||
| 8483 | } | ||
| 8484 | .uk-position-bottom-left { | ||
| 8485 | bottom: 0; | ||
| 8486 | left: 0; | ||
| 8487 | } | ||
| 8488 | .uk-position-bottom-right { | ||
| 8489 | bottom: 0; | ||
| 8490 | right: 0; | ||
| 8491 | } | ||
| 8492 | /* | ||
| 8493 | * Cover | ||
| 8494 | */ | ||
| 8495 | .uk-position-cover { | ||
| 8496 | position: absolute; | ||
| 8497 | top: 0; | ||
| 8498 | bottom: 0; | ||
| 8499 | left: 0; | ||
| 8500 | right: 0; | ||
| 8501 | } | ||
| 8502 | /* | ||
| 8503 | * Relative | ||
| 8504 | */ | ||
| 8505 | .uk-position-relative { | ||
| 8506 | position: relative !important; | ||
| 8507 | } | ||
| 8508 | /* | ||
| 8509 | * Z-index | ||
| 8510 | */ | ||
| 8511 | .uk-position-z-index { | ||
| 8512 | z-index: 1; | ||
| 8513 | } | ||
| 8514 | /* Display | ||
| 8515 | ========================================================================== */ | ||
| 8516 | /* | ||
| 8517 | * Display | ||
| 8518 | * 1. Required if child is a responsive image | ||
| 8519 | */ | ||
| 8520 | .uk-display-block { | ||
| 8521 | display: block !important; | ||
| 8522 | } | ||
| 8523 | .uk-display-inline { | ||
| 8524 | display: inline !important; | ||
| 8525 | } | ||
| 8526 | .uk-display-inline-block { | ||
| 8527 | display: inline-block !important; | ||
| 8528 | /* 1 */ | ||
| 8529 | max-width: 100%; | ||
| 8530 | } | ||
| 8531 | /* | ||
| 8532 | * Visibility | ||
| 8533 | * Avoids setting display to `block` so it works also with `inline-block` and `table` | ||
| 8534 | */ | ||
| 8535 | /* Desktop and bigger */ | ||
| 8536 | @media (min-width: 960px) { | ||
| 8537 | .uk-visible-small { | ||
| 8538 | display: none !important; | ||
| 8539 | } | ||
| 8540 | .uk-visible-medium { | ||
| 8541 | display: none !important; | ||
| 8542 | } | ||
| 8543 | .uk-hidden-large { | ||
| 8544 | display: none !important; | ||
| 8545 | } | ||
| 8546 | } | ||
| 8547 | /* Tablets portrait */ | ||
| 8548 | @media (min-width: 768px) and (max-width: 959px) { | ||
| 8549 | .uk-visible-small { | ||
| 8550 | display: none !important; | ||
| 8551 | } | ||
| 8552 | .uk-visible-large { | ||
| 8553 | display: none !important ; | ||
| 8554 | } | ||
| 8555 | .uk-hidden-medium { | ||
| 8556 | display: none !important; | ||
| 8557 | } | ||
| 8558 | } | ||
| 8559 | /* Phone landscape and smaller*/ | ||
| 8560 | @media (max-width: 767px) { | ||
| 8561 | .uk-visible-medium { | ||
| 8562 | display: none !important; | ||
| 8563 | } | ||
| 8564 | .uk-visible-large { | ||
| 8565 | display: none !important; | ||
| 8566 | } | ||
| 8567 | .uk-hidden-small { | ||
| 8568 | display: none !important; | ||
| 8569 | } | ||
| 8570 | } | ||
| 8571 | /* Remove from the flow and screen readers on any device */ | ||
| 8572 | .uk-hidden { | ||
| 8573 | display: none !important; | ||
| 8574 | visibility: hidden !important; | ||
| 8575 | } | ||
| 8576 | /* It's hidden, but still affects layout */ | ||
| 8577 | .uk-invisible { | ||
| 8578 | visibility: hidden !important; | ||
| 8579 | } | ||
| 8580 | /* Show on hover */ | ||
| 8581 | .uk-visible-hover:hover .uk-hidden, | ||
| 8582 | .uk-visible-hover:hover .uk-invisible { | ||
| 8583 | display: block !important; | ||
| 8584 | visibility: visible !important; | ||
| 8585 | } | ||
| 8586 | .uk-visible-hover-inline:hover .uk-hidden, | ||
| 8587 | .uk-visible-hover-inline:hover .uk-invisible { | ||
| 8588 | display: inline-block !important; | ||
| 8589 | visibility: visible !important; | ||
| 8590 | } | ||
| 8591 | /* Hide on touch */ | ||
| 8592 | .uk-touch .uk-hidden-touch, | ||
| 8593 | .uk-notouch .uk-hidden-notouch { | ||
| 8594 | display: none !important; | ||
| 8595 | } | ||
| 8596 | /* ======================================================================== | ||
| 8597 | Component: Flex | ||
| 8598 | ========================================================================== */ | ||
| 8599 | .uk-flex { | ||
| 8600 | display: -ms-flexbox; | ||
| 8601 | display: -webkit-flex; | ||
| 8602 | display: flex; | ||
| 8603 | } | ||
| 8604 | .uk-flex-inline { | ||
| 8605 | display: -ms-inline-flexbox; | ||
| 8606 | display: -webkit-inline-flex; | ||
| 8607 | display: inline-flex; | ||
| 8608 | } | ||
| 8609 | /* | ||
| 8610 | * Fixes initial flex-shrink value in IE10 | ||
| 8611 | */ | ||
| 8612 | .uk-flex > *, | ||
| 8613 | .uk-flex-inline > * { | ||
| 8614 | -ms-flex-negative: 1; | ||
| 8615 | } | ||
| 8616 | /* Alignment | ||
| 8617 | ========================================================================== */ | ||
| 8618 | /* | ||
| 8619 | * Vertical alignment | ||
| 8620 | * Default value is `stretch` | ||
| 8621 | */ | ||
| 8622 | .uk-flex-top { | ||
| 8623 | -ms-flex-align: start; | ||
| 8624 | -webkit-align-items: flex-start; | ||
| 8625 | align-items: flex-start; | ||
| 8626 | } | ||
| 8627 | .uk-flex-middle { | ||
| 8628 | -ms-flex-align: center; | ||
| 8629 | -webkit-align-items: center; | ||
| 8630 | align-items: center; | ||
| 8631 | } | ||
| 8632 | .uk-flex-bottom { | ||
| 8633 | -ms-flex-align: end; | ||
| 8634 | -webkit-align-items: flex-end; | ||
| 8635 | align-items: flex-end; | ||
| 8636 | } | ||
| 8637 | /* | ||
| 8638 | * Horizontal alignment | ||
| 8639 | * Default value is `flex-start` | ||
| 8640 | */ | ||
| 8641 | .uk-flex-center { | ||
| 8642 | -ms-flex-pack: center; | ||
| 8643 | -webkit-justify-content: center; | ||
| 8644 | justify-content: center; | ||
| 8645 | } | ||
| 8646 | .uk-flex-right { | ||
| 8647 | -ms-flex-pack: end; | ||
| 8648 | -webkit-justify-content: flex-end; | ||
| 8649 | justify-content: flex-end; | ||
| 8650 | } | ||
| 8651 | .uk-flex-space-between { | ||
| 8652 | -ms-flex-pack: justify; | ||
| 8653 | -webkit-justify-content: space-between; | ||
| 8654 | justify-content: space-between; | ||
| 8655 | } | ||
| 8656 | .uk-flex-space-around { | ||
| 8657 | -ms-flex-pack: distribute; | ||
| 8658 | -webkit-justify-content: space-around; | ||
| 8659 | justify-content: space-around; | ||
| 8660 | } | ||
| 8661 | /* Direction | ||
| 8662 | ========================================================================== */ | ||
| 8663 | .uk-flex-row-reverse { | ||
| 8664 | -ms-flex-direction: row-reverse; | ||
| 8665 | -webkit-flex-direction: row-reverse; | ||
| 8666 | flex-direction: row-reverse; | ||
| 8667 | } | ||
| 8668 | .uk-flex-column { | ||
| 8669 | -ms-flex-direction: column; | ||
| 8670 | -webkit-flex-direction: column; | ||
| 8671 | flex-direction: column; | ||
| 8672 | } | ||
| 8673 | .uk-flex-column-reverse { | ||
| 8674 | -ms-flex-direction: column-reverse; | ||
| 8675 | -webkit-flex-direction: column-reverse; | ||
| 8676 | flex-direction: column-reverse; | ||
| 8677 | } | ||
| 8678 | /* Wrap | ||
| 8679 | ========================================================================== */ | ||
| 8680 | .uk-flex-nowrap { | ||
| 8681 | -ms-flex-wrap: nowrap; | ||
| 8682 | -webkit-flex-wrap: nowrap; | ||
| 8683 | flex-wrap: nowrap; | ||
| 8684 | } | ||
| 8685 | .uk-flex-wrap { | ||
| 8686 | -ms-flex-wrap: wrap; | ||
| 8687 | -webkit-flex-wrap: wrap; | ||
| 8688 | flex-wrap: wrap; | ||
| 8689 | } | ||
| 8690 | .uk-flex-wrap-reverse { | ||
| 8691 | -ms-flex-wrap: wrap-reverse; | ||
| 8692 | -webkit-flex-wrap: wrap-reverse; | ||
| 8693 | flex-wrap: wrap-reverse; | ||
| 8694 | } | ||
| 8695 | /* | ||
| 8696 | * Horizontal alignment | ||
| 8697 | * Default value is `stretch` | ||
| 8698 | */ | ||
| 8699 | .uk-flex-wrap-top { | ||
| 8700 | -ms-flex-line-pack: start; | ||
| 8701 | -webkit-align-content: flex-start; | ||
| 8702 | align-content: flex-start; | ||
| 8703 | } | ||
| 8704 | .uk-flex-wrap-middle { | ||
| 8705 | -ms-flex-line-pack: center; | ||
| 8706 | -webkit-align-content: center; | ||
| 8707 | align-content: center; | ||
| 8708 | } | ||
| 8709 | .uk-flex-wrap-bottom { | ||
| 8710 | -ms-flex-line-pack: end; | ||
| 8711 | -webkit-align-content: flex-end; | ||
| 8712 | align-content: flex-end; | ||
| 8713 | } | ||
| 8714 | .uk-flex-wrap-space-between { | ||
| 8715 | -ms-flex-line-pack: justify; | ||
| 8716 | -webkit-align-content: space-between; | ||
| 8717 | align-content: space-between; | ||
| 8718 | } | ||
| 8719 | .uk-flex-wrap-space-around { | ||
| 8720 | -ms-flex-line-pack: distribute; | ||
| 8721 | -webkit-align-content: space-around; | ||
| 8722 | align-content: space-around; | ||
| 8723 | } | ||
| 8724 | /* Item ordering | ||
| 8725 | ========================================================================== */ | ||
| 8726 | /* | ||
| 8727 | * Default is 0 | ||
| 8728 | */ | ||
| 8729 | .uk-flex-order-first { | ||
| 8730 | -ms-flex-order: -1; | ||
| 8731 | -webkit-order: -1; | ||
| 8732 | order: -1; | ||
| 8733 | } | ||
| 8734 | .uk-flex-order-last { | ||
| 8735 | -ms-flex-order: 99; | ||
| 8736 | -webkit-order: 99; | ||
| 8737 | order: 99; | ||
| 8738 | } | ||
| 8739 | /* Phone landscape and bigger */ | ||
| 8740 | @media (min-width: 480px) { | ||
| 8741 | .uk-flex-order-first-small { | ||
| 8742 | -ms-flex-order: -1; | ||
| 8743 | -webkit-order: -1; | ||
| 8744 | order: -1; | ||
| 8745 | } | ||
| 8746 | .uk-flex-order-last-small { | ||
| 8747 | -ms-flex-order: 99; | ||
| 8748 | -webkit-order: 99; | ||
| 8749 | order: 99; | ||
| 8750 | } | ||
| 8751 | } | ||
| 8752 | /* Tablet and bigger */ | ||
| 8753 | @media (min-width: 768px) { | ||
| 8754 | .uk-flex-order-first-medium { | ||
| 8755 | -ms-flex-order: -1; | ||
| 8756 | -webkit-order: -1; | ||
| 8757 | order: -1; | ||
| 8758 | } | ||
| 8759 | .uk-flex-order-last-medium { | ||
| 8760 | -ms-flex-order: 99; | ||
| 8761 | -webkit-order: 99; | ||
| 8762 | order: 99; | ||
| 8763 | } | ||
| 8764 | } | ||
| 8765 | /* Desktop and bigger */ | ||
| 8766 | @media (min-width: 960px) { | ||
| 8767 | .uk-flex-order-first-large { | ||
| 8768 | -ms-flex-order: -1; | ||
| 8769 | -webkit-order: -1; | ||
| 8770 | order: -1; | ||
| 8771 | } | ||
| 8772 | .uk-flex-order-last-large { | ||
| 8773 | -ms-flex-order: 99; | ||
| 8774 | -webkit-order: 99; | ||
| 8775 | order: 99; | ||
| 8776 | } | ||
| 8777 | } | ||
| 8778 | /* Large screen and bigger */ | ||
| 8779 | @media (min-width: 1220px) { | ||
| 8780 | .uk-flex-order-first-xlarge { | ||
| 8781 | -ms-flex-order: -1; | ||
| 8782 | -webkit-order: -1; | ||
| 8783 | order: -1; | ||
| 8784 | } | ||
| 8785 | .uk-flex-order-last-xlarge { | ||
| 8786 | -ms-flex-order: 99; | ||
| 8787 | -webkit-order: 99; | ||
| 8788 | order: 99; | ||
| 8789 | } | ||
| 8790 | } | ||
| 8791 | /* Item dimensions | ||
| 8792 | ========================================================================== */ | ||
| 8793 | /* | ||
| 8794 | * Initial: 0 1 auto | ||
| 8795 | * Content dimensions, but shrinks | ||
| 8796 | */ | ||
| 8797 | /* | ||
| 8798 | * No Flex: 0 0 auto | ||
| 8799 | * Content dimensions | ||
| 8800 | */ | ||
| 8801 | .uk-flex-item-none { | ||
| 8802 | -ms-flex: none; | ||
| 8803 | -webkit-flex: none; | ||
| 8804 | flex: none; | ||
| 8805 | } | ||
| 8806 | /* | ||
| 8807 | * Relative Flex: 1 1 auto | ||
| 8808 | * Space is allocated considering content | ||
| 8809 | * 1. Fixes flex-shrink value in IE10 | ||
| 8810 | */ | ||
| 8811 | .uk-flex-item-auto { | ||
| 8812 | -ms-flex: auto; | ||
| 8813 | -webkit-flex: auto; | ||
| 8814 | flex: auto; | ||
| 8815 | /* 1 */ | ||
| 8816 | -ms-flex-negative: 1; | ||
| 8817 | } | ||
| 8818 | /* | ||
| 8819 | * Absolute Flex: 1 1 0% | ||
| 8820 | * Space is allocated solely based on flex | ||
| 8821 | */ | ||
| 8822 | .uk-flex-item-1 { | ||
| 8823 | -ms-flex: 1; | ||
| 8824 | -webkit-flex: 1; | ||
| 8825 | flex: 1; | ||
| 8826 | } | ||
| 8827 | /* ======================================================================== | ||
| 8828 | Component: Contrast | ||
| 8829 | ========================================================================== */ | ||
| 8830 | .uk-contrast { | ||
| 8831 | color: #fff; | ||
| 8832 | /* Active */ | ||
| 8833 | } | ||
| 8834 | .uk-contrast a:not([class]), | ||
| 8835 | .uk-contrast .uk-link { | ||
| 8836 | color: rgba(255, 255, 255, 0.7); | ||
| 8837 | text-decoration: none; | ||
| 8838 | } | ||
| 8839 | .uk-contrast a:not([class]):hover, | ||
| 8840 | .uk-contrast .uk-link:hover { | ||
| 8841 | color: #fff; | ||
| 8842 | text-decoration: underline; | ||
| 8843 | } | ||
| 8844 | .uk-contrast :not(pre) > code, | ||
| 8845 | .uk-contrast :not(pre) > kbd, | ||
| 8846 | .uk-contrast :not(pre) > samp { | ||
| 8847 | color: #fff; | ||
| 8848 | border-color: rgba(255, 255, 255, 0.2); | ||
| 8849 | background: rgba(255, 255, 255, 0.1); | ||
| 8850 | } | ||
| 8851 | .uk-contrast em { | ||
| 8852 | color: #fff; | ||
| 8853 | } | ||
| 8854 | .uk-contrast h1, | ||
| 8855 | .uk-contrast h2, | ||
| 8856 | .uk-contrast h3, | ||
| 8857 | .uk-contrast h4, | ||
| 8858 | .uk-contrast h5, | ||
| 8859 | .uk-contrast h6 { | ||
| 8860 | color: #fff; | ||
| 8861 | } | ||
| 8862 | .uk-contrast hr { | ||
| 8863 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8864 | } | ||
| 8865 | .uk-contrast .uk-nav li > a, | ||
| 8866 | .uk-contrast .uk-nav li > a:hover { | ||
| 8867 | text-decoration: none; | ||
| 8868 | } | ||
| 8869 | .uk-contrast .uk-nav-side > li > a { | ||
| 8870 | color: #fff; | ||
| 8871 | } | ||
| 8872 | .uk-contrast .uk-nav-side > li > a:hover, | ||
| 8873 | .uk-contrast .uk-nav-side > li > a:focus { | ||
| 8874 | background: rgba(255, 255, 255, 0.1); | ||
| 8875 | color: #fff; | ||
| 8876 | text-shadow: none; | ||
| 8877 | } | ||
| 8878 | .uk-contrast .uk-nav-side > li.uk-active > a { | ||
| 8879 | background: #fff; | ||
| 8880 | color: #444; | ||
| 8881 | text-shadow: none; | ||
| 8882 | } | ||
| 8883 | .uk-contrast .uk-nav-side .uk-nav-header { | ||
| 8884 | color: #fff; | ||
| 8885 | } | ||
| 8886 | .uk-contrast .uk-nav-side .uk-nav-divider { | ||
| 8887 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8888 | } | ||
| 8889 | .uk-contrast .uk-nav-side ul a { | ||
| 8890 | color: rgba(255, 255, 255, 0.7); | ||
| 8891 | } | ||
| 8892 | .uk-contrast .uk-nav-side ul a:hover { | ||
| 8893 | color: #fff; | ||
| 8894 | } | ||
| 8895 | .uk-contrast .uk-subnav > * > a { | ||
| 8896 | color: rgba(255, 255, 255, 0.7); | ||
| 8897 | text-decoration: none; | ||
| 8898 | } | ||
| 8899 | .uk-contrast .uk-subnav > * > a:hover, | ||
| 8900 | .uk-contrast .uk-subnav > * > a:focus { | ||
| 8901 | color: #fff; | ||
| 8902 | text-decoration: none; | ||
| 8903 | } | ||
| 8904 | .uk-contrast .uk-subnav > .uk-active > a { | ||
| 8905 | color: #fff; | ||
| 8906 | } | ||
| 8907 | .uk-contrast .uk-subnav-line > :nth-child(n+2):before { | ||
| 8908 | border-left-color: rgba(255, 255, 255, 0.2); | ||
| 8909 | } | ||
| 8910 | .uk-contrast .uk-subnav-pill > * > a:hover, | ||
| 8911 | .uk-contrast .uk-subnav-pill > * > a:focus { | ||
| 8912 | background: rgba(255, 255, 255, 0.7); | ||
| 8913 | color: #444; | ||
| 8914 | text-decoration: none; | ||
| 8915 | } | ||
| 8916 | .uk-contrast .uk-subnav-pill > .uk-active > a { | ||
| 8917 | background: #fff; | ||
| 8918 | color: #444; | ||
| 8919 | } | ||
| 8920 | .uk-contrast .uk-tab { | ||
| 8921 | border-bottom-color: rgba(255, 255, 255, 0.2); | ||
| 8922 | } | ||
| 8923 | .uk-contrast .uk-tab > li > a { | ||
| 8924 | border-color: transparent; | ||
| 8925 | color: rgba(255, 255, 255, 0.7); | ||
| 8926 | text-shadow: none; | ||
| 8927 | } | ||
| 8928 | .uk-contrast .uk-tab > li > a:hover, | ||
| 8929 | .uk-contrast .uk-tab > li > a:focus, | ||
| 8930 | .uk-contrast .uk-tab > li.uk-open > a { | ||
| 8931 | border-color: rgba(255, 255, 255, 0.7); | ||
| 8932 | background: rgba(255, 255, 255, 0.7); | ||
| 8933 | color: #444; | ||
| 8934 | text-decoration: none; | ||
| 8935 | } | ||
| 8936 | .uk-contrast .uk-tab > li.uk-active > a { | ||
| 8937 | border-color: rgba(255, 255, 255, 0.2); | ||
| 8938 | border-bottom-color: transparent; | ||
| 8939 | background: #fff; | ||
| 8940 | color: #444; | ||
| 8941 | } | ||
| 8942 | .uk-contrast .uk-tab-center { | ||
| 8943 | border-bottom-color: rgba(255, 255, 255, 0.2); | ||
| 8944 | } | ||
| 8945 | .uk-contrast .uk-tab-grid:before { | ||
| 8946 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8947 | } | ||
| 8948 | .uk-contrast .uk-list-line > li:nth-child(n+2) { | ||
| 8949 | border-top-color: rgba(255, 255, 255, 0.2); | ||
| 8950 | } | ||
| 8951 | .uk-contrast .uk-form select, | ||
| 8952 | .uk-contrast .uk-form textarea, | ||
| 8953 | .uk-contrast .uk-form input:not([type]), | ||
| 8954 | .uk-contrast .uk-form input[type="text"], | ||
| 8955 | .uk-contrast .uk-form input[type="password"], | ||
| 8956 | .uk-contrast .uk-form input[type="datetime"], | ||
| 8957 | .uk-contrast .uk-form input[type="datetime-local"], | ||
| 8958 | .uk-contrast .uk-form input[type="date"], | ||
| 8959 | .uk-contrast .uk-form input[type="month"], | ||
| 8960 | .uk-contrast .uk-form input[type="time"], | ||
| 8961 | .uk-contrast .uk-form input[type="week"], | ||
| 8962 | .uk-contrast .uk-form input[type="number"], | ||
| 8963 | .uk-contrast .uk-form input[type="email"], | ||
| 8964 | .uk-contrast .uk-form input[type="url"], | ||
| 8965 | .uk-contrast .uk-form input[type="search"], | ||
| 8966 | .uk-contrast .uk-form input[type="tel"], | ||
| 8967 | .uk-contrast .uk-form input[type="color"] { | ||
| 8968 | border-color: rgba(255, 255, 255, 0.8); | ||
| 8969 | background: rgba(255, 255, 255, 0.8); | ||
| 8970 | color: #444; | ||
| 8971 | background-clip: padding-box; | ||
| 8972 | } | ||
| 8973 | .uk-contrast .uk-form select:focus, | ||
| 8974 | .uk-contrast .uk-form textarea:focus, | ||
| 8975 | .uk-contrast .uk-form input:not([type]):focus, | ||
| 8976 | .uk-contrast .uk-form input[type="text"]:focus, | ||
| 8977 | .uk-contrast .uk-form input[type="password"]:focus, | ||
| 8978 | .uk-contrast .uk-form input[type="datetime"]:focus, | ||
| 8979 | .uk-contrast .uk-form input[type="datetime-local"]:focus, | ||
| 8980 | .uk-contrast .uk-form input[type="date"]:focus, | ||
| 8981 | .uk-contrast .uk-form input[type="month"]:focus, | ||
| 8982 | .uk-contrast .uk-form input[type="time"]:focus, | ||
| 8983 | .uk-contrast .uk-form input[type="week"]:focus, | ||
| 8984 | .uk-contrast .uk-form input[type="number"]:focus, | ||
| 8985 | .uk-contrast .uk-form input[type="email"]:focus, | ||
| 8986 | .uk-contrast .uk-form input[type="url"]:focus, | ||
| 8987 | .uk-contrast .uk-form input[type="search"]:focus, | ||
| 8988 | .uk-contrast .uk-form input[type="tel"]:focus, | ||
| 8989 | .uk-contrast .uk-form input[type="color"]:focus { | ||
| 8990 | border-color: #fff; | ||
| 8991 | background: #fff; | ||
| 8992 | color: #444; | ||
| 8993 | } | ||
| 8994 | .uk-contrast .uk-form :-ms-input-placeholder { | ||
| 8995 | color: rgba(68, 68, 68, 0.7) !important; | ||
| 8996 | } | ||
| 8997 | .uk-contrast .uk-form ::-moz-placeholder { | ||
| 8998 | color: rgba(68, 68, 68, 0.7); | ||
| 8999 | } | ||
| 9000 | .uk-contrast .uk-form ::-webkit-input-placeholder { | ||
| 9001 | color: rgba(68, 68, 68, 0.7); | ||
| 9002 | } | ||
| 9003 | .uk-contrast .uk-button { | ||
| 9004 | color: #444; | ||
| 9005 | background: #fff; | ||
| 9006 | border-color: transparent; | ||
| 9007 | } | ||
| 9008 | .uk-contrast .uk-button:hover, | ||
| 9009 | .uk-contrast .uk-button:focus { | ||
| 9010 | background-color: rgba(255, 255, 255, 0.8); | ||
| 9011 | color: #444; | ||
| 9012 | border-color: transparent; | ||
| 9013 | } | ||
| 9014 | .uk-contrast .uk-button:active, | ||
| 9015 | .uk-contrast .uk-button.uk-active { | ||
| 9016 | background-color: rgba(255, 255, 255, 0.7); | ||
| 9017 | color: #444; | ||
| 9018 | box-shadow: none; | ||
| 9019 | } | ||
| 9020 | .uk-contrast .uk-button-primary { | ||
| 9021 | background-color: #009dd8; | ||
| 9022 | color: #fff; | ||
| 9023 | } | ||
| 9024 | .uk-contrast .uk-button-primary:hover, | ||
| 9025 | .uk-contrast .uk-button-primary:focus { | ||
| 9026 | background-color: #00aff2; | ||
| 9027 | color: #fff; | ||
| 9028 | } | ||
| 9029 | .uk-contrast .uk-button-primary:active, | ||
| 9030 | .uk-contrast .uk-button-primary.uk-active { | ||
| 9031 | background-color: #008abf; | ||
| 9032 | color: #fff; | ||
| 9033 | } | ||
| 9034 | .uk-contrast .uk-icon-hover { | ||
| 9035 | color: rgba(255, 255, 255, 0.7); | ||
| 9036 | } | ||
| 9037 | .uk-contrast .uk-icon-hover:hover { | ||
| 9038 | color: #fff; | ||
| 9039 | } | ||
| 9040 | .uk-contrast .uk-icon-button { | ||
| 9041 | background: #fff; | ||
| 9042 | color: #444; | ||
| 9043 | border-color: transparent; | ||
| 9044 | } | ||
| 9045 | .uk-contrast .uk-icon-button:hover, | ||
| 9046 | .uk-contrast .uk-icon-button:focus { | ||
| 9047 | background-color: rgba(255, 255, 255, 0.8); | ||
| 9048 | color: #444; | ||
| 9049 | border-color: transparent; | ||
| 9050 | } | ||
| 9051 | .uk-contrast .uk-icon-button:active { | ||
| 9052 | background-color: rgba(255, 255, 255, 0.7); | ||
| 9053 | color: #444; | ||
| 9054 | box-shadow: none; | ||
| 9055 | } | ||
| 9056 | .uk-contrast .uk-text-muted { | ||
| 9057 | color: rgba(255, 255, 255, 0.6) !important; | ||
| 9058 | } | ||
| 9059 | .uk-contrast .uk-text-primary { | ||
| 9060 | color: #2d7091 !important; | ||
| 9061 | } | ||
| 9062 | /* ======================================================================== | ||
| 9063 | Component: Print | ||
| 9064 | ========================================================================== */ | ||
| 9065 | @media print { | ||
| 9066 | *, | ||
| 9067 | *:before, | ||
| 9068 | *:after { | ||
| 9069 | background: transparent !important; | ||
| 9070 | color: black !important; | ||
| 9071 | box-shadow: none !important; | ||
| 9072 | text-shadow: none !important; | ||
| 9073 | } | ||
| 9074 | a, | ||
| 9075 | a:visited { | ||
| 9076 | text-decoration: underline; | ||
| 9077 | } | ||
| 9078 | pre, | ||
| 9079 | blockquote { | ||
| 9080 | border: 1px solid #999; | ||
| 9081 | page-break-inside: avoid; | ||
| 9082 | } | ||
| 9083 | thead { | ||
| 9084 | display: table-header-group; | ||
| 9085 | } | ||
| 9086 | tr, | ||
| 9087 | img { | ||
| 9088 | page-break-inside: avoid; | ||
| 9089 | } | ||
| 9090 | img { | ||
| 9091 | max-width: 100% !important; | ||
| 9092 | } | ||
| 9093 | @page { | ||
| 9094 | margin: 0.5cm; | ||
| 9095 | } | ||
| 9096 | p, | ||
| 9097 | h2, | ||
| 9098 | h3 { | ||
| 9099 | orphans: 3; | ||
| 9100 | widows: 3; | ||
| 9101 | } | ||
| 9102 | h2, | ||
| 9103 | h3 { | ||
| 9104 | page-break-after: avoid; | ||
| 9105 | } | ||
| 9106 | } | ||
| diff --git a/css/uikit.gradient.min.css b/css/uikit.gradient.min.css new file mode 100755 index 0000000..26d3e3c --- /dev/null +++ b/css/uikit.gradient.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444;background-image:-webkit-radial-gradient(100% 100%,center,#fff,#fff);background-image:radial-gradient(100% 100% at center,#fff,#fff)}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07D;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#D05;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}em{color:#D05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,canvas,img,svg,video{max-width:100%;height:auto;box-sizing:border-box}.uk-img-preserve,.uk-img-preserve audio,.uk-img-preserve canvas,.uk-img-preserve img,.uk-img-preserve svg,.uk-img-preserve video{max-width:none}img{border:0}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#fafafa;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto;border:1px solid #ddd;border-radius:3px}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}@media (min-width:960px){.uk-grid-large{margin-left:-35px}.uk-grid-large>*{padding-left:35px}.uk-grid-large+.uk-grid-large,.uk-grid-large-margin,.uk-grid-large>*>.uk-panel+.uk-panel{margin-top:35px}}@media (min-width:1220px){.uk-grid-large{margin-left:-50px}.uk-grid-large>*{padding-left:50px}.uk-grid-large+.uk-grid-large,.uk-grid-large-margin,.uk-grid-large>*>.uk-panel+.uk-panel{margin-top:50px}}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}.uk-grid-width-auto>*{width:auto}@media (min-width:480px){.uk-grid-width-small-1-1>*{width:100%}.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-1>*{width:100%}.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-1>*{width:100%}.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-1>*{width:100%}.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:1220px){.uk-width-xlarge-1-1{width:100%}.uk-width-xlarge-1-2,.uk-width-xlarge-2-4,.uk-width-xlarge-3-6,.uk-width-xlarge-5-10{width:50%}.uk-width-xlarge-1-3,.uk-width-xlarge-2-6{width:33.333%}.uk-width-xlarge-2-3,.uk-width-xlarge-4-6{width:66.666%}.uk-width-xlarge-1-4{width:25%}.uk-width-xlarge-3-4{width:75%}.uk-width-xlarge-1-5,.uk-width-xlarge-2-10{width:20%}.uk-width-xlarge-2-5,.uk-width-xlarge-4-10{width:40%}.uk-width-xlarge-3-5,.uk-width-xlarge-6-10{width:60%}.uk-width-xlarge-4-5,.uk-width-xlarge-8-10{width:80%}.uk-width-xlarge-1-6{width:16.666%}.uk-width-xlarge-5-6{width:83.333%}.uk-width-xlarge-1-10{width:10%}.uk-width-xlarge-3-10{width:30%}.uk-width-xlarge-7-10{width:70%}.uk-width-xlarge-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-body{padding:15px}.uk-panel-box{padding:15px;background:#fafafa;color:#444;border:1px solid #ddd;border-radius:4px}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box>.uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091;border-color:rgba(45,112,145,.3)}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#fff;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444;border:1px solid transparent;border-radius:4px}.uk-panel-hover:hover{background:#fafafa;color:#444;border-color:#ddd}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover>.uk-panel-teaser{margin-top:-16px;margin-left:-16px;margin-right:-16px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-panel-box .uk-panel-teaser{border-top-left-radius:4px;border-top-right-radius:4px;overflow:hidden;-webkit-transform:translateZ(0)}.uk-block{position:relative;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-article+.uk-article{padding-top:25px;border-top:1px solid #ddd}.uk-comment-header{margin-bottom:15px;padding:10px;border:1px solid #ddd;border-radius:4px;background:#fafafa}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body{padding-left:10px;padding-right:10px}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:25px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:25px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-comment-primary .uk-comment-header{border-color:rgba(45,112,145,.3);background-color:#ebf7fd;color:#2d7091;text-shadow:0 1px 0 #fff}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.03);color:#444;outline:0;box-shadow:inset 0 0 1px rgba(0,0,0,.1);text-shadow:0 -1px 0 #fff}.uk-nav-side>li.uk-active>a{background:#009dd8;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd;box-shadow:0 1px 0 #fff}.uk-nav-side ul a{color:#07D}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07D}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#009dd8;color:#fff;outline:0;box-shadow:inset 0 2px 4px rgba(0,0,0,.2);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07D}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px;border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff;box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas .uk-nav-header{color:#777;margin-top:0;border-top:1px solid rgba(0,0,0,.3);background:#404040;box-shadow:inset 0 1px 0 rgba(255,255,255,.05);text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid rgba(255,255,255,.01);margin:0;height:4px;background:rgba(0,0,0,.2);box-shadow:inset 0 1px 3px rgba(0,0,0,.3)}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-nav-offcanvas{border-bottom:1px solid rgba(0,0,0,.3);box-shadow:0 1px 0 rgba(255,255,255,.05)}.uk-nav-offcanvas .uk-nav-sub{border-top:1px solid rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.uk-navbar{background:#f7f7f7;color:#444;border:1px solid rgba(0,0,0,.1);border-bottom-color:rgba(0,0,0,.3);border-radius:4px;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee)}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;box-sizing:border-box;text-decoration:none;height:41px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;margin-top:-1px;margin-left:-1px;border:1px solid transparent;border-bottom-width:0;text-shadow:0 1px 0 #fff}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:transparent;color:#444;outline:0;position:relative;z-index:1;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.1);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav>li>a:active{background-color:#f5f5f5;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav>li.uk-active>a{background-color:#fafafa;color:#444;border-left-color:rgba(0,0,0,.1);border-right-color:rgba(0,0,0,.1);border-top-color:rgba(0,0,0,.2);box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{box-sizing:border-box;display:block;height:41px;padding:0 15px;float:left;margin-top:-1px;text-shadow:0 1px 0 #fff}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07D}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:4px;border-bottom-left-radius:4px}.uk-navbar-flip .uk-navbar-nav>li>a{margin-left:0;margin-right:-1px}.uk-navbar-flip .uk-navbar-nav:first-child>li:first-child>a{border-top-left-radius:0;border-bottom-left-radius:0}.uk-navbar-flip .uk-navbar-nav:last-child>li:last-child>a{border-top-right-radius:4px;border-bottom-right-radius:4px}.uk-navbar-attached{border-top-color:transparent;border-left-color:transparent;border-right-color:transparent;border-radius:0}.uk-navbar-attached .uk-navbar-nav>li>a{border-radius:0!important}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07D;text-decoration:none}.uk-subnav>.uk-active>*{color:#07D}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px;border-radius:4px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#fafafa;color:#444;text-decoration:none;outline:0;box-shadow:0 0 0 1px rgba(0,0,0,.1)}.uk-subnav-pill>.uk-active>*{background:#009dd8;color:#fff;box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text;box-shadow:none}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;box-sizing:content-box;text-align:center;border-radius:4px}.uk-pagination>li>a{background:#f7f7f7;color:#444;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#fafafa;color:#444;outline:0;background-image:none}.uk-pagination>li>a:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-pagination>.uk-active>span{background:#009dd8;color:#fff;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-pagination>.uk-disabled>span{background-color:#fafafa;color:#999;border:1px solid rgba(0,0,0,.2);text-shadow:0 1px 0 #fff}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07D;text-decoration:none;border-radius:4px 4px 0 0;text-shadow:0 1px 0 #fff}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:#ddd;background:#fafafa;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-tab-bottom>li>a{border-radius:0 0 4px 4px}@media (min-width:768px){.uk-tab-left>li>a{border-radius:4px 0 0 4px}.uk-tab-right>li>a{border-radius:0 4px 4px 0}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px;border-bottom:1px solid #ddd}.uk-list-striped>li:nth-of-type(odd){background:#fafafa}.uk-list-space>li:nth-child(n+2){margin-top:10px}.uk-list-striped>li:first-child{border-top:1px solid #ddd}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px;border-bottom:1px solid #ddd}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#f0f0f0}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#fafafa}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#f0f0f0}.uk-form input,.uk-form select,.uk-form textarea{box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all .2s linear;-webkit-transition-property:border,background,color,box-shadow,padding;transition:all .2s linear;transition-property:border,background,color,box-shadow,padding;border-radius:4px}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#fafafa;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;box-sizing:border-box;padding:0 12px;background:#f7f7f7;vertical-align:middle;line-height:28px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);border-radius:4px;text-shadow:0 1px 0 #fff}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#fafafa;color:#444;outline:0;text-decoration:none;background-image:none}.uk-button.uk-active,.uk-button:active{background-color:#f5f5f5;color:#444;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.3);background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-button-primary{background-color:#009dd8;color:#fff;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#00aff2;color:#fff;background-image:none}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#008abf;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button-success{background-color:#82bb42;color:#fff;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-success:focus,.uk-button-success:hover{background-color:#8fce48;color:#fff;background-image:none}.uk-button-success.uk-active,.uk-button-success:active{background-color:#76b430;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button-danger{background-color:#d32c46;color:#fff;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39);border-color:rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.4);text-shadow:0 -1px 0 rgba(0,0,0,.2)}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e33551;color:#fff;background-image:none}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91c37;color:#fff;background-image:none;border-color:rgba(0,0,0,.2);border-top-color:rgba(0,0,0,.4);box-shadow:inset 0 2px 4px rgba(0,0,0,.2)}.uk-button:disabled{background-color:#fafafa;color:#999;border-color:rgba(0,0,0,.2);background-image:none;box-shadow:none;text-shadow:0 1px 0 #fff}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0;box-shadow:none;text-shadow:none}.uk-button-link{color:#07D}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:18px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:23px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:38px;font-size:16px;border-radius:5px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}.uk-button-group>.uk-button:not(:first-child):not(:last-child),.uk-button-group>div:not(:first-child):not(:last-child) .uk-button{border-radius:0}.uk-button-group>.uk-button:first-child,.uk-button-group>div:first-child .uk-button{border-top-right-radius:0;border-bottom-right-radius:0}.uk-button-group>.uk-button:last-child,.uk-button-group>div:last-child .uk-button{border-top-left-radius:0;border-bottom-left-radius:0}.uk-button-group>.uk-button:nth-child(n+2),.uk-button-group>div:nth-child(n+2) .uk-button{margin-left:-1px}.uk-button-group .uk-button.uk-active,.uk-button-group .uk-button:active,.uk-button-group .uk-button:hover{position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.woff2) format('woff2'),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#f7f7f7;line-height:35px;color:#444;font-size:18px;text-align:center;border:1px solid #ccc;border-bottom-color:#bbb;background-origin:border-box;background-image:-webkit-linear-gradient(top,#fff,#eee);background-image:linear-gradient(to bottom,#fff,#eee);text-shadow:0 1px 0 #fff}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#fafafa;color:#444;outline:0;background-image:none}.uk-icon-button:active{background-color:#f5f5f5;color:#444;border-color:#ccc;border-top-color:#bbb;background-image:none;box-shadow:inset 0 2px 4px rgba(0,0,0,.1)}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-icon-500px:before{content:"\f26e"}.uk-icon-amazon:before{content:"\f270"}.uk-icon-balance-scale:before{content:"\f24e"}.uk-icon-battery-0:before,.uk-icon-battery-empty:before{content:"\f244"}.uk-icon-battery-1:before,.uk-icon-battery-quarter:before{content:"\f243"}.uk-icon-battery-2:before,.uk-icon-battery-half:before{content:"\f242"}.uk-icon-battery-3:before,.uk-icon-battery-three-quarters:before{content:"\f241"}.uk-icon-battery-4:before,.uk-icon-battery-full:before{content:"\f240"}.uk-icon-black-tie:before{content:"\f27e"}.uk-icon-calendar-check-o:before{content:"\f274"}.uk-icon-calendar-minus-o:before{content:"\f272"}.uk-icon-calendar-plus-o:before{content:"\f271"}.uk-icon-calendar-times-o:before{content:"\f273"}.uk-icon-cc-diners-club:before{content:"\f24c"}.uk-icon-cc-jcb:before{content:"\f24b"}.uk-icon-chrome:before{content:"\f268"}.uk-icon-clone:before{content:"\f24d"}.uk-icon-commenting:before{content:"\f27a"}.uk-icon-commenting-o:before{content:"\f27b"}.uk-icon-contao:before{content:"\f26d"}.uk-icon-creative-commons:before{content:"\f25e"}.uk-icon-expeditedssl:before{content:"\f23e"}.uk-icon-firefox:before{content:"\f269"}.uk-icon-fonticons:before{content:"\f280"}.uk-icon-get-pocket:before{content:"\f265"}.uk-icon-gg:before{content:"\f260"}.uk-icon-gg-circle:before{content:"\f261"}.uk-icon-hand-lizard-o:before{content:"\f258"}.uk-icon-hand-paper-o:before,.uk-icon-hand-stop-o:before{content:"\f256"}.uk-icon-hand-peace-o:before{content:"\f25b"}.uk-icon-hand-pointer-o:before{content:"\f25a"}.uk-icon-hand-grab-o:before,.uk-icon-hand-rock-o:before{content:"\f255"}.uk-icon-hand-scissors-o:before{content:"\f257"}.uk-icon-hand-spock-o:before{content:"\f259"}.uk-icon-hourglass:before{content:"\f254"}.uk-icon-hourglass-o:before{content:"\f250"}.uk-icon-hourglass-1:before,.uk-icon-hourglass-start:before{content:"\f251"}.uk-icon-hourglass-2:before,.uk-icon-hourglass-half:before{content:"\f252"}.uk-icon-hourglass-3:before,.uk-icon-hourglass-end:before{content:"\f253"}.uk-icon-houzz:before{content:"\f27c"}.uk-icon-i-cursor:before{content:"\f246"}.uk-icon-industry:before{content:"\f275"}.uk-icon-internet-explorer:before{content:"\f26b"}.uk-icon-map:before{content:"\f279"}.uk-icon-map-o:before{content:"\f278"}.uk-icon-map-pin:before{content:"\f276"}.uk-icon-map-signs:before{content:"\f277"}.uk-icon-mouse-pointer:before{content:"\f245"}.uk-icon-object-group:before{content:"\f247"}.uk-icon-object-ungroup:before{content:"\f248"}.uk-icon-odnoklassniki:before{content:"\f263"}.uk-icon-odnoklassniki-square:before{content:"\f264"}.uk-icon-opencart:before{content:"\f23d"}.uk-icon-opera:before{content:"\f26a"}.uk-icon-optin-monster:before{content:"\f23c"}.uk-icon-registered:before{content:"\f25d"}.uk-icon-safari:before{content:"\f267"}.uk-icon-sticky-note:before{content:"\f249"}.uk-icon-sticky-note-o:before{content:"\f24a"}.uk-icon-television:before,.uk-icon-tv:before{content:"\f26c"}.uk-icon-trademark:before{content:"\f25c"}.uk-icon-tripadvisor:before{content:"\f262"}.uk-icon-vimeo:before{content:"\f27d"}.uk-icon-wikipedia-w:before{content:"\f266"}.uk-icon-y-combinator:before,.uk-icon-yc:before{content:"\f23b"}.uk-icon-y-combinator-square:before,.uk-icon-yc-square:before{content:"\f1d4"}.uk-icon-bluetooth:before{content:"\f293"}.uk-icon-bluetooth-b:before{content:"\f294"}.uk-icon-codiepie:before{content:"\f284"}.uk-icon-credit-card-alt:before{content:"\f283"}.uk-icon-edge:before{content:"\f282"}.uk-icon-fort-awesome:before{content:"\f286"}.uk-icon-hashtag:before{content:"\f292"}.uk-icon-mixcloud:before{content:"\f289"}.uk-icon-modx:before{content:"\f285"}.uk-icon-pause-circle:before{content:"\f28b"}.uk-icon-pause-circle-o:before{content:"\f28c"}.uk-icon-percent:before{content:"\f295"}.uk-icon-product-hunt:before{content:"\f288"}.uk-icon-reddit-alien:before{content:"\f281"}.uk-icon-scribd:before{content:"\f28a"}.uk-icon-shopping-bag:before{content:"\f290"}.uk-icon-shopping-basket:before{content:"\f291"}.uk-icon-stop-circle:before{content:"\f28d"}.uk-icon-stop-circle-o:before{content:"\f28e"}.uk-icon-usb:before{content:"\f287"}.uk-icon-american-sign-language-interpreting:before,.uk-icon-asl-interpreting:before{content:"\f2a3"}.uk-icon-assistive-listening-systems:before{content:"\f2a2"}.uk-icon-audio-description:before{content:"\f29e"}.uk-icon-blind:before{content:"\f29d"}.uk-icon-braille:before{content:"\f2a1"}.uk-icon-deaf:before{content:"\f2a4"}.uk-icon-deafness:before{content:"\f2a4"}.uk-icon-envira:before{content:"\f299"}.uk-icon-gitlab:before{content:"\f296"}.uk-icon-glide:before{content:"\f2a5"}.uk-icon-glide-g:before{content:"\f2a6"}.uk-icon-hard-of-hearing:before{content:"\f2a4"}.uk-icon-low-vision:before{content:"\f2a8"}.uk-icon-question-circle-o:before{content:"\f29c"}.uk-icon-sign-language:before,.uk-icon-signing:before{content:"\f2a7"}.uk-icon-snapchat:before{content:"\f2ab"}.uk-icon-snapchat-ghost:before{content:"\f2ac"}.uk-icon-snapchat-square:before{content:"\f2ad"}.uk-icon-universal-access:before{content:"\f29a"}.uk-icon-viadeo:before{content:"\f2a9"}.uk-icon-viadeo-square:before{content:"\f2aa"}.uk-icon-volume-control-phone:before{content:"\f2a0"}.uk-icon-wheelchair-alt:before{content:"\f29b"}.uk-icon-wpbeginner:before{content:"\f297"}.uk-icon-wpforms:before{content:"\f298"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#fff;opacity:1;box-shadow:0 0 0 1px rgba(0,0,0,.1),0 0 6px rgba(0,0,0,.3)}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#009dd8;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none;border:1px solid rgba(0,0,0,.2);border-bottom-color:rgba(0,0,0,.3);background-origin:border-box;background-image:-webkit-linear-gradient(top,#00b4f5,#008dc5);background-image:linear-gradient(to bottom,#00b4f5,#008dc5);border-radius:2px;text-shadow:0 -1px 0 rgba(0,0,0,.2)}a.uk-badge:hover{color:#fff}.uk-badge-notification{box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#82bb42;background-image:-webkit-linear-gradient(top,#9fd256,#6fac34);background-image:linear-gradient(to bottom,#9fd256,#6fac34)}.uk-badge-warning{background-color:#f9a124;background-image:-webkit-linear-gradient(top,#fbb450,#f89406);background-image:linear-gradient(to bottom,#fbb450,#f89406)}.uk-badge-danger{background-color:#d32c46;background-image:-webkit-linear-gradient(top,#ee465a,#c11a39);background-image:linear-gradient(to bottom,#ee465a,#c11a39)}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091;border:1px solid rgba(45,112,145,.3);border-radius:4px;text-shadow:0 1px 0 #fff}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13;border-color:rgba(101,159,19,.3)}.uk-alert-warning{background:#fffceb;color:#e28327;border-color:rgba(226,131,39,.3)}.uk-alert-danger{background:#fff1f0;color:#d85030;border-color:rgba(216,80,48,.3)}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.05)}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0;box-shadow:0 1px 4px rgba(0,0,0,.3)}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity,transform,filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover.uk-hover .uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover.uk-hover .uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover.uk-hover .uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover.uk-hover .uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover.uk-hover [class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-column-]{-webkit-column-gap:25px;-moz-column-gap:25px;column-gap:25px}.uk-column-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}@media (min-width:480px){.uk-column-small-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-small-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-small-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-small-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-small-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:768px){.uk-column-medium-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-medium-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-medium-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-medium-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-medium-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:960px){.uk-column-large-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-large-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-large-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-large-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-large-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:1220px){.uk-column-xlarge-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-xlarge-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-xlarge-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-xlarge-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-xlarge-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown,.uk-dropdown-blank{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:200px}.uk-dropdown{padding:15px;background:#fff;color:#444;font-size:1rem;vertical-align:top;border:1px solid #cbcbcb;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.uk-open>.uk-dropdown,.uk-open>.uk-dropdown-blank{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-top{margin-top:-5px}.uk-dropdown-bottom{margin-top:5px}.uk-dropdown-left{margin-left:-5px}.uk-dropdown-right{margin-left:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:6px;background:#fff;color:#444;left:-1px;box-shadow:0 2px 5px rgba(0,0,0,.1)}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-dropdown-navbar.uk-dropdown-flip{left:auto}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out;border-radius:4px;box-shadow:0 0 10px rgba(0,0,0,.3)}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);min-height:50px;border-radius:0}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}.uk-modal-dialog-blank{margin:0;padding:0;width:100%;max-width:100%;-webkit-transition:opacity .3s linear;transition:opacity .3s linear}.uk-modal-dialog-blank>.uk-close:first-child{position:absolute;top:20px;right:20px;z-index:1;margin:0;float:none}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px;margin:-20px -20px 15px -20px;padding:20px;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0;background:#fafafa}.uk-modal-footer{margin-top:15px;margin:15px -20px -20px -20px;padding:20px;border-top:1px solid #ddd;border-radius:0 0 4px 4px;background:#fafafa}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";display:block;font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777;text-shadow:0 1px 0 rgba(0,0,0,.5)}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-offcanvas-bar:after{content:"";display:block;position:absolute;top:0;bottom:0;right:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-offcanvas-bar-flip:after{right:auto;left:0;width:1px;background:rgba(0,0,0,.6);box-shadow:0 0 5px 2px rgba(0,0,0,.6)}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;float:left}.uk-align-medium-right{margin-left:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both;border-radius:3px}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;left:0;right:0}.uk-position-bottom{bottom:0;left:0;right:0}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important;max-width:100%}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px) and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1)}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff;text-shadow:none}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444;text-shadow:none}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-tab{border-bottom-color:rgba(255,255,255,.2)}.uk-contrast .uk-tab>li>a{border-color:transparent;color:rgba(255,255,255,.7);text-shadow:none}.uk-contrast .uk-tab>li.uk-open>a,.uk-contrast .uk-tab>li>a:focus,.uk-contrast .uk-tab>li>a:hover{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-tab>li.uk-active>a{border-color:rgba(255,255,255,.2);border-bottom-color:transparent;background:#fff;color:#444}.uk-contrast .uk-tab-center{border-bottom-color:rgba(255,255,255,.2)}.uk-contrast .uk-tab-grid:before{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff;border-color:transparent}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444;box-shadow:none}.uk-contrast .uk-button-primary{background-color:#009dd8;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#00aff2;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#008abf;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444;border-color:transparent}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444;border-color:transparent}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444;box-shadow:none}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file | ||
| diff --git a/css/uikit.min.css b/css/uikit.min.css new file mode 100755 index 0000000..9b326d8 --- /dev/null +++ b/css/uikit.min.css | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | html{font:400 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;background:#fff;color:#444}body{margin:0}a{background:0 0}a:active,a:hover{outline:0}.uk-link,a{color:#07D;text-decoration:none;cursor:pointer}.uk-link:hover,a:hover{color:#059;text-decoration:underline}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}:not(pre)>code,:not(pre)>kbd,:not(pre)>samp{font-size:12px;font-family:Consolas,monospace,serif;color:#D05;white-space:nowrap}em{color:#D05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}q{font-style:italic}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}audio,canvas,iframe,img,svg,video{vertical-align:middle}audio,canvas,img,svg,video{max-width:100%;height:auto;box-sizing:border-box}.uk-img-preserve,.uk-img-preserve audio,.uk-img-preserve canvas,.uk-img-preserve img,.uk-img-preserve svg,.uk-img-preserve video{max-width:none}img{border:0}svg:not(:root){overflow:hidden}blockquote,figure{margin:0}address,blockquote,dl,fieldset,figure,ol,p,pre,ul{margin:0 0 15px 0}*+address,*+blockquote,*+dl,*+fieldset,*+figure,*+ol,*+p,*+pre,*+ul{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}.uk-h1,h1{font-size:36px;line-height:42px}.uk-h2,h2{font-size:24px;line-height:30px}.uk-h3,h3{font-size:18px;line-height:24px}.uk-h4,h4{font-size:16px;line-height:22px}.uk-h5,h5{font-size:14px;line-height:20px}.uk-h6,h6{font-size:12px;line-height:18px}ol,ul{padding-left:30px}ol>li>ol,ol>li>ul,ul>li>ol,ul>li>ul{margin:0}dt{font-weight:700}dd{margin-left:0}hr{box-sizing:content-box;height:0;margin:15px 0;border:0;border-top:1px solid #ddd}address{font-style:normal}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px;font-style:italic}pre{padding:10px;background:#f5f5f5;font:12px/18px Consolas,monospace,serif;color:#444;-moz-tab-size:4;tab-size:4;overflow:auto}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}progress{vertical-align:baseline}audio:not([controls]){display:none}[hidden],template{display:none}iframe{border:0}@media screen and (max-width:400px){@-ms-viewport{width:device-width}}.uk-grid{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0;list-style:none}.uk-grid:after,.uk-grid:before{content:"";display:block;overflow:hidden}.uk-grid:after{clear:both}.uk-grid>*{-ms-flex:none;-webkit-flex:none;flex:none;margin:0;float:left}.uk-grid>*>:last-child{margin-bottom:0}.uk-grid{margin-left:-25px}.uk-grid>*{padding-left:25px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:25px}@media (min-width:1220px){.uk-grid{margin-left:-35px}.uk-grid>*{padding-left:35px}.uk-grid+.uk-grid,.uk-grid-margin,.uk-grid>*>.uk-panel+.uk-panel{margin-top:35px}}.uk-grid-collapse{margin-left:0}.uk-grid-collapse>*{padding-left:0}.uk-grid-collapse+.uk-grid-collapse,.uk-grid-collapse>*>.uk-panel+.uk-panel,.uk-grid-collapse>.uk-grid-margin{margin-top:0}.uk-grid-small{margin-left:-10px}.uk-grid-small>*{padding-left:10px}.uk-grid-small+.uk-grid-small,.uk-grid-small>*>.uk-panel+.uk-panel,.uk-grid-small>.uk-grid-margin{margin-top:10px}.uk-grid-medium{margin-left:-25px}.uk-grid-medium>*{padding-left:25px}.uk-grid-medium+.uk-grid-medium,.uk-grid-medium>*>.uk-panel+.uk-panel,.uk-grid-medium>.uk-grid-margin{margin-top:25px}@media (min-width:960px){.uk-grid-large{margin-left:-35px}.uk-grid-large>*{padding-left:35px}.uk-grid-large+.uk-grid-large,.uk-grid-large-margin,.uk-grid-large>*>.uk-panel+.uk-panel{margin-top:35px}}@media (min-width:1220px){.uk-grid-large{margin-left:-50px}.uk-grid-large>*{padding-left:50px}.uk-grid-large+.uk-grid-large,.uk-grid-large-margin,.uk-grid-large>*>.uk-panel+.uk-panel{margin-top:50px}}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider>*{padding-left:25px;padding-right:25px}.uk-grid-divider>[class*=uk-width-9-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-1-]:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider>[class*=uk-width-2-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-3-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-4-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-5-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-6-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-7-]:nth-child(n+2),.uk-grid-divider>[class*=uk-width-8-]:nth-child(n+2){border-left:1px solid #ddd}@media (min-width:768px){.uk-grid-divider>[class*=uk-width-medium-]:not(.uk-width-medium-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:960px){.uk-grid-divider>[class*=uk-width-large-]:not(.uk-width-large-1-1):nth-child(n+2){border-left:1px solid #ddd}}@media (min-width:1220px){.uk-grid-divider:not(:empty){margin-left:-35px;margin-right:-35px}.uk-grid-divider>*{padding-left:35px;padding-right:35px}.uk-grid-divider:empty{margin-top:35px;margin-bottom:35px}}.uk-grid-divider:empty{margin-top:25px;margin-bottom:25px;border-top:1px solid #ddd}.uk-grid-match>*{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-grid-match>*>*{-ms-flex:none;-webkit-flex:none;flex:none;box-sizing:border-box;width:100%}[class*=uk-grid-width]>*{box-sizing:border-box;width:100%}.uk-grid-width-1-2>*{width:50%}.uk-grid-width-1-3>*{width:33.333%}.uk-grid-width-1-4>*{width:25%}.uk-grid-width-1-5>*{width:20%}.uk-grid-width-1-6>*{width:16.666%}.uk-grid-width-1-10>*{width:10%}.uk-grid-width-auto>*{width:auto}@media (min-width:480px){.uk-grid-width-small-1-1>*{width:100%}.uk-grid-width-small-1-2>*{width:50%}.uk-grid-width-small-1-3>*{width:33.333%}.uk-grid-width-small-1-4>*{width:25%}.uk-grid-width-small-1-5>*{width:20%}.uk-grid-width-small-1-6>*{width:16.666%}.uk-grid-width-small-1-10>*{width:10%}}@media (min-width:768px){.uk-grid-width-medium-1-1>*{width:100%}.uk-grid-width-medium-1-2>*{width:50%}.uk-grid-width-medium-1-3>*{width:33.333%}.uk-grid-width-medium-1-4>*{width:25%}.uk-grid-width-medium-1-5>*{width:20%}.uk-grid-width-medium-1-6>*{width:16.666%}.uk-grid-width-medium-1-10>*{width:10%}}@media (min-width:960px){.uk-grid-width-large-1-1>*{width:100%}.uk-grid-width-large-1-2>*{width:50%}.uk-grid-width-large-1-3>*{width:33.333%}.uk-grid-width-large-1-4>*{width:25%}.uk-grid-width-large-1-5>*{width:20%}.uk-grid-width-large-1-6>*{width:16.666%}.uk-grid-width-large-1-10>*{width:10%}}@media (min-width:1220px){.uk-grid-width-xlarge-1-1>*{width:100%}.uk-grid-width-xlarge-1-2>*{width:50%}.uk-grid-width-xlarge-1-3>*{width:33.333%}.uk-grid-width-xlarge-1-4>*{width:25%}.uk-grid-width-xlarge-1-5>*{width:20%}.uk-grid-width-xlarge-1-6>*{width:16.666%}.uk-grid-width-xlarge-1-10>*{width:10%}}[class*=uk-width]{box-sizing:border-box;width:100%}.uk-width-1-1{width:100%}.uk-width-1-2,.uk-width-2-4,.uk-width-3-6,.uk-width-5-10{width:50%}.uk-width-1-3,.uk-width-2-6{width:33.333%}.uk-width-2-3,.uk-width-4-6{width:66.666%}.uk-width-1-4{width:25%}.uk-width-3-4{width:75%}.uk-width-1-5,.uk-width-2-10{width:20%}.uk-width-2-5,.uk-width-4-10{width:40%}.uk-width-3-5,.uk-width-6-10{width:60%}.uk-width-4-5,.uk-width-8-10{width:80%}.uk-width-1-6{width:16.666%}.uk-width-5-6{width:83.333%}.uk-width-1-10{width:10%}.uk-width-3-10{width:30%}.uk-width-7-10{width:70%}.uk-width-9-10{width:90%}@media (min-width:480px){.uk-width-small-1-1{width:100%}.uk-width-small-1-2,.uk-width-small-2-4,.uk-width-small-3-6,.uk-width-small-5-10{width:50%}.uk-width-small-1-3,.uk-width-small-2-6{width:33.333%}.uk-width-small-2-3,.uk-width-small-4-6{width:66.666%}.uk-width-small-1-4{width:25%}.uk-width-small-3-4{width:75%}.uk-width-small-1-5,.uk-width-small-2-10{width:20%}.uk-width-small-2-5,.uk-width-small-4-10{width:40%}.uk-width-small-3-5,.uk-width-small-6-10{width:60%}.uk-width-small-4-5,.uk-width-small-8-10{width:80%}.uk-width-small-1-6{width:16.666%}.uk-width-small-5-6{width:83.333%}.uk-width-small-1-10{width:10%}.uk-width-small-3-10{width:30%}.uk-width-small-7-10{width:70%}.uk-width-small-9-10{width:90%}}@media (min-width:768px){.uk-width-medium-1-1{width:100%}.uk-width-medium-1-2,.uk-width-medium-2-4,.uk-width-medium-3-6,.uk-width-medium-5-10{width:50%}.uk-width-medium-1-3,.uk-width-medium-2-6{width:33.333%}.uk-width-medium-2-3,.uk-width-medium-4-6{width:66.666%}.uk-width-medium-1-4{width:25%}.uk-width-medium-3-4{width:75%}.uk-width-medium-1-5,.uk-width-medium-2-10{width:20%}.uk-width-medium-2-5,.uk-width-medium-4-10{width:40%}.uk-width-medium-3-5,.uk-width-medium-6-10{width:60%}.uk-width-medium-4-5,.uk-width-medium-8-10{width:80%}.uk-width-medium-1-6{width:16.666%}.uk-width-medium-5-6{width:83.333%}.uk-width-medium-1-10{width:10%}.uk-width-medium-3-10{width:30%}.uk-width-medium-7-10{width:70%}.uk-width-medium-9-10{width:90%}}@media (min-width:960px){.uk-width-large-1-1{width:100%}.uk-width-large-1-2,.uk-width-large-2-4,.uk-width-large-3-6,.uk-width-large-5-10{width:50%}.uk-width-large-1-3,.uk-width-large-2-6{width:33.333%}.uk-width-large-2-3,.uk-width-large-4-6{width:66.666%}.uk-width-large-1-4{width:25%}.uk-width-large-3-4{width:75%}.uk-width-large-1-5,.uk-width-large-2-10{width:20%}.uk-width-large-2-5,.uk-width-large-4-10{width:40%}.uk-width-large-3-5,.uk-width-large-6-10{width:60%}.uk-width-large-4-5,.uk-width-large-8-10{width:80%}.uk-width-large-1-6{width:16.666%}.uk-width-large-5-6{width:83.333%}.uk-width-large-1-10{width:10%}.uk-width-large-3-10{width:30%}.uk-width-large-7-10{width:70%}.uk-width-large-9-10{width:90%}}@media (min-width:1220px){.uk-width-xlarge-1-1{width:100%}.uk-width-xlarge-1-2,.uk-width-xlarge-2-4,.uk-width-xlarge-3-6,.uk-width-xlarge-5-10{width:50%}.uk-width-xlarge-1-3,.uk-width-xlarge-2-6{width:33.333%}.uk-width-xlarge-2-3,.uk-width-xlarge-4-6{width:66.666%}.uk-width-xlarge-1-4{width:25%}.uk-width-xlarge-3-4{width:75%}.uk-width-xlarge-1-5,.uk-width-xlarge-2-10{width:20%}.uk-width-xlarge-2-5,.uk-width-xlarge-4-10{width:40%}.uk-width-xlarge-3-5,.uk-width-xlarge-6-10{width:60%}.uk-width-xlarge-4-5,.uk-width-xlarge-8-10{width:80%}.uk-width-xlarge-1-6{width:16.666%}.uk-width-xlarge-5-6{width:83.333%}.uk-width-xlarge-1-10{width:10%}.uk-width-xlarge-3-10{width:30%}.uk-width-xlarge-7-10{width:70%}.uk-width-xlarge-9-10{width:90%}}@media (min-width:768px){[class*=uk-push-],[class*=uk-pull-]{position:relative}.uk-push-1-2,.uk-push-2-4,.uk-push-3-6,.uk-push-5-10{left:50%}.uk-push-1-3,.uk-push-2-6{left:33.333%}.uk-push-2-3,.uk-push-4-6{left:66.666%}.uk-push-1-4{left:25%}.uk-push-3-4{left:75%}.uk-push-1-5,.uk-push-2-10{left:20%}.uk-push-2-5,.uk-push-4-10{left:40%}.uk-push-3-5,.uk-push-6-10{left:60%}.uk-push-4-5,.uk-push-8-10{left:80%}.uk-push-1-6{left:16.666%}.uk-push-5-6{left:83.333%}.uk-push-1-10{left:10%}.uk-push-3-10{left:30%}.uk-push-7-10{left:70%}.uk-push-9-10{left:90%}.uk-pull-1-2,.uk-pull-2-4,.uk-pull-3-6,.uk-pull-5-10{left:-50%}.uk-pull-1-3,.uk-pull-2-6{left:-33.333%}.uk-pull-2-3,.uk-pull-4-6{left:-66.666%}.uk-pull-1-4{left:-25%}.uk-pull-3-4{left:-75%}.uk-pull-1-5,.uk-pull-2-10{left:-20%}.uk-pull-2-5,.uk-pull-4-10{left:-40%}.uk-pull-3-5,.uk-pull-6-10{left:-60%}.uk-pull-4-5,.uk-pull-8-10{left:-80%}.uk-pull-1-6{left:-16.666%}.uk-pull-5-6{left:-83.333%}.uk-pull-1-10{left:-10%}.uk-pull-3-10{left:-30%}.uk-pull-7-10{left:-70%}.uk-pull-9-10{left:-90%}}.uk-panel{display:block;position:relative}.uk-panel,.uk-panel:hover{text-decoration:none}.uk-panel:after,.uk-panel:before{content:"";display:table}.uk-panel:after{clear:both}.uk-panel>:not(.uk-panel-title):last-child{margin-bottom:0}.uk-panel-title{margin-top:0;margin-bottom:15px;font-size:18px;line-height:24px;font-weight:400;text-transform:none;color:#444}.uk-panel-badge{position:absolute;top:0;right:0;z-index:1}.uk-panel-teaser{margin-bottom:15px}.uk-panel-body{padding:15px}.uk-panel-box{padding:15px;background:#f5f5f5;color:#444}.uk-panel-box-hover:hover{color:#444}.uk-panel-box .uk-panel-title{color:#444}.uk-panel-box .uk-panel-badge{top:10px;right:10px}.uk-panel-box>.uk-panel-teaser{margin-top:-15px;margin-left:-15px;margin-right:-15px}.uk-panel-box>.uk-nav-side{margin:0 -15px}.uk-panel-box-primary{background-color:#ebf7fd;color:#2d7091}.uk-panel-box-primary-hover:hover{color:#2d7091}.uk-panel-box-primary .uk-panel-title{color:#2d7091}.uk-panel-box-secondary{background-color:#eee;color:#444}.uk-panel-box-secondary-hover:hover{color:#444}.uk-panel-box-secondary .uk-panel-title{color:#444}.uk-panel-hover{padding:15px;color:#444}.uk-panel-hover:hover{background:#f5f5f5;color:#444}.uk-panel-hover .uk-panel-badge{top:10px;right:10px}.uk-panel-hover>.uk-panel-teaser{margin-top:-15px;margin-left:-15px;margin-right:-15px}.uk-panel-header .uk-panel-title{padding-bottom:10px;border-bottom:1px solid #ddd;color:#444}.uk-panel-space{padding:30px}.uk-panel-space .uk-panel-badge{top:30px;right:30px}.uk-panel+.uk-panel-divider{margin-top:50px!important}.uk-panel+.uk-panel-divider:before{content:"";display:block;position:absolute;top:-25px;left:0;right:0;border-top:1px solid #ddd}@media (min-width:1220px){.uk-panel+.uk-panel-divider{margin-top:70px!important}.uk-panel+.uk-panel-divider:before{top:-35px}}.uk-block{position:relative;box-sizing:border-box;padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block{padding-top:50px;padding-bottom:50px}}.uk-block:after,.uk-block:before{content:"";display:table}.uk-block:after{clear:both}.uk-block>:last-child{margin-bottom:0}.uk-block-large{padding-top:20px;padding-bottom:20px}@media (min-width:768px){.uk-block-large{padding-top:50px;padding-bottom:50px}}@media (min-width:960px){.uk-block-large{padding-top:100px;padding-bottom:100px}}.uk-block-default{background:#fff}.uk-block-muted{background:#f9f9f9}.uk-block-primary{background:#00a8e6}.uk-block-secondary{background:#222}.uk-block-default+.uk-block-default,.uk-block-muted+.uk-block-muted,.uk-block-primary+.uk-block-primary,.uk-block-secondary+.uk-block-secondary{padding-top:0}.uk-article:after,.uk-article:before{content:"";display:table}.uk-article:after{clear:both}.uk-article>:last-child{margin-bottom:0}.uk-article+.uk-article{margin-top:25px}.uk-article-title{font-size:36px;line-height:42px;font-weight:400;text-transform:none}.uk-article-title a{color:inherit;text-decoration:none}.uk-article-meta{font-size:12px;line-height:18px;color:#999}.uk-article-lead{color:#444;font-size:18px;line-height:24px;font-weight:400}.uk-article-divider{margin-bottom:25px;border-color:#ddd}*+.uk-article-divider{margin-top:25px}.uk-comment-header{margin-bottom:15px}.uk-comment-header:after,.uk-comment-header:before{content:"";display:table}.uk-comment-header:after{clear:both}.uk-comment-avatar{margin-right:15px;float:left}.uk-comment-title{margin:5px 0 0 0;font-size:16px;line-height:22px}.uk-comment-meta{margin:2px 0 0 0;font-size:11px;line-height:16px;color:#999}.uk-comment-body>:last-child{margin-bottom:0}.uk-comment-list{padding:0;list-style:none}.uk-comment-list .uk-comment+ul{margin:15px 0 0 0;list-style:none}.uk-comment-list .uk-comment+ul>li:nth-child(n+2),.uk-comment-list>li:nth-child(n+2){margin-top:15px}@media (min-width:768px){.uk-comment-list .uk-comment+ul{padding-left:100px}}.uk-cover-background{background-position:50% 50%;background-size:cover;background-repeat:no-repeat}.uk-cover{overflow:hidden}.uk-cover-object{width:auto;height:auto;min-width:100%;min-height:100%;max-width:none;position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}[data-uk-cover]{position:relative;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.uk-nav,.uk-nav ul{margin:0;padding:0;list-style:none}.uk-nav li>a{display:block;text-decoration:none}.uk-nav>li>a{padding:5px 15px}.uk-nav ul{padding-left:15px}.uk-nav ul a{padding:2px 0}.uk-nav li>a>div{font-size:12px;line-height:18px}.uk-nav-header{padding:5px 15px;text-transform:uppercase;font-weight:700;font-size:12px}.uk-nav-header:not(:first-child){margin-top:15px}.uk-nav-divider{margin:9px 15px}ul.uk-nav-sub{padding:5px 0 5px 15px}.uk-nav-parent-icon>.uk-parent>a:after{content:"\f104";width:20px;margin-right:-10px;float:right;font-family:FontAwesome;text-align:center}.uk-nav-parent-icon>.uk-parent.uk-open>a:after{content:"\f107"}.uk-nav-side>li>a{color:#444}.uk-nav-side>li>a:focus,.uk-nav-side>li>a:hover{background:rgba(0,0,0,.05);color:#444;outline:0}.uk-nav-side>li.uk-active>a{background:#00a8e6;color:#fff}.uk-nav-side .uk-nav-header{color:#444}.uk-nav-side .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-side ul a{color:#07D}.uk-nav-side ul a:hover{color:#059}.uk-nav-dropdown>li>a{color:#444}.uk-nav-dropdown>li>a:focus,.uk-nav-dropdown>li>a:hover{background:#00a8e6;color:#fff;outline:0}.uk-nav-dropdown .uk-nav-header{color:#999}.uk-nav-dropdown .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-dropdown ul a{color:#07D}.uk-nav-dropdown ul a:hover{color:#059}.uk-nav-navbar>li>a{color:#444}.uk-nav-navbar>li>a:focus,.uk-nav-navbar>li>a:hover{background:#00a8e6;color:#fff;outline:0}.uk-nav-navbar .uk-nav-header{color:#999}.uk-nav-navbar .uk-nav-divider{border-top:1px solid #ddd}.uk-nav-navbar ul a{color:#07D}.uk-nav-navbar ul a:hover{color:#059}.uk-nav-offcanvas>li>a{color:#ccc;padding:10px 15px}.uk-nav-offcanvas>.uk-open>a,html:not(.uk-touch) .uk-nav-offcanvas>li>a:focus,html:not(.uk-touch) .uk-nav-offcanvas>li>a:hover{background:#404040;color:#fff;outline:0}html .uk-nav.uk-nav-offcanvas>li.uk-active>a{background:#1a1a1a;color:#fff}.uk-nav-offcanvas .uk-nav-header{color:#777}.uk-nav-offcanvas .uk-nav-divider{border-top:1px solid #1a1a1a}.uk-nav-offcanvas ul a{color:#ccc}html:not(.uk-touch) .uk-nav-offcanvas ul a:hover{color:#fff}.uk-navbar{background:#eee;color:#444}.uk-navbar:after,.uk-navbar:before{content:"";display:table}.uk-navbar:after{clear:both}.uk-navbar-nav{margin:0;padding:0;list-style:none;float:left}.uk-navbar-nav>li{float:left;position:relative}.uk-navbar-nav>li>a{display:block;box-sizing:border-box;text-decoration:none;height:40px;padding:0 15px;line-height:40px;color:#444;font-size:14px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400}.uk-navbar-nav>li>a[href='#']{cursor:text}.uk-navbar-nav>li.uk-open>a,.uk-navbar-nav>li:hover>a,.uk-navbar-nav>li>a:focus{background-color:#f5f5f5;color:#444;outline:0}.uk-navbar-nav>li>a:active{background-color:#ddd;color:#444}.uk-navbar-nav>li.uk-active>a{background-color:#f5f5f5;color:#444}.uk-navbar-nav .uk-navbar-nav-subtitle{line-height:28px}.uk-navbar-nav-subtitle>div{margin-top:-6px;font-size:10px;line-height:12px}.uk-navbar-brand,.uk-navbar-content,.uk-navbar-toggle{box-sizing:border-box;display:block;height:40px;padding:0 15px;float:left}.uk-navbar-brand:before,.uk-navbar-content:before,.uk-navbar-toggle:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-navbar-content+.uk-navbar-content:not(.uk-navbar-center){padding-left:0}.uk-navbar-content>a:not([class]){color:#07D}.uk-navbar-content>a:not([class]):hover{color:#059}.uk-navbar-brand{font-size:18px;color:#444;text-decoration:none}.uk-navbar-brand:focus,.uk-navbar-brand:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle{font-size:18px;color:#444;text-decoration:none}.uk-navbar-toggle:focus,.uk-navbar-toggle:hover{color:#444;text-decoration:none;outline:0}.uk-navbar-toggle:after{content:"\f0c9";font-family:FontAwesome;vertical-align:middle}.uk-navbar-toggle-alt:after{content:"\f002"}.uk-navbar-center{float:none;text-align:center;max-width:50%;margin-left:auto;margin-right:auto}.uk-navbar-flip{float:right}.uk-subnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-subnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px;position:relative}.uk-subnav:after,.uk-subnav:before{content:"";display:block;overflow:hidden}.uk-subnav:after{clear:both}.uk-subnav>*{float:left}.uk-subnav>*>*{display:inline-block;color:#444}.uk-subnav>*>:focus,.uk-subnav>*>:hover{color:#07D;text-decoration:none}.uk-subnav>.uk-active>*{color:#07D}.uk-subnav-line>:before{content:"";display:inline-block;height:10px;vertical-align:middle}.uk-subnav-line>:nth-child(n+2):before{margin-right:10px;border-left:1px solid #ddd}.uk-subnav-pill>*>*{padding:3px 9px}.uk-subnav-pill>*>:focus,.uk-subnav-pill>*>:hover{background:#eee;color:#444;text-decoration:none;outline:0}.uk-subnav-pill>.uk-active>*{background:#00a8e6;color:#fff}.uk-subnav>.uk-disabled>*{background:0 0;color:#999;text-decoration:none;cursor:text}.uk-breadcrumb{padding:0;list-style:none;font-size:0}.uk-breadcrumb>li{font-size:1rem;vertical-align:top}.uk-breadcrumb>li,.uk-breadcrumb>li>a,.uk-breadcrumb>li>span{display:inline-block}.uk-breadcrumb>li:nth-child(n+2):before{content:"/";display:inline-block;margin:0 8px}.uk-breadcrumb>li:not(.uk-active)>span{color:#999}.uk-pagination{padding:0;list-style:none;text-align:center;font-size:0}.uk-pagination:after,.uk-pagination:before{content:"";display:table}.uk-pagination:after{clear:both}.uk-pagination>li{display:inline-block;font-size:1rem;vertical-align:top}.uk-pagination>li:nth-child(n+2){margin-left:5px}.uk-pagination>li>a,.uk-pagination>li>span{display:inline-block;min-width:16px;padding:3px 5px;line-height:20px;text-decoration:none;box-sizing:content-box;text-align:center}.uk-pagination>li>a{background:#eee;color:#444}.uk-pagination>li>a:focus,.uk-pagination>li>a:hover{background-color:#f5f5f5;color:#444;outline:0}.uk-pagination>li>a:active{background-color:#ddd;color:#444}.uk-pagination>.uk-active>span{background:#00a8e6;color:#fff}.uk-pagination>.uk-disabled>span{background-color:#f5f5f5;color:#999}.uk-pagination-previous{float:left}.uk-pagination-next{float:right}.uk-pagination-left{text-align:left}.uk-pagination-right{text-align:right}.uk-tab{margin:0;padding:0;list-style:none;border-bottom:1px solid #ddd}.uk-tab:after,.uk-tab:before{content:"";display:table}.uk-tab:after{clear:both}.uk-tab>li{margin-bottom:-1px;float:left;position:relative}.uk-tab>li>a{display:block;padding:8px 12px 8px 12px;border:1px solid transparent;border-bottom-width:0;color:#07D;text-decoration:none}.uk-tab>li:nth-child(n+2)>a{margin-left:5px}.uk-tab>li.uk-open>a,.uk-tab>li>a:focus,.uk-tab>li>a:hover{border-color:#f5f5f5;background:#f5f5f5;color:#059;outline:0}.uk-tab>li.uk-open:not(.uk-active)>a,.uk-tab>li:not(.uk-active)>a:focus,.uk-tab>li:not(.uk-active)>a:hover{margin-bottom:1px;padding-bottom:7px}.uk-tab>li.uk-active>a{border-color:#ddd;border-bottom-color:transparent;background:#fff;color:#444}.uk-tab>li.uk-disabled>a{color:#999;cursor:text}.uk-tab>li.uk-disabled.uk-active>a,.uk-tab>li.uk-disabled>a:focus,.uk-tab>li.uk-disabled>a:hover{background:0 0;border-color:transparent}.uk-tab-flip>li{float:right}.uk-tab-flip>li:nth-child(n+2)>a{margin-left:0;margin-right:5px}.uk-tab>li.uk-tab-responsive>a{margin-left:0;margin-right:0}.uk-tab-responsive>a:before{content:"\f0c9\00a0";font-family:FontAwesome}.uk-tab-center{border-bottom:1px solid #ddd}.uk-tab-center-bottom{border-bottom:none;border-top:1px solid #ddd}.uk-tab-center:after,.uk-tab-center:before{content:"";display:table}.uk-tab-center:after{clear:both}.uk-tab-center .uk-tab{position:relative;right:50%;border:none;float:right}.uk-tab-center .uk-tab>li{position:relative;right:-50%}.uk-tab-center .uk-tab>li>a{text-align:center}.uk-tab-bottom{border-top:1px solid #ddd;border-bottom:none}.uk-tab-bottom>li{margin-top:-1px;margin-bottom:0}.uk-tab-bottom>li>a{padding-top:8px;padding-bottom:8px;border-bottom-width:1px;border-top-width:0}.uk-tab-bottom>li.uk-open:not(.uk-active)>a,.uk-tab-bottom>li:not(.uk-active)>a:focus,.uk-tab-bottom>li:not(.uk-active)>a:hover{margin-bottom:0;margin-top:1px;padding-bottom:8px;padding-top:7px}.uk-tab-bottom>li.uk-active>a{border-top-color:transparent;border-bottom-color:#ddd}.uk-tab-grid{margin-left:-5px;border-bottom:none;position:relative;z-index:0}.uk-tab-grid:before{display:block;position:absolute;left:5px;right:0;bottom:-1px;border-top:1px solid #ddd;z-index:-1}.uk-tab-grid>li:first-child>a{margin-left:5px}.uk-tab-grid>li>a{text-align:center}.uk-tab-grid.uk-tab-bottom{border-top:none}.uk-tab-grid.uk-tab-bottom:before{top:-1px;bottom:auto}@media (min-width:768px){.uk-tab-left,.uk-tab-right{border-bottom:none}.uk-tab-left>li,.uk-tab-right>li{margin-bottom:0;float:none}.uk-tab-left>li>a,.uk-tab-right>li>a{padding-top:8px;padding-bottom:8px}.uk-tab-left>li:nth-child(n+2)>a,.uk-tab-right>li:nth-child(n+2)>a{margin-left:0;margin-top:5px}.uk-tab-left>li.uk-active>a,.uk-tab-right>li.uk-active>a{border-color:#ddd}.uk-tab-left{border-right:1px solid #ddd}.uk-tab-left>li{margin-right:-1px}.uk-tab-left>li>a{border-bottom-width:1px;border-right-width:0}.uk-tab-left>li:not(.uk-active)>a:focus,.uk-tab-left>li:not(.uk-active)>a:hover{margin-bottom:0;margin-right:1px;padding-bottom:8px;padding-right:11px}.uk-tab-left>li.uk-active>a{border-right-color:transparent}.uk-tab-right{border-left:1px solid #ddd}.uk-tab-right>li{margin-left:-1px}.uk-tab-right>li>a{border-bottom-width:1px;border-left-width:0}.uk-tab-right>li:not(.uk-active)>a:focus,.uk-tab-right>li:not(.uk-active)>a:hover{margin-bottom:0;margin-left:1px;padding-bottom:8px;padding-left:11px}.uk-tab-right>li.uk-active>a{border-left-color:transparent}}.uk-thumbnav{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin-left:-10px;margin-top:-10px;padding:0;list-style:none}.uk-thumbnav>*{-ms-flex:none;-webkit-flex:none;flex:none;padding-left:10px;margin-top:10px}.uk-thumbnav:after,.uk-thumbnav:before{content:"";display:block;overflow:hidden}.uk-thumbnav:after{clear:both}.uk-thumbnav>*{float:left}.uk-thumbnav>*>*{display:block;background:#fff}.uk-thumbnav>*>*>img{opacity:.7;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.uk-thumbnav>*>:focus>img,.uk-thumbnav>*>:hover>img{opacity:1}.uk-thumbnav>.uk-active>*>img{opacity:1}.uk-list{padding:0;list-style:none}.uk-list>li:after,.uk-list>li:before{content:"";display:table}.uk-list>li:after{clear:both}.uk-list>li>:last-child{margin-bottom:0}.uk-list ul{margin:0;padding-left:20px;list-style:none}.uk-list-line>li:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-list-striped>li{padding:5px 5px}.uk-list-striped>li:nth-of-type(odd){background:#f5f5f5}.uk-list-space>li:nth-child(n+2){margin-top:10px}@media (min-width:768px){.uk-description-list-horizontal{overflow:hidden}.uk-description-list-horizontal>dt{width:160px;float:left;clear:both;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-description-list-horizontal>dd{margin-left:180px}}.uk-description-list-line>dt{font-weight:400}.uk-description-list-line>dt:nth-child(n+2){margin-top:5px;padding-top:5px;border-top:1px solid #ddd}.uk-description-list-line>dd{color:#999}.uk-table{border-collapse:collapse;border-spacing:0;width:100%;margin-bottom:15px}*+.uk-table{margin-top:15px}.uk-table td,.uk-table th{padding:8px 8px}.uk-table th{text-align:left}.uk-table td{vertical-align:top}.uk-table thead th{vertical-align:bottom}.uk-table caption,.uk-table tfoot{font-size:12px;font-style:italic}.uk-table caption{text-align:left;color:#999}.uk-table tbody tr.uk-active{background:#EEE}.uk-table-middle,.uk-table-middle td{vertical-align:middle!important}.uk-table-striped tbody tr:nth-of-type(odd){background:#f5f5f5}.uk-table-condensed td{padding:4px 8px}.uk-table-hover tbody tr:hover{background:#EEE}.uk-form input,.uk-form select,.uk-form textarea{box-sizing:border-box;margin:0;border-radius:0;font:inherit;color:inherit}.uk-form select{text-transform:none}.uk-form optgroup{font:inherit;font-weight:700}.uk-form input::-moz-focus-inner{border:0;padding:0}.uk-form input[type=checkbox],.uk-form input[type=radio]{padding:0}.uk-form input[type=checkbox]:not(:disabled),.uk-form input[type=radio]:not(:disabled){cursor:pointer}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form textarea{-webkit-appearance:none}.uk-form input[type=search]::-webkit-search-cancel-button,.uk-form input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.uk-form input[type=number]::-webkit-inner-spin-button,.uk-form input[type=number]::-webkit-outer-spin-button{height:auto}.uk-form fieldset{border:none;margin:0;padding:0}.uk-form textarea{overflow:auto;vertical-align:top}.uk-form ::-moz-placeholder{opacity:1}.uk-form :invalid{box-shadow:none}.uk-form input:not([type=radio]):not([type=checkbox]),.uk-form select{vertical-align:middle}.uk-form>:last-child{margin-bottom:0}.uk-form input:not([type]),.uk-form input[type=text],.uk-form input[type=password],.uk-form input[type=email],.uk-form input[type=url],.uk-form input[type=search],.uk-form input[type=tel],.uk-form input[type=number],.uk-form input[type=datetime],.uk-form input[type=datetime-local],.uk-form input[type=date],.uk-form input[type=month],.uk-form input[type=time],.uk-form input[type=week],.uk-form input[type=color],.uk-form select,.uk-form textarea{height:30px;max-width:100%;padding:4px 6px;border:1px solid #ddd;background:#fff;color:#444;-webkit-transition:all .2s linear;-webkit-transition-property:border,background,color,box-shadow,padding;transition:all .2s linear;transition-property:border,background,color,box-shadow,padding}.uk-form input:not([type]):focus,.uk-form input[type=text]:focus,.uk-form input[type=password]:focus,.uk-form input[type=email]:focus,.uk-form input[type=url]:focus,.uk-form input[type=search]:focus,.uk-form input[type=tel]:focus,.uk-form input[type=number]:focus,.uk-form input[type=datetime]:focus,.uk-form input[type=datetime-local]:focus,.uk-form input[type=date]:focus,.uk-form input[type=month]:focus,.uk-form input[type=time]:focus,.uk-form input[type=week]:focus,.uk-form input[type=color]:focus,.uk-form select:focus,.uk-form textarea:focus{border-color:#99baca;outline:0;background:#f5fbfe;color:#444}.uk-form input:not([type]):disabled,.uk-form input[type=text]:disabled,.uk-form input[type=password]:disabled,.uk-form input[type=email]:disabled,.uk-form input[type=url]:disabled,.uk-form input[type=search]:disabled,.uk-form input[type=tel]:disabled,.uk-form input[type=number]:disabled,.uk-form input[type=datetime]:disabled,.uk-form input[type=datetime-local]:disabled,.uk-form input[type=date]:disabled,.uk-form input[type=month]:disabled,.uk-form input[type=time]:disabled,.uk-form input[type=week]:disabled,.uk-form input[type=color]:disabled,.uk-form select:disabled,.uk-form textarea:disabled{border-color:#ddd;background-color:#f5f5f5;color:#999}.uk-form :-ms-input-placeholder{color:#999!important}.uk-form ::-moz-placeholder{color:#999}.uk-form ::-webkit-input-placeholder{color:#999}.uk-form :disabled:-ms-input-placeholder{color:#999!important}.uk-form :disabled::-moz-placeholder{color:#999}.uk-form :disabled::-webkit-input-placeholder{color:#999}.uk-form legend{width:100%;border:0;padding:0;padding-bottom:15px;font-size:18px;line-height:30px}.uk-form legend:after{content:"";display:block;border-bottom:1px solid #ddd;width:100%}input:not([type]).uk-form-small,input[type].uk-form-small,select.uk-form-small,textarea.uk-form-small{height:25px;padding:3px 3px;font-size:12px}input:not([type]).uk-form-large,input[type].uk-form-large,select.uk-form-large,textarea.uk-form-large{height:40px;padding:8px 6px;font-size:16px}.uk-form select[multiple],.uk-form select[size],.uk-form textarea{height:auto}.uk-form-danger{border-color:#dc8d99!important;background:#fff7f8!important;color:#d85030!important}.uk-form-success{border-color:#8ec73b!important;background:#fafff2!important;color:#659f13!important}.uk-form-blank{border-color:transparent!important;border-style:dashed!important;background:0 0!important}.uk-form-blank:focus{border-color:#ddd!important}input.uk-form-width-mini{width:40px}select.uk-form-width-mini{width:65px}.uk-form-width-small{width:130px}.uk-form-width-medium{width:200px}.uk-form-width-large{width:500px}.uk-form-row:after,.uk-form-row:before{content:"";display:table}.uk-form-row:after{clear:both}.uk-form-row+.uk-form-row{margin-top:15px}.uk-form-help-inline{display:inline-block;margin:0 0 0 10px}.uk-form-help-block{margin:5px 0 0 0}.uk-form-controls>:first-child{margin-top:0}.uk-form-controls>:last-child{margin-bottom:0}.uk-form-controls-condensed{margin:5px 0}.uk-form-stacked .uk-form-label{display:block;margin-bottom:5px;font-weight:700}@media (max-width:959px){.uk-form-horizontal .uk-form-label{display:block;margin-bottom:5px;font-weight:700}}@media (min-width:960px){.uk-form-horizontal .uk-form-label{width:200px;margin-top:5px;float:left}.uk-form-horizontal .uk-form-controls{margin-left:215px}.uk-form-horizontal .uk-form-controls-text{padding-top:5px}}.uk-form-icon{display:inline-block;position:relative;max-width:100%}.uk-form-icon>[class*=uk-icon-]{position:absolute;top:50%;width:30px;margin-top:-7px;font-size:14px;color:#999;text-align:center;pointer-events:none}.uk-form-icon:not(.uk-form-icon-flip)>input{padding-left:30px!important}.uk-form-icon-flip>[class*=uk-icon-]{right:0}.uk-form-icon-flip>input{padding-right:30px!important}.uk-button::-moz-focus-inner{border:0;padding:0}.uk-button{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:#444;text-transform:none;display:inline-block;box-sizing:border-box;padding:0 12px;background:#eee;vertical-align:middle;line-height:30px;min-height:30px;font-size:1rem;text-decoration:none;text-align:center}.uk-button:not(:disabled){cursor:pointer}.uk-button:focus,.uk-button:hover{background-color:#f5f5f5;color:#444;outline:0;text-decoration:none}.uk-button.uk-active,.uk-button:active{background-color:#ddd;color:#444}.uk-button-primary{background-color:#00a8e6;color:#fff}.uk-button-primary:focus,.uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-button-primary.uk-active,.uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-button-success{background-color:#8cc14c;color:#fff}.uk-button-success:focus,.uk-button-success:hover{background-color:#8ec73b;color:#fff}.uk-button-success.uk-active,.uk-button-success:active{background-color:#72ae41;color:#fff}.uk-button-danger{background-color:#da314b;color:#fff}.uk-button-danger:focus,.uk-button-danger:hover{background-color:#e4354f;color:#fff}.uk-button-danger.uk-active,.uk-button-danger:active{background-color:#c91032;color:#fff}.uk-button:disabled{background-color:#f5f5f5;color:#999}.uk-button-link,.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:disabled,.uk-button-link:focus,.uk-button-link:hover{border-color:transparent;background:0 0}.uk-button-link{color:#07D}.uk-button-link.uk-active,.uk-button-link:active,.uk-button-link:focus,.uk-button-link:hover{color:#059;text-decoration:underline}.uk-button-link:disabled{color:#999}.uk-button-link:focus{outline:1px dotted}.uk-button-mini{min-height:20px;padding:0 6px;line-height:20px;font-size:11px}.uk-button-small{min-height:25px;padding:0 10px;line-height:25px;font-size:12px}.uk-button-large{min-height:40px;padding:0 15px;line-height:40px;font-size:16px}.uk-button-group{display:inline-block;vertical-align:middle;position:relative;font-size:0;white-space:nowrap}.uk-button-group>*{display:inline-block}.uk-button-group .uk-button{vertical-align:top}.uk-button-dropdown{display:inline-block;vertical-align:middle;position:relative}@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.woff2) format('woff2'),url(../fonts/fontawesome-webfont.woff) format("woff"),url(../fonts/fontawesome-webfont.ttf) format("truetype");font-weight:400;font-style:normal}[class*=uk-icon-]{font-family:FontAwesome;display:inline-block;font-weight:400;font-style:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[class*=uk-icon-],[class*=uk-icon-]:focus,[class*=uk-icon-]:hover{text-decoration:none}.uk-icon-small{font-size:150%;vertical-align:-10%}.uk-icon-medium{font-size:200%;vertical-align:-16%}.uk-icon-large{font-size:250%;vertical-align:-22%}.uk-icon-justify{width:1em;text-align:center}.uk-icon-spin{display:inline-block;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-icon-hover{color:#999}.uk-icon-hover:hover{color:#444}.uk-icon-button{box-sizing:border-box;display:inline-block;width:35px;height:35px;border-radius:100%;background:#eee;line-height:35px;color:#444;font-size:18px;text-align:center}.uk-icon-button:focus,.uk-icon-button:hover{background-color:#f5f5f5;color:#444;outline:0}.uk-icon-button:active{background-color:#ddd;color:#444}.uk-icon-glass:before{content:"\f000"}.uk-icon-music:before{content:"\f001"}.uk-icon-search:before{content:"\f002"}.uk-icon-envelope-o:before{content:"\f003"}.uk-icon-heart:before{content:"\f004"}.uk-icon-star:before{content:"\f005"}.uk-icon-star-o:before{content:"\f006"}.uk-icon-user:before{content:"\f007"}.uk-icon-film:before{content:"\f008"}.uk-icon-th-large:before{content:"\f009"}.uk-icon-th:before{content:"\f00a"}.uk-icon-th-list:before{content:"\f00b"}.uk-icon-check:before{content:"\f00c"}.uk-icon-close:before,.uk-icon-remove:before,.uk-icon-times:before{content:"\f00d"}.uk-icon-search-plus:before{content:"\f00e"}.uk-icon-search-minus:before{content:"\f010"}.uk-icon-power-off:before{content:"\f011"}.uk-icon-signal:before{content:"\f012"}.uk-icon-cog:before,.uk-icon-gear:before{content:"\f013"}.uk-icon-trash-o:before{content:"\f014"}.uk-icon-home:before{content:"\f015"}.uk-icon-file-o:before{content:"\f016"}.uk-icon-clock-o:before{content:"\f017"}.uk-icon-road:before{content:"\f018"}.uk-icon-download:before{content:"\f019"}.uk-icon-arrow-circle-o-down:before{content:"\f01a"}.uk-icon-arrow-circle-o-up:before{content:"\f01b"}.uk-icon-inbox:before{content:"\f01c"}.uk-icon-play-circle-o:before{content:"\f01d"}.uk-icon-repeat:before,.uk-icon-rotate-right:before{content:"\f01e"}.uk-icon-refresh:before{content:"\f021"}.uk-icon-list-alt:before{content:"\f022"}.uk-icon-lock:before{content:"\f023"}.uk-icon-flag:before{content:"\f024"}.uk-icon-headphones:before{content:"\f025"}.uk-icon-volume-off:before{content:"\f026"}.uk-icon-volume-down:before{content:"\f027"}.uk-icon-volume-up:before{content:"\f028"}.uk-icon-qrcode:before{content:"\f029"}.uk-icon-barcode:before{content:"\f02a"}.uk-icon-tag:before{content:"\f02b"}.uk-icon-tags:before{content:"\f02c"}.uk-icon-book:before{content:"\f02d"}.uk-icon-bookmark:before{content:"\f02e"}.uk-icon-print:before{content:"\f02f"}.uk-icon-camera:before{content:"\f030"}.uk-icon-font:before{content:"\f031"}.uk-icon-bold:before{content:"\f032"}.uk-icon-italic:before{content:"\f033"}.uk-icon-text-height:before{content:"\f034"}.uk-icon-text-width:before{content:"\f035"}.uk-icon-align-left:before{content:"\f036"}.uk-icon-align-center:before{content:"\f037"}.uk-icon-align-right:before{content:"\f038"}.uk-icon-align-justify:before{content:"\f039"}.uk-icon-list:before{content:"\f03a"}.uk-icon-dedent:before,.uk-icon-outdent:before{content:"\f03b"}.uk-icon-indent:before{content:"\f03c"}.uk-icon-video-camera:before{content:"\f03d"}.uk-icon-image:before,.uk-icon-photo:before,.uk-icon-picture-o:before{content:"\f03e"}.uk-icon-pencil:before{content:"\f040"}.uk-icon-map-marker:before{content:"\f041"}.uk-icon-adjust:before{content:"\f042"}.uk-icon-tint:before{content:"\f043"}.uk-icon-edit:before,.uk-icon-pencil-square-o:before{content:"\f044"}.uk-icon-share-square-o:before{content:"\f045"}.uk-icon-check-square-o:before{content:"\f046"}.uk-icon-arrows:before{content:"\f047"}.uk-icon-step-backward:before{content:"\f048"}.uk-icon-fast-backward:before{content:"\f049"}.uk-icon-backward:before{content:"\f04a"}.uk-icon-play:before{content:"\f04b"}.uk-icon-pause:before{content:"\f04c"}.uk-icon-stop:before{content:"\f04d"}.uk-icon-forward:before{content:"\f04e"}.uk-icon-fast-forward:before{content:"\f050"}.uk-icon-step-forward:before{content:"\f051"}.uk-icon-eject:before{content:"\f052"}.uk-icon-chevron-left:before{content:"\f053"}.uk-icon-chevron-right:before{content:"\f054"}.uk-icon-plus-circle:before{content:"\f055"}.uk-icon-minus-circle:before{content:"\f056"}.uk-icon-times-circle:before{content:"\f057"}.uk-icon-check-circle:before{content:"\f058"}.uk-icon-question-circle:before{content:"\f059"}.uk-icon-info-circle:before{content:"\f05a"}.uk-icon-crosshairs:before{content:"\f05b"}.uk-icon-times-circle-o:before{content:"\f05c"}.uk-icon-check-circle-o:before{content:"\f05d"}.uk-icon-ban:before{content:"\f05e"}.uk-icon-arrow-left:before{content:"\f060"}.uk-icon-arrow-right:before{content:"\f061"}.uk-icon-arrow-up:before{content:"\f062"}.uk-icon-arrow-down:before{content:"\f063"}.uk-icon-mail-forward:before,.uk-icon-share:before{content:"\f064"}.uk-icon-expand:before{content:"\f065"}.uk-icon-compress:before{content:"\f066"}.uk-icon-plus:before{content:"\f067"}.uk-icon-minus:before{content:"\f068"}.uk-icon-asterisk:before{content:"\f069"}.uk-icon-exclamation-circle:before{content:"\f06a"}.uk-icon-gift:before{content:"\f06b"}.uk-icon-leaf:before{content:"\f06c"}.uk-icon-fire:before{content:"\f06d"}.uk-icon-eye:before{content:"\f06e"}.uk-icon-eye-slash:before{content:"\f070"}.uk-icon-exclamation-triangle:before,.uk-icon-warning:before{content:"\f071"}.uk-icon-plane:before{content:"\f072"}.uk-icon-calendar:before{content:"\f073"}.uk-icon-random:before{content:"\f074"}.uk-icon-comment:before{content:"\f075"}.uk-icon-magnet:before{content:"\f076"}.uk-icon-chevron-up:before{content:"\f077"}.uk-icon-chevron-down:before{content:"\f078"}.uk-icon-retweet:before{content:"\f079"}.uk-icon-shopping-cart:before{content:"\f07a"}.uk-icon-folder:before{content:"\f07b"}.uk-icon-folder-open:before{content:"\f07c"}.uk-icon-arrows-v:before{content:"\f07d"}.uk-icon-arrows-h:before{content:"\f07e"}.uk-icon-bar-chart-o:before,.uk-icon-bar-chart:before{content:"\f080"}.uk-icon-twitter-square:before{content:"\f081"}.uk-icon-facebook-square:before{content:"\f082"}.uk-icon-camera-retro:before{content:"\f083"}.uk-icon-key:before{content:"\f084"}.uk-icon-cogs:before,.uk-icon-gears:before{content:"\f085"}.uk-icon-comments:before{content:"\f086"}.uk-icon-thumbs-o-up:before{content:"\f087"}.uk-icon-thumbs-o-down:before{content:"\f088"}.uk-icon-star-half:before{content:"\f089"}.uk-icon-heart-o:before{content:"\f08a"}.uk-icon-sign-out:before{content:"\f08b"}.uk-icon-linkedin-square:before{content:"\f08c"}.uk-icon-thumb-tack:before{content:"\f08d"}.uk-icon-external-link:before{content:"\f08e"}.uk-icon-sign-in:before{content:"\f090"}.uk-icon-trophy:before{content:"\f091"}.uk-icon-github-square:before{content:"\f092"}.uk-icon-upload:before{content:"\f093"}.uk-icon-lemon-o:before{content:"\f094"}.uk-icon-phone:before{content:"\f095"}.uk-icon-square-o:before{content:"\f096"}.uk-icon-bookmark-o:before{content:"\f097"}.uk-icon-phone-square:before{content:"\f098"}.uk-icon-twitter:before{content:"\f099"}.uk-icon-facebook-f:before,.uk-icon-facebook:before{content:"\f09a"}.uk-icon-github:before{content:"\f09b"}.uk-icon-unlock:before{content:"\f09c"}.uk-icon-credit-card:before{content:"\f09d"}.uk-icon-rss:before{content:"\f09e"}.uk-icon-hdd-o:before{content:"\f0a0"}.uk-icon-bullhorn:before{content:"\f0a1"}.uk-icon-bell:before{content:"\f0f3"}.uk-icon-certificate:before{content:"\f0a3"}.uk-icon-hand-o-right:before{content:"\f0a4"}.uk-icon-hand-o-left:before{content:"\f0a5"}.uk-icon-hand-o-up:before{content:"\f0a6"}.uk-icon-hand-o-down:before{content:"\f0a7"}.uk-icon-arrow-circle-left:before{content:"\f0a8"}.uk-icon-arrow-circle-right:before{content:"\f0a9"}.uk-icon-arrow-circle-up:before{content:"\f0aa"}.uk-icon-arrow-circle-down:before{content:"\f0ab"}.uk-icon-globe:before{content:"\f0ac"}.uk-icon-wrench:before{content:"\f0ad"}.uk-icon-tasks:before{content:"\f0ae"}.uk-icon-filter:before{content:"\f0b0"}.uk-icon-briefcase:before{content:"\f0b1"}.uk-icon-arrows-alt:before{content:"\f0b2"}.uk-icon-group:before,.uk-icon-users:before{content:"\f0c0"}.uk-icon-chain:before,.uk-icon-link:before{content:"\f0c1"}.uk-icon-cloud:before{content:"\f0c2"}.uk-icon-flask:before{content:"\f0c3"}.uk-icon-cut:before,.uk-icon-scissors:before{content:"\f0c4"}.uk-icon-copy:before,.uk-icon-files-o:before{content:"\f0c5"}.uk-icon-paperclip:before{content:"\f0c6"}.uk-icon-floppy-o:before,.uk-icon-save:before{content:"\f0c7"}.uk-icon-square:before{content:"\f0c8"}.uk-icon-bars:before,.uk-icon-navicon:before,.uk-icon-reorder:before{content:"\f0c9"}.uk-icon-list-ul:before{content:"\f0ca"}.uk-icon-list-ol:before{content:"\f0cb"}.uk-icon-strikethrough:before{content:"\f0cc"}.uk-icon-underline:before{content:"\f0cd"}.uk-icon-table:before{content:"\f0ce"}.uk-icon-magic:before{content:"\f0d0"}.uk-icon-truck:before{content:"\f0d1"}.uk-icon-pinterest:before{content:"\f0d2"}.uk-icon-pinterest-square:before{content:"\f0d3"}.uk-icon-google-plus-square:before{content:"\f0d4"}.uk-icon-google-plus:before{content:"\f0d5"}.uk-icon-money:before{content:"\f0d6"}.uk-icon-caret-down:before{content:"\f0d7"}.uk-icon-caret-up:before{content:"\f0d8"}.uk-icon-caret-left:before{content:"\f0d9"}.uk-icon-caret-right:before{content:"\f0da"}.uk-icon-columns:before{content:"\f0db"}.uk-icon-sort:before,.uk-icon-unsorted:before{content:"\f0dc"}.uk-icon-sort-desc:before,.uk-icon-sort-down:before{content:"\f0dd"}.uk-icon-sort-asc:before,.uk-icon-sort-up:before{content:"\f0de"}.uk-icon-envelope:before{content:"\f0e0"}.uk-icon-linkedin:before{content:"\f0e1"}.uk-icon-rotate-left:before,.uk-icon-undo:before{content:"\f0e2"}.uk-icon-gavel:before,.uk-icon-legal:before{content:"\f0e3"}.uk-icon-dashboard:before,.uk-icon-tachometer:before{content:"\f0e4"}.uk-icon-comment-o:before{content:"\f0e5"}.uk-icon-comments-o:before{content:"\f0e6"}.uk-icon-bolt:before,.uk-icon-flash:before{content:"\f0e7"}.uk-icon-sitemap:before{content:"\f0e8"}.uk-icon-umbrella:before{content:"\f0e9"}.uk-icon-clipboard:before,.uk-icon-paste:before{content:"\f0ea"}.uk-icon-lightbulb-o:before{content:"\f0eb"}.uk-icon-exchange:before{content:"\f0ec"}.uk-icon-cloud-download:before{content:"\f0ed"}.uk-icon-cloud-upload:before{content:"\f0ee"}.uk-icon-user-md:before{content:"\f0f0"}.uk-icon-stethoscope:before{content:"\f0f1"}.uk-icon-suitcase:before{content:"\f0f2"}.uk-icon-bell-o:before{content:"\f0a2"}.uk-icon-coffee:before{content:"\f0f4"}.uk-icon-cutlery:before{content:"\f0f5"}.uk-icon-file-text-o:before{content:"\f0f6"}.uk-icon-building-o:before{content:"\f0f7"}.uk-icon-hospital-o:before{content:"\f0f8"}.uk-icon-ambulance:before{content:"\f0f9"}.uk-icon-medkit:before{content:"\f0fa"}.uk-icon-fighter-jet:before{content:"\f0fb"}.uk-icon-beer:before{content:"\f0fc"}.uk-icon-h-square:before{content:"\f0fd"}.uk-icon-plus-square:before{content:"\f0fe"}.uk-icon-angle-double-left:before{content:"\f100"}.uk-icon-angle-double-right:before{content:"\f101"}.uk-icon-angle-double-up:before{content:"\f102"}.uk-icon-angle-double-down:before{content:"\f103"}.uk-icon-angle-left:before{content:"\f104"}.uk-icon-angle-right:before{content:"\f105"}.uk-icon-angle-up:before{content:"\f106"}.uk-icon-angle-down:before{content:"\f107"}.uk-icon-desktop:before{content:"\f108"}.uk-icon-laptop:before{content:"\f109"}.uk-icon-tablet:before{content:"\f10a"}.uk-icon-mobile-phone:before,.uk-icon-mobile:before{content:"\f10b"}.uk-icon-circle-o:before{content:"\f10c"}.uk-icon-quote-left:before{content:"\f10d"}.uk-icon-quote-right:before{content:"\f10e"}.uk-icon-spinner:before{content:"\f110"}.uk-icon-circle:before{content:"\f111"}.uk-icon-mail-reply:before,.uk-icon-reply:before{content:"\f112"}.uk-icon-github-alt:before{content:"\f113"}.uk-icon-folder-o:before{content:"\f114"}.uk-icon-folder-open-o:before{content:"\f115"}.uk-icon-smile-o:before{content:"\f118"}.uk-icon-frown-o:before{content:"\f119"}.uk-icon-meh-o:before{content:"\f11a"}.uk-icon-gamepad:before{content:"\f11b"}.uk-icon-keyboard-o:before{content:"\f11c"}.uk-icon-flag-o:before{content:"\f11d"}.uk-icon-flag-checkered:before{content:"\f11e"}.uk-icon-terminal:before{content:"\f120"}.uk-icon-code:before{content:"\f121"}.uk-icon-mail-reply-all:before,.uk-icon-reply-all:before{content:"\f122"}.uk-icon-star-half-empty:before,.uk-icon-star-half-full:before,.uk-icon-star-half-o:before{content:"\f123"}.uk-icon-location-arrow:before{content:"\f124"}.uk-icon-crop:before{content:"\f125"}.uk-icon-code-fork:before{content:"\f126"}.uk-icon-chain-broken:before,.uk-icon-unlink:before{content:"\f127"}.uk-icon-question:before{content:"\f128"}.uk-icon-info:before{content:"\f129"}.uk-icon-exclamation:before{content:"\f12a"}.uk-icon-superscript:before{content:"\f12b"}.uk-icon-subscript:before{content:"\f12c"}.uk-icon-eraser:before{content:"\f12d"}.uk-icon-puzzle-piece:before{content:"\f12e"}.uk-icon-microphone:before{content:"\f130"}.uk-icon-microphone-slash:before{content:"\f131"}.uk-icon-shield:before{content:"\f132"}.uk-icon-calendar-o:before{content:"\f133"}.uk-icon-fire-extinguisher:before{content:"\f134"}.uk-icon-rocket:before{content:"\f135"}.uk-icon-maxcdn:before{content:"\f136"}.uk-icon-chevron-circle-left:before{content:"\f137"}.uk-icon-chevron-circle-right:before{content:"\f138"}.uk-icon-chevron-circle-up:before{content:"\f139"}.uk-icon-chevron-circle-down:before{content:"\f13a"}.uk-icon-html5:before{content:"\f13b"}.uk-icon-css3:before{content:"\f13c"}.uk-icon-anchor:before{content:"\f13d"}.uk-icon-unlock-alt:before{content:"\f13e"}.uk-icon-bullseye:before{content:"\f140"}.uk-icon-ellipsis-h:before{content:"\f141"}.uk-icon-ellipsis-v:before{content:"\f142"}.uk-icon-rss-square:before{content:"\f143"}.uk-icon-play-circle:before{content:"\f144"}.uk-icon-ticket:before{content:"\f145"}.uk-icon-minus-square:before{content:"\f146"}.uk-icon-minus-square-o:before{content:"\f147"}.uk-icon-level-up:before{content:"\f148"}.uk-icon-level-down:before{content:"\f149"}.uk-icon-check-square:before{content:"\f14a"}.uk-icon-pencil-square:before{content:"\f14b"}.uk-icon-external-link-square:before{content:"\f14c"}.uk-icon-share-square:before{content:"\f14d"}.uk-icon-compass:before{content:"\f14e"}.uk-icon-caret-square-o-down:before,.uk-icon-toggle-down:before{content:"\f150"}.uk-icon-caret-square-o-up:before,.uk-icon-toggle-up:before{content:"\f151"}.uk-icon-caret-square-o-right:before,.uk-icon-toggle-right:before{content:"\f152"}.uk-icon-eur:before,.uk-icon-euro:before{content:"\f153"}.uk-icon-gbp:before{content:"\f154"}.uk-icon-dollar:before,.uk-icon-usd:before{content:"\f155"}.uk-icon-inr:before,.uk-icon-rupee:before{content:"\f156"}.uk-icon-cny:before,.uk-icon-jpy:before,.uk-icon-rmb:before,.uk-icon-yen:before{content:"\f157"}.uk-icon-rouble:before,.uk-icon-rub:before,.uk-icon-ruble:before{content:"\f158"}.uk-icon-krw:before,.uk-icon-won:before{content:"\f159"}.uk-icon-bitcoin:before,.uk-icon-btc:before{content:"\f15a"}.uk-icon-file:before{content:"\f15b"}.uk-icon-file-text:before{content:"\f15c"}.uk-icon-sort-alpha-asc:before{content:"\f15d"}.uk-icon-sort-alpha-desc:before{content:"\f15e"}.uk-icon-sort-amount-asc:before{content:"\f160"}.uk-icon-sort-amount-desc:before{content:"\f161"}.uk-icon-sort-numeric-asc:before{content:"\f162"}.uk-icon-sort-numeric-desc:before{content:"\f163"}.uk-icon-thumbs-up:before{content:"\f164"}.uk-icon-thumbs-down:before{content:"\f165"}.uk-icon-youtube-square:before{content:"\f166"}.uk-icon-youtube:before{content:"\f167"}.uk-icon-xing:before{content:"\f168"}.uk-icon-xing-square:before{content:"\f169"}.uk-icon-youtube-play:before{content:"\f16a"}.uk-icon-dropbox:before{content:"\f16b"}.uk-icon-stack-overflow:before{content:"\f16c"}.uk-icon-instagram:before{content:"\f16d"}.uk-icon-flickr:before{content:"\f16e"}.uk-icon-adn:before{content:"\f170"}.uk-icon-bitbucket:before{content:"\f171"}.uk-icon-bitbucket-square:before{content:"\f172"}.uk-icon-tumblr:before{content:"\f173"}.uk-icon-tumblr-square:before{content:"\f174"}.uk-icon-long-arrow-down:before{content:"\f175"}.uk-icon-long-arrow-up:before{content:"\f176"}.uk-icon-long-arrow-left:before{content:"\f177"}.uk-icon-long-arrow-right:before{content:"\f178"}.uk-icon-apple:before{content:"\f179"}.uk-icon-windows:before{content:"\f17a"}.uk-icon-android:before{content:"\f17b"}.uk-icon-linux:before{content:"\f17c"}.uk-icon-dribbble:before{content:"\f17d"}.uk-icon-skype:before{content:"\f17e"}.uk-icon-foursquare:before{content:"\f180"}.uk-icon-trello:before{content:"\f181"}.uk-icon-female:before{content:"\f182"}.uk-icon-male:before{content:"\f183"}.uk-icon-gittip:before,.uk-icon-gratipay:before{content:"\f184"}.uk-icon-sun-o:before{content:"\f185"}.uk-icon-moon-o:before{content:"\f186"}.uk-icon-archive:before{content:"\f187"}.uk-icon-bug:before{content:"\f188"}.uk-icon-vk:before{content:"\f189"}.uk-icon-weibo:before{content:"\f18a"}.uk-icon-renren:before{content:"\f18b"}.uk-icon-pagelines:before{content:"\f18c"}.uk-icon-stack-exchange:before{content:"\f18d"}.uk-icon-arrow-circle-o-right:before{content:"\f18e"}.uk-icon-arrow-circle-o-left:before{content:"\f190"}.uk-icon-caret-square-o-left:before,.uk-icon-toggle-left:before{content:"\f191"}.uk-icon-dot-circle-o:before{content:"\f192"}.uk-icon-wheelchair:before{content:"\f193"}.uk-icon-vimeo-square:before{content:"\f194"}.uk-icon-try:before,.uk-icon-turkish-lira:before{content:"\f195"}.uk-icon-plus-square-o:before{content:"\f196"}.uk-icon-space-shuttle:before{content:"\f197"}.uk-icon-slack:before{content:"\f198"}.uk-icon-envelope-square:before{content:"\f199"}.uk-icon-wordpress:before{content:"\f19a"}.uk-icon-openid:before{content:"\f19b"}.uk-icon-bank:before,.uk-icon-institution:before,.uk-icon-university:before{content:"\f19c"}.uk-icon-graduation-cap:before,.uk-icon-mortar-board:before{content:"\f19d"}.uk-icon-yahoo:before{content:"\f19e"}.uk-icon-google:before{content:"\f1a0"}.uk-icon-reddit:before{content:"\f1a1"}.uk-icon-reddit-square:before{content:"\f1a2"}.uk-icon-stumbleupon-circle:before{content:"\f1a3"}.uk-icon-stumbleupon:before{content:"\f1a4"}.uk-icon-delicious:before{content:"\f1a5"}.uk-icon-digg:before{content:"\f1a6"}.uk-icon-pied-piper:before{content:"\f1a7"}.uk-icon-pied-piper-alt:before{content:"\f1a8"}.uk-icon-drupal:before{content:"\f1a9"}.uk-icon-joomla:before{content:"\f1aa"}.uk-icon-language:before{content:"\f1ab"}.uk-icon-fax:before{content:"\f1ac"}.uk-icon-building:before{content:"\f1ad"}.uk-icon-child:before{content:"\f1ae"}.uk-icon-paw:before{content:"\f1b0"}.uk-icon-spoon:before{content:"\f1b1"}.uk-icon-cube:before{content:"\f1b2"}.uk-icon-cubes:before{content:"\f1b3"}.uk-icon-behance:before{content:"\f1b4"}.uk-icon-behance-square:before{content:"\f1b5"}.uk-icon-steam:before{content:"\f1b6"}.uk-icon-steam-square:before{content:"\f1b7"}.uk-icon-recycle:before{content:"\f1b8"}.uk-icon-automobile:before,.uk-icon-car:before{content:"\f1b9"}.uk-icon-cab:before,.uk-icon-taxi:before{content:"\f1ba"}.uk-icon-tree:before{content:"\f1bb"}.uk-icon-spotify:before{content:"\f1bc"}.uk-icon-deviantart:before{content:"\f1bd"}.uk-icon-soundcloud:before{content:"\f1be"}.uk-icon-database:before{content:"\f1c0"}.uk-icon-file-pdf-o:before{content:"\f1c1"}.uk-icon-file-word-o:before{content:"\f1c2"}.uk-icon-file-excel-o:before{content:"\f1c3"}.uk-icon-file-powerpoint-o:before{content:"\f1c4"}.uk-icon-file-image-o:before,.uk-icon-file-photo-o:before,.uk-icon-file-picture-o:before{content:"\f1c5"}.uk-icon-file-archive-o:before,.uk-icon-file-zip-o:before{content:"\f1c6"}.uk-icon-file-audio-o:before,.uk-icon-file-sound-o:before{content:"\f1c7"}.uk-icon-file-movie-o:before,.uk-icon-file-video-o:before{content:"\f1c8"}.uk-icon-file-code-o:before{content:"\f1c9"}.uk-icon-vine:before{content:"\f1ca"}.uk-icon-codepen:before{content:"\f1cb"}.uk-icon-jsfiddle:before{content:"\f1cc"}.uk-icon-life-bouy:before,.uk-icon-life-buoy:before,.uk-icon-life-ring:before,.uk-icon-life-saver:before,.uk-icon-support:before{content:"\f1cd"}.uk-icon-circle-o-notch:before{content:"\f1ce"}.uk-icon-ra:before,.uk-icon-rebel:before{content:"\f1d0"}.uk-icon-empire:before,.uk-icon-ge:before{content:"\f1d1"}.uk-icon-git-square:before{content:"\f1d2"}.uk-icon-git:before{content:"\f1d3"}.uk-icon-hacker-news:before{content:"\f1d4"}.uk-icon-tencent-weibo:before{content:"\f1d5"}.uk-icon-qq:before{content:"\f1d6"}.uk-icon-wechat:before,.uk-icon-weixin:before{content:"\f1d7"}.uk-icon-paper-plane:before,.uk-icon-send:before{content:"\f1d8"}.uk-icon-paper-plane-o:before,.uk-icon-send-o:before{content:"\f1d9"}.uk-icon-history:before{content:"\f1da"}.uk-icon-circle-thin:before,.uk-icon-genderless:before{content:"\f1db"}.uk-icon-header:before{content:"\f1dc"}.uk-icon-paragraph:before{content:"\f1dd"}.uk-icon-sliders:before{content:"\f1de"}.uk-icon-share-alt:before{content:"\f1e0"}.uk-icon-share-alt-square:before{content:"\f1e1"}.uk-icon-bomb:before{content:"\f1e2"}.uk-icon-futbol-o:before,.uk-icon-soccer-ball-o:before{content:"\f1e3"}.uk-icon-tty:before{content:"\f1e4"}.uk-icon-binoculars:before{content:"\f1e5"}.uk-icon-plug:before{content:"\f1e6"}.uk-icon-slideshare:before{content:"\f1e7"}.uk-icon-twitch:before{content:"\f1e8"}.uk-icon-yelp:before{content:"\f1e9"}.uk-icon-newspaper-o:before{content:"\f1ea"}.uk-icon-wifi:before{content:"\f1eb"}.uk-icon-calculator:before{content:"\f1ec"}.uk-icon-paypal:before{content:"\f1ed"}.uk-icon-google-wallet:before{content:"\f1ee"}.uk-icon-cc-visa:before{content:"\f1f0"}.uk-icon-cc-mastercard:before{content:"\f1f1"}.uk-icon-cc-discover:before{content:"\f1f2"}.uk-icon-cc-amex:before{content:"\f1f3"}.uk-icon-cc-paypal:before{content:"\f1f4"}.uk-icon-cc-stripe:before{content:"\f1f5"}.uk-icon-bell-slash:before{content:"\f1f6"}.uk-icon-bell-slash-o:before{content:"\f1f7"}.uk-icon-trash:before{content:"\f1f8"}.uk-icon-copyright:before{content:"\f1f9"}.uk-icon-at:before{content:"\f1fa"}.uk-icon-eyedropper:before{content:"\f1fb"}.uk-icon-paint-brush:before{content:"\f1fc"}.uk-icon-birthday-cake:before{content:"\f1fd"}.uk-icon-area-chart:before{content:"\f1fe"}.uk-icon-pie-chart:before{content:"\f200"}.uk-icon-line-chart:before{content:"\f201"}.uk-icon-lastfm:before{content:"\f202"}.uk-icon-lastfm-square:before{content:"\f203"}.uk-icon-toggle-off:before{content:"\f204"}.uk-icon-toggle-on:before{content:"\f205"}.uk-icon-bicycle:before{content:"\f206"}.uk-icon-bus:before{content:"\f207"}.uk-icon-ioxhost:before{content:"\f208"}.uk-icon-angellist:before{content:"\f209"}.uk-icon-cc:before{content:"\f20a"}.uk-icon-ils:before,.uk-icon-shekel:before,.uk-icon-sheqel:before{content:"\f20b"}.uk-icon-meanpath:before{content:"\f20c"}.uk-icon-buysellads:before{content:"\f20d"}.uk-icon-connectdevelop:before{content:"\f20e"}.uk-icon-dashcube:before{content:"\f210"}.uk-icon-forumbee:before{content:"\f211"}.uk-icon-leanpub:before{content:"\f212"}.uk-icon-sellsy:before{content:"\f213"}.uk-icon-shirtsinbulk:before{content:"\f214"}.uk-icon-simplybuilt:before{content:"\f215"}.uk-icon-skyatlas:before{content:"\f216"}.uk-icon-cart-plus:before{content:"\f217"}.uk-icon-cart-arrow-down:before{content:"\f218"}.uk-icon-diamond:before{content:"\f219"}.uk-icon-ship:before{content:"\f21a"}.uk-icon-user-secret:before{content:"\f21b"}.uk-icon-motorcycle:before{content:"\f21c"}.uk-icon-street-view:before{content:"\f21d"}.uk-icon-heartbeat:before{content:"\f21e"}.uk-icon-venus:before{content:"\f221"}.uk-icon-mars:before{content:"\f222"}.uk-icon-mercury:before{content:"\f223"}.uk-icon-transgender:before{content:"\f224"}.uk-icon-transgender-alt:before{content:"\f225"}.uk-icon-venus-double:before{content:"\f226"}.uk-icon-mars-double:before{content:"\f227"}.uk-icon-venus-mars:before{content:"\f228"}.uk-icon-mars-stroke:before{content:"\f229"}.uk-icon-mars-stroke-v:before{content:"\f22a"}.uk-icon-mars-stroke-h:before{content:"\f22b"}.uk-icon-neuter:before{content:"\f22c"}.uk-icon-facebook-official:before{content:"\f230"}.uk-icon-pinterest-p:before{content:"\f231"}.uk-icon-whatsapp:before{content:"\f232"}.uk-icon-server:before{content:"\f233"}.uk-icon-user-plus:before{content:"\f234"}.uk-icon-user-times:before{content:"\f235"}.uk-icon-bed:before,.uk-icon-hotel:before{content:"\f236"}.uk-icon-viacoin:before{content:"\f237"}.uk-icon-train:before{content:"\f238"}.uk-icon-subway:before{content:"\f239"}.uk-icon-medium-logo:before{content:"\f23a"}.uk-icon-500px:before{content:"\f26e"}.uk-icon-amazon:before{content:"\f270"}.uk-icon-balance-scale:before{content:"\f24e"}.uk-icon-battery-0:before,.uk-icon-battery-empty:before{content:"\f244"}.uk-icon-battery-1:before,.uk-icon-battery-quarter:before{content:"\f243"}.uk-icon-battery-2:before,.uk-icon-battery-half:before{content:"\f242"}.uk-icon-battery-3:before,.uk-icon-battery-three-quarters:before{content:"\f241"}.uk-icon-battery-4:before,.uk-icon-battery-full:before{content:"\f240"}.uk-icon-black-tie:before{content:"\f27e"}.uk-icon-calendar-check-o:before{content:"\f274"}.uk-icon-calendar-minus-o:before{content:"\f272"}.uk-icon-calendar-plus-o:before{content:"\f271"}.uk-icon-calendar-times-o:before{content:"\f273"}.uk-icon-cc-diners-club:before{content:"\f24c"}.uk-icon-cc-jcb:before{content:"\f24b"}.uk-icon-chrome:before{content:"\f268"}.uk-icon-clone:before{content:"\f24d"}.uk-icon-commenting:before{content:"\f27a"}.uk-icon-commenting-o:before{content:"\f27b"}.uk-icon-contao:before{content:"\f26d"}.uk-icon-creative-commons:before{content:"\f25e"}.uk-icon-expeditedssl:before{content:"\f23e"}.uk-icon-firefox:before{content:"\f269"}.uk-icon-fonticons:before{content:"\f280"}.uk-icon-get-pocket:before{content:"\f265"}.uk-icon-gg:before{content:"\f260"}.uk-icon-gg-circle:before{content:"\f261"}.uk-icon-hand-lizard-o:before{content:"\f258"}.uk-icon-hand-paper-o:before,.uk-icon-hand-stop-o:before{content:"\f256"}.uk-icon-hand-peace-o:before{content:"\f25b"}.uk-icon-hand-pointer-o:before{content:"\f25a"}.uk-icon-hand-grab-o:before,.uk-icon-hand-rock-o:before{content:"\f255"}.uk-icon-hand-scissors-o:before{content:"\f257"}.uk-icon-hand-spock-o:before{content:"\f259"}.uk-icon-hourglass:before{content:"\f254"}.uk-icon-hourglass-o:before{content:"\f250"}.uk-icon-hourglass-1:before,.uk-icon-hourglass-start:before{content:"\f251"}.uk-icon-hourglass-2:before,.uk-icon-hourglass-half:before{content:"\f252"}.uk-icon-hourglass-3:before,.uk-icon-hourglass-end:before{content:"\f253"}.uk-icon-houzz:before{content:"\f27c"}.uk-icon-i-cursor:before{content:"\f246"}.uk-icon-industry:before{content:"\f275"}.uk-icon-internet-explorer:before{content:"\f26b"}.uk-icon-map:before{content:"\f279"}.uk-icon-map-o:before{content:"\f278"}.uk-icon-map-pin:before{content:"\f276"}.uk-icon-map-signs:before{content:"\f277"}.uk-icon-mouse-pointer:before{content:"\f245"}.uk-icon-object-group:before{content:"\f247"}.uk-icon-object-ungroup:before{content:"\f248"}.uk-icon-odnoklassniki:before{content:"\f263"}.uk-icon-odnoklassniki-square:before{content:"\f264"}.uk-icon-opencart:before{content:"\f23d"}.uk-icon-opera:before{content:"\f26a"}.uk-icon-optin-monster:before{content:"\f23c"}.uk-icon-registered:before{content:"\f25d"}.uk-icon-safari:before{content:"\f267"}.uk-icon-sticky-note:before{content:"\f249"}.uk-icon-sticky-note-o:before{content:"\f24a"}.uk-icon-television:before,.uk-icon-tv:before{content:"\f26c"}.uk-icon-trademark:before{content:"\f25c"}.uk-icon-tripadvisor:before{content:"\f262"}.uk-icon-vimeo:before{content:"\f27d"}.uk-icon-wikipedia-w:before{content:"\f266"}.uk-icon-y-combinator:before,.uk-icon-yc:before{content:"\f23b"}.uk-icon-y-combinator-square:before,.uk-icon-yc-square:before{content:"\f1d4"}.uk-icon-bluetooth:before{content:"\f293"}.uk-icon-bluetooth-b:before{content:"\f294"}.uk-icon-codiepie:before{content:"\f284"}.uk-icon-credit-card-alt:before{content:"\f283"}.uk-icon-edge:before{content:"\f282"}.uk-icon-fort-awesome:before{content:"\f286"}.uk-icon-hashtag:before{content:"\f292"}.uk-icon-mixcloud:before{content:"\f289"}.uk-icon-modx:before{content:"\f285"}.uk-icon-pause-circle:before{content:"\f28b"}.uk-icon-pause-circle-o:before{content:"\f28c"}.uk-icon-percent:before{content:"\f295"}.uk-icon-product-hunt:before{content:"\f288"}.uk-icon-reddit-alien:before{content:"\f281"}.uk-icon-scribd:before{content:"\f28a"}.uk-icon-shopping-bag:before{content:"\f290"}.uk-icon-shopping-basket:before{content:"\f291"}.uk-icon-stop-circle:before{content:"\f28d"}.uk-icon-stop-circle-o:before{content:"\f28e"}.uk-icon-usb:before{content:"\f287"}.uk-icon-american-sign-language-interpreting:before,.uk-icon-asl-interpreting:before{content:"\f2a3"}.uk-icon-assistive-listening-systems:before{content:"\f2a2"}.uk-icon-audio-description:before{content:"\f29e"}.uk-icon-blind:before{content:"\f29d"}.uk-icon-braille:before{content:"\f2a1"}.uk-icon-deaf:before{content:"\f2a4"}.uk-icon-deafness:before{content:"\f2a4"}.uk-icon-envira:before{content:"\f299"}.uk-icon-gitlab:before{content:"\f296"}.uk-icon-glide:before{content:"\f2a5"}.uk-icon-glide-g:before{content:"\f2a6"}.uk-icon-hard-of-hearing:before{content:"\f2a4"}.uk-icon-low-vision:before{content:"\f2a8"}.uk-icon-question-circle-o:before{content:"\f29c"}.uk-icon-sign-language:before,.uk-icon-signing:before{content:"\f2a7"}.uk-icon-snapchat:before{content:"\f2ab"}.uk-icon-snapchat-ghost:before{content:"\f2ac"}.uk-icon-snapchat-square:before{content:"\f2ad"}.uk-icon-universal-access:before{content:"\f29a"}.uk-icon-viadeo:before{content:"\f2a9"}.uk-icon-viadeo-square:before{content:"\f2aa"}.uk-icon-volume-control-phone:before{content:"\f2a0"}.uk-icon-wheelchair-alt:before{content:"\f29b"}.uk-icon-wpbeginner:before{content:"\f297"}.uk-icon-wpforms:before{content:"\f298"}.uk-close::-moz-focus-inner{border:0;padding:0}.uk-close{-webkit-appearance:none;margin:0;border:none;overflow:visible;font:inherit;color:inherit;text-transform:none;padding:0;background:0 0;display:inline-block;box-sizing:content-box;width:20px;line-height:20px;text-align:center;vertical-align:middle;opacity:.3}.uk-close:after{display:block;content:"\f00d";font-family:FontAwesome}.uk-close:focus,.uk-close:hover{opacity:.5;outline:0;color:inherit;text-decoration:none;cursor:pointer}.uk-close-alt{padding:2px;border-radius:50%;background:#eee;opacity:1}.uk-close-alt:focus,.uk-close-alt:hover{opacity:1}.uk-close-alt:after{opacity:.5}.uk-close-alt:focus:after,.uk-close-alt:hover:after{opacity:.8}.uk-badge{display:inline-block;padding:0 5px;background:#00a8e6;font-size:10px;font-weight:700;line-height:14px;color:#fff;text-align:center;vertical-align:middle;text-transform:none}a.uk-badge:hover{color:#fff}.uk-badge-notification{box-sizing:border-box;min-width:18px;border-radius:500px;font-size:12px;line-height:18px}.uk-badge-success{background-color:#8cc14c}.uk-badge-warning{background-color:#faa732}.uk-badge-danger{background-color:#da314b}.uk-alert{margin-bottom:15px;padding:10px;background:#ebf7fd;color:#2d7091}*+.uk-alert{margin-top:15px}.uk-alert>:last-child{margin-bottom:0}.uk-alert h1,.uk-alert h2,.uk-alert h3,.uk-alert h4,.uk-alert h5,.uk-alert h6{color:inherit}.uk-alert>.uk-close:first-child{float:right}.uk-alert>.uk-close:first-child+*{margin-top:0}.uk-alert-success{background:#f2fae3;color:#659f13}.uk-alert-warning{background:#fffceb;color:#e28327}.uk-alert-danger{background:#fff1f0;color:#d85030}.uk-alert-large{padding:20px}.uk-alert-large>.uk-close:first-child{margin:-10px -10px 0 0}.uk-thumbnail{display:inline-block;max-width:100%;box-sizing:border-box;margin:0;padding:4px;border:1px solid #ddd;background:#fff}a.uk-thumbnail:focus,a.uk-thumbnail:hover{border-color:#aaa;background-color:#fff;text-decoration:none;outline:0}.uk-thumbnail-caption{padding-top:4px;text-align:center;color:#444}.uk-thumbnail-mini{width:150px}.uk-thumbnail-small{width:200px}.uk-thumbnail-medium{width:300px}.uk-thumbnail-large{width:400px}.uk-thumbnail-expand,.uk-thumbnail-expand>img{width:100%}.uk-overlay{display:inline-block;position:relative;max-width:100%;vertical-align:middle;overflow:hidden;-webkit-transform:translateZ(0);margin:0}.uk-overlay.uk-border-circle{-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 100%)}.uk-overlay>:first-child{margin-bottom:0}.uk-overlay-panel{position:absolute;top:0;bottom:0;left:0;right:0;padding:20px;color:#fff}.uk-overlay-panel.uk-flex>*>:last-child,.uk-overlay-panel>:last-child{margin-bottom:0}.uk-overlay-panel h1,.uk-overlay-panel h2,.uk-overlay-panel h3,.uk-overlay-panel h4,.uk-overlay-panel h5,.uk-overlay-panel h6{color:inherit}.uk-overlay-panel a:not([class]){color:inherit;text-decoration:underline}.uk-overlay-panel a[class*=uk-icon-]:not(.uk-icon-button){color:inherit}.uk-overlay-hover:not(:hover):not(.uk-hover) .uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-active :not(.uk-active)>.uk-overlay-panel:not(.uk-ignore){opacity:0}.uk-overlay-background{background:rgba(0,0,0,.5)}.uk-overlay-image{padding:0}.uk-overlay-top{bottom:auto}.uk-overlay-bottom{top:auto}.uk-overlay-left{right:auto}.uk-overlay-right{left:auto}.uk-overlay-icon:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-blur,.uk-overlay-fade,.uk-overlay-grayscale,.uk-overlay-scale,.uk-overlay-spin,[class*=uk-overlay-slide]{transition-duration:.3s;transition-timing-function:ease-out;transition-property:opacity,transform,filter}.uk-overlay-active .uk-overlay-fade,.uk-overlay-active .uk-overlay-scale,.uk-overlay-active .uk-overlay-spin,.uk-overlay-active [class*=uk-overlay-slide]{transition-duration:.8s}.uk-overlay-fade{opacity:.7}.uk-overlay-active .uk-active>.uk-overlay-fade,.uk-overlay-hover.uk-hover .uk-overlay-fade,.uk-overlay-hover:hover .uk-overlay-fade{opacity:1}.uk-overlay-scale{-webkit-transform:scale(1);transform:scale(1)}.uk-overlay-active .uk-active>.uk-overlay-scale,.uk-overlay-hover.uk-hover .uk-overlay-scale,.uk-overlay-hover:hover .uk-overlay-scale{-webkit-transform:scale(1.1);transform:scale(1.1)}.uk-overlay-spin{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}.uk-overlay-active .uk-active>.uk-overlay-spin,.uk-overlay-hover.uk-hover .uk-overlay-spin,.uk-overlay-hover:hover .uk-overlay-spin{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}.uk-overlay-grayscale{-webkit-filter:grayscale(100%);filter:grayscale(100%)}.uk-overlay-active .uk-active>.uk-overlay-grayscale,.uk-overlay-hover.uk-hover .uk-overlay-grayscale,.uk-overlay-hover:hover .uk-overlay-grayscale{-webkit-filter:grayscale(0);filter:grayscale(0)}[class*=uk-overlay-slide]{opacity:0}.uk-overlay-slide-top{-webkit-transform:translateY(-100%);transform:translateY(-100%)}.uk-overlay-slide-bottom{-webkit-transform:translateY(100%);transform:translateY(100%)}.uk-overlay-slide-left{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.uk-overlay-slide-right{-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-overlay-active .uk-active>[class*=uk-overlay-slide],.uk-overlay-hover.uk-hover [class*=uk-overlay-slide],.uk-overlay-hover:hover [class*=uk-overlay-slide]{opacity:1;-webkit-transform:translateX(0) translateY(0);transform:translateX(0) translateY(0)}.uk-overlay-area{position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.3);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-area,.uk-overlay-toggle:hover .uk-overlay-area,.uk-overlay.uk-hover .uk-overlay-area,.uk-overlay:hover .uk-overlay-area{opacity:1}.uk-overlay-area:empty:before{content:"\f002";position:absolute;top:50%;left:50%;width:50px;height:50px;margin-top:-25px;margin-left:-25px;font-size:50px;line-height:1;font-family:FontAwesome;text-align:center;color:#fff}.uk-overlay-area:not(:empty){font-size:0}.uk-overlay-area:not(:empty):before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-overlay-area-content{display:inline-block;box-sizing:border-box;width:100%;vertical-align:middle;font-size:1rem;text-align:center;padding:0 15px;color:#fff}.uk-overlay-area-content>:last-child{margin-bottom:0}.uk-overlay-area-content a:not([class]),.uk-overlay-area-content a:not([class]):hover{color:inherit}.uk-overlay-caption{position:absolute;bottom:0;left:0;right:0;padding:15px;background:rgba(0,0,0,.5);color:#fff;opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;-webkit-transform:translate3d(0,0,0)}.uk-overlay-toggle.uk-hover .uk-overlay-caption,.uk-overlay-toggle:hover .uk-overlay-caption,.uk-overlay.uk-hover .uk-overlay-caption,.uk-overlay:hover .uk-overlay-caption{opacity:1}[class*=uk-column-]{-webkit-column-gap:25px;-moz-column-gap:25px;column-gap:25px}.uk-column-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}@media (min-width:480px){.uk-column-small-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-small-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-small-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-small-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-small-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:768px){.uk-column-medium-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-medium-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-medium-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-medium-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-medium-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:960px){.uk-column-large-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-large-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-large-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-large-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-large-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}@media (min-width:1220px){.uk-column-xlarge-1-2{-webkit-column-count:2;-moz-column-count:2;column-count:2}.uk-column-xlarge-1-3{-webkit-column-count:3;-moz-column-count:3;column-count:3}.uk-column-xlarge-1-4{-webkit-column-count:4;-moz-column-count:4;column-count:4}.uk-column-xlarge-1-5{-webkit-column-count:5;-moz-column-count:5;column-count:5}.uk-column-xlarge-1-6{-webkit-column-count:6;-moz-column-count:6;column-count:6}}[class*=uk-animation-]{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media screen{[data-uk-scrollspy*=uk-animation-]:not([data-uk-scrollspy*=target]){opacity:0}}.uk-animation-fade{-webkit-animation-name:uk-fade;animation-name:uk-fade;-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-timing-function:linear!important;animation-timing-function:linear!important}.uk-animation-scale-up{-webkit-animation-name:uk-fade-scale-02;animation-name:uk-fade-scale-02}.uk-animation-scale-down{-webkit-animation-name:uk-fade-scale-18;animation-name:uk-fade-scale-18}.uk-animation-slide-top{-webkit-animation-name:uk-fade-top;animation-name:uk-fade-top}.uk-animation-slide-bottom{-webkit-animation-name:uk-fade-bottom;animation-name:uk-fade-bottom}.uk-animation-slide-left{-webkit-animation-name:uk-fade-left;animation-name:uk-fade-left}.uk-animation-slide-right{-webkit-animation-name:uk-fade-right;animation-name:uk-fade-right}.uk-animation-scale{-webkit-animation-name:uk-scale-12;animation-name:uk-scale-12}.uk-animation-shake{-webkit-animation-name:uk-shake;animation-name:uk-shake}.uk-animation-reverse{-webkit-animation-direction:reverse;animation-direction:reverse;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}.uk-animation-15{-webkit-animation-duration:15s;animation-duration:15s}.uk-animation-top-left{-webkit-transform-origin:0 0;transform-origin:0 0}.uk-animation-top-center{-webkit-transform-origin:50% 0;transform-origin:50% 0}.uk-animation-top-right{-webkit-transform-origin:100% 0;transform-origin:100% 0}.uk-animation-middle-left{-webkit-transform-origin:0 50%;transform-origin:0 50%}.uk-animation-middle-right{-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.uk-animation-bottom-left{-webkit-transform-origin:0 100%;transform-origin:0 100%}.uk-animation-bottom-center{-webkit-transform-origin:50% 100%;transform-origin:50% 100%}.uk-animation-bottom-right{-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.uk-animation-hover:not(:hover),.uk-animation-hover:not(:hover) [class*=uk-animation-],.uk-touch .uk-animation-hover:not(.uk-hover),.uk-touch .uk-animation-hover:not(.uk-hover) [class*=uk-animation-]{-webkit-animation-name:none;animation-name:none}@-webkit-keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@keyframes uk-fade{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes uk-fade-top{0%{opacity:0;-webkit-transform:translateY(-100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-top{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-bottom{0%{opacity:0;-webkit-transform:translateY(100%)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-fade-bottom{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-fade-left{0%{opacity:0;-webkit-transform:translateX(-100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-left{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-right{0%{opacity:0;-webkit-transform:translateX(100%)}100%{opacity:1;-webkit-transform:translateX(0)}}@keyframes uk-fade-right{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes uk-fade-scale-02{0%{opacity:0;-webkit-transform:scale(.2)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-15{0%{opacity:0;-webkit-transform:scale(1.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-15{0%{opacity:0;transform:scale(1.5)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-fade-scale-18{0%{opacity:0;-webkit-transform:scale(1.8)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}@-webkit-keyframes uk-slide-left{0%{-webkit-transform:translateX(-100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left{0%{transform:translateX(-100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right{0%{-webkit-transform:translateX(100%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right{0%{transform:translateX(100%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-left-33{0%{-webkit-transform:translateX(33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-left-33{0%{transform:translateX(33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-slide-right-33{0%{-webkit-transform:translateX(-33%)}100%{-webkit-transform:translateX(0)}}@keyframes uk-slide-right-33{0%{transform:translateX(-33%)}100%{transform:translateX(0)}}@-webkit-keyframes uk-scale-12{0%{-webkit-transform:scale(1.2)}100%{-webkit-transform:scale(1)}}@keyframes uk-scale-12{0%{transform:scale(1.2)}100%{transform:scale(1)}}@-webkit-keyframes uk-rotate{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(359deg)}}@keyframes uk-rotate{0%{transform:rotate(0)}100%{transform:rotate(359deg)}}@-webkit-keyframes uk-shake{0%,100%{-webkit-transform:translateX(0)}10%{-webkit-transform:translateX(-9px)}20%{-webkit-transform:translateX(8px)}30%{-webkit-transform:translateX(-7px)}40%{-webkit-transform:translateX(6px)}50%{-webkit-transform:translateX(-5px)}60%{-webkit-transform:translateX(4px)}70%{-webkit-transform:translateX(-3px)}80%{-webkit-transform:translateX(2px)}90%{-webkit-transform:translateX(-1px)}}@keyframes uk-shake{0%,100%{transform:translateX(0)}10%{transform:translateX(-9px)}20%{transform:translateX(8px)}30%{transform:translateX(-7px)}40%{transform:translateX(6px)}50%{transform:translateX(-5px)}60%{transform:translateX(4px)}70%{transform:translateX(-3px)}80%{transform:translateX(2px)}90%{transform:translateX(-1px)}}@-webkit-keyframes uk-slide-top-fixed{0%{opacity:0;-webkit-transform:translateY(-10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-top-fixed{0%{opacity:0;transform:translateY(-10px)}100%{opacity:1;transform:translateY(0)}}@-webkit-keyframes uk-slide-bottom-fixed{0%{opacity:0;-webkit-transform:translateY(10px)}100%{opacity:1;-webkit-transform:translateY(0)}}@keyframes uk-slide-bottom-fixed{0%{opacity:0;transform:translateY(10px)}100%{opacity:1;transform:translateY(0)}}.uk-dropdown,.uk-dropdown-blank{display:none;position:absolute;z-index:1020;box-sizing:border-box;width:200px}.uk-dropdown{padding:15px;background:#f5f5f5;color:#444;font-size:1rem;vertical-align:top}.uk-open>.uk-dropdown,.uk-open>.uk-dropdown-blank{display:block;-webkit-animation:uk-fade .2s ease-in-out;animation:uk-fade .2s ease-in-out;-webkit-transform-origin:0 0;transform-origin:0 0}.uk-dropdown-top{margin-top:-5px}.uk-dropdown-bottom{margin-top:5px}.uk-dropdown-left{margin-left:-5px}.uk-dropdown-right{margin-left:5px}.uk-dropdown .uk-nav{margin:0 -15px}.uk-grid .uk-dropdown-grid+.uk-dropdown-grid{margin-top:15px}.uk-dropdown-grid>[class*=uk-width-]>.uk-panel+.uk-panel{margin-top:15px}@media (min-width:768px){.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid{margin-left:-15px;margin-right:-15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]{padding-left:15px;padding-right:15px}.uk-dropdown:not(.uk-dropdown-stack)>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){border-left:1px solid #ddd}.uk-dropdown-width-2:not(.uk-dropdown-stack){width:400px}.uk-dropdown-width-3:not(.uk-dropdown-stack){width:600px}.uk-dropdown-width-4:not(.uk-dropdown-stack){width:800px}.uk-dropdown-width-5:not(.uk-dropdown-stack){width:1000px}}@media (max-width:767px){.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]{width:100%}.uk-dropdown-stack>.uk-dropdown-grid>[class*=uk-width-]:nth-child(n+2){margin-top:15px}.uk-dropdown-small{min-width:150px;width:auto;padding:5px;white-space:nowrap}.uk-dropdown-small .uk-nav{margin:0 -5px}.uk-dropdown-navbar{margin-top:0;background:#f5f5f5;color:#444}.uk-open>.uk-dropdown-navbar{-webkit-animation:uk-slide-top-fixed .2s ease-in-out;animation:uk-slide-top-fixed .2s ease-in-out}.uk-dropdown-scrollable{overflow-y:auto;max-height:200px}.uk-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1010;overflow-y:auto;-webkit-overflow-scrolling:touch;background:rgba(0,0,0,.6);opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear;touch-action:cross-slide-y pinch-zoom double-tap-zoom;-webkit-transform:translateZ(0);transform:translateZ(0)}.uk-modal.uk-open{opacity:1}.uk-modal-page,.uk-modal-page body{overflow:hidden}.uk-modal-dialog{position:relative;box-sizing:border-box;margin:50px auto;padding:20px;width:600px;max-width:100%;max-width:calc(100% - 20px);background:#fff;opacity:0;-webkit-transform:translateY(-100px);transform:translateY(-100px);-webkit-transition:opacity .3s linear,-webkit-transform .3s ease-out;transition:opacity .3s linear,transform .3s ease-out}@media (max-width:767px){.uk-modal-dialog{width:auto;margin:10px auto}}.uk-open .uk-modal-dialog{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}.uk-modal-dialog>:not([class*=uk-modal-]):last-child{margin-bottom:0}.uk-modal-dialog>.uk-close:first-child{margin:-10px -10px 0 0;float:right}.uk-modal-dialog>.uk-close:first-child+:not([class*=uk-modal-]){margin-top:0}.uk-modal-dialog-lightbox{margin:15px auto;padding:0;max-width:95%;max-width:calc(100% - 30px);min-height:50px}.uk-modal-dialog-lightbox>.uk-close:first-child{position:absolute;top:-12px;right:-12px;margin:0;float:none}@media (max-width:767px){.uk-modal-dialog-lightbox>.uk-close:first-child{top:-7px;right:-7px}}.uk-modal-dialog-blank{margin:0;padding:0;width:100%;max-width:100%;-webkit-transition:opacity .3s linear;transition:opacity .3s linear}.uk-modal-dialog-blank>.uk-close:first-child{position:absolute;top:20px;right:20px;z-index:1;margin:0;float:none}@media (min-width:768px){.uk-modal-dialog-large{width:930px}}@media (min-width:1220px){.uk-modal-dialog-large{width:1130px}}.uk-modal-header{margin-bottom:15px}.uk-modal-footer{margin-top:15px}.uk-modal-footer>:last-child,.uk-modal-header>:last-child{margin-bottom:0}.uk-modal-caption{position:absolute;left:0;right:0;bottom:-20px;margin-bottom:-10px;color:#fff;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-modal-spinner{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:25px;color:#ddd}.uk-modal-spinner:after{content:"\f110";display:block;font-family:FontAwesome;-webkit-animation:uk-rotate 2s infinite linear;animation:uk-rotate 2s infinite linear}.uk-offcanvas{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;touch-action:none;background:rgba(0,0,0,.1)}.uk-offcanvas.uk-active{display:block}.uk-offcanvas-page{position:fixed;-webkit-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out}.uk-offcanvas-bar{position:fixed;top:0;bottom:0;left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);z-index:1001;width:270px;max-width:100%;background:#333;overflow-y:auto;-webkit-overflow-scrolling:touch;-webkit-transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;-ms-scroll-chaining:none}.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show{-webkit-transform:translateX(0);transform:translateX(0)}.uk-offcanvas-bar-flip{left:auto;right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.uk-offcanvas .uk-panel{margin:20px 15px;color:#777}.uk-offcanvas .uk-panel-title{color:#ccc}.uk-offcanvas .uk-panel a:not([class]){color:#ccc}.uk-offcanvas .uk-panel a:not([class]):hover{color:#fff}.uk-switcher{margin:0;padding:0;list-style:none;touch-action:cross-slide-y pinch-zoom double-tap-zoom}.uk-switcher>:not(.uk-active){display:none}.uk-text-small{font-size:11px;line-height:16px}.uk-text-large{font-size:18px;line-height:24px;font-weight:400}.uk-text-bold{font-weight:700}.uk-text-muted{color:#999!important}.uk-text-primary{color:#2d7091!important}.uk-text-success{color:#659f13!important}.uk-text-warning{color:#e28327!important}.uk-text-danger{color:#d85030!important}.uk-text-contrast{color:#fff!important}.uk-text-left{text-align:left!important}.uk-text-right{text-align:right!important}.uk-text-center{text-align:center!important}.uk-text-justify{text-align:justify!important}.uk-text-top{vertical-align:top!important}.uk-text-middle{vertical-align:middle!important}.uk-text-bottom{vertical-align:bottom!important}@media (max-width:959px){.uk-text-center-medium{text-align:center!important}.uk-text-left-medium{text-align:left!important}}@media (max-width:767px){.uk-text-center-small{text-align:center!important}.uk-text-left-small{text-align:left!important}}.uk-text-nowrap{white-space:nowrap}.uk-text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uk-text-break{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}.uk-container{box-sizing:border-box;max-width:980px;padding:0 25px}@media (min-width:1220px){.uk-container{max-width:1200px;padding:0 35px}}.uk-container:after,.uk-container:before{content:"";display:table}.uk-container:after{clear:both}.uk-container-center{margin-left:auto;margin-right:auto}.uk-clearfix:before{content:"";display:table-cell}.uk-clearfix:after{content:"";display:table;clear:both}.uk-nbfc{overflow:hidden}.uk-nbfc-alt{display:table-cell;width:10000px}.uk-float-left{float:left}.uk-float-right{float:right}[class*=uk-float-]{max-width:100%}[class*=uk-align-]{display:block;margin-bottom:15px}.uk-align-left{margin-right:15px;float:left}.uk-align-right{margin-left:15px;float:right}@media (min-width:768px){.uk-align-medium-left{margin-right:15px;float:left}.uk-align-medium-right{margin-left:15px;float:right}}.uk-align-center{margin-left:auto;margin-right:auto}.uk-vertical-align{font-size:0}.uk-vertical-align:before{content:'';display:inline-block;height:100%;vertical-align:middle}.uk-vertical-align-bottom,.uk-vertical-align-middle{display:inline-block;max-width:100%;font-size:1rem}.uk-vertical-align-middle{vertical-align:middle}.uk-vertical-align-bottom{vertical-align:bottom}[class*=uk-height]{box-sizing:border-box}.uk-height-1-1{height:100%}.uk-height-viewport{height:100vh;min-height:600px}.uk-responsive-height,.uk-responsive-width{box-sizing:border-box}.uk-responsive-width{max-width:100%!important;height:auto}.uk-responsive-height{max-height:100%;width:auto}.uk-margin{margin-bottom:15px}*+.uk-margin{margin-top:15px}.uk-margin-top{margin-top:15px!important}.uk-margin-bottom{margin-bottom:15px!important}.uk-margin-left{margin-left:15px!important}.uk-margin-right{margin-right:15px!important}.uk-margin-large{margin-bottom:50px}*+.uk-margin-large{margin-top:50px}.uk-margin-large-top{margin-top:50px!important}.uk-margin-large-bottom{margin-bottom:50px!important}.uk-margin-large-left{margin-left:50px!important}.uk-margin-large-right{margin-right:50px!important}.uk-margin-small{margin-bottom:5px}*+.uk-margin-small{margin-top:5px}.uk-margin-small-top{margin-top:5px!important}.uk-margin-small-bottom{margin-bottom:5px!important}.uk-margin-small-left{margin-left:5px!important}.uk-margin-small-right{margin-right:5px!important}.uk-margin-remove{margin:0!important}.uk-margin-top-remove{margin-top:0!important}.uk-margin-bottom-remove{margin-bottom:0!important}.uk-padding-remove{padding:0!important}.uk-padding-top-remove{padding-top:0!important}.uk-padding-bottom-remove{padding-bottom:0!important}.uk-padding-vertical-remove{padding-top:0!important;padding-bottom:0!important}.uk-border-circle{border-radius:50%}.uk-border-rounded{border-radius:5px}.uk-heading-large{font-size:36px;line-height:42px}@media (min-width:768px){.uk-heading-large{font-size:52px;line-height:64px}}.uk-link-muted,.uk-link-muted a{color:#444}.uk-link-muted a:hover,.uk-link-muted:hover{color:#444}.uk-link-reset,.uk-link-reset a,.uk-link-reset a:focus,.uk-link-reset a:hover,.uk-link-reset:focus,.uk-link-reset:hover{color:inherit;text-decoration:none}.uk-scrollable-text{height:300px;overflow-y:scroll;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box{box-sizing:border-box;height:170px;padding:10px;border:1px solid #ddd;overflow:auto;-webkit-overflow-scrolling:touch;resize:both}.uk-scrollable-box>:last-child{margin-bottom:0}.uk-overflow-hidden{overflow:hidden}.uk-overflow-container{overflow:auto;-webkit-overflow-scrolling:touch}.uk-overflow-container>:last-child{margin-bottom:0}.uk-position-absolute,[class*=uk-position-top],[class*=uk-position-bottom]{position:absolute!important}.uk-position-top{top:0;left:0;right:0}.uk-position-bottom{bottom:0;left:0;right:0}.uk-position-top-left{top:0;left:0}.uk-position-top-right{top:0;right:0}.uk-position-bottom-left{bottom:0;left:0}.uk-position-bottom-right{bottom:0;right:0}.uk-position-cover{position:absolute;top:0;bottom:0;left:0;right:0}.uk-position-relative{position:relative!important}.uk-position-z-index{z-index:1}.uk-display-block{display:block!important}.uk-display-inline{display:inline!important}.uk-display-inline-block{display:inline-block!important;max-width:100%}@media (min-width:960px){.uk-visible-small{display:none!important}.uk-visible-medium{display:none!important}.uk-hidden-large{display:none!important}}@media (min-width:768px) and (max-width:959px){.uk-visible-small{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-medium{display:none!important}}@media (max-width:767px){.uk-visible-medium{display:none!important}.uk-visible-large{display:none!important}.uk-hidden-small{display:none!important}}.uk-hidden{display:none!important;visibility:hidden!important}.uk-invisible{visibility:hidden!important}.uk-visible-hover:hover .uk-hidden,.uk-visible-hover:hover .uk-invisible{display:block!important;visibility:visible!important}.uk-visible-hover-inline:hover .uk-hidden,.uk-visible-hover-inline:hover .uk-invisible{display:inline-block!important;visibility:visible!important}.uk-notouch .uk-hidden-notouch,.uk-touch .uk-hidden-touch{display:none!important}.uk-flex{display:-ms-flexbox;display:-webkit-flex;display:flex}.uk-flex-inline{display:-ms-inline-flexbox;display:-webkit-inline-flex;display:inline-flex}.uk-flex-inline>*,.uk-flex>*{-ms-flex-negative:1}.uk-flex-top{-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.uk-flex-middle{-ms-flex-align:center;-webkit-align-items:center;align-items:center}.uk-flex-bottom{-ms-flex-align:end;-webkit-align-items:flex-end;align-items:flex-end}.uk-flex-center{-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.uk-flex-right{-ms-flex-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.uk-flex-space-between{-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.uk-flex-space-around{-ms-flex-pack:distribute;-webkit-justify-content:space-around;justify-content:space-around}.uk-flex-row-reverse{-ms-flex-direction:row-reverse;-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.uk-flex-column{-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.uk-flex-column-reverse{-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.uk-flex-nowrap{-ms-flex-wrap:nowrap;-webkit-flex-wrap:nowrap;flex-wrap:nowrap}.uk-flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uk-flex-wrap-reverse{-ms-flex-wrap:wrap-reverse;-webkit-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.uk-flex-wrap-top{-ms-flex-line-pack:start;-webkit-align-content:flex-start;align-content:flex-start}.uk-flex-wrap-middle{-ms-flex-line-pack:center;-webkit-align-content:center;align-content:center}.uk-flex-wrap-bottom{-ms-flex-line-pack:end;-webkit-align-content:flex-end;align-content:flex-end}.uk-flex-wrap-space-between{-ms-flex-line-pack:justify;-webkit-align-content:space-between;align-content:space-between}.uk-flex-wrap-space-around{-ms-flex-line-pack:distribute;-webkit-align-content:space-around;align-content:space-around}.uk-flex-order-first{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last{-ms-flex-order:99;-webkit-order:99;order:99}@media (min-width:480px){.uk-flex-order-first-small{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-small{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:768px){.uk-flex-order-first-medium{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-medium{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:960px){.uk-flex-order-first-large{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-large{-ms-flex-order:99;-webkit-order:99;order:99}}@media (min-width:1220px){.uk-flex-order-first-xlarge{-ms-flex-order:-1;-webkit-order:-1;order:-1}.uk-flex-order-last-xlarge{-ms-flex-order:99;-webkit-order:99;order:99}}.uk-flex-item-none{-ms-flex:none;-webkit-flex:none;flex:none}.uk-flex-item-auto{-ms-flex:auto;-webkit-flex:auto;flex:auto;-ms-flex-negative:1}.uk-flex-item-1{-ms-flex:1;-webkit-flex:1;flex:1}.uk-contrast{color:#fff}.uk-contrast .uk-link,.uk-contrast a:not([class]){color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-link:hover,.uk-contrast a:not([class]):hover{color:#fff;text-decoration:underline}.uk-contrast :not(pre)>code,.uk-contrast :not(pre)>kbd,.uk-contrast :not(pre)>samp{color:#fff}.uk-contrast em{color:#fff}.uk-contrast h1,.uk-contrast h2,.uk-contrast h3,.uk-contrast h4,.uk-contrast h5,.uk-contrast h6{color:#fff}.uk-contrast hr{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav li>a,.uk-contrast .uk-nav li>a:hover{text-decoration:none}.uk-contrast .uk-nav-side>li>a{color:#fff}.uk-contrast .uk-nav-side>li>a:focus,.uk-contrast .uk-nav-side>li>a:hover{background:rgba(255,255,255,.1);color:#fff}.uk-contrast .uk-nav-side>li.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-nav-side .uk-nav-header{color:#fff}.uk-contrast .uk-nav-side .uk-nav-divider{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-nav-side ul a{color:rgba(255,255,255,.7)}.uk-contrast .uk-nav-side ul a:hover{color:#fff}.uk-contrast .uk-subnav>*>a{color:rgba(255,255,255,.7);text-decoration:none}.uk-contrast .uk-subnav>*>a:focus,.uk-contrast .uk-subnav>*>a:hover{color:#fff;text-decoration:none}.uk-contrast .uk-subnav>.uk-active>a{color:#fff}.uk-contrast .uk-subnav-line>:nth-child(n+2):before{border-left-color:rgba(255,255,255,.2)}.uk-contrast .uk-subnav-pill>*>a:focus,.uk-contrast .uk-subnav-pill>*>a:hover{background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-subnav-pill>.uk-active>a{background:#fff;color:#444}.uk-contrast .uk-tab{border-bottom-color:rgba(255,255,255,.2)}.uk-contrast .uk-tab>li>a{border-color:transparent;color:rgba(255,255,255,.7)}.uk-contrast .uk-tab>li.uk-open>a,.uk-contrast .uk-tab>li>a:focus,.uk-contrast .uk-tab>li>a:hover{border-color:rgba(255,255,255,.7);background:rgba(255,255,255,.7);color:#444;text-decoration:none}.uk-contrast .uk-tab>li.uk-active>a{border-color:rgba(255,255,255,.2);border-bottom-color:transparent;background:#fff;color:#444}.uk-contrast .uk-tab-center{border-bottom-color:rgba(255,255,255,.2)}.uk-contrast .uk-tab-grid:before{border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-list-line>li:nth-child(n+2){border-top-color:rgba(255,255,255,.2)}.uk-contrast .uk-form input:not([type]),.uk-contrast .uk-form input[type=text],.uk-contrast .uk-form input[type=password],.uk-contrast .uk-form input[type=email],.uk-contrast .uk-form input[type=url],.uk-contrast .uk-form input[type=search],.uk-contrast .uk-form input[type=tel],.uk-contrast .uk-form input[type=number],.uk-contrast .uk-form input[type=datetime],.uk-contrast .uk-form input[type=datetime-local],.uk-contrast .uk-form input[type=date],.uk-contrast .uk-form input[type=month],.uk-contrast .uk-form input[type=time],.uk-contrast .uk-form input[type=week],.uk-contrast .uk-form input[type=color],.uk-contrast .uk-form select,.uk-contrast .uk-form textarea{border-color:rgba(255,255,255,.8);background:rgba(255,255,255,.8);color:#444;background-clip:padding-box}.uk-contrast .uk-form input:not([type]):focus,.uk-contrast .uk-form input[type=text]:focus,.uk-contrast .uk-form input[type=password]:focus,.uk-contrast .uk-form input[type=email]:focus,.uk-contrast .uk-form input[type=url]:focus,.uk-contrast .uk-form input[type=search]:focus,.uk-contrast .uk-form input[type=tel]:focus,.uk-contrast .uk-form input[type=number]:focus,.uk-contrast .uk-form input[type=datetime]:focus,.uk-contrast .uk-form input[type=datetime-local]:focus,.uk-contrast .uk-form input[type=date]:focus,.uk-contrast .uk-form input[type=month]:focus,.uk-contrast .uk-form input[type=time]:focus,.uk-contrast .uk-form input[type=week]:focus,.uk-contrast .uk-form input[type=color]:focus,.uk-contrast .uk-form select:focus,.uk-contrast .uk-form textarea:focus{border-color:#fff;background:#fff;color:#444}.uk-contrast .uk-form :-ms-input-placeholder{color:rgba(68,68,68,.7)!important}.uk-contrast .uk-form ::-moz-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-form ::-webkit-input-placeholder{color:rgba(68,68,68,.7)}.uk-contrast .uk-button{color:#444;background:#fff}.uk-contrast .uk-button:focus,.uk-contrast .uk-button:hover{background-color:rgba(255,255,255,.8);color:#444}.uk-contrast .uk-button.uk-active,.uk-contrast .uk-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-button-primary{background-color:#00a8e6;color:#fff}.uk-contrast .uk-button-primary:focus,.uk-contrast .uk-button-primary:hover{background-color:#35b3ee;color:#fff}.uk-contrast .uk-button-primary.uk-active,.uk-contrast .uk-button-primary:active{background-color:#0091ca;color:#fff}.uk-contrast .uk-icon-hover{color:rgba(255,255,255,.7)}.uk-contrast .uk-icon-hover:hover{color:#fff}.uk-contrast .uk-icon-button{background:#fff;color:#444}.uk-contrast .uk-icon-button:focus,.uk-contrast .uk-icon-button:hover{background-color:rgba(255,255,255,.8);color:#444}.uk-contrast .uk-icon-button:active{background-color:rgba(255,255,255,.7);color:#444}.uk-contrast .uk-text-muted{color:rgba(255,255,255,.6)!important}.uk-contrast .uk-text-primary{color:#2d7091!important}@media print{*,:after,:before{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}} \ No newline at end of file | ||
| diff --git a/fonts/FontAwesome.otf b/fonts/FontAwesome.otf new file mode 100755 index 0000000..f7f9eae --- /dev/null +++ b/fonts/FontAwesome.otf | |||
| Binary files differ | |||
| diff --git a/fonts/fontawesome-webfont.ttf b/fonts/fontawesome-webfont.ttf new file mode 100755 index 0000000..cec09e0 --- /dev/null +++ b/fonts/fontawesome-webfont.ttf | |||
| Binary files differ | |||
| diff --git a/fonts/fontawesome-webfont.woff b/fonts/fontawesome-webfont.woff new file mode 100755 index 0000000..52d8116 --- /dev/null +++ b/fonts/fontawesome-webfont.woff | |||
| Binary files differ | |||
| diff --git a/fonts/fontawesome-webfont.woff2 b/fonts/fontawesome-webfont.woff2 new file mode 100755 index 0000000..65aeb01 --- /dev/null +++ b/fonts/fontawesome-webfont.woff2 | |||
| Binary files differ | |||
| @@ -7,68 +7,85 @@ | |||
| 7 | <script src="pdfmake.min.js"></script> | 7 | <script src="pdfmake.min.js"></script> | 
| 8 | <script src="vfs_fonts.js"></script> | 8 | <script src="vfs_fonts.js"></script> | 
| 9 | <script src="abmahn.js"></script> | 9 | <script src="abmahn.js"></script> | 
| 10 | <script src="js/uikit.min.js"></script> | ||
| 11 | <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script> | ||
| 12 | <link rel="stylesheet" type="text/css" href="css/uikit.min.css"> | ||
| 13 | |||
| 10 | </head> | 14 | </head> | 
| 11 | <body> | 15 | <body> | 
| 12 | <h1>Automatischer Abmahnbeantworter</h1> | 16 | <div class="uk-grid"> | 
| 13 | <div> | 17 | <div class="uk-container-center uk-width-1-2"> | 
| 14 | <p>Wenn Sie eine Abahnung für einen angeblichen Urheberrechtsverstoß erhalten haben und sich sicher sind, dass Sie diese Urheberrechtsverletzung nicht begangen haben, können Sie mit diesem Schriftsatz-Generator ein Antwortschreiben erzeugen, das die abmahnenden Kanzlei über die Unrechtmäßigkeit der Abmahnung in Kenntnis setzt. Nimmt diese daraufhin die Forderung nicht innerhalb der gesetzten Frist (von 14 Tagen) zurück, steht Ihnen eine gerichtliche Klärung zu.</p> | 18 | <h1>Automatischer Abmahnbeantworter</h1> | 
| 15 | <p>Für diese gerichtliche Klärung können Sie – im Gegensatz zur ersten Antwort auf die Abmahnung – Ihre Auslagen vom Abmahner zurückfordern. Dazu gehören auch die Anwaltskosten.</p> | 19 | <div> | 
| 16 | <p>Bitte benutzen Sie diesen Vordruck nur, wenn Sie tatsächlich nicht für die abgemahnte Verletzung verantwortlich sind. Sollte dies doch der Fall sein, oder wenn Sie sich <b>nicht</b> sicher sind, dann suchen Sie bitte einen Anwalt auf. Zudem können Ihnen unrichtige Angaben zum Sachverhalt vor Gericht belastend ausgelegt werden.</p> | 20 | <p>Wenn Sie eine Abahnung für einen angeblichen Urheberrechtsverstoß erhalten haben und sich sicher sind, dass Sie diese Urheberrechtsverletzung nicht begangen haben, können Sie mit diesem Schriftsatz-Generator ein Antwortschreiben erzeugen, das die abmahnenden Kanzlei über die Unrechtmäßigkeit der Abmahnung in Kenntnis setzt. Nimmt diese daraufhin die Forderung nicht innerhalb der gesetzten Frist (von 14 Tagen) zurück, steht Ihnen eine gerichtliche Klärung zu.</p> | 
| 17 | <p><b>Wählen Sie daher auf jeden Fall nur die Häkchen aus, die den Tatsachen entsprechen.</b></p> | 21 | <p>Für diese gerichtliche Klärung können Sie – im Gegensatz zur ersten Antwort auf die Abmahnung – Ihre Auslagen vom Abmahner zurückfordern. Dazu gehören auch die Anwaltskosten.</p> | 
| 18 | <p>Datenschutzhinweis: Das Dokument wird in Ihrem Browser generiert, es werden keine Daten zum Server übertragen und können daher auch dort nicht gespeichert werden. Der Webserver speichert zudem keine persönlichen Informationen über Zugriffe auf diese Webseite, sondern zählt einzig die Besucher.</p> | 22 | <p>Bitte benutzen Sie diesen Vordruck nur, wenn Sie tatsächlich nicht für die abgemahnte Verletzung verantwortlich sind. Sollte dies doch der Fall sein, oder wenn Sie sich <b>nicht</b> sicher sind, dann suchen Sie bitte einen Anwalt auf. Zudem können Ihnen unrichtige Angaben zum Sachverhalt vor Gericht belastend ausgelegt werden.</p> | 
| 23 | <p><b>Wählen Sie daher auf jeden Fall nur die Häkchen aus, die den Tatsachen entsprechen.</b></p> | ||
| 24 | <p>Datenschutzhinweis: Das Dokument wird in Ihrem Browser generiert, es werden keine Daten zum Server übertragen und können daher auch dort nicht gespeichert werden. Der Webserver speichert zudem keine persönlichen Informationen über Zugriffe auf diese Webseite, sondern zählt einzig die Besucher.</p> | ||
| 25 | </div> | ||
| 26 | <div><a href="javascript:ausfuellen()" class="button">Debug: pre-fill</a></div> | ||
| 27 | |||
| 28 | <div class="uk-progress"> | ||
| 29 | <div class="uk-progress-bar" style="width: 33%;">33%</div> | ||
| 30 | </div> | ||
| 31 | |||
| 32 | <div class="block abgemahnter"> | ||
| 33 | <h2 class="block_titel">Abgemahnter</h2> | ||
| 34 | |||
| 35 | <form class="uk-form"> | ||
| 36 | <fieldset data-uk-margin> | ||
| 37 | <input id="abgemahnter_vorname" type="text" name="vorname" placeholder="Vorname"/> | ||
| 38 | <input id="abgemahnter_nachname" type="text" name="nachname" placeholder="Nachname"/> | ||
| 39 | <input id="abgemahnter_zusatz" type="text" name="zusatz" placeholder="Zusatz (optional)"/> | ||
| 40 | <input id="abgemahnter_strasse" type="text" name="strasse" placeholder="Strasse und Hausnummer"/> | ||
| 41 | <input id="abgemahnter_plz" type="text" name="plz" placeholder="Postleitzahl"/> | ||
| 42 | <input id="abgemahnter_ort" type="text" name="ort" placeholder="Wohnort"/> | ||
| 43 | </fieldset> | ||
| 44 | </form> | ||
| 45 | |||
| 46 | </div> | ||
| 47 | <div class="block abmahnender"> | ||
| 48 | <h2 class="block_titel">Abmahnender</h2> | ||
| 49 | <ul> | ||
| 50 | <li><input id="abmahnender_kanzlei" type="text" name="kanzlei" placeholder="Kanzlei"/></li> | ||
| 51 | <li><input id="abmahnender_bearbeiter" type="text" name="bearbeiter" placeholder="Bearbeiter (optional)"/></li> | ||
| 52 | <li><input id="abmahnender_strasse" type="text" name="strasse" placeholder="Strasse und Hausnummer"/></li> | ||
| 53 | <li><input id="abmahnender_plz" type="text" name="plz" placeholder="Postleitzahl"/></li> | ||
| 54 | <li><input id="abmahnender_ort" type="text" name="ort" placeholder="Ort"/></li> | ||
| 55 | <li><input id="abmahnender_fax" type="text" name="fax" placeholder="Fax"/></li> | ||
| 56 | </ul> | ||
| 57 | Bekannte Kanzlei? | ||
| 58 | <button class="w3-btn" onclick="waldorff()">Waldorff & Frommer</button> | ||
| 59 | <button class="w3-btn" onclick="sasse()">Sasse & Partner</button> | ||
| 60 | <button class="w3-btn" onclick="fareds()">Fareds Rechtsanwaltsgesellschaft mbH</button> | ||
| 61 | <button class="w3-btn" onclick="schutt()">Schutt, Waetke Rechtsanwälte</button> | ||
| 62 | <button class="w3-btn" onclick="sebastian()">Daniel Sebastian Rechtsanwalt</button> | ||
| 63 | </div> | ||
| 64 | <div class="block vorgang"> | ||
| 65 | <h2 class="block_title">Vorgang</h2> | ||
| 66 | <ul> | ||
| 67 | <li><input id="vorgang_aktenzeichen" type="text" name="aktenzeichen" placeholder="(Akten)-Zeichen"/></li> | ||
| 68 | <li><input id="vorgang_detail" type="text" name="detail" placeholder="Beschreibung (optional)"/></li> | ||
| 69 | <li><input id="vorgang_datum" type="date" name="datum" placeholder="Datum der Abmahnung"/></li> | ||
| 70 | </ul> | ||
| 71 | </div> | ||
| 72 | <div class="clear"> | ||
| 73 | <h2 class="block_title">Alibis</h2> | ||
| 74 | <ul> | ||
| 75 | <li><input id="alibi_urlaub" type="checkbox">Ich war nachweislich im Urlaub.</input></li> | ||
| 76 | <li><input id="alibi_ausserhalb" type="checkbox">Ich war nachweislich außerhalb Deutschlands.</input></li> | ||
| 77 | <li><input id="alibi_nichtzuhause" type="checkbox">Ich war nachweislich nicht zuhause.</input></li> | ||
| 78 | <li><input id="alibi_freifunk" type="checkbox">Ich betreibe ein Freifunk-Netzwerk.</input></li> | ||
| 79 | <li><input id="alibi_tornode" type="checkbox">Ich betreibe nachweislich einen Tor-Exit-Node.</input></li> | ||
| 80 | <li><input id="alibi_offeneswifi" type="checkbox">Ich betreibe ein offenes Netzwerk.</input></li> | ||
| 81 | <li><input id="alibi_vorschaltwifi" type="checkbox">Ich betreibe ein offenes Netzwerk mit Vorschaltseite.</input></li> | ||
| 82 | <li><input id="alibi_famile" type="checkbox">Neben mir benutzen mehrere Familienmitglieder mein Funknetzwerk.</input></li> | ||
| 83 | <li><input id="alibi_nachbarn" type="checkbox">Neben mir benutzen mehrere Nachbarn mein Funknetzwerk.</input></li> | ||
| 84 | </ul> | ||
| 85 | <div> | ||
| 86 | <!--a href="javascript:abmahnbeantworter()" class="button">fire!</a --> | ||
| 87 | <button class="w3-btn w3-hover-red" onclick="abmahnbeantworter()">Abmahnung beantworten</button> | ||
| 88 | </div> | ||
| 19 | </div> | 89 | </div> | 
| 20 | <div><a href="javascript:ausfuellen()" class="button">Debug: pre-fill</a></div> | ||
| 21 | <div class="block abgemahnter"> | ||
| 22 | <h2 class="block_titel">Abgemahnter</h2> | ||
| 23 | <ul> | ||
| 24 | <li><input id="abgemahnter_vorname" type="text" name="vorname" placeholder="Vorname"/></li> | ||
| 25 | <li><input id="abgemahnter_nachname" type="text" name="nachname" placeholder="Nachname"/></li> | ||
| 26 | <li><input id="abgemahnter_zusatz" type="text" name="zusatz" placeholder="Zusatz (optional)"/></li> | ||
| 27 | <li><input id="abgemahnter_strasse" type="text" name="strasse" placeholder="Strasse und Hausnummer"/></li> | ||
| 28 | <li><input id="abgemahnter_plz" type="text" name="plz" placeholder="Postleitzahl"/></li> | ||
| 29 | <li><input id="abgemahnter_ort" type="text" name="ort" placeholder="Wohnort"/></li> | ||
| 30 | </ul> | ||
| 31 | </div> | ||
| 32 | <div class="block abmahnender"> | ||
| 33 | <h2 class="block_titel">Abmahnender</h2> | ||
| 34 | <ul> | ||
| 35 | <li><input id="abmahnender_kanzlei" type="text" name="kanzlei" placeholder="Kanzlei"/></li> | ||
| 36 | <li><input id="abmahnender_bearbeiter" type="text" name="bearbeiter" placeholder="Bearbeiter (optional)"/></li> | ||
| 37 | <li><input id="abmahnender_strasse" type="text" name="strasse" placeholder="Strasse und Hausnummer"/></li> | ||
| 38 | <li><input id="abmahnender_plz" type="text" name="plz" placeholder="Postleitzahl"/></li> | ||
| 39 | <li><input id="abmahnender_ort" type="text" name="ort" placeholder="Ort"/></li> | ||
| 40 | <li><input id="abmahnender_fax" type="text" name="fax" placeholder="Fax"/></li> | ||
| 41 | </ul> | ||
| 42 | Bekannte Kanzlei? | ||
| 43 | <button class="w3-btn" onclick="waldorff()">Waldorff & Frommer</button> | ||
| 44 | <button class="w3-btn" onclick="sasse()">Sasse & Partner</button> | ||
| 45 | <button class="w3-btn" onclick="fareds()">Fareds Rechtsanwaltsgesellschaft mbH</button> | ||
| 46 | <button class="w3-btn" onclick="schutt()">Schutt, Waetke Rechtsanwälte</button> | ||
| 47 | <button class="w3-btn" onclick="sebastian()">Daniel Sebastian Rechtsanwalt</button> | ||
| 48 | </div> | ||
| 49 | <div class="block vorgang"> | ||
| 50 | <h2 class="block_title">Vorgang</h2> | ||
| 51 | <ul> | ||
| 52 | <li><input id="vorgang_aktenzeichen" type="text" name="aktenzeichen" placeholder="(Akten)-Zeichen"/></li> | ||
| 53 | <li><input id="vorgang_detail" type="text" name="detail" placeholder="Beschreibung (optional)"/></li> | ||
| 54 | <li><input id="vorgang_datum" type="date" name="datum" placeholder="Datum der Abmahnung"/></li> | ||
| 55 | </ul> | ||
| 56 | </div> | ||
| 57 | <div class="clear"> | ||
| 58 | <h2 class="block_title">Alibis</h2> | ||
| 59 | <ul> | ||
| 60 | <li><input id="alibi_urlaub" type="checkbox">Ich war nachweislich im Urlaub.</input></li> | ||
| 61 | <li><input id="alibi_ausserhalb" type="checkbox">Ich war nachweislich außerhalb Deutschlands.</input></li> | ||
| 62 | <li><input id="alibi_nichtzuhause" type="checkbox">Ich war nachweislich nicht zuhause.</input></li> | ||
| 63 | <li><input id="alibi_freifunk" type="checkbox">Ich betreibe ein Freifunk-Netzwerk.</input></li> | ||
| 64 | <li><input id="alibi_tornode" type="checkbox">Ich betreibe nachweislich einen Tor-Exit-Node.</input></li> | ||
| 65 | <li><input id="alibi_offeneswifi" type="checkbox">Ich betreibe ein offenes Netzwerk.</input></li> | ||
| 66 | <li><input id="alibi_vorschaltwifi" type="checkbox">Ich betreibe ein offenes Netzwerk mit Vorschaltseite.</input></li> | ||
| 67 | <li><input id="alibi_famile" type="checkbox">Neben mir benutzen mehrere Familienmitglieder mein Funknetzwerk.</input></li> | ||
| 68 | <li><input id="alibi_nachbarn" type="checkbox">Neben mir benutzen mehrere Nachbarn mein Funknetzwerk.</input></li> | ||
| 69 | </ul> | ||
| 70 | <div> | ||
| 71 | <!--a href="javascript:abmahnbeantworter()" class="button">fire!</a --> | ||
| 72 | <button class="w3-btn w3-hover-red" onclick="abmahnbeantworter()">Abmahnung beantworten</button> | ||
| 73 | </body> | 90 | </body> | 
| 74 | </html> | 91 | </html> | 
| diff --git a/js/components/accordion.js b/js/components/accordion.js new file mode 100755 index 0000000..2401780 --- /dev/null +++ b/js/components/accordion.js | |||
| @@ -0,0 +1,174 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | var component; | ||
| 4 | |||
| 5 | if (window.UIkit) { | ||
| 6 | component = addon(UIkit); | ||
| 7 | } | ||
| 8 | |||
| 9 | if (typeof define == "function" && define.amd) { | ||
| 10 | define("uikit-accordion", ["uikit"], function(){ | ||
| 11 | return component || addon(UIkit); | ||
| 12 | }); | ||
| 13 | } | ||
| 14 | })(function(UI){ | ||
| 15 | |||
| 16 | "use strict"; | ||
| 17 | |||
| 18 | UI.component('accordion', { | ||
| 19 | |||
| 20 | defaults: { | ||
| 21 | showfirst : true, | ||
| 22 | collapse : true, | ||
| 23 | animate : true, | ||
| 24 | easing : 'swing', | ||
| 25 | duration : 300, | ||
| 26 | toggle : '.uk-accordion-title', | ||
| 27 | containers : '.uk-accordion-content', | ||
| 28 | clsactive : 'uk-active' | ||
| 29 | }, | ||
| 30 | |||
| 31 | boot: function() { | ||
| 32 | |||
| 33 | // init code | ||
| 34 | UI.ready(function(context) { | ||
| 35 | |||
| 36 | setTimeout(function(){ | ||
| 37 | |||
| 38 | UI.$("[data-uk-accordion]", context).each(function(){ | ||
| 39 | |||
| 40 | var ele = UI.$(this); | ||
| 41 | |||
| 42 | if(!ele.data("accordion")) { | ||
| 43 | UI.accordion(ele, UI.Utils.options(ele.attr('data-uk-accordion'))); | ||
| 44 | } | ||
| 45 | }); | ||
| 46 | |||
| 47 | }, 0); | ||
| 48 | }); | ||
| 49 | }, | ||
| 50 | |||
| 51 | init: function() { | ||
| 52 | |||
| 53 | var $this = this; | ||
| 54 | |||
| 55 | this.element.on('click.uk.accordion', this.options.toggle, function(e) { | ||
| 56 | |||
| 57 | e.preventDefault(); | ||
| 58 | |||
| 59 | $this.toggleItem(UI.$(this).data('wrapper'), $this.options.animate, $this.options.collapse); | ||
| 60 | }); | ||
| 61 | |||
| 62 | this.update(); | ||
| 63 | |||
| 64 | if (this.options.showfirst) { | ||
| 65 | this.toggleItem(this.toggle.eq(0).data('wrapper'), false, false); | ||
| 66 | } | ||
| 67 | }, | ||
| 68 | |||
| 69 | toggleItem: function(wrapper, animated, collapse) { | ||
| 70 | |||
| 71 | var $this = this; | ||
| 72 | |||
| 73 | wrapper.data('toggle').toggleClass(this.options.clsactive); | ||
| 74 | wrapper.data('content').toggleClass(this.options.clsactive); | ||
| 75 | |||
| 76 | var active = wrapper.data('toggle').hasClass(this.options.clsactive); | ||
| 77 | |||
| 78 | if (collapse) { | ||
| 79 | this.toggle.not(wrapper.data('toggle')).removeClass(this.options.clsactive); | ||
| 80 | this.content.not(wrapper.data('content')).removeClass(this.options.clsactive) | ||
| 81 | .parent().stop().css('overflow', 'hidden').animate({ height: 0 }, {easing: this.options.easing, duration: animated ? this.options.duration : 0}).attr('aria-expanded', 'false'); | ||
| 82 | } | ||
| 83 | |||
| 84 | wrapper.stop().css('overflow', 'hidden'); | ||
| 85 | |||
| 86 | if (animated) { | ||
| 87 | |||
| 88 | wrapper.animate({ height: active ? getHeight(wrapper.data('content')) : 0 }, {easing: this.options.easing, duration: this.options.duration, complete: function() { | ||
| 89 | |||
| 90 | if (active) { | ||
| 91 | wrapper.css({'overflow': '', 'height': 'auto'}); | ||
| 92 | UI.Utils.checkDisplay(wrapper.data('content')); | ||
| 93 | } | ||
| 94 | |||
| 95 | $this.trigger('display.uk.check'); | ||
| 96 | }}); | ||
| 97 | |||
| 98 | } else { | ||
| 99 | |||
| 100 | wrapper.height(active ? 'auto' : 0); | ||
| 101 | |||
| 102 | if (active) { | ||
| 103 | wrapper.css({'overflow': ''}); | ||
| 104 | UI.Utils.checkDisplay(wrapper.data('content')); | ||
| 105 | } | ||
| 106 | |||
| 107 | this.trigger('display.uk.check'); | ||
| 108 | } | ||
| 109 | |||
| 110 | // Update ARIA | ||
| 111 | wrapper.attr('aria-expanded', active); | ||
| 112 | |||
| 113 | this.element.trigger('toggle.uk.accordion', [active, wrapper.data('toggle'), wrapper.data('content')]); | ||
| 114 | }, | ||
| 115 | |||
| 116 | update: function() { | ||
| 117 | |||
| 118 | var $this = this, $content, $wrapper, $toggle; | ||
| 119 | |||
| 120 | this.toggle = this.find(this.options.toggle); | ||
| 121 | this.content = this.find(this.options.containers); | ||
| 122 | |||
| 123 | this.content.each(function(index) { | ||
| 124 | |||
| 125 | $content = UI.$(this); | ||
| 126 | |||
| 127 | if ($content.parent().data('wrapper')) { | ||
| 128 | $wrapper = $content.parent(); | ||
| 129 | } else { | ||
| 130 | $wrapper = UI.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(); | ||
| 131 | |||
| 132 | // Init ARIA | ||
| 133 | $wrapper.attr('aria-expanded', 'false'); | ||
| 134 | } | ||
| 135 | |||
| 136 | $toggle = $this.toggle.eq(index); | ||
| 137 | |||
| 138 | $wrapper.data('toggle', $toggle); | ||
| 139 | $wrapper.data('content', $content); | ||
| 140 | $toggle.data('wrapper', $wrapper); | ||
| 141 | $content.data('wrapper', $wrapper); | ||
| 142 | }); | ||
| 143 | |||
| 144 | this.element.trigger('update.uk.accordion', [this]); | ||
| 145 | } | ||
| 146 | |||
| 147 | }); | ||
| 148 | |||
| 149 | // helper | ||
| 150 | |||
| 151 | function getHeight(ele) { | ||
| 152 | |||
| 153 | var $ele = UI.$(ele), height = "auto"; | ||
| 154 | |||
| 155 | if ($ele.is(":visible")) { | ||
| 156 | height = $ele.outerHeight(); | ||
| 157 | } else { | ||
| 158 | |||
| 159 | var tmp = { | ||
| 160 | position : $ele.css("position"), | ||
| 161 | visibility : $ele.css("visibility"), | ||
| 162 | display : $ele.css("display") | ||
| 163 | }; | ||
| 164 | |||
| 165 | height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); | ||
| 166 | |||
| 167 | $ele.css(tmp); // reset element | ||
| 168 | } | ||
| 169 | |||
| 170 | return height; | ||
| 171 | } | ||
| 172 | |||
| 173 | return UI.accordion; | ||
| 174 | }); | ||
| diff --git a/js/components/accordion.min.js b/js/components/accordion.min.js new file mode 100755 index 0000000..ca3e452 --- /dev/null +++ b/js/components/accordion.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-accordion",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i){var o=t.$(i),e="auto";if(o.is(":visible"))e=o.outerHeight();else{var a={position:o.css("position"),visibility:o.css("visibility"),display:o.css("display")};e=o.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),o.css(a)}return e}return t.component("accordion",{defaults:{showfirst:!0,collapse:!0,animate:!0,easing:"swing",duration:300,toggle:".uk-accordion-title",containers:".uk-accordion-content",clsactive:"uk-active"},boot:function(){t.ready(function(i){setTimeout(function(){t.$("[data-uk-accordion]",i).each(function(){var i=t.$(this);i.data("accordion")||t.accordion(i,t.Utils.options(i.attr("data-uk-accordion")))})},0)})},init:function(){var i=this;this.element.on("click.uk.accordion",this.options.toggle,function(o){o.preventDefault(),i.toggleItem(t.$(this).data("wrapper"),i.options.animate,i.options.collapse)}),this.update(),this.options.showfirst&&this.toggleItem(this.toggle.eq(0).data("wrapper"),!1,!1)},toggleItem:function(o,e,a){var n=this;o.data("toggle").toggleClass(this.options.clsactive),o.data("content").toggleClass(this.options.clsactive);var s=o.data("toggle").hasClass(this.options.clsactive);a&&(this.toggle.not(o.data("toggle")).removeClass(this.options.clsactive),this.content.not(o.data("content")).removeClass(this.options.clsactive).parent().stop().css("overflow","hidden").animate({height:0},{easing:this.options.easing,duration:e?this.options.duration:0}).attr("aria-expanded","false")),o.stop().css("overflow","hidden"),e?o.animate({height:s?i(o.data("content")):0},{easing:this.options.easing,duration:this.options.duration,complete:function(){s&&(o.css({overflow:"",height:"auto"}),t.Utils.checkDisplay(o.data("content"))),n.trigger("display.uk.check")}}):(o.height(s?"auto":0),s&&(o.css({overflow:""}),t.Utils.checkDisplay(o.data("content"))),this.trigger("display.uk.check")),o.attr("aria-expanded",s),this.element.trigger("toggle.uk.accordion",[s,o.data("toggle"),o.data("content")])},update:function(){var i,o,e,a=this;this.toggle=this.find(this.options.toggle),this.content=this.find(this.options.containers),this.content.each(function(n){i=t.$(this),i.parent().data("wrapper")?o=i.parent():(o=t.$(this).wrap('<div data-wrapper="true" style="overflow:hidden;height:0;position:relative;"></div>').parent(),o.attr("aria-expanded","false")),e=a.toggle.eq(n),o.data("toggle",e),o.data("content",i),e.data("wrapper",o),i.data("wrapper",o)}),this.element.trigger("update.uk.accordion",[this])}}),t.accordion}); \ No newline at end of file | ||
| diff --git a/js/components/autocomplete.js b/js/components/autocomplete.js new file mode 100755 index 0000000..58a405d --- /dev/null +++ b/js/components/autocomplete.js | |||
| @@ -0,0 +1,334 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-autocomplete", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var active; | ||
| 21 | |||
| 22 | UI.component('autocomplete', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | minLength: 3, | ||
| 26 | param: 'search', | ||
| 27 | method: 'post', | ||
| 28 | delay: 300, | ||
| 29 | loadingClass: 'uk-loading', | ||
| 30 | flipDropdown: false, | ||
| 31 | skipClass: 'uk-skip', | ||
| 32 | hoverClass: 'uk-active', | ||
| 33 | source: null, | ||
| 34 | renderer: null, | ||
| 35 | |||
| 36 | // template | ||
| 37 | |||
| 38 | template: '<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>' | ||
| 39 | }, | ||
| 40 | |||
| 41 | visible : false, | ||
| 42 | value : null, | ||
| 43 | selected : null, | ||
| 44 | |||
| 45 | boot: function() { | ||
| 46 | |||
| 47 | // init code | ||
| 48 | UI.$html.on("focus.autocomplete.uikit", "[data-uk-autocomplete]", function(e) { | ||
| 49 | |||
| 50 | var ele = UI.$(this); | ||
| 51 | |||
| 52 | if (!ele.data("autocomplete")) { | ||
| 53 | UI.autocomplete(ele, UI.Utils.options(ele.attr("data-uk-autocomplete"))); | ||
| 54 | } | ||
| 55 | }); | ||
| 56 | |||
| 57 | // register outer click for autocompletes | ||
| 58 | UI.$html.on("click.autocomplete.uikit", function(e) { | ||
| 59 | if (active && e.target!=active.input[0]) active.hide(); | ||
| 60 | }); | ||
| 61 | }, | ||
| 62 | |||
| 63 | init: function() { | ||
| 64 | |||
| 65 | var $this = this, | ||
| 66 | select = false, | ||
| 67 | trigger = UI.Utils.debounce(function(e) { | ||
| 68 | if(select) { | ||
| 69 | return (select = false); | ||
| 70 | } | ||
| 71 | $this.handle(); | ||
| 72 | }, this.options.delay); | ||
| 73 | |||
| 74 | |||
| 75 | this.dropdown = this.find('.uk-dropdown'); | ||
| 76 | this.template = this.find('script[type="text/autocomplete"]').html(); | ||
| 77 | this.template = UI.Utils.template(this.template || this.options.template); | ||
| 78 | this.input = this.find("input:first").attr("autocomplete", "off"); | ||
| 79 | |||
| 80 | if (!this.dropdown.length) { | ||
| 81 | this.dropdown = UI.$('<div class="uk-dropdown"></div>').appendTo(this.element); | ||
| 82 | } | ||
| 83 | |||
| 84 | if (this.options.flipDropdown) { | ||
| 85 | this.dropdown.addClass('uk-dropdown-flip'); | ||
| 86 | } | ||
| 87 | |||
| 88 | this.dropdown.attr('aria-expanded', 'false'); | ||
| 89 | |||
| 90 | this.input.on({ | ||
| 91 | "keydown": function(e) { | ||
| 92 | |||
| 93 | if (e && e.which && !e.shiftKey) { | ||
| 94 | |||
| 95 | switch (e.which) { | ||
| 96 | case 13: // enter | ||
| 97 | select = true; | ||
| 98 | |||
| 99 | if ($this.selected) { | ||
| 100 | e.preventDefault(); | ||
| 101 | $this.select(); | ||
| 102 | } | ||
| 103 | break; | ||
| 104 | case 38: // up | ||
| 105 | e.preventDefault(); | ||
| 106 | $this.pick('prev', true); | ||
| 107 | break; | ||
| 108 | case 40: // down | ||
| 109 | e.preventDefault(); | ||
| 110 | $this.pick('next', true); | ||
| 111 | break; | ||
| 112 | case 27: | ||
| 113 | case 9: // esc, tab | ||
| 114 | $this.hide(); | ||
| 115 | break; | ||
| 116 | default: | ||
| 117 | break; | ||
| 118 | } | ||
| 119 | } | ||
| 120 | |||
| 121 | }, | ||
| 122 | "keyup": trigger | ||
| 123 | }); | ||
| 124 | |||
| 125 | this.dropdown.on("click", ".uk-autocomplete-results > *", function(){ | ||
| 126 | $this.select(); | ||
| 127 | }); | ||
| 128 | |||
| 129 | this.dropdown.on("mouseover", ".uk-autocomplete-results > *", function(){ | ||
| 130 | $this.pick(UI.$(this)); | ||
| 131 | }); | ||
| 132 | |||
| 133 | this.triggercomplete = trigger; | ||
| 134 | }, | ||
| 135 | |||
| 136 | handle: function() { | ||
| 137 | |||
| 138 | var $this = this, old = this.value; | ||
| 139 | |||
| 140 | this.value = this.input.val(); | ||
| 141 | |||
| 142 | if (this.value.length < this.options.minLength) return this.hide(); | ||
| 143 | |||
| 144 | if (this.value != old) { | ||
| 145 | $this.request(); | ||
| 146 | } | ||
| 147 | |||
| 148 | return this; | ||
| 149 | }, | ||
| 150 | |||
| 151 | pick: function(item, scrollinview) { | ||
| 152 | |||
| 153 | var $this = this, | ||
| 154 | items = UI.$(this.dropdown.find('.uk-autocomplete-results').children(':not(.'+this.options.skipClass+')')), | ||
| 155 | selected = false; | ||
| 156 | |||
| 157 | if (typeof item !== "string" && !item.hasClass(this.options.skipClass)) { | ||
| 158 | selected = item; | ||
| 159 | } else if (item == 'next' || item == 'prev') { | ||
| 160 | |||
| 161 | if (this.selected) { | ||
| 162 | var index = items.index(this.selected); | ||
| 163 | |||
| 164 | if (item == 'next') { | ||
| 165 | selected = items.eq(index + 1 < items.length ? index + 1 : 0); | ||
| 166 | } else { | ||
| 167 | selected = items.eq(index - 1 < 0 ? items.length - 1 : index - 1); | ||
| 168 | } | ||
| 169 | |||
| 170 | } else { | ||
| 171 | selected = items[(item == 'next') ? 'first' : 'last'](); | ||
| 172 | } | ||
| 173 | |||
| 174 | selected = UI.$(selected); | ||
| 175 | } | ||
| 176 | |||
| 177 | if (selected && selected.length) { | ||
| 178 | this.selected = selected; | ||
| 179 | items.removeClass(this.options.hoverClass); | ||
| 180 | this.selected.addClass(this.options.hoverClass); | ||
| 181 | |||
| 182 | // jump to selected if not in view | ||
| 183 | if (scrollinview) { | ||
| 184 | |||
| 185 | var top = selected.position().top, | ||
| 186 | scrollTop = $this.dropdown.scrollTop(), | ||
| 187 | dpheight = $this.dropdown.height(); | ||
| 188 | |||
| 189 | if (top > dpheight || top < 0) { | ||
| 190 | $this.dropdown.scrollTop(scrollTop + top); | ||
| 191 | } | ||
| 192 | } | ||
| 193 | } | ||
| 194 | }, | ||
| 195 | |||
| 196 | select: function() { | ||
| 197 | |||
| 198 | if(!this.selected) return; | ||
| 199 | |||
| 200 | var data = this.selected.data(); | ||
| 201 | |||
| 202 | this.trigger("selectitem.uk.autocomplete", [data, this]); | ||
| 203 | |||
| 204 | if (data.value) { | ||
| 205 | this.input.val(data.value).trigger('change'); | ||
| 206 | } | ||
| 207 | |||
| 208 | this.hide(); | ||
| 209 | }, | ||
| 210 | |||
| 211 | show: function() { | ||
| 212 | if (this.visible) return; | ||
| 213 | this.visible = true; | ||
| 214 | this.element.addClass("uk-open"); | ||
| 215 | |||
| 216 | if (active && active!==this) { | ||
| 217 | active.hide(); | ||
| 218 | } | ||
| 219 | |||
| 220 | active = this; | ||
| 221 | |||
| 222 | // Update aria | ||
| 223 | this.dropdown.attr('aria-expanded', 'true'); | ||
| 224 | |||
| 225 | return this; | ||
| 226 | }, | ||
| 227 | |||
| 228 | hide: function() { | ||
| 229 | if (!this.visible) return; | ||
| 230 | this.visible = false; | ||
| 231 | this.element.removeClass("uk-open"); | ||
| 232 | |||
| 233 | if (active === this) { | ||
| 234 | active = false; | ||
| 235 | } | ||
| 236 | |||
| 237 | // Update aria | ||
| 238 | this.dropdown.attr('aria-expanded', 'false'); | ||
| 239 | |||
| 240 | return this; | ||
| 241 | }, | ||
| 242 | |||
| 243 | request: function() { | ||
| 244 | |||
| 245 | var $this = this, | ||
| 246 | release = function(data) { | ||
| 247 | |||
| 248 | if(data) { | ||
| 249 | $this.render(data); | ||
| 250 | } | ||
| 251 | |||
| 252 | $this.element.removeClass($this.options.loadingClass); | ||
| 253 | }; | ||
| 254 | |||
| 255 | this.element.addClass(this.options.loadingClass); | ||
| 256 | |||
| 257 | if (this.options.source) { | ||
| 258 | |||
| 259 | var source = this.options.source; | ||
| 260 | |||
| 261 | switch(typeof(this.options.source)) { | ||
| 262 | case 'function': | ||
| 263 | |||
| 264 | this.options.source.apply(this, [release]); | ||
| 265 | |||
| 266 | break; | ||
| 267 | |||
| 268 | case 'object': | ||
| 269 | |||
| 270 | if(source.length) { | ||
| 271 | |||
| 272 | var items = []; | ||
| 273 | |||
| 274 | source.forEach(function(item){ | ||
| 275 | if(item.value && item.value.toLowerCase().indexOf($this.value.toLowerCase())!=-1) { | ||
| 276 | items.push(item); | ||
| 277 | } | ||
| 278 | }); | ||
| 279 | |||
| 280 | release(items); | ||
| 281 | } | ||
| 282 | |||
| 283 | break; | ||
| 284 | |||
| 285 | case 'string': | ||
| 286 | |||
| 287 | var params ={}; | ||
| 288 | |||
| 289 | params[this.options.param] = this.value; | ||
| 290 | |||
| 291 | UI.$.ajax({ | ||
| 292 | url: this.options.source, | ||
| 293 | data: params, | ||
| 294 | type: this.options.method, | ||
| 295 | dataType: 'json' | ||
| 296 | }).done(function(json) { | ||
| 297 | release(json || []); | ||
| 298 | }); | ||
| 299 | |||
| 300 | break; | ||
| 301 | |||
| 302 | default: | ||
| 303 | release(null); | ||
| 304 | } | ||
| 305 | |||
| 306 | } else { | ||
| 307 | this.element.removeClass($this.options.loadingClass); | ||
| 308 | } | ||
| 309 | }, | ||
| 310 | |||
| 311 | render: function(data) { | ||
| 312 | |||
| 313 | this.dropdown.empty(); | ||
| 314 | |||
| 315 | this.selected = false; | ||
| 316 | |||
| 317 | if (this.options.renderer) { | ||
| 318 | |||
| 319 | this.options.renderer.apply(this, [data]); | ||
| 320 | |||
| 321 | } else if(data && data.length) { | ||
| 322 | |||
| 323 | this.dropdown.append(this.template({"items":data})); | ||
| 324 | this.show(); | ||
| 325 | |||
| 326 | this.trigger('show.uk.autocomplete'); | ||
| 327 | } | ||
| 328 | |||
| 329 | return this; | ||
| 330 | } | ||
| 331 | }); | ||
| 332 | |||
| 333 | return UI.autocomplete; | ||
| 334 | }); | ||
| diff --git a/js/components/autocomplete.min.js b/js/components/autocomplete.min.js new file mode 100755 index 0000000..10eed9a --- /dev/null +++ b/js/components/autocomplete.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-autocomplete",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:'<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(){var e=t.$(this);e.data("autocomplete")||t.autocomplete(e,t.Utils.options(e.attr("data-uk-autocomplete")))}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,s=t.Utils.debounce(function(){return i?i=!1:(e.handle(),void 0)},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('<div class="uk-dropdown"></div>').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:s}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=s},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.length<this.options.minLength?this.hide():(this.value!=e&&t.request(),this)},pick:function(e,i){var s=this,o=t.$(this.dropdown.find(".uk-autocomplete-results").children(":not(."+this.options.skipClass+")")),n=!1;if("string"==typeof e||e.hasClass(this.options.skipClass)){if("next"==e||"prev"==e){if(this.selected){var a=o.index(this.selected);n="next"==e?o.eq(a+1<o.length?a+1:0):o.eq(0>a-1?o.length-1:a-1)}else n=o["next"==e?"first":"last"]();n=t.$(n)}}else n=e;if(n&&n.length&&(this.selected=n,o.removeClass(this.options.hoverClass),this.selected.addClass(this.options.hoverClass),i)){var l=n.position().top,h=s.dropdown.scrollTop(),r=s.dropdown.height();(l>r||0>l)&&s.dropdown.scrollTop(h+l)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){return this.visible?void 0:(this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this)},hide:function(){return this.visible?(this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this):void 0},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var s=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(s.length){var o=[];s.forEach(function(t){t.value&&-1!=t.value.toLowerCase().indexOf(e.value.toLowerCase())&&o.push(t)}),i(o)}break;case"string":var n={};n[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:n,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}); \ No newline at end of file | ||
| diff --git a/js/components/datepicker.js b/js/components/datepicker.js new file mode 100755 index 0000000..31890b4 --- /dev/null +++ b/js/components/datepicker.js | |||
| @@ -0,0 +1,3166 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-datepicker", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | // Datepicker | ||
| 21 | |||
| 22 | var active = false, dropdown, moment; | ||
| 23 | |||
| 24 | UI.component('datepicker', { | ||
| 25 | |||
| 26 | defaults: { | ||
| 27 | mobile: false, | ||
| 28 | weekstart: 1, | ||
| 29 | i18n: { | ||
| 30 | months : ['January','February','March','April','May','June','July','August','September','October','November','December'], | ||
| 31 | weekdays : ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] | ||
| 32 | }, | ||
| 33 | format: "YYYY-MM-DD", | ||
| 34 | offsettop: 5, | ||
| 35 | maxDate: false, | ||
| 36 | minDate: false, | ||
| 37 | pos: 'auto', | ||
| 38 | template: function(data, opts) { | ||
| 39 | |||
| 40 | var content = '', i; | ||
| 41 | |||
| 42 | content += '<div class="uk-datepicker-nav">'; | ||
| 43 | content += '<a href="" class="uk-datepicker-previous"></a>'; | ||
| 44 | content += '<a href="" class="uk-datepicker-next"></a>'; | ||
| 45 | |||
| 46 | if (UI.formSelect) { | ||
| 47 | |||
| 48 | var currentyear = (new Date()).getFullYear(), options = [], months, years, minYear, maxYear; | ||
| 49 | |||
| 50 | for (i=0;i<opts.i18n.months.length;i++) { | ||
| 51 | if(i==data.month) { | ||
| 52 | options.push('<option value="'+i+'" selected>'+opts.i18n.months[i]+'</option>'); | ||
| 53 | } else { | ||
| 54 | options.push('<option value="'+i+'">'+opts.i18n.months[i]+'</option>'); | ||
| 55 | } | ||
| 56 | } | ||
| 57 | |||
| 58 | months = '<span class="uk-form-select">'+ opts.i18n.months[data.month] + '<select class="update-picker-month">'+options.join('')+'</select></span>'; | ||
| 59 | |||
| 60 | // -- | ||
| 61 | |||
| 62 | options = []; | ||
| 63 | |||
| 64 | minYear = data.minDate ? data.minDate.year() : currentyear - 50; | ||
| 65 | maxYear = data.maxDate ? data.maxDate.year() : currentyear + 20; | ||
| 66 | |||
| 67 | for (i=minYear;i<=maxYear;i++) { | ||
| 68 | if (i == data.year) { | ||
| 69 | options.push('<option value="'+i+'" selected>'+i+'</option>'); | ||
| 70 | } else { | ||
| 71 | options.push('<option value="'+i+'">'+i+'</option>'); | ||
| 72 | } | ||
| 73 | } | ||
| 74 | |||
| 75 | years = '<span class="uk-form-select">'+ data.year + '<select class="update-picker-year">'+options.join('')+'</select></span>'; | ||
| 76 | |||
| 77 | content += '<div class="uk-datepicker-heading">'+ months + ' ' + years +'</div>'; | ||
| 78 | |||
| 79 | } else { | ||
| 80 | content += '<div class="uk-datepicker-heading">'+ opts.i18n.months[data.month] +' '+ data.year+'</div>'; | ||
| 81 | } | ||
| 82 | |||
| 83 | content += '</div>'; | ||
| 84 | |||
| 85 | content += '<table class="uk-datepicker-table">'; | ||
| 86 | content += '<thead>'; | ||
| 87 | for(i = 0; i < data.weekdays.length; i++) { | ||
| 88 | if (data.weekdays[i]) { | ||
| 89 | content += '<th>'+data.weekdays[i]+'</th>'; | ||
| 90 | } | ||
| 91 | } | ||
| 92 | content += '</thead>'; | ||
| 93 | |||
| 94 | content += '<tbody>'; | ||
| 95 | for(i = 0; i < data.days.length; i++) { | ||
| 96 | if (data.days[i] && data.days[i].length){ | ||
| 97 | content += '<tr>'; | ||
| 98 | for(var d = 0; d < data.days[i].length; d++) { | ||
| 99 | if (data.days[i][d]) { | ||
| 100 | var day = data.days[i][d], | ||
| 101 | cls = []; | ||
| 102 | |||
| 103 | if(!day.inmonth) cls.push("uk-datepicker-table-muted"); | ||
| 104 | if(day.selected) cls.push("uk-active"); | ||
| 105 | if(day.disabled) cls.push('uk-datepicker-date-disabled uk-datepicker-table-muted'); | ||
| 106 | |||
| 107 | content += '<td><a href="" class="'+cls.join(" ")+'" data-date="'+day.day.format()+'">'+day.day.format("D")+'</a></td>'; | ||
| 108 | } | ||
| 109 | } | ||
| 110 | content += '</tr>'; | ||
| 111 | } | ||
| 112 | } | ||
| 113 | content += '</tbody>'; | ||
| 114 | |||
| 115 | content += '</table>'; | ||
| 116 | |||
| 117 | return content; | ||
| 118 | } | ||
| 119 | }, | ||
| 120 | |||
| 121 | boot: function() { | ||
| 122 | |||
| 123 | UI.$win.on("resize orientationchange", function() { | ||
| 124 | |||
| 125 | if (active) { | ||
| 126 | active.hide(); | ||
| 127 | } | ||
| 128 | }); | ||
| 129 | |||
| 130 | // init code | ||
| 131 | UI.$html.on("focus.datepicker.uikit", "[data-uk-datepicker]", function(e) { | ||
| 132 | |||
| 133 | var ele = UI.$(this); | ||
| 134 | |||
| 135 | if (!ele.data("datepicker")) { | ||
| 136 | e.preventDefault(); | ||
| 137 | UI.datepicker(ele, UI.Utils.options(ele.attr("data-uk-datepicker"))); | ||
| 138 | ele.trigger("focus"); | ||
| 139 | } | ||
| 140 | }); | ||
| 141 | |||
| 142 | UI.$html.on("click focus", '*', function(e) { | ||
| 143 | |||
| 144 | var target = UI.$(e.target); | ||
| 145 | |||
| 146 | if (active && target[0] != dropdown[0] && !target.data("datepicker") && !target.parents(".uk-datepicker:first").length) { | ||
| 147 | active.hide(); | ||
| 148 | } | ||
| 149 | }); | ||
| 150 | }, | ||
| 151 | |||
| 152 | init: function() { | ||
| 153 | |||
| 154 | // use native datepicker on touch devices | ||
| 155 | if (UI.support.touch && this.element.attr('type')=='date' && !this.options.mobile) { | ||
| 156 | return; | ||
| 157 | } | ||
| 158 | |||
| 159 | var $this = this; | ||
| 160 | |||
| 161 | this.current = this.element.val() ? moment(this.element.val(), this.options.format) : moment(); | ||
| 162 | |||
| 163 | this.on("click focus", function(){ | ||
| 164 | if (active!==$this) $this.pick(this.value ? this.value:($this.options.minDate ? $this.options.minDate :'')); | ||
| 165 | }).on("change", function(){ | ||
| 166 | |||
| 167 | if ($this.element.val() && !moment($this.element.val(), $this.options.format).isValid()) { | ||
| 168 | $this.element.val(moment().format($this.options.format)); | ||
| 169 | } | ||
| 170 | }); | ||
| 171 | |||
| 172 | // init dropdown | ||
| 173 | if (!dropdown) { | ||
| 174 | |||
| 175 | dropdown = UI.$('<div class="uk-dropdown uk-datepicker"></div>'); | ||
| 176 | |||
| 177 | dropdown.on("click", ".uk-datepicker-next, .uk-datepicker-previous, [data-date]", function(e){ | ||
| 178 | |||
| 179 | e.stopPropagation(); | ||
| 180 | e.preventDefault(); | ||
| 181 | |||
| 182 | var ele = UI.$(this); | ||
| 183 | |||
| 184 | if (ele.hasClass('uk-datepicker-date-disabled')) return false; | ||
| 185 | |||
| 186 | if (ele.is('[data-date]')) { | ||
| 187 | active.current = moment(ele.data("date")); | ||
| 188 | active.element.val(active.current.isValid() ? active.current.format(active.options.format) : null).trigger("change"); | ||
| 189 | active.hide(); | ||
| 190 | } else { | ||
| 191 | active.add((ele.hasClass("uk-datepicker-next") ? 1:-1), "months"); | ||
| 192 | } | ||
| 193 | }); | ||
| 194 | |||
| 195 | dropdown.on('change', '.update-picker-month, .update-picker-year', function(){ | ||
| 196 | |||
| 197 | var select = UI.$(this); | ||
| 198 | active[select.is('.update-picker-year') ? 'setYear':'setMonth'](Number(select.val())); | ||
| 199 | }); | ||
| 200 | |||
| 201 | dropdown.appendTo("body"); | ||
| 202 | } | ||
| 203 | }, | ||
| 204 | |||
| 205 | pick: function(initdate) { | ||
| 206 | |||
| 207 | var offset = this.element.offset(), | ||
| 208 | css = {"left": offset.left, "right":""}; | ||
| 209 | |||
| 210 | this.current = isNaN(initdate) ? moment(initdate, this.options.format):moment(); | ||
| 211 | this.initdate = this.current.format("YYYY-MM-DD"); | ||
| 212 | |||
| 213 | this.update(); | ||
| 214 | |||
| 215 | if (UI.langdirection == 'right') { | ||
| 216 | css.right = window.innerWidth - (css.left + this.element.outerWidth()); | ||
| 217 | css.left = ""; | ||
| 218 | } | ||
| 219 | |||
| 220 | var posTop = (offset.top - this.element.outerHeight() + this.element.height()) - this.options.offsettop - dropdown.outerHeight(), | ||
| 221 | posBottom = offset.top + this.element.outerHeight() + this.options.offsettop; | ||
| 222 | |||
| 223 | css.top = posBottom; | ||
| 224 | |||
| 225 | if (this.options.pos == 'top') { | ||
| 226 | css.top = posTop; | ||
| 227 | } else if(this.options.pos == 'auto' && (window.innerHeight - posBottom - dropdown.outerHeight() < 0 && posTop >= 0) ) { | ||
| 228 | css.top = posTop; | ||
| 229 | } | ||
| 230 | |||
| 231 | dropdown.css(css).show(); | ||
| 232 | this.trigger('show.uk.datepicker'); | ||
| 233 | |||
| 234 | active = this; | ||
| 235 | }, | ||
| 236 | |||
| 237 | add: function(unit, value) { | ||
| 238 | this.current.add(unit, value); | ||
| 239 | this.update(); | ||
| 240 | }, | ||
| 241 | |||
| 242 | setMonth: function(month) { | ||
| 243 | this.current.month(month); | ||
| 244 | this.update(); | ||
| 245 | }, | ||
| 246 | |||
| 247 | setYear: function(year) { | ||
| 248 | this.current.year(year); | ||
| 249 | this.update(); | ||
| 250 | }, | ||
| 251 | |||
| 252 | update: function() { | ||
| 253 | |||
| 254 | var data = this.getRows(this.current.year(), this.current.month()), | ||
| 255 | tpl = this.options.template(data, this.options); | ||
| 256 | |||
| 257 | dropdown.html(tpl); | ||
| 258 | |||
| 259 | this.trigger('update.uk.datepicker'); | ||
| 260 | }, | ||
| 261 | |||
| 262 | getRows: function(year, month) { | ||
| 263 | |||
| 264 | var opts = this.options, | ||
| 265 | now = moment().format('YYYY-MM-DD'), | ||
| 266 | days = [31, (year % 4 === 0 && year % 100 !== 0 || year % 400 === 0) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month], | ||
| 267 | before = new Date(year, month, 1, 12).getDay(), | ||
| 268 | data = {"month":month, "year":year,"weekdays":[],"days":[], "maxDate": false, "minDate": false}, | ||
| 269 | row = []; | ||
| 270 | |||
| 271 | if (opts.maxDate!==false){ | ||
| 272 | data.maxDate = isNaN(opts.maxDate) ? moment(opts.maxDate, opts.format) : moment().add(opts.maxDate, 'days'); | ||
| 273 | } | ||
| 274 | |||
| 275 | if (opts.minDate!==false){ | ||
| 276 | data.minDate = isNaN(opts.minDate) ? moment(opts.minDate, opts.format) : moment().add(opts.minDate-1, 'days'); | ||
| 277 | } | ||
| 278 | |||
| 279 | data.weekdays = (function(){ | ||
| 280 | |||
| 281 | for (var i=0, arr=[]; i < 7; i++) { | ||
| 282 | |||
| 283 | var day = i + (opts.weekstart || 0); | ||
| 284 | |||
| 285 | while (day >= 7) { | ||
| 286 | day -= 7; | ||
| 287 | } | ||
| 288 | |||
| 289 | arr.push(opts.i18n.weekdays[day]); | ||
| 290 | } | ||
| 291 | |||
| 292 | return arr; | ||
| 293 | })(); | ||
| 294 | |||
| 295 | if (opts.weekstart && opts.weekstart > 0) { | ||
| 296 | before -= opts.weekstart; | ||
| 297 | if (before < 0) { | ||
| 298 | before += 7; | ||
| 299 | } | ||
| 300 | } | ||
| 301 | |||
| 302 | var cells = days + before, after = cells; | ||
| 303 | |||
| 304 | while(after > 7) { after -= 7; } | ||
| 305 | |||
| 306 | cells += 7 - after; | ||
| 307 | |||
| 308 | var day, isDisabled, isSelected, isToday, isInMonth; | ||
| 309 | |||
| 310 | for (var i = 0, r = 0; i < cells; i++) { | ||
| 311 | |||
| 312 | day = new Date(year, month, 1 + (i - before), 12); | ||
| 313 | isDisabled = (data.minDate && data.minDate > day) || (data.maxDate && day > data.maxDate); | ||
| 314 | isInMonth = !(i < before || i >= (days + before)); | ||
| 315 | |||
| 316 | day = moment(day); | ||
| 317 | |||
| 318 | isSelected = this.initdate == day.format("YYYY-MM-DD"); | ||
| 319 | isToday = now == day.format("YYYY-MM-DD"); | ||
| 320 | |||
| 321 | row.push({"selected": isSelected, "today": isToday, "disabled": isDisabled, "day":day, "inmonth":isInMonth}); | ||
| 322 | |||
| 323 | if (++r === 7) { | ||
| 324 | data.days.push(row); | ||
| 325 | row = []; | ||
| 326 | r = 0; | ||
| 327 | } | ||
| 328 | } | ||
| 329 | |||
| 330 | return data; | ||
| 331 | }, | ||
| 332 | |||
| 333 | hide: function() { | ||
| 334 | |||
| 335 | if (active && active === this) { | ||
| 336 | dropdown.hide(); | ||
| 337 | active = false; | ||
| 338 | |||
| 339 | this.trigger('hide.uk.datepicker'); | ||
| 340 | } | ||
| 341 | } | ||
| 342 | }); | ||
| 343 | |||
| 344 | //! moment.js | ||
| 345 | //! version : 2.8.3 | ||
| 346 | //! authors : Tim Wood, Iskren Chernev, Moment.js contributors | ||
| 347 | //! license : MIT | ||
| 348 | //! momentjs.com | ||
| 349 | |||
| 350 | moment = (function (undefined) { | ||
| 351 | /************************************ | ||
| 352 | Constants | ||
| 353 | ************************************/ | ||
| 354 | var moment, | ||
| 355 | VERSION = '2.8.3', | ||
| 356 | // the global-scope this is NOT the global object in Node.js | ||
| 357 | globalScope = typeof global !== 'undefined' ? global : this, | ||
| 358 | oldGlobalMoment, | ||
| 359 | round = Math.round, | ||
| 360 | hasOwnProperty = Object.prototype.hasOwnProperty, | ||
| 361 | i, | ||
| 362 | |||
| 363 | YEAR = 0, | ||
| 364 | MONTH = 1, | ||
| 365 | DATE = 2, | ||
| 366 | HOUR = 3, | ||
| 367 | MINUTE = 4, | ||
| 368 | SECOND = 5, | ||
| 369 | MILLISECOND = 6, | ||
| 370 | |||
| 371 | // internal storage for locale config files | ||
| 372 | locales = {}, | ||
| 373 | |||
| 374 | // extra moment internal properties (plugins register props here) | ||
| 375 | momentProperties = [], | ||
| 376 | |||
| 377 | // check for nodeJS | ||
| 378 | hasModule = (typeof module !== 'undefined' && module.exports), | ||
| 379 | |||
| 380 | // ASP.NET json date format regex | ||
| 381 | aspNetJsonRegex = /^\/?Date\((\-?\d+)/i, | ||
| 382 | aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/, | ||
| 383 | |||
| 384 | // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html | ||
| 385 | // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere | ||
| 386 | isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/, | ||
| 387 | |||
| 388 | // format tokens | ||
| 389 | formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g, | ||
| 390 | localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g, | ||
| 391 | |||
| 392 | // parsing token regexes | ||
| 393 | parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99 | ||
| 394 | parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999 | ||
| 395 | parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999 | ||
| 396 | parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999 | ||
| 397 | parseTokenDigits = /\d+/, // nonzero number of digits | ||
| 398 | parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic. | ||
| 399 | parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z | ||
| 400 | parseTokenT = /T/i, // T (ISO separator) | ||
| 401 | parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 | ||
| 402 | parseTokenOrdinal = /\d{1,2}/, | ||
| 403 | |||
| 404 | //strict parsing regexes | ||
| 405 | parseTokenOneDigit = /\d/, // 0 - 9 | ||
| 406 | parseTokenTwoDigits = /\d\d/, // 00 - 99 | ||
| 407 | parseTokenThreeDigits = /\d{3}/, // 000 - 999 | ||
| 408 | parseTokenFourDigits = /\d{4}/, // 0000 - 9999 | ||
| 409 | parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999 | ||
| 410 | parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf | ||
| 411 | |||
| 412 | // iso 8601 regex | ||
| 413 | // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) | ||
| 414 | isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, | ||
| 415 | |||
| 416 | isoFormat = 'YYYY-MM-DDTHH:mm:ssZ', | ||
| 417 | |||
| 418 | isoDates = [ | ||
| 419 | ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/], | ||
| 420 | ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/], | ||
| 421 | ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/], | ||
| 422 | ['GGGG-[W]WW', /\d{4}-W\d{2}/], | ||
| 423 | ['YYYY-DDD', /\d{4}-\d{3}/] | ||
| 424 | ], | ||
| 425 | |||
| 426 | // iso time formats and regexes | ||
| 427 | isoTimes = [ | ||
| 428 | ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/], | ||
| 429 | ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/], | ||
| 430 | ['HH:mm', /(T| )\d\d:\d\d/], | ||
| 431 | ['HH', /(T| )\d\d/] | ||
| 432 | ], | ||
| 433 | |||
| 434 | // timezone chunker '+10:00' > ['10', '00'] or '-1530' > ['-15', '30'] | ||
| 435 | parseTimezoneChunker = /([\+\-]|\d\d)/gi, | ||
| 436 | |||
| 437 | // getter and setter names | ||
| 438 | proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'), | ||
| 439 | unitMillisecondFactors = { | ||
| 440 | 'Milliseconds' : 1, | ||
| 441 | 'Seconds' : 1e3, | ||
| 442 | 'Minutes' : 6e4, | ||
| 443 | 'Hours' : 36e5, | ||
| 444 | 'Days' : 864e5, | ||
| 445 | 'Months' : 2592e6, | ||
| 446 | 'Years' : 31536e6 | ||
| 447 | }, | ||
| 448 | |||
| 449 | unitAliases = { | ||
| 450 | ms : 'millisecond', | ||
| 451 | s : 'second', | ||
| 452 | m : 'minute', | ||
| 453 | h : 'hour', | ||
| 454 | d : 'day', | ||
| 455 | D : 'date', | ||
| 456 | w : 'week', | ||
| 457 | W : 'isoWeek', | ||
| 458 | M : 'month', | ||
| 459 | Q : 'quarter', | ||
| 460 | y : 'year', | ||
| 461 | DDD : 'dayOfYear', | ||
| 462 | e : 'weekday', | ||
| 463 | E : 'isoWeekday', | ||
| 464 | gg: 'weekYear', | ||
| 465 | GG: 'isoWeekYear' | ||
| 466 | }, | ||
| 467 | |||
| 468 | camelFunctions = { | ||
| 469 | dayofyear : 'dayOfYear', | ||
| 470 | isoweekday : 'isoWeekday', | ||
| 471 | isoweek : 'isoWeek', | ||
| 472 | weekyear : 'weekYear', | ||
| 473 | isoweekyear : 'isoWeekYear' | ||
| 474 | }, | ||
| 475 | |||
| 476 | // format function strings | ||
| 477 | formatFunctions = {}, | ||
| 478 | |||
| 479 | // default relative time thresholds | ||
| 480 | relativeTimeThresholds = { | ||
| 481 | s: 45, // seconds to minute | ||
| 482 | m: 45, // minutes to hour | ||
| 483 | h: 22, // hours to day | ||
| 484 | d: 26, // days to month | ||
| 485 | M: 11 // months to year | ||
| 486 | }, | ||
| 487 | |||
| 488 | // tokens to ordinalize and pad | ||
| 489 | ordinalizeTokens = 'DDD w W M D d'.split(' '), | ||
| 490 | paddedTokens = 'M D H h m s w W'.split(' '), | ||
| 491 | |||
| 492 | formatTokenFunctions = { | ||
| 493 | M : function () { | ||
| 494 | return this.month() + 1; | ||
| 495 | }, | ||
| 496 | MMM : function (format) { | ||
| 497 | return this.localeData().monthsShort(this, format); | ||
| 498 | }, | ||
| 499 | MMMM : function (format) { | ||
| 500 | return this.localeData().months(this, format); | ||
| 501 | }, | ||
| 502 | D : function () { | ||
| 503 | return this.date(); | ||
| 504 | }, | ||
| 505 | DDD : function () { | ||
| 506 | return this.dayOfYear(); | ||
| 507 | }, | ||
| 508 | d : function () { | ||
| 509 | return this.day(); | ||
| 510 | }, | ||
| 511 | dd : function (format) { | ||
| 512 | return this.localeData().weekdaysMin(this, format); | ||
| 513 | }, | ||
| 514 | ddd : function (format) { | ||
| 515 | return this.localeData().weekdaysShort(this, format); | ||
| 516 | }, | ||
| 517 | dddd : function (format) { | ||
| 518 | return this.localeData().weekdays(this, format); | ||
| 519 | }, | ||
| 520 | w : function () { | ||
| 521 | return this.week(); | ||
| 522 | }, | ||
| 523 | W : function () { | ||
| 524 | return this.isoWeek(); | ||
| 525 | }, | ||
| 526 | YY : function () { | ||
| 527 | return leftZeroFill(this.year() % 100, 2); | ||
| 528 | }, | ||
| 529 | YYYY : function () { | ||
| 530 | return leftZeroFill(this.year(), 4); | ||
| 531 | }, | ||
| 532 | YYYYY : function () { | ||
| 533 | return leftZeroFill(this.year(), 5); | ||
| 534 | }, | ||
| 535 | YYYYYY : function () { | ||
| 536 | var y = this.year(), sign = y >= 0 ? '+' : '-'; | ||
| 537 | return sign + leftZeroFill(Math.abs(y), 6); | ||
| 538 | }, | ||
| 539 | gg : function () { | ||
| 540 | return leftZeroFill(this.weekYear() % 100, 2); | ||
| 541 | }, | ||
| 542 | gggg : function () { | ||
| 543 | return leftZeroFill(this.weekYear(), 4); | ||
| 544 | }, | ||
| 545 | ggggg : function () { | ||
| 546 | return leftZeroFill(this.weekYear(), 5); | ||
| 547 | }, | ||
| 548 | GG : function () { | ||
| 549 | return leftZeroFill(this.isoWeekYear() % 100, 2); | ||
| 550 | }, | ||
| 551 | GGGG : function () { | ||
| 552 | return leftZeroFill(this.isoWeekYear(), 4); | ||
| 553 | }, | ||
| 554 | GGGGG : function () { | ||
| 555 | return leftZeroFill(this.isoWeekYear(), 5); | ||
| 556 | }, | ||
| 557 | e : function () { | ||
| 558 | return this.weekday(); | ||
| 559 | }, | ||
| 560 | E : function () { | ||
| 561 | return this.isoWeekday(); | ||
| 562 | }, | ||
| 563 | a : function () { | ||
| 564 | return this.localeData().meridiem(this.hours(), this.minutes(), true); | ||
| 565 | }, | ||
| 566 | A : function () { | ||
| 567 | return this.localeData().meridiem(this.hours(), this.minutes(), false); | ||
| 568 | }, | ||
| 569 | H : function () { | ||
| 570 | return this.hours(); | ||
| 571 | }, | ||
| 572 | h : function () { | ||
| 573 | return this.hours() % 12 || 12; | ||
| 574 | }, | ||
| 575 | m : function () { | ||
| 576 | return this.minutes(); | ||
| 577 | }, | ||
| 578 | s : function () { | ||
| 579 | return this.seconds(); | ||
| 580 | }, | ||
| 581 | S : function () { | ||
| 582 | return toInt(this.milliseconds() / 100); | ||
| 583 | }, | ||
| 584 | SS : function () { | ||
| 585 | return leftZeroFill(toInt(this.milliseconds() / 10), 2); | ||
| 586 | }, | ||
| 587 | SSS : function () { | ||
| 588 | return leftZeroFill(this.milliseconds(), 3); | ||
| 589 | }, | ||
| 590 | SSSS : function () { | ||
| 591 | return leftZeroFill(this.milliseconds(), 3); | ||
| 592 | }, | ||
| 593 | Z : function () { | ||
| 594 | var a = -this.zone(), | ||
| 595 | b = '+'; | ||
| 596 | if (a < 0) { | ||
| 597 | a = -a; | ||
| 598 | b = '-'; | ||
| 599 | } | ||
| 600 | return b + leftZeroFill(toInt(a / 60), 2) + ':' + leftZeroFill(toInt(a) % 60, 2); | ||
| 601 | }, | ||
| 602 | ZZ : function () { | ||
| 603 | var a = -this.zone(), | ||
| 604 | b = '+'; | ||
| 605 | if (a < 0) { | ||
| 606 | a = -a; | ||
| 607 | b = '-'; | ||
| 608 | } | ||
| 609 | return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2); | ||
| 610 | }, | ||
| 611 | z : function () { | ||
| 612 | return this.zoneAbbr(); | ||
| 613 | }, | ||
| 614 | zz : function () { | ||
| 615 | return this.zoneName(); | ||
| 616 | }, | ||
| 617 | X : function () { | ||
| 618 | return this.unix(); | ||
| 619 | }, | ||
| 620 | Q : function () { | ||
| 621 | return this.quarter(); | ||
| 622 | } | ||
| 623 | }, | ||
| 624 | |||
| 625 | deprecations = {}, | ||
| 626 | |||
| 627 | lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin']; | ||
| 628 | |||
| 629 | // Pick the first defined of two or three arguments. dfl comes from | ||
| 630 | // default. | ||
| 631 | function dfl(a, b, c) { | ||
| 632 | switch (arguments.length) { | ||
| 633 | case 2: return a != null ? a : b; | ||
| 634 | case 3: return a != null ? a : b != null ? b : c; | ||
| 635 | default: throw new Error('Implement me'); | ||
| 636 | } | ||
| 637 | } | ||
| 638 | |||
| 639 | function hasOwnProp(a, b) { | ||
| 640 | return hasOwnProperty.call(a, b); | ||
| 641 | } | ||
| 642 | |||
| 643 | function defaultParsingFlags() { | ||
| 644 | // We need to deep clone this object, and es5 standard is not very | ||
| 645 | // helpful. | ||
| 646 | return { | ||
| 647 | empty : false, | ||
| 648 | unusedTokens : [], | ||
| 649 | unusedInput : [], | ||
| 650 | overflow : -2, | ||
| 651 | charsLeftOver : 0, | ||
| 652 | nullInput : false, | ||
| 653 | invalidMonth : null, | ||
| 654 | invalidFormat : false, | ||
| 655 | userInvalidated : false, | ||
| 656 | iso: false | ||
| 657 | }; | ||
| 658 | } | ||
| 659 | |||
| 660 | function printMsg(msg) { | ||
| 661 | if (moment.suppressDeprecationWarnings === false && | ||
| 662 | typeof console !== 'undefined' && console.warn) { | ||
| 663 | console.warn('Deprecation warning: ' + msg); | ||
| 664 | } | ||
| 665 | } | ||
| 666 | |||
| 667 | function deprecate(msg, fn) { | ||
| 668 | var firstTime = true; | ||
| 669 | return extend(function () { | ||
| 670 | if (firstTime) { | ||
| 671 | printMsg(msg); | ||
| 672 | firstTime = false; | ||
| 673 | } | ||
| 674 | return fn.apply(this, arguments); | ||
| 675 | }, fn); | ||
| 676 | } | ||
| 677 | |||
| 678 | function deprecateSimple(name, msg) { | ||
| 679 | if (!deprecations[name]) { | ||
| 680 | printMsg(msg); | ||
| 681 | deprecations[name] = true; | ||
| 682 | } | ||
| 683 | } | ||
| 684 | |||
| 685 | function padToken(func, count) { | ||
| 686 | return function (a) { | ||
| 687 | return leftZeroFill(func.call(this, a), count); | ||
| 688 | }; | ||
| 689 | } | ||
| 690 | function ordinalizeToken(func, period) { | ||
| 691 | return function (a) { | ||
| 692 | return this.localeData().ordinal(func.call(this, a), period); | ||
| 693 | }; | ||
| 694 | } | ||
| 695 | |||
| 696 | while (ordinalizeTokens.length) { | ||
| 697 | i = ordinalizeTokens.pop(); | ||
| 698 | formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i); | ||
| 699 | } | ||
| 700 | while (paddedTokens.length) { | ||
| 701 | i = paddedTokens.pop(); | ||
| 702 | formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2); | ||
| 703 | } | ||
| 704 | formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3); | ||
| 705 | |||
| 706 | |||
| 707 | /************************************ | ||
| 708 | Constructors | ||
| 709 | ************************************/ | ||
| 710 | |||
| 711 | function Locale() { | ||
| 712 | } | ||
| 713 | |||
| 714 | // Moment prototype object | ||
| 715 | function Moment(config, skipOverflow) { | ||
| 716 | if (skipOverflow !== false) { | ||
| 717 | checkOverflow(config); | ||
| 718 | } | ||
| 719 | copyConfig(this, config); | ||
| 720 | this._d = new Date(+config._d); | ||
| 721 | } | ||
| 722 | |||
| 723 | // Duration Constructor | ||
| 724 | function Duration(duration) { | ||
| 725 | var normalizedInput = normalizeObjectUnits(duration), | ||
| 726 | years = normalizedInput.year || 0, | ||
| 727 | quarters = normalizedInput.quarter || 0, | ||
| 728 | months = normalizedInput.month || 0, | ||
| 729 | weeks = normalizedInput.week || 0, | ||
| 730 | days = normalizedInput.day || 0, | ||
| 731 | hours = normalizedInput.hour || 0, | ||
| 732 | minutes = normalizedInput.minute || 0, | ||
| 733 | seconds = normalizedInput.second || 0, | ||
| 734 | milliseconds = normalizedInput.millisecond || 0; | ||
| 735 | |||
| 736 | // representation for dateAddRemove | ||
| 737 | this._milliseconds = +milliseconds + | ||
| 738 | seconds * 1e3 + // 1000 | ||
| 739 | minutes * 6e4 + // 1000 * 60 | ||
| 740 | hours * 36e5; // 1000 * 60 * 60 | ||
| 741 | // Because of dateAddRemove treats 24 hours as different from a | ||
| 742 | // day when working around DST, we need to store them separately | ||
| 743 | this._days = +days + | ||
| 744 | weeks * 7; | ||
| 745 | // It is impossible translate months into days without knowing | ||
| 746 | // which months you are are talking about, so we have to store | ||
| 747 | // it separately. | ||
| 748 | this._months = +months + | ||
| 749 | quarters * 3 + | ||
| 750 | years * 12; | ||
| 751 | |||
| 752 | this._data = {}; | ||
| 753 | |||
| 754 | this._locale = moment.localeData(); | ||
| 755 | |||
| 756 | this._bubble(); | ||
| 757 | } | ||
| 758 | |||
| 759 | /************************************ | ||
| 760 | Helpers | ||
| 761 | ************************************/ | ||
| 762 | |||
| 763 | |||
| 764 | function extend(a, b) { | ||
| 765 | for (var i in b) { | ||
| 766 | if (hasOwnProp(b, i)) { | ||
| 767 | a[i] = b[i]; | ||
| 768 | } | ||
| 769 | } | ||
| 770 | |||
| 771 | if (hasOwnProp(b, 'toString')) { | ||
| 772 | a.toString = b.toString; | ||
| 773 | } | ||
| 774 | |||
| 775 | if (hasOwnProp(b, 'valueOf')) { | ||
| 776 | a.valueOf = b.valueOf; | ||
| 777 | } | ||
| 778 | |||
| 779 | return a; | ||
| 780 | } | ||
| 781 | |||
| 782 | function copyConfig(to, from) { | ||
| 783 | var i, prop, val; | ||
| 784 | |||
| 785 | if (typeof from._isAMomentObject !== 'undefined') { | ||
| 786 | to._isAMomentObject = from._isAMomentObject; | ||
| 787 | } | ||
| 788 | if (typeof from._i !== 'undefined') { | ||
| 789 | to._i = from._i; | ||
| 790 | } | ||
| 791 | if (typeof from._f !== 'undefined') { | ||
| 792 | to._f = from._f; | ||
| 793 | } | ||
| 794 | if (typeof from._l !== 'undefined') { | ||
| 795 | to._l = from._l; | ||
| 796 | } | ||
| 797 | if (typeof from._strict !== 'undefined') { | ||
| 798 | to._strict = from._strict; | ||
| 799 | } | ||
| 800 | if (typeof from._tzm !== 'undefined') { | ||
| 801 | to._tzm = from._tzm; | ||
| 802 | } | ||
| 803 | if (typeof from._isUTC !== 'undefined') { | ||
| 804 | to._isUTC = from._isUTC; | ||
| 805 | } | ||
| 806 | if (typeof from._offset !== 'undefined') { | ||
| 807 | to._offset = from._offset; | ||
| 808 | } | ||
| 809 | if (typeof from._pf !== 'undefined') { | ||
| 810 | to._pf = from._pf; | ||
| 811 | } | ||
| 812 | if (typeof from._locale !== 'undefined') { | ||
| 813 | to._locale = from._locale; | ||
| 814 | } | ||
| 815 | |||
| 816 | if (momentProperties.length > 0) { | ||
| 817 | for (i in momentProperties) { | ||
| 818 | prop = momentProperties[i]; | ||
| 819 | val = from[prop]; | ||
| 820 | if (typeof val !== 'undefined') { | ||
| 821 | to[prop] = val; | ||
| 822 | } | ||
| 823 | } | ||
| 824 | } | ||
| 825 | |||
| 826 | return to; | ||
| 827 | } | ||
| 828 | |||
| 829 | function absRound(number) { | ||
| 830 | if (number < 0) { | ||
| 831 | return Math.ceil(number); | ||
| 832 | } else { | ||
| 833 | return Math.floor(number); | ||
| 834 | } | ||
| 835 | } | ||
| 836 | |||
| 837 | // left zero fill a number | ||
| 838 | // see http://jsperf.com/left-zero-filling for performance comparison | ||
| 839 | function leftZeroFill(number, targetLength, forceSign) { | ||
| 840 | var output = '' + Math.abs(number), | ||
| 841 | sign = number >= 0; | ||
| 842 | |||
| 843 | while (output.length < targetLength) { | ||
| 844 | output = '0' + output; | ||
| 845 | } | ||
| 846 | return (sign ? (forceSign ? '+' : '') : '-') + output; | ||
| 847 | } | ||
| 848 | |||
| 849 | function positiveMomentsDifference(base, other) { | ||
| 850 | var res = {milliseconds: 0, months: 0}; | ||
| 851 | |||
| 852 | res.months = other.month() - base.month() + | ||
| 853 | (other.year() - base.year()) * 12; | ||
| 854 | if (base.clone().add(res.months, 'M').isAfter(other)) { | ||
| 855 | --res.months; | ||
| 856 | } | ||
| 857 | |||
| 858 | res.milliseconds = +other - +(base.clone().add(res.months, 'M')); | ||
| 859 | |||
| 860 | return res; | ||
| 861 | } | ||
| 862 | |||
| 863 | function momentsDifference(base, other) { | ||
| 864 | var res; | ||
| 865 | other = makeAs(other, base); | ||
| 866 | if (base.isBefore(other)) { | ||
| 867 | res = positiveMomentsDifference(base, other); | ||
| 868 | } else { | ||
| 869 | res = positiveMomentsDifference(other, base); | ||
| 870 | res.milliseconds = -res.milliseconds; | ||
| 871 | res.months = -res.months; | ||
| 872 | } | ||
| 873 | |||
| 874 | return res; | ||
| 875 | } | ||
| 876 | |||
| 877 | // TODO: remove 'name' arg after deprecation is removed | ||
| 878 | function createAdder(direction, name) { | ||
| 879 | return function (val, period) { | ||
| 880 | var dur, tmp; | ||
| 881 | //invert the arguments, but complain about it | ||
| 882 | if (period !== null && !isNaN(+period)) { | ||
| 883 | deprecateSimple(name, 'moment().' + name + '(period, number) is deprecated. Please use moment().' + name + '(number, period).'); | ||
| 884 | tmp = val; val = period; period = tmp; | ||
| 885 | } | ||
| 886 | |||
| 887 | val = typeof val === 'string' ? +val : val; | ||
| 888 | dur = moment.duration(val, period); | ||
| 889 | addOrSubtractDurationFromMoment(this, dur, direction); | ||
| 890 | return this; | ||
| 891 | }; | ||
| 892 | } | ||
| 893 | |||
| 894 | function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) { | ||
| 895 | var milliseconds = duration._milliseconds, | ||
| 896 | days = duration._days, | ||
| 897 | months = duration._months; | ||
| 898 | updateOffset = updateOffset == null ? true : updateOffset; | ||
| 899 | |||
| 900 | if (milliseconds) { | ||
| 901 | mom._d.setTime(+mom._d + milliseconds * isAdding); | ||
| 902 | } | ||
| 903 | if (days) { | ||
| 904 | rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding); | ||
| 905 | } | ||
| 906 | if (months) { | ||
| 907 | rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding); | ||
| 908 | } | ||
| 909 | if (updateOffset) { | ||
| 910 | moment.updateOffset(mom, days || months); | ||
| 911 | } | ||
| 912 | } | ||
| 913 | |||
| 914 | // check if is an array | ||
| 915 | function isArray(input) { | ||
| 916 | return Object.prototype.toString.call(input) === '[object Array]'; | ||
| 917 | } | ||
| 918 | |||
| 919 | function isDate(input) { | ||
| 920 | return Object.prototype.toString.call(input) === '[object Date]' || | ||
| 921 | input instanceof Date; | ||
| 922 | } | ||
| 923 | |||
| 924 | // compare two arrays, return the number of differences | ||
| 925 | function compareArrays(array1, array2, dontConvert) { | ||
| 926 | var len = Math.min(array1.length, array2.length), | ||
| 927 | lengthDiff = Math.abs(array1.length - array2.length), | ||
| 928 | diffs = 0, | ||
| 929 | i; | ||
| 930 | for (i = 0; i < len; i++) { | ||
| 931 | if ((dontConvert && array1[i] !== array2[i]) || | ||
| 932 | (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { | ||
| 933 | diffs++; | ||
| 934 | } | ||
| 935 | } | ||
| 936 | return diffs + lengthDiff; | ||
| 937 | } | ||
| 938 | |||
| 939 | function normalizeUnits(units) { | ||
| 940 | if (units) { | ||
| 941 | var lowered = units.toLowerCase().replace(/(.)s$/, '$1'); | ||
| 942 | units = unitAliases[units] || camelFunctions[lowered] || lowered; | ||
| 943 | } | ||
| 944 | return units; | ||
| 945 | } | ||
| 946 | |||
| 947 | function normalizeObjectUnits(inputObject) { | ||
| 948 | var normalizedInput = {}, | ||
| 949 | normalizedProp, | ||
| 950 | prop; | ||
| 951 | |||
| 952 | for (prop in inputObject) { | ||
| 953 | if (hasOwnProp(inputObject, prop)) { | ||
| 954 | normalizedProp = normalizeUnits(prop); | ||
| 955 | if (normalizedProp) { | ||
| 956 | normalizedInput[normalizedProp] = inputObject[prop]; | ||
| 957 | } | ||
| 958 | } | ||
| 959 | } | ||
| 960 | |||
| 961 | return normalizedInput; | ||
| 962 | } | ||
| 963 | |||
| 964 | function makeList(field) { | ||
| 965 | var count, setter; | ||
| 966 | |||
| 967 | if (field.indexOf('week') === 0) { | ||
| 968 | count = 7; | ||
| 969 | setter = 'day'; | ||
| 970 | } | ||
| 971 | else if (field.indexOf('month') === 0) { | ||
| 972 | count = 12; | ||
| 973 | setter = 'month'; | ||
| 974 | } | ||
| 975 | else { | ||
| 976 | return; | ||
| 977 | } | ||
| 978 | |||
| 979 | moment[field] = function (format, index) { | ||
| 980 | var i, getter, | ||
| 981 | method = moment._locale[field], | ||
| 982 | results = []; | ||
| 983 | |||
| 984 | if (typeof format === 'number') { | ||
| 985 | index = format; | ||
| 986 | format = undefined; | ||
| 987 | } | ||
| 988 | |||
| 989 | getter = function (i) { | ||
| 990 | var m = moment().utc().set(setter, i); | ||
| 991 | return method.call(moment._locale, m, format || ''); | ||
| 992 | }; | ||
| 993 | |||
| 994 | if (index != null) { | ||
| 995 | return getter(index); | ||
| 996 | } | ||
| 997 | else { | ||
| 998 | for (i = 0; i < count; i++) { | ||
| 999 | results.push(getter(i)); | ||
| 1000 | } | ||
| 1001 | return results; | ||
| 1002 | } | ||
| 1003 | }; | ||
| 1004 | } | ||
| 1005 | |||
| 1006 | function toInt(argumentForCoercion) { | ||
| 1007 | var coercedNumber = +argumentForCoercion, | ||
| 1008 | value = 0; | ||
| 1009 | |||
| 1010 | if (coercedNumber !== 0 && isFinite(coercedNumber)) { | ||
| 1011 | if (coercedNumber >= 0) { | ||
| 1012 | value = Math.floor(coercedNumber); | ||
| 1013 | } else { | ||
| 1014 | value = Math.ceil(coercedNumber); | ||
| 1015 | } | ||
| 1016 | } | ||
| 1017 | |||
| 1018 | return value; | ||
| 1019 | } | ||
| 1020 | |||
| 1021 | function daysInMonth(year, month) { | ||
| 1022 | return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); | ||
| 1023 | } | ||
| 1024 | |||
| 1025 | function weeksInYear(year, dow, doy) { | ||
| 1026 | return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week; | ||
| 1027 | } | ||
| 1028 | |||
| 1029 | function daysInYear(year) { | ||
| 1030 | return isLeapYear(year) ? 366 : 365; | ||
| 1031 | } | ||
| 1032 | |||
| 1033 | function isLeapYear(year) { | ||
| 1034 | return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; | ||
| 1035 | } | ||
| 1036 | |||
| 1037 | function checkOverflow(m) { | ||
| 1038 | var overflow; | ||
| 1039 | if (m._a && m._pf.overflow === -2) { | ||
| 1040 | overflow = | ||
| 1041 | m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH : | ||
| 1042 | m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE : | ||
| 1043 | m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR : | ||
| 1044 | m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE : | ||
| 1045 | m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND : | ||
| 1046 | m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND : | ||
| 1047 | -1; | ||
| 1048 | |||
| 1049 | if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { | ||
| 1050 | overflow = DATE; | ||
| 1051 | } | ||
| 1052 | |||
| 1053 | m._pf.overflow = overflow; | ||
| 1054 | } | ||
| 1055 | } | ||
| 1056 | |||
| 1057 | function isValid(m) { | ||
| 1058 | if (m._isValid == null) { | ||
| 1059 | m._isValid = !isNaN(m._d.getTime()) && | ||
| 1060 | m._pf.overflow < 0 && | ||
| 1061 | !m._pf.empty && | ||
| 1062 | !m._pf.invalidMonth && | ||
| 1063 | !m._pf.nullInput && | ||
| 1064 | !m._pf.invalidFormat && | ||
| 1065 | !m._pf.userInvalidated; | ||
| 1066 | |||
| 1067 | if (m._strict) { | ||
| 1068 | m._isValid = m._isValid && | ||
| 1069 | m._pf.charsLeftOver === 0 && | ||
| 1070 | m._pf.unusedTokens.length === 0; | ||
| 1071 | } | ||
| 1072 | } | ||
| 1073 | return m._isValid; | ||
| 1074 | } | ||
| 1075 | |||
| 1076 | function normalizeLocale(key) { | ||
| 1077 | return key ? key.toLowerCase().replace('_', '-') : key; | ||
| 1078 | } | ||
| 1079 | |||
| 1080 | // pick the locale from the array | ||
| 1081 | // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each | ||
| 1082 | // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root | ||
| 1083 | function chooseLocale(names) { | ||
| 1084 | var i = 0, j, next, locale, split; | ||
| 1085 | |||
| 1086 | while (i < names.length) { | ||
| 1087 | split = normalizeLocale(names[i]).split('-'); | ||
| 1088 | j = split.length; | ||
| 1089 | next = normalizeLocale(names[i + 1]); | ||
| 1090 | next = next ? next.split('-') : null; | ||
| 1091 | while (j > 0) { | ||
| 1092 | locale = loadLocale(split.slice(0, j).join('-')); | ||
| 1093 | if (locale) { | ||
| 1094 | return locale; | ||
| 1095 | } | ||
| 1096 | if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { | ||
| 1097 | //the next array item is better than a shallower substring of this one | ||
| 1098 | break; | ||
| 1099 | } | ||
| 1100 | j--; | ||
| 1101 | } | ||
| 1102 | i++; | ||
| 1103 | } | ||
| 1104 | return null; | ||
| 1105 | } | ||
| 1106 | |||
| 1107 | function loadLocale(name) { | ||
| 1108 | var oldLocale = null; | ||
| 1109 | if (!locales[name] && hasModule) { | ||
| 1110 | try { | ||
| 1111 | oldLocale = moment.locale(); | ||
| 1112 | require('./locale/' + name); | ||
| 1113 | // because defineLocale currently also sets the global locale, we want to undo that for lazy loaded locales | ||
| 1114 | moment.locale(oldLocale); | ||
| 1115 | } catch (e) { } | ||
| 1116 | } | ||
| 1117 | return locales[name]; | ||
| 1118 | } | ||
| 1119 | |||
| 1120 | // Return a moment from input, that is local/utc/zone equivalent to model. | ||
| 1121 | function makeAs(input, model) { | ||
| 1122 | return model._isUTC ? moment(input).zone(model._offset || 0) : | ||
| 1123 | moment(input).local(); | ||
| 1124 | } | ||
| 1125 | |||
| 1126 | /************************************ | ||
| 1127 | Locale | ||
| 1128 | ************************************/ | ||
| 1129 | |||
| 1130 | |||
| 1131 | extend(Locale.prototype, { | ||
| 1132 | |||
| 1133 | set : function (config) { | ||
| 1134 | var prop, i; | ||
| 1135 | for (i in config) { | ||
| 1136 | prop = config[i]; | ||
| 1137 | if (typeof prop === 'function') { | ||
| 1138 | this[i] = prop; | ||
| 1139 | } else { | ||
| 1140 | this['_' + i] = prop; | ||
| 1141 | } | ||
| 1142 | } | ||
| 1143 | }, | ||
| 1144 | |||
| 1145 | _months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), | ||
| 1146 | months : function (m) { | ||
| 1147 | return this._months[m.month()]; | ||
| 1148 | }, | ||
| 1149 | |||
| 1150 | _monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), | ||
| 1151 | monthsShort : function (m) { | ||
| 1152 | return this._monthsShort[m.month()]; | ||
| 1153 | }, | ||
| 1154 | |||
| 1155 | monthsParse : function (monthName) { | ||
| 1156 | var i, mom, regex; | ||
| 1157 | |||
| 1158 | if (!this._monthsParse) { | ||
| 1159 | this._monthsParse = []; | ||
| 1160 | } | ||
| 1161 | |||
| 1162 | for (i = 0; i < 12; i++) { | ||
| 1163 | // make the regex if we don't have it already | ||
| 1164 | if (!this._monthsParse[i]) { | ||
| 1165 | mom = moment.utc([2000, i]); | ||
| 1166 | regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); | ||
| 1167 | this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); | ||
| 1168 | } | ||
| 1169 | // test the regex | ||
| 1170 | if (this._monthsParse[i].test(monthName)) { | ||
| 1171 | return i; | ||
| 1172 | } | ||
| 1173 | } | ||
| 1174 | }, | ||
| 1175 | |||
| 1176 | _weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), | ||
| 1177 | weekdays : function (m) { | ||
| 1178 | return this._weekdays[m.day()]; | ||
| 1179 | }, | ||
| 1180 | |||
| 1181 | _weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), | ||
| 1182 | weekdaysShort : function (m) { | ||
| 1183 | return this._weekdaysShort[m.day()]; | ||
| 1184 | }, | ||
| 1185 | |||
| 1186 | _weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), | ||
| 1187 | weekdaysMin : function (m) { | ||
| 1188 | return this._weekdaysMin[m.day()]; | ||
| 1189 | }, | ||
| 1190 | |||
| 1191 | weekdaysParse : function (weekdayName) { | ||
| 1192 | var i, mom, regex; | ||
| 1193 | |||
| 1194 | if (!this._weekdaysParse) { | ||
| 1195 | this._weekdaysParse = []; | ||
| 1196 | } | ||
| 1197 | |||
| 1198 | for (i = 0; i < 7; i++) { | ||
| 1199 | // make the regex if we don't have it already | ||
| 1200 | if (!this._weekdaysParse[i]) { | ||
| 1201 | mom = moment([2000, 1]).day(i); | ||
| 1202 | regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); | ||
| 1203 | this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); | ||
| 1204 | } | ||
| 1205 | // test the regex | ||
| 1206 | if (this._weekdaysParse[i].test(weekdayName)) { | ||
| 1207 | return i; | ||
| 1208 | } | ||
| 1209 | } | ||
| 1210 | }, | ||
| 1211 | |||
| 1212 | _longDateFormat : { | ||
| 1213 | LT : 'h:mm A', | ||
| 1214 | L : 'MM/DD/YYYY', | ||
| 1215 | LL : 'MMMM D, YYYY', | ||
| 1216 | LLL : 'MMMM D, YYYY LT', | ||
| 1217 | LLLL : 'dddd, MMMM D, YYYY LT' | ||
| 1218 | }, | ||
| 1219 | longDateFormat : function (key) { | ||
| 1220 | var output = this._longDateFormat[key]; | ||
| 1221 | if (!output && this._longDateFormat[key.toUpperCase()]) { | ||
| 1222 | output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) { | ||
| 1223 | return val.slice(1); | ||
| 1224 | }); | ||
| 1225 | this._longDateFormat[key] = output; | ||
| 1226 | } | ||
| 1227 | return output; | ||
| 1228 | }, | ||
| 1229 | |||
| 1230 | isPM : function (input) { | ||
| 1231 | // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays | ||
| 1232 | // Using charAt should be more compatible. | ||
| 1233 | return ((input + '').toLowerCase().charAt(0) === 'p'); | ||
| 1234 | }, | ||
| 1235 | |||
| 1236 | _meridiemParse : /[ap]\.?m?\.?/i, | ||
| 1237 | meridiem : function (hours, minutes, isLower) { | ||
| 1238 | if (hours > 11) { | ||
| 1239 | return isLower ? 'pm' : 'PM'; | ||
| 1240 | } else { | ||
| 1241 | return isLower ? 'am' : 'AM'; | ||
| 1242 | } | ||
| 1243 | }, | ||
| 1244 | |||
| 1245 | _calendar : { | ||
| 1246 | sameDay : '[Today at] LT', | ||
| 1247 | nextDay : '[Tomorrow at] LT', | ||
| 1248 | nextWeek : 'dddd [at] LT', | ||
| 1249 | lastDay : '[Yesterday at] LT', | ||
| 1250 | lastWeek : '[Last] dddd [at] LT', | ||
| 1251 | sameElse : 'L' | ||
| 1252 | }, | ||
| 1253 | calendar : function (key, mom) { | ||
| 1254 | var output = this._calendar[key]; | ||
| 1255 | return typeof output === 'function' ? output.apply(mom) : output; | ||
| 1256 | }, | ||
| 1257 | |||
| 1258 | _relativeTime : { | ||
| 1259 | future : 'in %s', | ||
| 1260 | past : '%s ago', | ||
| 1261 | s : 'a few seconds', | ||
| 1262 | m : 'a minute', | ||
| 1263 | mm : '%d minutes', | ||
| 1264 | h : 'an hour', | ||
| 1265 | hh : '%d hours', | ||
| 1266 | d : 'a day', | ||
| 1267 | dd : '%d days', | ||
| 1268 | M : 'a month', | ||
| 1269 | MM : '%d months', | ||
| 1270 | y : 'a year', | ||
| 1271 | yy : '%d years' | ||
| 1272 | }, | ||
| 1273 | |||
| 1274 | relativeTime : function (number, withoutSuffix, string, isFuture) { | ||
| 1275 | var output = this._relativeTime[string]; | ||
| 1276 | return (typeof output === 'function') ? | ||
| 1277 | output(number, withoutSuffix, string, isFuture) : | ||
| 1278 | output.replace(/%d/i, number); | ||
| 1279 | }, | ||
| 1280 | |||
| 1281 | pastFuture : function (diff, output) { | ||
| 1282 | var format = this._relativeTime[diff > 0 ? 'future' : 'past']; | ||
| 1283 | return typeof format === 'function' ? format(output) : format.replace(/%s/i, output); | ||
| 1284 | }, | ||
| 1285 | |||
| 1286 | ordinal : function (number) { | ||
| 1287 | return this._ordinal.replace('%d', number); | ||
| 1288 | }, | ||
| 1289 | _ordinal : '%d', | ||
| 1290 | |||
| 1291 | preparse : function (string) { | ||
| 1292 | return string; | ||
| 1293 | }, | ||
| 1294 | |||
| 1295 | postformat : function (string) { | ||
| 1296 | return string; | ||
| 1297 | }, | ||
| 1298 | |||
| 1299 | week : function (mom) { | ||
| 1300 | return weekOfYear(mom, this._week.dow, this._week.doy).week; | ||
| 1301 | }, | ||
| 1302 | |||
| 1303 | _week : { | ||
| 1304 | dow : 0, // Sunday is the first day of the week. | ||
| 1305 | doy : 6 // The week that contains Jan 1st is the first week of the year. | ||
| 1306 | }, | ||
| 1307 | |||
| 1308 | _invalidDate: 'Invalid date', | ||
| 1309 | invalidDate: function () { | ||
| 1310 | return this._invalidDate; | ||
| 1311 | } | ||
| 1312 | }); | ||
| 1313 | |||
| 1314 | /************************************ | ||
| 1315 | Formatting | ||
| 1316 | ************************************/ | ||
| 1317 | |||
| 1318 | |||
| 1319 | function removeFormattingTokens(input) { | ||
| 1320 | if (input.match(/\[[\s\S]/)) { | ||
| 1321 | return input.replace(/^\[|\]$/g, ''); | ||
| 1322 | } | ||
| 1323 | return input.replace(/\\/g, ''); | ||
| 1324 | } | ||
| 1325 | |||
| 1326 | function makeFormatFunction(format) { | ||
| 1327 | var array = format.match(formattingTokens), i, length; | ||
| 1328 | |||
| 1329 | for (i = 0, length = array.length; i < length; i++) { | ||
| 1330 | if (formatTokenFunctions[array[i]]) { | ||
| 1331 | array[i] = formatTokenFunctions[array[i]]; | ||
| 1332 | } else { | ||
| 1333 | array[i] = removeFormattingTokens(array[i]); | ||
| 1334 | } | ||
| 1335 | } | ||
| 1336 | |||
| 1337 | return function (mom) { | ||
| 1338 | var output = ''; | ||
| 1339 | for (i = 0; i < length; i++) { | ||
| 1340 | output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; | ||
| 1341 | } | ||
| 1342 | return output; | ||
| 1343 | }; | ||
| 1344 | } | ||
| 1345 | |||
| 1346 | // format date using native date object | ||
| 1347 | function formatMoment(m, format) { | ||
| 1348 | if (!m.isValid()) { | ||
| 1349 | return m.localeData().invalidDate(); | ||
| 1350 | } | ||
| 1351 | |||
| 1352 | format = expandFormat(format, m.localeData()); | ||
| 1353 | |||
| 1354 | if (!formatFunctions[format]) { | ||
| 1355 | formatFunctions[format] = makeFormatFunction(format); | ||
| 1356 | } | ||
| 1357 | |||
| 1358 | return formatFunctions[format](m); | ||
| 1359 | } | ||
| 1360 | |||
| 1361 | function expandFormat(format, locale) { | ||
| 1362 | var i = 5; | ||
| 1363 | |||
| 1364 | function replaceLongDateFormatTokens(input) { | ||
| 1365 | return locale.longDateFormat(input) || input; | ||
| 1366 | } | ||
| 1367 | |||
| 1368 | localFormattingTokens.lastIndex = 0; | ||
| 1369 | while (i >= 0 && localFormattingTokens.test(format)) { | ||
| 1370 | format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); | ||
| 1371 | localFormattingTokens.lastIndex = 0; | ||
| 1372 | i -= 1; | ||
| 1373 | } | ||
| 1374 | |||
| 1375 | return format; | ||
| 1376 | } | ||
| 1377 | |||
| 1378 | |||
| 1379 | /************************************ | ||
| 1380 | Parsing | ||
| 1381 | ************************************/ | ||
| 1382 | |||
| 1383 | |||
| 1384 | // get the regex to find the next token | ||
| 1385 | function getParseRegexForToken(token, config) { | ||
| 1386 | var a, strict = config._strict; | ||
| 1387 | switch (token) { | ||
| 1388 | case 'Q': | ||
| 1389 | return parseTokenOneDigit; | ||
| 1390 | case 'DDDD': | ||
| 1391 | return parseTokenThreeDigits; | ||
| 1392 | case 'YYYY': | ||
| 1393 | case 'GGGG': | ||
| 1394 | case 'gggg': | ||
| 1395 | return strict ? parseTokenFourDigits : parseTokenOneToFourDigits; | ||
| 1396 | case 'Y': | ||
| 1397 | case 'G': | ||
| 1398 | case 'g': | ||
| 1399 | return parseTokenSignedNumber; | ||
| 1400 | case 'YYYYYY': | ||
| 1401 | case 'YYYYY': | ||
| 1402 | case 'GGGGG': | ||
| 1403 | case 'ggggg': | ||
| 1404 | return strict ? parseTokenSixDigits : parseTokenOneToSixDigits; | ||
| 1405 | case 'S': | ||
| 1406 | if (strict) { | ||
| 1407 | return parseTokenOneDigit; | ||
| 1408 | } | ||
| 1409 | /* falls through */ | ||
| 1410 | case 'SS': | ||
| 1411 | if (strict) { | ||
| 1412 | return parseTokenTwoDigits; | ||
| 1413 | } | ||
| 1414 | /* falls through */ | ||
| 1415 | case 'SSS': | ||
| 1416 | if (strict) { | ||
| 1417 | return parseTokenThreeDigits; | ||
| 1418 | } | ||
| 1419 | /* falls through */ | ||
| 1420 | case 'DDD': | ||
| 1421 | return parseTokenOneToThreeDigits; | ||
| 1422 | case 'MMM': | ||
| 1423 | case 'MMMM': | ||
| 1424 | case 'dd': | ||
| 1425 | case 'ddd': | ||
| 1426 | case 'dddd': | ||
| 1427 | return parseTokenWord; | ||
| 1428 | case 'a': | ||
| 1429 | case 'A': | ||
| 1430 | return config._locale._meridiemParse; | ||
| 1431 | case 'X': | ||
| 1432 | return parseTokenTimestampMs; | ||
| 1433 | case 'Z': | ||
| 1434 | case 'ZZ': | ||
| 1435 | return parseTokenTimezone; | ||
| 1436 | case 'T': | ||
| 1437 | return parseTokenT; | ||
| 1438 | case 'SSSS': | ||
| 1439 | return parseTokenDigits; | ||
| 1440 | case 'MM': | ||
| 1441 | case 'DD': | ||
| 1442 | case 'YY': | ||
| 1443 | case 'GG': | ||
| 1444 | case 'gg': | ||
| 1445 | case 'HH': | ||
| 1446 | case 'hh': | ||
| 1447 | case 'mm': | ||
| 1448 | case 'ss': | ||
| 1449 | case 'ww': | ||
| 1450 | case 'WW': | ||
| 1451 | return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits; | ||
| 1452 | case 'M': | ||
| 1453 | case 'D': | ||
| 1454 | case 'd': | ||
| 1455 | case 'H': | ||
| 1456 | case 'h': | ||
| 1457 | case 'm': | ||
| 1458 | case 's': | ||
| 1459 | case 'w': | ||
| 1460 | case 'W': | ||
| 1461 | case 'e': | ||
| 1462 | case 'E': | ||
| 1463 | return parseTokenOneOrTwoDigits; | ||
| 1464 | case 'Do': | ||
| 1465 | return parseTokenOrdinal; | ||
| 1466 | default : | ||
| 1467 | a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), 'i')); | ||
| 1468 | return a; | ||
| 1469 | } | ||
| 1470 | } | ||
| 1471 | |||
| 1472 | function timezoneMinutesFromString(string) { | ||
| 1473 | string = string || ''; | ||
| 1474 | var possibleTzMatches = (string.match(parseTokenTimezone) || []), | ||
| 1475 | tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [], | ||
| 1476 | parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0], | ||
| 1477 | minutes = +(parts[1] * 60) + toInt(parts[2]); | ||
| 1478 | |||
| 1479 | return parts[0] === '+' ? -minutes : minutes; | ||
| 1480 | } | ||
| 1481 | |||
| 1482 | // function to convert string input to date | ||
| 1483 | function addTimeToArrayFromToken(token, input, config) { | ||
| 1484 | var a, datePartArray = config._a; | ||
| 1485 | |||
| 1486 | switch (token) { | ||
| 1487 | // QUARTER | ||
| 1488 | case 'Q': | ||
| 1489 | if (input != null) { | ||
| 1490 | datePartArray[MONTH] = (toInt(input) - 1) * 3; | ||
| 1491 | } | ||
| 1492 | break; | ||
| 1493 | // MONTH | ||
| 1494 | case 'M' : // fall through to MM | ||
| 1495 | case 'MM' : | ||
| 1496 | if (input != null) { | ||
| 1497 | datePartArray[MONTH] = toInt(input) - 1; | ||
| 1498 | } | ||
| 1499 | break; | ||
| 1500 | case 'MMM' : // fall through to MMMM | ||
| 1501 | case 'MMMM' : | ||
| 1502 | a = config._locale.monthsParse(input); | ||
| 1503 | // if we didn't find a month name, mark the date as invalid. | ||
| 1504 | if (a != null) { | ||
| 1505 | datePartArray[MONTH] = a; | ||
| 1506 | } else { | ||
| 1507 | config._pf.invalidMonth = input; | ||
| 1508 | } | ||
| 1509 | break; | ||
| 1510 | // DAY OF MONTH | ||
| 1511 | case 'D' : // fall through to DD | ||
| 1512 | case 'DD' : | ||
| 1513 | if (input != null) { | ||
| 1514 | datePartArray[DATE] = toInt(input); | ||
| 1515 | } | ||
| 1516 | break; | ||
| 1517 | case 'Do' : | ||
| 1518 | if (input != null) { | ||
| 1519 | datePartArray[DATE] = toInt(parseInt(input, 10)); | ||
| 1520 | } | ||
| 1521 | break; | ||
| 1522 | // DAY OF YEAR | ||
| 1523 | case 'DDD' : // fall through to DDDD | ||
| 1524 | case 'DDDD' : | ||
| 1525 | if (input != null) { | ||
| 1526 | config._dayOfYear = toInt(input); | ||
| 1527 | } | ||
| 1528 | |||
| 1529 | break; | ||
| 1530 | // YEAR | ||
| 1531 | case 'YY' : | ||
| 1532 | datePartArray[YEAR] = moment.parseTwoDigitYear(input); | ||
| 1533 | break; | ||
| 1534 | case 'YYYY' : | ||
| 1535 | case 'YYYYY' : | ||
| 1536 | case 'YYYYYY' : | ||
| 1537 | datePartArray[YEAR] = toInt(input); | ||
| 1538 | break; | ||
| 1539 | // AM / PM | ||
| 1540 | case 'a' : // fall through to A | ||
| 1541 | case 'A' : | ||
| 1542 | config._isPm = config._locale.isPM(input); | ||
| 1543 | break; | ||
| 1544 | // 24 HOUR | ||
| 1545 | case 'H' : // fall through to hh | ||
| 1546 | case 'HH' : // fall through to hh | ||
| 1547 | case 'h' : // fall through to hh | ||
| 1548 | case 'hh' : | ||
| 1549 | datePartArray[HOUR] = toInt(input); | ||
| 1550 | break; | ||
| 1551 | // MINUTE | ||
| 1552 | case 'm' : // fall through to mm | ||
| 1553 | case 'mm' : | ||
| 1554 | datePartArray[MINUTE] = toInt(input); | ||
| 1555 | break; | ||
| 1556 | // SECOND | ||
| 1557 | case 's' : // fall through to ss | ||
| 1558 | case 'ss' : | ||
| 1559 | datePartArray[SECOND] = toInt(input); | ||
| 1560 | break; | ||
| 1561 | // MILLISECOND | ||
| 1562 | case 'S' : | ||
| 1563 | case 'SS' : | ||
| 1564 | case 'SSS' : | ||
| 1565 | case 'SSSS' : | ||
| 1566 | datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000); | ||
| 1567 | break; | ||
| 1568 | // UNIX TIMESTAMP WITH MS | ||
| 1569 | case 'X': | ||
| 1570 | config._d = new Date(parseFloat(input) * 1000); | ||
| 1571 | break; | ||
| 1572 | // TIMEZONE | ||
| 1573 | case 'Z' : // fall through to ZZ | ||
| 1574 | case 'ZZ' : | ||
| 1575 | config._useUTC = true; | ||
| 1576 | config._tzm = timezoneMinutesFromString(input); | ||
| 1577 | break; | ||
| 1578 | // WEEKDAY - human | ||
| 1579 | case 'dd': | ||
| 1580 | case 'ddd': | ||
| 1581 | case 'dddd': | ||
| 1582 | a = config._locale.weekdaysParse(input); | ||
| 1583 | // if we didn't get a weekday name, mark the date as invalid | ||
| 1584 | if (a != null) { | ||
| 1585 | config._w = config._w || {}; | ||
| 1586 | config._w['d'] = a; | ||
| 1587 | } else { | ||
| 1588 | config._pf.invalidWeekday = input; | ||
| 1589 | } | ||
| 1590 | break; | ||
| 1591 | // WEEK, WEEK DAY - numeric | ||
| 1592 | case 'w': | ||
| 1593 | case 'ww': | ||
| 1594 | case 'W': | ||
| 1595 | case 'WW': | ||
| 1596 | case 'd': | ||
| 1597 | case 'e': | ||
| 1598 | case 'E': | ||
| 1599 | token = token.substr(0, 1); | ||
| 1600 | /* falls through */ | ||
| 1601 | case 'gggg': | ||
| 1602 | case 'GGGG': | ||
| 1603 | case 'GGGGG': | ||
| 1604 | token = token.substr(0, 2); | ||
| 1605 | if (input) { | ||
| 1606 | config._w = config._w || {}; | ||
| 1607 | config._w[token] = toInt(input); | ||
| 1608 | } | ||
| 1609 | break; | ||
| 1610 | case 'gg': | ||
| 1611 | case 'GG': | ||
| 1612 | config._w = config._w || {}; | ||
| 1613 | config._w[token] = moment.parseTwoDigitYear(input); | ||
| 1614 | } | ||
| 1615 | } | ||
| 1616 | |||
| 1617 | function dayOfYearFromWeekInfo(config) { | ||
| 1618 | var w, weekYear, week, weekday, dow, doy, temp; | ||
| 1619 | |||
| 1620 | w = config._w; | ||
| 1621 | if (w.GG != null || w.W != null || w.E != null) { | ||
| 1622 | dow = 1; | ||
| 1623 | doy = 4; | ||
| 1624 | |||
| 1625 | // TODO: We need to take the current isoWeekYear, but that depends on | ||
| 1626 | // how we interpret now (local, utc, fixed offset). So create | ||
| 1627 | // a now version of current config (take local/utc/offset flags, and | ||
| 1628 | // create now). | ||
| 1629 | weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year); | ||
| 1630 | week = dfl(w.W, 1); | ||
| 1631 | weekday = dfl(w.E, 1); | ||
| 1632 | } else { | ||
| 1633 | dow = config._locale._week.dow; | ||
| 1634 | doy = config._locale._week.doy; | ||
| 1635 | |||
| 1636 | weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year); | ||
| 1637 | week = dfl(w.w, 1); | ||
| 1638 | |||
| 1639 | if (w.d != null) { | ||
| 1640 | // weekday -- low day numbers are considered next week | ||
| 1641 | weekday = w.d; | ||
| 1642 | if (weekday < dow) { | ||
| 1643 | ++week; | ||
| 1644 | } | ||
| 1645 | } else if (w.e != null) { | ||
| 1646 | // local weekday -- counting starts from begining of week | ||
| 1647 | weekday = w.e + dow; | ||
| 1648 | } else { | ||
| 1649 | // default to begining of week | ||
| 1650 | weekday = dow; | ||
| 1651 | } | ||
| 1652 | } | ||
| 1653 | temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow); | ||
| 1654 | |||
| 1655 | config._a[YEAR] = temp.year; | ||
| 1656 | config._dayOfYear = temp.dayOfYear; | ||
| 1657 | } | ||
| 1658 | |||
| 1659 | // convert an array to a date. | ||
| 1660 | // the array should mirror the parameters below | ||
| 1661 | // note: all values past the year are optional and will default to the lowest possible value. | ||
| 1662 | // [year, month, day , hour, minute, second, millisecond] | ||
| 1663 | function dateFromConfig(config) { | ||
| 1664 | var i, date, input = [], currentDate, yearToUse; | ||
| 1665 | |||
| 1666 | if (config._d) { | ||
| 1667 | return; | ||
| 1668 | } | ||
| 1669 | |||
| 1670 | currentDate = currentDateArray(config); | ||
| 1671 | |||
| 1672 | //compute day of the year from weeks and weekdays | ||
| 1673 | if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { | ||
| 1674 | dayOfYearFromWeekInfo(config); | ||
| 1675 | } | ||
| 1676 | |||
| 1677 | //if the day of the year is set, figure out what it is | ||
| 1678 | if (config._dayOfYear) { | ||
| 1679 | yearToUse = dfl(config._a[YEAR], currentDate[YEAR]); | ||
| 1680 | |||
| 1681 | if (config._dayOfYear > daysInYear(yearToUse)) { | ||
| 1682 | config._pf._overflowDayOfYear = true; | ||
| 1683 | } | ||
| 1684 | |||
| 1685 | date = makeUTCDate(yearToUse, 0, config._dayOfYear); | ||
| 1686 | config._a[MONTH] = date.getUTCMonth(); | ||
| 1687 | config._a[DATE] = date.getUTCDate(); | ||
| 1688 | } | ||
| 1689 | |||
| 1690 | // Default to current date. | ||
| 1691 | // * if no year, month, day of month are given, default to today | ||
| 1692 | // * if day of month is given, default month and year | ||
| 1693 | // * if month is given, default only year | ||
| 1694 | // * if year is given, don't default anything | ||
| 1695 | for (i = 0; i < 3 && config._a[i] == null; ++i) { | ||
| 1696 | config._a[i] = input[i] = currentDate[i]; | ||
| 1697 | } | ||
| 1698 | |||
| 1699 | // Zero out whatever was not defaulted, including time | ||
| 1700 | for (; i < 7; i++) { | ||
| 1701 | config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; | ||
| 1702 | } | ||
| 1703 | |||
| 1704 | config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input); | ||
| 1705 | // Apply timezone offset from input. The actual zone can be changed | ||
| 1706 | // with parseZone. | ||
| 1707 | if (config._tzm != null) { | ||
| 1708 | config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm); | ||
| 1709 | } | ||
| 1710 | } | ||
| 1711 | |||
| 1712 | function dateFromObject(config) { | ||
| 1713 | var normalizedInput; | ||
| 1714 | |||
| 1715 | if (config._d) { | ||
| 1716 | return; | ||
| 1717 | } | ||
| 1718 | |||
| 1719 | normalizedInput = normalizeObjectUnits(config._i); | ||
| 1720 | config._a = [ | ||
| 1721 | normalizedInput.year, | ||
| 1722 | normalizedInput.month, | ||
| 1723 | normalizedInput.day, | ||
| 1724 | normalizedInput.hour, | ||
| 1725 | normalizedInput.minute, | ||
| 1726 | normalizedInput.second, | ||
| 1727 | normalizedInput.millisecond | ||
| 1728 | ]; | ||
| 1729 | |||
| 1730 | dateFromConfig(config); | ||
| 1731 | } | ||
| 1732 | |||
| 1733 | function currentDateArray(config) { | ||
| 1734 | var now = new Date(); | ||
| 1735 | if (config._useUTC) { | ||
| 1736 | return [ | ||
| 1737 | now.getUTCFullYear(), | ||
| 1738 | now.getUTCMonth(), | ||
| 1739 | now.getUTCDate() | ||
| 1740 | ]; | ||
| 1741 | } else { | ||
| 1742 | return [now.getFullYear(), now.getMonth(), now.getDate()]; | ||
| 1743 | } | ||
| 1744 | } | ||
| 1745 | |||
| 1746 | // date from string and format string | ||
| 1747 | function makeDateFromStringAndFormat(config) { | ||
| 1748 | if (config._f === moment.ISO_8601) { | ||
| 1749 | parseISO(config); | ||
| 1750 | return; | ||
| 1751 | } | ||
| 1752 | |||
| 1753 | config._a = []; | ||
| 1754 | config._pf.empty = true; | ||
| 1755 | |||
| 1756 | // This array is used to make a Date, either with `new Date` or `Date.UTC` | ||
| 1757 | var string = '' + config._i, | ||
| 1758 | i, parsedInput, tokens, token, skipped, | ||
| 1759 | stringLength = string.length, | ||
| 1760 | totalParsedInputLength = 0; | ||
| 1761 | |||
| 1762 | tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; | ||
| 1763 | |||
| 1764 | for (i = 0; i < tokens.length; i++) { | ||
| 1765 | token = tokens[i]; | ||
| 1766 | parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; | ||
| 1767 | if (parsedInput) { | ||
| 1768 | skipped = string.substr(0, string.indexOf(parsedInput)); | ||
| 1769 | if (skipped.length > 0) { | ||
| 1770 | config._pf.unusedInput.push(skipped); | ||
| 1771 | } | ||
| 1772 | string = string.slice(string.indexOf(parsedInput) + parsedInput.length); | ||
| 1773 | totalParsedInputLength += parsedInput.length; | ||
| 1774 | } | ||
| 1775 | // don't parse if it's not a known token | ||
| 1776 | if (formatTokenFunctions[token]) { | ||
| 1777 | if (parsedInput) { | ||
| 1778 | config._pf.empty = false; | ||
| 1779 | } | ||
| 1780 | else { | ||
| 1781 | config._pf.unusedTokens.push(token); | ||
| 1782 | } | ||
| 1783 | addTimeToArrayFromToken(token, parsedInput, config); | ||
| 1784 | } | ||
| 1785 | else if (config._strict && !parsedInput) { | ||
| 1786 | config._pf.unusedTokens.push(token); | ||
| 1787 | } | ||
| 1788 | } | ||
| 1789 | |||
| 1790 | // add remaining unparsed input length to the string | ||
| 1791 | config._pf.charsLeftOver = stringLength - totalParsedInputLength; | ||
| 1792 | if (string.length > 0) { | ||
| 1793 | config._pf.unusedInput.push(string); | ||
| 1794 | } | ||
| 1795 | |||
| 1796 | // handle am pm | ||
| 1797 | if (config._isPm && config._a[HOUR] < 12) { | ||
| 1798 | config._a[HOUR] += 12; | ||
| 1799 | } | ||
| 1800 | // if is 12 am, change hours to 0 | ||
| 1801 | if (config._isPm === false && config._a[HOUR] === 12) { | ||
| 1802 | config._a[HOUR] = 0; | ||
| 1803 | } | ||
| 1804 | |||
| 1805 | dateFromConfig(config); | ||
| 1806 | checkOverflow(config); | ||
| 1807 | } | ||
| 1808 | |||
| 1809 | function unescapeFormat(s) { | ||
| 1810 | return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { | ||
| 1811 | return p1 || p2 || p3 || p4; | ||
| 1812 | }); | ||
| 1813 | } | ||
| 1814 | |||
| 1815 | // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript | ||
| 1816 | function regexpEscape(s) { | ||
| 1817 | return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); | ||
| 1818 | } | ||
| 1819 | |||
| 1820 | // date from string and array of format strings | ||
| 1821 | function makeDateFromStringAndArray(config) { | ||
| 1822 | var tempConfig, | ||
| 1823 | bestMoment, | ||
| 1824 | |||
| 1825 | scoreToBeat, | ||
| 1826 | i, | ||
| 1827 | currentScore; | ||
| 1828 | |||
| 1829 | if (config._f.length === 0) { | ||
| 1830 | config._pf.invalidFormat = true; | ||
| 1831 | config._d = new Date(NaN); | ||
| 1832 | return; | ||
| 1833 | } | ||
| 1834 | |||
| 1835 | for (i = 0; i < config._f.length; i++) { | ||
| 1836 | currentScore = 0; | ||
| 1837 | tempConfig = copyConfig({}, config); | ||
| 1838 | if (config._useUTC != null) { | ||
| 1839 | tempConfig._useUTC = config._useUTC; | ||
| 1840 | } | ||
| 1841 | tempConfig._pf = defaultParsingFlags(); | ||
| 1842 | tempConfig._f = config._f[i]; | ||
| 1843 | makeDateFromStringAndFormat(tempConfig); | ||
| 1844 | |||
| 1845 | if (!isValid(tempConfig)) { | ||
| 1846 | continue; | ||
| 1847 | } | ||
| 1848 | |||
| 1849 | // if there is any input that was not parsed add a penalty for that format | ||
| 1850 | currentScore += tempConfig._pf.charsLeftOver; | ||
| 1851 | |||
| 1852 | //or tokens | ||
| 1853 | currentScore += tempConfig._pf.unusedTokens.length * 10; | ||
| 1854 | |||
| 1855 | tempConfig._pf.score = currentScore; | ||
| 1856 | |||
| 1857 | if (scoreToBeat == null || currentScore < scoreToBeat) { | ||
| 1858 | scoreToBeat = currentScore; | ||
| 1859 | bestMoment = tempConfig; | ||
| 1860 | } | ||
| 1861 | } | ||
| 1862 | |||
| 1863 | extend(config, bestMoment || tempConfig); | ||
| 1864 | } | ||
| 1865 | |||
| 1866 | // date from iso format | ||
| 1867 | function parseISO(config) { | ||
| 1868 | var i, l, | ||
| 1869 | string = config._i, | ||
| 1870 | match = isoRegex.exec(string); | ||
| 1871 | |||
| 1872 | if (match) { | ||
| 1873 | config._pf.iso = true; | ||
| 1874 | for (i = 0, l = isoDates.length; i < l; i++) { | ||
| 1875 | if (isoDates[i][1].exec(string)) { | ||
| 1876 | // match[5] should be 'T' or undefined | ||
| 1877 | config._f = isoDates[i][0] + (match[6] || ' '); | ||
| 1878 | break; | ||
| 1879 | } | ||
| 1880 | } | ||
| 1881 | for (i = 0, l = isoTimes.length; i < l; i++) { | ||
| 1882 | if (isoTimes[i][1].exec(string)) { | ||
| 1883 | config._f += isoTimes[i][0]; | ||
| 1884 | break; | ||
| 1885 | } | ||
| 1886 | } | ||
| 1887 | if (string.match(parseTokenTimezone)) { | ||
| 1888 | config._f += 'Z'; | ||
| 1889 | } | ||
| 1890 | makeDateFromStringAndFormat(config); | ||
| 1891 | } else { | ||
| 1892 | config._isValid = false; | ||
| 1893 | } | ||
| 1894 | } | ||
| 1895 | |||
| 1896 | // date from iso format or fallback | ||
| 1897 | function makeDateFromString(config) { | ||
| 1898 | parseISO(config); | ||
| 1899 | if (config._isValid === false) { | ||
| 1900 | delete config._isValid; | ||
| 1901 | moment.createFromInputFallback(config); | ||
| 1902 | } | ||
| 1903 | } | ||
| 1904 | |||
| 1905 | function map(arr, fn) { | ||
| 1906 | var res = [], i; | ||
| 1907 | for (i = 0; i < arr.length; ++i) { | ||
| 1908 | res.push(fn(arr[i], i)); | ||
| 1909 | } | ||
| 1910 | return res; | ||
| 1911 | } | ||
| 1912 | |||
| 1913 | function makeDateFromInput(config) { | ||
| 1914 | var input = config._i, matched; | ||
| 1915 | if (input === undefined) { | ||
| 1916 | config._d = new Date(); | ||
| 1917 | } else if (isDate(input)) { | ||
| 1918 | config._d = new Date(+input); | ||
| 1919 | } else if ((matched = aspNetJsonRegex.exec(input)) !== null) { | ||
| 1920 | config._d = new Date(+matched[1]); | ||
| 1921 | } else if (typeof input === 'string') { | ||
| 1922 | makeDateFromString(config); | ||
| 1923 | } else if (isArray(input)) { | ||
| 1924 | config._a = map(input.slice(0), function (obj) { | ||
| 1925 | return parseInt(obj, 10); | ||
| 1926 | }); | ||
| 1927 | dateFromConfig(config); | ||
| 1928 | } else if (typeof(input) === 'object') { | ||
| 1929 | dateFromObject(config); | ||
| 1930 | } else if (typeof(input) === 'number') { | ||
| 1931 | // from milliseconds | ||
| 1932 | config._d = new Date(input); | ||
| 1933 | } else { | ||
| 1934 | moment.createFromInputFallback(config); | ||
| 1935 | } | ||
| 1936 | } | ||
| 1937 | |||
| 1938 | function makeDate(y, m, d, h, M, s, ms) { | ||
| 1939 | //can't just apply() to create a date: | ||
| 1940 | //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply | ||
| 1941 | var date = new Date(y, m, d, h, M, s, ms); | ||
| 1942 | |||
| 1943 | //the date constructor doesn't accept years < 1970 | ||
| 1944 | if (y < 1970) { | ||
| 1945 | date.setFullYear(y); | ||
| 1946 | } | ||
| 1947 | return date; | ||
| 1948 | } | ||
| 1949 | |||
| 1950 | function makeUTCDate(y) { | ||
| 1951 | var date = new Date(Date.UTC.apply(null, arguments)); | ||
| 1952 | if (y < 1970) { | ||
| 1953 | date.setUTCFullYear(y); | ||
| 1954 | } | ||
| 1955 | return date; | ||
| 1956 | } | ||
| 1957 | |||
| 1958 | function parseWeekday(input, locale) { | ||
| 1959 | if (typeof input === 'string') { | ||
| 1960 | if (!isNaN(input)) { | ||
| 1961 | input = parseInt(input, 10); | ||
| 1962 | } | ||
| 1963 | else { | ||
| 1964 | input = locale.weekdaysParse(input); | ||
| 1965 | if (typeof input !== 'number') { | ||
| 1966 | return null; | ||
| 1967 | } | ||
| 1968 | } | ||
| 1969 | } | ||
| 1970 | return input; | ||
| 1971 | } | ||
| 1972 | |||
| 1973 | /************************************ | ||
| 1974 | Relative Time | ||
| 1975 | ************************************/ | ||
| 1976 | |||
| 1977 | |||
| 1978 | // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize | ||
| 1979 | function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { | ||
| 1980 | return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); | ||
| 1981 | } | ||
| 1982 | |||
| 1983 | function relativeTime(posNegDuration, withoutSuffix, locale) { | ||
| 1984 | var duration = moment.duration(posNegDuration).abs(), | ||
| 1985 | seconds = round(duration.as('s')), | ||
| 1986 | minutes = round(duration.as('m')), | ||
| 1987 | hours = round(duration.as('h')), | ||
| 1988 | days = round(duration.as('d')), | ||
| 1989 | months = round(duration.as('M')), | ||
| 1990 | years = round(duration.as('y')), | ||
| 1991 | |||
| 1992 | args = seconds < relativeTimeThresholds.s && ['s', seconds] || | ||
| 1993 | minutes === 1 && ['m'] || | ||
| 1994 | minutes < relativeTimeThresholds.m && ['mm', minutes] || | ||
| 1995 | hours === 1 && ['h'] || | ||
| 1996 | hours < relativeTimeThresholds.h && ['hh', hours] || | ||
| 1997 | days === 1 && ['d'] || | ||
| 1998 | days < relativeTimeThresholds.d && ['dd', days] || | ||
| 1999 | months === 1 && ['M'] || | ||
| 2000 | months < relativeTimeThresholds.M && ['MM', months] || | ||
| 2001 | years === 1 && ['y'] || ['yy', years]; | ||
| 2002 | |||
| 2003 | args[2] = withoutSuffix; | ||
| 2004 | args[3] = +posNegDuration > 0; | ||
| 2005 | args[4] = locale; | ||
| 2006 | return substituteTimeAgo.apply({}, args); | ||
| 2007 | } | ||
| 2008 | |||
| 2009 | |||
| 2010 | /************************************ | ||
| 2011 | Week of Year | ||
| 2012 | ************************************/ | ||
| 2013 | |||
| 2014 | |||
| 2015 | // firstDayOfWeek 0 = sun, 6 = sat | ||
| 2016 | // the day of the week that starts the week | ||
| 2017 | // (usually sunday or monday) | ||
| 2018 | // firstDayOfWeekOfYear 0 = sun, 6 = sat | ||
| 2019 | // the first week is the week that contains the first | ||
| 2020 | // of this day of the week | ||
| 2021 | // (eg. ISO weeks use thursday (4)) | ||
| 2022 | function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) { | ||
| 2023 | var end = firstDayOfWeekOfYear - firstDayOfWeek, | ||
| 2024 | daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(), | ||
| 2025 | adjustedMoment; | ||
| 2026 | |||
| 2027 | |||
| 2028 | if (daysToDayOfWeek > end) { | ||
| 2029 | daysToDayOfWeek -= 7; | ||
| 2030 | } | ||
| 2031 | |||
| 2032 | if (daysToDayOfWeek < end - 7) { | ||
| 2033 | daysToDayOfWeek += 7; | ||
| 2034 | } | ||
| 2035 | |||
| 2036 | adjustedMoment = moment(mom).add(daysToDayOfWeek, 'd'); | ||
| 2037 | return { | ||
| 2038 | week: Math.ceil(adjustedMoment.dayOfYear() / 7), | ||
| 2039 | year: adjustedMoment.year() | ||
| 2040 | }; | ||
| 2041 | } | ||
| 2042 | |||
| 2043 | //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday | ||
| 2044 | function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) { | ||
| 2045 | var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear; | ||
| 2046 | |||
| 2047 | d = d === 0 ? 7 : d; | ||
| 2048 | weekday = weekday != null ? weekday : firstDayOfWeek; | ||
| 2049 | daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0); | ||
| 2050 | dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1; | ||
| 2051 | |||
| 2052 | return { | ||
| 2053 | year: dayOfYear > 0 ? year : year - 1, | ||
| 2054 | dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear | ||
| 2055 | }; | ||
| 2056 | } | ||
| 2057 | |||
| 2058 | /************************************ | ||
| 2059 | Top Level Functions | ||
| 2060 | ************************************/ | ||
| 2061 | |||
| 2062 | function makeMoment(config) { | ||
| 2063 | var input = config._i, | ||
| 2064 | format = config._f; | ||
| 2065 | |||
| 2066 | config._locale = config._locale || moment.localeData(config._l); | ||
| 2067 | |||
| 2068 | if (input === null || (format === undefined && input === '')) { | ||
| 2069 | return moment.invalid({nullInput: true}); | ||
| 2070 | } | ||
| 2071 | |||
| 2072 | if (typeof input === 'string') { | ||
| 2073 | config._i = input = config._locale.preparse(input); | ||
| 2074 | } | ||
| 2075 | |||
| 2076 | if (moment.isMoment(input)) { | ||
| 2077 | return new Moment(input, true); | ||
| 2078 | } else if (format) { | ||
| 2079 | if (isArray(format)) { | ||
| 2080 | makeDateFromStringAndArray(config); | ||
| 2081 | } else { | ||
| 2082 | makeDateFromStringAndFormat(config); | ||
| 2083 | } | ||
| 2084 | } else { | ||
| 2085 | makeDateFromInput(config); | ||
| 2086 | } | ||
| 2087 | |||
| 2088 | return new Moment(config); | ||
| 2089 | } | ||
| 2090 | |||
| 2091 | moment = function (input, format, locale, strict) { | ||
| 2092 | var c; | ||
| 2093 | |||
| 2094 | if (typeof(locale) === 'boolean') { | ||
| 2095 | strict = locale; | ||
| 2096 | locale = undefined; | ||
| 2097 | } | ||
| 2098 | // object construction must be done this way. | ||
| 2099 | // https://github.com/moment/moment/issues/1423 | ||
| 2100 | c = {}; | ||
| 2101 | c._isAMomentObject = true; | ||
| 2102 | c._i = input; | ||
| 2103 | c._f = format; | ||
| 2104 | c._l = locale; | ||
| 2105 | c._strict = strict; | ||
| 2106 | c._isUTC = false; | ||
| 2107 | c._pf = defaultParsingFlags(); | ||
| 2108 | |||
| 2109 | return makeMoment(c); | ||
| 2110 | }; | ||
| 2111 | |||
| 2112 | moment.suppressDeprecationWarnings = false; | ||
| 2113 | |||
| 2114 | moment.createFromInputFallback = deprecate( | ||
| 2115 | 'moment construction falls back to js Date. This is ' + | ||
| 2116 | 'discouraged and will be removed in upcoming major ' + | ||
| 2117 | 'release. Please refer to ' + | ||
| 2118 | 'https://github.com/moment/moment/issues/1407 for more info.', | ||
| 2119 | function (config) { | ||
| 2120 | config._d = new Date(config._i); | ||
| 2121 | } | ||
| 2122 | ); | ||
| 2123 | |||
| 2124 | // Pick a moment m from moments so that m[fn](other) is true for all | ||
| 2125 | // other. This relies on the function fn to be transitive. | ||
| 2126 | // | ||
| 2127 | // moments should either be an array of moment objects or an array, whose | ||
| 2128 | // first element is an array of moment objects. | ||
| 2129 | function pickBy(fn, moments) { | ||
| 2130 | var res, i; | ||
| 2131 | if (moments.length === 1 && isArray(moments[0])) { | ||
| 2132 | moments = moments[0]; | ||
| 2133 | } | ||
| 2134 | if (!moments.length) { | ||
| 2135 | return moment(); | ||
| 2136 | } | ||
| 2137 | res = moments[0]; | ||
| 2138 | for (i = 1; i < moments.length; ++i) { | ||
| 2139 | if (moments[i][fn](res)) { | ||
| 2140 | res = moments[i]; | ||
| 2141 | } | ||
| 2142 | } | ||
| 2143 | return res; | ||
| 2144 | } | ||
| 2145 | |||
| 2146 | moment.min = function () { | ||
| 2147 | var args = [].slice.call(arguments, 0); | ||
| 2148 | |||
| 2149 | return pickBy('isBefore', args); | ||
| 2150 | }; | ||
| 2151 | |||
| 2152 | moment.max = function () { | ||
| 2153 | var args = [].slice.call(arguments, 0); | ||
| 2154 | |||
| 2155 | return pickBy('isAfter', args); | ||
| 2156 | }; | ||
| 2157 | |||
| 2158 | // creating with utc | ||
| 2159 | moment.utc = function (input, format, locale, strict) { | ||
| 2160 | var c; | ||
| 2161 | |||
| 2162 | if (typeof(locale) === 'boolean') { | ||
| 2163 | strict = locale; | ||
| 2164 | locale = undefined; | ||
| 2165 | } | ||
| 2166 | // object construction must be done this way. | ||
| 2167 | // https://github.com/moment/moment/issues/1423 | ||
| 2168 | c = {}; | ||
| 2169 | c._isAMomentObject = true; | ||
| 2170 | c._useUTC = true; | ||
| 2171 | c._isUTC = true; | ||
| 2172 | c._l = locale; | ||
| 2173 | c._i = input; | ||
| 2174 | c._f = format; | ||
| 2175 | c._strict = strict; | ||
| 2176 | c._pf = defaultParsingFlags(); | ||
| 2177 | |||
| 2178 | return makeMoment(c).utc(); | ||
| 2179 | }; | ||
| 2180 | |||
| 2181 | // creating with unix timestamp (in seconds) | ||
| 2182 | moment.unix = function (input) { | ||
| 2183 | return moment(input * 1000); | ||
| 2184 | }; | ||
| 2185 | |||
| 2186 | // duration | ||
| 2187 | moment.duration = function (input, key) { | ||
| 2188 | var duration = input, | ||
| 2189 | // matching against regexp is expensive, do it on demand | ||
| 2190 | match = null, | ||
| 2191 | sign, | ||
| 2192 | ret, | ||
| 2193 | parseIso, | ||
| 2194 | diffRes; | ||
| 2195 | |||
| 2196 | if (moment.isDuration(input)) { | ||
| 2197 | duration = { | ||
| 2198 | ms: input._milliseconds, | ||
| 2199 | d: input._days, | ||
| 2200 | M: input._months | ||
| 2201 | }; | ||
| 2202 | } else if (typeof input === 'number') { | ||
| 2203 | duration = {}; | ||
| 2204 | if (key) { | ||
| 2205 | duration[key] = input; | ||
| 2206 | } else { | ||
| 2207 | duration.milliseconds = input; | ||
| 2208 | } | ||
| 2209 | } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) { | ||
| 2210 | sign = (match[1] === '-') ? -1 : 1; | ||
| 2211 | duration = { | ||
| 2212 | y: 0, | ||
| 2213 | d: toInt(match[DATE]) * sign, | ||
| 2214 | h: toInt(match[HOUR]) * sign, | ||
| 2215 | m: toInt(match[MINUTE]) * sign, | ||
| 2216 | s: toInt(match[SECOND]) * sign, | ||
| 2217 | ms: toInt(match[MILLISECOND]) * sign | ||
| 2218 | }; | ||
| 2219 | } else if (!!(match = isoDurationRegex.exec(input))) { | ||
| 2220 | sign = (match[1] === '-') ? -1 : 1; | ||
| 2221 | parseIso = function (inp) { | ||
| 2222 | // We'd normally use ~~inp for this, but unfortunately it also | ||
| 2223 | // converts floats to ints. | ||
| 2224 | // inp may be undefined, so careful calling replace on it. | ||
| 2225 | var res = inp && parseFloat(inp.replace(',', '.')); | ||
| 2226 | // apply sign while we're at it | ||
| 2227 | return (isNaN(res) ? 0 : res) * sign; | ||
| 2228 | }; | ||
| 2229 | duration = { | ||
| 2230 | y: parseIso(match[2]), | ||
| 2231 | M: parseIso(match[3]), | ||
| 2232 | d: parseIso(match[4]), | ||
| 2233 | h: parseIso(match[5]), | ||
| 2234 | m: parseIso(match[6]), | ||
| 2235 | s: parseIso(match[7]), | ||
| 2236 | w: parseIso(match[8]) | ||
| 2237 | }; | ||
| 2238 | } else if (typeof duration === 'object' && | ||
| 2239 | ('from' in duration || 'to' in duration)) { | ||
| 2240 | diffRes = momentsDifference(moment(duration.from), moment(duration.to)); | ||
| 2241 | |||
| 2242 | duration = {}; | ||
| 2243 | duration.ms = diffRes.milliseconds; | ||
| 2244 | duration.M = diffRes.months; | ||
| 2245 | } | ||
| 2246 | |||
| 2247 | ret = new Duration(duration); | ||
| 2248 | |||
| 2249 | if (moment.isDuration(input) && hasOwnProp(input, '_locale')) { | ||
| 2250 | ret._locale = input._locale; | ||
| 2251 | } | ||
| 2252 | |||
| 2253 | return ret; | ||
| 2254 | }; | ||
| 2255 | |||
| 2256 | // version number | ||
| 2257 | moment.version = VERSION; | ||
| 2258 | |||
| 2259 | // default format | ||
| 2260 | moment.defaultFormat = isoFormat; | ||
| 2261 | |||
| 2262 | // constant that refers to the ISO standard | ||
| 2263 | moment.ISO_8601 = function () {}; | ||
| 2264 | |||
| 2265 | // Plugins that add properties should also add the key here (null value), | ||
| 2266 | // so we can properly clone ourselves. | ||
| 2267 | moment.momentProperties = momentProperties; | ||
| 2268 | |||
| 2269 | // This function will be called whenever a moment is mutated. | ||
| 2270 | // It is intended to keep the offset in sync with the timezone. | ||
| 2271 | moment.updateOffset = function () {}; | ||
| 2272 | |||
| 2273 | // This function allows you to set a threshold for relative time strings | ||
| 2274 | moment.relativeTimeThreshold = function (threshold, limit) { | ||
| 2275 | if (relativeTimeThresholds[threshold] === undefined) { | ||
| 2276 | return false; | ||
| 2277 | } | ||
| 2278 | if (limit === undefined) { | ||
| 2279 | return relativeTimeThresholds[threshold]; | ||
| 2280 | } | ||
| 2281 | relativeTimeThresholds[threshold] = limit; | ||
| 2282 | return true; | ||
| 2283 | }; | ||
| 2284 | |||
| 2285 | moment.lang = deprecate( | ||
| 2286 | 'moment.lang is deprecated. Use moment.locale instead.', | ||
| 2287 | function (key, value) { | ||
| 2288 | return moment.locale(key, value); | ||
| 2289 | } | ||
| 2290 | ); | ||
| 2291 | |||
| 2292 | // This function will load locale and then set the global locale. If | ||
| 2293 | // no arguments are passed in, it will simply return the current global | ||
| 2294 | // locale key. | ||
| 2295 | moment.locale = function (key, values) { | ||
| 2296 | var data; | ||
| 2297 | if (key) { | ||
| 2298 | if (typeof(values) !== 'undefined') { | ||
| 2299 | data = moment.defineLocale(key, values); | ||
| 2300 | } | ||
| 2301 | else { | ||
| 2302 | data = moment.localeData(key); | ||
| 2303 | } | ||
| 2304 | |||
| 2305 | if (data) { | ||
| 2306 | moment.duration._locale = moment._locale = data; | ||
| 2307 | } | ||
| 2308 | } | ||
| 2309 | |||
| 2310 | return moment._locale._abbr; | ||
| 2311 | }; | ||
| 2312 | |||
| 2313 | moment.defineLocale = function (name, values) { | ||
| 2314 | if (values !== null) { | ||
| 2315 | values.abbr = name; | ||
| 2316 | if (!locales[name]) { | ||
| 2317 | locales[name] = new Locale(); | ||
| 2318 | } | ||
| 2319 | locales[name].set(values); | ||
| 2320 | |||
| 2321 | // backwards compat for now: also set the locale | ||
| 2322 | moment.locale(name); | ||
| 2323 | |||
| 2324 | return locales[name]; | ||
| 2325 | } else { | ||
| 2326 | // useful for testing | ||
| 2327 | delete locales[name]; | ||
| 2328 | return null; | ||
| 2329 | } | ||
| 2330 | }; | ||
| 2331 | |||
| 2332 | moment.langData = deprecate( | ||
| 2333 | 'moment.langData is deprecated. Use moment.localeData instead.', | ||
| 2334 | function (key) { | ||
| 2335 | return moment.localeData(key); | ||
| 2336 | } | ||
| 2337 | ); | ||
| 2338 | |||
| 2339 | // returns locale data | ||
| 2340 | moment.localeData = function (key) { | ||
| 2341 | var locale; | ||
| 2342 | |||
| 2343 | if (key && key._locale && key._locale._abbr) { | ||
| 2344 | key = key._locale._abbr; | ||
| 2345 | } | ||
| 2346 | |||
| 2347 | if (!key) { | ||
| 2348 | return moment._locale; | ||
| 2349 | } | ||
| 2350 | |||
| 2351 | if (!isArray(key)) { | ||
| 2352 | //short-circuit everything else | ||
| 2353 | locale = loadLocale(key); | ||
| 2354 | if (locale) { | ||
| 2355 | return locale; | ||
| 2356 | } | ||
| 2357 | key = [key]; | ||
| 2358 | } | ||
| 2359 | |||
| 2360 | return chooseLocale(key); | ||
| 2361 | }; | ||
| 2362 | |||
| 2363 | // compare moment object | ||
| 2364 | moment.isMoment = function (obj) { | ||
| 2365 | return obj instanceof Moment || | ||
| 2366 | (obj != null && hasOwnProp(obj, '_isAMomentObject')); | ||
| 2367 | }; | ||
| 2368 | |||
| 2369 | // for typechecking Duration objects | ||
| 2370 | moment.isDuration = function (obj) { | ||
| 2371 | return obj instanceof Duration; | ||
| 2372 | }; | ||
| 2373 | |||
| 2374 | for (i = lists.length - 1; i >= 0; --i) { | ||
| 2375 | makeList(lists[i]); | ||
| 2376 | } | ||
| 2377 | |||
| 2378 | moment.normalizeUnits = function (units) { | ||
| 2379 | return normalizeUnits(units); | ||
| 2380 | }; | ||
| 2381 | |||
| 2382 | moment.invalid = function (flags) { | ||
| 2383 | var m = moment.utc(NaN); | ||
| 2384 | if (flags != null) { | ||
| 2385 | extend(m._pf, flags); | ||
| 2386 | } | ||
| 2387 | else { | ||
| 2388 | m._pf.userInvalidated = true; | ||
| 2389 | } | ||
| 2390 | |||
| 2391 | return m; | ||
| 2392 | }; | ||
| 2393 | |||
| 2394 | moment.parseZone = function () { | ||
| 2395 | return moment.apply(null, arguments).parseZone(); | ||
| 2396 | }; | ||
| 2397 | |||
| 2398 | moment.parseTwoDigitYear = function (input) { | ||
| 2399 | return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); | ||
| 2400 | }; | ||
| 2401 | |||
| 2402 | /************************************ | ||
| 2403 | Moment Prototype | ||
| 2404 | ************************************/ | ||
| 2405 | |||
| 2406 | |||
| 2407 | extend(moment.fn = Moment.prototype, { | ||
| 2408 | |||
| 2409 | clone : function () { | ||
| 2410 | return moment(this); | ||
| 2411 | }, | ||
| 2412 | |||
| 2413 | valueOf : function () { | ||
| 2414 | return +this._d + ((this._offset || 0) * 60000); | ||
| 2415 | }, | ||
| 2416 | |||
| 2417 | unix : function () { | ||
| 2418 | return Math.floor(+this / 1000); | ||
| 2419 | }, | ||
| 2420 | |||
| 2421 | toString : function () { | ||
| 2422 | return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); | ||
| 2423 | }, | ||
| 2424 | |||
| 2425 | toDate : function () { | ||
| 2426 | return this._offset ? new Date(+this) : this._d; | ||
| 2427 | }, | ||
| 2428 | |||
| 2429 | toISOString : function () { | ||
| 2430 | var m = moment(this).utc(); | ||
| 2431 | if (0 < m.year() && m.year() <= 9999) { | ||
| 2432 | return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); | ||
| 2433 | } else { | ||
| 2434 | return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); | ||
| 2435 | } | ||
| 2436 | }, | ||
| 2437 | |||
| 2438 | toArray : function () { | ||
| 2439 | var m = this; | ||
| 2440 | return [ | ||
| 2441 | m.year(), | ||
| 2442 | m.month(), | ||
| 2443 | m.date(), | ||
| 2444 | m.hours(), | ||
| 2445 | m.minutes(), | ||
| 2446 | m.seconds(), | ||
| 2447 | m.milliseconds() | ||
| 2448 | ]; | ||
| 2449 | }, | ||
| 2450 | |||
| 2451 | isValid : function () { | ||
| 2452 | return isValid(this); | ||
| 2453 | }, | ||
| 2454 | |||
| 2455 | isDSTShifted : function () { | ||
| 2456 | if (this._a) { | ||
| 2457 | return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0; | ||
| 2458 | } | ||
| 2459 | |||
| 2460 | return false; | ||
| 2461 | }, | ||
| 2462 | |||
| 2463 | parsingFlags : function () { | ||
| 2464 | return extend({}, this._pf); | ||
| 2465 | }, | ||
| 2466 | |||
| 2467 | invalidAt: function () { | ||
| 2468 | return this._pf.overflow; | ||
| 2469 | }, | ||
| 2470 | |||
| 2471 | utc : function (keepLocalTime) { | ||
| 2472 | return this.zone(0, keepLocalTime); | ||
| 2473 | }, | ||
| 2474 | |||
| 2475 | local : function (keepLocalTime) { | ||
| 2476 | if (this._isUTC) { | ||
| 2477 | this.zone(0, keepLocalTime); | ||
| 2478 | this._isUTC = false; | ||
| 2479 | |||
| 2480 | if (keepLocalTime) { | ||
| 2481 | this.add(this._dateTzOffset(), 'm'); | ||
| 2482 | } | ||
| 2483 | } | ||
| 2484 | return this; | ||
| 2485 | }, | ||
| 2486 | |||
| 2487 | format : function (inputString) { | ||
| 2488 | var output = formatMoment(this, inputString || moment.defaultFormat); | ||
| 2489 | return this.localeData().postformat(output); | ||
| 2490 | }, | ||
| 2491 | |||
| 2492 | add : createAdder(1, 'add'), | ||
| 2493 | |||
| 2494 | subtract : createAdder(-1, 'subtract'), | ||
| 2495 | |||
| 2496 | diff : function (input, units, asFloat) { | ||
| 2497 | var that = makeAs(input, this), | ||
| 2498 | zoneDiff = (this.zone() - that.zone()) * 6e4, | ||
| 2499 | diff, output, daysAdjust; | ||
| 2500 | |||
| 2501 | units = normalizeUnits(units); | ||
| 2502 | |||
| 2503 | if (units === 'year' || units === 'month') { | ||
| 2504 | // average number of days in the months in the given dates | ||
| 2505 | diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2 | ||
| 2506 | // difference in months | ||
| 2507 | output = ((this.year() - that.year()) * 12) + (this.month() - that.month()); | ||
| 2508 | // adjust by taking difference in days, average number of days | ||
| 2509 | // and dst in the given months. | ||
| 2510 | daysAdjust = (this - moment(this).startOf('month')) - | ||
| 2511 | (that - moment(that).startOf('month')); | ||
| 2512 | // same as above but with zones, to negate all dst | ||
| 2513 | daysAdjust -= ((this.zone() - moment(this).startOf('month').zone()) - | ||
| 2514 | (that.zone() - moment(that).startOf('month').zone())) * 6e4; | ||
| 2515 | output += daysAdjust / diff; | ||
| 2516 | if (units === 'year') { | ||
| 2517 | output = output / 12; | ||
| 2518 | } | ||
| 2519 | } else { | ||
| 2520 | diff = (this - that); | ||
| 2521 | output = units === 'second' ? diff / 1e3 : // 1000 | ||
| 2522 | units === 'minute' ? diff / 6e4 : // 1000 * 60 | ||
| 2523 | units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60 | ||
| 2524 | units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst | ||
| 2525 | units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst | ||
| 2526 | diff; | ||
| 2527 | } | ||
| 2528 | return asFloat ? output : absRound(output); | ||
| 2529 | }, | ||
| 2530 | |||
| 2531 | from : function (time, withoutSuffix) { | ||
| 2532 | return moment.duration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); | ||
| 2533 | }, | ||
| 2534 | |||
| 2535 | fromNow : function (withoutSuffix) { | ||
| 2536 | return this.from(moment(), withoutSuffix); | ||
| 2537 | }, | ||
| 2538 | |||
| 2539 | calendar : function (time) { | ||
| 2540 | // We want to compare the start of today, vs this. | ||
| 2541 | // Getting start-of-today depends on whether we're zone'd or not. | ||
| 2542 | var now = time || moment(), | ||
| 2543 | sod = makeAs(now, this).startOf('day'), | ||
| 2544 | diff = this.diff(sod, 'days', true), | ||
| 2545 | format = diff < -6 ? 'sameElse' : | ||
| 2546 | diff < -1 ? 'lastWeek' : | ||
| 2547 | diff < 0 ? 'lastDay' : | ||
| 2548 | diff < 1 ? 'sameDay' : | ||
| 2549 | diff < 2 ? 'nextDay' : | ||
| 2550 | diff < 7 ? 'nextWeek' : 'sameElse'; | ||
| 2551 | return this.format(this.localeData().calendar(format, this)); | ||
| 2552 | }, | ||
| 2553 | |||
| 2554 | isLeapYear : function () { | ||
| 2555 | return isLeapYear(this.year()); | ||
| 2556 | }, | ||
| 2557 | |||
| 2558 | isDST : function () { | ||
| 2559 | return (this.zone() < this.clone().month(0).zone() || | ||
| 2560 | this.zone() < this.clone().month(5).zone()); | ||
| 2561 | }, | ||
| 2562 | |||
| 2563 | day : function (input) { | ||
| 2564 | var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); | ||
| 2565 | if (input != null) { | ||
| 2566 | input = parseWeekday(input, this.localeData()); | ||
| 2567 | return this.add(input - day, 'd'); | ||
| 2568 | } else { | ||
| 2569 | return day; | ||
| 2570 | } | ||
| 2571 | }, | ||
| 2572 | |||
| 2573 | month : makeAccessor('Month', true), | ||
| 2574 | |||
| 2575 | startOf : function (units) { | ||
| 2576 | units = normalizeUnits(units); | ||
| 2577 | // the following switch intentionally omits break keywords | ||
| 2578 | // to utilize falling through the cases. | ||
| 2579 | switch (units) { | ||
| 2580 | case 'year': | ||
| 2581 | this.month(0); | ||
| 2582 | /* falls through */ | ||
| 2583 | case 'quarter': | ||
| 2584 | case 'month': | ||
| 2585 | this.date(1); | ||
| 2586 | /* falls through */ | ||
| 2587 | case 'week': | ||
| 2588 | case 'isoWeek': | ||
| 2589 | case 'day': | ||
| 2590 | this.hours(0); | ||
| 2591 | /* falls through */ | ||
| 2592 | case 'hour': | ||
| 2593 | this.minutes(0); | ||
| 2594 | /* falls through */ | ||
| 2595 | case 'minute': | ||
| 2596 | this.seconds(0); | ||
| 2597 | /* falls through */ | ||
| 2598 | case 'second': | ||
| 2599 | this.milliseconds(0); | ||
| 2600 | /* falls through */ | ||
| 2601 | } | ||
| 2602 | |||
| 2603 | // weeks are a special case | ||
| 2604 | if (units === 'week') { | ||
| 2605 | this.weekday(0); | ||
| 2606 | } else if (units === 'isoWeek') { | ||
| 2607 | this.isoWeekday(1); | ||
| 2608 | } | ||
| 2609 | |||
| 2610 | // quarters are also special | ||
| 2611 | if (units === 'quarter') { | ||
| 2612 | this.month(Math.floor(this.month() / 3) * 3); | ||
| 2613 | } | ||
| 2614 | |||
| 2615 | return this; | ||
| 2616 | }, | ||
| 2617 | |||
| 2618 | endOf: function (units) { | ||
| 2619 | units = normalizeUnits(units); | ||
| 2620 | return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); | ||
| 2621 | }, | ||
| 2622 | |||
| 2623 | isAfter: function (input, units) { | ||
| 2624 | units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond'); | ||
| 2625 | if (units === 'millisecond') { | ||
| 2626 | input = moment.isMoment(input) ? input : moment(input); | ||
| 2627 | return +this > +input; | ||
| 2628 | } else { | ||
| 2629 | return +this.clone().startOf(units) > +moment(input).startOf(units); | ||
| 2630 | } | ||
| 2631 | }, | ||
| 2632 | |||
| 2633 | isBefore: function (input, units) { | ||
| 2634 | units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond'); | ||
| 2635 | if (units === 'millisecond') { | ||
| 2636 | input = moment.isMoment(input) ? input : moment(input); | ||
| 2637 | return +this < +input; | ||
| 2638 | } else { | ||
| 2639 | return +this.clone().startOf(units) < +moment(input).startOf(units); | ||
| 2640 | } | ||
| 2641 | }, | ||
| 2642 | |||
| 2643 | isSame: function (input, units) { | ||
| 2644 | units = normalizeUnits(units || 'millisecond'); | ||
| 2645 | if (units === 'millisecond') { | ||
| 2646 | input = moment.isMoment(input) ? input : moment(input); | ||
| 2647 | return +this === +input; | ||
| 2648 | } else { | ||
| 2649 | return +this.clone().startOf(units) === +makeAs(input, this).startOf(units); | ||
| 2650 | } | ||
| 2651 | }, | ||
| 2652 | |||
| 2653 | min: deprecate( | ||
| 2654 | 'moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548', | ||
| 2655 | function (other) { | ||
| 2656 | other = moment.apply(null, arguments); | ||
| 2657 | return other < this ? this : other; | ||
| 2658 | } | ||
| 2659 | ), | ||
| 2660 | |||
| 2661 | max: deprecate( | ||
| 2662 | 'moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548', | ||
| 2663 | function (other) { | ||
| 2664 | other = moment.apply(null, arguments); | ||
| 2665 | return other > this ? this : other; | ||
| 2666 | } | ||
| 2667 | ), | ||
| 2668 | |||
| 2669 | // keepLocalTime = true means only change the timezone, without | ||
| 2670 | // affecting the local hour. So 5:31:26 +0300 --[zone(2, true)]--> | ||
| 2671 | // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist int zone | ||
| 2672 | // +0200, so we adjust the time as needed, to be valid. | ||
| 2673 | // | ||
| 2674 | // Keeping the time actually adds/subtracts (one hour) | ||
| 2675 | // from the actual represented time. That is why we call updateOffset | ||
| 2676 | // a second time. In case it wants us to change the offset again | ||
| 2677 | // _changeInProgress == true case, then we have to adjust, because | ||
| 2678 | // there is no such time in the given timezone. | ||
| 2679 | zone : function (input, keepLocalTime) { | ||
| 2680 | var offset = this._offset || 0, | ||
| 2681 | localAdjust; | ||
| 2682 | if (input != null) { | ||
| 2683 | if (typeof input === 'string') { | ||
| 2684 | input = timezoneMinutesFromString(input); | ||
| 2685 | } | ||
| 2686 | if (Math.abs(input) < 16) { | ||
| 2687 | input = input * 60; | ||
| 2688 | } | ||
| 2689 | if (!this._isUTC && keepLocalTime) { | ||
| 2690 | localAdjust = this._dateTzOffset(); | ||
| 2691 | } | ||
| 2692 | this._offset = input; | ||
| 2693 | this._isUTC = true; | ||
| 2694 | if (localAdjust != null) { | ||
| 2695 | this.subtract(localAdjust, 'm'); | ||
| 2696 | } | ||
| 2697 | if (offset !== input) { | ||
| 2698 | if (!keepLocalTime || this._changeInProgress) { | ||
| 2699 | addOrSubtractDurationFromMoment(this, | ||
| 2700 | moment.duration(offset - input, 'm'), 1, false); | ||
| 2701 | } else if (!this._changeInProgress) { | ||
| 2702 | this._changeInProgress = true; | ||
| 2703 | moment.updateOffset(this, true); | ||
| 2704 | this._changeInProgress = null; | ||
| 2705 | } | ||
| 2706 | } | ||
| 2707 | } else { | ||
| 2708 | return this._isUTC ? offset : this._dateTzOffset(); | ||
| 2709 | } | ||
| 2710 | return this; | ||
| 2711 | }, | ||
| 2712 | |||
| 2713 | zoneAbbr : function () { | ||
| 2714 | return this._isUTC ? 'UTC' : ''; | ||
| 2715 | }, | ||
| 2716 | |||
| 2717 | zoneName : function () { | ||
| 2718 | return this._isUTC ? 'Coordinated Universal Time' : ''; | ||
| 2719 | }, | ||
| 2720 | |||
| 2721 | parseZone : function () { | ||
| 2722 | if (this._tzm) { | ||
| 2723 | this.zone(this._tzm); | ||
| 2724 | } else if (typeof this._i === 'string') { | ||
| 2725 | this.zone(this._i); | ||
| 2726 | } | ||
| 2727 | return this; | ||
| 2728 | }, | ||
| 2729 | |||
| 2730 | hasAlignedHourOffset : function (input) { | ||
| 2731 | if (!input) { | ||
| 2732 | input = 0; | ||
| 2733 | } | ||
| 2734 | else { | ||
| 2735 | input = moment(input).zone(); | ||
| 2736 | } | ||
| 2737 | |||
| 2738 | return (this.zone() - input) % 60 === 0; | ||
| 2739 | }, | ||
| 2740 | |||
| 2741 | daysInMonth : function () { | ||
| 2742 | return daysInMonth(this.year(), this.month()); | ||
| 2743 | }, | ||
| 2744 | |||
| 2745 | dayOfYear : function (input) { | ||
| 2746 | var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1; | ||
| 2747 | return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); | ||
| 2748 | }, | ||
| 2749 | |||
| 2750 | quarter : function (input) { | ||
| 2751 | return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); | ||
| 2752 | }, | ||
| 2753 | |||
| 2754 | weekYear : function (input) { | ||
| 2755 | var year = weekOfYear(this, this.localeData()._week.dow, this.localeData()._week.doy).year; | ||
| 2756 | return input == null ? year : this.add((input - year), 'y'); | ||
| 2757 | }, | ||
| 2758 | |||
| 2759 | isoWeekYear : function (input) { | ||
| 2760 | var year = weekOfYear(this, 1, 4).year; | ||
| 2761 | return input == null ? year : this.add((input - year), 'y'); | ||
| 2762 | }, | ||
| 2763 | |||
| 2764 | week : function (input) { | ||
| 2765 | var week = this.localeData().week(this); | ||
| 2766 | return input == null ? week : this.add((input - week) * 7, 'd'); | ||
| 2767 | }, | ||
| 2768 | |||
| 2769 | isoWeek : function (input) { | ||
| 2770 | var week = weekOfYear(this, 1, 4).week; | ||
| 2771 | return input == null ? week : this.add((input - week) * 7, 'd'); | ||
| 2772 | }, | ||
| 2773 | |||
| 2774 | weekday : function (input) { | ||
| 2775 | var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; | ||
| 2776 | return input == null ? weekday : this.add(input - weekday, 'd'); | ||
| 2777 | }, | ||
| 2778 | |||
| 2779 | isoWeekday : function (input) { | ||
| 2780 | // behaves the same as moment#day except | ||
| 2781 | // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) | ||
| 2782 | // as a setter, sunday should belong to the previous week. | ||
| 2783 | return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7); | ||
| 2784 | }, | ||
| 2785 | |||
| 2786 | isoWeeksInYear : function () { | ||
| 2787 | return weeksInYear(this.year(), 1, 4); | ||
| 2788 | }, | ||
| 2789 | |||
| 2790 | weeksInYear : function () { | ||
| 2791 | var weekInfo = this.localeData()._week; | ||
| 2792 | return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); | ||
| 2793 | }, | ||
| 2794 | |||
| 2795 | get : function (units) { | ||
| 2796 | units = normalizeUnits(units); | ||
| 2797 | return this[units](); | ||
| 2798 | }, | ||
| 2799 | |||
| 2800 | set : function (units, value) { | ||
| 2801 | units = normalizeUnits(units); | ||
| 2802 | if (typeof this[units] === 'function') { | ||
| 2803 | this[units](value); | ||
| 2804 | } | ||
| 2805 | return this; | ||
| 2806 | }, | ||
| 2807 | |||
| 2808 | // If passed a locale key, it will set the locale for this | ||
| 2809 | // instance. Otherwise, it will return the locale configuration | ||
| 2810 | // variables for this instance. | ||
| 2811 | locale : function (key) { | ||
| 2812 | var newLocaleData; | ||
| 2813 | |||
| 2814 | if (key === undefined) { | ||
| 2815 | return this._locale._abbr; | ||
| 2816 | } else { | ||
| 2817 | newLocaleData = moment.localeData(key); | ||
| 2818 | if (newLocaleData != null) { | ||
| 2819 | this._locale = newLocaleData; | ||
| 2820 | } | ||
| 2821 | return this; | ||
| 2822 | } | ||
| 2823 | }, | ||
| 2824 | |||
| 2825 | lang : deprecate( | ||
| 2826 | 'moment().lang() is deprecated. Use moment().localeData() instead.', | ||
| 2827 | function (key) { | ||
| 2828 | if (key === undefined) { | ||
| 2829 | return this.localeData(); | ||
| 2830 | } else { | ||
| 2831 | return this.locale(key); | ||
| 2832 | } | ||
| 2833 | } | ||
| 2834 | ), | ||
| 2835 | |||
| 2836 | localeData : function () { | ||
| 2837 | return this._locale; | ||
| 2838 | }, | ||
| 2839 | |||
| 2840 | _dateTzOffset : function () { | ||
| 2841 | // On Firefox.24 Date#getTimezoneOffset returns a floating point. | ||
| 2842 | // https://github.com/moment/moment/pull/1871 | ||
| 2843 | return Math.round(this._d.getTimezoneOffset() / 15) * 15; | ||
| 2844 | } | ||
| 2845 | }); | ||
| 2846 | |||
| 2847 | function rawMonthSetter(mom, value) { | ||
| 2848 | var dayOfMonth; | ||
| 2849 | |||
| 2850 | // TODO: Move this out of here! | ||
| 2851 | if (typeof value === 'string') { | ||
| 2852 | value = mom.localeData().monthsParse(value); | ||
| 2853 | // TODO: Another silent failure? | ||
| 2854 | if (typeof value !== 'number') { | ||
| 2855 | return mom; | ||
| 2856 | } | ||
| 2857 | } | ||
| 2858 | |||
| 2859 | dayOfMonth = Math.min(mom.date(), | ||
| 2860 | daysInMonth(mom.year(), value)); | ||
| 2861 | mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); | ||
| 2862 | return mom; | ||
| 2863 | } | ||
| 2864 | |||
| 2865 | function rawGetter(mom, unit) { | ||
| 2866 | return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit](); | ||
| 2867 | } | ||
| 2868 | |||
| 2869 | function rawSetter(mom, unit, value) { | ||
| 2870 | if (unit === 'Month') { | ||
| 2871 | return rawMonthSetter(mom, value); | ||
| 2872 | } else { | ||
| 2873 | return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); | ||
| 2874 | } | ||
| 2875 | } | ||
| 2876 | |||
| 2877 | function makeAccessor(unit, keepTime) { | ||
| 2878 | return function (value) { | ||
| 2879 | if (value != null) { | ||
| 2880 | rawSetter(this, unit, value); | ||
| 2881 | moment.updateOffset(this, keepTime); | ||
| 2882 | return this; | ||
| 2883 | } else { | ||
| 2884 | return rawGetter(this, unit); | ||
| 2885 | } | ||
| 2886 | }; | ||
| 2887 | } | ||
| 2888 | |||
| 2889 | moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false); | ||
| 2890 | moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false); | ||
| 2891 | moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false); | ||
| 2892 | // Setting the hour should keep the time, because the user explicitly | ||
| 2893 | // specified which hour he wants. So trying to maintain the same hour (in | ||
| 2894 | // a new timezone) makes sense. Adding/subtracting hours does not follow | ||
| 2895 | // this rule. | ||
| 2896 | moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true); | ||
| 2897 | // moment.fn.month is defined separately | ||
| 2898 | moment.fn.date = makeAccessor('Date', true); | ||
| 2899 | moment.fn.dates = deprecate('dates accessor is deprecated. Use date instead.', makeAccessor('Date', true)); | ||
| 2900 | moment.fn.year = makeAccessor('FullYear', true); | ||
| 2901 | moment.fn.years = deprecate('years accessor is deprecated. Use year instead.', makeAccessor('FullYear', true)); | ||
| 2902 | |||
| 2903 | // add plural methods | ||
| 2904 | moment.fn.days = moment.fn.day; | ||
| 2905 | moment.fn.months = moment.fn.month; | ||
| 2906 | moment.fn.weeks = moment.fn.week; | ||
| 2907 | moment.fn.isoWeeks = moment.fn.isoWeek; | ||
| 2908 | moment.fn.quarters = moment.fn.quarter; | ||
| 2909 | |||
| 2910 | // add aliased format methods | ||
| 2911 | moment.fn.toJSON = moment.fn.toISOString; | ||
| 2912 | |||
| 2913 | /************************************ | ||
| 2914 | Duration Prototype | ||
| 2915 | ************************************/ | ||
| 2916 | |||
| 2917 | |||
| 2918 | function daysToYears (days) { | ||
| 2919 | // 400 years have 146097 days (taking into account leap year rules) | ||
| 2920 | return days * 400 / 146097; | ||
| 2921 | } | ||
| 2922 | |||
| 2923 | function yearsToDays (years) { | ||
| 2924 | // years * 365 + absRound(years / 4) - | ||
| 2925 | // absRound(years / 100) + absRound(years / 400); | ||
| 2926 | return years * 146097 / 400; | ||
| 2927 | } | ||
| 2928 | |||
| 2929 | extend(moment.duration.fn = Duration.prototype, { | ||
| 2930 | |||
| 2931 | _bubble : function () { | ||
| 2932 | var milliseconds = this._milliseconds, | ||
| 2933 | days = this._days, | ||
| 2934 | months = this._months, | ||
| 2935 | data = this._data, | ||
| 2936 | seconds, minutes, hours, years = 0; | ||
| 2937 | |||
| 2938 | // The following code bubbles up values, see the tests for | ||
| 2939 | // examples of what that means. | ||
| 2940 | data.milliseconds = milliseconds % 1000; | ||
| 2941 | |||
| 2942 | seconds = absRound(milliseconds / 1000); | ||
| 2943 | data.seconds = seconds % 60; | ||
| 2944 | |||
| 2945 | minutes = absRound(seconds / 60); | ||
| 2946 | data.minutes = minutes % 60; | ||
| 2947 | |||
| 2948 | hours = absRound(minutes / 60); | ||
| 2949 | data.hours = hours % 24; | ||
| 2950 | |||
| 2951 | days += absRound(hours / 24); | ||
| 2952 | |||
| 2953 | // Accurately convert days to years, assume start from year 0. | ||
| 2954 | years = absRound(daysToYears(days)); | ||
| 2955 | days -= absRound(yearsToDays(years)); | ||
| 2956 | |||
| 2957 | // 30 days to a month | ||
| 2958 | // TODO (iskren): Use anchor date (like 1st Jan) to compute this. | ||
| 2959 | months += absRound(days / 30); | ||
| 2960 | days %= 30; | ||
| 2961 | |||
| 2962 | // 12 months -> 1 year | ||
| 2963 | years += absRound(months / 12); | ||
| 2964 | months %= 12; | ||
| 2965 | |||
| 2966 | data.days = days; | ||
| 2967 | data.months = months; | ||
| 2968 | data.years = years; | ||
| 2969 | }, | ||
| 2970 | |||
| 2971 | abs : function () { | ||
| 2972 | this._milliseconds = Math.abs(this._milliseconds); | ||
| 2973 | this._days = Math.abs(this._days); | ||
| 2974 | this._months = Math.abs(this._months); | ||
| 2975 | |||
| 2976 | this._data.milliseconds = Math.abs(this._data.milliseconds); | ||
| 2977 | this._data.seconds = Math.abs(this._data.seconds); | ||
| 2978 | this._data.minutes = Math.abs(this._data.minutes); | ||
| 2979 | this._data.hours = Math.abs(this._data.hours); | ||
| 2980 | this._data.months = Math.abs(this._data.months); | ||
| 2981 | this._data.years = Math.abs(this._data.years); | ||
| 2982 | |||
| 2983 | return this; | ||
| 2984 | }, | ||
| 2985 | |||
| 2986 | weeks : function () { | ||
| 2987 | return absRound(this.days() / 7); | ||
| 2988 | }, | ||
| 2989 | |||
| 2990 | valueOf : function () { | ||
| 2991 | return this._milliseconds + | ||
| 2992 | this._days * 864e5 + | ||
| 2993 | (this._months % 12) * 2592e6 + | ||
| 2994 | toInt(this._months / 12) * 31536e6; | ||
| 2995 | }, | ||
| 2996 | |||
| 2997 | humanize : function (withSuffix) { | ||
| 2998 | var output = relativeTime(this, !withSuffix, this.localeData()); | ||
| 2999 | |||
| 3000 | if (withSuffix) { | ||
| 3001 | output = this.localeData().pastFuture(+this, output); | ||
| 3002 | } | ||
| 3003 | |||
| 3004 | return this.localeData().postformat(output); | ||
| 3005 | }, | ||
| 3006 | |||
| 3007 | add : function (input, val) { | ||
| 3008 | // supports only 2.0-style add(1, 's') or add(moment) | ||
| 3009 | var dur = moment.duration(input, val); | ||
| 3010 | |||
| 3011 | this._milliseconds += dur._milliseconds; | ||
| 3012 | this._days += dur._days; | ||
| 3013 | this._months += dur._months; | ||
| 3014 | |||
| 3015 | this._bubble(); | ||
| 3016 | |||
| 3017 | return this; | ||
| 3018 | }, | ||
| 3019 | |||
| 3020 | subtract : function (input, val) { | ||
| 3021 | var dur = moment.duration(input, val); | ||
| 3022 | |||
| 3023 | this._milliseconds -= dur._milliseconds; | ||
| 3024 | this._days -= dur._days; | ||
| 3025 | this._months -= dur._months; | ||
| 3026 | |||
| 3027 | this._bubble(); | ||
| 3028 | |||
| 3029 | return this; | ||
| 3030 | }, | ||
| 3031 | |||
| 3032 | get : function (units) { | ||
| 3033 | units = normalizeUnits(units); | ||
| 3034 | return this[units.toLowerCase() + 's'](); | ||
| 3035 | }, | ||
| 3036 | |||
| 3037 | as : function (units) { | ||
| 3038 | var days, months; | ||
| 3039 | units = normalizeUnits(units); | ||
| 3040 | |||
| 3041 | if (units === 'month' || units === 'year') { | ||
| 3042 | days = this._days + this._milliseconds / 864e5; | ||
| 3043 | months = this._months + daysToYears(days) * 12; | ||
| 3044 | return units === 'month' ? months : months / 12; | ||
| 3045 | } else { | ||
| 3046 | // handle milliseconds separately because of floating point math errors (issue #1867) | ||
| 3047 | days = this._days + yearsToDays(this._months / 12); | ||
| 3048 | switch (units) { | ||
| 3049 | case 'week': return days / 7 + this._milliseconds / 6048e5; | ||
| 3050 | case 'day': return days + this._milliseconds / 864e5; | ||
| 3051 | case 'hour': return days * 24 + this._milliseconds / 36e5; | ||
| 3052 | case 'minute': return days * 24 * 60 + this._milliseconds / 6e4; | ||
| 3053 | case 'second': return days * 24 * 60 * 60 + this._milliseconds / 1000; | ||
| 3054 | // Math.floor prevents floating point math errors here | ||
| 3055 | case 'millisecond': return Math.floor(days * 24 * 60 * 60 * 1000) + this._milliseconds; | ||
| 3056 | default: throw new Error('Unknown unit ' + units); | ||
| 3057 | } | ||
| 3058 | } | ||
| 3059 | }, | ||
| 3060 | |||
| 3061 | lang : moment.fn.lang, | ||
| 3062 | locale : moment.fn.locale, | ||
| 3063 | |||
| 3064 | toIsoString : deprecate( | ||
| 3065 | 'toIsoString() is deprecated. Please use toISOString() instead ' + | ||
| 3066 | '(notice the capitals)', | ||
| 3067 | function () { | ||
| 3068 | return this.toISOString(); | ||
| 3069 | } | ||
| 3070 | ), | ||
| 3071 | |||
| 3072 | toISOString : function () { | ||
| 3073 | // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js | ||
| 3074 | var years = Math.abs(this.years()), | ||
| 3075 | months = Math.abs(this.months()), | ||
| 3076 | days = Math.abs(this.days()), | ||
| 3077 | hours = Math.abs(this.hours()), | ||
| 3078 | minutes = Math.abs(this.minutes()), | ||
| 3079 | seconds = Math.abs(this.seconds() + this.milliseconds() / 1000); | ||
| 3080 | |||
| 3081 | if (!this.asSeconds()) { | ||
| 3082 | // this is the same as C#'s (Noda) and python (isodate)... | ||
| 3083 | // but not other JS (goog.date) | ||
| 3084 | return 'P0D'; | ||
| 3085 | } | ||
| 3086 | |||
| 3087 | return (this.asSeconds() < 0 ? '-' : '') + | ||
| 3088 | 'P' + | ||
| 3089 | (years ? years + 'Y' : '') + | ||
| 3090 | (months ? months + 'M' : '') + | ||
| 3091 | (days ? days + 'D' : '') + | ||
| 3092 | ((hours || minutes || seconds) ? 'T' : '') + | ||
| 3093 | (hours ? hours + 'H' : '') + | ||
| 3094 | (minutes ? minutes + 'M' : '') + | ||
| 3095 | (seconds ? seconds + 'S' : ''); | ||
| 3096 | }, | ||
| 3097 | |||
| 3098 | localeData : function () { | ||
| 3099 | return this._locale; | ||
| 3100 | } | ||
| 3101 | }); | ||
| 3102 | |||
| 3103 | moment.duration.fn.toString = moment.duration.fn.toISOString; | ||
| 3104 | |||
| 3105 | function makeDurationGetter(name) { | ||
| 3106 | moment.duration.fn[name] = function () { | ||
| 3107 | return this._data[name]; | ||
| 3108 | }; | ||
| 3109 | } | ||
| 3110 | |||
| 3111 | for (i in unitMillisecondFactors) { | ||
| 3112 | if (hasOwnProp(unitMillisecondFactors, i)) { | ||
| 3113 | makeDurationGetter(i.toLowerCase()); | ||
| 3114 | } | ||
| 3115 | } | ||
| 3116 | |||
| 3117 | moment.duration.fn.asMilliseconds = function () { | ||
| 3118 | return this.as('ms'); | ||
| 3119 | }; | ||
| 3120 | moment.duration.fn.asSeconds = function () { | ||
| 3121 | return this.as('s'); | ||
| 3122 | }; | ||
| 3123 | moment.duration.fn.asMinutes = function () { | ||
| 3124 | return this.as('m'); | ||
| 3125 | }; | ||
| 3126 | moment.duration.fn.asHours = function () { | ||
| 3127 | return this.as('h'); | ||
| 3128 | }; | ||
| 3129 | moment.duration.fn.asDays = function () { | ||
| 3130 | return this.as('d'); | ||
| 3131 | }; | ||
| 3132 | moment.duration.fn.asWeeks = function () { | ||
| 3133 | return this.as('weeks'); | ||
| 3134 | }; | ||
| 3135 | moment.duration.fn.asMonths = function () { | ||
| 3136 | return this.as('M'); | ||
| 3137 | }; | ||
| 3138 | moment.duration.fn.asYears = function () { | ||
| 3139 | return this.as('y'); | ||
| 3140 | }; | ||
| 3141 | |||
| 3142 | /************************************ | ||
| 3143 | Default Locale | ||
| 3144 | ************************************/ | ||
| 3145 | |||
| 3146 | |||
| 3147 | // Set default locale, other locale will inherit from English. | ||
| 3148 | moment.locale('en', { | ||
| 3149 | ordinal : function (number) { | ||
| 3150 | var b = number % 10, | ||
| 3151 | output = (toInt(number % 100 / 10) === 1) ? 'th' : | ||
| 3152 | (b === 1) ? 'st' : | ||
| 3153 | (b === 2) ? 'nd' : | ||
| 3154 | (b === 3) ? 'rd' : 'th'; | ||
| 3155 | return number + output; | ||
| 3156 | } | ||
| 3157 | }); | ||
| 3158 | |||
| 3159 | return moment; | ||
| 3160 | |||
| 3161 | }).call(this); | ||
| 3162 | |||
| 3163 | UI.Utils.moment = moment; | ||
| 3164 | |||
| 3165 | return UI.datepicker; | ||
| 3166 | }); | ||
| diff --git a/js/components/datepicker.min.js b/js/components/datepicker.min.js new file mode 100755 index 0000000..f8dfe47 --- /dev/null +++ b/js/components/datepicker.min.js | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-datepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,n,a=!1;return t.component("datepicker",{defaults:{mobile:!1,weekstart:1,i18n:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},format:"YYYY-MM-DD",offsettop:5,maxDate:!1,minDate:!1,pos:"auto",template:function(e,n){var a,s="";if(s+='<div class="uk-datepicker-nav">',s+='<a href="" class="uk-datepicker-previous"></a>',s+='<a href="" class="uk-datepicker-next"></a>',t.formSelect){var i,r,o,u,c=(new Date).getFullYear(),d=[];for(a=0;a<n.i18n.months.length;a++)a==e.month?d.push('<option value="'+a+'" selected>'+n.i18n.months[a]+"</option>"):d.push('<option value="'+a+'">'+n.i18n.months[a]+"</option>");for(i='<span class="uk-form-select">'+n.i18n.months[e.month]+'<select class="update-picker-month">'+d.join("")+"</select></span>",d=[],o=e.minDate?e.minDate.year():c-50,u=e.maxDate?e.maxDate.year():c+20,a=o;u>=a;a++)a==e.year?d.push('<option value="'+a+'" selected>'+a+"</option>"):d.push('<option value="'+a+'">'+a+"</option>");r='<span class="uk-form-select">'+e.year+'<select class="update-picker-year">'+d.join("")+"</select></span>",s+='<div class="uk-datepicker-heading">'+i+" "+r+"</div>"}else s+='<div class="uk-datepicker-heading">'+n.i18n.months[e.month]+" "+e.year+"</div>";for(s+="</div>",s+='<table class="uk-datepicker-table">',s+="<thead>",a=0;a<e.weekdays.length;a++)e.weekdays[a]&&(s+="<th>"+e.weekdays[a]+"</th>");for(s+="</thead>",s+="<tbody>",a=0;a<e.days.length;a++)if(e.days[a]&&e.days[a].length){s+="<tr>";for(var l=0;l<e.days[a].length;l++)if(e.days[a][l]){var h=e.days[a][l],f=[];h.inmonth||f.push("uk-datepicker-table-muted"),h.selected&&f.push("uk-active"),h.disabled&&f.push("uk-datepicker-date-disabled uk-datepicker-table-muted"),s+='<td><a href="" class="'+f.join(" ")+'" data-date="'+h.day.format()+'">'+h.day.format("D")+"</a></td>"}s+="</tr>"}return s+="</tbody>",s+="</table>"}},boot:function(){t.$win.on("resize orientationchange",function(){a&&a.hide()}),t.$html.on("focus.datepicker.uikit","[data-uk-datepicker]",function(e){var n=t.$(this);n.data("datepicker")||(e.preventDefault(),t.datepicker(n,t.Utils.options(n.attr("data-uk-datepicker"))),n.trigger("focus"))}),t.$html.on("click focus","*",function(n){var s=t.$(n.target);!a||s[0]==e[0]||s.data("datepicker")||s.parents(".uk-datepicker:first").length||a.hide()})},init:function(){if(!t.support.touch||"date"!=this.element.attr("type")||this.options.mobile){var s=this;this.current=this.element.val()?n(this.element.val(),this.options.format):n(),this.on("click focus",function(){a!==s&&s.pick(this.value?this.value:s.options.minDate?s.options.minDate:"")}).on("change",function(){s.element.val()&&!n(s.element.val(),s.options.format).isValid()&&s.element.val(n().format(s.options.format))}),e||(e=t.$('<div class="uk-dropdown uk-datepicker"></div>'),e.on("click",".uk-datepicker-next, .uk-datepicker-previous, [data-date]",function(e){e.stopPropagation(),e.preventDefault();var s=t.$(this);return s.hasClass("uk-datepicker-date-disabled")?!1:(s.is("[data-date]")?(a.current=n(s.data("date")),a.element.val(a.current.isValid()?a.current.format(a.options.format):null).trigger("change"),a.hide()):a.add(s.hasClass("uk-datepicker-next")?1:-1,"months"),void 0)}),e.on("change",".update-picker-month, .update-picker-year",function(){var e=t.$(this);a[e.is(".update-picker-year")?"setYear":"setMonth"](Number(e.val()))}),e.appendTo("body"))}},pick:function(s){var i=this.element.offset(),r={left:i.left,right:""};this.current=isNaN(s)?n(s,this.options.format):n(),this.initdate=this.current.format("YYYY-MM-DD"),this.update(),"right"==t.langdirection&&(r.right=window.innerWidth-(r.left+this.element.outerWidth()),r.left="");var o=i.top-this.element.outerHeight()+this.element.height()-this.options.offsettop-e.outerHeight(),u=i.top+this.element.outerHeight()+this.options.offsettop;r.top=u,"top"==this.options.pos?r.top=o:"auto"==this.options.pos&&window.innerHeight-u-e.outerHeight()<0&&o>=0&&(r.top=o),e.css(r).show(),this.trigger("show.uk.datepicker"),a=this},add:function(t,e){this.current.add(t,e),this.update()},setMonth:function(t){this.current.month(t),this.update()},setYear:function(t){this.current.year(t),this.update()},update:function(){var t=this.getRows(this.current.year(),this.current.month()),n=this.options.template(t,this.options);e.html(n),this.trigger("update.uk.datepicker")},getRows:function(t,e){var a=this.options,s=n().format("YYYY-MM-DD"),i=[31,t%4===0&&t%100!==0||t%400===0?29:28,31,30,31,30,31,31,30,31,30,31][e],r=new Date(t,e,1,12).getDay(),o={month:e,year:t,weekdays:[],days:[],maxDate:!1,minDate:!1},u=[];a.maxDate!==!1&&(o.maxDate=isNaN(a.maxDate)?n(a.maxDate,a.format):n().add(a.maxDate,"days")),a.minDate!==!1&&(o.minDate=isNaN(a.minDate)?n(a.minDate,a.format):n().add(a.minDate-1,"days")),o.weekdays=function(){for(var t=0,e=[];7>t;t++){for(var n=t+(a.weekstart||0);n>=7;)n-=7;e.push(a.i18n.weekdays[n])}return e}(),a.weekstart&&a.weekstart>0&&(r-=a.weekstart,0>r&&(r+=7));for(var c=i+r,d=c;d>7;)d-=7;c+=7-d;for(var l,h,f,m,_,p=0,y=0;c>p;p++)l=new Date(t,e,1+(p-r),12),h=o.minDate&&o.minDate>l||o.maxDate&&l>o.maxDate,_=!(r>p||p>=i+r),l=n(l),f=this.initdate==l.format("YYYY-MM-DD"),m=s==l.format("YYYY-MM-DD"),u.push({selected:f,today:m,disabled:h,day:l,inmonth:_}),7===++y&&(o.days.push(u),u=[],y=0);return o},hide:function(){a&&a===this&&(e.hide(),a=!1,this.trigger("hide.uk.datepicker"))}}),n=function(t){function e(t,e,n){switch(arguments.length){case 2:return null!=t?t:e;case 3:return null!=t?t:null!=e?e:n;default:throw new Error("Implement me")}}function n(t,e){return Ye.call(t,e)}function a(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function s(t){De.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function i(t,e){var n=!0;return h(function(){return n&&(s(t),n=!1),e.apply(this,arguments)},e)}function r(t,e){mn[t]||(s(e),mn[t]=!0)}function o(t,e){return function(n){return _(t.call(this,n),e)}}function u(t,e){return function(n){return this.localeData().ordinal(t.call(this,n),e)}}function c(){}function d(t,e){e!==!1&&F(t),f(this,t),this._d=new Date(+t._d)}function l(t){var e=v(t),n=e.year||0,a=e.quarter||0,s=e.month||0,i=e.week||0,r=e.day||0,o=e.hour||0,u=e.minute||0,c=e.second||0,d=e.millisecond||0;this._milliseconds=+d+1e3*c+6e4*u+36e5*o,this._days=+r+7*i,this._months=+s+3*a+12*n,this._data={},this._locale=De.localeData(),this._bubble()}function h(t,e){for(var a in e)n(e,a)&&(t[a]=e[a]);return n(e,"toString")&&(t.toString=e.toString),n(e,"valueOf")&&(t.valueOf=e.valueOf),t}function f(t,e){var n,a,s;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=e._pf),"undefined"!=typeof e._locale&&(t._locale=e._locale),Fe.length>0)for(n in Fe)a=Fe[n],s=e[a],"undefined"!=typeof s&&(t[a]=s);return t}function m(t){return 0>t?Math.ceil(t):Math.floor(t)}function _(t,e,n){for(var a=""+Math.abs(t),s=t>=0;a.length<e;)a="0"+a;return(s?n?"+":"":"-")+a}function p(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function y(t,e){var n;return e=I(e,t),t.isBefore(e)?n=p(t,e):(n=p(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n}function D(t,e){return function(n,a){var s,i;return null===a||isNaN(+a)||(r(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),i=n,n=a,a=i),n="string"==typeof n?+n:n,s=De.duration(n,a),g(this,s,t),this}}function g(t,e,n,a){var s=e._milliseconds,i=e._days,r=e._months;a=null==a?!0:a,s&&t._d.setTime(+t._d+s*n),i&&fe(t,"Date",he(t,"Date")+i*n),r&&le(t,he(t,"Month")+r*n),a&&De.updateOffset(t,i||r)}function k(t){return"[object Array]"===Object.prototype.toString.call(t)}function M(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function Y(t,e,n){var a,s=Math.min(t.length,e.length),i=Math.abs(t.length-e.length),r=0;for(a=0;s>a;a++)(n&&t[a]!==e[a]||!n&&S(t[a])!==S(e[a]))&&r++;return r+i}function w(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=on[t]||un[e]||e}return t}function v(t){var e,a,s={};for(a in t)n(t,a)&&(e=w(a),e&&(s[e]=t[a]));return s}function b(e){var n,a;if(0===e.indexOf("week"))n=7,a="day";else{if(0!==e.indexOf("month"))return;n=12,a="month"}De[e]=function(s,i){var r,o,u=De._locale[e],c=[];if("number"==typeof s&&(i=s,s=t),o=function(t){var e=De().utc().set(a,t);return u.call(De._locale,e,s||"")},null!=i)return o(i);for(r=0;n>r;r++)c.push(o(r));return c}}function S(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=e>=0?Math.floor(e):Math.ceil(e)),n}function T(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function O(t,e,n){return oe(De([t,11,31+e-n]),e,n).week}function W(t){return U(t)?366:365}function U(t){return t%4===0&&t%100!==0||t%400===0}function F(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ve]<0||t._a[ve]>11?ve:t._a[be]<1||t._a[be]>T(t._a[we],t._a[ve])?be:t._a[Se]<0||t._a[Se]>23?Se:t._a[Te]<0||t._a[Te]>59?Te:t._a[Oe]<0||t._a[Oe]>59?Oe:t._a[We]<0||t._a[We]>999?We:-1,t._pf._overflowDayOfYear&&(we>e||e>be)&&(e=be),t._pf.overflow=e)}function G(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function C(t){return t?t.toLowerCase().replace("_","-"):t}function z(t){for(var e,n,a,s,i=0;i<t.length;){for(s=C(t[i]).split("-"),e=s.length,n=C(t[i+1]),n=n?n.split("-"):null;e>0;){if(a=x(s.slice(0,e).join("-")))return a;if(n&&n.length>=e&&Y(s,n,!0)>=e-1)break;e--}i++}return null}function x(t){var e=null;if(!Ue[t]&&Ge)try{e=De.locale(),require("./locale/"+t),De.locale(e)}catch(n){}return Ue[t]}function I(t,e){return e._isUTC?De(t).zone(e._offset||0):De(t).local()}function H(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function L(t){var e,n,a=t.match(Ie);for(e=0,n=a.length;n>e;e++)a[e]=fn[a[e]]?fn[a[e]]:H(a[e]);return function(s){var i="";for(e=0;n>e;e++)i+=a[e]instanceof Function?a[e].call(s,t):a[e];return i}}function P(t,e){return t.isValid()?(e=A(e,t.localeData()),cn[e]||(cn[e]=L(e)),cn[e](t)):t.localeData().invalidDate()}function A(t,e){function n(t){return e.longDateFormat(t)||t}var a=5;for(He.lastIndex=0;a>=0&&He.test(t);)t=t.replace(He,n),He.lastIndex=0,a-=1;return t}function N(t,e){var n,a=e._strict;switch(t){case"Q":return qe;case"DDDD":return Re;case"YYYY":case"GGGG":case"gggg":return a?Xe:Ae;case"Y":case"G":case"g":return Ke;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return a?Be:Ne;case"S":if(a)return qe;case"SS":if(a)return Qe;case"SSS":if(a)return Re;case"DDD":return Pe;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return je;case"a":case"A":return e._locale._meridiemParse;case"X":return Ve;case"Z":case"ZZ":return Ee;case"T":return $e;case"SSSS":return Ze;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return a?Qe:Le;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Le;case"Do":return Je;default:return n=new RegExp(R(Q(t.replace("\\","")),"i"))}}function Z(t){t=t||"";var e=t.match(Ee)||[],n=e[e.length-1]||[],a=(n+"").match(sn)||["-",0,0],s=+(60*a[1])+S(a[2]);return"+"===a[0]?-s:s}function j(t,e,n){var a,s=n._a;switch(t){case"Q":null!=e&&(s[ve]=3*(S(e)-1));break;case"M":case"MM":null!=e&&(s[ve]=S(e)-1);break;case"MMM":case"MMMM":a=n._locale.monthsParse(e),null!=a?s[ve]=a:n._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(s[be]=S(e));break;case"Do":null!=e&&(s[be]=S(parseInt(e,10)));break;case"DDD":case"DDDD":null!=e&&(n._dayOfYear=S(e));break;case"YY":s[we]=De.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":s[we]=S(e);break;case"a":case"A":n._isPm=n._locale.isPM(e);break;case"H":case"HH":case"h":case"hh":s[Se]=S(e);break;case"m":case"mm":s[Te]=S(e);break;case"s":case"ss":s[Oe]=S(e);break;case"S":case"SS":case"SSS":case"SSSS":s[We]=S(1e3*("0."+e));break;case"X":n._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":n._useUTC=!0,n._tzm=Z(e);break;case"dd":case"ddd":case"dddd":a=n._locale.weekdaysParse(e),null!=a?(n._w=n._w||{},n._w.d=a):n._pf.invalidWeekday=e;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":t=t.substr(0,1);case"gggg":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(n._w=n._w||{},n._w[t]=S(e));break;case"gg":case"GG":n._w=n._w||{},n._w[t]=De.parseTwoDigitYear(e)}}function E(t){var n,a,s,i,r,o,u;n=t._w,null!=n.GG||null!=n.W||null!=n.E?(r=1,o=4,a=e(n.GG,t._a[we],oe(De(),1,4).year),s=e(n.W,1),i=e(n.E,1)):(r=t._locale._week.dow,o=t._locale._week.doy,a=e(n.gg,t._a[we],oe(De(),r,o).year),s=e(n.w,1),null!=n.d?(i=n.d,r>i&&++s):i=null!=n.e?n.e+r:r),u=ue(a,s,i,o,r),t._a[we]=u.year,t._dayOfYear=u.dayOfYear}function $(t){var n,a,s,i,r=[];if(!t._d){for(s=J(t),t._w&&null==t._a[be]&&null==t._a[ve]&&E(t),t._dayOfYear&&(i=e(t._a[we],s[we]),t._dayOfYear>W(i)&&(t._pf._overflowDayOfYear=!0),a=ae(i,0,t._dayOfYear),t._a[ve]=a.getUTCMonth(),t._a[be]=a.getUTCDate()),n=0;3>n&&null==t._a[n];++n)t._a[n]=r[n]=s[n];for(;7>n;n++)t._a[n]=r[n]=null==t._a[n]?2===n?1:0:t._a[n];t._d=(t._useUTC?ae:ne).apply(null,r),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()+t._tzm)}}function V(t){var e;t._d||(e=v(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],$(t))}function J(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function q(t){if(t._f===De.ISO_8601)return B(t),void 0;t._a=[],t._pf.empty=!0;var e,n,a,s,i,r=""+t._i,o=r.length,u=0;for(a=A(t._f,t._locale).match(Ie)||[],e=0;e<a.length;e++)s=a[e],n=(r.match(N(s,t))||[])[0],n&&(i=r.substr(0,r.indexOf(n)),i.length>0&&t._pf.unusedInput.push(i),r=r.slice(r.indexOf(n)+n.length),u+=n.length),fn[s]?(n?t._pf.empty=!1:t._pf.unusedTokens.push(s),j(s,n,t)):t._strict&&!n&&t._pf.unusedTokens.push(s);t._pf.charsLeftOver=o-u,r.length>0&&t._pf.unusedInput.push(r),t._isPm&&t._a[Se]<12&&(t._a[Se]+=12),t._isPm===!1&&12===t._a[Se]&&(t._a[Se]=0),$(t),F(t)}function Q(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,a,s){return e||n||a||s})}function R(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function X(t){var e,n,s,i,r;if(0===t._f.length)return t._pf.invalidFormat=!0,t._d=new Date(0/0),void 0;for(i=0;i<t._f.length;i++)r=0,e=f({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._pf=a(),e._f=t._f[i],q(e),G(e)&&(r+=e._pf.charsLeftOver,r+=10*e._pf.unusedTokens.length,e._pf.score=r,(null==s||s>r)&&(s=r,n=e));h(t,n||e)}function B(t){var e,n,a=t._i,s=tn.exec(a);if(s){for(t._pf.iso=!0,e=0,n=nn.length;n>e;e++)if(nn[e][1].exec(a)){t._f=nn[e][0]+(s[6]||" ");break}for(e=0,n=an.length;n>e;e++)if(an[e][1].exec(a)){t._f+=an[e][0];break}a.match(Ee)&&(t._f+="Z"),q(t)}else t._isValid=!1}function K(t){B(t),t._isValid===!1&&(delete t._isValid,De.createFromInputFallback(t))}function te(t,e){var n,a=[];for(n=0;n<t.length;++n)a.push(e(t[n],n));return a}function ee(e){var n,a=e._i;a===t?e._d=new Date:M(a)?e._d=new Date(+a):null!==(n=Ce.exec(a))?e._d=new Date(+n[1]):"string"==typeof a?K(e):k(a)?(e._a=te(a.slice(0),function(t){return parseInt(t,10)}),$(e)):"object"==typeof a?V(e):"number"==typeof a?e._d=new Date(a):De.createFromInputFallback(e)}function ne(t,e,n,a,s,i,r){var o=new Date(t,e,n,a,s,i,r);return 1970>t&&o.setFullYear(t),o}function ae(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function se(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function ie(t,e,n,a,s){return s.relativeTime(e||1,!!n,t,a)}function re(t,e,n){var a=De.duration(t).abs(),s=Me(a.as("s")),i=Me(a.as("m")),r=Me(a.as("h")),o=Me(a.as("d")),u=Me(a.as("M")),c=Me(a.as("y")),d=s<dn.s&&["s",s]||1===i&&["m"]||i<dn.m&&["mm",i]||1===r&&["h"]||r<dn.h&&["hh",r]||1===o&&["d"]||o<dn.d&&["dd",o]||1===u&&["M"]||u<dn.M&&["MM",u]||1===c&&["y"]||["yy",c];return d[2]=e,d[3]=+t>0,d[4]=n,ie.apply({},d)}function oe(t,e,n){var a,s=n-e,i=n-t.day();return i>s&&(i-=7),s-7>i&&(i+=7),a=De(t).add(i,"d"),{week:Math.ceil(a.dayOfYear()/7),year:a.year()}}function ue(t,e,n,a,s){var i,r,o=ae(t,0,1).getUTCDay();return o=0===o?7:o,n=null!=n?n:s,i=s-o+(o>a?7:0)-(s>o?7:0),r=7*(e-1)+(n-s)+i+1,{year:r>0?t:t-1,dayOfYear:r>0?r:W(t-1)+r}}function ce(e){var n=e._i,a=e._f;return e._locale=e._locale||De.localeData(e._l),null===n||a===t&&""===n?De.invalid({nullInput:!0}):("string"==typeof n&&(e._i=n=e._locale.preparse(n)),De.isMoment(n)?new d(n,!0):(a?k(a)?X(e):q(e):ee(e),new d(e)))}function de(t,e){var n,a;if(1===e.length&&k(e[0])&&(e=e[0]),!e.length)return De();for(n=e[0],a=1;a<e.length;++a)e[a][t](n)&&(n=e[a]);return n}function le(t,e){var n;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(n=Math.min(t.date(),T(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n),t)}function he(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function fe(t,e,n){return"Month"===e?le(t,n):t._d["set"+(t._isUTC?"UTC":"")+e](n)}function me(t,e){return function(n){return null!=n?(fe(this,t,n),De.updateOffset(this,e),this):he(this,t)}}function _e(t){return 400*t/146097}function pe(t){return 146097*t/400}function ye(t){De.duration.fn[t]=function(){return this._data[t]}}for(var De,ge,ke="2.8.3",Me=Math.round,Ye=Object.prototype.hasOwnProperty,we=0,ve=1,be=2,Se=3,Te=4,Oe=5,We=6,Ue={},Fe=[],Ge="undefined"!=typeof module&&module.exports,Ce=/^\/?Date\((\-?\d+)/i,ze=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,xe=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Ie=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,He=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Le=/\d\d?/,Pe=/\d{1,3}/,Ae=/\d{1,4}/,Ne=/[+\-]?\d{1,6}/,Ze=/\d+/,je=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ee=/Z|[\+\-]\d\d:?\d\d/gi,$e=/T/i,Ve=/[\+\-]?\d+(\.\d{1,3})?/,Je=/\d{1,2}/,qe=/\d/,Qe=/\d\d/,Re=/\d{3}/,Xe=/\d{4}/,Be=/[+-]?\d{6}/,Ke=/[+-]?\d+/,tn=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,en="YYYY-MM-DDTHH:mm:ssZ",nn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],an=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],sn=/([\+\-]|\d\d)/gi,rn=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),on={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},un={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},cn={},dn={s:45,m:45,h:22,d:26,M:11},ln="DDD w W M D d".split(" "),hn="M D H h m s w W".split(" "),fn={M:function(){return this.month()+1},MMM:function(t){return this.localeData().monthsShort(this,t)},MMMM:function(t){return this.localeData().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.localeData().weekdaysMin(this,t)},ddd:function(t){return this.localeData().weekdaysShort(this,t)},dddd:function(t){return this.localeData().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return _(this.year()%100,2)},YYYY:function(){return _(this.year(),4)},YYYYY:function(){return _(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+_(Math.abs(t),6)},gg:function(){return _(this.weekYear()%100,2)},gggg:function(){return _(this.weekYear(),4)},ggggg:function(){return _(this.weekYear(),5)},GG:function(){return _(this.isoWeekYear()%100,2)},GGGG:function(){return _(this.isoWeekYear(),4)},GGGGG:function(){return _(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return S(this.milliseconds()/100)},SS:function(){return _(S(this.milliseconds()/10),2)},SSS:function(){return _(this.milliseconds(),3)},SSSS:function(){return _(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+_(S(t/60),2)+":"+_(S(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+_(S(t/60),2)+_(S(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},mn={},_n=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];ln.length;)ge=ln.pop(),fn[ge+"o"]=u(fn[ge],ge);for(;hn.length;)ge=hn.pop(),fn[ge+ge]=o(fn[ge],2);fn.DDDD=o(fn.DDD,3),h(c.prototype,{set:function(t){var e,n;for(n in t)e=t[n],"function"==typeof e?this[n]=e:this["_"+n]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,n,a;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(this._monthsParse[e]||(n=De.utc([2e3,e]),a="^"+this.months(n,"")+"|^"+this.monthsShort(n,""),this._monthsParse[e]=new RegExp(a.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,n,a;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(n=De([2e3,1]).day(e),a="^"+this.weekdays(n,"")+"|^"+this.weekdaysShort(n,"")+"|^"+this.weekdaysMin(n,""),this._weekdaysParse[e]=new RegExp(a.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var n=this._calendar[t];return"function"==typeof n?n.apply(e):n},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,n,a){var s=this._relativeTime[n];return"function"==typeof s?s(t,e,n,a):s.replace(/%d/i,t)},pastFuture:function(t,e){var n=this._relativeTime[t>0?"future":"past"];return"function"==typeof n?n(e):n.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return oe(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),De=function(e,n,s,i){var r;return"boolean"==typeof s&&(i=s,s=t),r={},r._isAMomentObject=!0,r._i=e,r._f=n,r._l=s,r._strict=i,r._isUTC=!1,r._pf=a(),ce(r)},De.suppressDeprecationWarnings=!1,De.createFromInputFallback=i("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i)}),De.min=function(){var t=[].slice.call(arguments,0);return de("isBefore",t)},De.max=function(){var t=[].slice.call(arguments,0);return de("isAfter",t)},De.utc=function(e,n,s,i){var r;return"boolean"==typeof s&&(i=s,s=t),r={},r._isAMomentObject=!0,r._useUTC=!0,r._isUTC=!0,r._l=s,r._i=e,r._f=n,r._strict=i,r._pf=a(),ce(r).utc()},De.unix=function(t){return De(1e3*t)},De.duration=function(t,e){var a,s,i,r,o=t,u=null;return De.isDuration(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(u=ze.exec(t))?(a="-"===u[1]?-1:1,o={y:0,d:S(u[be])*a,h:S(u[Se])*a,m:S(u[Te])*a,s:S(u[Oe])*a,ms:S(u[We])*a}):(u=xe.exec(t))?(a="-"===u[1]?-1:1,i=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*a},o={y:i(u[2]),M:i(u[3]),d:i(u[4]),h:i(u[5]),m:i(u[6]),s:i(u[7]),w:i(u[8])}):"object"==typeof o&&("from"in o||"to"in o)&&(r=y(De(o.from),De(o.to)),o={},o.ms=r.milliseconds,o.M=r.months),s=new l(o),De.isDuration(t)&&n(t,"_locale")&&(s._locale=t._locale),s},De.version=ke,De.defaultFormat=en,De.ISO_8601=function(){},De.momentProperties=Fe,De.updateOffset=function(){},De.relativeTimeThreshold=function(e,n){return dn[e]===t?!1:n===t?dn[e]:(dn[e]=n,!0)},De.lang=i("moment.lang is deprecated. Use moment.locale instead.",function(t,e){return De.locale(t,e)}),De.locale=function(t,e){var n;return t&&(n="undefined"!=typeof e?De.defineLocale(t,e):De.localeData(t),n&&(De.duration._locale=De._locale=n)),De._locale._abbr},De.defineLocale=function(t,e){return null!==e?(e.abbr=t,Ue[t]||(Ue[t]=new c),Ue[t].set(e),De.locale(t),Ue[t]):(delete Ue[t],null)},De.langData=i("moment.langData is deprecated. Use moment.localeData instead.",function(t){return De.localeData(t)}),De.localeData=function(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return De._locale;if(!k(t)){if(e=x(t))return e;t=[t]}return z(t)},De.isMoment=function(t){return t instanceof d||null!=t&&n(t,"_isAMomentObject")},De.isDuration=function(t){return t instanceof l};for(ge=_n.length-1;ge>=0;--ge)b(_n[ge]);De.normalizeUnits=function(t){return w(t)},De.invalid=function(t){var e=De.utc(0/0);return null!=t?h(e._pf,t):e._pf.userInvalidated=!0,e},De.parseZone=function(){return De.apply(null,arguments).parseZone()},De.parseTwoDigitYear=function(t){return S(t)+(S(t)>68?1900:2e3)},h(De.fn=d.prototype,{clone:function(){return De(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=De(this).utc();return 0<t.year()&&t.year()<=9999?P(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return G(this)},isDSTShifted:function(){return this._a?this.isValid()&&Y(this._a,(this._isUTC?De.utc(this._a):De(this._a)).toArray())>0:!1},parsingFlags:function(){return h({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(t){return this.zone(0,t)},local:function(t){return this._isUTC&&(this.zone(0,t),this._isUTC=!1,t&&this.add(this._dateTzOffset(),"m")),this},format:function(t){var e=P(this,t||De.defaultFormat);return this.localeData().postformat(e)},add:D(1,"add"),subtract:D(-1,"subtract"),diff:function(t,e,n){var a,s,i,r=I(t,this),o=6e4*(this.zone()-r.zone());return e=w(e),"year"===e||"month"===e?(a=432e5*(this.daysInMonth()+r.daysInMonth()),s=12*(this.year()-r.year())+(this.month()-r.month()),i=this-De(this).startOf("month")-(r-De(r).startOf("month")),i-=6e4*(this.zone()-De(this).startOf("month").zone()-(r.zone()-De(r).startOf("month").zone())),s+=i/a,"year"===e&&(s/=12)):(a=this-r,s="second"===e?a/1e3:"minute"===e?a/6e4:"hour"===e?a/36e5:"day"===e?(a-o)/864e5:"week"===e?(a-o)/6048e5:a),n?s:m(s)},from:function(t,e){return De.duration({to:this,from:t}).locale(this.locale()).humanize(!e)},fromNow:function(t){return this.from(De(),t)},calendar:function(t){var e=t||De(),n=I(e,this).startOf("day"),a=this.diff(n,"days",!0),s=-6>a?"sameElse":-1>a?"lastWeek":0>a?"lastDay":1>a?"sameDay":2>a?"nextDay":7>a?"nextWeek":"sameElse";return this.format(this.localeData().calendar(s,this))},isLeapYear:function(){return U(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=se(t,this.localeData()),this.add(t-e,"d")):e},month:me("Month",!0),startOf:function(t){switch(t=w(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=w(t),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},isAfter:function(t,e){return e=w("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=De.isMoment(t)?t:De(t),+this>+t):+this.clone().startOf(e)>+De(t).startOf(e)},isBefore:function(t,e){return e=w("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=De.isMoment(t)?t:De(t),+t>+this):+this.clone().startOf(e)<+De(t).startOf(e)},isSame:function(t,e){return e=w(e||"millisecond"),"millisecond"===e?(t=De.isMoment(t)?t:De(t),+this===+t):+this.clone().startOf(e)===+I(t,this).startOf(e)},min:i("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(t){return t=De.apply(null,arguments),this>t?this:t}),max:i("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(t){return t=De.apply(null,arguments),t>this?this:t}),zone:function(t,e){var n,a=this._offset||0;return null==t?this._isUTC?a:this._dateTzOffset():("string"==typeof t&&(t=Z(t)),Math.abs(t)<16&&(t=60*t),!this._isUTC&&e&&(n=this._dateTzOffset()),this._offset=t,this._isUTC=!0,null!=n&&this.subtract(n,"m"),a!==t&&(!e||this._changeInProgress?g(this,De.duration(a-t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,De.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this | ||
| 3 | },hasAlignedHourOffset:function(t){return t=t?De(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return T(this.year(),this.month())},dayOfYear:function(t){var e=Me((De(this).startOf("day")-De(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=oe(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==t?e:this.add(t-e,"y")},isoWeekYear:function(t){var e=oe(this,1,4).year;return null==t?e:this.add(t-e,"y")},week:function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},isoWeek:function(t){var e=oe(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},weekday:function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return O(this.year(),1,4)},weeksInYear:function(){var t=this.localeData()._week;return O(this.year(),t.dow,t.doy)},get:function(t){return t=w(t),this[t]()},set:function(t,e){return t=w(t),"function"==typeof this[t]&&this[t](e),this},locale:function(e){var n;return e===t?this._locale._abbr:(n=De.localeData(e),null!=n&&(this._locale=n),this)},lang:i("moment().lang() is deprecated. Use moment().localeData() instead.",function(e){return e===t?this.localeData():this.locale(e)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}}),De.fn.millisecond=De.fn.milliseconds=me("Milliseconds",!1),De.fn.second=De.fn.seconds=me("Seconds",!1),De.fn.minute=De.fn.minutes=me("Minutes",!1),De.fn.hour=De.fn.hours=me("Hours",!0),De.fn.date=me("Date",!0),De.fn.dates=i("dates accessor is deprecated. Use date instead.",me("Date",!0)),De.fn.year=me("FullYear",!0),De.fn.years=i("years accessor is deprecated. Use year instead.",me("FullYear",!0)),De.fn.days=De.fn.day,De.fn.months=De.fn.month,De.fn.weeks=De.fn.week,De.fn.isoWeeks=De.fn.isoWeek,De.fn.quarters=De.fn.quarter,De.fn.toJSON=De.fn.toISOString,h(De.duration.fn=l.prototype,{_bubble:function(){var t,e,n,a=this._milliseconds,s=this._days,i=this._months,r=this._data,o=0;r.milliseconds=a%1e3,t=m(a/1e3),r.seconds=t%60,e=m(t/60),r.minutes=e%60,n=m(e/60),r.hours=n%24,s+=m(n/24),o=m(_e(s)),s-=m(pe(o)),i+=m(s/30),s%=30,o+=m(i/12),i%=12,r.days=s,r.months=i,r.years=o},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return m(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)},humanize:function(t){var e=re(this,!t,this.localeData());return t&&(e=this.localeData().pastFuture(+this,e)),this.localeData().postformat(e)},add:function(t,e){var n=De.duration(t,e);return this._milliseconds+=n._milliseconds,this._days+=n._days,this._months+=n._months,this._bubble(),this},subtract:function(t,e){var n=De.duration(t,e);return this._milliseconds-=n._milliseconds,this._days-=n._days,this._months-=n._months,this._bubble(),this},get:function(t){return t=w(t),this[t.toLowerCase()+"s"]()},as:function(t){var e,n;if(t=w(t),"month"===t||"year"===t)return e=this._days+this._milliseconds/864e5,n=this._months+12*_e(e),"month"===t?n:n/12;switch(e=this._days+pe(this._months/12),t){case"week":return e/7+this._milliseconds/6048e5;case"day":return e+this._milliseconds/864e5;case"hour":return 24*e+this._milliseconds/36e5;case"minute":return 24*e*60+this._milliseconds/6e4;case"second":return 24*e*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*e*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+t)}},lang:De.fn.lang,locale:De.fn.locale,toIsoString:i("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),n=Math.abs(this.days()),a=Math.abs(this.hours()),s=Math.abs(this.minutes()),i=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(n?n+"D":"")+(a||s||i?"T":"")+(a?a+"H":"")+(s?s+"M":"")+(i?i+"S":""):"P0D"},localeData:function(){return this._locale}}),De.duration.fn.toString=De.duration.fn.toISOString;for(ge in rn)n(rn,ge)&&ye(ge.toLowerCase());return De.duration.fn.asMilliseconds=function(){return this.as("ms")},De.duration.fn.asSeconds=function(){return this.as("s")},De.duration.fn.asMinutes=function(){return this.as("m")},De.duration.fn.asHours=function(){return this.as("h")},De.duration.fn.asDays=function(){return this.as("d")},De.duration.fn.asWeeks=function(){return this.as("weeks")},De.duration.fn.asMonths=function(){return this.as("M")},De.duration.fn.asYears=function(){return this.as("y")},De.locale("en",{ordinal:function(t){var e=t%10,n=1===S(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+n}}),De}.call(this),t.Utils.moment=n,t.datepicker}); \ No newline at end of file | ||
| diff --git a/js/components/form-password.js b/js/components/form-password.js new file mode 100755 index 0000000..b0b0e60 --- /dev/null +++ b/js/components/form-password.js | |||
| @@ -0,0 +1,67 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-form-password", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | UI.component('formPassword', { | ||
| 21 | |||
| 22 | defaults: { | ||
| 23 | "lblShow": "Show", | ||
| 24 | "lblHide": "Hide" | ||
| 25 | }, | ||
| 26 | |||
| 27 | boot: function() { | ||
| 28 | // init code | ||
| 29 | UI.$html.on("click.formpassword.uikit", "[data-uk-form-password]", function(e) { | ||
| 30 | |||
| 31 | var ele = UI.$(this); | ||
| 32 | |||
| 33 | if (!ele.data("formPassword")) { | ||
| 34 | |||
| 35 | e.preventDefault(); | ||
| 36 | |||
| 37 | UI.formPassword(ele, UI.Utils.options(ele.attr("data-uk-form-password"))); | ||
| 38 | ele.trigger("click"); | ||
| 39 | } | ||
| 40 | }); | ||
| 41 | }, | ||
| 42 | |||
| 43 | init: function() { | ||
| 44 | |||
| 45 | var $this = this; | ||
| 46 | |||
| 47 | this.on("click", function(e) { | ||
| 48 | |||
| 49 | e.preventDefault(); | ||
| 50 | |||
| 51 | if($this.input.length) { | ||
| 52 | var type = $this.input.attr("type"); | ||
| 53 | $this.input.attr("type", type=="text" ? "password":"text"); | ||
| 54 | $this.element.html($this.options[type=="text" ? "lblShow":"lblHide"]); | ||
| 55 | } | ||
| 56 | }); | ||
| 57 | |||
| 58 | this.input = this.element.next("input").length ? this.element.next("input") : this.element.prev("input"); | ||
| 59 | this.element.html(this.options[this.input.is("[type='password']") ? "lblShow":"lblHide"]); | ||
| 60 | |||
| 61 | |||
| 62 | this.element.data("formPassword", this); | ||
| 63 | } | ||
| 64 | }); | ||
| 65 | |||
| 66 | return UI.formPassword; | ||
| 67 | }); | ||
| diff --git a/js/components/form-password.min.js b/js/components/form-password.min.js new file mode 100755 index 0000000..b358994 --- /dev/null +++ b/js/components/form-password.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-password",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";return t.component("formPassword",{defaults:{lblShow:"Show",lblHide:"Hide"},boot:function(){t.$html.on("click.formpassword.uikit","[data-uk-form-password]",function(i){var e=t.$(this);e.data("formPassword")||(i.preventDefault(),t.formPassword(e,t.Utils.options(e.attr("data-uk-form-password"))),e.trigger("click"))})},init:function(){var t=this;this.on("click",function(i){if(i.preventDefault(),t.input.length){var e=t.input.attr("type");t.input.attr("type","text"==e?"password":"text"),t.element.html(t.options["text"==e?"lblShow":"lblHide"])}}),this.input=this.element.next("input").length?this.element.next("input"):this.element.prev("input"),this.element.html(this.options[this.input.is("[type='password']")?"lblShow":"lblHide"]),this.element.data("formPassword",this)}}),t.formPassword}); \ No newline at end of file | ||
| diff --git a/js/components/form-select.js b/js/components/form-select.js new file mode 100755 index 0000000..8f081fb --- /dev/null +++ b/js/components/form-select.js | |||
| @@ -0,0 +1,77 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-form-select", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | UI.component('formSelect', { | ||
| 21 | |||
| 22 | defaults: { | ||
| 23 | 'target': '>span:first', | ||
| 24 | 'activeClass': 'uk-active' | ||
| 25 | }, | ||
| 26 | |||
| 27 | boot: function() { | ||
| 28 | // init code | ||
| 29 | UI.ready(function(context) { | ||
| 30 | |||
| 31 | UI.$("[data-uk-form-select]", context).each(function(){ | ||
| 32 | |||
| 33 | var ele = UI.$(this); | ||
| 34 | |||
| 35 | if (!ele.data("formSelect")) { | ||
| 36 | UI.formSelect(ele, UI.Utils.options(ele.attr("data-uk-form-select"))); | ||
| 37 | } | ||
| 38 | }); | ||
| 39 | }); | ||
| 40 | }, | ||
| 41 | |||
| 42 | init: function() { | ||
| 43 | var $this = this; | ||
| 44 | |||
| 45 | this.target = this.find(this.options.target); | ||
| 46 | this.select = this.find('select'); | ||
| 47 | |||
| 48 | // init + on change event | ||
| 49 | this.select.on("change", (function(){ | ||
| 50 | |||
| 51 | var select = $this.select[0], fn = function(){ | ||
| 52 | |||
| 53 | try { | ||
| 54 | if($this.options.target === 'input') | ||
| 55 | { | ||
| 56 | $this.target.val(select.options[select.selectedIndex].text); | ||
| 57 | } | ||
| 58 | else | ||
| 59 | { | ||
| 60 | $this.target.text(select.options[select.selectedIndex].text); | ||
| 61 | } | ||
| 62 | } catch(e) {} | ||
| 63 | |||
| 64 | $this.element[$this.select.val() ? 'addClass':'removeClass']($this.options.activeClass); | ||
| 65 | |||
| 66 | return fn; | ||
| 67 | }; | ||
| 68 | |||
| 69 | return fn(); | ||
| 70 | })()); | ||
| 71 | |||
| 72 | this.element.data("formSelect", this); | ||
| 73 | } | ||
| 74 | }); | ||
| 75 | |||
| 76 | return UI.formSelect; | ||
| 77 | }); | ||
| diff --git a/js/components/form-select.min.js b/js/components/form-select.min.js new file mode 100755 index 0000000..ee92f53 --- /dev/null +++ b/js/components/form-select.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-form-select",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("formSelect",{defaults:{target:">span:first",activeClass:"uk-active"},boot:function(){t.ready(function(e){t.$("[data-uk-form-select]",e).each(function(){var e=t.$(this);e.data("formSelect")||t.formSelect(e,t.Utils.options(e.attr("data-uk-form-select")))})})},init:function(){var t=this;this.target=this.find(this.options.target),this.select=this.find("select"),this.select.on("change",function(){var e=t.select[0],i=function(){try{"input"===t.options.target?t.target.val(e.options[e.selectedIndex].text):t.target.text(e.options[e.selectedIndex].text)}catch(n){}return t.element[t.select.val()?"addClass":"removeClass"](t.options.activeClass),i};return i()}()),this.element.data("formSelect",this)}}),t.formSelect}); \ No newline at end of file | ||
| diff --git a/js/components/grid-parallax.js b/js/components/grid-parallax.js new file mode 100755 index 0000000..45b7a9e --- /dev/null +++ b/js/components/grid-parallax.js | |||
| @@ -0,0 +1,168 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-grid-parallax", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | var parallaxes = [], checkParallaxes = function() { | ||
| 19 | |||
| 20 | requestAnimationFrame(function(){ | ||
| 21 | for (var i=0; i < parallaxes.length; i++) { | ||
| 22 | parallaxes[i].process(); | ||
| 23 | } | ||
| 24 | }); | ||
| 25 | }; | ||
| 26 | |||
| 27 | |||
| 28 | UI.component('gridparallax', { | ||
| 29 | |||
| 30 | defaults: { | ||
| 31 | target : false, | ||
| 32 | smooth : 150, | ||
| 33 | translate : 150 | ||
| 34 | }, | ||
| 35 | |||
| 36 | boot: function() { | ||
| 37 | |||
| 38 | // listen to scroll and resize | ||
| 39 | UI.$doc.on("scrolling.uk.document", checkParallaxes); | ||
| 40 | UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ | ||
| 41 | checkParallaxes(); | ||
| 42 | }, 50)); | ||
| 43 | |||
| 44 | // init code | ||
| 45 | UI.ready(function(context) { | ||
| 46 | |||
| 47 | UI.$('[data-uk-grid-parallax]', context).each(function() { | ||
| 48 | |||
| 49 | var parallax = UI.$(this); | ||
| 50 | |||
| 51 | if (!parallax.data("gridparallax")) { | ||
| 52 | UI.gridparallax(parallax, UI.Utils.options(parallax.attr("data-uk-grid-parallax"))); | ||
| 53 | } | ||
| 54 | }); | ||
| 55 | }); | ||
| 56 | }, | ||
| 57 | |||
| 58 | init: function() { | ||
| 59 | |||
| 60 | var $this = this; | ||
| 61 | |||
| 62 | this.initItems().process(); | ||
| 63 | parallaxes.push(this); | ||
| 64 | |||
| 65 | UI.$win.on('load resize orientationchange', (function() { | ||
| 66 | |||
| 67 | var fn = function() { | ||
| 68 | var columns = getcolumns($this.element); | ||
| 69 | |||
| 70 | $this.element.css('margin-bottom', ''); | ||
| 71 | |||
| 72 | if (columns > 1) { | ||
| 73 | $this.element.css('margin-bottom', $this.options.translate + parseInt($this.element.css('margin-bottom'))); | ||
| 74 | } | ||
| 75 | }; | ||
| 76 | |||
| 77 | UI.$(function() { fn(); }); | ||
| 78 | |||
| 79 | return UI.Utils.debounce(fn, 50); | ||
| 80 | })()); | ||
| 81 | }, | ||
| 82 | |||
| 83 | initItems: function() { | ||
| 84 | |||
| 85 | var smooth = this.options.smooth; | ||
| 86 | |||
| 87 | this.items = (this.options.target ? this.element.find(this.options.target) : this.element.children()).each(function(){ | ||
| 88 | UI.$(this).css({ | ||
| 89 | transition: 'transform '+smooth+'ms linear', | ||
| 90 | transform: '' | ||
| 91 | }); | ||
| 92 | }); | ||
| 93 | |||
| 94 | return this; | ||
| 95 | }, | ||
| 96 | |||
| 97 | process: function() { | ||
| 98 | |||
| 99 | var percent = percentageInViewport(this.element), | ||
| 100 | columns = getcolumns(this.element), | ||
| 101 | items = this.items, | ||
| 102 | mods = [(columns-1)]; | ||
| 103 | |||
| 104 | if (columns == 1 || !percent) { | ||
| 105 | items.css('transform', ''); | ||
| 106 | return; | ||
| 107 | } | ||
| 108 | |||
| 109 | while(mods.length < columns) { | ||
| 110 | if(!(mods[mods.length-1] - 2)) break; | ||
| 111 | mods.push(mods[mods.length-1] - 2); | ||
| 112 | } | ||
| 113 | |||
| 114 | var translate = this.options.translate, percenttranslate = percent * translate; | ||
| 115 | |||
| 116 | items.each(function(idx, ele, translate){ | ||
| 117 | translate = mods.indexOf((idx+1) % columns) != -1 ? percenttranslate : percenttranslate / 8; | ||
| 118 | UI.$(this).css('transform', 'translate3d(0,'+(translate)+'px, 0)'); | ||
| 119 | }); | ||
| 120 | } | ||
| 121 | |||
| 122 | }); | ||
| 123 | |||
| 124 | |||
| 125 | function getcolumns(element) { | ||
| 126 | |||
| 127 | var children = element.children(), | ||
| 128 | first = children.filter(':visible:first'), | ||
| 129 | top = first[0].offsetTop + first.outerHeight(); | ||
| 130 | |||
| 131 | for (var column=0;column<children.length;column++) { | ||
| 132 | if (children[column].offsetTop >= top) break; | ||
| 133 | } | ||
| 134 | |||
| 135 | return column || 1; | ||
| 136 | } | ||
| 137 | |||
| 138 | function percentageInViewport(element) { | ||
| 139 | |||
| 140 | var top = element.offset().top, | ||
| 141 | height = element.outerHeight(), | ||
| 142 | scrolltop = UIkit.$win.scrollTop(), | ||
| 143 | wh = window.innerHeight, | ||
| 144 | distance, percentage, percent; | ||
| 145 | |||
| 146 | if (top > (scrolltop + wh)) { | ||
| 147 | percent = 0; | ||
| 148 | } else if ((top + height) < scrolltop) { | ||
| 149 | percent = 1; | ||
| 150 | } else { | ||
| 151 | |||
| 152 | if ((top + height) < wh) { | ||
| 153 | percent = (scrolltop < wh ? scrolltop : scrolltop - wh) / (top+height); | ||
| 154 | } else { | ||
| 155 | |||
| 156 | distance = (scrolltop + wh) - top; | ||
| 157 | percentage = Math.round(distance / ((wh + height) / 100)); | ||
| 158 | percent = percentage/100; | ||
| 159 | } | ||
| 160 | |||
| 161 | if (top < wh) { | ||
| 162 | percent = percent * scrolltop / ((top + height) - wh); | ||
| 163 | } | ||
| 164 | } | ||
| 165 | |||
| 166 | return percent > 1 ? 1:percent; | ||
| 167 | } | ||
| 168 | }); \ No newline at end of file | ||
| diff --git a/js/components/grid-parallax.min.js b/js/components/grid-parallax.min.js new file mode 100755 index 0000000..fddc517 --- /dev/null +++ b/js/components/grid-parallax.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var n;window.UIkit&&(n=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-grid-parallax",["uikit"],function(){return n||t(UIkit)})}(function(t){function n(t){for(var n=t.children(),i=n.filter(":visible:first"),e=i[0].offsetTop+i.outerHeight(),o=0;o<n.length&&!(n[o].offsetTop>=e);o++);return o||1}function i(t){var n,i,e,o=t.offset().top,r=t.outerHeight(),s=UIkit.$win.scrollTop(),a=window.innerHeight;return o>s+a?e=0:s>o+r?e=1:(a>o+r?e=(a>s?s:s-a)/(o+r):(n=s+a-o,i=Math.round(n/((a+r)/100)),e=i/100),a>o&&(e=e*s/(o+r-a))),e>1?1:e}var e=[],o=function(){requestAnimationFrame(function(){for(var t=0;t<e.length;t++)e[t].process()})};t.component("gridparallax",{defaults:{target:!1,smooth:150,translate:150},boot:function(){t.$doc.on("scrolling.uk.document",o),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){o()},50)),t.ready(function(n){t.$("[data-uk-grid-parallax]",n).each(function(){var n=t.$(this);n.data("gridparallax")||t.gridparallax(n,t.Utils.options(n.attr("data-uk-grid-parallax")))})})},init:function(){var i=this;this.initItems().process(),e.push(this),t.$win.on("load resize orientationchange",function(){var e=function(){var t=n(i.element);i.element.css("margin-bottom",""),t>1&&i.element.css("margin-bottom",i.options.translate+parseInt(i.element.css("margin-bottom")))};return t.$(function(){e()}),t.Utils.debounce(e,50)}())},initItems:function(){var n=this.options.smooth;return this.items=(this.options.target?this.element.find(this.options.target):this.element.children()).each(function(){t.$(this).css({transition:"transform "+n+"ms linear",transform:""})}),this},process:function(){var e=i(this.element),o=n(this.element),r=this.items,s=[o-1];if(1==o||!e)return r.css("transform",""),void 0;for(;s.length<o&&s[s.length-1]-2;)s.push(s[s.length-1]-2);var a=this.options.translate,l=e*a;r.each(function(n,i,e){e=-1!=s.indexOf((n+1)%o)?l:l/8,t.$(this).css("transform","translate3d(0,"+e+"px, 0)")})}})}); \ No newline at end of file | ||
| diff --git a/js/components/grid.js b/js/components/grid.js new file mode 100755 index 0000000..87d4919 --- /dev/null +++ b/js/components/grid.js | |||
| @@ -0,0 +1,527 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-grid", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | UI.component('grid', { | ||
| 21 | |||
| 22 | defaults: { | ||
| 23 | colwidth : 'auto', | ||
| 24 | animation : true, | ||
| 25 | duration : 300, | ||
| 26 | gutter : 0, | ||
| 27 | controls : false, | ||
| 28 | filter : false | ||
| 29 | }, | ||
| 30 | |||
| 31 | boot: function() { | ||
| 32 | |||
| 33 | // init code | ||
| 34 | UI.ready(function(context) { | ||
| 35 | |||
| 36 | UI.$('[data-uk-grid]', context).each(function(){ | ||
| 37 | |||
| 38 | var ele = UI.$(this); | ||
| 39 | |||
| 40 | if(!ele.data("grid")) { | ||
| 41 | UI.grid(ele, UI.Utils.options(ele.attr('data-uk-grid'))); | ||
| 42 | } | ||
| 43 | }); | ||
| 44 | }); | ||
| 45 | }, | ||
| 46 | |||
| 47 | init: function() { | ||
| 48 | |||
| 49 | var $this = this, gutter = String(this.options.gutter).trim().split(' '); | ||
| 50 | |||
| 51 | this.gutterv = parseInt(gutter[0], 10); | ||
| 52 | this.gutterh = parseInt((gutter[1] || gutter[0]), 10); | ||
| 53 | |||
| 54 | // make sure parent element has the right position property | ||
| 55 | this.element.css({'position': 'relative'}); | ||
| 56 | |||
| 57 | this.controls = null; | ||
| 58 | |||
| 59 | if (this.options.controls) { | ||
| 60 | |||
| 61 | this.controls = UI.$(this.options.controls); | ||
| 62 | |||
| 63 | // filter | ||
| 64 | this.controls.on('click', '[data-uk-filter]', function(e){ | ||
| 65 | e.preventDefault(); | ||
| 66 | $this.filter(UI.$(this).attr('data-uk-filter')); | ||
| 67 | }); | ||
| 68 | |||
| 69 | // sort | ||
| 70 | this.controls.on('click', '[data-uk-sort]', function(e){ | ||
| 71 | e.preventDefault(); | ||
| 72 | var cmd = UI.$(this).attr('data-uk-sort').split(':'); | ||
| 73 | $this.sort(cmd[0], cmd[1]); | ||
| 74 | }); | ||
| 75 | } | ||
| 76 | |||
| 77 | UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ | ||
| 78 | |||
| 79 | if ($this.currentfilter) { | ||
| 80 | $this.filter($this.currentfilter); | ||
| 81 | } else { | ||
| 82 | this.updateLayout(); | ||
| 83 | } | ||
| 84 | |||
| 85 | }.bind(this), 100)); | ||
| 86 | |||
| 87 | this.on('display.uk.check', function(){ | ||
| 88 | if ($this.element.is(":visible")) $this.updateLayout(); | ||
| 89 | }); | ||
| 90 | |||
| 91 | UI.domObserve(this.element, function(e) { | ||
| 92 | $this.updateLayout(); | ||
| 93 | }); | ||
| 94 | |||
| 95 | if (this.options.filter !== false) { | ||
| 96 | this.filter(this.options.filter); | ||
| 97 | } else { | ||
| 98 | this.updateLayout(); | ||
| 99 | } | ||
| 100 | }, | ||
| 101 | |||
| 102 | _prepareElements: function() { | ||
| 103 | |||
| 104 | var children = this.element.children(':not([data-grid-prepared])'), css; | ||
| 105 | |||
| 106 | // exit if no already prepared elements found | ||
| 107 | if (!children.length) { | ||
| 108 | return; | ||
| 109 | } | ||
| 110 | |||
| 111 | css = { | ||
| 112 | 'position' : 'absolute', | ||
| 113 | 'box-sizing' : 'border-box', | ||
| 114 | 'width' : this.options.colwidth == 'auto' ? '' : this.options.colwidth | ||
| 115 | }; | ||
| 116 | |||
| 117 | if (this.options.gutter) { | ||
| 118 | |||
| 119 | css['padding-left'] = this.gutterh; | ||
| 120 | css['padding-bottom'] = this.gutterv; | ||
| 121 | |||
| 122 | this.element.css('margin-left', this.gutterh * -1); | ||
| 123 | } | ||
| 124 | |||
| 125 | children.attr('data-grid-prepared', 'true').css(css); | ||
| 126 | }, | ||
| 127 | |||
| 128 | updateLayout: function(elements) { | ||
| 129 | |||
| 130 | this._prepareElements(); | ||
| 131 | |||
| 132 | elements = elements || this.element.children(':visible'); | ||
| 133 | |||
| 134 | var children = elements, | ||
| 135 | maxwidth = this.element.width() + (2*this.gutterh) + 2, | ||
| 136 | left = 0, | ||
| 137 | top = 0, | ||
| 138 | positions = [], | ||
| 139 | |||
| 140 | item, width, height, pos, i, z, max, size; | ||
| 141 | |||
| 142 | this.trigger('beforeupdate.uk.grid', [children]); | ||
| 143 | |||
| 144 | children.each(function(index){ | ||
| 145 | |||
| 146 | size = getElementSize(this); | ||
| 147 | |||
| 148 | item = UI.$(this); | ||
| 149 | width = size.outerWidth; | ||
| 150 | height = size.outerHeight; | ||
| 151 | left = 0; | ||
| 152 | top = 0; | ||
| 153 | |||
| 154 | for (i=0,max=positions.length;i<max;i++) { | ||
| 155 | |||
| 156 | pos = positions[i]; | ||
| 157 | |||
| 158 | if (left <= pos.aX) { left = pos.aX; } | ||
| 159 | if (maxwidth < (left + width)) { left = 0; } | ||
| 160 | if (top <= pos.aY) { top = pos.aY; } | ||
| 161 | } | ||
| 162 | |||
| 163 | positions.push({ | ||
| 164 | "ele" : item, | ||
| 165 | "top" : top, | ||
| 166 | "left" : left, | ||
| 167 | "width" : width, | ||
| 168 | "height" : height, | ||
| 169 | "aY" : (top + height), | ||
| 170 | "aX" : (left + width) | ||
| 171 | }); | ||
| 172 | }); | ||
| 173 | |||
| 174 | var posPrev, maxHeight = 0; | ||
| 175 | |||
| 176 | // fix top | ||
| 177 | for (i=0,max=positions.length;i<max;i++) { | ||
| 178 | |||
| 179 | pos = positions[i]; | ||
| 180 | top = 0; | ||
| 181 | |||
| 182 | for (z=0;z<i;z++) { | ||
| 183 | |||
| 184 | posPrev = positions[z]; | ||
| 185 | |||
| 186 | // (posPrev.left + 1) fixex 1px bug when using % based widths | ||
| 187 | if (pos.left < posPrev.aX && (posPrev.left +1) < pos.aX) { | ||
| 188 | top = posPrev.aY; | ||
| 189 | } | ||
| 190 | } | ||
| 191 | |||
| 192 | pos.top = top; | ||
| 193 | pos.aY = top + pos.height; | ||
| 194 | |||
| 195 | maxHeight = Math.max(maxHeight, pos.aY); | ||
| 196 | } | ||
| 197 | |||
| 198 | maxHeight = maxHeight - this.gutterv; | ||
| 199 | |||
| 200 | if (this.options.animation) { | ||
| 201 | |||
| 202 | this.element.stop().animate({'height': maxHeight}, 100); | ||
| 203 | |||
| 204 | positions.forEach(function(pos){ | ||
| 205 | pos.ele.stop().animate({"top": pos.top, "left": pos.left, opacity: 1}, this.options.duration); | ||
| 206 | }.bind(this)); | ||
| 207 | |||
| 208 | } else { | ||
| 209 | |||
| 210 | this.element.css('height', maxHeight); | ||
| 211 | |||
| 212 | positions.forEach(function(pos){ | ||
| 213 | pos.ele.css({"top": pos.top, "left": pos.left, opacity: 1}); | ||
| 214 | }.bind(this)); | ||
| 215 | } | ||
| 216 | |||
| 217 | // make sure to trigger possible scrollpies etc. | ||
| 218 | setTimeout(function() { | ||
| 219 | UI.$doc.trigger('scrolling.uk.document'); | ||
| 220 | }, 2 * this.options.duration * (this.options.animation ? 1:0)); | ||
| 221 | |||
| 222 | this.trigger('afterupdate.uk.grid', [children]); | ||
| 223 | }, | ||
| 224 | |||
| 225 | filter: function(filter) { | ||
| 226 | |||
| 227 | this.currentfilter = filter; | ||
| 228 | |||
| 229 | filter = filter || []; | ||
| 230 | |||
| 231 | if (typeof(filter) === 'number') { | ||
| 232 | filter = filter.toString(); | ||
| 233 | } | ||
| 234 | |||
| 235 | if (typeof(filter) === 'string') { | ||
| 236 | filter = filter.split(/,/).map(function(item){ return item.trim(); }); | ||
| 237 | } | ||
| 238 | |||
| 239 | var $this = this, children = this.element.children(), elements = {"visible": [], "hidden": []}, visible, hidden; | ||
| 240 | |||
| 241 | children.each(function(index){ | ||
| 242 | |||
| 243 | var ele = UI.$(this), f = ele.attr('data-uk-filter'), infilter = filter.length ? false : true; | ||
| 244 | |||
| 245 | if (f) { | ||
| 246 | |||
| 247 | f = f.split(/,/).map(function(item){ return item.trim(); }); | ||
| 248 | |||
| 249 | filter.forEach(function(item){ | ||
| 250 | if (f.indexOf(item) > -1) infilter = true; | ||
| 251 | }); | ||
| 252 | } | ||
| 253 | |||
| 254 | elements[infilter ? "visible":"hidden"].push(ele); | ||
| 255 | }); | ||
| 256 | |||
| 257 | // convert to jQuery collections | ||
| 258 | elements.hidden = UI.$(elements.hidden).map(function () {return this[0];}); | ||
| 259 | elements.visible = UI.$(elements.visible).map(function () {return this[0];}); | ||
| 260 | |||
| 261 | elements.hidden.attr('aria-hidden', 'true').filter(':visible').fadeOut(this.options.duration); | ||
| 262 | elements.visible.attr('aria-hidden', 'false').filter(':hidden').css('opacity', 0).show(); | ||
| 263 | |||
| 264 | $this.updateLayout(elements.visible); | ||
| 265 | |||
| 266 | if (this.controls && this.controls.length) { | ||
| 267 | this.controls.find('[data-uk-filter]').removeClass('uk-active').filter('[data-uk-filter="'+filter+'"]').addClass('uk-active'); | ||
| 268 | } | ||
| 269 | }, | ||
| 270 | |||
| 271 | sort: function(by, order){ | ||
| 272 | |||
| 273 | order = order || 1; | ||
| 274 | |||
| 275 | // covert from string (asc|desc) to number | ||
| 276 | if (typeof(order) === 'string') { | ||
| 277 | order = order.toLowerCase() == 'desc' ? -1 : 1; | ||
| 278 | } | ||
| 279 | |||
| 280 | var elements = this.element.children(); | ||
| 281 | |||
| 282 | elements.sort(function(a, b){ | ||
| 283 | |||
| 284 | a = UI.$(a); | ||
| 285 | b = UI.$(b); | ||
| 286 | |||
| 287 | return (b.data(by) || '') < (a.data(by) || '') ? order : (order*-1); | ||
| 288 | |||
| 289 | }).appendTo(this.element); | ||
| 290 | |||
| 291 | this.updateLayout(elements.filter(':visible')); | ||
| 292 | |||
| 293 | if (this.controls && this.controls.length) { | ||
| 294 | this.controls.find('[data-uk-sort]').removeClass('uk-active').filter('[data-uk-sort="'+by+':'+(order == -1 ? 'desc':'asc')+'"]').addClass('uk-active'); | ||
| 295 | } | ||
| 296 | } | ||
| 297 | }); | ||
| 298 | |||
| 299 | |||
| 300 | /*! | ||
| 301 | * getSize v1.2.2 | ||
| 302 | * measure size of elements | ||
| 303 | * MIT license | ||
| 304 | * https://github.com/desandro/get-size | ||
| 305 | */ | ||
| 306 | function _getSize() { | ||
| 307 | |||
| 308 | var prefixes = 'Webkit Moz ms Ms O'.split(' '); | ||
| 309 | var docElemStyle = document.documentElement.style; | ||
| 310 | |||
| 311 | function getStyleProperty( propName ) { | ||
| 312 | if ( !propName ) { | ||
| 313 | return; | ||
| 314 | } | ||
| 315 | |||
| 316 | // test standard property first | ||
| 317 | if ( typeof docElemStyle[ propName ] === 'string' ) { | ||
| 318 | return propName; | ||
| 319 | } | ||
| 320 | |||
| 321 | // capitalize | ||
| 322 | propName = propName.charAt(0).toUpperCase() + propName.slice(1); | ||
| 323 | |||
| 324 | // test vendor specific properties | ||
| 325 | var prefixed; | ||
| 326 | for ( var i=0, len = prefixes.length; i < len; i++ ) { | ||
| 327 | prefixed = prefixes[i] + propName; | ||
| 328 | if ( typeof docElemStyle[ prefixed ] === 'string' ) { | ||
| 329 | return prefixed; | ||
| 330 | } | ||
| 331 | } | ||
| 332 | } | ||
| 333 | |||
| 334 | // -------------------------- helpers -------------------------- // | ||
| 335 | |||
| 336 | // get a number from a string, not a percentage | ||
| 337 | function getStyleSize( value ) { | ||
| 338 | var num = parseFloat( value ); | ||
| 339 | // not a percent like '100%', and a number | ||
| 340 | var isValid = value.indexOf('%') === -1 && !isNaN( num ); | ||
| 341 | return isValid && num; | ||
| 342 | } | ||
| 343 | |||
| 344 | function noop() {} | ||
| 345 | |||
| 346 | var logError = typeof console === 'undefined' ? noop : function( message ) { | ||
| 347 | console.error( message ); | ||
| 348 | }; | ||
| 349 | |||
| 350 | // -------------------------- measurements -------------------------- // | ||
| 351 | |||
| 352 | var measurements = [ | ||
| 353 | 'paddingLeft', | ||
| 354 | 'paddingRight', | ||
| 355 | 'paddingTop', | ||
| 356 | 'paddingBottom', | ||
| 357 | 'marginLeft', | ||
| 358 | 'marginRight', | ||
| 359 | 'marginTop', | ||
| 360 | 'marginBottom', | ||
| 361 | 'borderLeftWidth', | ||
| 362 | 'borderRightWidth', | ||
| 363 | 'borderTopWidth', | ||
| 364 | 'borderBottomWidth' | ||
| 365 | ]; | ||
| 366 | |||
| 367 | function getZeroSize() { | ||
| 368 | var size = { | ||
| 369 | width: 0, | ||
| 370 | height: 0, | ||
| 371 | innerWidth: 0, | ||
| 372 | innerHeight: 0, | ||
| 373 | outerWidth: 0, | ||
| 374 | outerHeight: 0 | ||
| 375 | }; | ||
| 376 | for ( var i=0, len = measurements.length; i < len; i++ ) { | ||
| 377 | var measurement = measurements[i]; | ||
| 378 | size[ measurement ] = 0; | ||
| 379 | } | ||
| 380 | return size; | ||
| 381 | } | ||
| 382 | |||
| 383 | |||
| 384 | // -------------------------- setup -------------------------- // | ||
| 385 | |||
| 386 | var isSetup = false; | ||
| 387 | var getStyle, boxSizingProp, isBoxSizeOuter; | ||
| 388 | |||
| 389 | /** | ||
| 390 | * setup vars and functions | ||
| 391 | * do it on initial getSize(), rather than on script load | ||
| 392 | * For Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=548397 | ||
| 393 | */ | ||
| 394 | function setup() { | ||
| 395 | // setup once | ||
| 396 | if ( isSetup ) { | ||
| 397 | return; | ||
| 398 | } | ||
| 399 | isSetup = true; | ||
| 400 | |||
| 401 | var getComputedStyle = window.getComputedStyle; | ||
| 402 | getStyle = ( function() { | ||
| 403 | var getStyleFn = getComputedStyle ? | ||
| 404 | function( elem ) { | ||
| 405 | return getComputedStyle( elem, null ); | ||
| 406 | } : | ||
| 407 | function( elem ) { | ||
| 408 | return elem.currentStyle; | ||
| 409 | }; | ||
| 410 | |||
| 411 | return function getStyle( elem ) { | ||
| 412 | var style = getStyleFn( elem ); | ||
| 413 | if ( !style ) { | ||
| 414 | logError( 'Style returned ' + style + | ||
| 415 | '. Are you running this code in a hidden iframe on Firefox? ' + | ||
| 416 | 'See http://bit.ly/getsizebug1' ); | ||
| 417 | } | ||
| 418 | return style; | ||
| 419 | }; | ||
| 420 | })(); | ||
| 421 | |||
| 422 | // -------------------------- box sizing -------------------------- // | ||
| 423 | |||
| 424 | boxSizingProp = getStyleProperty('boxSizing'); | ||
| 425 | |||
| 426 | /** | ||
| 427 | * WebKit measures the outer-width on style.width on border-box elems | ||
| 428 | * IE & Firefox measures the inner-width | ||
| 429 | */ | ||
| 430 | if ( boxSizingProp ) { | ||
| 431 | var div = document.createElement('div'); | ||
| 432 | div.style.width = '200px'; | ||
| 433 | div.style.padding = '1px 2px 3px 4px'; | ||
| 434 | div.style.borderStyle = 'solid'; | ||
| 435 | div.style.borderWidth = '1px 2px 3px 4px'; | ||
| 436 | div.style[ boxSizingProp ] = 'border-box'; | ||
| 437 | |||
| 438 | var body = document.body || document.documentElement; | ||
| 439 | body.appendChild( div ); | ||
| 440 | var style = getStyle( div ); | ||
| 441 | |||
| 442 | isBoxSizeOuter = getStyleSize( style.width ) === 200; | ||
| 443 | body.removeChild( div ); | ||
| 444 | } | ||
| 445 | |||
| 446 | } | ||
| 447 | |||
| 448 | // -------------------------- getSize -------------------------- // | ||
| 449 | |||
| 450 | function getSize( elem ) { | ||
| 451 | setup(); | ||
| 452 | |||
| 453 | // use querySeletor if elem is string | ||
| 454 | if ( typeof elem === 'string' ) { | ||
| 455 | elem = document.querySelector( elem ); | ||
| 456 | } | ||
| 457 | |||
| 458 | // do not proceed on non-objects | ||
| 459 | if ( !elem || typeof elem !== 'object' || !elem.nodeType ) { | ||
| 460 | return; | ||
| 461 | } | ||
| 462 | |||
| 463 | var style = getStyle( elem ); | ||
| 464 | |||
| 465 | // if hidden, everything is 0 | ||
| 466 | if ( style.display === 'none' ) { | ||
| 467 | return getZeroSize(); | ||
| 468 | } | ||
| 469 | |||
| 470 | var size = {}; | ||
| 471 | size.width = elem.offsetWidth; | ||
| 472 | size.height = elem.offsetHeight; | ||
| 473 | |||
| 474 | var isBorderBox = size.isBorderBox = !!( boxSizingProp && | ||
| 475 | style[ boxSizingProp ] && style[ boxSizingProp ] === 'border-box' ); | ||
| 476 | |||
| 477 | // get all measurements | ||
| 478 | for ( var i=0, len = measurements.length; i < len; i++ ) { | ||
| 479 | var measurement = measurements[i]; | ||
| 480 | var value = style[ measurement ]; | ||
| 481 | |||
| 482 | var num = parseFloat( value ); | ||
| 483 | // any 'auto', 'medium' value will be 0 | ||
| 484 | size[ measurement ] = !isNaN( num ) ? num : 0; | ||
| 485 | } | ||
| 486 | |||
| 487 | var paddingWidth = size.paddingLeft + size.paddingRight; | ||
| 488 | var paddingHeight = size.paddingTop + size.paddingBottom; | ||
| 489 | var marginWidth = size.marginLeft + size.marginRight; | ||
| 490 | var marginHeight = size.marginTop + size.marginBottom; | ||
| 491 | var borderWidth = size.borderLeftWidth + size.borderRightWidth; | ||
| 492 | var borderHeight = size.borderTopWidth + size.borderBottomWidth; | ||
| 493 | |||
| 494 | var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter; | ||
| 495 | |||
| 496 | // overwrite width and height if we can get it from style | ||
| 497 | var styleWidth = getStyleSize( style.width ); | ||
| 498 | if ( styleWidth !== false ) { | ||
| 499 | size.width = styleWidth + | ||
| 500 | // add padding and border unless it's already including it | ||
| 501 | ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth ); | ||
| 502 | } | ||
| 503 | |||
| 504 | var styleHeight = getStyleSize( style.height ); | ||
| 505 | if ( styleHeight !== false ) { | ||
| 506 | size.height = styleHeight + | ||
| 507 | // add padding and border unless it's already including it | ||
| 508 | ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight ); | ||
| 509 | } | ||
| 510 | |||
| 511 | size.innerWidth = size.width - ( paddingWidth + borderWidth ); | ||
| 512 | size.innerHeight = size.height - ( paddingHeight + borderHeight ); | ||
| 513 | |||
| 514 | size.outerWidth = size.width + marginWidth; | ||
| 515 | size.outerHeight = size.height + marginHeight; | ||
| 516 | |||
| 517 | return size; | ||
| 518 | } | ||
| 519 | |||
| 520 | return getSize; | ||
| 521 | |||
| 522 | } | ||
| 523 | |||
| 524 | function getElementSize(ele) { | ||
| 525 | return _getSize()(ele); | ||
| 526 | } | ||
| 527 | }); | ||
| diff --git a/js/components/grid.min.js b/js/components/grid.min.js new file mode 100755 index 0000000..3eeedfe --- /dev/null +++ b/js/components/grid.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-grid",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(){function t(t){if(t){if("string"==typeof u[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var i,e=0,n=h.length;n>e;e++)if(i=h[e]+t,"string"==typeof u[i])return i}}function i(t){var i=parseFloat(t),e=-1===t.indexOf("%")&&!isNaN(i);return e&&i}function e(){}function n(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0,e=f.length;e>i;i++){var n=f[i];t[n]=0}return t}function r(){if(!c){c=!0;var e=window.getComputedStyle;if(a=function(){var t=e?function(t){return e(t,null)}:function(t){return t.currentStyle};return function(i){var e=t(i);return e||l("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}}(),s=t("boxSizing")){var n=document.createElement("div");n.style.width="200px",n.style.padding="1px 2px 3px 4px",n.style.borderStyle="solid",n.style.borderWidth="1px 2px 3px 4px",n.style[s]="border-box";var r=document.body||document.documentElement;r.appendChild(n);var o=a(n);d=200===i(o.width),r.removeChild(n)}}}function o(t){if(r(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=a(t);if("none"===e.display)return n();var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var h=o.isBorderBox=!(!s||!e[s]||"border-box"!==e[s]),u=0,l=f.length;l>u;u++){var c=f[u],p=e[c],g=parseFloat(p);o[c]=isNaN(g)?0:g}var m=o.paddingLeft+o.paddingRight,v=o.paddingTop+o.paddingBottom,b=o.marginLeft+o.marginRight,y=o.marginTop+o.marginBottom,k=o.borderLeftWidth+o.borderRightWidth,w=o.borderTopWidth+o.borderBottomWidth,x=h&&d,W=i(e.width);W!==!1&&(o.width=W+(x?0:m+k));var L=i(e.height);return L!==!1&&(o.height=L+(x?0:v+w)),o.innerWidth=o.width-(m+k),o.innerHeight=o.height-(v+w),o.outerWidth=o.width+b,o.outerHeight=o.height+y,o}}var a,s,d,h="Webkit Moz ms Ms O".split(" "),u=document.documentElement.style,l="undefined"==typeof console?e:function(t){console.error(t)},f=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],c=!1;return o}function e(t){return i()(t)}t.component("grid",{defaults:{colwidth:"auto",animation:!0,duration:300,gutter:0,controls:!1,filter:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid]",i).each(function(){var i=t.$(this);i.data("grid")||t.grid(i,t.Utils.options(i.attr("data-uk-grid")))})})},init:function(){var i=this,e=String(this.options.gutter).trim().split(" ");this.gutterv=parseInt(e[0],10),this.gutterh=parseInt(e[1]||e[0],10),this.element.css({position:"relative"}),this.controls=null,this.options.controls&&(this.controls=t.$(this.options.controls),this.controls.on("click","[data-uk-filter]",function(e){e.preventDefault(),i.filter(t.$(this).attr("data-uk-filter"))}),this.controls.on("click","[data-uk-sort]",function(e){e.preventDefault();var n=t.$(this).attr("data-uk-sort").split(":");i.sort(n[0],n[1])})),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){i.currentfilter?i.filter(i.currentfilter):this.updateLayout()}.bind(this),100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.updateLayout()}),t.domObserve(this.element,function(){i.updateLayout()}),this.options.filter!==!1?this.filter(this.options.filter):this.updateLayout()},_prepareElements:function(){var t,i=this.element.children(":not([data-grid-prepared])");i.length&&(t={position:"absolute","box-sizing":"border-box",width:"auto"==this.options.colwidth?"":this.options.colwidth},this.options.gutter&&(t["padding-left"]=this.gutterh,t["padding-bottom"]=this.gutterv,this.element.css("margin-left",-1*this.gutterh)),i.attr("data-grid-prepared","true").css(t))},updateLayout:function(i){this._prepareElements(),i=i||this.element.children(":visible");var n,r,o,a,s,d,h,u,l=i,f=this.element.width()+2*this.gutterh+2,c=0,p=0,g=[];this.trigger("beforeupdate.uk.grid",[l]),l.each(function(){for(u=e(this),n=t.$(this),r=u.outerWidth,o=u.outerHeight,c=0,p=0,s=0,h=g.length;h>s;s++)a=g[s],c<=a.aX&&(c=a.aX),c+r>f&&(c=0),p<=a.aY&&(p=a.aY);g.push({ele:n,top:p,left:c,width:r,height:o,aY:p+o,aX:c+r})});var m,v=0;for(s=0,h=g.length;h>s;s++){for(a=g[s],p=0,d=0;s>d;d++)m=g[d],a.left<m.aX&&m.left+1<a.aX&&(p=m.aY);a.top=p,a.aY=p+a.height,v=Math.max(v,a.aY)}v-=this.gutterv,this.options.animation?(this.element.stop().animate({height:v},100),g.forEach(function(t){t.ele.stop().animate({top:t.top,left:t.left,opacity:1},this.options.duration)}.bind(this))):(this.element.css("height",v),g.forEach(function(t){t.ele.css({top:t.top,left:t.left,opacity:1})}.bind(this))),setTimeout(function(){t.$doc.trigger("scrolling.uk.document")},2*this.options.duration*(this.options.animation?1:0)),this.trigger("afterupdate.uk.grid",[l])},filter:function(i){this.currentfilter=i,i=i||[],"number"==typeof i&&(i=i.toString()),"string"==typeof i&&(i=i.split(/,/).map(function(t){return t.trim()}));var e=this,n=this.element.children(),r={visible:[],hidden:[]};n.each(function(){var e=t.$(this),n=e.attr("data-uk-filter"),o=i.length?!1:!0;n&&(n=n.split(/,/).map(function(t){return t.trim()}),i.forEach(function(t){n.indexOf(t)>-1&&(o=!0)})),r[o?"visible":"hidden"].push(e)}),r.hidden=t.$(r.hidden).map(function(){return this[0]}),r.visible=t.$(r.visible).map(function(){return this[0]}),r.hidden.attr("aria-hidden","true").filter(":visible").fadeOut(this.options.duration),r.visible.attr("aria-hidden","false").filter(":hidden").css("opacity",0).show(),e.updateLayout(r.visible),this.controls&&this.controls.length&&this.controls.find("[data-uk-filter]").removeClass("uk-active").filter('[data-uk-filter="'+i+'"]').addClass("uk-active")},sort:function(i,e){e=e||1,"string"==typeof e&&(e="desc"==e.toLowerCase()?-1:1);var n=this.element.children();n.sort(function(n,r){return n=t.$(n),r=t.$(r),(r.data(i)||"")<(n.data(i)||"")?e:-1*e}).appendTo(this.element),this.updateLayout(n.filter(":visible")),this.controls&&this.controls.length&&this.controls.find("[data-uk-sort]").removeClass("uk-active").filter('[data-uk-sort="'+i+":"+(-1==e?"desc":"asc")+'"]').addClass("uk-active")}})}); \ No newline at end of file | ||
| diff --git a/js/components/htmleditor.js b/js/components/htmleditor.js new file mode 100755 index 0000000..68b5b52 --- /dev/null +++ b/js/components/htmleditor.js | |||
| @@ -0,0 +1,679 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-htmleditor", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI) { | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var editors = []; | ||
| 21 | |||
| 22 | UI.component('htmleditor', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | iframe : false, | ||
| 26 | mode : 'split', | ||
| 27 | markdown : false, | ||
| 28 | autocomplete : true, | ||
| 29 | enablescripts: false, | ||
| 30 | height : 500, | ||
| 31 | maxsplitsize : 1000, | ||
| 32 | codemirror : { mode: 'htmlmixed', lineWrapping: true, dragDrop: false, autoCloseTags: true, matchTags: true, autoCloseBrackets: true, matchBrackets: true, indentUnit: 4, indentWithTabs: false, tabSize: 4, hintOptions: {completionSingle:false} }, | ||
| 33 | toolbar : [ 'bold', 'italic', 'strike', 'link', 'image', 'blockquote', 'listUl', 'listOl' ], | ||
| 34 | lblPreview : 'Preview', | ||
| 35 | lblCodeview : 'HTML', | ||
| 36 | lblMarkedview: 'Markdown' | ||
| 37 | }, | ||
| 38 | |||
| 39 | boot: function() { | ||
| 40 | |||
| 41 | // init code | ||
| 42 | UI.ready(function(context) { | ||
| 43 | |||
| 44 | UI.$('textarea[data-uk-htmleditor]', context).each(function() { | ||
| 45 | |||
| 46 | var editor = UI.$(this); | ||
| 47 | |||
| 48 | if (!editor.data('htmleditor')) { | ||
| 49 | UI.htmleditor(editor, UI.Utils.options(editor.attr('data-uk-htmleditor'))); | ||
| 50 | } | ||
| 51 | }); | ||
| 52 | }); | ||
| 53 | }, | ||
| 54 | |||
| 55 | init: function() { | ||
| 56 | |||
| 57 | var $this = this, tpl = UI.components.htmleditor.template; | ||
| 58 | |||
| 59 | this.CodeMirror = this.options.CodeMirror || CodeMirror; | ||
| 60 | this.buttons = {}; | ||
| 61 | |||
| 62 | tpl = tpl.replace(/\{:lblPreview}/g, this.options.lblPreview); | ||
| 63 | tpl = tpl.replace(/\{:lblCodeview}/g, this.options.lblCodeview); | ||
| 64 | |||
| 65 | this.htmleditor = UI.$(tpl); | ||
| 66 | this.content = this.htmleditor.find('.uk-htmleditor-content'); | ||
| 67 | this.toolbar = this.htmleditor.find('.uk-htmleditor-toolbar'); | ||
| 68 | this.preview = this.htmleditor.find('.uk-htmleditor-preview').children().eq(0); | ||
| 69 | this.code = this.htmleditor.find('.uk-htmleditor-code'); | ||
| 70 | |||
| 71 | this.element.before(this.htmleditor).appendTo(this.code); | ||
| 72 | this.editor = this.CodeMirror.fromTextArea(this.element[0], this.options.codemirror); | ||
| 73 | this.editor.htmleditor = this; | ||
| 74 | this.editor.on('change', UI.Utils.debounce(function() { $this.render(); }, 150)); | ||
| 75 | this.editor.on('change', function() { | ||
| 76 | $this.editor.save(); | ||
| 77 | $this.element.trigger('input'); | ||
| 78 | }); | ||
| 79 | this.code.find('.CodeMirror').css('height', this.options.height); | ||
| 80 | |||
| 81 | // iframe mode? | ||
| 82 | if (this.options.iframe) { | ||
| 83 | |||
| 84 | this.iframe = UI.$('<iframe class="uk-htmleditor-iframe" frameborder="0" scrolling="auto" height="100" width="100%"></iframe>'); | ||
| 85 | this.preview.append(this.iframe); | ||
| 86 | |||
| 87 | // must open and close document object to start using it! | ||
| 88 | this.iframe[0].contentWindow.document.open(); | ||
| 89 | this.iframe[0].contentWindow.document.close(); | ||
| 90 | |||
| 91 | this.preview.container = UI.$(this.iframe[0].contentWindow.document).find('body'); | ||
| 92 | |||
| 93 | // append custom stylesheet | ||
| 94 | if (typeof(this.options.iframe) === 'string') { | ||
| 95 | this.preview.container.parent().append('<link rel="stylesheet" href="'+this.options.iframe+'">'); | ||
| 96 | } | ||
| 97 | |||
| 98 | } else { | ||
| 99 | this.preview.container = this.preview; | ||
| 100 | } | ||
| 101 | |||
| 102 | UI.$win.on('resize load', UI.Utils.debounce(function() { $this.fit(); }, 200)); | ||
| 103 | |||
| 104 | var previewContainer = this.iframe ? this.preview.container:$this.preview.parent(), | ||
| 105 | codeContent = this.code.find('.CodeMirror-sizer'), | ||
| 106 | codeScroll = this.code.find('.CodeMirror-scroll').on('scroll', UI.Utils.debounce(function() { | ||
| 107 | |||
| 108 | if ($this.htmleditor.attr('data-mode') == 'tab') return; | ||
| 109 | |||
| 110 | // calc position | ||
| 111 | var codeHeight = codeContent.height() - codeScroll.height(), | ||
| 112 | previewHeight = previewContainer[0].scrollHeight - ($this.iframe ? $this.iframe.height() : previewContainer.height()), | ||
| 113 | ratio = previewHeight / codeHeight, | ||
| 114 | previewPosition = codeScroll.scrollTop() * ratio; | ||
| 115 | |||
| 116 | // apply new scroll | ||
| 117 | previewContainer.scrollTop(previewPosition); | ||
| 118 | |||
| 119 | }, 10)); | ||
| 120 | |||
| 121 | this.htmleditor.on('click', '.uk-htmleditor-button-code, .uk-htmleditor-button-preview', function(e) { | ||
| 122 | |||
| 123 | e.preventDefault(); | ||
| 124 | |||
| 125 | if ($this.htmleditor.attr('data-mode') == 'tab') { | ||
| 126 | |||
| 127 | $this.htmleditor.find('.uk-htmleditor-button-code, .uk-htmleditor-button-preview').removeClass('uk-active').filter(this).addClass('uk-active'); | ||
| 128 | |||
| 129 | $this.activetab = UI.$(this).hasClass('uk-htmleditor-button-code') ? 'code' : 'preview'; | ||
| 130 | $this.htmleditor.attr('data-active-tab', $this.activetab); | ||
| 131 | $this.editor.refresh(); | ||
| 132 | } | ||
| 133 | }); | ||
| 134 | |||
| 135 | // toolbar actions | ||
| 136 | this.htmleditor.on('click', 'a[data-htmleditor-button]', function() { | ||
| 137 | |||
| 138 | if (!$this.code.is(':visible')) return; | ||
| 139 | |||
| 140 | $this.trigger('action.' + UI.$(this).data('htmleditor-button'), [$this.editor]); | ||
| 141 | }); | ||
| 142 | |||
| 143 | this.preview.parent().css('height', this.code.height()); | ||
| 144 | |||
| 145 | // autocomplete | ||
| 146 | if (this.options.autocomplete && this.CodeMirror.showHint && this.CodeMirror.hint && this.CodeMirror.hint.html) { | ||
| 147 | |||
| 148 | this.editor.on('inputRead', UI.Utils.debounce(function() { | ||
| 149 | var doc = $this.editor.getDoc(), POS = doc.getCursor(), mode = $this.CodeMirror.innerMode($this.editor.getMode(), $this.editor.getTokenAt(POS).state).mode.name; | ||
| 150 | |||
| 151 | if (mode == 'xml') { //html depends on xml | ||
| 152 | |||
| 153 | var cur = $this.editor.getCursor(), token = $this.editor.getTokenAt(cur); | ||
| 154 | |||
| 155 | if (token.string.charAt(0) == '<' || token.type == 'attribute') { | ||
| 156 | $this.CodeMirror.showHint($this.editor, $this.CodeMirror.hint.html, { completeSingle: false }); | ||
| 157 | } | ||
| 158 | } | ||
| 159 | }, 100)); | ||
| 160 | } | ||
| 161 | |||
| 162 | this.debouncedRedraw = UI.Utils.debounce(function () { $this.redraw(); }, 5); | ||
| 163 | |||
| 164 | this.on('init.uk.component', function() { | ||
| 165 | $this.debouncedRedraw(); | ||
| 166 | }); | ||
| 167 | |||
| 168 | this.element.attr('data-uk-check-display', 1).on('display.uk.check', function(e) { | ||
| 169 | if (this.htmleditor.is(":visible")) this.fit(); | ||
| 170 | }.bind(this)); | ||
| 171 | |||
| 172 | editors.push(this); | ||
| 173 | }, | ||
| 174 | |||
| 175 | addButton: function(name, button) { | ||
| 176 | this.buttons[name] = button; | ||
| 177 | }, | ||
| 178 | |||
| 179 | addButtons: function(buttons) { | ||
| 180 | UI.$.extend(this.buttons, buttons); | ||
| 181 | }, | ||
| 182 | |||
| 183 | replaceInPreview: function(regexp, callback) { | ||
| 184 | |||
| 185 | var editor = this.editor, results = [], value = editor.getValue(), offset = -1, index = 0; | ||
| 186 | |||
| 187 | this.currentvalue = this.currentvalue.replace(regexp, function() { | ||
| 188 | |||
| 189 | offset = value.indexOf(arguments[0], ++offset); | ||
| 190 | |||
| 191 | var match = { | ||
| 192 | matches: arguments, | ||
| 193 | from : translateOffset(offset), | ||
| 194 | to : translateOffset(offset + arguments[0].length), | ||
| 195 | replace: function(value) { | ||
| 196 | editor.replaceRange(value, match.from, match.to); | ||
| 197 | }, | ||
| 198 | inRange: function(cursor) { | ||
| 199 | |||
| 200 | if (cursor.line === match.from.line && cursor.line === match.to.line) { | ||
| 201 | return cursor.ch >= match.from.ch && cursor.ch < match.to.ch; | ||
| 202 | } | ||
| 203 | |||
| 204 | return (cursor.line === match.from.line && cursor.ch >= match.from.ch) || | ||
| 205 | (cursor.line > match.from.line && cursor.line < match.to.line) || | ||
| 206 | (cursor.line === match.to.line && cursor.ch < match.to.ch); | ||
| 207 | } | ||
| 208 | }; | ||
| 209 | |||
| 210 | var result = typeof(callback) === 'string' ? callback : callback(match, index); | ||
| 211 | |||
| 212 | if (!result && result !== '') { | ||
| 213 | return arguments[0]; | ||
| 214 | } | ||
| 215 | |||
| 216 | index++; | ||
| 217 | |||
| 218 | results.push(match); | ||
| 219 | return result; | ||
| 220 | }); | ||
| 221 | |||
| 222 | function translateOffset(offset) { | ||
| 223 | var result = editor.getValue().substring(0, offset).split('\n'); | ||
| 224 | return { line: result.length - 1, ch: result[result.length - 1].length } | ||
| 225 | } | ||
| 226 | |||
| 227 | return results; | ||
| 228 | }, | ||
| 229 | |||
| 230 | _buildtoolbar: function() { | ||
| 231 | |||
| 232 | if (!(this.options.toolbar && this.options.toolbar.length)) return; | ||
| 233 | |||
| 234 | var $this = this, bar = []; | ||
| 235 | |||
| 236 | this.toolbar.empty(); | ||
| 237 | |||
| 238 | this.options.toolbar.forEach(function(button) { | ||
| 239 | if (!$this.buttons[button]) return; | ||
| 240 | |||
| 241 | var title = $this.buttons[button].title ? $this.buttons[button].title : button; | ||
| 242 | |||
| 243 | bar.push('<li><a data-htmleditor-button="'+button+'" title="'+title+'" data-uk-tooltip>'+$this.buttons[button].label+'</a></li>'); | ||
| 244 | }); | ||
| 245 | |||
| 246 | this.toolbar.html(bar.join('\n')); | ||
| 247 | }, | ||
| 248 | |||
| 249 | fit: function() { | ||
| 250 | |||
| 251 | var mode = this.options.mode; | ||
| 252 | |||
| 253 | if (mode == 'split' && this.htmleditor.width() < this.options.maxsplitsize) { | ||
| 254 | mode = 'tab'; | ||
| 255 | } | ||
| 256 | |||
| 257 | if (mode == 'tab') { | ||
| 258 | if (!this.activetab) { | ||
| 259 | this.activetab = 'code'; | ||
| 260 | this.htmleditor.attr('data-active-tab', this.activetab); | ||
| 261 | } | ||
| 262 | |||
| 263 | this.htmleditor.find('.uk-htmleditor-button-code, .uk-htmleditor-button-preview').removeClass('uk-active') | ||
| 264 | .filter(this.activetab == 'code' ? '.uk-htmleditor-button-code' : '.uk-htmleditor-button-preview') | ||
| 265 | .addClass('uk-active'); | ||
| 266 | } | ||
| 267 | |||
| 268 | this.editor.refresh(); | ||
| 269 | this.preview.parent().css('height', this.code.height()); | ||
| 270 | |||
| 271 | this.htmleditor.attr('data-mode', mode); | ||
| 272 | }, | ||
| 273 | |||
| 274 | redraw: function() { | ||
| 275 | this._buildtoolbar(); | ||
| 276 | this.render(); | ||
| 277 | this.fit(); | ||
| 278 | }, | ||
| 279 | |||
| 280 | getMode: function() { | ||
| 281 | return this.editor.getOption('mode'); | ||
| 282 | }, | ||
| 283 | |||
| 284 | getCursorMode: function() { | ||
| 285 | var param = { mode: 'html'}; | ||
| 286 | this.trigger('cursorMode', [param]); | ||
| 287 | return param.mode; | ||
| 288 | }, | ||
| 289 | |||
| 290 | render: function() { | ||
| 291 | |||
| 292 | this.currentvalue = this.editor.getValue(); | ||
| 293 | |||
| 294 | if (!this.options.enablescripts) { | ||
| 295 | this.currentvalue = this.currentvalue.replace(/<(script|style)\b[^<]*(?:(?!<\/(script|style)>)<[^<]*)*<\/(script|style)>/img, ''); | ||
| 296 | } | ||
| 297 | |||
| 298 | // empty code | ||
| 299 | if (!this.currentvalue) { | ||
| 300 | |||
| 301 | this.element.val(''); | ||
| 302 | this.preview.container.html(''); | ||
| 303 | |||
| 304 | return; | ||
| 305 | } | ||
| 306 | |||
| 307 | this.trigger('render', [this]); | ||
| 308 | this.trigger('renderLate', [this]); | ||
| 309 | |||
| 310 | this.preview.container.html(this.currentvalue); | ||
| 311 | }, | ||
| 312 | |||
| 313 | addShortcut: function(name, callback) { | ||
| 314 | var map = {}; | ||
| 315 | if (!UI.$.isArray(name)) { | ||
| 316 | name = [name]; | ||
| 317 | } | ||
| 318 | |||
| 319 | name.forEach(function(key) { | ||
| 320 | map[key] = callback; | ||
| 321 | }); | ||
| 322 | |||
| 323 | this.editor.addKeyMap(map); | ||
| 324 | |||
| 325 | return map; | ||
| 326 | }, | ||
| 327 | |||
| 328 | addShortcutAction: function(action, shortcuts) { | ||
| 329 | var editor = this; | ||
| 330 | this.addShortcut(shortcuts, function() { | ||
| 331 | editor.element.trigger('action.' + action, [editor.editor]); | ||
| 332 | }); | ||
| 333 | }, | ||
| 334 | |||
| 335 | replaceSelection: function(replace) { | ||
| 336 | |||
| 337 | var text = this.editor.getSelection(); | ||
| 338 | |||
| 339 | if (!text.length) { | ||
| 340 | |||
| 341 | var cur = this.editor.getCursor(), | ||
| 342 | curLine = this.editor.getLine(cur.line), | ||
| 343 | start = cur.ch, | ||
| 344 | end = start; | ||
| 345 | |||
| 346 | while (end < curLine.length && /[\w$]+/.test(curLine.charAt(end))) ++end; | ||
| 347 | while (start && /[\w$]+/.test(curLine.charAt(start - 1))) --start; | ||
| 348 | |||
| 349 | var curWord = start != end && curLine.slice(start, end); | ||
| 350 | |||
| 351 | if (curWord) { | ||
| 352 | this.editor.setSelection({ line: cur.line, ch: start}, { line: cur.line, ch: end }); | ||
| 353 | text = curWord; | ||
| 354 | } | ||
| 355 | } | ||
| 356 | |||
| 357 | var html = replace.replace('$1', text); | ||
| 358 | |||
| 359 | this.editor.replaceSelection(html, 'end'); | ||
| 360 | this.editor.focus(); | ||
| 361 | }, | ||
| 362 | |||
| 363 | replaceLine: function(replace) { | ||
| 364 | var pos = this.editor.getDoc().getCursor(), | ||
| 365 | text = this.editor.getLine(pos.line), | ||
| 366 | html = replace.replace('$1', text); | ||
| 367 | |||
| 368 | this.editor.replaceRange(html , { line: pos.line, ch: 0 }, { line: pos.line, ch: text.length }); | ||
| 369 | this.editor.setCursor({ line: pos.line, ch: html.length }); | ||
| 370 | this.editor.focus(); | ||
| 371 | }, | ||
| 372 | |||
| 373 | save: function() { | ||
| 374 | this.editor.save(); | ||
| 375 | } | ||
| 376 | }); | ||
| 377 | |||
| 378 | |||
| 379 | UI.components.htmleditor.template = [ | ||
| 380 | '<div class="uk-htmleditor uk-clearfix" data-mode="split">', | ||
| 381 | '<div class="uk-htmleditor-navbar">', | ||
| 382 | '<ul class="uk-htmleditor-navbar-nav uk-htmleditor-toolbar"></ul>', | ||
| 383 | '<div class="uk-htmleditor-navbar-flip">', | ||
| 384 | '<ul class="uk-htmleditor-navbar-nav">', | ||
| 385 | '<li class="uk-htmleditor-button-code"><a>{:lblCodeview}</a></li>', | ||
| 386 | '<li class="uk-htmleditor-button-preview"><a>{:lblPreview}</a></li>', | ||
| 387 | '<li><a data-htmleditor-button="fullscreen"><i class="uk-icon-expand"></i></a></li>', | ||
| 388 | '</ul>', | ||
| 389 | '</div>', | ||
| 390 | '</div>', | ||
| 391 | '<div class="uk-htmleditor-content">', | ||
| 392 | '<div class="uk-htmleditor-code"></div>', | ||
| 393 | '<div class="uk-htmleditor-preview"><div></div></div>', | ||
| 394 | '</div>', | ||
| 395 | '</div>' | ||
| 396 | ].join(''); | ||
| 397 | |||
| 398 | |||
| 399 | UI.plugin('htmleditor', 'base', { | ||
| 400 | |||
| 401 | init: function(editor) { | ||
| 402 | |||
| 403 | editor.addButtons({ | ||
| 404 | |||
| 405 | fullscreen: { | ||
| 406 | title : 'Fullscreen', | ||
| 407 | label : '<i class="uk-icon-expand"></i>' | ||
| 408 | }, | ||
| 409 | bold : { | ||
| 410 | title : 'Bold', | ||
| 411 | label : '<i class="uk-icon-bold"></i>' | ||
| 412 | }, | ||
| 413 | italic : { | ||
| 414 | title : 'Italic', | ||
| 415 | label : '<i class="uk-icon-italic"></i>' | ||
| 416 | }, | ||
| 417 | strike : { | ||
| 418 | title : 'Strikethrough', | ||
| 419 | label : '<i class="uk-icon-strikethrough"></i>' | ||
| 420 | }, | ||
| 421 | blockquote : { | ||
| 422 | title : 'Blockquote', | ||
| 423 | label : '<i class="uk-icon-quote-right"></i>' | ||
| 424 | }, | ||
| 425 | link : { | ||
| 426 | title : 'Link', | ||
| 427 | label : '<i class="uk-icon-link"></i>' | ||
| 428 | }, | ||
| 429 | image : { | ||
| 430 | title : 'Image', | ||
| 431 | label : '<i class="uk-icon-picture-o"></i>' | ||
| 432 | }, | ||
| 433 | listUl : { | ||
| 434 | title : 'Unordered List', | ||
| 435 | label : '<i class="uk-icon-list-ul"></i>' | ||
| 436 | }, | ||
| 437 | listOl : { | ||
| 438 | title : 'Ordered List', | ||
| 439 | label : '<i class="uk-icon-list-ol"></i>' | ||
| 440 | } | ||
| 441 | |||
| 442 | }); | ||
| 443 | |||
| 444 | addAction('bold', '<strong>$1</strong>'); | ||
| 445 | addAction('italic', '<em>$1</em>'); | ||
| 446 | addAction('strike', '<del>$1</del>'); | ||
| 447 | addAction('blockquote', '<blockquote><p>$1</p></blockquote>', 'replaceLine'); | ||
| 448 | addAction('link', '<a href="http://">$1</a>'); | ||
| 449 | addAction('image', '<img src="http://" alt="$1">'); | ||
| 450 | |||
| 451 | var listfn = function(tag) { | ||
| 452 | if (editor.getCursorMode() == 'html') { | ||
| 453 | |||
| 454 | tag = tag || 'ul'; | ||
| 455 | |||
| 456 | var cm = editor.editor, | ||
| 457 | doc = cm.getDoc(), | ||
| 458 | pos = doc.getCursor(true), | ||
| 459 | posend = doc.getCursor(false), | ||
| 460 | im = CodeMirror.innerMode(cm.getMode(), cm.getTokenAt(cm.getCursor()).state), | ||
| 461 | inList = im && im.state && im.state.context && ['ul','ol'].indexOf(im.state.context.tagName) != -1; | ||
| 462 | |||
| 463 | for (var i=pos.line; i<(posend.line+1);i++) { | ||
| 464 | cm.replaceRange('<li>'+cm.getLine(i)+'</li>', { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); | ||
| 465 | } | ||
| 466 | |||
| 467 | if (!inList) { | ||
| 468 | cm.replaceRange('<'+tag+'>'+"\n"+cm.getLine(pos.line), { line: pos.line, ch: 0 }, { line: pos.line, ch: cm.getLine(pos.line).length }); | ||
| 469 | cm.replaceRange(cm.getLine((posend.line+1))+"\n"+'</'+tag+'>', { line: (posend.line+1), ch: 0 }, { line: (posend.line+1), ch: cm.getLine((posend.line+1)).length }); | ||
| 470 | cm.setCursor({ line: posend.line+1, ch: cm.getLine(posend.line+1).length }); | ||
| 471 | } else { | ||
| 472 | cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); | ||
| 473 | } | ||
| 474 | |||
| 475 | cm.focus(); | ||
| 476 | } | ||
| 477 | }; | ||
| 478 | |||
| 479 | editor.on('action.listUl', function() { | ||
| 480 | listfn('ul'); | ||
| 481 | }); | ||
| 482 | |||
| 483 | editor.on('action.listOl', function() { | ||
| 484 | listfn('ol'); | ||
| 485 | }); | ||
| 486 | |||
| 487 | editor.htmleditor.on('click', 'a[data-htmleditor-button="fullscreen"]', function() { | ||
| 488 | |||
| 489 | editor.htmleditor.toggleClass('uk-htmleditor-fullscreen'); | ||
| 490 | |||
| 491 | var wrap = editor.editor.getWrapperElement(); | ||
| 492 | |||
| 493 | if (editor.htmleditor.hasClass('uk-htmleditor-fullscreen')) { | ||
| 494 | |||
| 495 | var fixedParent = false, parents = editor.htmleditor.parents().each(function(){ | ||
| 496 | if (UI.$(this).css('position')=='fixed' && !UI.$(this).is('html')) { | ||
| 497 | fixedParent = UI.$(this); | ||
| 498 | } | ||
| 499 | }); | ||
| 500 | |||
| 501 | editor.htmleditor.data('fixedParents', false); | ||
| 502 | |||
| 503 | if (fixedParent) { | ||
| 504 | |||
| 505 | var transformed = []; | ||
| 506 | |||
| 507 | fixedParent = fixedParent.parent().find(parents).each(function(){ | ||
| 508 | |||
| 509 | if (UI.$(this).css('transform') != 'none') { | ||
| 510 | transformed.push(UI.$(this).data('transform-reset', { | ||
| 511 | 'transform': this.style.transform, | ||
| 512 | '-webkit-transform': this.style.webkitTransform, | ||
| 513 | '-webkit-transition':this.style.webkitTransition, | ||
| 514 | 'transition':this.style.transition | ||
| 515 | }).css({ | ||
| 516 | 'transform': 'none', | ||
| 517 | '-webkit-transform': 'none', | ||
| 518 | '-webkit-transition':'none', | ||
| 519 | 'transition':'none' | ||
| 520 | })); | ||
| 521 | } | ||
| 522 | }); | ||
| 523 | |||
| 524 | editor.htmleditor.data('fixedParents', transformed); | ||
| 525 | } | ||
| 526 | |||
| 527 | editor.editor.state.fullScreenRestore = {scrollTop: window.pageYOffset, scrollLeft: window.pageXOffset, width: wrap.style.width, height: wrap.style.height}; | ||
| 528 | wrap.style.width = ''; | ||
| 529 | wrap.style.height = editor.content.height()+'px'; | ||
| 530 | document.documentElement.style.overflow = 'hidden'; | ||
| 531 | |||
| 532 | } else { | ||
| 533 | |||
| 534 | document.documentElement.style.overflow = ''; | ||
| 535 | var info = editor.editor.state.fullScreenRestore; | ||
| 536 | wrap.style.width = info.width; wrap.style.height = info.height; | ||
| 537 | window.scrollTo(info.scrollLeft, info.scrollTop); | ||
| 538 | |||
| 539 | if (editor.htmleditor.data('fixedParents')) { | ||
| 540 | editor.htmleditor.data('fixedParents').forEach(function(parent){ | ||
| 541 | parent.css(parent.data('transform-reset')); | ||
| 542 | }); | ||
| 543 | } | ||
| 544 | } | ||
| 545 | |||
| 546 | setTimeout(function() { | ||
| 547 | editor.fit(); | ||
| 548 | UI.$win.trigger('resize'); | ||
| 549 | }, 50); | ||
| 550 | }); | ||
| 551 | |||
| 552 | editor.addShortcut(['Ctrl-S', 'Cmd-S'], function() { editor.element.trigger('htmleditor-save', [editor]); }); | ||
| 553 | editor.addShortcutAction('bold', ['Ctrl-B', 'Cmd-B']); | ||
| 554 | |||
| 555 | function addAction(name, replace, mode) { | ||
| 556 | editor.on('action.'+name, function() { | ||
| 557 | if (editor.getCursorMode() == 'html') { | ||
| 558 | editor[mode == 'replaceLine' ? 'replaceLine' : 'replaceSelection'](replace); | ||
| 559 | } | ||
| 560 | }); | ||
| 561 | } | ||
| 562 | } | ||
| 563 | }); | ||
| 564 | |||
| 565 | UI.plugin('htmleditor', 'markdown', { | ||
| 566 | |||
| 567 | init: function(editor) { | ||
| 568 | |||
| 569 | var parser = editor.options.mdparser || window.marked || null; | ||
| 570 | |||
| 571 | if (!parser) return; | ||
| 572 | |||
| 573 | if (editor.options.markdown) { | ||
| 574 | enableMarkdown(); | ||
| 575 | } | ||
| 576 | |||
| 577 | addAction('bold', '**$1**'); | ||
| 578 | addAction('italic', '*$1*'); | ||
| 579 | addAction('strike', '~~$1~~'); | ||
| 580 | addAction('blockquote', '> $1', 'replaceLine'); | ||
| 581 | addAction('link', '[$1](http://)'); | ||
| 582 | addAction('image', ''); | ||
| 583 | |||
| 584 | editor.on('action.listUl', function() { | ||
| 585 | |||
| 586 | if (editor.getCursorMode() == 'markdown') { | ||
| 587 | |||
| 588 | var cm = editor.editor, | ||
| 589 | pos = cm.getDoc().getCursor(true), | ||
| 590 | posend = cm.getDoc().getCursor(false); | ||
| 591 | |||
| 592 | for (var i=pos.line; i<(posend.line+1);i++) { | ||
| 593 | cm.replaceRange('* '+cm.getLine(i), { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); | ||
| 594 | } | ||
| 595 | |||
| 596 | cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); | ||
| 597 | cm.focus(); | ||
| 598 | } | ||
| 599 | }); | ||
| 600 | |||
| 601 | editor.on('action.listOl', function() { | ||
| 602 | |||
| 603 | if (editor.getCursorMode() == 'markdown') { | ||
| 604 | |||
| 605 | var cm = editor.editor, | ||
| 606 | pos = cm.getDoc().getCursor(true), | ||
| 607 | posend = cm.getDoc().getCursor(false), | ||
| 608 | prefix = 1; | ||
| 609 | |||
| 610 | if (pos.line > 0) { | ||
| 611 | var prevline = cm.getLine(pos.line-1), matches; | ||
| 612 | |||
| 613 | if(matches = prevline.match(/^(\d+)\./)) { | ||
| 614 | prefix = Number(matches[1])+1; | ||
| 615 | } | ||
| 616 | } | ||
| 617 | |||
| 618 | for (var i=pos.line; i<(posend.line+1);i++) { | ||
| 619 | cm.replaceRange(prefix+'. '+cm.getLine(i), { line: i, ch: 0 }, { line: i, ch: cm.getLine(i).length }); | ||
| 620 | prefix++; | ||
| 621 | } | ||
| 622 | |||
| 623 | cm.setCursor({ line: posend.line, ch: cm.getLine(posend.line).length }); | ||
| 624 | cm.focus(); | ||
| 625 | } | ||
| 626 | }); | ||
| 627 | |||
| 628 | editor.on('renderLate', function() { | ||
| 629 | if (editor.editor.options.mode == 'gfm') { | ||
| 630 | editor.currentvalue = parser(editor.currentvalue); | ||
| 631 | } | ||
| 632 | }); | ||
| 633 | |||
| 634 | editor.on('cursorMode', function(e, param) { | ||
| 635 | if (editor.editor.options.mode == 'gfm') { | ||
| 636 | var pos = editor.editor.getDoc().getCursor(); | ||
| 637 | if (!editor.editor.getTokenAt(pos).state.base.htmlState) { | ||
| 638 | param.mode = 'markdown'; | ||
| 639 | } | ||
| 640 | } | ||
| 641 | }); | ||
| 642 | |||
| 643 | UI.$.extend(editor, { | ||
| 644 | |||
| 645 | enableMarkdown: function() { | ||
| 646 | enableMarkdown(); | ||
| 647 | this.render(); | ||
| 648 | }, | ||
| 649 | disableMarkdown: function() { | ||
| 650 | this.editor.setOption('mode', 'htmlmixed'); | ||
| 651 | this.htmleditor.find('.uk-htmleditor-button-code a').html(this.options.lblCodeview); | ||
| 652 | this.render(); | ||
| 653 | } | ||
| 654 | |||
| 655 | }); | ||
| 656 | |||
| 657 | // switch markdown mode on event | ||
| 658 | editor.on({ | ||
| 659 | enableMarkdown : function() { editor.enableMarkdown(); }, | ||
| 660 | disableMarkdown : function() { editor.disableMarkdown(); } | ||
| 661 | }); | ||
| 662 | |||
| 663 | function enableMarkdown() { | ||
| 664 | editor.editor.setOption('mode', 'gfm'); | ||
| 665 | editor.htmleditor.find('.uk-htmleditor-button-code a').html(editor.options.lblMarkedview); | ||
| 666 | } | ||
| 667 | |||
| 668 | function addAction(name, replace, mode) { | ||
| 669 | editor.on('action.'+name, function() { | ||
| 670 | if (editor.getCursorMode() == 'markdown') { | ||
| 671 | editor[mode == 'replaceLine' ? 'replaceLine' : 'replaceSelection'](replace); | ||
| 672 | } | ||
| 673 | }); | ||
| 674 | } | ||
| 675 | } | ||
| 676 | }); | ||
| 677 | |||
| 678 | return UI.htmleditor; | ||
| 679 | }); | ||
| diff --git a/js/components/htmleditor.min.js b/js/components/htmleditor.min.js new file mode 100755 index 0000000..a62f47e --- /dev/null +++ b/js/components/htmleditor.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-htmleditor",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e=[];return t.component("htmleditor",{defaults:{iframe:!1,mode:"split",markdown:!1,autocomplete:!0,enablescripts:!1,height:500,maxsplitsize:1e3,codemirror:{mode:"htmlmixed",lineWrapping:!0,dragDrop:!1,autoCloseTags:!0,matchTags:!0,autoCloseBrackets:!0,matchBrackets:!0,indentUnit:4,indentWithTabs:!1,tabSize:4,hintOptions:{completionSingle:!1}},toolbar:["bold","italic","strike","link","image","blockquote","listUl","listOl"],lblPreview:"Preview",lblCodeview:"HTML",lblMarkedview:"Markdown"},boot:function(){t.ready(function(e){t.$("textarea[data-uk-htmleditor]",e).each(function(){var e=t.$(this);e.data("htmleditor")||t.htmleditor(e,t.Utils.options(e.attr("data-uk-htmleditor")))})})},init:function(){var i=this,o=t.components.htmleditor.template;this.CodeMirror=this.options.CodeMirror||CodeMirror,this.buttons={},o=o.replace(/\{:lblPreview}/g,this.options.lblPreview),o=o.replace(/\{:lblCodeview}/g,this.options.lblCodeview),this.htmleditor=t.$(o),this.content=this.htmleditor.find(".uk-htmleditor-content"),this.toolbar=this.htmleditor.find(".uk-htmleditor-toolbar"),this.preview=this.htmleditor.find(".uk-htmleditor-preview").children().eq(0),this.code=this.htmleditor.find(".uk-htmleditor-code"),this.element.before(this.htmleditor).appendTo(this.code),this.editor=this.CodeMirror.fromTextArea(this.element[0],this.options.codemirror),this.editor.htmleditor=this,this.editor.on("change",t.Utils.debounce(function(){i.render()},150)),this.editor.on("change",function(){i.editor.save(),i.element.trigger("input")}),this.code.find(".CodeMirror").css("height",this.options.height),this.options.iframe?(this.iframe=t.$('<iframe class="uk-htmleditor-iframe" frameborder="0" scrolling="auto" height="100" width="100%"></iframe>'),this.preview.append(this.iframe),this.iframe[0].contentWindow.document.open(),this.iframe[0].contentWindow.document.close(),this.preview.container=t.$(this.iframe[0].contentWindow.document).find("body"),"string"==typeof this.options.iframe&&this.preview.container.parent().append('<link rel="stylesheet" href="'+this.options.iframe+'">')):this.preview.container=this.preview,t.$win.on("resize load",t.Utils.debounce(function(){i.fit()},200));var n=this.iframe?this.preview.container:i.preview.parent(),r=this.code.find(".CodeMirror-sizer"),l=this.code.find(".CodeMirror-scroll").on("scroll",t.Utils.debounce(function(){if("tab"!=i.htmleditor.attr("data-mode")){var t=r.height()-l.height(),e=n[0].scrollHeight-(i.iframe?i.iframe.height():n.height()),o=e/t,s=l.scrollTop()*o;n.scrollTop(s)}},10));this.htmleditor.on("click",".uk-htmleditor-button-code, .uk-htmleditor-button-preview",function(e){e.preventDefault(),"tab"==i.htmleditor.attr("data-mode")&&(i.htmleditor.find(".uk-htmleditor-button-code, .uk-htmleditor-button-preview").removeClass("uk-active").filter(this).addClass("uk-active"),i.activetab=t.$(this).hasClass("uk-htmleditor-button-code")?"code":"preview",i.htmleditor.attr("data-active-tab",i.activetab),i.editor.refresh())}),this.htmleditor.on("click","a[data-htmleditor-button]",function(){i.code.is(":visible")&&i.trigger("action."+t.$(this).data("htmleditor-button"),[i.editor])}),this.preview.parent().css("height",this.code.height()),this.options.autocomplete&&this.CodeMirror.showHint&&this.CodeMirror.hint&&this.CodeMirror.hint.html&&this.editor.on("inputRead",t.Utils.debounce(function(){var t=i.editor.getDoc(),e=t.getCursor(),o=i.CodeMirror.innerMode(i.editor.getMode(),i.editor.getTokenAt(e).state).mode.name;if("xml"==o){var n=i.editor.getCursor(),r=i.editor.getTokenAt(n);("<"==r.string.charAt(0)||"attribute"==r.type)&&i.CodeMirror.showHint(i.editor,i.CodeMirror.hint.html,{completeSingle:!1})}},100)),this.debouncedRedraw=t.Utils.debounce(function(){i.redraw()},5),this.on("init.uk.component",function(){i.debouncedRedraw()}),this.element.attr("data-uk-check-display",1).on("display.uk.check",function(){this.htmleditor.is(":visible")&&this.fit()}.bind(this)),e.push(this)},addButton:function(t,e){this.buttons[t]=e},addButtons:function(e){t.$.extend(this.buttons,e)},replaceInPreview:function(t,e){function i(t){var e=o.getValue().substring(0,t).split("\n");return{line:e.length-1,ch:e[e.length-1].length}}var o=this.editor,n=[],r=o.getValue(),l=-1,s=0;return this.currentvalue=this.currentvalue.replace(t,function(){l=r.indexOf(arguments[0],++l);var t={matches:arguments,from:i(l),to:i(l+arguments[0].length),replace:function(e){o.replaceRange(e,t.from,t.to)},inRange:function(e){return e.line===t.from.line&&e.line===t.to.line?e.ch>=t.from.ch&&e.ch<t.to.ch:e.line===t.from.line&&e.ch>=t.from.ch||e.line>t.from.line&&e.line<t.to.line||e.line===t.to.line&&e.ch<t.to.ch}},a="string"==typeof e?e:e(t,s);return a||""===a?(s++,n.push(t),a):arguments[0]}),n},_buildtoolbar:function(){if(this.options.toolbar&&this.options.toolbar.length){var t=this,e=[];this.toolbar.empty(),this.options.toolbar.forEach(function(i){if(t.buttons[i]){var o=t.buttons[i].title?t.buttons[i].title:i;e.push('<li><a data-htmleditor-button="'+i+'" title="'+o+'" data-uk-tooltip>'+t.buttons[i].label+"</a></li>")}}),this.toolbar.html(e.join("\n"))}},fit:function(){var t=this.options.mode;"split"==t&&this.htmleditor.width()<this.options.maxsplitsize&&(t="tab"),"tab"==t&&(this.activetab||(this.activetab="code",this.htmleditor.attr("data-active-tab",this.activetab)),this.htmleditor.find(".uk-htmleditor-button-code, .uk-htmleditor-button-preview").removeClass("uk-active").filter("code"==this.activetab?".uk-htmleditor-button-code":".uk-htmleditor-button-preview").addClass("uk-active")),this.editor.refresh(),this.preview.parent().css("height",this.code.height()),this.htmleditor.attr("data-mode",t)},redraw:function(){this._buildtoolbar(),this.render(),this.fit()},getMode:function(){return this.editor.getOption("mode")},getCursorMode:function(){var t={mode:"html"};return this.trigger("cursorMode",[t]),t.mode},render:function(){return this.currentvalue=this.editor.getValue(),this.options.enablescripts||(this.currentvalue=this.currentvalue.replace(/<(script|style)\b[^<]*(?:(?!<\/(script|style)>)<[^<]*)*<\/(script|style)>/gim,"")),this.currentvalue?(this.trigger("render",[this]),this.trigger("renderLate",[this]),this.preview.container.html(this.currentvalue),void 0):(this.element.val(""),this.preview.container.html(""),void 0)},addShortcut:function(e,i){var o={};return t.$.isArray(e)||(e=[e]),e.forEach(function(t){o[t]=i}),this.editor.addKeyMap(o),o},addShortcutAction:function(t,e){var i=this;this.addShortcut(e,function(){i.element.trigger("action."+t,[i.editor])})},replaceSelection:function(t){var e=this.editor.getSelection();if(!e.length){for(var i=this.editor.getCursor(),o=this.editor.getLine(i.line),n=i.ch,r=n;r<o.length&&/[\w$]+/.test(o.charAt(r));)++r;for(;n&&/[\w$]+/.test(o.charAt(n-1));)--n;var l=n!=r&&o.slice(n,r);l&&(this.editor.setSelection({line:i.line,ch:n},{line:i.line,ch:r}),e=l)}var s=t.replace("$1",e);this.editor.replaceSelection(s,"end"),this.editor.focus()},replaceLine:function(t){var e=this.editor.getDoc().getCursor(),i=this.editor.getLine(e.line),o=t.replace("$1",i);this.editor.replaceRange(o,{line:e.line,ch:0},{line:e.line,ch:i.length}),this.editor.setCursor({line:e.line,ch:o.length}),this.editor.focus()},save:function(){this.editor.save()}}),t.components.htmleditor.template=['<div class="uk-htmleditor uk-clearfix" data-mode="split">','<div class="uk-htmleditor-navbar">','<ul class="uk-htmleditor-navbar-nav uk-htmleditor-toolbar"></ul>','<div class="uk-htmleditor-navbar-flip">','<ul class="uk-htmleditor-navbar-nav">','<li class="uk-htmleditor-button-code"><a>{:lblCodeview}</a></li>','<li class="uk-htmleditor-button-preview"><a>{:lblPreview}</a></li>','<li><a data-htmleditor-button="fullscreen"><i class="uk-icon-expand"></i></a></li>',"</ul>","</div>","</div>",'<div class="uk-htmleditor-content">','<div class="uk-htmleditor-code"></div>','<div class="uk-htmleditor-preview"><div></div></div>',"</div>","</div>"].join(""),t.plugin("htmleditor","base",{init:function(e){function i(t,i,o){e.on("action."+t,function(){"html"==e.getCursorMode()&&e["replaceLine"==o?"replaceLine":"replaceSelection"](i)})}e.addButtons({fullscreen:{title:"Fullscreen",label:'<i class="uk-icon-expand"></i>'},bold:{title:"Bold",label:'<i class="uk-icon-bold"></i>'},italic:{title:"Italic",label:'<i class="uk-icon-italic"></i>'},strike:{title:"Strikethrough",label:'<i class="uk-icon-strikethrough"></i>'},blockquote:{title:"Blockquote",label:'<i class="uk-icon-quote-right"></i>'},link:{title:"Link",label:'<i class="uk-icon-link"></i>'},image:{title:"Image",label:'<i class="uk-icon-picture-o"></i>'},listUl:{title:"Unordered List",label:'<i class="uk-icon-list-ul"></i>'},listOl:{title:"Ordered List",label:'<i class="uk-icon-list-ol"></i>'}}),i("bold","<strong>$1</strong>"),i("italic","<em>$1</em>"),i("strike","<del>$1</del>"),i("blockquote","<blockquote><p>$1</p></blockquote>","replaceLine"),i("link",'<a href="http://">$1</a>'),i("image",'<img src="http://" alt="$1">');var o=function(t){if("html"==e.getCursorMode()){t=t||"ul";for(var i=e.editor,o=i.getDoc(),n=o.getCursor(!0),r=o.getCursor(!1),l=CodeMirror.innerMode(i.getMode(),i.getTokenAt(i.getCursor()).state),s=l&&l.state&&l.state.context&&-1!=["ul","ol"].indexOf(l.state.context.tagName),a=n.line;a<r.line+1;a++)i.replaceRange("<li>"+i.getLine(a)+"</li>",{line:a,ch:0},{line:a,ch:i.getLine(a).length});s?i.setCursor({line:r.line,ch:i.getLine(r.line).length}):(i.replaceRange("<"+t+">\n"+i.getLine(n.line),{line:n.line,ch:0},{line:n.line,ch:i.getLine(n.line).length}),i.replaceRange(i.getLine(r.line+1)+"\n</"+t+">",{line:r.line+1,ch:0},{line:r.line+1,ch:i.getLine(r.line+1).length}),i.setCursor({line:r.line+1,ch:i.getLine(r.line+1).length})),i.focus()}};e.on("action.listUl",function(){o("ul")}),e.on("action.listOl",function(){o("ol")}),e.htmleditor.on("click",'a[data-htmleditor-button="fullscreen"]',function(){e.htmleditor.toggleClass("uk-htmleditor-fullscreen");var i=e.editor.getWrapperElement();if(e.htmleditor.hasClass("uk-htmleditor-fullscreen")){var o=!1,n=e.htmleditor.parents().each(function(){"fixed"!=t.$(this).css("position")||t.$(this).is("html")||(o=t.$(this))});if(e.htmleditor.data("fixedParents",!1),o){var r=[];o=o.parent().find(n).each(function(){"none"!=t.$(this).css("transform")&&r.push(t.$(this).data("transform-reset",{transform:this.style.transform,"-webkit-transform":this.style.webkitTransform,"-webkit-transition":this.style.webkitTransition,transition:this.style.transition}).css({transform:"none","-webkit-transform":"none","-webkit-transition":"none",transition:"none"}))}),e.htmleditor.data("fixedParents",r)}e.editor.state.fullScreenRestore={scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,width:i.style.width,height:i.style.height},i.style.width="",i.style.height=e.content.height()+"px",document.documentElement.style.overflow="hidden"}else{document.documentElement.style.overflow="";var l=e.editor.state.fullScreenRestore;i.style.width=l.width,i.style.height=l.height,window.scrollTo(l.scrollLeft,l.scrollTop),e.htmleditor.data("fixedParents")&&e.htmleditor.data("fixedParents").forEach(function(t){t.css(t.data("transform-reset"))})}setTimeout(function(){e.fit(),t.$win.trigger("resize")},50)}),e.addShortcut(["Ctrl-S","Cmd-S"],function(){e.element.trigger("htmleditor-save",[e])}),e.addShortcutAction("bold",["Ctrl-B","Cmd-B"])}}),t.plugin("htmleditor","markdown",{init:function(e){function i(){e.editor.setOption("mode","gfm"),e.htmleditor.find(".uk-htmleditor-button-code a").html(e.options.lblMarkedview)}function o(t,i,o){e.on("action."+t,function(){"markdown"==e.getCursorMode()&&e["replaceLine"==o?"replaceLine":"replaceSelection"](i)})}var n=e.options.mdparser||window.marked||null;n&&(e.options.markdown&&i(),o("bold","**$1**"),o("italic","*$1*"),o("strike","~~$1~~"),o("blockquote","> $1","replaceLine"),o("link","[$1](http://)"),o("image",""),e.on("action.listUl",function(){if("markdown"==e.getCursorMode()){for(var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),n=i.line;n<o.line+1;n++)t.replaceRange("* "+t.getLine(n),{line:n,ch:0},{line:n,ch:t.getLine(n).length});t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}}),e.on("action.listOl",function(){if("markdown"==e.getCursorMode()){var t=e.editor,i=t.getDoc().getCursor(!0),o=t.getDoc().getCursor(!1),n=1;if(i.line>0){var r,l=t.getLine(i.line-1);(r=l.match(/^(\d+)\./))&&(n=Number(r[1])+1)}for(var s=i.line;s<o.line+1;s++)t.replaceRange(n+". "+t.getLine(s),{line:s,ch:0},{line:s,ch:t.getLine(s).length}),n++;t.setCursor({line:o.line,ch:t.getLine(o.line).length}),t.focus()}}),e.on("renderLate",function(){"gfm"==e.editor.options.mode&&(e.currentvalue=n(e.currentvalue))}),e.on("cursorMode",function(t,i){if("gfm"==e.editor.options.mode){var o=e.editor.getDoc().getCursor();e.editor.getTokenAt(o).state.base.htmlState||(i.mode="markdown")}}),t.$.extend(e,{enableMarkdown:function(){i(),this.render()},disableMarkdown:function(){this.editor.setOption("mode","htmlmixed"),this.htmleditor.find(".uk-htmleditor-button-code a").html(this.options.lblCodeview),this.render()}}),e.on({enableMarkdown:function(){e.enableMarkdown()},disableMarkdown:function(){e.disableMarkdown()}}))}}),t.htmleditor}); \ No newline at end of file | ||
| diff --git a/js/components/lightbox.js b/js/components/lightbox.js new file mode 100755 index 0000000..78fb9fd --- /dev/null +++ b/js/components/lightbox.js | |||
| @@ -0,0 +1,591 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { // AMD | ||
| 11 | define("uikit-lightbox", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var modal, cache = {}; | ||
| 21 | |||
| 22 | UI.component('lightbox', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | "allowfullscreen" : true, | ||
| 26 | "duration" : 400, | ||
| 27 | "group" : false, | ||
| 28 | "keyboard" : true | ||
| 29 | }, | ||
| 30 | |||
| 31 | index : 0, | ||
| 32 | items : false, | ||
| 33 | |||
| 34 | boot: function() { | ||
| 35 | |||
| 36 | UI.$html.on('click', '[data-uk-lightbox]', function(e){ | ||
| 37 | |||
| 38 | e.preventDefault(); | ||
| 39 | |||
| 40 | var link = UI.$(this); | ||
| 41 | |||
| 42 | if (!link.data("lightbox")) { | ||
| 43 | |||
| 44 | UI.lightbox(link, UI.Utils.options(link.attr("data-uk-lightbox"))); | ||
| 45 | } | ||
| 46 | |||
| 47 | link.data("lightbox").show(link); | ||
| 48 | }); | ||
| 49 | |||
| 50 | // keyboard navigation | ||
| 51 | UI.$doc.on('keyup', function(e) { | ||
| 52 | |||
| 53 | if (modal && modal.is(':visible') && modal.lightbox.options.keyboard) { | ||
| 54 | |||
| 55 | e.preventDefault(); | ||
| 56 | |||
| 57 | switch(e.keyCode) { | ||
| 58 | case 37: | ||
| 59 | modal.lightbox.previous(); | ||
| 60 | break; | ||
| 61 | case 39: | ||
| 62 | modal.lightbox.next(); | ||
| 63 | break; | ||
| 64 | } | ||
| 65 | } | ||
| 66 | }); | ||
| 67 | }, | ||
| 68 | |||
| 69 | init: function() { | ||
| 70 | |||
| 71 | var siblings = []; | ||
| 72 | |||
| 73 | this.index = 0; | ||
| 74 | this.siblings = []; | ||
| 75 | |||
| 76 | if (this.element && this.element.length) { | ||
| 77 | |||
| 78 | var domSiblings = this.options.group ? UI.$([ | ||
| 79 | '[data-uk-lightbox*="'+this.options.group+'"]', | ||
| 80 | "[data-uk-lightbox*='"+this.options.group+"']" | ||
| 81 | ].join(',')) : this.element; | ||
| 82 | |||
| 83 | domSiblings.each(function() { | ||
| 84 | |||
| 85 | var ele = UI.$(this); | ||
| 86 | |||
| 87 | siblings.push({ | ||
| 88 | 'source': ele.attr('href'), | ||
| 89 | 'title' : ele.attr('data-title') || ele.attr('title'), | ||
| 90 | 'type' : ele.attr("data-lightbox-type") || 'auto', | ||
| 91 | 'link' : ele | ||
| 92 | }); | ||
| 93 | }); | ||
| 94 | |||
| 95 | this.index = domSiblings.index(this.element); | ||
| 96 | this.siblings = siblings; | ||
| 97 | |||
| 98 | } else if (this.options.group && this.options.group.length) { | ||
| 99 | this.siblings = this.options.group; | ||
| 100 | } | ||
| 101 | |||
| 102 | this.trigger('lightbox-init', [this]); | ||
| 103 | }, | ||
| 104 | |||
| 105 | show: function(index) { | ||
| 106 | |||
| 107 | this.modal = getModal(this); | ||
| 108 | |||
| 109 | // stop previous animation | ||
| 110 | this.modal.dialog.stop(); | ||
| 111 | this.modal.content.stop(); | ||
| 112 | |||
| 113 | var $this = this, promise = UI.$.Deferred(), data, item; | ||
| 114 | |||
| 115 | index = index || 0; | ||
| 116 | |||
| 117 | // index is a jQuery object or DOM element | ||
| 118 | if (typeof(index) == 'object') { | ||
| 119 | |||
| 120 | this.siblings.forEach(function(s, idx){ | ||
| 121 | |||
| 122 | if (index[0] === s.link[0]) { | ||
| 123 | index = idx; | ||
| 124 | } | ||
| 125 | }); | ||
| 126 | } | ||
| 127 | |||
| 128 | // fix index if needed | ||
| 129 | if ( index < 0 ) { | ||
| 130 | index = this.siblings.length - index; | ||
| 131 | } else if (!this.siblings[index]) { | ||
| 132 | index = 0; | ||
| 133 | } | ||
| 134 | |||
| 135 | item = this.siblings[index]; | ||
| 136 | |||
| 137 | data = { | ||
| 138 | "lightbox" : $this, | ||
| 139 | "source" : item.source, | ||
| 140 | "type" : item.type, | ||
| 141 | "index" : index, | ||
| 142 | "promise" : promise, | ||
| 143 | "title" : item.title, | ||
| 144 | "item" : item, | ||
| 145 | "meta" : { | ||
| 146 | "content" : '', | ||
| 147 | "width" : null, | ||
| 148 | "height" : null | ||
| 149 | } | ||
| 150 | }; | ||
| 151 | |||
| 152 | this.index = index; | ||
| 153 | |||
| 154 | this.modal.content.empty(); | ||
| 155 | |||
| 156 | if (!this.modal.is(':visible')) { | ||
| 157 | this.modal.content.css({width:'', height:''}).empty(); | ||
| 158 | this.modal.modal.show(); | ||
| 159 | } | ||
| 160 | |||
| 161 | this.modal.loader.removeClass('uk-hidden'); | ||
| 162 | |||
| 163 | promise.promise().done(function() { | ||
| 164 | |||
| 165 | $this.data = data; | ||
| 166 | $this.fitSize(data); | ||
| 167 | |||
| 168 | }).fail(function(){ | ||
| 169 | |||
| 170 | data.meta.content = '<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>'; | ||
| 171 | data.meta.width = 400; | ||
| 172 | data.meta.height = 300; | ||
| 173 | |||
| 174 | $this.data = data; | ||
| 175 | $this.fitSize(data); | ||
| 176 | }); | ||
| 177 | |||
| 178 | $this.trigger('showitem.uk.lightbox', [data]); | ||
| 179 | }, | ||
| 180 | |||
| 181 | fitSize: function() { | ||
| 182 | |||
| 183 | var $this = this, | ||
| 184 | data = this.data, | ||
| 185 | pad = this.modal.dialog.outerWidth() - this.modal.dialog.width(), | ||
| 186 | dpadTop = parseInt(this.modal.dialog.css('margin-top'), 10), | ||
| 187 | dpadBot = parseInt(this.modal.dialog.css('margin-bottom'), 10), | ||
| 188 | dpad = dpadTop + dpadBot, | ||
| 189 | content = data.meta.content, | ||
| 190 | duration = $this.options.duration; | ||
| 191 | |||
| 192 | if (this.siblings.length > 1) { | ||
| 193 | |||
| 194 | content = [ | ||
| 195 | content, | ||
| 196 | '<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>', | ||
| 197 | '<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>' | ||
| 198 | ].join(''); | ||
| 199 | } | ||
| 200 | |||
| 201 | // calculate width | ||
| 202 | var tmp = UI.$('<div> </div>').css({ | ||
| 203 | 'opacity' : 0, | ||
| 204 | 'position' : 'absolute', | ||
| 205 | 'top' : 0, | ||
| 206 | 'left' : 0, | ||
| 207 | 'width' : '100%', | ||
| 208 | 'max-width' : $this.modal.dialog.css('max-width'), | ||
| 209 | 'padding' : $this.modal.dialog.css('padding'), | ||
| 210 | 'margin' : $this.modal.dialog.css('margin') | ||
| 211 | }), maxwidth, maxheight, w = data.meta.width, h = data.meta.height; | ||
| 212 | |||
| 213 | tmp.appendTo('body').width(); | ||
| 214 | |||
| 215 | maxwidth = tmp.width(); | ||
| 216 | maxheight = window.innerHeight - dpad; | ||
| 217 | |||
| 218 | tmp.remove(); | ||
| 219 | |||
| 220 | this.modal.dialog.find('.uk-modal-caption').remove(); | ||
| 221 | |||
| 222 | if (data.title) { | ||
| 223 | this.modal.dialog.append('<div class="uk-modal-caption">'+data.title+'</div>'); | ||
| 224 | maxheight -= this.modal.dialog.find('.uk-modal-caption').outerHeight(); | ||
| 225 | } | ||
| 226 | |||
| 227 | if (maxwidth < data.meta.width) { | ||
| 228 | |||
| 229 | h = Math.floor( h * (maxwidth / w) ); | ||
| 230 | w = maxwidth; | ||
| 231 | } | ||
| 232 | |||
| 233 | if (maxheight < h) { | ||
| 234 | |||
| 235 | h = Math.floor(maxheight); | ||
| 236 | w = Math.ceil(data.meta.width * (maxheight/data.meta.height)); | ||
| 237 | } | ||
| 238 | |||
| 239 | this.modal.content.css('opacity', 0).width(w).html(content); | ||
| 240 | |||
| 241 | if (data.type == 'iframe') { | ||
| 242 | this.modal.content.find('iframe:first').height(h); | ||
| 243 | } | ||
| 244 | |||
| 245 | var dh = h + pad, | ||
| 246 | t = Math.floor(window.innerHeight/2 - dh/2) - dpad; | ||
| 247 | |||
| 248 | if (t < 0) { t = 0; } | ||
| 249 | |||
| 250 | this.modal.closer.addClass('uk-hidden'); | ||
| 251 | |||
| 252 | if ($this.modal.data('mwidth') == w && $this.modal.data('mheight') == h) { | ||
| 253 | duration = 0; | ||
| 254 | } | ||
| 255 | |||
| 256 | this.modal.dialog.animate({width: w + pad, height: h + pad, top: t }, duration, 'swing', function() { | ||
| 257 | $this.modal.loader.addClass('uk-hidden'); | ||
| 258 | $this.modal.content.css({width:''}).animate({'opacity': 1}, function() { | ||
| 259 | $this.modal.closer.removeClass('uk-hidden'); | ||
| 260 | }); | ||
| 261 | |||
| 262 | $this.modal.data({'mwidth': w, 'mheight': h}); | ||
| 263 | }); | ||
| 264 | }, | ||
| 265 | |||
| 266 | next: function() { | ||
| 267 | this.show(this.siblings[(this.index+1)] ? (this.index+1) : 0); | ||
| 268 | }, | ||
| 269 | |||
| 270 | previous: function() { | ||
| 271 | this.show(this.siblings[(this.index-1)] ? (this.index-1) : this.siblings.length-1); | ||
| 272 | } | ||
| 273 | }); | ||
| 274 | |||
| 275 | |||
| 276 | // Plugins | ||
| 277 | |||
| 278 | UI.plugin('lightbox', 'image', { | ||
| 279 | |||
| 280 | init: function(lightbox) { | ||
| 281 | |||
| 282 | lightbox.on("showitem.uk.lightbox", function(e, data){ | ||
| 283 | |||
| 284 | if (data.type == 'image' || data.source && data.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)) { | ||
| 285 | |||
| 286 | var resolve = function(source, width, height) { | ||
| 287 | |||
| 288 | data.meta = { | ||
| 289 | "content" : '<img class="uk-responsive-width" width="'+width+'" height="'+height+'" src ="'+source+'">', | ||
| 290 | "width" : width, | ||
| 291 | "height" : height | ||
| 292 | }; | ||
| 293 | |||
| 294 | data.type = 'image'; | ||
| 295 | |||
| 296 | data.promise.resolve(); | ||
| 297 | }; | ||
| 298 | |||
| 299 | if (!cache[data.source]) { | ||
| 300 | |||
| 301 | var img = new Image(); | ||
| 302 | |||
| 303 | img.onerror = function(){ | ||
| 304 | data.promise.reject('Loading image failed'); | ||
| 305 | }; | ||
| 306 | |||
| 307 | img.onload = function(){ | ||
| 308 | cache[data.source] = {width: img.width, height: img.height}; | ||
| 309 | resolve(data.source, cache[data.source].width, cache[data.source].height); | ||
| 310 | }; | ||
| 311 | |||
| 312 | img.src = data.source; | ||
| 313 | |||
| 314 | } else { | ||
| 315 | resolve(data.source, cache[data.source].width, cache[data.source].height); | ||
| 316 | } | ||
| 317 | } | ||
| 318 | }); | ||
| 319 | } | ||
| 320 | }); | ||
| 321 | |||
| 322 | UI.plugin("lightbox", "youtube", { | ||
| 323 | |||
| 324 | init: function(lightbox) { | ||
| 325 | |||
| 326 | var youtubeRegExp = /(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/, | ||
| 327 | youtubeRegExpShort = /youtu\.be\/(.*)/; | ||
| 328 | |||
| 329 | |||
| 330 | lightbox.on("showitem.uk.lightbox", function(e, data){ | ||
| 331 | |||
| 332 | var id, matches, resolve = function(id, width, height) { | ||
| 333 | |||
| 334 | data.meta = { | ||
| 335 | 'content': '<iframe src="//www.youtube.com/embed/'+id+'" width="'+width+'" height="'+height+'" style="max-width:100%;"'+(modal.lightbox.options.allowfullscreen?' allowfullscreen':'')+'></iframe>', | ||
| 336 | 'width': width, | ||
| 337 | 'height': height | ||
| 338 | }; | ||
| 339 | |||
| 340 | data.type = 'iframe'; | ||
| 341 | |||
| 342 | data.promise.resolve(); | ||
| 343 | }; | ||
| 344 | |||
| 345 | if (matches = data.source.match(youtubeRegExp)) { | ||
| 346 | id = matches[2]; | ||
| 347 | } | ||
| 348 | |||
| 349 | if (matches = data.source.match(youtubeRegExpShort)) { | ||
| 350 | id = matches[1]; | ||
| 351 | } | ||
| 352 | |||
| 353 | if (id) { | ||
| 354 | |||
| 355 | if(!cache[id]) { | ||
| 356 | |||
| 357 | var img = new Image(), lowres = false; | ||
| 358 | |||
| 359 | img.onerror = function(){ | ||
| 360 | cache[id] = {width:640, height:320}; | ||
| 361 | resolve(id, cache[id].width, cache[id].height); | ||
| 362 | }; | ||
| 363 | |||
| 364 | img.onload = function(){ | ||
| 365 | //youtube default 404 thumb, fall back to lowres | ||
| 366 | if (img.width == 120 && img.height == 90) { | ||
| 367 | if (!lowres) { | ||
| 368 | lowres = true; | ||
| 369 | img.src = '//img.youtube.com/vi/' + id + '/0.jpg'; | ||
| 370 | } else { | ||
| 371 | cache[id] = {width: 640, height: 320}; | ||
| 372 | resolve(id, cache[id].width, cache[id].height); | ||
| 373 | } | ||
| 374 | } else { | ||
| 375 | cache[id] = {width: img.width, height: img.height}; | ||
| 376 | resolve(id, img.width, img.height); | ||
| 377 | } | ||
| 378 | }; | ||
| 379 | |||
| 380 | img.src = '//img.youtube.com/vi/'+id+'/maxresdefault.jpg'; | ||
| 381 | |||
| 382 | } else { | ||
| 383 | resolve(id, cache[id].width, cache[id].height); | ||
| 384 | } | ||
| 385 | |||
| 386 | e.stopImmediatePropagation(); | ||
| 387 | } | ||
| 388 | }); | ||
| 389 | } | ||
| 390 | }); | ||
| 391 | |||
| 392 | |||
| 393 | UI.plugin("lightbox", "vimeo", { | ||
| 394 | |||
| 395 | init: function(lightbox) { | ||
| 396 | |||
| 397 | var regex = /(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/, matches; | ||
| 398 | |||
| 399 | |||
| 400 | lightbox.on("showitem.uk.lightbox", function(e, data){ | ||
| 401 | |||
| 402 | var id, resolve = function(id, width, height) { | ||
| 403 | |||
| 404 | data.meta = { | ||
| 405 | 'content': '<iframe src="//player.vimeo.com/video/'+id+'" width="'+width+'" height="'+height+'" style="width:100%;box-sizing:border-box;"'+(modal.lightbox.options.allowfullscreen?' allowfullscreen':'')+'></iframe>', | ||
| 406 | 'width': width, | ||
| 407 | 'height': height | ||
| 408 | }; | ||
| 409 | |||
| 410 | data.type = 'iframe'; | ||
| 411 | |||
| 412 | data.promise.resolve(); | ||
| 413 | }; | ||
| 414 | |||
| 415 | if (matches = data.source.match(regex)) { | ||
| 416 | |||
| 417 | id = matches[2]; | ||
| 418 | |||
| 419 | if(!cache[id]) { | ||
| 420 | |||
| 421 | UI.$.ajax({ | ||
| 422 | type : 'GET', | ||
| 423 | url : 'http://vimeo.com/api/oembed.json?url=' + encodeURI(data.source), | ||
| 424 | jsonp : 'callback', | ||
| 425 | dataType : 'jsonp', | ||
| 426 | success : function(data) { | ||
| 427 | cache[id] = {width:data.width, height:data.height}; | ||
| 428 | resolve(id, cache[id].width, cache[id].height); | ||
| 429 | } | ||
| 430 | }); | ||
| 431 | |||
| 432 | } else { | ||
| 433 | resolve(id, cache[id].width, cache[id].height); | ||
| 434 | } | ||
| 435 | |||
| 436 | e.stopImmediatePropagation(); | ||
| 437 | } | ||
| 438 | }); | ||
| 439 | } | ||
| 440 | }); | ||
| 441 | |||
| 442 | UI.plugin("lightbox", "video", { | ||
| 443 | |||
| 444 | init: function(lightbox) { | ||
| 445 | |||
| 446 | lightbox.on("showitem.uk.lightbox", function(e, data){ | ||
| 447 | |||
| 448 | |||
| 449 | var resolve = function(source, width, height) { | ||
| 450 | |||
| 451 | data.meta = { | ||
| 452 | 'content': '<video class="uk-responsive-width" src="'+source+'" width="'+width+'" height="'+height+'" controls></video>', | ||
| 453 | 'width': width, | ||
| 454 | 'height': height | ||
| 455 | }; | ||
| 456 | |||
| 457 | data.type = 'video'; | ||
| 458 | |||
| 459 | data.promise.resolve(); | ||
| 460 | }; | ||
| 461 | |||
| 462 | if (data.type == 'video' || data.source.match(/\.(mp4|webm|ogv)$/i)) { | ||
| 463 | |||
| 464 | if (!cache[data.source]) { | ||
| 465 | |||
| 466 | var vid = UI.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr('src', data.source).appendTo('body'); | ||
| 467 | |||
| 468 | var idle = setInterval(function() { | ||
| 469 | |||
| 470 | if (vid[0].videoWidth) { | ||
| 471 | clearInterval(idle); | ||
| 472 | cache[data.source] = {width: vid[0].videoWidth, height: vid[0].videoHeight}; | ||
| 473 | resolve(data.source, cache[data.source].width, cache[data.source].height); | ||
| 474 | vid.remove(); | ||
| 475 | } | ||
| 476 | |||
| 477 | }, 20); | ||
| 478 | |||
| 479 | } else { | ||
| 480 | resolve(data.source, cache[data.source].width, cache[data.source].height); | ||
| 481 | } | ||
| 482 | } | ||
| 483 | }); | ||
| 484 | } | ||
| 485 | }); | ||
| 486 | |||
| 487 | |||
| 488 | UIkit.plugin("lightbox", "iframe", { | ||
| 489 | |||
| 490 | init: function (lightbox) { | ||
| 491 | |||
| 492 | lightbox.on("showitem.uk.lightbox", function (e, data) { | ||
| 493 | |||
| 494 | var resolve = function (source, width, height) { | ||
| 495 | |||
| 496 | data.meta = { | ||
| 497 | 'content': '<iframe class="uk-responsive-width" src="' + source + '" width="' + width + '" height="' + height + '"'+(modal.lightbox.options.allowfullscreen?' allowfullscreen':'')+'></iframe>', | ||
| 498 | 'width': width, | ||
| 499 | 'height': height | ||
| 500 | }; | ||
| 501 | |||
| 502 | data.type = 'iframe'; | ||
| 503 | |||
| 504 | data.promise.resolve(); | ||
| 505 | }; | ||
| 506 | |||
| 507 | if (data.type === 'iframe' || data.source.match(/\.(html|php)$/)) { | ||
| 508 | resolve(data.source, (lightbox.options.width || 800), (lightbox.options.height || 600)); | ||
| 509 | } | ||
| 510 | }); | ||
| 511 | |||
| 512 | } | ||
| 513 | }); | ||
| 514 | |||
| 515 | function getModal(lightbox) { | ||
| 516 | |||
| 517 | if (modal) { | ||
| 518 | modal.lightbox = lightbox; | ||
| 519 | return modal; | ||
| 520 | } | ||
| 521 | |||
| 522 | // init lightbox container | ||
| 523 | modal = UI.$([ | ||
| 524 | '<div class="uk-modal">', | ||
| 525 | '<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2 - 200)+'px;">', | ||
| 526 | '<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>', | ||
| 527 | '<div class="uk-lightbox-content"></div>', | ||
| 528 | '<div class="uk-modal-spinner uk-hidden"></div>', | ||
| 529 | '</div>', | ||
| 530 | '</div>' | ||
| 531 | ].join('')).appendTo('body'); | ||
| 532 | |||
| 533 | modal.dialog = modal.find('.uk-modal-dialog:first'); | ||
| 534 | modal.content = modal.find('.uk-lightbox-content:first'); | ||
| 535 | modal.loader = modal.find('.uk-modal-spinner:first'); | ||
| 536 | modal.closer = modal.find('.uk-close.uk-close-alt'); | ||
| 537 | modal.modal = UI.modal(modal, {modal:false}); | ||
| 538 | |||
| 539 | // next / previous | ||
| 540 | modal.on("swipeRight swipeLeft", function(e) { | ||
| 541 | modal.lightbox[e.type=='swipeLeft' ? 'next':'previous'](); | ||
| 542 | }).on("click", "[data-lightbox-previous], [data-lightbox-next]", function(e){ | ||
| 543 | e.preventDefault(); | ||
| 544 | modal.lightbox[UI.$(this).is('[data-lightbox-next]') ? 'next':'previous'](); | ||
| 545 | }); | ||
| 546 | |||
| 547 | // destroy content on modal hide | ||
| 548 | modal.on("hide.uk.modal", function(e) { | ||
| 549 | modal.content.html(''); | ||
| 550 | }); | ||
| 551 | |||
| 552 | var resizeCache = {w: window.innerWidth, h:window.innerHeight}; | ||
| 553 | |||
| 554 | UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(e){ | ||
| 555 | |||
| 556 | if (resizeCache.w !== window.innerWidth && modal.is(':visible') && !UI.Utils.isFullscreen()) { | ||
| 557 | modal.lightbox.fitSize(); | ||
| 558 | } | ||
| 559 | |||
| 560 | resizeCache = {w: window.innerWidth, h:window.innerHeight}; | ||
| 561 | |||
| 562 | }, 100)); | ||
| 563 | |||
| 564 | modal.lightbox = lightbox; | ||
| 565 | |||
| 566 | return modal; | ||
| 567 | } | ||
| 568 | |||
| 569 | UI.lightbox.create = function(items, options) { | ||
| 570 | |||
| 571 | if (!items) return; | ||
| 572 | |||
| 573 | var group = [], o; | ||
| 574 | |||
| 575 | items.forEach(function(item) { | ||
| 576 | |||
| 577 | group.push(UI.$.extend({ | ||
| 578 | 'source' : '', | ||
| 579 | 'title' : '', | ||
| 580 | 'type' : 'auto', | ||
| 581 | 'link' : false | ||
| 582 | }, (typeof(item) == 'string' ? {'source': item} : item))); | ||
| 583 | }); | ||
| 584 | |||
| 585 | o = UI.lightbox(UI.$.extend({}, options, {'group':group})); | ||
| 586 | |||
| 587 | return o; | ||
| 588 | }; | ||
| 589 | |||
| 590 | return UI.lightbox; | ||
| 591 | }); | ||
| diff --git a/js/components/lightbox.min.js b/js/components/lightbox.min.js new file mode 100755 index 0000000..5075244 --- /dev/null +++ b/js/components/lightbox.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-lightbox",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";function t(t){if(e)return e.lightbox=t,e;e=i.$(['<div class="uk-modal">','<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2-200)+'px;">','<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>','<div class="uk-lightbox-content"></div>','<div class="uk-modal-spinner uk-hidden"></div>',"</div>","</div>"].join("")).appendTo("body"),e.dialog=e.find(".uk-modal-dialog:first"),e.content=e.find(".uk-lightbox-content:first"),e.loader=e.find(".uk-modal-spinner:first"),e.closer=e.find(".uk-close.uk-close-alt"),e.modal=i.modal(e,{modal:!1}),e.on("swipeRight swipeLeft",function(i){e.lightbox["swipeLeft"==i.type?"next":"previous"]()}).on("click","[data-lightbox-previous], [data-lightbox-next]",function(t){t.preventDefault(),e.lightbox[i.$(this).is("[data-lightbox-next]")?"next":"previous"]()}),e.on("hide.uk.modal",function(){e.content.html("")});var o={w:window.innerWidth,h:window.innerHeight};return i.$win.on("load resize orientationchange",i.Utils.debounce(function(){o.w!==window.innerWidth&&e.is(":visible")&&!i.Utils.isFullscreen()&&e.lightbox.fitSize(),o={w:window.innerWidth,h:window.innerHeight}},100)),e.lightbox=t,e}var e,o={};return i.component("lightbox",{defaults:{allowfullscreen:!0,duration:400,group:!1,keyboard:!0},index:0,items:!1,boot:function(){i.$html.on("click","[data-uk-lightbox]",function(t){t.preventDefault();var e=i.$(this);e.data("lightbox")||i.lightbox(e,i.Utils.options(e.attr("data-uk-lightbox"))),e.data("lightbox").show(e)}),i.$doc.on("keyup",function(i){if(e&&e.is(":visible")&&e.lightbox.options.keyboard)switch(i.preventDefault(),i.keyCode){case 37:e.lightbox.previous();break;case 39:e.lightbox.next()}})},init:function(){var t=[];if(this.index=0,this.siblings=[],this.element&&this.element.length){var e=this.options.group?i.$(['[data-uk-lightbox*="'+this.options.group+'"]',"[data-uk-lightbox*='"+this.options.group+"']"].join(",")):this.element;e.each(function(){var e=i.$(this);t.push({source:e.attr("href"),title:e.attr("data-title")||e.attr("title"),type:e.attr("data-lightbox-type")||"auto",link:e})}),this.index=e.index(this.element),this.siblings=t}else this.options.group&&this.options.group.length&&(this.siblings=this.options.group);this.trigger("lightbox-init",[this])},show:function(e){this.modal=t(this),this.modal.dialog.stop(),this.modal.content.stop();var o,n,s=this,h=i.$.Deferred();e=e||0,"object"==typeof e&&this.siblings.forEach(function(i,t){e[0]===i.link[0]&&(e=t)}),0>e?e=this.siblings.length-e:this.siblings[e]||(e=0),n=this.siblings[e],o={lightbox:s,source:n.source,type:n.type,index:e,promise:h,title:n.title,item:n,meta:{content:"",width:null,height:null}},this.index=e,this.modal.content.empty(),this.modal.is(":visible")||(this.modal.content.css({width:"",height:""}).empty(),this.modal.modal.show()),this.modal.loader.removeClass("uk-hidden"),h.promise().done(function(){s.data=o,s.fitSize(o)}).fail(function(){o.meta.content='<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>',o.meta.width=400,o.meta.height=300,s.data=o,s.fitSize(o)}),s.trigger("showitem.uk.lightbox",[o])},fitSize:function(){var t=this,e=this.data,o=this.modal.dialog.outerWidth()-this.modal.dialog.width(),n=parseInt(this.modal.dialog.css("margin-top"),10),s=parseInt(this.modal.dialog.css("margin-bottom"),10),h=n+s,a=e.meta.content,l=t.options.duration;this.siblings.length>1&&(a=[a,'<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>','<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>'].join(""));var d,r,u=i.$("<div> </div>").css({opacity:0,position:"absolute",top:0,left:0,width:"100%","max-width":t.modal.dialog.css("max-width"),padding:t.modal.dialog.css("padding"),margin:t.modal.dialog.css("margin")}),c=e.meta.width,g=e.meta.height;u.appendTo("body").width(),d=u.width(),r=window.innerHeight-h,u.remove(),this.modal.dialog.find(".uk-modal-caption").remove(),e.title&&(this.modal.dialog.append('<div class="uk-modal-caption">'+e.title+"</div>"),r-=this.modal.dialog.find(".uk-modal-caption").outerHeight()),d<e.meta.width&&(g=Math.floor(g*(d/c)),c=d),g>r&&(g=Math.floor(r),c=Math.ceil(e.meta.width*(r/e.meta.height))),this.modal.content.css("opacity",0).width(c).html(a),"iframe"==e.type&&this.modal.content.find("iframe:first").height(g);var m=g+o,p=Math.floor(window.innerHeight/2-m/2)-h;0>p&&(p=0),this.modal.closer.addClass("uk-hidden"),t.modal.data("mwidth")==c&&t.modal.data("mheight")==g&&(l=0),this.modal.dialog.animate({width:c+o,height:g+o,top:p},l,"swing",function(){t.modal.loader.addClass("uk-hidden"),t.modal.content.css({width:""}).animate({opacity:1},function(){t.modal.closer.removeClass("uk-hidden")}),t.modal.data({mwidth:c,mheight:g})})},next:function(){this.show(this.siblings[this.index+1]?this.index+1:0)},previous:function(){this.show(this.siblings[this.index-1]?this.index-1:this.siblings.length-1)}}),i.plugin("lightbox","image",{init:function(i){i.on("showitem.uk.lightbox",function(i,t){if("image"==t.type||t.source&&t.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)){var e=function(i,e,o){t.meta={content:'<img class="uk-responsive-width" width="'+e+'" height="'+o+'" src ="'+i+'">',width:e,height:o},t.type="image",t.promise.resolve()};if(o[t.source])e(t.source,o[t.source].width,o[t.source].height);else{var n=new Image;n.onerror=function(){t.promise.reject("Loading image failed")},n.onload=function(){o[t.source]={width:n.width,height:n.height},e(t.source,o[t.source].width,o[t.source].height)},n.src=t.source}}})}}),i.plugin("lightbox","youtube",{init:function(i){var t=/(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/,n=/youtu\.be\/(.*)/;i.on("showitem.uk.lightbox",function(i,s){var h,a,l=function(i,t,o){s.meta={content:'<iframe src="//www.youtube.com/embed/'+i+'" width="'+t+'" height="'+o+'" style="max-width:100%;"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:o},s.type="iframe",s.promise.resolve()};if((a=s.source.match(t))&&(h=a[2]),(a=s.source.match(n))&&(h=a[1]),h){if(o[h])l(h,o[h].width,o[h].height);else{var d=new Image,r=!1;d.onerror=function(){o[h]={width:640,height:320},l(h,o[h].width,o[h].height)},d.onload=function(){120==d.width&&90==d.height?r?(o[h]={width:640,height:320},l(h,o[h].width,o[h].height)):(r=!0,d.src="//img.youtube.com/vi/"+h+"/0.jpg"):(o[h]={width:d.width,height:d.height},l(h,d.width,d.height))},d.src="//img.youtube.com/vi/"+h+"/maxresdefault.jpg"}i.stopImmediatePropagation()}})}}),i.plugin("lightbox","vimeo",{init:function(t){var n,s=/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/;t.on("showitem.uk.lightbox",function(t,h){var a,l=function(i,t,o){h.meta={content:'<iframe src="//player.vimeo.com/video/'+i+'" width="'+t+'" height="'+o+'" style="width:100%;box-sizing:border-box;"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:o},h.type="iframe",h.promise.resolve()};(n=h.source.match(s))&&(a=n[2],o[a]?l(a,o[a].width,o[a].height):i.$.ajax({type:"GET",url:"http://vimeo.com/api/oembed.json?url="+encodeURI(h.source),jsonp:"callback",dataType:"jsonp",success:function(i){o[a]={width:i.width,height:i.height},l(a,o[a].width,o[a].height)}}),t.stopImmediatePropagation())})}}),i.plugin("lightbox","video",{init:function(t){t.on("showitem.uk.lightbox",function(t,e){var n=function(i,t,o){e.meta={content:'<video class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+o+'" controls></video>',width:t,height:o},e.type="video",e.promise.resolve()};if("video"==e.type||e.source.match(/\.(mp4|webm|ogv)$/i))if(o[e.source])n(e.source,o[e.source].width,o[e.source].height);else var s=i.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr("src",e.source).appendTo("body"),h=setInterval(function(){s[0].videoWidth&&(clearInterval(h),o[e.source]={width:s[0].videoWidth,height:s[0].videoHeight},n(e.source,o[e.source].width,o[e.source].height),s.remove())},20)})}}),UIkit.plugin("lightbox","iframe",{init:function(i){i.on("showitem.uk.lightbox",function(t,o){var n=function(i,t,n){o.meta={content:'<iframe class="uk-responsive-width" src="'+i+'" width="'+t+'" height="'+n+'"'+(e.lightbox.options.allowfullscreen?" allowfullscreen":"")+"></iframe>",width:t,height:n},o.type="iframe",o.promise.resolve()};("iframe"===o.type||o.source.match(/\.(html|php)$/))&&n(o.source,i.options.width||800,i.options.height||600)})}}),i.lightbox.create=function(t,e){if(t){var o,n=[];return t.forEach(function(t){n.push(i.$.extend({source:"",title:"",type:"auto",link:!1},"string"==typeof t?{source:t}:t))}),o=i.lightbox(i.$.extend({},e,{group:n}))}},i.lightbox}); \ No newline at end of file | ||
| diff --git a/js/components/nestable.js b/js/components/nestable.js new file mode 100755 index 0000000..573345d --- /dev/null +++ b/js/components/nestable.js | |||
| @@ -0,0 +1,653 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* | ||
| 3 | * Based on Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/ | ||
| 4 | */ | ||
| 5 | (function(addon) { | ||
| 6 | |||
| 7 | var component; | ||
| 8 | |||
| 9 | if (window.UIkit) { | ||
| 10 | component = addon(UIkit); | ||
| 11 | } | ||
| 12 | |||
| 13 | if (typeof define == "function" && define.amd) { | ||
| 14 | define("uikit-nestable", ["uikit"], function(){ | ||
| 15 | return component || addon(UIkit); | ||
| 16 | }); | ||
| 17 | } | ||
| 18 | |||
| 19 | })(function(UI) { | ||
| 20 | |||
| 21 | "use strict"; | ||
| 22 | |||
| 23 | var hasTouch = 'ontouchstart' in window, | ||
| 24 | html = UI.$html, | ||
| 25 | touchedlists = [], | ||
| 26 | $win = UI.$win, | ||
| 27 | draggingElement; | ||
| 28 | |||
| 29 | var eStart = hasTouch ? 'touchstart' : 'mousedown', | ||
| 30 | eMove = hasTouch ? 'touchmove' : 'mousemove', | ||
| 31 | eEnd = hasTouch ? 'touchend' : 'mouseup', | ||
| 32 | eCancel = hasTouch ? 'touchcancel' : 'mouseup'; | ||
| 33 | |||
| 34 | |||
| 35 | UI.component('nestable', { | ||
| 36 | |||
| 37 | defaults: { | ||
| 38 | listBaseClass : 'uk-nestable', | ||
| 39 | listClass : 'uk-nestable-list', | ||
| 40 | listItemClass : 'uk-nestable-item', | ||
| 41 | dragClass : 'uk-nestable-dragged', | ||
| 42 | movingClass : 'uk-nestable-moving', | ||
| 43 | noChildrenClass : 'uk-nestable-nochildren', | ||
| 44 | emptyClass : 'uk-nestable-empty', | ||
| 45 | handleClass : '', | ||
| 46 | collapsedClass : 'uk-collapsed', | ||
| 47 | placeholderClass: 'uk-nestable-placeholder', | ||
| 48 | noDragClass : 'uk-nestable-nodrag', | ||
| 49 | group : false, | ||
| 50 | maxDepth : 10, | ||
| 51 | threshold : 20, | ||
| 52 | idlethreshold : 10, | ||
| 53 | }, | ||
| 54 | |||
| 55 | boot: function() { | ||
| 56 | |||
| 57 | // adjust document scrolling | ||
| 58 | UI.$html.on('mousemove touchmove', function(e) { | ||
| 59 | |||
| 60 | if (draggingElement) { | ||
| 61 | |||
| 62 | var top = draggingElement.offset().top; | ||
| 63 | |||
| 64 | if (top < UI.$win.scrollTop()) { | ||
| 65 | UI.$win.scrollTop(UI.$win.scrollTop() - Math.ceil(draggingElement.height()/2)); | ||
| 66 | } else if ( (top + draggingElement.height()) > (window.innerHeight + UI.$win.scrollTop()) ) { | ||
| 67 | UI.$win.scrollTop(UI.$win.scrollTop() + Math.ceil(draggingElement.height()/2)); | ||
| 68 | } | ||
| 69 | } | ||
| 70 | }); | ||
| 71 | |||
| 72 | // init code | ||
| 73 | UI.ready(function(context) { | ||
| 74 | |||
| 75 | UI.$("[data-uk-nestable]", context).each(function(){ | ||
| 76 | |||
| 77 | var ele = UI.$(this); | ||
| 78 | |||
| 79 | if (!ele.data("nestable")) { | ||
| 80 | UI.nestable(ele, UI.Utils.options(ele.attr("data-uk-nestable"))); | ||
| 81 | } | ||
| 82 | }); | ||
| 83 | }); | ||
| 84 | }, | ||
| 85 | |||
| 86 | init: function() { | ||
| 87 | |||
| 88 | var $this = this; | ||
| 89 | |||
| 90 | Object.keys(this.options).forEach(function(key){ | ||
| 91 | |||
| 92 | if(String(key).indexOf('Class')!=-1) { | ||
| 93 | $this.options['_'+key] = '.' + $this.options[key]; | ||
| 94 | } | ||
| 95 | }); | ||
| 96 | |||
| 97 | this.find(this.options._listItemClass).find(">ul").addClass(this.options.listClass); | ||
| 98 | |||
| 99 | this.checkEmptyList(); | ||
| 100 | |||
| 101 | this.reset(); | ||
| 102 | this.element.data('nestable-group', this.options.group || UI.Utils.uid('nestable-group')); | ||
| 103 | |||
| 104 | this.find(this.options._listItemClass).each(function() { | ||
| 105 | $this.setParent(UI.$(this)); | ||
| 106 | }); | ||
| 107 | |||
| 108 | this.on('click', '[data-nestable-action]', function(e) { | ||
| 109 | |||
| 110 | if ($this.dragEl || (!hasTouch && e.button !== 0)) { | ||
| 111 | return; | ||
| 112 | } | ||
| 113 | |||
| 114 | e.preventDefault(); | ||
| 115 | |||
| 116 | var target = UI.$(e.currentTarget), | ||
| 117 | action = target.data('nestableAction'), | ||
| 118 | item = target.closest($this.options._listItemClass); | ||
| 119 | |||
| 120 | if (action === 'collapse') { | ||
| 121 | $this.collapseItem(item); | ||
| 122 | } | ||
| 123 | if (action === 'expand') { | ||
| 124 | $this.expandItem(item); | ||
| 125 | } | ||
| 126 | if (action === 'toggle') { | ||
| 127 | $this.toggleItem(item); | ||
| 128 | } | ||
| 129 | }); | ||
| 130 | |||
| 131 | var onStartEvent = function(e) { | ||
| 132 | |||
| 133 | var handle = UI.$(e.target), | ||
| 134 | link = handle.is('a[href]') ? handle:handle.parents('a[href]'); | ||
| 135 | |||
| 136 | if (e.target === $this.element[0]) { | ||
| 137 | return; | ||
| 138 | } | ||
| 139 | |||
| 140 | if (handle.is($this.options._noDragClass) || handle.closest($this.options._noDragClass).length) { | ||
| 141 | return; | ||
| 142 | } | ||
| 143 | |||
| 144 | if (handle.is('[data-nestable-action]') || handle.closest('[data-nestable-action]').length) { | ||
| 145 | return; | ||
| 146 | } | ||
| 147 | |||
| 148 | if ($this.options.handleClass && !handle.hasClass($this.options.handleClass)) { | ||
| 149 | |||
| 150 | if ($this.options.handleClass) { | ||
| 151 | handle = handle.closest($this.options._handleClass); | ||
| 152 | } | ||
| 153 | } | ||
| 154 | |||
| 155 | if (!handle.length || $this.dragEl || (!hasTouch && e.button !== 0) || (hasTouch && e.touches.length !== 1)) { | ||
| 156 | return; | ||
| 157 | } | ||
| 158 | |||
| 159 | if (e.originalEvent && e.originalEvent.touches) { | ||
| 160 | e = evt.originalEvent.touches[0]; | ||
| 161 | } | ||
| 162 | |||
| 163 | $this.delayMove = function(evt) { | ||
| 164 | |||
| 165 | link = false; | ||
| 166 | |||
| 167 | evt.preventDefault(); | ||
| 168 | $this.dragStart(e); | ||
| 169 | $this.trigger('start.uk.nestable', [$this]); | ||
| 170 | |||
| 171 | $this.delayMove = false; | ||
| 172 | }; | ||
| 173 | |||
| 174 | $this.delayMove.x = parseInt(e.pageX, 10); | ||
| 175 | $this.delayMove.y = parseInt(e.pageY, 10); | ||
| 176 | $this.delayMove.threshold = $this.options.idlethreshold; | ||
| 177 | |||
| 178 | if (link.length && eEnd == 'touchend') { | ||
| 179 | |||
| 180 | $this.one(eEnd, function(){ | ||
| 181 | if (link && link.attr('href').trim()) { | ||
| 182 | location.href = link.attr('href'); | ||
| 183 | } | ||
| 184 | }); | ||
| 185 | } | ||
| 186 | |||
| 187 | e.preventDefault(); | ||
| 188 | }; | ||
| 189 | |||
| 190 | var onMoveEvent = function(e) { | ||
| 191 | |||
| 192 | if (e.originalEvent && e.originalEvent.touches) { | ||
| 193 | e = e.originalEvent.touches[0]; | ||
| 194 | } | ||
| 195 | |||
| 196 | if ($this.delayMove && (Math.abs(e.pageX - $this.delayMove.x) > $this.delayMove.threshold || Math.abs(e.pageY - $this.delayMove.y) > $this.delayMove.threshold)) { | ||
| 197 | |||
| 198 | if (!window.getSelection().toString()) { | ||
| 199 | $this.delayMove(e); | ||
| 200 | } else { | ||
| 201 | $this.delayMove = false; | ||
| 202 | } | ||
| 203 | } | ||
| 204 | |||
| 205 | if ($this.dragEl) { | ||
| 206 | e.preventDefault(); | ||
| 207 | $this.dragMove(e); | ||
| 208 | $this.trigger('move.uk.nestable', [$this]); | ||
| 209 | } | ||
| 210 | }; | ||
| 211 | |||
| 212 | var onEndEvent = function(e) { | ||
| 213 | |||
| 214 | if ($this.dragEl) { | ||
| 215 | e.preventDefault(); | ||
| 216 | $this.dragStop(hasTouch ? e.touches[0] : e); | ||
| 217 | } | ||
| 218 | |||
| 219 | draggingElement = false; | ||
| 220 | $this.delayMove = false; | ||
| 221 | }; | ||
| 222 | |||
| 223 | if (hasTouch) { | ||
| 224 | this.element[0].addEventListener(eStart, onStartEvent, false); | ||
| 225 | window.addEventListener(eMove, onMoveEvent, false); | ||
| 226 | window.addEventListener(eEnd, onEndEvent, false); | ||
| 227 | window.addEventListener(eCancel, onEndEvent, false); | ||
| 228 | } else { | ||
| 229 | this.on(eStart, onStartEvent); | ||
| 230 | $win.on(eMove, onMoveEvent); | ||
| 231 | $win.on(eEnd, onEndEvent); | ||
| 232 | } | ||
| 233 | |||
| 234 | }, | ||
| 235 | |||
| 236 | serialize: function() { | ||
| 237 | |||
| 238 | var data, | ||
| 239 | depth = 0, | ||
| 240 | list = this, | ||
| 241 | step = function(level, depth) { | ||
| 242 | |||
| 243 | var array = [ ], items = level.children(list.options._listItemClass); | ||
| 244 | |||
| 245 | items.each(function() { | ||
| 246 | |||
| 247 | var li = UI.$(this), | ||
| 248 | item = {}, attribute, | ||
| 249 | sub = li.children(list.options._listClass); | ||
| 250 | |||
| 251 | for (var i = 0, attr, val; i < li[0].attributes.length; i++) { | ||
| 252 | attribute = li[0].attributes[i]; | ||
| 253 | if (attribute.name.indexOf('data-') === 0) { | ||
| 254 | attr = attribute.name.substr(5); | ||
| 255 | val = UI.Utils.str2json(attribute.value); | ||
| 256 | item[attr] = (val || attribute.value=='false' || attribute.value=='0') ? val:attribute.value; | ||
| 257 | } | ||
| 258 | } | ||
| 259 | |||
| 260 | if (sub.length) { | ||
| 261 | item.children = step(sub, depth + 1); | ||
| 262 | } | ||
| 263 | |||
| 264 | array.push(item); | ||
| 265 | |||
| 266 | }); | ||
| 267 | return array; | ||
| 268 | }; | ||
| 269 | |||
| 270 | data = step(list.element, depth); | ||
| 271 | |||
| 272 | return data; | ||
| 273 | }, | ||
| 274 | |||
| 275 | list: function(options) { | ||
| 276 | |||
| 277 | var data = [], | ||
| 278 | list = this, | ||
| 279 | depth = 0, | ||
| 280 | step = function(level, depth, parent) { | ||
| 281 | |||
| 282 | var items = level.children(options._listItemClass); | ||
| 283 | |||
| 284 | items.each(function(index) { | ||
| 285 | var li = UI.$(this), | ||
| 286 | item = UI.$.extend({parent_id: (parent ? parent : null), depth: depth, order: index}, li.data()), | ||
| 287 | sub = li.children(options._listClass); | ||
| 288 | |||
| 289 | data.push(item); | ||
| 290 | |||
| 291 | if (sub.length) { | ||
| 292 | step(sub, depth + 1, li.data(options.idProperty || 'id')); | ||
| 293 | } | ||
| 294 | }); | ||
| 295 | }; | ||
| 296 | |||
| 297 | options = UI.$.extend({}, list.options, options); | ||
| 298 | |||
| 299 | step(list.element, depth); | ||
| 300 | |||
| 301 | return data; | ||
| 302 | }, | ||
| 303 | |||
| 304 | reset: function() { | ||
| 305 | |||
| 306 | this.mouse = { | ||
| 307 | offsetX : 0, | ||
| 308 | offsetY : 0, | ||
| 309 | startX : 0, | ||
| 310 | startY : 0, | ||
| 311 | lastX : 0, | ||
| 312 | lastY : 0, | ||
| 313 | nowX : 0, | ||
| 314 | nowY : 0, | ||
| 315 | distX : 0, | ||
| 316 | distY : 0, | ||
| 317 | dirAx : 0, | ||
| 318 | dirX : 0, | ||
| 319 | dirY : 0, | ||
| 320 | lastDirX : 0, | ||
| 321 | lastDirY : 0, | ||
| 322 | distAxX : 0, | ||
| 323 | distAxY : 0 | ||
| 324 | }; | ||
| 325 | this.moving = false; | ||
| 326 | this.dragEl = null; | ||
| 327 | this.dragRootEl = null; | ||
| 328 | this.dragDepth = 0; | ||
| 329 | this.hasNewRoot = false; | ||
| 330 | this.pointEl = null; | ||
| 331 | |||
| 332 | for (var i=0; i<touchedlists.length; i++) { | ||
| 333 | this.checkEmptyList(touchedlists[i]); | ||
| 334 | } | ||
| 335 | |||
| 336 | touchedlists = []; | ||
| 337 | }, | ||
| 338 | |||
| 339 | toggleItem: function(li) { | ||
| 340 | this[li.hasClass(this.options.collapsedClass) ? "expandItem":"collapseItem"](li); | ||
| 341 | }, | ||
| 342 | |||
| 343 | expandItem: function(li) { | ||
| 344 | li.removeClass(this.options.collapsedClass); | ||
| 345 | }, | ||
| 346 | |||
| 347 | collapseItem: function(li) { | ||
| 348 | var lists = li.children(this.options._listClass); | ||
| 349 | if (lists.length) { | ||
| 350 | li.addClass(this.options.collapsedClass); | ||
| 351 | } | ||
| 352 | }, | ||
| 353 | |||
| 354 | expandAll: function() { | ||
| 355 | var list = this; | ||
| 356 | this.find(list.options._listItemClass).each(function() { | ||
| 357 | list.expandItem(UI.$(this)); | ||
| 358 | }); | ||
| 359 | }, | ||
| 360 | |||
| 361 | collapseAll: function() { | ||
| 362 | var list = this; | ||
| 363 | this.find(list.options._listItemClass).each(function() { | ||
| 364 | list.collapseItem(UI.$(this)); | ||
| 365 | }); | ||
| 366 | }, | ||
| 367 | |||
| 368 | setParent: function(li) { | ||
| 369 | |||
| 370 | if (li.children(this.options._listClass).length) { | ||
| 371 | li.addClass("uk-parent"); | ||
| 372 | } | ||
| 373 | }, | ||
| 374 | |||
| 375 | unsetParent: function(li) { | ||
| 376 | li.removeClass('uk-parent '+this.options.collapsedClass); | ||
| 377 | li.children(this.options._listClass).remove(); | ||
| 378 | }, | ||
| 379 | |||
| 380 | dragStart: function(e) { | ||
| 381 | |||
| 382 | var mouse = this.mouse, | ||
| 383 | target = UI.$(e.target), | ||
| 384 | dragItem = target.closest(this.options._listItemClass), | ||
| 385 | offset = dragItem.offset(); | ||
| 386 | |||
| 387 | this.placeEl = dragItem; | ||
| 388 | |||
| 389 | mouse.offsetX = e.pageX - offset.left; | ||
| 390 | mouse.offsetY = e.pageY - offset.top; | ||
| 391 | |||
| 392 | mouse.startX = mouse.lastX = offset.left; | ||
| 393 | mouse.startY = mouse.lastY = offset.top; | ||
| 394 | |||
| 395 | this.dragRootEl = this.element; | ||
| 396 | |||
| 397 | this.dragEl = UI.$('<ul></ul>').addClass(this.options.listClass + ' ' + this.options.dragClass).append(dragItem.clone()); | ||
| 398 | this.dragEl.css('width', dragItem.width()); | ||
| 399 | this.placeEl.addClass(this.options.placeholderClass); | ||
| 400 | |||
| 401 | draggingElement = this.dragEl; | ||
| 402 | |||
| 403 | this.tmpDragOnSiblings = [dragItem[0].previousSibling, dragItem[0].nextSibling]; | ||
| 404 | |||
| 405 | UI.$body.append(this.dragEl); | ||
| 406 | |||
| 407 | this.dragEl.css({ | ||
| 408 | left : offset.left, | ||
| 409 | top : offset.top | ||
| 410 | }); | ||
| 411 | |||
| 412 | // total depth of dragging item | ||
| 413 | var i, depth, items = this.dragEl.find(this.options._listItemClass); | ||
| 414 | |||
| 415 | for (i = 0; i < items.length; i++) { | ||
| 416 | depth = UI.$(items[i]).parents(this.options._listClass+','+this.options._listBaseClass).length; | ||
| 417 | if (depth > this.dragDepth) { | ||
| 418 | this.dragDepth = depth; | ||
| 419 | } | ||
| 420 | } | ||
| 421 | |||
| 422 | html.addClass(this.options.movingClass); | ||
| 423 | }, | ||
| 424 | |||
| 425 | dragStop: function(e) { | ||
| 426 | |||
| 427 | var el = UI.$(this.placeEl), | ||
| 428 | root = this.placeEl.parents(this.options._listBaseClass+':first'); | ||
| 429 | |||
| 430 | this.placeEl.removeClass(this.options.placeholderClass); | ||
| 431 | this.dragEl.remove(); | ||
| 432 | |||
| 433 | if (this.element[0] !== root[0]) { | ||
| 434 | |||
| 435 | root.trigger('change.uk.nestable',[root.data('nestable'), el, 'added']); | ||
| 436 | this.element.trigger('change.uk.nestable', [this, el, 'removed']); | ||
| 437 | |||
| 438 | } else { | ||
| 439 | this.element.trigger('change.uk.nestable',[this, el, "moved"]); | ||
| 440 | } | ||
| 441 | |||
| 442 | this.trigger('stop.uk.nestable', [this, el]); | ||
| 443 | |||
| 444 | this.reset(); | ||
| 445 | |||
| 446 | html.removeClass(this.options.movingClass); | ||
| 447 | }, | ||
| 448 | |||
| 449 | dragMove: function(e) { | ||
| 450 | var list, parent, prev, next, depth, | ||
| 451 | opt = this.options, | ||
| 452 | mouse = this.mouse, | ||
| 453 | maxDepth = this.dragRootEl ? this.dragRootEl.data('nestable').options.maxDepth : opt.maxDepth; | ||
| 454 | |||
| 455 | this.dragEl.css({ | ||
| 456 | left : e.pageX - mouse.offsetX, | ||
| 457 | top : e.pageY - mouse.offsetY | ||
| 458 | }); | ||
| 459 | |||
| 460 | // mouse position last events | ||
| 461 | mouse.lastX = mouse.nowX; | ||
| 462 | mouse.lastY = mouse.nowY; | ||
| 463 | // mouse position this events | ||
| 464 | mouse.nowX = e.pageX; | ||
| 465 | mouse.nowY = e.pageY; | ||
| 466 | // distance mouse moved between events | ||
| 467 | mouse.distX = mouse.nowX - mouse.lastX; | ||
| 468 | mouse.distY = mouse.nowY - mouse.lastY; | ||
| 469 | // direction mouse was moving | ||
| 470 | mouse.lastDirX = mouse.dirX; | ||
| 471 | mouse.lastDirY = mouse.dirY; | ||
| 472 | // direction mouse is now moving (on both axis) | ||
| 473 | mouse.dirX = mouse.distX === 0 ? 0 : mouse.distX > 0 ? 1 : -1; | ||
| 474 | mouse.dirY = mouse.distY === 0 ? 0 : mouse.distY > 0 ? 1 : -1; | ||
| 475 | // axis mouse is now moving on | ||
| 476 | var newAx = Math.abs(mouse.distX) > Math.abs(mouse.distY) ? 1 : 0; | ||
| 477 | |||
| 478 | // do nothing on first move | ||
| 479 | if (!mouse.moving) { | ||
| 480 | mouse.dirAx = newAx; | ||
| 481 | mouse.moving = true; | ||
| 482 | return; | ||
| 483 | } | ||
| 484 | |||
| 485 | // calc distance moved on this axis (and direction) | ||
| 486 | if (mouse.dirAx !== newAx) { | ||
| 487 | mouse.distAxX = 0; | ||
| 488 | mouse.distAxY = 0; | ||
| 489 | } else { | ||
| 490 | mouse.distAxX += Math.abs(mouse.distX); | ||
| 491 | if (mouse.dirX !== 0 && mouse.dirX !== mouse.lastDirX) { | ||
| 492 | mouse.distAxX = 0; | ||
| 493 | } | ||
| 494 | mouse.distAxY += Math.abs(mouse.distY); | ||
| 495 | if (mouse.dirY !== 0 && mouse.dirY !== mouse.lastDirY) { | ||
| 496 | mouse.distAxY = 0; | ||
| 497 | } | ||
| 498 | } | ||
| 499 | mouse.dirAx = newAx; | ||
| 500 | |||
| 501 | /** | ||
| 502 | * move horizontal | ||
| 503 | */ | ||
| 504 | if (mouse.dirAx && mouse.distAxX >= opt.threshold) { | ||
| 505 | // reset move distance on x-axis for new phase | ||
| 506 | mouse.distAxX = 0; | ||
| 507 | prev = this.placeEl.prev('li'); | ||
| 508 | |||
| 509 | // increase horizontal level if previous sibling exists, is not collapsed, and does not have a 'no children' class | ||
| 510 | if (mouse.distX > 0 && prev.length && !prev.hasClass(opt.collapsedClass) && !prev.hasClass(opt.noChildrenClass)) { | ||
| 511 | |||
| 512 | // cannot increase level when item above is collapsed | ||
| 513 | list = prev.find(opt._listClass).last(); | ||
| 514 | |||
| 515 | // check if depth limit has reached | ||
| 516 | depth = this.placeEl.parents(opt._listClass+','+opt._listBaseClass).length; | ||
| 517 | |||
| 518 | if (depth + this.dragDepth <= maxDepth) { | ||
| 519 | |||
| 520 | // create new sub-level if one doesn't exist | ||
| 521 | if (!list.length) { | ||
| 522 | list = UI.$('<ul/>').addClass(opt.listClass); | ||
| 523 | list.append(this.placeEl); | ||
| 524 | prev.append(list); | ||
| 525 | this.setParent(prev); | ||
| 526 | } else { | ||
| 527 | // else append to next level up | ||
| 528 | list = prev.children(opt._listClass).last(); | ||
| 529 | list.append(this.placeEl); | ||
| 530 | } | ||
| 531 | } | ||
| 532 | } | ||
| 533 | |||
| 534 | // decrease horizontal level | ||
| 535 | if (mouse.distX < 0) { | ||
| 536 | |||
| 537 | // we cannot decrease the level if an item precedes the current one | ||
| 538 | next = this.placeEl.next(opt._listItemClass); | ||
| 539 | if (!next.length) { | ||
| 540 | |||
| 541 | // get parent ul of the list item | ||
| 542 | var parentUl = this.placeEl.closest([opt._listBaseClass, opt._listClass].join(',')); | ||
| 543 | // try to get the li surrounding the ul | ||
| 544 | var surroundingLi = parentUl.closest(opt._listItemClass); | ||
| 545 | |||
| 546 | // if the ul is inside of a li (meaning it is nested) | ||
| 547 | if (surroundingLi.length) { | ||
| 548 | // we can decrease the horizontal level | ||
| 549 | surroundingLi.after(this.placeEl); | ||
| 550 | // if the previous parent ul is now empty | ||
| 551 | if (!parentUl.children().length) { | ||
| 552 | this.unsetParent(surroundingLi); | ||
| 553 | } | ||
| 554 | } | ||
| 555 | } | ||
| 556 | } | ||
| 557 | } | ||
| 558 | |||
| 559 | var isEmpty = false; | ||
| 560 | |||
| 561 | // find list item under cursor | ||
| 562 | var pointX = e.pageX - (window.pageXOffset || document.scrollLeft || 0), | ||
| 563 | pointY = e.pageY - (window.pageYOffset || document.documentElement.scrollTop); | ||
| 564 | this.pointEl = UI.$(document.elementFromPoint(pointX, pointY)); | ||
| 565 | |||
| 566 | if (opt.handleClass && this.pointEl.hasClass(opt.handleClass)) { | ||
| 567 | |||
| 568 | this.pointEl = this.pointEl.closest(opt._listItemClass); | ||
| 569 | |||
| 570 | } else { | ||
| 571 | |||
| 572 | var nestableitem = this.pointEl.closest(opt._listItemClass); | ||
| 573 | |||
| 574 | if (nestableitem.length) { | ||
| 575 | this.pointEl = nestableitem; | ||
| 576 | } | ||
| 577 | } | ||
| 578 | |||
| 579 | if (this.placeEl.find(this.pointEl).length) { | ||
| 580 | return; | ||
| 581 | } | ||
| 582 | |||
| 583 | if (this.pointEl.data('nestable') && !this.pointEl.children().length) { | ||
| 584 | isEmpty = true; | ||
| 585 | this.checkEmptyList(this.pointEl); | ||
| 586 | } else if (!this.pointEl.length || !this.pointEl.hasClass(opt.listItemClass)) { | ||
| 587 | return; | ||
| 588 | } | ||
| 589 | |||
| 590 | // find parent list of item under cursor | ||
| 591 | var pointElRoot = this.element, | ||
| 592 | tmpRoot = this.pointEl.closest(this.options._listBaseClass), | ||
| 593 | isNewRoot = pointElRoot[0] != tmpRoot[0]; | ||
| 594 | |||
| 595 | /** | ||
| 596 | * move vertical | ||
| 597 | */ | ||
| 598 | if (!mouse.dirAx || isNewRoot || isEmpty) { | ||
| 599 | |||
| 600 | // check if groups match if dragging over new root | ||
| 601 | if (isNewRoot && opt.group !== tmpRoot.data('nestable-group')) { | ||
| 602 | return; | ||
| 603 | } else { | ||
| 604 | touchedlists.push(pointElRoot); | ||
| 605 | } | ||
| 606 | |||
| 607 | // check depth limit | ||
| 608 | depth = this.dragDepth - 1 + this.pointEl.parents(opt._listClass+','+opt._listBaseClass).length; | ||
| 609 | |||
| 610 | if (depth > maxDepth) { | ||
| 611 | return; | ||
| 612 | } | ||
| 613 | |||
| 614 | var before = e.pageY < (this.pointEl.offset().top + this.pointEl.height() / 2); | ||
| 615 | |||
| 616 | parent = this.placeEl.parent(); | ||
| 617 | |||
| 618 | if (isEmpty) { | ||
| 619 | this.pointEl.append(this.placeEl); | ||
| 620 | } else if (before) { | ||
| 621 | this.pointEl.before(this.placeEl); | ||
| 622 | } else { | ||
| 623 | this.pointEl.after(this.placeEl); | ||
| 624 | } | ||
| 625 | |||
| 626 | if (!parent.children().length) { | ||
| 627 | if (!parent.data("nestable")) this.unsetParent(parent.parent()); | ||
| 628 | } | ||
| 629 | |||
| 630 | this.checkEmptyList(this.dragRootEl); | ||
| 631 | this.checkEmptyList(pointElRoot); | ||
| 632 | |||
| 633 | // parent root list has changed | ||
| 634 | if (isNewRoot) { | ||
| 635 | this.dragRootEl = tmpRoot; | ||
| 636 | this.hasNewRoot = this.element[0] !== this.dragRootEl[0]; | ||
| 637 | } | ||
| 638 | } | ||
| 639 | }, | ||
| 640 | |||
| 641 | checkEmptyList: function(list) { | ||
| 642 | |||
| 643 | list = list ? UI.$(list) : this.element; | ||
| 644 | |||
| 645 | if (this.options.emptyClass) { | ||
| 646 | list[!list.children().length ? 'addClass':'removeClass'](this.options.emptyClass); | ||
| 647 | } | ||
| 648 | } | ||
| 649 | |||
| 650 | }); | ||
| 651 | |||
| 652 | return UI.nestable; | ||
| 653 | }); | ||
| diff --git a/js/components/nestable.min.js b/js/components/nestable.min.js new file mode 100755 index 0000000..e0d4da2 --- /dev/null +++ b/js/components/nestable.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var s;window.UIkit&&(s=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-nestable",["uikit"],function(){return s||t(UIkit)})}(function(t){"use strict";var s,e="ontouchstart"in window,i=t.$html,l=[],a=t.$win,n=e?"touchstart":"mousedown",o=e?"touchmove":"mousemove",h=e?"touchend":"mouseup",r=e?"touchcancel":"mouseup";return t.component("nestable",{defaults:{listBaseClass:"uk-nestable",listClass:"uk-nestable-list",listItemClass:"uk-nestable-item",dragClass:"uk-nestable-dragged",movingClass:"uk-nestable-moving",noChildrenClass:"uk-nestable-nochildren",emptyClass:"uk-nestable-empty",handleClass:"",collapsedClass:"uk-collapsed",placeholderClass:"uk-nestable-placeholder",noDragClass:"uk-nestable-nodrag",group:!1,maxDepth:10,threshold:20,idlethreshold:10},boot:function(){t.$html.on("mousemove touchmove",function(){if(s){var e=s.offset().top;e<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(s.height()/2)):e+s.height()>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(s.height()/2))}}),t.ready(function(s){t.$("[data-uk-nestable]",s).each(function(){var s=t.$(this);s.data("nestable")||t.nestable(s,t.Utils.options(s.attr("data-uk-nestable")))})})},init:function(){var i=this;Object.keys(this.options).forEach(function(t){-1!=String(t).indexOf("Class")&&(i.options["_"+t]="."+i.options[t])}),this.find(this.options._listItemClass).find(">ul").addClass(this.options.listClass),this.checkEmptyList(),this.reset(),this.element.data("nestable-group",this.options.group||t.Utils.uid("nestable-group")),this.find(this.options._listItemClass).each(function(){i.setParent(t.$(this))}),this.on("click","[data-nestable-action]",function(s){if(!i.dragEl&&(e||0===s.button)){s.preventDefault();var l=t.$(s.currentTarget),a=l.data("nestableAction"),n=l.closest(i.options._listItemClass);"collapse"===a&&i.collapseItem(n),"expand"===a&&i.expandItem(n),"toggle"===a&&i.toggleItem(n)}});var l=function(s){var l=t.$(s.target),a=l.is("a[href]")?l:l.parents("a[href]");s.target!==i.element[0]&&(l.is(i.options._noDragClass)||l.closest(i.options._noDragClass).length||l.is("[data-nestable-action]")||l.closest("[data-nestable-action]").length||(i.options.handleClass&&!l.hasClass(i.options.handleClass)&&i.options.handleClass&&(l=l.closest(i.options._handleClass)),!l.length||i.dragEl||!e&&0!==s.button||e&&1!==s.touches.length||(s.originalEvent&&s.originalEvent.touches&&(s=evt.originalEvent.touches[0]),i.delayMove=function(t){a=!1,t.preventDefault(),i.dragStart(s),i.trigger("start.uk.nestable",[i]),i.delayMove=!1},i.delayMove.x=parseInt(s.pageX,10),i.delayMove.y=parseInt(s.pageY,10),i.delayMove.threshold=i.options.idlethreshold,a.length&&"touchend"==h&&i.one(h,function(){a&&a.attr("href").trim()&&(location.href=a.attr("href"))}),s.preventDefault())))},d=function(t){t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i.delayMove&&(Math.abs(t.pageX-i.delayMove.x)>i.delayMove.threshold||Math.abs(t.pageY-i.delayMove.y)>i.delayMove.threshold)&&(window.getSelection().toString()?i.delayMove=!1:i.delayMove(t)),i.dragEl&&(t.preventDefault(),i.dragMove(t),i.trigger("move.uk.nestable",[i]))},p=function(t){i.dragEl&&(t.preventDefault(),i.dragStop(e?t.touches[0]:t)),s=!1,i.delayMove=!1};e?(this.element[0].addEventListener(n,l,!1),window.addEventListener(o,d,!1),window.addEventListener(h,p,!1),window.addEventListener(r,p,!1)):(this.on(n,l),a.on(o,d),a.on(h,p))},serialize:function(){var s,e=0,i=this,l=function(s,e){var a=[],n=s.children(i.options._listItemClass);return n.each(function(){for(var s,n,o,h=t.$(this),r={},d=h.children(i.options._listClass),p=0;p<h[0].attributes.length;p++)s=h[0].attributes[p],0===s.name.indexOf("data-")&&(n=s.name.substr(5),o=t.Utils.str2json(s.value),r[n]=o||"false"==s.value||"0"==s.value?o:s.value);d.length&&(r.children=l(d,e+1)),a.push(r)}),a};return s=l(i.element,e)},list:function(s){var e=[],i=this,l=0,a=function(i,l,n){var o=i.children(s._listItemClass);o.each(function(i){var o=t.$(this),h=t.$.extend({parent_id:n?n:null,depth:l,order:i},o.data()),r=o.children(s._listClass);e.push(h),r.length&&a(r,l+1,o.data(s.idProperty||"id"))})};return s=t.$.extend({},i.options,s),a(i.element,l),e},reset:function(){this.mouse={offsetX:0,offsetY:0,startX:0,startY:0,lastX:0,lastY:0,nowX:0,nowY:0,distX:0,distY:0,dirAx:0,dirX:0,dirY:0,lastDirX:0,lastDirY:0,distAxX:0,distAxY:0},this.moving=!1,this.dragEl=null,this.dragRootEl=null,this.dragDepth=0,this.hasNewRoot=!1,this.pointEl=null;for(var t=0;t<l.length;t++)this.checkEmptyList(l[t]);l=[]},toggleItem:function(t){this[t.hasClass(this.options.collapsedClass)?"expandItem":"collapseItem"](t)},expandItem:function(t){t.removeClass(this.options.collapsedClass)},collapseItem:function(t){var s=t.children(this.options._listClass);s.length&&t.addClass(this.options.collapsedClass)},expandAll:function(){var s=this;this.find(s.options._listItemClass).each(function(){s.expandItem(t.$(this))})},collapseAll:function(){var s=this;this.find(s.options._listItemClass).each(function(){s.collapseItem(t.$(this))})},setParent:function(t){t.children(this.options._listClass).length&&t.addClass("uk-parent")},unsetParent:function(t){t.removeClass("uk-parent "+this.options.collapsedClass),t.children(this.options._listClass).remove()},dragStart:function(e){var l=this.mouse,a=t.$(e.target),n=a.closest(this.options._listItemClass),o=n.offset();this.placeEl=n,l.offsetX=e.pageX-o.left,l.offsetY=e.pageY-o.top,l.startX=l.lastX=o.left,l.startY=l.lastY=o.top,this.dragRootEl=this.element,this.dragEl=t.$("<ul></ul>").addClass(this.options.listClass+" "+this.options.dragClass).append(n.clone()),this.dragEl.css("width",n.width()),this.placeEl.addClass(this.options.placeholderClass),s=this.dragEl,this.tmpDragOnSiblings=[n[0].previousSibling,n[0].nextSibling],t.$body.append(this.dragEl),this.dragEl.css({left:o.left,top:o.top});var h,r,d=this.dragEl.find(this.options._listItemClass);for(h=0;h<d.length;h++)r=t.$(d[h]).parents(this.options._listClass+","+this.options._listBaseClass).length,r>this.dragDepth&&(this.dragDepth=r);i.addClass(this.options.movingClass)},dragStop:function(){var s=t.$(this.placeEl),e=this.placeEl.parents(this.options._listBaseClass+":first");this.placeEl.removeClass(this.options.placeholderClass),this.dragEl.remove(),this.element[0]!==e[0]?(e.trigger("change.uk.nestable",[e.data("nestable"),s,"added"]),this.element.trigger("change.uk.nestable",[this,s,"removed"])):this.element.trigger("change.uk.nestable",[this,s,"moved"]),this.trigger("stop.uk.nestable",[this,s]),this.reset(),i.removeClass(this.options.movingClass)},dragMove:function(s){var e,i,a,n,o,h=this.options,r=this.mouse,d=this.dragRootEl?this.dragRootEl.data("nestable").options.maxDepth:h.maxDepth;this.dragEl.css({left:s.pageX-r.offsetX,top:s.pageY-r.offsetY}),r.lastX=r.nowX,r.lastY=r.nowY,r.nowX=s.pageX,r.nowY=s.pageY,r.distX=r.nowX-r.lastX,r.distY=r.nowY-r.lastY,r.lastDirX=r.dirX,r.lastDirY=r.dirY,r.dirX=0===r.distX?0:r.distX>0?1:-1,r.dirY=0===r.distY?0:r.distY>0?1:-1;var p=Math.abs(r.distX)>Math.abs(r.distY)?1:0;if(!r.moving)return r.dirAx=p,r.moving=!0,void 0;if(r.dirAx!==p?(r.distAxX=0,r.distAxY=0):(r.distAxX+=Math.abs(r.distX),0!==r.dirX&&r.dirX!==r.lastDirX&&(r.distAxX=0),r.distAxY+=Math.abs(r.distY),0!==r.dirY&&r.dirY!==r.lastDirY&&(r.distAxY=0)),r.dirAx=p,r.dirAx&&r.distAxX>=h.threshold&&(r.distAxX=0,a=this.placeEl.prev("li"),r.distX>0&&a.length&&!a.hasClass(h.collapsedClass)&&!a.hasClass(h.noChildrenClass)&&(e=a.find(h._listClass).last(),o=this.placeEl.parents(h._listClass+","+h._listBaseClass).length,o+this.dragDepth<=d&&(e.length?(e=a.children(h._listClass).last(),e.append(this.placeEl)):(e=t.$("<ul/>").addClass(h.listClass),e.append(this.placeEl),a.append(e),this.setParent(a)))),r.distX<0&&(n=this.placeEl.next(h._listItemClass),!n.length))){var c=this.placeEl.closest([h._listBaseClass,h._listClass].join(",")),g=c.closest(h._listItemClass);g.length&&(g.after(this.placeEl),c.children().length||this.unsetParent(g))}var u=!1,f=s.pageX-(window.pageXOffset||document.scrollLeft||0),m=s.pageY-(window.pageYOffset||document.documentElement.scrollTop);if(this.pointEl=t.$(document.elementFromPoint(f,m)),h.handleClass&&this.pointEl.hasClass(h.handleClass))this.pointEl=this.pointEl.closest(h._listItemClass);else{var C=this.pointEl.closest(h._listItemClass);C.length&&(this.pointEl=C)}if(!this.placeEl.find(this.pointEl).length){if(this.pointEl.data("nestable")&&!this.pointEl.children().length)u=!0,this.checkEmptyList(this.pointEl);else if(!this.pointEl.length||!this.pointEl.hasClass(h.listItemClass))return;var v=this.element,E=this.pointEl.closest(this.options._listBaseClass),b=v[0]!=E[0];if(!r.dirAx||b||u){if(b&&h.group!==E.data("nestable-group"))return;if(l.push(v),o=this.dragDepth-1+this.pointEl.parents(h._listClass+","+h._listBaseClass).length,o>d)return;var X=s.pageY<this.pointEl.offset().top+this.pointEl.height()/2;i=this.placeEl.parent(),u?this.pointEl.append(this.placeEl):X?this.pointEl.before(this.placeEl):this.pointEl.after(this.placeEl),i.children().length||i.data("nestable")||this.unsetParent(i.parent()),this.checkEmptyList(this.dragRootEl),this.checkEmptyList(v),b&&(this.dragRootEl=E,this.hasNewRoot=this.element[0]!==this.dragRootEl[0])}}},checkEmptyList:function(s){s=s?t.$(s):this.element,this.options.emptyClass&&s[s.children().length?"removeClass":"addClass"](this.options.emptyClass)}}),t.nestable}); \ No newline at end of file | ||
| diff --git a/js/components/notify.js b/js/components/notify.js new file mode 100755 index 0000000..d67be84 --- /dev/null +++ b/js/components/notify.js | |||
| @@ -0,0 +1,189 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-notify", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var containers = {}, | ||
| 21 | messages = {}, | ||
| 22 | |||
| 23 | notify = function(options){ | ||
| 24 | |||
| 25 | if (UI.$.type(options) == 'string') { | ||
| 26 | options = { message: options }; | ||
| 27 | } | ||
| 28 | |||
| 29 | if (arguments[1]) { | ||
| 30 | options = UI.$.extend(options, UI.$.type(arguments[1]) == 'string' ? {status:arguments[1]} : arguments[1]); | ||
| 31 | } | ||
| 32 | |||
| 33 | return (new Message(options)).show(); | ||
| 34 | }, | ||
| 35 | closeAll = function(group, instantly){ | ||
| 36 | |||
| 37 | var id; | ||
| 38 | |||
| 39 | if (group) { | ||
| 40 | for(id in messages) { if(group===messages[id].group) messages[id].close(instantly); } | ||
| 41 | } else { | ||
| 42 | for(id in messages) { messages[id].close(instantly); } | ||
| 43 | } | ||
| 44 | }; | ||
| 45 | |||
| 46 | var Message = function(options){ | ||
| 47 | |||
| 48 | this.options = UI.$.extend({}, Message.defaults, options); | ||
| 49 | |||
| 50 | this.uuid = UI.Utils.uid("notifymsg"); | ||
| 51 | this.element = UI.$([ | ||
| 52 | |||
| 53 | '<div class="uk-notify-message">', | ||
| 54 | '<a class="uk-close"></a>', | ||
| 55 | '<div></div>', | ||
| 56 | '</div>' | ||
| 57 | |||
| 58 | ].join('')).data("notifyMessage", this); | ||
| 59 | |||
| 60 | this.content(this.options.message); | ||
| 61 | |||
| 62 | // status | ||
| 63 | if (this.options.status) { | ||
| 64 | this.element.addClass('uk-notify-message-'+this.options.status); | ||
| 65 | this.currentstatus = this.options.status; | ||
| 66 | } | ||
| 67 | |||
| 68 | this.group = this.options.group; | ||
| 69 | |||
| 70 | messages[this.uuid] = this; | ||
| 71 | |||
| 72 | if(!containers[this.options.pos]) { | ||
| 73 | containers[this.options.pos] = UI.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo('body').on("click", ".uk-notify-message", function(){ | ||
| 74 | |||
| 75 | var message = UI.$(this).data("notifyMessage"); | ||
| 76 | |||
| 77 | message.element.trigger('manualclose.uk.notify', [message]); | ||
| 78 | message.close(); | ||
| 79 | }); | ||
| 80 | } | ||
| 81 | }; | ||
| 82 | |||
| 83 | |||
| 84 | UI.$.extend(Message.prototype, { | ||
| 85 | |||
| 86 | uuid: false, | ||
| 87 | element: false, | ||
| 88 | timout: false, | ||
| 89 | currentstatus: "", | ||
| 90 | group: false, | ||
| 91 | |||
| 92 | show: function() { | ||
| 93 | |||
| 94 | if (this.element.is(":visible")) return; | ||
| 95 | |||
| 96 | var $this = this; | ||
| 97 | |||
| 98 | containers[this.options.pos].show().prepend(this.element); | ||
| 99 | |||
| 100 | var marginbottom = parseInt(this.element.css("margin-bottom"), 10); | ||
| 101 | |||
| 102 | this.element.css({"opacity":0, "margin-top": -1*this.element.outerHeight(), "margin-bottom":0}).animate({"opacity":1, "margin-top": 0, "margin-bottom":marginbottom}, function(){ | ||
| 103 | |||
| 104 | if ($this.options.timeout) { | ||
| 105 | |||
| 106 | var closefn = function(){ $this.close(); }; | ||
| 107 | |||
| 108 | $this.timeout = setTimeout(closefn, $this.options.timeout); | ||
| 109 | |||
| 110 | $this.element.hover( | ||
| 111 | function() { clearTimeout($this.timeout); }, | ||
| 112 | function() { $this.timeout = setTimeout(closefn, $this.options.timeout); } | ||
| 113 | ); | ||
| 114 | } | ||
| 115 | |||
| 116 | }); | ||
| 117 | |||
| 118 | return this; | ||
| 119 | }, | ||
| 120 | |||
| 121 | close: function(instantly) { | ||
| 122 | |||
| 123 | var $this = this, | ||
| 124 | finalize = function(){ | ||
| 125 | $this.element.remove(); | ||
| 126 | |||
| 127 | if (!containers[$this.options.pos].children().length) { | ||
| 128 | containers[$this.options.pos].hide(); | ||
| 129 | } | ||
| 130 | |||
| 131 | $this.options.onClose.apply($this, []); | ||
| 132 | $this.element.trigger('close.uk.notify', [$this]); | ||
| 133 | |||
| 134 | delete messages[$this.uuid]; | ||
| 135 | }; | ||
| 136 | |||
| 137 | if (this.timeout) clearTimeout(this.timeout); | ||
| 138 | |||
| 139 | if (instantly) { | ||
| 140 | finalize(); | ||
| 141 | } else { | ||
| 142 | this.element.animate({"opacity":0, "margin-top": -1* this.element.outerHeight(), "margin-bottom":0}, function(){ | ||
| 143 | finalize(); | ||
| 144 | }); | ||
| 145 | } | ||
| 146 | }, | ||
| 147 | |||
| 148 | content: function(html){ | ||
| 149 | |||
| 150 | var container = this.element.find(">div"); | ||
| 151 | |||
| 152 | if(!html) { | ||
| 153 | return container.html(); | ||
| 154 | } | ||
| 155 | |||
| 156 | container.html(html); | ||
| 157 | |||
| 158 | return this; | ||
| 159 | }, | ||
| 160 | |||
| 161 | status: function(status) { | ||
| 162 | |||
| 163 | if (!status) { | ||
| 164 | return this.currentstatus; | ||
| 165 | } | ||
| 166 | |||
| 167 | this.element.removeClass('uk-notify-message-'+this.currentstatus).addClass('uk-notify-message-'+status); | ||
| 168 | |||
| 169 | this.currentstatus = status; | ||
| 170 | |||
| 171 | return this; | ||
| 172 | } | ||
| 173 | }); | ||
| 174 | |||
| 175 | Message.defaults = { | ||
| 176 | message: "", | ||
| 177 | status: "", | ||
| 178 | timeout: 5000, | ||
| 179 | group: null, | ||
| 180 | pos: 'top-center', | ||
| 181 | onClose: function() {} | ||
| 182 | }; | ||
| 183 | |||
| 184 | UI.notify = notify; | ||
| 185 | UI.notify.message = Message; | ||
| 186 | UI.notify.closeAll = closeAll; | ||
| 187 | |||
| 188 | return notify; | ||
| 189 | }); | ||
| diff --git a/js/components/notify.min.js b/js/components/notify.min.js new file mode 100755 index 0000000..6c24ebb --- /dev/null +++ b/js/components/notify.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-notify",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e={},i={},s=function(e){return"string"==t.$.type(e)&&(e={message:e}),arguments[1]&&(e=t.$.extend(e,"string"==t.$.type(arguments[1])?{status:arguments[1]}:arguments[1])),new n(e).show()},o=function(t,e){var s;if(t)for(s in i)t===i[s].group&&i[s].close(e);else for(s in i)i[s].close(e)},n=function(s){this.options=t.$.extend({},n.defaults,s),this.uuid=t.Utils.uid("notifymsg"),this.element=t.$(['<div class="uk-notify-message">','<a class="uk-close"></a>',"<div></div>","</div>"].join("")).data("notifyMessage",this),this.content(this.options.message),this.options.status&&(this.element.addClass("uk-notify-message-"+this.options.status),this.currentstatus=this.options.status),this.group=this.options.group,i[this.uuid]=this,e[this.options.pos]||(e[this.options.pos]=t.$('<div class="uk-notify uk-notify-'+this.options.pos+'"></div>').appendTo("body").on("click",".uk-notify-message",function(){var e=t.$(this).data("notifyMessage");e.element.trigger("manualclose.uk.notify",[e]),e.close()}))};return t.$.extend(n.prototype,{uuid:!1,element:!1,timout:!1,currentstatus:"",group:!1,show:function(){if(!this.element.is(":visible")){var t=this;e[this.options.pos].show().prepend(this.element);var i=parseInt(this.element.css("margin-bottom"),10);return this.element.css({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0}).animate({opacity:1,"margin-top":0,"margin-bottom":i},function(){if(t.options.timeout){var e=function(){t.close()};t.timeout=setTimeout(e,t.options.timeout),t.element.hover(function(){clearTimeout(t.timeout)},function(){t.timeout=setTimeout(e,t.options.timeout)})}}),this}},close:function(t){var s=this,o=function(){s.element.remove(),e[s.options.pos].children().length||e[s.options.pos].hide(),s.options.onClose.apply(s,[]),s.element.trigger("close.uk.notify",[s]),delete i[s.uuid]};this.timeout&&clearTimeout(this.timeout),t?o():this.element.animate({opacity:0,"margin-top":-1*this.element.outerHeight(),"margin-bottom":0},function(){o()})},content:function(t){var e=this.element.find(">div");return t?(e.html(t),this):e.html()},status:function(t){return t?(this.element.removeClass("uk-notify-message-"+this.currentstatus).addClass("uk-notify-message-"+t),this.currentstatus=t,this):this.currentstatus}}),n.defaults={message:"",status:"",timeout:5e3,group:null,pos:"top-center",onClose:function(){}},t.notify=s,t.notify.message=n,t.notify.closeAll=o,s}); \ No newline at end of file | ||
| diff --git a/js/components/pagination.js b/js/components/pagination.js new file mode 100755 index 0000000..f5a8478 --- /dev/null +++ b/js/components/pagination.js | |||
| @@ -0,0 +1,147 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* | ||
| 3 | * Based on simplePagination - Copyright (c) 2012 Flavius Matis - http://flaviusmatis.github.com/simplePagination.js/ (MIT) | ||
| 4 | */ | ||
| 5 | (function(addon) { | ||
| 6 | |||
| 7 | var component; | ||
| 8 | |||
| 9 | if (window.UIkit) { | ||
| 10 | component = addon(UIkit); | ||
| 11 | } | ||
| 12 | |||
| 13 | if (typeof define == "function" && define.amd) { | ||
| 14 | define("uikit-pagination", ["uikit"], function(){ | ||
| 15 | return component || addon(UIkit); | ||
| 16 | }); | ||
| 17 | } | ||
| 18 | |||
| 19 | })(function(UI){ | ||
| 20 | |||
| 21 | "use strict"; | ||
| 22 | |||
| 23 | UI.component('pagination', { | ||
| 24 | |||
| 25 | defaults: { | ||
| 26 | items : 1, | ||
| 27 | itemsOnPage : 1, | ||
| 28 | pages : 0, | ||
| 29 | displayedPages : 7, | ||
| 30 | edges : 1, | ||
| 31 | currentPage : 0, | ||
| 32 | lblPrev : false, | ||
| 33 | lblNext : false, | ||
| 34 | onSelectPage : function() {} | ||
| 35 | }, | ||
| 36 | |||
| 37 | boot: function() { | ||
| 38 | |||
| 39 | // init code | ||
| 40 | UI.ready(function(context) { | ||
| 41 | |||
| 42 | UI.$("[data-uk-pagination]", context).each(function(){ | ||
| 43 | var ele = UI.$(this); | ||
| 44 | |||
| 45 | if (!ele.data("pagination")) { | ||
| 46 | UI.pagination(ele, UI.Utils.options(ele.attr("data-uk-pagination"))); | ||
| 47 | } | ||
| 48 | }); | ||
| 49 | }); | ||
| 50 | }, | ||
| 51 | |||
| 52 | init: function() { | ||
| 53 | |||
| 54 | var $this = this; | ||
| 55 | |||
| 56 | this.pages = this.options.pages ? this.options.pages : Math.ceil(this.options.items / this.options.itemsOnPage) ? Math.ceil(this.options.items / this.options.itemsOnPage) : 1; | ||
| 57 | this.currentPage = this.options.currentPage; | ||
| 58 | this.halfDisplayed = this.options.displayedPages / 2; | ||
| 59 | |||
| 60 | this.on("click", "a[data-page]", function(e){ | ||
| 61 | e.preventDefault(); | ||
| 62 | $this.selectPage(UI.$(this).data("page")); | ||
| 63 | }); | ||
| 64 | |||
| 65 | this._render(); | ||
| 66 | }, | ||
| 67 | |||
| 68 | _getInterval: function() { | ||
| 69 | |||
| 70 | return { | ||
| 71 | start: Math.ceil(this.currentPage > this.halfDisplayed ? Math.max(Math.min(this.currentPage - this.halfDisplayed, (this.pages - this.options.displayedPages)), 0) : 0), | ||
| 72 | end : Math.ceil(this.currentPage > this.halfDisplayed ? Math.min(this.currentPage + this.halfDisplayed, this.pages) : Math.min(this.options.displayedPages, this.pages)) | ||
| 73 | }; | ||
| 74 | }, | ||
| 75 | |||
| 76 | render: function(pages) { | ||
| 77 | this.pages = pages ? pages : this.pages; | ||
| 78 | this._render(); | ||
| 79 | }, | ||
| 80 | |||
| 81 | selectPage: function(pageIndex, pages) { | ||
| 82 | this.currentPage = pageIndex; | ||
| 83 | this.render(pages); | ||
| 84 | |||
| 85 | this.options.onSelectPage.apply(this, [pageIndex]); | ||
| 86 | this.trigger('select.uk.pagination', [pageIndex, this]); | ||
| 87 | }, | ||
| 88 | |||
| 89 | _render: function() { | ||
| 90 | |||
| 91 | var o = this.options, interval = this._getInterval(), i; | ||
| 92 | |||
| 93 | this.element.empty(); | ||
| 94 | |||
| 95 | // Generate Prev link | ||
| 96 | if (o.lblPrev) this._append(this.currentPage - 1, {text: o.lblPrev}); | ||
| 97 | |||
| 98 | // Generate start edges | ||
| 99 | if (interval.start > 0 && o.edges > 0) { | ||
| 100 | |||
| 101 | var end = Math.min(o.edges, interval.start); | ||
| 102 | |||
| 103 | for (i = 0; i < end; i++) this._append(i); | ||
| 104 | |||
| 105 | if (o.edges < interval.start && (interval.start - o.edges != 1)) { | ||
| 106 | this.element.append('<li><span>...</span></li>'); | ||
| 107 | } else if (interval.start - o.edges == 1) { | ||
| 108 | this._append(o.edges); | ||
| 109 | } | ||
| 110 | } | ||
| 111 | |||
| 112 | // Generate interval links | ||
| 113 | for (i = interval.start; i < interval.end; i++) this._append(i); | ||
| 114 | |||
| 115 | // Generate end edges | ||
| 116 | if (interval.end < this.pages && o.edges > 0) { | ||
| 117 | |||
| 118 | if (this.pages - o.edges > interval.end && (this.pages - o.edges - interval.end != 1)) { | ||
| 119 | this.element.append('<li><span>...</span></li>'); | ||
| 120 | } else if (this.pages - o.edges - interval.end == 1) { | ||
| 121 | this._append(interval.end++); | ||
| 122 | } | ||
| 123 | |||
| 124 | var begin = Math.max(this.pages - o.edges, interval.end); | ||
| 125 | |||
| 126 | for (i = begin; i < this.pages; i++) this._append(i); | ||
| 127 | } | ||
| 128 | |||
| 129 | // Generate Next link (unless option is set for at front) | ||
| 130 | if (o.lblNext) this._append(this.currentPage + 1, {text: o.lblNext}); | ||
| 131 | }, | ||
| 132 | |||
| 133 | _append: function(pageIndex, opts) { | ||
| 134 | |||
| 135 | var item, options; | ||
| 136 | |||
| 137 | pageIndex = pageIndex < 0 ? 0 : (pageIndex < this.pages ? pageIndex : this.pages - 1); | ||
| 138 | options = UI.$.extend({ text: pageIndex + 1 }, opts); | ||
| 139 | |||
| 140 | item = (pageIndex == this.currentPage) ? '<li class="uk-active"><span>' + (options.text) + '</span></li>' : '<li><a href="#page-'+(pageIndex+1)+'" data-page="'+pageIndex+'">'+options.text+'</a></li>'; | ||
| 141 | |||
| 142 | this.element.append(item); | ||
| 143 | } | ||
| 144 | }); | ||
| 145 | |||
| 146 | return UI.pagination; | ||
| 147 | }); | ||
| diff --git a/js/components/pagination.min.js b/js/components/pagination.min.js new file mode 100755 index 0000000..7361066 --- /dev/null +++ b/js/components/pagination.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-pagination",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";return t.component("pagination",{defaults:{items:1,itemsOnPage:1,pages:0,displayedPages:7,edges:1,currentPage:0,lblPrev:!1,lblNext:!1,onSelectPage:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-pagination]",e).each(function(){var e=t.$(this);e.data("pagination")||t.pagination(e,t.Utils.options(e.attr("data-uk-pagination")))})})},init:function(){var e=this;this.pages=this.options.pages?this.options.pages:Math.ceil(this.options.items/this.options.itemsOnPage)?Math.ceil(this.options.items/this.options.itemsOnPage):1,this.currentPage=this.options.currentPage,this.halfDisplayed=this.options.displayedPages/2,this.on("click","a[data-page]",function(i){i.preventDefault(),e.selectPage(t.$(this).data("page"))}),this._render()},_getInterval:function(){return{start:Math.ceil(this.currentPage>this.halfDisplayed?Math.max(Math.min(this.currentPage-this.halfDisplayed,this.pages-this.options.displayedPages),0):0),end:Math.ceil(this.currentPage>this.halfDisplayed?Math.min(this.currentPage+this.halfDisplayed,this.pages):Math.min(this.options.displayedPages,this.pages))}},render:function(t){this.pages=t?t:this.pages,this._render()},selectPage:function(t,e){this.currentPage=t,this.render(e),this.options.onSelectPage.apply(this,[t]),this.trigger("select.uk.pagination",[t,this])},_render:function(){var t,e=this.options,i=this._getInterval();if(this.element.empty(),e.lblPrev&&this._append(this.currentPage-1,{text:e.lblPrev}),i.start>0&&e.edges>0){var s=Math.min(e.edges,i.start);for(t=0;s>t;t++)this._append(t);e.edges<i.start&&i.start-e.edges!=1?this.element.append("<li><span>...</span></li>"):i.start-e.edges==1&&this._append(e.edges)}for(t=i.start;t<i.end;t++)this._append(t);if(i.end<this.pages&&e.edges>0){this.pages-e.edges>i.end&&this.pages-e.edges-i.end!=1?this.element.append("<li><span>...</span></li>"):this.pages-e.edges-i.end==1&&this._append(i.end++);var a=Math.max(this.pages-e.edges,i.end);for(t=a;t<this.pages;t++)this._append(t)}e.lblNext&&this._append(this.currentPage+1,{text:e.lblNext})},_append:function(e,i){var s,a;e=0>e?0:e<this.pages?e:this.pages-1,a=t.$.extend({text:e+1},i),s=e==this.currentPage?'<li class="uk-active"><span>'+a.text+"</span></li>":'<li><a href="#page-'+(e+1)+'" data-page="'+e+'">'+a.text+"</a></li>",this.element.append(s)}}),t.pagination}); \ No newline at end of file | ||
| diff --git a/js/components/parallax.js b/js/components/parallax.js new file mode 100755 index 0000000..e706abb --- /dev/null +++ b/js/components/parallax.js | |||
| @@ -0,0 +1,462 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-parallax", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var parallaxes = [], | ||
| 21 | supports3d = false, | ||
| 22 | scrolltop = 0, | ||
| 23 | wh = window.innerHeight, | ||
| 24 | checkParallaxes = function() { | ||
| 25 | |||
| 26 | scrolltop = UI.$win.scrollTop(); | ||
| 27 | |||
| 28 | window.requestAnimationFrame(function(){ | ||
| 29 | for (var i=0; i < parallaxes.length; i++) { | ||
| 30 | parallaxes[i].process(); | ||
| 31 | } | ||
| 32 | }); | ||
| 33 | }; | ||
| 34 | |||
| 35 | |||
| 36 | UI.component('parallax', { | ||
| 37 | |||
| 38 | defaults: { | ||
| 39 | velocity : 0.5, | ||
| 40 | target : false, | ||
| 41 | viewport : false, | ||
| 42 | media : false | ||
| 43 | }, | ||
| 44 | |||
| 45 | boot: function() { | ||
| 46 | |||
| 47 | supports3d = (function(){ | ||
| 48 | |||
| 49 | var el = document.createElement('div'), | ||
| 50 | has3d, | ||
| 51 | transforms = { | ||
| 52 | 'WebkitTransform':'-webkit-transform', | ||
| 53 | 'MSTransform':'-ms-transform', | ||
| 54 | 'MozTransform':'-moz-transform', | ||
| 55 | 'Transform':'transform' | ||
| 56 | }; | ||
| 57 | |||
| 58 | // Add it to the body to get the computed style. | ||
| 59 | document.body.insertBefore(el, null); | ||
| 60 | |||
| 61 | for (var t in transforms) { | ||
| 62 | if (el.style[t] !== undefined) { | ||
| 63 | el.style[t] = "translate3d(1px,1px,1px)"; | ||
| 64 | has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]); | ||
| 65 | } | ||
| 66 | } | ||
| 67 | |||
| 68 | document.body.removeChild(el); | ||
| 69 | |||
| 70 | return (has3d !== undefined && has3d.length > 0 && has3d !== "none"); | ||
| 71 | })(); | ||
| 72 | |||
| 73 | // listen to scroll and resize | ||
| 74 | UI.$doc.on("scrolling.uk.document", checkParallaxes); | ||
| 75 | UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ | ||
| 76 | wh = window.innerHeight; | ||
| 77 | checkParallaxes(); | ||
| 78 | }, 50)); | ||
| 79 | |||
| 80 | // init code | ||
| 81 | UI.ready(function(context) { | ||
| 82 | |||
| 83 | UI.$('[data-uk-parallax]', context).each(function() { | ||
| 84 | |||
| 85 | var parallax = UI.$(this); | ||
| 86 | |||
| 87 | if (!parallax.data("parallax")) { | ||
| 88 | UI.parallax(parallax, UI.Utils.options(parallax.attr("data-uk-parallax"))); | ||
| 89 | } | ||
| 90 | }); | ||
| 91 | }); | ||
| 92 | }, | ||
| 93 | |||
| 94 | init: function() { | ||
| 95 | |||
| 96 | this.base = this.options.target ? UI.$(this.options.target) : this.element; | ||
| 97 | this.props = {}; | ||
| 98 | this.velocity = (this.options.velocity || 1); | ||
| 99 | |||
| 100 | var reserved = ['target','velocity','viewport','plugins','media']; | ||
| 101 | |||
| 102 | Object.keys(this.options).forEach(function(prop){ | ||
| 103 | |||
| 104 | if (reserved.indexOf(prop) !== -1) { | ||
| 105 | return; | ||
| 106 | } | ||
| 107 | |||
| 108 | var start, end, dir, diff, startend = String(this.options[prop]).split(','); | ||
| 109 | |||
| 110 | if (prop.match(/color/i)) { | ||
| 111 | start = startend[1] ? startend[0] : this._getStartValue(prop), | ||
| 112 | end = startend[1] ? startend[1] : startend[0]; | ||
| 113 | |||
| 114 | if (!start) { | ||
| 115 | start = 'rgba(255,255,255,0)'; | ||
| 116 | } | ||
| 117 | |||
| 118 | } else { | ||
| 119 | start = parseFloat(startend[1] ? startend[0] : this._getStartValue(prop)), | ||
| 120 | end = parseFloat(startend[1] ? startend[1] : startend[0]); | ||
| 121 | diff = (start < end ? (end-start):(start-end)); | ||
| 122 | dir = (start < end ? 1:-1); | ||
| 123 | } | ||
| 124 | |||
| 125 | this.props[prop] = { 'start': start, 'end': end, 'dir': dir, 'diff': diff }; | ||
| 126 | |||
| 127 | }.bind(this)); | ||
| 128 | |||
| 129 | parallaxes.push(this); | ||
| 130 | }, | ||
| 131 | |||
| 132 | process: function() { | ||
| 133 | |||
| 134 | if (this.options.media) { | ||
| 135 | |||
| 136 | switch(typeof(this.options.media)) { | ||
| 137 | case 'number': | ||
| 138 | if (window.innerWidth < this.options.media) { | ||
| 139 | return false; | ||
| 140 | } | ||
| 141 | break; | ||
| 142 | case 'string': | ||
| 143 | if (window.matchMedia && !window.matchMedia(this.options.media).matches) { | ||
| 144 | return false; | ||
| 145 | } | ||
| 146 | break; | ||
| 147 | } | ||
| 148 | } | ||
| 149 | |||
| 150 | var percent = this.percentageInViewport(); | ||
| 151 | |||
| 152 | if (this.options.viewport !== false) { | ||
| 153 | percent = (this.options.viewport === 0) ? 1 : percent / this.options.viewport; | ||
| 154 | } | ||
| 155 | |||
| 156 | this.update(percent); | ||
| 157 | }, | ||
| 158 | |||
| 159 | percentageInViewport: function() { | ||
| 160 | |||
| 161 | var top = this.base.offset().top, | ||
| 162 | height = this.base.outerHeight(), | ||
| 163 | distance, percentage, percent; | ||
| 164 | |||
| 165 | if (top > (scrolltop + wh)) { | ||
| 166 | percent = 0; | ||
| 167 | } else if ((top + height) < scrolltop) { | ||
| 168 | percent = 1; | ||
| 169 | } else { | ||
| 170 | |||
| 171 | if ((top + height) < wh) { | ||
| 172 | |||
| 173 | percent = (scrolltop < wh ? scrolltop : scrolltop - wh) / (top+height); | ||
| 174 | |||
| 175 | } else { | ||
| 176 | |||
| 177 | distance = (scrolltop + wh) - top; | ||
| 178 | percentage = Math.round(distance / ((wh + height) / 100)); | ||
| 179 | percent = percentage/100; | ||
| 180 | } | ||
| 181 | } | ||
| 182 | |||
| 183 | return percent; | ||
| 184 | }, | ||
| 185 | |||
| 186 | update: function(percent) { | ||
| 187 | |||
| 188 | var $this = this, | ||
| 189 | css = {transform:'', filter:''}, | ||
| 190 | compercent = percent * (1 - (this.velocity - (this.velocity * percent))), | ||
| 191 | opts, val; | ||
| 192 | |||
| 193 | if (compercent < 0) compercent = 0; | ||
| 194 | if (compercent > 1) compercent = 1; | ||
| 195 | |||
| 196 | if (this._percent !== undefined && this._percent == compercent) { | ||
| 197 | return; | ||
| 198 | } | ||
| 199 | |||
| 200 | Object.keys(this.props).forEach(function(prop) { | ||
| 201 | |||
| 202 | opts = this.props[prop]; | ||
| 203 | |||
| 204 | if (percent === 0) { | ||
| 205 | val = opts.start; | ||
| 206 | } else if(percent === 1) { | ||
| 207 | val = opts.end; | ||
| 208 | } else if(opts.diff !== undefined) { | ||
| 209 | val = opts.start + (opts.diff * compercent * opts.dir); | ||
| 210 | } | ||
| 211 | |||
| 212 | if ((prop == 'bg' || prop == 'bgp') && !this._bgcover) { | ||
| 213 | this._bgcover = initBgImageParallax(this, prop, opts); | ||
| 214 | } | ||
| 215 | |||
| 216 | switch(prop) { | ||
| 217 | |||
| 218 | // transforms | ||
| 219 | case 'x': | ||
| 220 | css.transform += supports3d ? ' translate3d('+val+'px, 0, 0)':' translateX('+val+'px)'; | ||
| 221 | break; | ||
| 222 | case 'xp': | ||
| 223 | css.transform += supports3d ? ' translate3d('+val+'%, 0, 0)':' translateX('+val+'%)'; | ||
| 224 | break; | ||
| 225 | case 'y': | ||
| 226 | css.transform += supports3d ? ' translate3d(0, '+val+'px, 0)':' translateY('+val+'px)'; | ||
| 227 | break; | ||
| 228 | case 'yp': | ||
| 229 | css.transform += supports3d ? ' translate3d(0, '+val+'%, 0)':' translateY('+val+'%)'; | ||
| 230 | break; | ||
| 231 | case 'rotate': | ||
| 232 | css.transform += ' rotate('+val+'deg)'; | ||
| 233 | break; | ||
| 234 | case 'scale': | ||
| 235 | css.transform += ' scale('+val+')'; | ||
| 236 | break; | ||
| 237 | |||
| 238 | // bg image | ||
| 239 | case 'bg': | ||
| 240 | |||
| 241 | // don't move if image height is too small | ||
| 242 | // if ($this.element.data('bgsize') && ($this.element.data('bgsize').h + val - window.innerHeight) < 0) { | ||
| 243 | // break; | ||
| 244 | // } | ||
| 245 | |||
| 246 | css['background-position'] = '50% '+val+'px'; | ||
| 247 | break; | ||
| 248 | case 'bgp': | ||
| 249 | css['background-position'] = '50% '+val+'%'; | ||
| 250 | break; | ||
| 251 | |||
| 252 | // color | ||
| 253 | case 'color': | ||
| 254 | case 'background-color': | ||
| 255 | case 'border-color': | ||
| 256 | css[prop] = calcColor(opts.start, opts.end, compercent); | ||
| 257 | break; | ||
| 258 | |||
| 259 | // CSS Filter | ||
| 260 | case 'blur': | ||
| 261 | css.filter += ' blur('+val+'px)'; | ||
| 262 | break; | ||
| 263 | case 'hue': | ||
| 264 | css.filter += ' hue-rotate('+val+'deg)'; | ||
| 265 | break; | ||
| 266 | case 'grayscale': | ||
| 267 | css.filter += ' grayscale('+val+'%)'; | ||
| 268 | break; | ||
| 269 | case 'invert': | ||
| 270 | css.filter += ' invert('+val+'%)'; | ||
| 271 | break; | ||
| 272 | case 'fopacity': | ||
| 273 | css.filter += ' opacity('+val+'%)'; | ||
| 274 | break; | ||
| 275 | case 'saturate': | ||
| 276 | css.filter += ' saturate('+val+'%)'; | ||
| 277 | break; | ||
| 278 | case 'sepia': | ||
| 279 | css.filter += ' sepia('+val+'%)'; | ||
| 280 | break; | ||
| 281 | |||
| 282 | default: | ||
| 283 | css[prop] = val; | ||
| 284 | break; | ||
| 285 | } | ||
| 286 | |||
| 287 | }.bind(this)); | ||
| 288 | |||
| 289 | if (css.filter) { | ||
| 290 | css['-webkit-filter'] = css.filter; | ||
| 291 | } | ||
| 292 | |||
| 293 | this.element.css(css); | ||
| 294 | |||
| 295 | this._percent = compercent; | ||
| 296 | }, | ||
| 297 | |||
| 298 | _getStartValue: function(prop) { | ||
| 299 | |||
| 300 | var value = 0; | ||
| 301 | |||
| 302 | switch(prop) { | ||
| 303 | case 'scale': | ||
| 304 | value = 1; | ||
| 305 | break; | ||
| 306 | default: | ||
| 307 | value = this.element.css(prop); | ||
| 308 | } | ||
| 309 | |||
| 310 | return (value || 0); | ||
| 311 | } | ||
| 312 | |||
| 313 | }); | ||
| 314 | |||
| 315 | |||
| 316 | // helper | ||
| 317 | |||
| 318 | function initBgImageParallax(obj, prop, opts) { | ||
| 319 | |||
| 320 | var img = new Image(), url, element, size, check, ratio, width, height; | ||
| 321 | |||
| 322 | element = obj.element.css({'background-size': 'cover', 'background-repeat': 'no-repeat'}); | ||
| 323 | url = element.css('background-image').replace(/^url\(/g, '').replace(/\)$/g, '').replace(/("|')/g, ''); | ||
| 324 | check = function() { | ||
| 325 | |||
| 326 | var w = element.innerWidth(), h = element.innerHeight(), extra = (prop=='bg') ? opts.diff : (opts.diff/100) * h; | ||
| 327 | |||
| 328 | h += extra; | ||
| 329 | w += Math.ceil(extra * ratio); | ||
| 330 | |||
| 331 | if (w-extra < size.w && h < size.h) { | ||
| 332 | return obj.element.css({'background-size': 'auto'}); | ||
| 333 | } | ||
| 334 | |||
| 335 | // if element height < parent height (gap underneath) | ||
| 336 | if ((w / ratio) < h) { | ||
| 337 | |||
| 338 | width = Math.ceil(h * ratio); | ||
| 339 | height = h; | ||
| 340 | |||
| 341 | if (h > window.innerHeight) { | ||
| 342 | width = width * 1.2; | ||
| 343 | height = height * 1.2; | ||
| 344 | } | ||
| 345 | |||
| 346 | // element width < parent width (gap to right) | ||
| 347 | } else { | ||
| 348 | |||
| 349 | width = w; | ||
| 350 | height = Math.ceil(w / ratio); | ||
| 351 | } | ||
| 352 | |||
| 353 | element.css({'background-size': (width+'px '+height+'px')}).data('bgsize', {w:width,h:height}); | ||
| 354 | }; | ||
| 355 | |||
| 356 | img.onerror = function(){ | ||
| 357 | // image url doesn't exist | ||
| 358 | }; | ||
| 359 | |||
| 360 | img.onload = function(){ | ||
| 361 | size = {w:img.width, h:img.height}; | ||
| 362 | ratio = img.width / img.height; | ||
| 363 | |||
| 364 | UI.$win.on("load resize orientationchange", UI.Utils.debounce(function(){ | ||
| 365 | check(); | ||
| 366 | }, 50)); | ||
| 367 | |||
| 368 | check(); | ||
| 369 | }; | ||
| 370 | |||
| 371 | img.src = url; | ||
| 372 | |||
| 373 | return true; | ||
| 374 | } | ||
| 375 | |||
| 376 | |||
| 377 | // Some named colors to work with, added by Bradley Ayers | ||
| 378 | // From Interface by Stefan Petre | ||
| 379 | // http://interface.eyecon.ro/ | ||
| 380 | var colors = { | ||
| 381 | 'black': [0,0,0,1], | ||
| 382 | 'blue': [0,0,255,1], | ||
| 383 | 'brown': [165,42,42,1], | ||
| 384 | 'cyan': [0,255,255,1], | ||
| 385 | 'fuchsia': [255,0,255,1], | ||
| 386 | 'gold': [255,215,0,1], | ||
| 387 | 'green': [0,128,0,1], | ||
| 388 | 'indigo': [75,0,130,1], | ||
| 389 | 'khaki': [240,230,140,1], | ||
| 390 | 'lime': [0,255,0,1], | ||
| 391 | 'magenta': [255,0,255,1], | ||
| 392 | 'maroon': [128,0,0,1], | ||
| 393 | 'navy': [0,0,128,1], | ||
| 394 | 'olive': [128,128,0,1], | ||
| 395 | 'orange': [255,165,0,1], | ||
| 396 | 'pink': [255,192,203,1], | ||
| 397 | 'purple': [128,0,128,1], | ||
| 398 | 'violet': [128,0,128,1], | ||
| 399 | 'red': [255,0,0,1], | ||
| 400 | 'silver': [192,192,192,1], | ||
| 401 | 'white': [255,255,255,1], | ||
| 402 | 'yellow': [255,255,0,1], | ||
| 403 | 'transparent': [255,255,255,0] | ||
| 404 | }; | ||
| 405 | |||
| 406 | function calcColor(start, end, pos) { | ||
| 407 | |||
| 408 | start = parseColor(start); | ||
| 409 | end = parseColor(end); | ||
| 410 | pos = pos || 0; | ||
| 411 | |||
| 412 | return calculateColor(start, end, pos); | ||
| 413 | } | ||
| 414 | |||
| 415 | /**! | ||
| 416 | * @preserve Color animation 1.6.0 | ||
| 417 | * http://www.bitstorm.org/jquery/color-animation/ | ||
| 418 | * Copyright 2011, 2013 Edwin Martin <edwin@bitstorm.org> | ||
| 419 | * Released under the MIT and GPL licenses. | ||
| 420 | */ | ||
| 421 | |||
| 422 | // Calculate an in-between color. Returns "#aabbcc"-like string. | ||
| 423 | function calculateColor(begin, end, pos) { | ||
| 424 | var color = 'rgba(' | ||
| 425 | + parseInt((begin[0] + pos * (end[0] - begin[0])), 10) + ',' | ||
| 426 | + parseInt((begin[1] + pos * (end[1] - begin[1])), 10) + ',' | ||
| 427 | + parseInt((begin[2] + pos * (end[2] - begin[2])), 10) + ',' | ||
| 428 | + (begin && end ? parseFloat(begin[3] + pos * (end[3] - begin[3])) : 1); | ||
| 429 | |||
| 430 | color += ')'; | ||
| 431 | return color; | ||
| 432 | } | ||
| 433 | |||
| 434 | // Parse an CSS-syntax color. Outputs an array [r, g, b] | ||
| 435 | function parseColor(color) { | ||
| 436 | |||
| 437 | var match, quadruplet; | ||
| 438 | |||
| 439 | // Match #aabbcc | ||
| 440 | if (match = /#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(color)) { | ||
| 441 | quadruplet = [parseInt(match[1], 16), parseInt(match[2], 16), parseInt(match[3], 16), 1]; | ||
| 442 | |||
| 443 | // Match #abc | ||
| 444 | } else if (match = /#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(color)) { | ||
| 445 | quadruplet = [parseInt(match[1], 16) * 17, parseInt(match[2], 16) * 17, parseInt(match[3], 16) * 17, 1]; | ||
| 446 | |||
| 447 | // Match rgb(n, n, n) | ||
| 448 | } else if (match = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color)) { | ||
| 449 | quadruplet = [parseInt(match[1]), parseInt(match[2]), parseInt(match[3]), 1]; | ||
| 450 | |||
| 451 | } else if (match = /rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(color)) { | ||
| 452 | quadruplet = [parseInt(match[1], 10), parseInt(match[2], 10), parseInt(match[3], 10),parseFloat(match[4])]; | ||
| 453 | |||
| 454 | // No browser returns rgb(n%, n%, n%), so little reason to support this format. | ||
| 455 | } else { | ||
| 456 | quadruplet = colors[color] || [255,255,255,0]; | ||
| 457 | } | ||
| 458 | return quadruplet; | ||
| 459 | } | ||
| 460 | |||
| 461 | return UI.parallax; | ||
| 462 | }); | ||
| diff --git a/js/components/parallax.min.js b/js/components/parallax.min.js new file mode 100755 index 0000000..aa290a1 --- /dev/null +++ b/js/components/parallax.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(e){var t;window.UIkit&&(t=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-parallax",["uikit"],function(){return t||e(UIkit)})}(function(e){"use strict";function t(t,a,r){var i,n,s,o,c,l,p,f=new Image;return n=t.element.css({"background-size":"cover","background-repeat":"no-repeat"}),i=n.css("background-image").replace(/^url\(/g,"").replace(/\)$/g,"").replace(/("|')/g,""),o=function(){var e=n.innerWidth(),i=n.innerHeight(),o="bg"==a?r.diff:r.diff/100*i;return i+=o,e+=Math.ceil(o*c),e-o<s.w&&i<s.h?t.element.css({"background-size":"auto"}):(i>e/c?(l=Math.ceil(i*c),p=i,i>window.innerHeight&&(l=1.2*l,p=1.2*p)):(l=e,p=Math.ceil(e/c)),n.css({"background-size":l+"px "+p+"px"}).data("bgsize",{w:l,h:p}),void 0)},f.onerror=function(){},f.onload=function(){s={w:f.width,h:f.height},c=f.width/f.height,e.$win.on("load resize orientationchange",e.Utils.debounce(function(){o()},50)),o()},f.src=i,!0}function a(e,t,a){return e=i(e),t=i(t),a=a||0,r(e,t,a)}function r(e,t,a){var r="rgba("+parseInt(e[0]+a*(t[0]-e[0]),10)+","+parseInt(e[1]+a*(t[1]-e[1]),10)+","+parseInt(e[2]+a*(t[2]-e[2]),10)+","+(e&&t?parseFloat(e[3]+a*(t[3]-e[3])):1);return r+=")"}function i(e){var t,a;return a=(t=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})/.exec(e))?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),1]:(t=/#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])/.exec(e))?[17*parseInt(t[1],16),17*parseInt(t[2],16),17*parseInt(t[3],16),1]:(t=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(e))?[parseInt(t[1]),parseInt(t[2]),parseInt(t[3]),1]:(t=/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9\.]*)\s*\)/.exec(e))?[parseInt(t[1],10),parseInt(t[2],10),parseInt(t[3],10),parseFloat(t[4])]:p[e]||[255,255,255,0]}var n=[],s=!1,o=0,c=window.innerHeight,l=function(){o=e.$win.scrollTop(),window.requestAnimationFrame(function(){for(var e=0;e<n.length;e++)n[e].process()})};e.component("parallax",{defaults:{velocity:.5,target:!1,viewport:!1,media:!1},boot:function(){s=function(){var e,t=document.createElement("div"),a={WebkitTransform:"-webkit-transform",MSTransform:"-ms-transform",MozTransform:"-moz-transform",Transform:"transform"};document.body.insertBefore(t,null);for(var r in a)void 0!==t.style[r]&&(t.style[r]="translate3d(1px,1px,1px)",e=window.getComputedStyle(t).getPropertyValue(a[r]));return document.body.removeChild(t),void 0!==e&&e.length>0&&"none"!==e}(),e.$doc.on("scrolling.uk.document",l),e.$win.on("load resize orientationchange",e.Utils.debounce(function(){c=window.innerHeight,l()},50)),e.ready(function(t){e.$("[data-uk-parallax]",t).each(function(){var t=e.$(this);t.data("parallax")||e.parallax(t,e.Utils.options(t.attr("data-uk-parallax")))})})},init:function(){this.base=this.options.target?e.$(this.options.target):this.element,this.props={},this.velocity=this.options.velocity||1;var t=["target","velocity","viewport","plugins","media"];Object.keys(this.options).forEach(function(e){if(-1===t.indexOf(e)){var a,r,i,n,s=String(this.options[e]).split(",");e.match(/color/i)?(a=s[1]?s[0]:this._getStartValue(e),r=s[1]?s[1]:s[0],a||(a="rgba(255,255,255,0)")):(a=parseFloat(s[1]?s[0]:this._getStartValue(e)),r=parseFloat(s[1]?s[1]:s[0]),n=r>a?r-a:a-r,i=r>a?1:-1),this.props[e]={start:a,end:r,dir:i,diff:n}}}.bind(this)),n.push(this)},process:function(){if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var e=this.percentageInViewport();this.options.viewport!==!1&&(e=0===this.options.viewport?1:e/this.options.viewport),this.update(e)},percentageInViewport:function(){var e,t,a,r=this.base.offset().top,i=this.base.outerHeight();return r>o+c?a=0:o>r+i?a=1:c>r+i?a=(c>o?o:o-c)/(r+i):(e=o+c-r,t=Math.round(e/((c+i)/100)),a=t/100),a},update:function(e){var r,i,n={transform:"",filter:""},o=e*(1-(this.velocity-this.velocity*e));0>o&&(o=0),o>1&&(o=1),(void 0===this._percent||this._percent!=o)&&(Object.keys(this.props).forEach(function(c){switch(r=this.props[c],0===e?i=r.start:1===e?i=r.end:void 0!==r.diff&&(i=r.start+r.diff*o*r.dir),"bg"!=c&&"bgp"!=c||this._bgcover||(this._bgcover=t(this,c,r)),c){case"x":n.transform+=s?" translate3d("+i+"px, 0, 0)":" translateX("+i+"px)";break;case"xp":n.transform+=s?" translate3d("+i+"%, 0, 0)":" translateX("+i+"%)";break;case"y":n.transform+=s?" translate3d(0, "+i+"px, 0)":" translateY("+i+"px)";break;case"yp":n.transform+=s?" translate3d(0, "+i+"%, 0)":" translateY("+i+"%)";break;case"rotate":n.transform+=" rotate("+i+"deg)";break;case"scale":n.transform+=" scale("+i+")";break;case"bg":n["background-position"]="50% "+i+"px";break;case"bgp":n["background-position"]="50% "+i+"%";break;case"color":case"background-color":case"border-color":n[c]=a(r.start,r.end,o);break;case"blur":n.filter+=" blur("+i+"px)";break;case"hue":n.filter+=" hue-rotate("+i+"deg)";break;case"grayscale":n.filter+=" grayscale("+i+"%)";break;case"invert":n.filter+=" invert("+i+"%)";break;case"fopacity":n.filter+=" opacity("+i+"%)";break;case"saturate":n.filter+=" saturate("+i+"%)";break;case"sepia":n.filter+=" sepia("+i+"%)";break;default:n[c]=i}}.bind(this)),n.filter&&(n["-webkit-filter"]=n.filter),this.element.css(n),this._percent=o)},_getStartValue:function(e){var t=0;switch(e){case"scale":t=1;break;default:t=this.element.css(e)}return t||0}});var p={black:[0,0,0,1],blue:[0,0,255,1],brown:[165,42,42,1],cyan:[0,255,255,1],fuchsia:[255,0,255,1],gold:[255,215,0,1],green:[0,128,0,1],indigo:[75,0,130,1],khaki:[240,230,140,1],lime:[0,255,0,1],magenta:[255,0,255,1],maroon:[128,0,0,1],navy:[0,0,128,1],olive:[128,128,0,1],orange:[255,165,0,1],pink:[255,192,203,1],purple:[128,0,128,1],violet:[128,0,128,1],red:[255,0,0,1],silver:[192,192,192,1],white:[255,255,255,1],yellow:[255,255,0,1],transparent:[255,255,255,0]};return e.parallax}); \ No newline at end of file | ||
| diff --git a/js/components/search.js b/js/components/search.js new file mode 100755 index 0000000..6f8a46e --- /dev/null +++ b/js/components/search.js | |||
| @@ -0,0 +1,92 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-search", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | UI.component('search', { | ||
| 21 | defaults: { | ||
| 22 | msgResultsHeader : 'Search Results', | ||
| 23 | msgMoreResults : 'More Results', | ||
| 24 | msgNoResults : 'No results found', | ||
| 25 | template : '<ul class="uk-nav uk-nav-search uk-autocomplete-results">\ | ||
| 26 | {{#msgResultsHeader}}<li class="uk-nav-header uk-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}}\ | ||
| 27 | {{#items && items.length}}\ | ||
| 28 | {{~items}}\ | ||
| 29 | <li data-url="{{!$item.url}}">\ | ||
| 30 | <a href="{{!$item.url}}">\ | ||
| 31 | {{{$item.title}}}\ | ||
| 32 | {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}}\ | ||
| 33 | </a>\ | ||
| 34 | </li>\ | ||
| 35 | {{/items}}\ | ||
| 36 | {{#msgMoreResults}}\ | ||
| 37 | <li class="uk-nav-divider uk-skip"></li>\ | ||
| 38 | <li class="uk-search-moreresults" data-moreresults="true"><a href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li>\ | ||
| 39 | {{/msgMoreResults}}\ | ||
| 40 | {{/end}}\ | ||
| 41 | {{^items.length}}\ | ||
| 42 | {{#msgNoResults}}<li class="uk-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}}\ | ||
| 43 | {{/end}}\ | ||
| 44 | </ul>', | ||
| 45 | |||
| 46 | renderer: function(data) { | ||
| 47 | |||
| 48 | var opts = this.options; | ||
| 49 | |||
| 50 | this.dropdown.append(this.template({"items":data.results || [], "msgResultsHeader":opts.msgResultsHeader, "msgMoreResults": opts.msgMoreResults, "msgNoResults": opts.msgNoResults})); | ||
| 51 | this.show(); | ||
| 52 | } | ||
| 53 | }, | ||
| 54 | |||
| 55 | boot: function() { | ||
| 56 | |||
| 57 | // init code | ||
| 58 | UI.$html.on("focus.search.uikit", "[data-uk-search]", function(e) { | ||
| 59 | var ele =UI.$(this); | ||
| 60 | |||
| 61 | if (!ele.data("search")) { | ||
| 62 | UI.search(ele, UI.Utils.options(ele.attr("data-uk-search"))); | ||
| 63 | } | ||
| 64 | }); | ||
| 65 | }, | ||
| 66 | |||
| 67 | init: function() { | ||
| 68 | var $this = this; | ||
| 69 | |||
| 70 | this.autocomplete = UI.autocomplete(this.element, this.options); | ||
| 71 | |||
| 72 | this.autocomplete.dropdown.addClass('uk-dropdown-search'); | ||
| 73 | |||
| 74 | this.autocomplete.input.on("keyup", function(){ | ||
| 75 | $this.element[$this.autocomplete.input.val() ? "addClass":"removeClass"]("uk-active"); | ||
| 76 | }).closest("form").on("reset", function(){ | ||
| 77 | $this.value=""; | ||
| 78 | $this.element.removeClass("uk-active"); | ||
| 79 | }); | ||
| 80 | |||
| 81 | this.on('selectitem.uk.autocomplete', function(e, data) { | ||
| 82 | if (data.url) { | ||
| 83 | location.href = data.url; | ||
| 84 | } else if(data.moreresults) { | ||
| 85 | $this.autocomplete.input.closest('form').submit(); | ||
| 86 | } | ||
| 87 | }); | ||
| 88 | |||
| 89 | this.element.data("search", this); | ||
| 90 | } | ||
| 91 | }); | ||
| 92 | }); | ||
| diff --git a/js/components/search.min.js b/js/components/search.min.js new file mode 100755 index 0000000..d74b4ac --- /dev/null +++ b/js/components/search.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(e){var s;window.UIkit&&(s=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-search",["uikit"],function(){return s||e(UIkit)})}(function(e){"use strict";e.component("search",{defaults:{msgResultsHeader:"Search Results",msgMoreResults:"More Results",msgNoResults:"No results found",template:'<ul class="uk-nav uk-nav-search uk-autocomplete-results"> {{#msgResultsHeader}}<li class="uk-nav-header uk-skip">{{msgResultsHeader}}</li>{{/msgResultsHeader}} {{#items && items.length}} {{~items}} <li data-url="{{!$item.url}}"> <a href="{{!$item.url}}"> {{{$item.title}}} {{#$item.text}}<div>{{{$item.text}}}</div>{{/$item.text}} </a> </li> {{/items}} {{#msgMoreResults}} <li class="uk-nav-divider uk-skip"></li> <li class="uk-search-moreresults" data-moreresults="true"><a href="#" onclick="jQuery(this).closest(\'form\').submit();">{{msgMoreResults}}</a></li> {{/msgMoreResults}} {{/end}} {{^items.length}} {{#msgNoResults}}<li class="uk-skip"><a>{{msgNoResults}}</a></li>{{/msgNoResults}} {{/end}} </ul>',renderer:function(e){var s=this.options;this.dropdown.append(this.template({items:e.results||[],msgResultsHeader:s.msgResultsHeader,msgMoreResults:s.msgMoreResults,msgNoResults:s.msgNoResults})),this.show()}},boot:function(){e.$html.on("focus.search.uikit","[data-uk-search]",function(){var s=e.$(this);s.data("search")||e.search(s,e.Utils.options(s.attr("data-uk-search")))})},init:function(){var s=this;this.autocomplete=e.autocomplete(this.element,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-search"),this.autocomplete.input.on("keyup",function(){s.element[s.autocomplete.input.val()?"addClass":"removeClass"]("uk-active")}).closest("form").on("reset",function(){s.value="",s.element.removeClass("uk-active")}),this.on("selectitem.uk.autocomplete",function(e,t){t.url?location.href=t.url:t.moreresults&&s.autocomplete.input.closest("form").submit()}),this.element.data("search",this)}})}); \ No newline at end of file | ||
| diff --git a/js/components/slider.js b/js/components/slider.js new file mode 100755 index 0000000..f89b588 --- /dev/null +++ b/js/components/slider.js | |||
| @@ -0,0 +1,540 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-slider", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var dragging, delayIdle, anchor, dragged, store = {}; | ||
| 21 | |||
| 22 | UI.component('slider', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | center : false, | ||
| 26 | threshold : 10, | ||
| 27 | infinite : true, | ||
| 28 | autoplay : false, | ||
| 29 | autoplayInterval : 7000, | ||
| 30 | pauseOnHover : true, | ||
| 31 | activecls : 'uk-active' | ||
| 32 | }, | ||
| 33 | |||
| 34 | boot: function() { | ||
| 35 | |||
| 36 | // init code | ||
| 37 | UI.ready(function(context) { | ||
| 38 | |||
| 39 | setTimeout(function(){ | ||
| 40 | |||
| 41 | UI.$('[data-uk-slider]', context).each(function(){ | ||
| 42 | |||
| 43 | var ele = UI.$(this); | ||
| 44 | |||
| 45 | if (!ele.data('slider')) { | ||
| 46 | UI.slider(ele, UI.Utils.options(ele.attr('data-uk-slider'))); | ||
| 47 | } | ||
| 48 | }); | ||
| 49 | |||
| 50 | }, 0); | ||
| 51 | }); | ||
| 52 | }, | ||
| 53 | |||
| 54 | init: function() { | ||
| 55 | |||
| 56 | var $this = this; | ||
| 57 | |||
| 58 | this.container = this.element.find('.uk-slider'); | ||
| 59 | this.focus = 0; | ||
| 60 | |||
| 61 | UI.$win.on('resize load', UI.Utils.debounce(function() { | ||
| 62 | $this.resize(true); | ||
| 63 | }, 100)); | ||
| 64 | |||
| 65 | this.on('click.uk.slider', '[data-uk-slider-item]', function(e) { | ||
| 66 | |||
| 67 | e.preventDefault(); | ||
| 68 | |||
| 69 | var item = UI.$(this).attr('data-uk-slider-item'); | ||
| 70 | |||
| 71 | if ($this.focus == item) return; | ||
| 72 | |||
| 73 | // stop autoplay | ||
| 74 | $this.stop(); | ||
| 75 | |||
| 76 | switch(item) { | ||
| 77 | case 'next': | ||
| 78 | case 'previous': | ||
| 79 | $this[item=='next' ? 'next':'previous'](); | ||
| 80 | break; | ||
| 81 | default: | ||
| 82 | $this.updateFocus(parseInt(item, 10)); | ||
| 83 | } | ||
| 84 | }); | ||
| 85 | |||
| 86 | this.container.on({ | ||
| 87 | |||
| 88 | 'touchstart mousedown': function(evt) { | ||
| 89 | |||
| 90 | if (evt.originalEvent && evt.originalEvent.touches) { | ||
| 91 | evt = evt.originalEvent.touches[0]; | ||
| 92 | } | ||
| 93 | |||
| 94 | // ignore right click button | ||
| 95 | if (evt.button && evt.button==2 || !$this.active) { | ||
| 96 | return; | ||
| 97 | } | ||
| 98 | |||
| 99 | // stop autoplay | ||
| 100 | $this.stop(); | ||
| 101 | |||
| 102 | anchor = UI.$(evt.target).is('a') ? UI.$(evt.target) : UI.$(evt.target).parents('a:first'); | ||
| 103 | dragged = false; | ||
| 104 | |||
| 105 | if (anchor.length) { | ||
| 106 | |||
| 107 | anchor.one('click', function(e){ | ||
| 108 | if (dragged) e.preventDefault(); | ||
| 109 | }); | ||
| 110 | } | ||
| 111 | |||
| 112 | delayIdle = function(e) { | ||
| 113 | |||
| 114 | dragged = true; | ||
| 115 | dragging = $this; | ||
| 116 | store = { | ||
| 117 | touchx : parseInt(e.pageX, 10), | ||
| 118 | dir : 1, | ||
| 119 | focus : $this.focus, | ||
| 120 | base : $this.options.center ? 'center':'area' | ||
| 121 | }; | ||
| 122 | |||
| 123 | if (e.originalEvent && e.originalEvent.touches) { | ||
| 124 | e = e.originalEvent.touches[0]; | ||
| 125 | } | ||
| 126 | |||
| 127 | dragging.element.data({ | ||
| 128 | 'pointer-start': {x: parseInt(e.pageX, 10), y: parseInt(e.pageY, 10)}, | ||
| 129 | 'pointer-pos-start': $this.pos | ||
| 130 | }); | ||
| 131 | |||
| 132 | $this.container.addClass('uk-drag'); | ||
| 133 | |||
| 134 | delayIdle = false; | ||
| 135 | }; | ||
| 136 | |||
| 137 | delayIdle.x = parseInt(evt.pageX, 10); | ||
| 138 | delayIdle.threshold = $this.options.threshold; | ||
| 139 | |||
| 140 | }, | ||
| 141 | |||
| 142 | mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, | ||
| 143 | mouseleave: function() { $this.hovering = false; } | ||
| 144 | }); | ||
| 145 | |||
| 146 | this.resize(true); | ||
| 147 | |||
| 148 | this.on('display.uk.check', function(){ | ||
| 149 | if ($this.element.is(":visible")) { | ||
| 150 | $this.resize(true); | ||
| 151 | } | ||
| 152 | }); | ||
| 153 | |||
| 154 | // prevent dragging links + images | ||
| 155 | this.element.find('a,img').attr('draggable', 'false'); | ||
| 156 | |||
| 157 | // Set autoplay | ||
| 158 | if (this.options.autoplay) { | ||
| 159 | this.start(); | ||
| 160 | } | ||
| 161 | |||
| 162 | }, | ||
| 163 | |||
| 164 | resize: function(focus) { | ||
| 165 | |||
| 166 | var $this = this, pos = 0, maxheight = 0, item, width, cwidth, size; | ||
| 167 | |||
| 168 | this.items = this.container.children().filter(':visible'); | ||
| 169 | this.vp = this.element[0].getBoundingClientRect().width; | ||
| 170 | |||
| 171 | this.container.css({'min-width': '', 'min-height': ''}); | ||
| 172 | |||
| 173 | this.items.each(function(idx){ | ||
| 174 | |||
| 175 | item = UI.$(this); | ||
| 176 | size = item.css({'left': '', 'width':''})[0].getBoundingClientRect(); | ||
| 177 | width = size.width; | ||
| 178 | cwidth = item.width(); | ||
| 179 | maxheight = Math.max(maxheight, size.height); | ||
| 180 | |||
| 181 | item.css({'left': pos, 'width':width}).data({'idx':idx, 'left': pos, 'width': width, 'cwidth':cwidth, 'area': (pos+width), 'center':(pos - ($this.vp/2 - cwidth/2))}); | ||
| 182 | |||
| 183 | pos += width; | ||
| 184 | }); | ||
| 185 | |||
| 186 | this.container.css({'min-width': pos, 'min-height': maxheight}); | ||
| 187 | |||
| 188 | if (this.options.infinite && (pos <= (2*this.vp) || this.items.length < 5) && !this.itemsResized) { | ||
| 189 | |||
| 190 | // fill with cloned items | ||
| 191 | this.container.children().each(function(idx){ | ||
| 192 | $this.container.append($this.items.eq(idx).clone(true).attr('id', '')); | ||
| 193 | }).each(function(idx){ | ||
| 194 | $this.container.append($this.items.eq(idx).clone(true).attr('id', '')); | ||
| 195 | }); | ||
| 196 | |||
| 197 | this.itemsResized = true; | ||
| 198 | |||
| 199 | return this.resize(); | ||
| 200 | } | ||
| 201 | |||
| 202 | this.cw = pos; | ||
| 203 | this.pos = 0; | ||
| 204 | this.active = pos >= this.vp; | ||
| 205 | |||
| 206 | this.container.css({ | ||
| 207 | '-ms-transform': '', | ||
| 208 | '-webkit-transform': '', | ||
| 209 | 'transform': '' | ||
| 210 | }); | ||
| 211 | |||
| 212 | if (focus) this.updateFocus(this.focus); | ||
| 213 | }, | ||
| 214 | |||
| 215 | updatePos: function(pos) { | ||
| 216 | this.pos = pos; | ||
| 217 | this.container.css({ | ||
| 218 | '-ms-transform': 'translateX('+pos+'px)', | ||
| 219 | '-webkit-transform': 'translateX('+pos+'px)', | ||
| 220 | 'transform': 'translateX('+pos+'px)' | ||
| 221 | }); | ||
| 222 | }, | ||
| 223 | |||
| 224 | updateFocus: function(idx, dir) { | ||
| 225 | |||
| 226 | if (!this.active) { | ||
| 227 | return; | ||
| 228 | } | ||
| 229 | |||
| 230 | dir = dir || (idx > this.focus ? 1:-1); | ||
| 231 | |||
| 232 | var item = this.items.eq(idx), area, i; | ||
| 233 | |||
| 234 | if (this.options.infinite) { | ||
| 235 | this.infinite(idx, dir); | ||
| 236 | } | ||
| 237 | |||
| 238 | if (this.options.center) { | ||
| 239 | |||
| 240 | this.updatePos(item.data('center')*-1); | ||
| 241 | |||
| 242 | this.items.filter('.'+this.options.activecls).removeClass(this.options.activecls); | ||
| 243 | item.addClass(this.options.activecls); | ||
| 244 | |||
| 245 | } else { | ||
| 246 | |||
| 247 | if (this.options.infinite) { | ||
| 248 | |||
| 249 | this.updatePos(item.data('left')*-1); | ||
| 250 | |||
| 251 | } else { | ||
| 252 | |||
| 253 | area = 0; | ||
| 254 | |||
| 255 | for (i=idx;i<this.items.length;i++) { | ||
| 256 | area += this.items.eq(i).data('width'); | ||
| 257 | } | ||
| 258 | |||
| 259 | |||
| 260 | if (area > this.vp) { | ||
| 261 | |||
| 262 | this.updatePos(item.data('left')*-1); | ||
| 263 | |||
| 264 | } else { | ||
| 265 | |||
| 266 | if (dir == 1) { | ||
| 267 | |||
| 268 | area = 0; | ||
| 269 | |||
| 270 | for (i=this.items.length-1;i>=0;i--) { | ||
| 271 | |||
| 272 | area += this.items.eq(i).data('width'); | ||
| 273 | |||
| 274 | if (area == this.vp) { | ||
| 275 | idx = i; | ||
| 276 | break; | ||
| 277 | } | ||
| 278 | |||
| 279 | if (area > this.vp) { | ||
| 280 | idx = (i < this.items.length-1) ? i+1 : i; | ||
| 281 | break; | ||
| 282 | } | ||
| 283 | } | ||
| 284 | |||
| 285 | if (area > this.vp) { | ||
| 286 | this.updatePos((this.container.width() - this.vp) * -1); | ||
| 287 | } else { | ||
| 288 | this.updatePos(this.items.eq(idx).data('left')*-1); | ||
| 289 | } | ||
| 290 | } | ||
| 291 | } | ||
| 292 | } | ||
| 293 | } | ||
| 294 | |||
| 295 | // mark elements | ||
| 296 | var left = this.items.eq(idx).data('left'); | ||
| 297 | |||
| 298 | this.items.removeClass('uk-slide-before uk-slide-after').each(function(i){ | ||
| 299 | if (i!==idx) { | ||
| 300 | UI.$(this).addClass(UI.$(this).data('left') < left ? 'uk-slide-before':'uk-slide-after'); | ||
| 301 | } | ||
| 302 | }); | ||
| 303 | |||
| 304 | this.focus = idx; | ||
| 305 | |||
| 306 | this.trigger('focusitem.uk.slider', [idx,this.items.eq(idx),this]); | ||
| 307 | }, | ||
| 308 | |||
| 309 | next: function() { | ||
| 310 | |||
| 311 | var focus = this.items[this.focus + 1] ? (this.focus + 1) : (this.options.infinite ? 0:this.focus); | ||
| 312 | |||
| 313 | this.updateFocus(focus, 1); | ||
| 314 | }, | ||
| 315 | |||
| 316 | previous: function() { | ||
| 317 | |||
| 318 | var focus = this.items[this.focus - 1] ? (this.focus - 1) : (this.options.infinite ? (this.items[this.focus - 1] ? this.items-1:this.items.length-1):this.focus); | ||
| 319 | |||
| 320 | this.updateFocus(focus, -1); | ||
| 321 | }, | ||
| 322 | |||
| 323 | start: function() { | ||
| 324 | |||
| 325 | this.stop(); | ||
| 326 | |||
| 327 | var $this = this; | ||
| 328 | |||
| 329 | this.interval = setInterval(function() { | ||
| 330 | if (!$this.hovering) $this.next(); | ||
| 331 | }, this.options.autoplayInterval); | ||
| 332 | |||
| 333 | }, | ||
| 334 | |||
| 335 | stop: function() { | ||
| 336 | if (this.interval) clearInterval(this.interval); | ||
| 337 | }, | ||
| 338 | |||
| 339 | infinite: function(baseidx, direction) { | ||
| 340 | |||
| 341 | var $this = this, item = this.items.eq(baseidx), i, z = baseidx, move = [], area = 0; | ||
| 342 | |||
| 343 | if (direction == 1) { | ||
| 344 | |||
| 345 | |||
| 346 | for (i=0;i<this.items.length;i++) { | ||
| 347 | |||
| 348 | if (z != baseidx) { | ||
| 349 | area += this.items.eq(z).data('width'); | ||
| 350 | move.push(this.items.eq(z)); | ||
| 351 | } | ||
| 352 | |||
| 353 | if (area > this.vp) { | ||
| 354 | break; | ||
| 355 | } | ||
| 356 | |||
| 357 | z = z+1 == this.items.length ? 0:z+1; | ||
| 358 | } | ||
| 359 | |||
| 360 | if (move.length) { | ||
| 361 | |||
| 362 | move.forEach(function(itm){ | ||
| 363 | |||
| 364 | var left = item.data('area'); | ||
| 365 | |||
| 366 | itm.css({'left': left}).data({ | ||
| 367 | 'left' : left, | ||
| 368 | 'area' : (left+itm.data('width')), | ||
| 369 | 'center': (left - ($this.vp/2 - itm.data('cwidth')/2)) | ||
| 370 | }); | ||
| 371 | |||
| 372 | item = itm; | ||
| 373 | }); | ||
| 374 | } | ||
| 375 | |||
| 376 | |||
| 377 | } else { | ||
| 378 | |||
| 379 | for (i=this.items.length-1;i >-1 ;i--) { | ||
| 380 | |||
| 381 | area += this.items.eq(z).data('width'); | ||
| 382 | |||
| 383 | if (z != baseidx) { | ||
| 384 | move.push(this.items.eq(z)); | ||
| 385 | } | ||
| 386 | |||
| 387 | if (area > this.vp) { | ||
| 388 | break; | ||
| 389 | } | ||
| 390 | |||
| 391 | z = z-1 == -1 ? this.items.length-1:z-1; | ||
| 392 | } | ||
| 393 | |||
| 394 | if (move.length) { | ||
| 395 | |||
| 396 | move.forEach(function(itm){ | ||
| 397 | |||
| 398 | var left = item.data('left') - itm.data('width'); | ||
| 399 | |||
| 400 | itm.css({'left': left}).data({ | ||
| 401 | 'left' : left, | ||
| 402 | 'area' : (left+itm.data('width')), | ||
| 403 | 'center': (left - ($this.vp/2 - itm.data('cwidth')/2)) | ||
| 404 | }); | ||
| 405 | |||
| 406 | item = itm; | ||
| 407 | }); | ||
| 408 | } | ||
| 409 | } | ||
| 410 | } | ||
| 411 | }); | ||
| 412 | |||
| 413 | // handle dragging | ||
| 414 | UI.$doc.on('mousemove.uk.slider touchmove.uk.slider', function(e) { | ||
| 415 | |||
| 416 | if (e.originalEvent && e.originalEvent.touches) { | ||
| 417 | e = e.originalEvent.touches[0]; | ||
| 418 | } | ||
| 419 | |||
| 420 | if (delayIdle && Math.abs(e.pageX - delayIdle.x) > delayIdle.threshold) { | ||
| 421 | |||
| 422 | if (!window.getSelection().toString()) { | ||
| 423 | delayIdle(e); | ||
| 424 | } else { | ||
| 425 | dragging = delayIdle = false; | ||
| 426 | } | ||
| 427 | } | ||
| 428 | |||
| 429 | if (!dragging) { | ||
| 430 | return; | ||
| 431 | } | ||
| 432 | |||
| 433 | var x, xDiff, pos, dir, focus, item, next, diff, i, z, itm; | ||
| 434 | |||
| 435 | if (e.clientX || e.clientY) { | ||
| 436 | x = e.clientX; | ||
| 437 | } else if (e.pageX || e.pageY) { | ||
| 438 | x = e.pageX - document.body.scrollLeft - document.documentElement.scrollLeft; | ||
| 439 | } | ||
| 440 | |||
| 441 | focus = store.focus; | ||
| 442 | xDiff = x - dragging.element.data('pointer-start').x; | ||
| 443 | pos = dragging.element.data('pointer-pos-start') + xDiff; | ||
| 444 | dir = x > dragging.element.data('pointer-start').x ? -1:1; | ||
| 445 | item = dragging.items.eq(store.focus); | ||
| 446 | |||
| 447 | if (dir == 1) { | ||
| 448 | |||
| 449 | diff = item.data('left') + Math.abs(xDiff); | ||
| 450 | |||
| 451 | for (i=0,z=store.focus;i<dragging.items.length;i++) { | ||
| 452 | |||
| 453 | itm = dragging.items.eq(z); | ||
| 454 | |||
| 455 | if (z != store.focus && itm.data('left') < diff && itm.data('area') > diff) { | ||
| 456 | focus = z; | ||
| 457 | break; | ||
| 458 | } | ||
| 459 | |||
| 460 | z = z+1 == dragging.items.length ? 0:z+1; | ||
| 461 | } | ||
| 462 | |||
| 463 | } else { | ||
| 464 | |||
| 465 | diff = item.data('left') - Math.abs(xDiff); | ||
| 466 | |||
| 467 | for (i=0,z=store.focus;i<dragging.items.length;i++) { | ||
| 468 | |||
| 469 | itm = dragging.items.eq(z); | ||
| 470 | |||
| 471 | if (z != store.focus && itm.data('area') <= item.data('left') && itm.data('center') < diff) { | ||
| 472 | focus = z; | ||
| 473 | break; | ||
| 474 | } | ||
| 475 | |||
| 476 | z = z-1 == -1 ? dragging.items.length-1:z-1; | ||
| 477 | } | ||
| 478 | } | ||
| 479 | |||
| 480 | if (dragging.options.infinite && focus!=store._focus) { | ||
| 481 | dragging.infinite(focus, dir); | ||
| 482 | } | ||
| 483 | |||
| 484 | dragging.updatePos(pos); | ||
| 485 | |||
| 486 | store.dir = dir; | ||
| 487 | store._focus = focus; | ||
| 488 | store.touchx = parseInt(e.pageX, 10); | ||
| 489 | store.diff = diff; | ||
| 490 | }); | ||
| 491 | |||
| 492 | UI.$doc.on('mouseup.uk.slider touchend.uk.slider', function(e) { | ||
| 493 | |||
| 494 | if (dragging) { | ||
| 495 | |||
| 496 | dragging.container.removeClass('uk-drag'); | ||
| 497 | |||
| 498 | // TODO is this needed? | ||
| 499 | dragging.items.eq(store.focus); | ||
| 500 | |||
| 501 | var itm, focus = false, i, z; | ||
| 502 | |||
| 503 | if (store.dir == 1) { | ||
| 504 | |||
| 505 | for (i=0,z=store.focus;i<dragging.items.length;i++) { | ||
| 506 | |||
| 507 | itm = dragging.items.eq(z); | ||
| 508 | |||
| 509 | if (z != store.focus && itm.data('left') > store.diff) { | ||
| 510 | focus = z; | ||
| 511 | break; | ||
| 512 | } | ||
| 513 | |||
| 514 | z = z+1 == dragging.items.length ? 0:z+1; | ||
| 515 | } | ||
| 516 | |||
| 517 | } else { | ||
| 518 | |||
| 519 | for (i=0,z=store.focus;i<dragging.items.length;i++) { | ||
| 520 | |||
| 521 | itm = dragging.items.eq(z); | ||
| 522 | |||
| 523 | if (z != store.focus && itm.data('left') < store.diff) { | ||
| 524 | focus = z; | ||
| 525 | break; | ||
| 526 | } | ||
| 527 | |||
| 528 | z = z-1 == -1 ? dragging.items.length-1:z-1; | ||
| 529 | } | ||
| 530 | } | ||
| 531 | |||
| 532 | dragging.updateFocus(focus!==false ? focus:store._focus); | ||
| 533 | |||
| 534 | } | ||
| 535 | |||
| 536 | dragging = delayIdle = false; | ||
| 537 | }); | ||
| 538 | |||
| 539 | return UI.slider; | ||
| 540 | }); | ||
| diff --git a/js/components/slider.min.js b/js/components/slider.min.js new file mode 100755 index 0000000..8828306 --- /dev/null +++ b/js/components/slider.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slider",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";var e,i,s,n,a={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,activecls:"uk-active"},boot:function(){t.ready(function(e){setTimeout(function(){t.$("[data-uk-slider]",e).each(function(){var e=t.$(this);e.data("slider")||t.slider(e,t.Utils.options(e.attr("data-uk-slider")))})},0)})},init:function(){var o=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){o.resize(!0)},100)),this.on("click.uk.slider","[data-uk-slider-item]",function(e){e.preventDefault();var i=t.$(this).attr("data-uk-slider-item");if(o.focus!=i)switch(o.stop(),i){case"next":case"previous":o["next"==i?"next":"previous"]();break;default:o.updateFocus(parseInt(i,10))}}),this.container.on({"touchstart mousedown":function(h){h.originalEvent&&h.originalEvent.touches&&(h=h.originalEvent.touches[0]),h.button&&2==h.button||!o.active||(o.stop(),s=t.$(h.target).is("a")?t.$(h.target):t.$(h.target).parents("a:first"),n=!1,s.length&&s.one("click",function(t){n&&t.preventDefault()}),i=function(t){n=!0,e=o,a={touchx:parseInt(t.pageX,10),dir:1,focus:o.focus,base:o.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":o.pos}),o.container.addClass("uk-drag"),i=!1},i.x=parseInt(h.pageX,10),i.threshold=o.options.threshold)},mouseenter:function(){o.options.pauseOnHover&&(o.hovering=!0)},mouseleave:function(){o.hovering=!1}}),this.resize(!0),this.on("display.uk.check",function(){o.element.is(":visible")&&o.resize(!0)}),this.element.find("a,img").attr("draggable","false"),this.options.autoplay&&this.start()},resize:function(e){var i,s,n,a,o=this,h=0,r=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(e){i=t.$(this),a=i.css({left:"",width:""})[0].getBoundingClientRect(),s=a.width,n=i.width(),r=Math.max(r,a.height),i.css({left:h,width:s}).data({idx:e,left:h,width:s,cwidth:n,area:h+s,center:h-(o.vp/2-n/2)}),h+=s}),this.container.css({"min-width":h,"min-height":r}),this.options.infinite&&(h<=2*this.vp||this.items.length<5)&&!this.itemsResized?(this.container.children().each(function(t){o.container.append(o.items.eq(t).clone(!0).attr("id",""))}).each(function(t){o.container.append(o.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.resize()):(this.cw=h,this.pos=0,this.active=h>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),e&&this.updateFocus(this.focus),void 0)},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(e,i){if(this.active){i=i||(e>this.focus?1:-1);var s,n,a=this.items.eq(e);if(this.options.infinite&&this.infinite(e,i),this.options.center)this.updatePos(-1*a.data("center")),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),a.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(-1*a.data("left"));else{for(s=0,n=e;n<this.items.length;n++)s+=this.items.eq(n).data("width");if(s>this.vp)this.updatePos(-1*a.data("left"));else if(1==i){for(s=0,n=this.items.length-1;n>=0;n--){if(s+=this.items.eq(n).data("width"),s==this.vp){e=n;break}if(s>this.vp){e=n<this.items.length-1?n+1:n;break}}s>this.vp?this.updatePos(-1*(this.container.width()-this.vp)):this.updatePos(-1*this.items.eq(e).data("left"))}}var o=this.items.eq(e).data("left");this.items.removeClass("uk-slide-before uk-slide-after").each(function(i){i!==e&&t.$(this).addClass(t.$(this).data("left")<o?"uk-slide-before":"uk-slide-after")}),this.focus=e,this.trigger("focusitem.uk.slider",[e,this.items.eq(e),this])}},next:function(){var t=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(t,1)},previous:function(){var t=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(t,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},infinite:function(t,e){var i,s=this,n=this.items.eq(t),a=t,o=[],h=0;if(1==e){for(i=0;i<this.items.length&&(a!=t&&(h+=this.items.eq(a).data("width"),o.push(this.items.eq(a))),!(h>this.vp));i++)a=a+1==this.items.length?0:a+1;o.length&&o.forEach(function(t){var e=n.data("area");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(s.vp/2-t.data("cwidth")/2)}),n=t})}else{for(i=this.items.length-1;i>-1&&(h+=this.items.eq(a).data("width"),a!=t&&o.push(this.items.eq(a)),!(h>this.vp));i--)a=a-1==-1?this.items.length-1:a-1;o.length&&o.forEach(function(t){var e=n.data("left")-t.data("width");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(s.vp/2-t.data("cwidth")/2)}),n=t})}}}),t.$doc.on("mousemove.uk.slider touchmove.uk.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i&&Math.abs(t.pageX-i.x)>i.threshold&&(window.getSelection().toString()?e=i=!1:i(t)),e){var s,n,o,h,r,c,f,u,d,l;if(t.clientX||t.clientY?s=t.clientX:(t.pageX||t.pageY)&&(s=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),r=a.focus,n=s-e.element.data("pointer-start").x,o=e.element.data("pointer-pos-start")+n,h=s>e.element.data("pointer-start").x?-1:1,c=e.items.eq(a.focus),1==h)for(f=c.data("left")+Math.abs(n),u=0,d=a.focus;u<e.items.length;u++){if(l=e.items.eq(d),d!=a.focus&&l.data("left")<f&&l.data("area")>f){r=d;break}d=d+1==e.items.length?0:d+1}else for(f=c.data("left")-Math.abs(n),u=0,d=a.focus;u<e.items.length;u++){if(l=e.items.eq(d),d!=a.focus&&l.data("area")<=c.data("left")&&l.data("center")<f){r=d;break}d=d-1==-1?e.items.length-1:d-1}e.options.infinite&&r!=a._focus&&e.infinite(r,h),e.updatePos(o),a.dir=h,a._focus=r,a.touchx=parseInt(t.pageX,10),a.diff=f}}),t.$doc.on("mouseup.uk.slider touchend.uk.slider",function(){if(e){e.container.removeClass("uk-drag"),e.items.eq(a.focus);var t,s,n,o=!1;if(1==a.dir)for(s=0,n=a.focus;s<e.items.length;s++){if(t=e.items.eq(n),n!=a.focus&&t.data("left")>a.diff){o=n;break}n=n+1==e.items.length?0:n+1}else for(s=0,n=a.focus;s<e.items.length;s++){if(t=e.items.eq(n),n!=a.focus&&t.data("left")<a.diff){o=n;break}n=n-1==-1?e.items.length-1:n-1}e.updateFocus(o!==!1?o:a._focus)}e=i=!1}),t.slider}); \ No newline at end of file | ||
| diff --git a/js/components/slideset.js b/js/components/slideset.js new file mode 100755 index 0000000..b9a39b0 --- /dev/null +++ b/js/components/slideset.js | |||
| @@ -0,0 +1,514 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-slideset", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var Animations; | ||
| 21 | |||
| 22 | UI.component('slideset', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | default : 1, | ||
| 26 | animation : 'fade', | ||
| 27 | duration : 200, | ||
| 28 | filter : '', | ||
| 29 | delay : false, | ||
| 30 | controls : false, | ||
| 31 | autoplay : false, | ||
| 32 | autoplayInterval : 7000, | ||
| 33 | pauseOnHover : true | ||
| 34 | }, | ||
| 35 | |||
| 36 | sets: [], | ||
| 37 | |||
| 38 | boot: function() { | ||
| 39 | |||
| 40 | // auto init | ||
| 41 | UI.ready(function(context) { | ||
| 42 | |||
| 43 | UI.$("[data-uk-slideset]", context).each(function(){ | ||
| 44 | |||
| 45 | var ele = UI.$(this); | ||
| 46 | |||
| 47 | if(!ele.data("slideset")) { | ||
| 48 | UI.slideset(ele, UI.Utils.options(ele.attr("data-uk-slideset"))); | ||
| 49 | } | ||
| 50 | }); | ||
| 51 | }); | ||
| 52 | }, | ||
| 53 | |||
| 54 | init: function() { | ||
| 55 | |||
| 56 | var $this = this; | ||
| 57 | |||
| 58 | this.activeSet = false; | ||
| 59 | this.list = this.element.find('.uk-slideset'); | ||
| 60 | this.nav = this.element.find('.uk-slideset-nav'); | ||
| 61 | this.controls = this.options.controls ? UI.$(this.options.controls) : this.element; | ||
| 62 | |||
| 63 | UI.$win.on("resize load", UI.Utils.debounce(function() { | ||
| 64 | $this.updateSets(); | ||
| 65 | }, 100)); | ||
| 66 | |||
| 67 | $this.list.addClass('uk-grid-width-1-'+$this.options.default); | ||
| 68 | |||
| 69 | ['xlarge', 'large', 'medium', 'small'].forEach(function(bp) { | ||
| 70 | |||
| 71 | if (!$this.options[bp]) { | ||
| 72 | return; | ||
| 73 | } | ||
| 74 | |||
| 75 | $this.list.addClass('uk-grid-width-'+bp+'-1-'+$this.options[bp]); | ||
| 76 | }); | ||
| 77 | |||
| 78 | this.on("click.uk.slideset", '[data-uk-slideset-item]', function(e) { | ||
| 79 | |||
| 80 | e.preventDefault(); | ||
| 81 | |||
| 82 | if ($this.animating) { | ||
| 83 | return; | ||
| 84 | } | ||
| 85 | |||
| 86 | var set = UI.$(this).attr('data-uk-slideset-item'); | ||
| 87 | |||
| 88 | if ($this.activeSet === set) return; | ||
| 89 | |||
| 90 | switch(set) { | ||
| 91 | case 'next': | ||
| 92 | case 'previous': | ||
| 93 | $this[set=='next' ? 'next':'previous'](); | ||
| 94 | break; | ||
| 95 | default: | ||
| 96 | $this.show(parseInt(set, 10)); | ||
| 97 | } | ||
| 98 | |||
| 99 | }); | ||
| 100 | |||
| 101 | this.controls.on('click.uk.slideset', '[data-uk-filter]', function(e) { | ||
| 102 | |||
| 103 | var ele = UI.$(this); | ||
| 104 | |||
| 105 | if (ele.parent().hasClass('uk-slideset')) { | ||
| 106 | return; | ||
| 107 | } | ||
| 108 | |||
| 109 | e.preventDefault(); | ||
| 110 | |||
| 111 | if ($this.animating || $this.currentFilter == ele.attr('data-uk-filter')) { | ||
| 112 | return; | ||
| 113 | } | ||
| 114 | |||
| 115 | $this.updateFilter(ele.attr('data-uk-filter')); | ||
| 116 | |||
| 117 | $this._hide().then(function(){ | ||
| 118 | |||
| 119 | $this.updateSets(true, true); | ||
| 120 | }); | ||
| 121 | }); | ||
| 122 | |||
| 123 | this.on('swipeRight swipeLeft', function(e) { | ||
| 124 | $this[e.type=='swipeLeft' ? 'next' : 'previous'](); | ||
| 125 | }); | ||
| 126 | |||
| 127 | this.updateFilter(this.options.filter); | ||
| 128 | this.updateSets(); | ||
| 129 | |||
| 130 | this.element.on({ | ||
| 131 | mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, | ||
| 132 | mouseleave: function() { $this.hovering = false; } | ||
| 133 | }); | ||
| 134 | |||
| 135 | // Set autoplay | ||
| 136 | if (this.options.autoplay) { | ||
| 137 | this.start(); | ||
| 138 | } | ||
| 139 | }, | ||
| 140 | |||
| 141 | updateSets: function(animate, force) { | ||
| 142 | |||
| 143 | var visible = this.visible, i; | ||
| 144 | |||
| 145 | this.visible = this.getVisibleOnCurrenBreakpoint(); | ||
| 146 | |||
| 147 | if (visible == this.visible && !force) { | ||
| 148 | return; | ||
| 149 | } | ||
| 150 | |||
| 151 | this.children = this.list.children().hide(); | ||
| 152 | this.items = this.getItems(); | ||
| 153 | this.sets = array_chunk(this.items, this.visible); | ||
| 154 | |||
| 155 | for (i=0;i<this.sets.length;i++) { | ||
| 156 | this.sets[i].css({'display': 'none'}); | ||
| 157 | } | ||
| 158 | |||
| 159 | // update nav | ||
| 160 | if (this.nav.length && this.nav.empty()) { | ||
| 161 | |||
| 162 | for (i=0;i<this.sets.length;i++) { | ||
| 163 | this.nav.append('<li data-uk-slideset-item="'+i+'"><a></a></li>'); | ||
| 164 | } | ||
| 165 | |||
| 166 | this.nav[this.nav.children().length==1 ? 'addClass':'removeClass']('uk-invisible'); | ||
| 167 | } | ||
| 168 | |||
| 169 | this.activeSet = false; | ||
| 170 | this.show(0, !animate); | ||
| 171 | }, | ||
| 172 | |||
| 173 | updateFilter: function(currentfilter) { | ||
| 174 | |||
| 175 | var $this = this, filter; | ||
| 176 | |||
| 177 | this.currentFilter = currentfilter; | ||
| 178 | |||
| 179 | this.controls.find('[data-uk-filter]').each(function(){ | ||
| 180 | |||
| 181 | filter = UI.$(this); | ||
| 182 | |||
| 183 | if (!filter.parent().hasClass('uk-slideset')) { | ||
| 184 | |||
| 185 | if (filter.attr('data-uk-filter') == $this.currentFilter) { | ||
| 186 | filter.addClass('uk-active'); | ||
| 187 | } else { | ||
| 188 | filter.removeClass('uk-active'); | ||
| 189 | } | ||
| 190 | } | ||
| 191 | }); | ||
| 192 | }, | ||
| 193 | |||
| 194 | getVisibleOnCurrenBreakpoint: function() { | ||
| 195 | |||
| 196 | var breakpoint = null, | ||
| 197 | tmp = UI.$('<div style="position:absolute;height:1px;top:-1000px;width:100px"><div></div></div>').appendTo('body'), | ||
| 198 | testdiv = tmp.children().eq(0), | ||
| 199 | breakpoints = this.options; | ||
| 200 | |||
| 201 | ['xlarge', 'large', 'medium', 'small'].forEach(function(bp) { | ||
| 202 | |||
| 203 | if (!breakpoints[bp] || breakpoint) { | ||
| 204 | return; | ||
| 205 | } | ||
| 206 | |||
| 207 | tmp.attr('class', 'uk-grid-width-'+bp+'-1-2').width(); | ||
| 208 | |||
| 209 | if (testdiv.width() == 50) { | ||
| 210 | breakpoint = bp; | ||
| 211 | } | ||
| 212 | }); | ||
| 213 | |||
| 214 | tmp.remove(); | ||
| 215 | |||
| 216 | return this.options[breakpoint] || this.options['default']; | ||
| 217 | }, | ||
| 218 | |||
| 219 | getItems: function() { | ||
| 220 | |||
| 221 | var items = [], filter; | ||
| 222 | |||
| 223 | if (this.currentFilter) { | ||
| 224 | |||
| 225 | filter = this.currentFilter || []; | ||
| 226 | |||
| 227 | if (typeof(filter) === 'string') { | ||
| 228 | filter = filter.split(/,/).map(function(item){ return item.trim(); }); | ||
| 229 | } | ||
| 230 | |||
| 231 | this.children.each(function(index){ | ||
| 232 | |||
| 233 | var ele = UI.$(this), f = ele.attr('data-uk-filter'), infilter = filter.length ? false : true; | ||
| 234 | |||
| 235 | if (f) { | ||
| 236 | |||
| 237 | f = f.split(/,/).map(function(item){ return item.trim(); }); | ||
| 238 | |||
| 239 | filter.forEach(function(item){ | ||
| 240 | if (f.indexOf(item) > -1) infilter = true; | ||
| 241 | }); | ||
| 242 | } | ||
| 243 | |||
| 244 | if(infilter) items.push(ele[0]); | ||
| 245 | }); | ||
| 246 | |||
| 247 | items = UI.$(items); | ||
| 248 | |||
| 249 | } else { | ||
| 250 | items = this.list.children(); | ||
| 251 | } | ||
| 252 | |||
| 253 | return items; | ||
| 254 | }, | ||
| 255 | |||
| 256 | show: function(setIndex, noanimate, dir) { | ||
| 257 | |||
| 258 | var $this = this; | ||
| 259 | |||
| 260 | if (this.activeSet === setIndex || this.animating) { | ||
| 261 | return; | ||
| 262 | } | ||
| 263 | |||
| 264 | dir = dir || (setIndex < this.activeSet ? -1:1); | ||
| 265 | |||
| 266 | var current = this.sets[this.activeSet] || [], | ||
| 267 | next = this.sets[setIndex], | ||
| 268 | animation = this._getAnimation(); | ||
| 269 | |||
| 270 | if (noanimate || !UI.support.animation) { | ||
| 271 | animation = Animations.none; | ||
| 272 | } | ||
| 273 | |||
| 274 | this.animating = true; | ||
| 275 | |||
| 276 | if (this.nav.length) { | ||
| 277 | this.nav.children().removeClass('uk-active').eq(setIndex).addClass('uk-active'); | ||
| 278 | } | ||
| 279 | |||
| 280 | animation.apply($this, [current, next, dir]).then(function(){ | ||
| 281 | |||
| 282 | UI.Utils.checkDisplay(next, true); | ||
| 283 | |||
| 284 | $this.children.hide().removeClass('uk-active'); | ||
| 285 | next.addClass('uk-active').css({'display': '', 'opacity':''}); | ||
| 286 | |||
| 287 | $this.animating = false; | ||
| 288 | $this.activeSet = setIndex; | ||
| 289 | |||
| 290 | UI.Utils.checkDisplay(next, true); | ||
| 291 | |||
| 292 | $this.trigger('show.uk.slideset', [next]); | ||
| 293 | }); | ||
| 294 | |||
| 295 | }, | ||
| 296 | |||
| 297 | _getAnimation: function() { | ||
| 298 | |||
| 299 | var animation = Animations[this.options.animation] || Animations.none; | ||
| 300 | |||
| 301 | if (!UI.support.animation) { | ||
| 302 | animation = Animations.none; | ||
| 303 | } | ||
| 304 | |||
| 305 | return animation; | ||
| 306 | }, | ||
| 307 | |||
| 308 | _hide: function() { | ||
| 309 | |||
| 310 | var $this = this, | ||
| 311 | current = this.sets[this.activeSet] || [], | ||
| 312 | animation = this._getAnimation(); | ||
| 313 | |||
| 314 | this.animating = true; | ||
| 315 | |||
| 316 | return animation.apply($this, [current, [], 1]).then(function(){ | ||
| 317 | $this.animating = false; | ||
| 318 | }); | ||
| 319 | }, | ||
| 320 | |||
| 321 | next: function() { | ||
| 322 | this.show(this.sets[this.activeSet + 1] ? (this.activeSet + 1) : 0, false, 1); | ||
| 323 | }, | ||
| 324 | |||
| 325 | previous: function() { | ||
| 326 | this.show(this.sets[this.activeSet - 1] ? (this.activeSet - 1) : (this.sets.length - 1), false, -1); | ||
| 327 | }, | ||
| 328 | |||
| 329 | start: function() { | ||
| 330 | |||
| 331 | this.stop(); | ||
| 332 | |||
| 333 | var $this = this; | ||
| 334 | |||
| 335 | this.interval = setInterval(function() { | ||
| 336 | if (!$this.hovering && !$this.animating) $this.next(); | ||
| 337 | }, this.options.autoplayInterval); | ||
| 338 | |||
| 339 | }, | ||
| 340 | |||
| 341 | stop: function() { | ||
| 342 | if (this.interval) clearInterval(this.interval); | ||
| 343 | } | ||
| 344 | }); | ||
| 345 | |||
| 346 | Animations = { | ||
| 347 | |||
| 348 | 'none': function() { | ||
| 349 | var d = UI.$.Deferred(); | ||
| 350 | d.resolve(); | ||
| 351 | return d.promise(); | ||
| 352 | }, | ||
| 353 | |||
| 354 | 'fade': function(current, next) { | ||
| 355 | return coreAnimation.apply(this, ['uk-animation-fade', current, next]); | ||
| 356 | }, | ||
| 357 | |||
| 358 | 'slide-bottom': function(current, next) { | ||
| 359 | return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); | ||
| 360 | }, | ||
| 361 | |||
| 362 | 'slide-top': function(current, next) { | ||
| 363 | return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); | ||
| 364 | }, | ||
| 365 | |||
| 366 | 'slide-vertical': function(current, next, dir) { | ||
| 367 | |||
| 368 | var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; | ||
| 369 | |||
| 370 | if (dir == -1) { | ||
| 371 | anim.reverse(); | ||
| 372 | } | ||
| 373 | |||
| 374 | return coreAnimation.apply(this, [anim, current, next]); | ||
| 375 | }, | ||
| 376 | |||
| 377 | 'slide-horizontal': function(current, next, dir) { | ||
| 378 | |||
| 379 | var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; | ||
| 380 | |||
| 381 | if (dir == -1) { | ||
| 382 | anim.reverse(); | ||
| 383 | } | ||
| 384 | |||
| 385 | return coreAnimation.apply(this, [anim, current, next, dir]); | ||
| 386 | }, | ||
| 387 | |||
| 388 | 'scale': function(current, next) { | ||
| 389 | return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); | ||
| 390 | } | ||
| 391 | }; | ||
| 392 | |||
| 393 | UI.slideset.animations = Animations; | ||
| 394 | |||
| 395 | // helpers | ||
| 396 | |||
| 397 | function coreAnimation(cls, current, next, dir) { | ||
| 398 | |||
| 399 | var d = UI.$.Deferred(), | ||
| 400 | delay = (this.options.delay === false) ? Math.floor(this.options.duration/2) : this.options.delay, | ||
| 401 | $this = this, clsIn, clsOut, release, i; | ||
| 402 | |||
| 403 | dir = dir || 1; | ||
| 404 | |||
| 405 | this.element.css('min-height', this.element.height()); | ||
| 406 | |||
| 407 | if (next[0]===current[0]) { | ||
| 408 | d.resolve(); | ||
| 409 | return d.promise(); | ||
| 410 | } | ||
| 411 | |||
| 412 | if (typeof(cls) == 'object') { | ||
| 413 | clsIn = cls[0]; | ||
| 414 | clsOut = cls[1] || cls[0]; | ||
| 415 | } else { | ||
| 416 | clsIn = cls; | ||
| 417 | clsOut = clsIn; | ||
| 418 | } | ||
| 419 | |||
| 420 | release = function() { | ||
| 421 | |||
| 422 | if (current && current.length) { | ||
| 423 | current.hide().removeClass(clsOut+' uk-animation-reverse').css({'opacity':'', 'animation-delay': '', 'animation':''}); | ||
| 424 | } | ||
| 425 | |||
| 426 | if (!next.length) { | ||
| 427 | d.resolve(); | ||
| 428 | return; | ||
| 429 | } | ||
| 430 | |||
| 431 | for (i=0;i<next.length;i++) { | ||
| 432 | next.eq(dir == 1 ? i:(next.length - i)-1).css('animation-delay', (i*delay)+'ms'); | ||
| 433 | } | ||
| 434 | |||
| 435 | var finish = function() { | ||
| 436 | next.removeClass(''+clsIn+'').css({opacity:'', display:'', 'animation-delay':'', 'animation':''}); | ||
| 437 | d.resolve(); | ||
| 438 | $this.element.css('min-height', ''); | ||
| 439 | finish = false; | ||
| 440 | }; | ||
| 441 | |||
| 442 | next.addClass(clsIn)[dir==1 ? 'last':'first']().one(UI.support.animation.end, function(){ | ||
| 443 | if(finish) finish(); | ||
| 444 | }).end().css('display', ''); | ||
| 445 | |||
| 446 | // make sure everything resolves really | ||
| 447 | setTimeout(function() { | ||
| 448 | if(finish) finish(); | ||
| 449 | }, next.length * delay * 2); | ||
| 450 | }; | ||
| 451 | |||
| 452 | if (next.length) { | ||
| 453 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 454 | } | ||
| 455 | |||
| 456 | if (current && current.length) { | ||
| 457 | |||
| 458 | current.css('animation-duration', this.options.duration+'ms')[dir==1 ? 'last':'first']().one(UI.support.animation.end, function() { | ||
| 459 | release(); | ||
| 460 | }); | ||
| 461 | |||
| 462 | for (i=0;i<current.length;i++) { | ||
| 463 | |||
| 464 | (function (index, ele){ | ||
| 465 | |||
| 466 | setTimeout(function(){ | ||
| 467 | |||
| 468 | ele.css('display', 'none').css('display', '').css('opacity', 0).on(UI.support.animation.end, function(){ | ||
| 469 | ele.removeClass(clsOut); | ||
| 470 | }).addClass(clsOut+' uk-animation-reverse'); | ||
| 471 | |||
| 472 | }.bind(this), i * delay); | ||
| 473 | |||
| 474 | })(i, current.eq(dir == 1 ? i:(current.length - i)-1)); | ||
| 475 | } | ||
| 476 | |||
| 477 | } else { | ||
| 478 | release(); | ||
| 479 | } | ||
| 480 | |||
| 481 | return d.promise(); | ||
| 482 | } | ||
| 483 | |||
| 484 | function array_chunk(input, size) { | ||
| 485 | |||
| 486 | var x, i = 0, c = -1, l = input.length || 0, n = []; | ||
| 487 | |||
| 488 | if (size < 1) return null; | ||
| 489 | |||
| 490 | while (i < l) { | ||
| 491 | |||
| 492 | x = i % size; | ||
| 493 | |||
| 494 | if(x) { | ||
| 495 | n[c][x] = input[i]; | ||
| 496 | } else { | ||
| 497 | n[++c] = [input[i]]; | ||
| 498 | } | ||
| 499 | |||
| 500 | i++; | ||
| 501 | } | ||
| 502 | |||
| 503 | i = 0; | ||
| 504 | l = n.length; | ||
| 505 | |||
| 506 | while (i < l) { | ||
| 507 | n[i] = jQuery(n[i]); | ||
| 508 | i++; | ||
| 509 | } | ||
| 510 | |||
| 511 | return n; | ||
| 512 | } | ||
| 513 | |||
| 514 | }); | ||
| diff --git a/js/components/slideset.min.js b/js/components/slideset.min.js new file mode 100755 index 0000000..7858e6a --- /dev/null +++ b/js/components/slideset.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideset",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(i,e,s,n){var a,o,r,l,h=t.$.Deferred(),u=this.options.delay===!1?Math.floor(this.options.duration/2):this.options.delay,d=this;if(n=n||1,this.element.css("min-height",this.element.height()),s[0]===e[0])return h.resolve(),h.promise();if("object"==typeof i?(a=i[0],o=i[1]||i[0]):(a=i,o=a),r=function(){if(e&&e.length&&e.hide().removeClass(o+" uk-animation-reverse").css({opacity:"","animation-delay":"",animation:""}),!s.length)return h.resolve(),void 0;for(l=0;l<s.length;l++)s.eq(1==n?l:s.length-l-1).css("animation-delay",l*u+"ms");var i=function(){s.removeClass(""+a).css({opacity:"",display:"","animation-delay":"",animation:""}),h.resolve(),d.element.css("min-height",""),i=!1};s.addClass(a)[1==n?"last":"first"]().one(t.support.animation.end,function(){i&&i()}).end().css("display",""),setTimeout(function(){i&&i()},s.length*u*2)},s.length&&s.css("animation-duration",this.options.duration+"ms"),e&&e.length)for(e.css("animation-duration",this.options.duration+"ms")[1==n?"last":"first"]().one(t.support.animation.end,function(){r()}),l=0;l<e.length;l++)!function(i,e){setTimeout(function(){e.css("display","none").css("display","").css("opacity",0).on(t.support.animation.end,function(){e.removeClass(o)}).addClass(o+" uk-animation-reverse")}.bind(this),l*u)}(l,e.eq(1==n?l:e.length-l-1));else r();return h.promise()}function e(t,i){var e,s=0,n=-1,a=t.length||0,o=[];if(1>i)return null;for(;a>s;)e=s%i,e?o[n][e]=t[s]:o[++n]=[t[s]],s++;for(s=0,a=o.length;a>s;)o[s]=jQuery(o[s]),s++;return o}var s;t.component("slideset",{defaults:{"default":1,animation:"fade",duration:200,filter:"",delay:!1,controls:!1,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},sets:[],boot:function(){t.ready(function(i){t.$("[data-uk-slideset]",i).each(function(){var i=t.$(this);i.data("slideset")||t.slideset(i,t.Utils.options(i.attr("data-uk-slideset")))})})},init:function(){var i=this;this.activeSet=!1,this.list=this.element.find(".uk-slideset"),this.nav=this.element.find(".uk-slideset-nav"),this.controls=this.options.controls?t.$(this.options.controls):this.element,t.$win.on("resize load",t.Utils.debounce(function(){i.updateSets()},100)),i.list.addClass("uk-grid-width-1-"+i.options.default),["xlarge","large","medium","small"].forEach(function(t){i.options[t]&&i.list.addClass("uk-grid-width-"+t+"-1-"+i.options[t])}),this.on("click.uk.slideset","[data-uk-slideset-item]",function(e){if(e.preventDefault(),!i.animating){var s=t.$(this).attr("data-uk-slideset-item");if(i.activeSet!==s)switch(s){case"next":case"previous":i["next"==s?"next":"previous"]();break;default:i.show(parseInt(s,10))}}}),this.controls.on("click.uk.slideset","[data-uk-filter]",function(e){var s=t.$(this);s.parent().hasClass("uk-slideset")||(e.preventDefault(),i.animating||i.currentFilter==s.attr("data-uk-filter")||(i.updateFilter(s.attr("data-uk-filter")),i._hide().then(function(){i.updateSets(!0,!0)})))}),this.on("swipeRight swipeLeft",function(t){i["swipeLeft"==t.type?"next":"previous"]()}),this.updateFilter(this.options.filter),this.updateSets(),this.element.on({mouseenter:function(){i.options.pauseOnHover&&(i.hovering=!0)},mouseleave:function(){i.hovering=!1}}),this.options.autoplay&&this.start()},updateSets:function(t,i){var s,n=this.visible;if(this.visible=this.getVisibleOnCurrenBreakpoint(),n!=this.visible||i){for(this.children=this.list.children().hide(),this.items=this.getItems(),this.sets=e(this.items,this.visible),s=0;s<this.sets.length;s++)this.sets[s].css({display:"none"});if(this.nav.length&&this.nav.empty()){for(s=0;s<this.sets.length;s++)this.nav.append('<li data-uk-slideset-item="'+s+'"><a></a></li>');this.nav[1==this.nav.children().length?"addClass":"removeClass"]("uk-invisible")}this.activeSet=!1,this.show(0,!t)}},updateFilter:function(i){var e,s=this;this.currentFilter=i,this.controls.find("[data-uk-filter]").each(function(){e=t.$(this),e.parent().hasClass("uk-slideset")||(e.attr("data-uk-filter")==s.currentFilter?e.addClass("uk-active"):e.removeClass("uk-active"))})},getVisibleOnCurrenBreakpoint:function(){var i=null,e=t.$('<div style="position:absolute;height:1px;top:-1000px;width:100px"><div></div></div>').appendTo("body"),s=e.children().eq(0),n=this.options;return["xlarge","large","medium","small"].forEach(function(t){n[t]&&!i&&(e.attr("class","uk-grid-width-"+t+"-1-2").width(),50==s.width()&&(i=t))}),e.remove(),this.options[i]||this.options["default"]},getItems:function(){var i,e=[];return this.currentFilter?(i=this.currentFilter||[],"string"==typeof i&&(i=i.split(/,/).map(function(t){return t.trim()})),this.children.each(function(){var s=t.$(this),n=s.attr("data-uk-filter"),a=i.length?!1:!0;n&&(n=n.split(/,/).map(function(t){return t.trim()}),i.forEach(function(t){n.indexOf(t)>-1&&(a=!0)})),a&&e.push(s[0])}),e=t.$(e)):e=this.list.children(),e},show:function(i,e,n){var a=this;if(this.activeSet!==i&&!this.animating){n=n||(i<this.activeSet?-1:1);var o=this.sets[this.activeSet]||[],r=this.sets[i],l=this._getAnimation();(e||!t.support.animation)&&(l=s.none),this.animating=!0,this.nav.length&&this.nav.children().removeClass("uk-active").eq(i).addClass("uk-active"),l.apply(a,[o,r,n]).then(function(){t.Utils.checkDisplay(r,!0),a.children.hide().removeClass("uk-active"),r.addClass("uk-active").css({display:"",opacity:""}),a.animating=!1,a.activeSet=i,t.Utils.checkDisplay(r,!0),a.trigger("show.uk.slideset",[r])})}},_getAnimation:function(){var i=s[this.options.animation]||s.none;return t.support.animation||(i=s.none),i},_hide:function(){var t=this,i=this.sets[this.activeSet]||[],e=this._getAnimation();return this.animating=!0,e.apply(t,[i,[],1]).then(function(){t.animating=!1})},next:function(){this.show(this.sets[this.activeSet+1]?this.activeSet+1:0,!1,1)},previous:function(){this.show(this.sets[this.activeSet-1]?this.activeSet-1:this.sets.length-1,!1,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.animating||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)}}),s={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,e){return i.apply(this,["uk-animation-fade",t,e])},"slide-bottom":function(t,e){return i.apply(this,["uk-animation-slide-bottom",t,e])},"slide-top":function(t,e){return i.apply(this,["uk-animation-slide-top",t,e])},"slide-vertical":function(t,e,s){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return-1==s&&n.reverse(),i.apply(this,[n,t,e])},"slide-horizontal":function(t,e,s){var n=["uk-animation-slide-right","uk-animation-slide-left"];return-1==s&&n.reverse(),i.apply(this,[n,t,e,s])},scale:function(t,e){return i.apply(this,["uk-animation-scale-up",t,e])}},t.slideset.animations=s}); \ No newline at end of file | ||
| diff --git a/js/components/slideshow-fx.js b/js/components/slideshow-fx.js new file mode 100755 index 0000000..d180509 --- /dev/null +++ b/js/components/slideshow-fx.js | |||
| @@ -0,0 +1,383 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-slideshow-fx", ["uikit"], function() { | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI) { | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var Animations = UI.slideshow.animations; | ||
| 21 | |||
| 22 | UI.$.extend(UI.slideshow.animations, { | ||
| 23 | 'slice': function(current, next, dir, fromfx) { | ||
| 24 | |||
| 25 | if (!current.data('cover')) { | ||
| 26 | return Animations.fade.apply(this, arguments); | ||
| 27 | } | ||
| 28 | |||
| 29 | var d = UI.$.Deferred(); | ||
| 30 | |||
| 31 | var sliceWidth = Math.ceil(this.element.width() / this.options.slices), | ||
| 32 | bgimage = next.data('cover').css('background-image'), | ||
| 33 | ghost = UI.$('<li></li>').css({ | ||
| 34 | top : 0, | ||
| 35 | left : 0, | ||
| 36 | width : this.container.width(), | ||
| 37 | height : this.container.height(), | ||
| 38 | opacity: 1, | ||
| 39 | zIndex : 15 | ||
| 40 | }), | ||
| 41 | ghostWidth = ghost.width(), | ||
| 42 | ghostHeight = ghost.height(), | ||
| 43 | pos = fromfx == 'slice-up' ? ghostHeight:'0', | ||
| 44 | bar; | ||
| 45 | |||
| 46 | for (var i = 0; i < this.options.slices; i++) { | ||
| 47 | |||
| 48 | if (fromfx == 'slice-up-down') { | ||
| 49 | pos = ((i % 2) + 2) % 2==0 ? '0':ghostHeight; | ||
| 50 | } | ||
| 51 | |||
| 52 | var width = (i == this.options.slices-1) ? sliceWidth : sliceWidth, | ||
| 53 | clipto = ('rect(0px, '+(width*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'), | ||
| 54 | clipfrom; | ||
| 55 | |||
| 56 | //slice-down - default | ||
| 57 | clipfrom = ('rect(0px, '+(width*(i+1))+'px, 0px, '+(sliceWidth*i)+'px)'); | ||
| 58 | |||
| 59 | if (fromfx == 'slice-up' || (fromfx == 'slice-up-down' && ((i % 2) + 2) % 2==0 )) { | ||
| 60 | clipfrom = ('rect('+ghostHeight+'px, '+(width*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'); | ||
| 61 | } | ||
| 62 | |||
| 63 | bar = UI.$('<div class="uk-cover-background"></div>').css({ | ||
| 64 | 'position' : 'absolute', | ||
| 65 | 'top' : 0, | ||
| 66 | 'left' : 0, | ||
| 67 | 'width' : ghostWidth, | ||
| 68 | 'height' : ghostHeight, | ||
| 69 | 'background-image' : bgimage, | ||
| 70 | 'clip' : clipfrom, | ||
| 71 | 'opacity' : 0, | ||
| 72 | 'transition' : 'all '+this.options.duration+'ms ease-in-out '+(i*60)+'ms', | ||
| 73 | '-webkit-transition' : 'all '+this.options.duration+'ms ease-in-out '+(i*60)+'ms' | ||
| 74 | |||
| 75 | }).data('clip', clipto); | ||
| 76 | |||
| 77 | ghost.append(bar); | ||
| 78 | } | ||
| 79 | |||
| 80 | this.container.append(ghost); | ||
| 81 | |||
| 82 | ghost.children().last().on(UI.support.transition.end, function() { | ||
| 83 | |||
| 84 | setTimeout(ghost.remove.bind(ghost), 0); | ||
| 85 | |||
| 86 | d.resolve(); | ||
| 87 | }); | ||
| 88 | |||
| 89 | ghost.width(); | ||
| 90 | |||
| 91 | ghost.children().each(function() { | ||
| 92 | var bar = UI.$(this); | ||
| 93 | |||
| 94 | bar.css({ | ||
| 95 | 'clip': bar.data('clip'), | ||
| 96 | 'opacity': 1 | ||
| 97 | }); | ||
| 98 | }); | ||
| 99 | |||
| 100 | return d.promise(); | ||
| 101 | }, | ||
| 102 | |||
| 103 | 'slice-up': function(current, next, dir) { | ||
| 104 | return Animations.slice.apply(this, [current, next, dir, 'slice-up']); | ||
| 105 | }, | ||
| 106 | |||
| 107 | 'slice-down': function(current, next, dir) { | ||
| 108 | return Animations.slice.apply(this, [current, next, dir, 'slice-down']); | ||
| 109 | }, | ||
| 110 | |||
| 111 | 'slice-up-down': function(current, next, dir) { | ||
| 112 | return Animations.slice.apply(this, [current, next, dir, 'slice-up-down']); | ||
| 113 | }, | ||
| 114 | |||
| 115 | 'fold': function(current, next, dir) { | ||
| 116 | |||
| 117 | if (!next.data('cover')) { | ||
| 118 | return Animations.fade.apply(this, arguments); | ||
| 119 | } | ||
| 120 | |||
| 121 | var d = UI.$.Deferred(); | ||
| 122 | |||
| 123 | var sliceWidth = Math.ceil(this.element.width() / this.options.slices), | ||
| 124 | bgimage = next.data('cover').css('background-image'), | ||
| 125 | ghost = UI.$('<li></li>').css({ | ||
| 126 | width : next.width(), | ||
| 127 | height : next.height(), | ||
| 128 | opacity: 1, | ||
| 129 | zIndex : 15 | ||
| 130 | }), | ||
| 131 | ghostWidth = next.width(), | ||
| 132 | ghostHeight = next.height(), | ||
| 133 | bar; | ||
| 134 | |||
| 135 | for (var i = 0; i < this.options.slices; i++) { | ||
| 136 | |||
| 137 | bar = UI.$('<div class="uk-cover-background"></div>').css({ | ||
| 138 | 'position' : 'absolute', | ||
| 139 | 'top' : 0, | ||
| 140 | 'left' : 0, | ||
| 141 | 'width' : ghostWidth, | ||
| 142 | 'height' : ghostHeight, | ||
| 143 | 'background-image' : bgimage, | ||
| 144 | 'transform-origin' : (sliceWidth*i)+'px 0 0', | ||
| 145 | 'clip' : ('rect(0px, '+(sliceWidth*(i+1))+'px, '+ghostHeight+'px, '+(sliceWidth*i)+'px)'), | ||
| 146 | 'opacity' : 0, | ||
| 147 | 'transform' : 'scaleX(0.000001)', | ||
| 148 | 'transition' : 'all '+this.options.duration+'ms ease-in-out '+(100+i*60)+'ms', | ||
| 149 | '-webkit-transition' : 'all '+this.options.duration+'ms ease-in-out '+(100+i*60)+'ms' | ||
| 150 | }); | ||
| 151 | |||
| 152 | ghost.prepend(bar); | ||
| 153 | } | ||
| 154 | |||
| 155 | this.container.append(ghost); | ||
| 156 | |||
| 157 | ghost.width(); | ||
| 158 | |||
| 159 | ghost.children().first().on(UI.support.transition.end, function() { | ||
| 160 | |||
| 161 | setTimeout(ghost.remove.bind(ghost), 0); | ||
| 162 | |||
| 163 | d.resolve(); | ||
| 164 | }).end().css({ | ||
| 165 | 'transform': 'scaleX(1)', | ||
| 166 | 'opacity': 1 | ||
| 167 | }); | ||
| 168 | |||
| 169 | return d.promise(); | ||
| 170 | }, | ||
| 171 | |||
| 172 | 'puzzle': function(current, next, dir) { | ||
| 173 | |||
| 174 | if (!next.data('cover')) { | ||
| 175 | return Animations.fade.apply(this, arguments); | ||
| 176 | } | ||
| 177 | |||
| 178 | var d = UI.$.Deferred(), $this = this; | ||
| 179 | |||
| 180 | var boxCols = Math.round(this.options.slices/2), | ||
| 181 | boxWidth = Math.round(next.width()/boxCols), | ||
| 182 | boxRows = Math.round(next.height()/boxWidth), | ||
| 183 | boxHeight = Math.round(next.height()/boxRows)+1, | ||
| 184 | bgimage = next.data('cover').css('background-image'), | ||
| 185 | ghost = UI.$('<li></li>').css({ | ||
| 186 | width : this.container.width(), | ||
| 187 | height : this.container.height(), | ||
| 188 | opacity : 1, | ||
| 189 | zIndex : 15 | ||
| 190 | }), | ||
| 191 | ghostWidth = this.container.width(), | ||
| 192 | ghostHeight = this.container.height(), | ||
| 193 | box, rect, width; | ||
| 194 | |||
| 195 | for (var rows = 0; rows < boxRows; rows++) { | ||
| 196 | |||
| 197 | for (var cols = 0; cols < boxCols; cols++) { | ||
| 198 | |||
| 199 | width = (cols == boxCols-1) ? (boxWidth + 2) : boxWidth; | ||
| 200 | |||
| 201 | rect = [ | ||
| 202 | (boxHeight * rows) +'px', // top | ||
| 203 | (width * (cols+1)) +'px', // right | ||
| 204 | (boxHeight * (rows + 1)) +'px', // bottom | ||
| 205 | (boxWidth * cols) +'px' // left | ||
| 206 | ]; | ||
| 207 | |||
| 208 | box = UI.$('<div class="uk-cover-background"></div>').css({ | ||
| 209 | 'position' : 'absolute', | ||
| 210 | 'top' : 0, | ||
| 211 | 'left' : 0, | ||
| 212 | 'opacity' : 0, | ||
| 213 | 'width' : ghostWidth, | ||
| 214 | 'height' : ghostHeight, | ||
| 215 | 'background-image' : bgimage, | ||
| 216 | 'clip' : ('rect('+rect.join(',')+')'), | ||
| 217 | '-webkit-transform' : 'translateZ(0)', // fixes webkit opacity flickering bug | ||
| 218 | 'transform' : 'translateZ(0)' // fixes moz opacity flickering bug | ||
| 219 | }); | ||
| 220 | |||
| 221 | ghost.append(box); | ||
| 222 | } | ||
| 223 | } | ||
| 224 | |||
| 225 | this.container.append(ghost); | ||
| 226 | |||
| 227 | var boxes = shuffle(ghost.children()); | ||
| 228 | |||
| 229 | boxes.each(function(i) { | ||
| 230 | UI.$(this).css({ | ||
| 231 | 'transition': 'all '+$this.options.duration+'ms ease-in-out '+(50+i*25)+'ms', | ||
| 232 | '-webkit-transition': 'all '+$this.options.duration+'ms ease-in-out '+(50+i*25)+'ms' | ||
| 233 | }); | ||
| 234 | }).last().on(UI.support.transition.end, function() { | ||
| 235 | |||
| 236 | setTimeout(ghost.remove.bind(ghost), 0); | ||
| 237 | |||
| 238 | d.resolve(); | ||
| 239 | }); | ||
| 240 | |||
| 241 | ghost.width(); | ||
| 242 | |||
| 243 | boxes.css({'opacity': 1}); | ||
| 244 | |||
| 245 | return d.promise(); | ||
| 246 | }, | ||
| 247 | |||
| 248 | 'boxes': function(current, next, dir, fromfx) { | ||
| 249 | |||
| 250 | if (!next.data('cover')) { | ||
| 251 | return Animations.fade.apply(this, arguments); | ||
| 252 | } | ||
| 253 | |||
| 254 | var d = UI.$.Deferred(); | ||
| 255 | |||
| 256 | var boxCols = Math.round(this.options.slices/2), | ||
| 257 | boxWidth = Math.round(next.width()/boxCols), | ||
| 258 | boxRows = Math.round(next.height()/boxWidth), | ||
| 259 | boxHeight = Math.round(next.height()/boxRows)+1, | ||
| 260 | bgimage = next.data('cover').css('background-image'), | ||
| 261 | ghost = UI.$('<li></li>').css({ | ||
| 262 | width : next.width(), | ||
| 263 | height : next.height(), | ||
| 264 | opacity : 1, | ||
| 265 | zIndex : 15 | ||
| 266 | }), | ||
| 267 | ghostWidth = next.width(), | ||
| 268 | ghostHeight = next.height(), | ||
| 269 | box, rect, width, cols; | ||
| 270 | |||
| 271 | for (var rows = 0; rows < boxRows; rows++) { | ||
| 272 | |||
| 273 | for (cols = 0; cols < boxCols; cols++) { | ||
| 274 | |||
| 275 | width = (cols == boxCols-1) ? (boxWidth + 2) : boxWidth; | ||
| 276 | |||
| 277 | rect = [ | ||
| 278 | (boxHeight * rows) +'px', // top | ||
| 279 | (width * (cols+1)) +'px', // right | ||
| 280 | (boxHeight * (rows + 1)) +'px', // bottom | ||
| 281 | (boxWidth * cols) +'px' // left | ||
| 282 | ]; | ||
| 283 | |||
| 284 | box = UI.$('<div class="uk-cover-background"></div>').css({ | ||
| 285 | 'position' : 'absolute', | ||
| 286 | 'top' : 0, | ||
| 287 | 'left' : 0, | ||
| 288 | 'opacity' : 1, | ||
| 289 | 'width' : ghostWidth, | ||
| 290 | 'height' : ghostHeight, | ||
| 291 | 'background-image' : bgimage, | ||
| 292 | 'transform-origin' : rect[3]+' '+rect[0]+' 0', | ||
| 293 | 'clip' : ('rect('+rect.join(',')+')'), | ||
| 294 | '-webkit-transform' : 'scale(0.0000000000000001)', | ||
| 295 | 'transform' : 'scale(0.0000000000000001)' | ||
| 296 | }); | ||
| 297 | |||
| 298 | ghost.append(box); | ||
| 299 | } | ||
| 300 | } | ||
| 301 | |||
| 302 | this.container.append(ghost); | ||
| 303 | |||
| 304 | var rowIndex = 0, colIndex = 0, timeBuff = 0, box2Darr = [[]], boxes = ghost.children(), prevCol; | ||
| 305 | |||
| 306 | if (fromfx == 'boxes-reverse') { | ||
| 307 | boxes = [].reverse.apply(boxes); | ||
| 308 | } | ||
| 309 | |||
| 310 | boxes.each(function() { | ||
| 311 | |||
| 312 | box2Darr[rowIndex][colIndex] = UI.$(this); | ||
| 313 | colIndex++; | ||
| 314 | |||
| 315 | if(colIndex == boxCols) { | ||
| 316 | rowIndex++; | ||
| 317 | colIndex = 0; | ||
| 318 | box2Darr[rowIndex] = []; | ||
| 319 | } | ||
| 320 | }); | ||
| 321 | |||
| 322 | for (cols = 0, prevCol = 0; cols < (boxCols * boxRows); cols++) { | ||
| 323 | |||
| 324 | prevCol = cols; | ||
| 325 | |||
| 326 | for (var row = 0; row < boxRows; row++) { | ||
| 327 | |||
| 328 | if (prevCol >= 0 && prevCol < boxCols) { | ||
| 329 | |||
| 330 | box2Darr[row][prevCol].css({ | ||
| 331 | 'transition': 'all '+this.options.duration+'ms linear '+(50+timeBuff)+'ms', | ||
| 332 | '-webkit-transition': 'all '+this.options.duration+'ms linear '+(50+timeBuff)+'ms' | ||
| 333 | }); | ||
| 334 | } | ||
| 335 | prevCol--; | ||
| 336 | } | ||
| 337 | timeBuff += 100; | ||
| 338 | } | ||
| 339 | |||
| 340 | boxes.last().on(UI.support.transition.end, function() { | ||
| 341 | |||
| 342 | setTimeout(ghost.remove.bind(ghost), 0); | ||
| 343 | |||
| 344 | d.resolve(); | ||
| 345 | }); | ||
| 346 | |||
| 347 | ghost.width(); | ||
| 348 | |||
| 349 | boxes.css({ | ||
| 350 | '-webkit-transform': 'scale(1)', | ||
| 351 | 'transform': 'scale(1)' | ||
| 352 | }); | ||
| 353 | |||
| 354 | return d.promise(); | ||
| 355 | }, | ||
| 356 | |||
| 357 | 'boxes-reverse': function(current, next, dir) { | ||
| 358 | return Animations.boxes.apply(this, [current, next, dir, 'boxes-reverse']); | ||
| 359 | }, | ||
| 360 | |||
| 361 | 'random-fx': function(){ | ||
| 362 | |||
| 363 | var animations = ['slice-up', 'fold', 'puzzle', 'slice-down', 'boxes', 'slice-up-down', 'boxes-reverse']; | ||
| 364 | |||
| 365 | this.fxIndex = (this.fxIndex === undefined ? -1 : this.fxIndex) + 1; | ||
| 366 | |||
| 367 | if (!animations[this.fxIndex]) this.fxIndex = 0; | ||
| 368 | |||
| 369 | return Animations[animations[this.fxIndex]].apply(this, arguments); | ||
| 370 | } | ||
| 371 | }); | ||
| 372 | |||
| 373 | |||
| 374 | // helper functions | ||
| 375 | |||
| 376 | // Shuffle an array | ||
| 377 | var shuffle = function(arr) { | ||
| 378 | for (var j, x, i = arr.length; i; j = parseInt(Math.random() * i), x = arr[--i], arr[i] = arr[j], arr[j] = x) {} | ||
| 379 | return arr; | ||
| 380 | }; | ||
| 381 | |||
| 382 | return UI.slideshow.animations; | ||
| 383 | }); | ||
| diff --git a/js/components/slideshow-fx.min.js b/js/components/slideshow-fx.min.js new file mode 100755 index 0000000..72340d1 --- /dev/null +++ b/js/components/slideshow-fx.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow-fx",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";var t=i.slideshow.animations;i.$.extend(i.slideshow.animations,{slice:function(e,s,n,o){if(!e.data("cover"))return t.fade.apply(this,arguments);for(var r,a=i.$.Deferred(),c=Math.ceil(this.element.width()/this.options.slices),d=s.data("cover").css("background-image"),h=i.$("<li></li>").css({top:0,left:0,width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),p=h.width(),l=h.height(),u="slice-up"==o?l:"0",f=0;f<this.options.slices;f++){"slice-up-down"==o&&(u=(f%2+2)%2==0?"0":l);var m,x=f==this.options.slices-1?c:c,v="rect(0px, "+x*(f+1)+"px, "+l+"px, "+c*f+"px)";m="rect(0px, "+x*(f+1)+"px, 0px, "+c*f+"px)",("slice-up"==o||"slice-up-down"==o&&(f%2+2)%2==0)&&(m="rect("+l+"px, "+x*(f+1)+"px, "+l+"px, "+c*f+"px)"),r=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,width:p,height:l,"background-image":d,clip:m,opacity:0,transition:"all "+this.options.duration+"ms ease-in-out "+60*f+"ms","-webkit-transition":"all "+this.options.duration+"ms ease-in-out "+60*f+"ms"}).data("clip",v),h.append(r)}return this.container.append(h),h.children().last().on(i.support.transition.end,function(){setTimeout(h.remove.bind(h),0),a.resolve()}),h.width(),h.children().each(function(){var t=i.$(this);t.css({clip:t.data("clip"),opacity:1})}),a.promise()},"slice-up":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-up"])},"slice-down":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-down"])},"slice-up-down":function(i,e,s){return t.slice.apply(this,[i,e,s,"slice-up-down"])},fold:function(e,s){if(!s.data("cover"))return t.fade.apply(this,arguments);for(var n,o=i.$.Deferred(),r=Math.ceil(this.element.width()/this.options.slices),a=s.data("cover").css("background-image"),c=i.$("<li></li>").css({width:s.width(),height:s.height(),opacity:1,zIndex:15}),d=s.width(),h=s.height(),p=0;p<this.options.slices;p++)n=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,width:d,height:h,"background-image":a,"transform-origin":r*p+"px 0 0",clip:"rect(0px, "+r*(p+1)+"px, "+h+"px, "+r*p+"px)",opacity:0,transform:"scaleX(0.000001)",transition:"all "+this.options.duration+"ms ease-in-out "+(100+60*p)+"ms","-webkit-transition":"all "+this.options.duration+"ms ease-in-out "+(100+60*p)+"ms"}),c.prepend(n);return this.container.append(c),c.width(),c.children().first().on(i.support.transition.end,function(){setTimeout(c.remove.bind(c),0),o.resolve()}).end().css({transform:"scaleX(1)",opacity:1}),o.promise()},puzzle:function(s,n){if(!n.data("cover"))return t.fade.apply(this,arguments);for(var o,r,a,c=i.$.Deferred(),d=this,h=Math.round(this.options.slices/2),p=Math.round(n.width()/h),l=Math.round(n.height()/p),u=Math.round(n.height()/l)+1,f=n.data("cover").css("background-image"),m=i.$("<li></li>").css({width:this.container.width(),height:this.container.height(),opacity:1,zIndex:15}),x=this.container.width(),v=this.container.height(),g=0;l>g;g++)for(var w=0;h>w;w++)a=w==h-1?p+2:p,r=[u*g+"px",a*(w+1)+"px",u*(g+1)+"px",p*w+"px"],o=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:0,width:x,height:v,"background-image":f,clip:"rect("+r.join(",")+")","-webkit-transform":"translateZ(0)",transform:"translateZ(0)"}),m.append(o);this.container.append(m);var b=e(m.children());return b.each(function(t){i.$(this).css({transition:"all "+d.options.duration+"ms ease-in-out "+(50+25*t)+"ms","-webkit-transition":"all "+d.options.duration+"ms ease-in-out "+(50+25*t)+"ms"})}).last().on(i.support.transition.end,function(){setTimeout(m.remove.bind(m),0),c.resolve()}),m.width(),b.css({opacity:1}),c.promise()},boxes:function(e,s,n,o){if(!s.data("cover"))return t.fade.apply(this,arguments);for(var r,a,c,d,h=i.$.Deferred(),p=Math.round(this.options.slices/2),l=Math.round(s.width()/p),u=Math.round(s.height()/l),f=Math.round(s.height()/u)+1,m=s.data("cover").css("background-image"),x=i.$("<li></li>").css({width:s.width(),height:s.height(),opacity:1,zIndex:15}),v=s.width(),g=s.height(),w=0;u>w;w++)for(d=0;p>d;d++)c=d==p-1?l+2:l,a=[f*w+"px",c*(d+1)+"px",f*(w+1)+"px",l*d+"px"],r=i.$('<div class="uk-cover-background"></div>').css({position:"absolute",top:0,left:0,opacity:1,width:v,height:g,"background-image":m,"transform-origin":a[3]+" "+a[0]+" 0",clip:"rect("+a.join(",")+")","-webkit-transform":"scale(0.0000000000000001)",transform:"scale(0.0000000000000001)"}),x.append(r);this.container.append(x);var b,k=0,y=0,$=0,I=[[]],M=x.children();for("boxes-reverse"==o&&(M=[].reverse.apply(M)),M.each(function(){I[k][y]=i.$(this),y++,y==p&&(k++,y=0,I[k]=[])}),d=0,b=0;p*u>d;d++){b=d;for(var z=0;u>z;z++)b>=0&&p>b&&I[z][b].css({transition:"all "+this.options.duration+"ms linear "+(50+$)+"ms","-webkit-transition":"all "+this.options.duration+"ms linear "+(50+$)+"ms"}),b--;$+=100}return M.last().on(i.support.transition.end,function(){setTimeout(x.remove.bind(x),0),h.resolve()}),x.width(),M.css({"-webkit-transform":"scale(1)",transform:"scale(1)"}),h.promise()},"boxes-reverse":function(i,e,s){return t.boxes.apply(this,[i,e,s,"boxes-reverse"])},"random-fx":function(){var i=["slice-up","fold","puzzle","slice-down","boxes","slice-up-down","boxes-reverse"];return this.fxIndex=(void 0===this.fxIndex?-1:this.fxIndex)+1,i[this.fxIndex]||(this.fxIndex=0),t[i[this.fxIndex]].apply(this,arguments)}});var e=function(i){for(var t,e,s=i.length;s;t=parseInt(Math.random()*s),e=i[--s],i[s]=i[t],i[t]=e);return i};return i.slideshow.animations}); \ No newline at end of file | ||
| diff --git a/js/components/slideshow.js b/js/components/slideshow.js new file mode 100755 index 0000000..88cd4e7 --- /dev/null +++ b/js/components/slideshow.js | |||
| @@ -0,0 +1,560 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-slideshow", ["uikit"], function() { | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI) { | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var Animations, playerId = 0; | ||
| 21 | |||
| 22 | UI.component('slideshow', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | animation : "fade", | ||
| 26 | duration : 500, | ||
| 27 | height : "auto", | ||
| 28 | start : 0, | ||
| 29 | autoplay : false, | ||
| 30 | autoplayInterval : 7000, | ||
| 31 | videoautoplay : true, | ||
| 32 | videomute : true, | ||
| 33 | slices : 15, | ||
| 34 | pauseOnHover : true, | ||
| 35 | kenburns : false, | ||
| 36 | kenburnsanimations : [ | ||
| 37 | 'uk-animation-middle-left', | ||
| 38 | 'uk-animation-top-right', | ||
| 39 | 'uk-animation-bottom-left', | ||
| 40 | 'uk-animation-top-center', | ||
| 41 | '', // middle-center | ||
| 42 | 'uk-animation-bottom-right' | ||
| 43 | ] | ||
| 44 | }, | ||
| 45 | |||
| 46 | current : false, | ||
| 47 | interval : null, | ||
| 48 | hovering : false, | ||
| 49 | |||
| 50 | boot: function() { | ||
| 51 | |||
| 52 | // init code | ||
| 53 | UI.ready(function(context) { | ||
| 54 | |||
| 55 | UI.$('[data-uk-slideshow]', context).each(function() { | ||
| 56 | |||
| 57 | var slideshow = UI.$(this); | ||
| 58 | |||
| 59 | if (!slideshow.data("slideshow")) { | ||
| 60 | UI.slideshow(slideshow, UI.Utils.options(slideshow.attr("data-uk-slideshow"))); | ||
| 61 | } | ||
| 62 | }); | ||
| 63 | }); | ||
| 64 | }, | ||
| 65 | |||
| 66 | init: function() { | ||
| 67 | |||
| 68 | var $this = this, canvas, kbanimduration; | ||
| 69 | |||
| 70 | this.container = this.element.hasClass('uk-slideshow') ? this.element : UI.$(this.find('.uk-slideshow:first')); | ||
| 71 | this.slides = this.container.children(); | ||
| 72 | this.slidesCount = this.slides.length; | ||
| 73 | this.current = this.options.start; | ||
| 74 | this.animating = false; | ||
| 75 | this.triggers = this.find('[data-uk-slideshow-item]'); | ||
| 76 | this.fixFullscreen = navigator.userAgent.match(/(iPad|iPhone|iPod)/g) && this.container.hasClass('uk-slideshow-fullscreen'); // viewport unit fix for height:100vh - should be fixed in iOS 8 | ||
| 77 | |||
| 78 | if (this.options.kenburns) { | ||
| 79 | |||
| 80 | kbanimduration = this.options.kenburns === true ? '15s': this.options.kenburns; | ||
| 81 | |||
| 82 | if (!String(kbanimduration).match(/(ms|s)$/)) { | ||
| 83 | kbanimduration += 'ms'; | ||
| 84 | } | ||
| 85 | |||
| 86 | if (typeof(this.options.kenburnsanimations) == 'string') { | ||
| 87 | this.options.kenburnsanimations = this.options.kenburnsanimations.split(','); | ||
| 88 | } | ||
| 89 | } | ||
| 90 | |||
| 91 | this.slides.each(function(index) { | ||
| 92 | |||
| 93 | var slide = UI.$(this), | ||
| 94 | media = slide.children('img,video,iframe').eq(0); | ||
| 95 | |||
| 96 | slide.data('media', media); | ||
| 97 | slide.data('sizer', media); | ||
| 98 | |||
| 99 | if (media.length) { | ||
| 100 | |||
| 101 | var placeholder; | ||
| 102 | |||
| 103 | switch(media[0].nodeName) { | ||
| 104 | case 'IMG': | ||
| 105 | |||
| 106 | var cover = UI.$('<div class="uk-cover-background uk-position-cover"></div>').css({'background-image':'url('+ media.attr('src') + ')'}); | ||
| 107 | |||
| 108 | if (media.attr('width') && media.attr('height')) { | ||
| 109 | placeholder = UI.$('<canvas></canvas>').attr({width:media.attr('width'), height:media.attr('height')}); | ||
| 110 | media.replaceWith(placeholder); | ||
| 111 | media = placeholder; | ||
| 112 | placeholder = undefined; | ||
| 113 | } | ||
| 114 | |||
| 115 | media.css({width: '100%',height: 'auto', opacity:0}); | ||
| 116 | slide.prepend(cover).data('cover', cover); | ||
| 117 | break; | ||
| 118 | |||
| 119 | case 'IFRAME': | ||
| 120 | |||
| 121 | var src = media[0].src, iframeId = 'sw-'+(++playerId); | ||
| 122 | |||
| 123 | media | ||
| 124 | .attr('src', '').on('load', function(){ | ||
| 125 | |||
| 126 | if (index !== $this.current || (index == $this.current && !$this.options.videoautoplay)) { | ||
| 127 | $this.pausemedia(media); | ||
| 128 | } | ||
| 129 | |||
| 130 | if ($this.options.videomute) { | ||
| 131 | |||
| 132 | $this.mutemedia(media); | ||
| 133 | |||
| 134 | var inv = setInterval((function(ic) { | ||
| 135 | return function() { | ||
| 136 | $this.mutemedia(media); | ||
| 137 | if (++ic >= 4) clearInterval(inv); | ||
| 138 | } | ||
| 139 | })(0), 250); | ||
| 140 | } | ||
| 141 | |||
| 142 | }) | ||
| 143 | .data('slideshow', $this) // add self-reference for the vimeo-ready listener | ||
| 144 | .attr('data-player-id', iframeId) // add frameId for the vimeo-ready listener | ||
| 145 | .attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1&player_id='+iframeId].join('')) | ||
| 146 | .addClass('uk-position-absolute'); | ||
| 147 | |||
| 148 | // disable pointer events | ||
| 149 | if(!UI.support.touch) media.css('pointer-events', 'none'); | ||
| 150 | |||
| 151 | placeholder = true; | ||
| 152 | |||
| 153 | if (UI.cover) { | ||
| 154 | UI.cover(media); | ||
| 155 | media.attr('data-uk-cover', '{}'); | ||
| 156 | } | ||
| 157 | |||
| 158 | break; | ||
| 159 | |||
| 160 | case 'VIDEO': | ||
| 161 | media.addClass('uk-cover-object uk-position-absolute'); | ||
| 162 | placeholder = true; | ||
| 163 | |||
| 164 | if ($this.options.videomute) $this.mutemedia(media); | ||
| 165 | } | ||
| 166 | |||
| 167 | if (placeholder) { | ||
| 168 | |||
| 169 | canvas = UI.$('<canvas></canvas>').attr({'width': media[0].width, 'height': media[0].height}); | ||
| 170 | var img = UI.$('<img style="width:100%;height:auto;">').attr('src', canvas[0].toDataURL()); | ||
| 171 | |||
| 172 | slide.prepend(img); | ||
| 173 | slide.data('sizer', img); | ||
| 174 | } | ||
| 175 | |||
| 176 | } else { | ||
| 177 | slide.data('sizer', slide); | ||
| 178 | } | ||
| 179 | |||
| 180 | if ($this.hasKenBurns(slide)) { | ||
| 181 | |||
| 182 | slide.data('cover').css({ | ||
| 183 | '-webkit-animation-duration': kbanimduration, | ||
| 184 | 'animation-duration': kbanimduration | ||
| 185 | }); | ||
| 186 | } | ||
| 187 | }); | ||
| 188 | |||
| 189 | this.on("click.uk.slideshow", '[data-uk-slideshow-item]', function(e) { | ||
| 190 | |||
| 191 | e.preventDefault(); | ||
| 192 | |||
| 193 | var slide = UI.$(this).attr('data-uk-slideshow-item'); | ||
| 194 | |||
| 195 | if ($this.current == slide) return; | ||
| 196 | |||
| 197 | switch(slide) { | ||
| 198 | case 'next': | ||
| 199 | case 'previous': | ||
| 200 | $this[slide=='next' ? 'next':'previous'](); | ||
| 201 | break; | ||
| 202 | default: | ||
| 203 | $this.show(parseInt(slide, 10)); | ||
| 204 | } | ||
| 205 | |||
| 206 | $this.stop(); | ||
| 207 | }); | ||
| 208 | |||
| 209 | // Set start slide | ||
| 210 | this.slides.attr('aria-hidden', 'true').eq(this.current).addClass('uk-active').attr('aria-hidden', 'false'); | ||
| 211 | this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass('uk-active'); | ||
| 212 | |||
| 213 | UI.$win.on("resize load", UI.Utils.debounce(function() { | ||
| 214 | $this.resize(); | ||
| 215 | |||
| 216 | if ($this.fixFullscreen) { | ||
| 217 | $this.container.css('height', window.innerHeight); | ||
| 218 | $this.slides.css('height', window.innerHeight); | ||
| 219 | } | ||
| 220 | }, 100)); | ||
| 221 | |||
| 222 | // chrome image load fix | ||
| 223 | setTimeout(function(){ | ||
| 224 | $this.resize(); | ||
| 225 | }, 80); | ||
| 226 | |||
| 227 | // Set autoplay | ||
| 228 | if (this.options.autoplay) { | ||
| 229 | this.start(); | ||
| 230 | } | ||
| 231 | |||
| 232 | if (this.options.videoautoplay && this.slides.eq(this.current).data('media')) { | ||
| 233 | this.playmedia(this.slides.eq(this.current).data('media')); | ||
| 234 | } | ||
| 235 | |||
| 236 | if (this.options.kenburns) { | ||
| 237 | this.applyKenBurns(this.slides.eq(this.current)); | ||
| 238 | } | ||
| 239 | |||
| 240 | this.container.on({ | ||
| 241 | mouseenter: function() { if ($this.options.pauseOnHover) $this.hovering = true; }, | ||
| 242 | mouseleave: function() { $this.hovering = false; } | ||
| 243 | }); | ||
| 244 | |||
| 245 | this.on('swipeRight swipeLeft', function(e) { | ||
| 246 | $this[e.type=='swipeLeft' ? 'next' : 'previous'](); | ||
| 247 | }); | ||
| 248 | |||
| 249 | this.on('display.uk.check', function(){ | ||
| 250 | if ($this.element.is(":visible")) { | ||
| 251 | |||
| 252 | $this.resize(); | ||
| 253 | |||
| 254 | if ($this.fixFullscreen) { | ||
| 255 | $this.container.css('height', window.innerHeight); | ||
| 256 | $this.slides.css('height', window.innerHeight); | ||
| 257 | } | ||
| 258 | } | ||
| 259 | }); | ||
| 260 | }, | ||
| 261 | |||
| 262 | |||
| 263 | resize: function() { | ||
| 264 | |||
| 265 | if (this.container.hasClass('uk-slideshow-fullscreen')) return; | ||
| 266 | |||
| 267 | var height = this.options.height; | ||
| 268 | |||
| 269 | if (this.options.height === 'auto') { | ||
| 270 | |||
| 271 | height = 0; | ||
| 272 | |||
| 273 | this.slides.css('height', '').each(function() { | ||
| 274 | height = Math.max(height, UI.$(this).height()); | ||
| 275 | }); | ||
| 276 | } | ||
| 277 | |||
| 278 | this.container.css('height', height); | ||
| 279 | this.slides.css('height', height); | ||
| 280 | }, | ||
| 281 | |||
| 282 | show: function(index, direction) { | ||
| 283 | |||
| 284 | if (this.animating || this.current == index) return; | ||
| 285 | |||
| 286 | this.animating = true; | ||
| 287 | |||
| 288 | var $this = this, | ||
| 289 | current = this.slides.eq(this.current), | ||
| 290 | next = this.slides.eq(index), | ||
| 291 | dir = direction ? direction : this.current < index ? 1 : -1, | ||
| 292 | currentmedia = current.data('media'), | ||
| 293 | animation = Animations[this.options.animation] ? this.options.animation : 'fade', | ||
| 294 | nextmedia = next.data('media'), | ||
| 295 | finalize = function() { | ||
| 296 | |||
| 297 | if (!$this.animating) return; | ||
| 298 | |||
| 299 | if (currentmedia && currentmedia.is('video,iframe')) { | ||
| 300 | $this.pausemedia(currentmedia); | ||
| 301 | } | ||
| 302 | |||
| 303 | if (nextmedia && nextmedia.is('video,iframe')) { | ||
| 304 | $this.playmedia(nextmedia); | ||
| 305 | } | ||
| 306 | |||
| 307 | next.addClass("uk-active").attr('aria-hidden', 'false'); | ||
| 308 | current.removeClass("uk-active").attr('aria-hidden', 'true'); | ||
| 309 | |||
| 310 | $this.animating = false; | ||
| 311 | $this.current = index; | ||
| 312 | |||
| 313 | UI.Utils.checkDisplay(next, '[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'); | ||
| 314 | |||
| 315 | $this.trigger('show.uk.slideshow', [next, current, $this]); | ||
| 316 | }; | ||
| 317 | |||
| 318 | $this.applyKenBurns(next); | ||
| 319 | |||
| 320 | // animation fallback | ||
| 321 | if (!UI.support.animation) { | ||
| 322 | animation = 'none'; | ||
| 323 | } | ||
| 324 | |||
| 325 | current = UI.$(current); | ||
| 326 | next = UI.$(next); | ||
| 327 | |||
| 328 | $this.trigger('beforeshow.uk.slideshow', [next, current, $this]); | ||
| 329 | |||
| 330 | Animations[animation].apply(this, [current, next, dir]).then(finalize); | ||
| 331 | |||
| 332 | $this.triggers.removeClass('uk-active'); | ||
| 333 | $this.triggers.filter('[data-uk-slideshow-item="'+index+'"]').addClass('uk-active'); | ||
| 334 | }, | ||
| 335 | |||
| 336 | applyKenBurns: function(slide) { | ||
| 337 | |||
| 338 | if (!this.hasKenBurns(slide)) { | ||
| 339 | return; | ||
| 340 | } | ||
| 341 | |||
| 342 | var animations = this.options.kenburnsanimations, | ||
| 343 | index = this.kbindex || 0; | ||
| 344 | |||
| 345 | |||
| 346 | slide.data('cover').attr('class', 'uk-cover-background uk-position-cover').width(); | ||
| 347 | slide.data('cover').addClass(['uk-animation-scale', 'uk-animation-reverse', animations[index].trim()].join(' ')); | ||
| 348 | |||
| 349 | this.kbindex = animations[index + 1] ? (index+1):0; | ||
| 350 | }, | ||
| 351 | |||
| 352 | hasKenBurns: function(slide) { | ||
| 353 | return (this.options.kenburns && slide.data('cover')); | ||
| 354 | }, | ||
| 355 | |||
| 356 | next: function() { | ||
| 357 | this.show(this.slides[this.current + 1] ? (this.current + 1) : 0, 1); | ||
| 358 | }, | ||
| 359 | |||
| 360 | previous: function() { | ||
| 361 | this.show(this.slides[this.current - 1] ? (this.current - 1) : (this.slides.length - 1), -1); | ||
| 362 | }, | ||
| 363 | |||
| 364 | start: function() { | ||
| 365 | |||
| 366 | this.stop(); | ||
| 367 | |||
| 368 | var $this = this; | ||
| 369 | |||
| 370 | this.interval = setInterval(function() { | ||
| 371 | if (!$this.hovering) $this.next(); | ||
| 372 | }, this.options.autoplayInterval); | ||
| 373 | |||
| 374 | }, | ||
| 375 | |||
| 376 | stop: function() { | ||
| 377 | if (this.interval) clearInterval(this.interval); | ||
| 378 | }, | ||
| 379 | |||
| 380 | playmedia: function(media) { | ||
| 381 | |||
| 382 | if (!(media && media[0])) return; | ||
| 383 | |||
| 384 | switch(media[0].nodeName) { | ||
| 385 | case 'VIDEO': | ||
| 386 | |||
| 387 | if (!this.options.videomute) { | ||
| 388 | media[0].muted = false; | ||
| 389 | } | ||
| 390 | |||
| 391 | media[0].play(); | ||
| 392 | break; | ||
| 393 | case 'IFRAME': | ||
| 394 | |||
| 395 | if (!this.options.videomute) { | ||
| 396 | media[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}', '*'); | ||
| 397 | } | ||
| 398 | |||
| 399 | media[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}', '*'); | ||
| 400 | break; | ||
| 401 | } | ||
| 402 | }, | ||
| 403 | |||
| 404 | pausemedia: function(media) { | ||
| 405 | |||
| 406 | switch(media[0].nodeName) { | ||
| 407 | case 'VIDEO': | ||
| 408 | media[0].pause(); | ||
| 409 | break; | ||
| 410 | case 'IFRAME': | ||
| 411 | media[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}', '*'); | ||
| 412 | break; | ||
| 413 | } | ||
| 414 | }, | ||
| 415 | |||
| 416 | mutemedia: function(media) { | ||
| 417 | |||
| 418 | switch(media[0].nodeName) { | ||
| 419 | case 'VIDEO': | ||
| 420 | media[0].muted = true; | ||
| 421 | break; | ||
| 422 | case 'IFRAME': | ||
| 423 | media[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); | ||
| 424 | break; | ||
| 425 | } | ||
| 426 | } | ||
| 427 | }); | ||
| 428 | |||
| 429 | Animations = { | ||
| 430 | |||
| 431 | 'none': function() { | ||
| 432 | |||
| 433 | var d = UI.$.Deferred(); | ||
| 434 | d.resolve(); | ||
| 435 | return d.promise(); | ||
| 436 | }, | ||
| 437 | |||
| 438 | 'scroll': function(current, next, dir) { | ||
| 439 | |||
| 440 | var d = UI.$.Deferred(); | ||
| 441 | |||
| 442 | current.css('animation-duration', this.options.duration+'ms'); | ||
| 443 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 444 | |||
| 445 | next.css('opacity', 1).one(UI.support.animation.end, function() { | ||
| 446 | |||
| 447 | current.css('opacity', 0).removeClass(dir == -1 ? 'uk-slideshow-scroll-backward-out' : 'uk-slideshow-scroll-forward-out'); | ||
| 448 | next.removeClass(dir == -1 ? 'uk-slideshow-scroll-backward-in' : 'uk-slideshow-scroll-forward-in'); | ||
| 449 | d.resolve(); | ||
| 450 | |||
| 451 | }.bind(this)); | ||
| 452 | |||
| 453 | current.addClass(dir == -1 ? 'uk-slideshow-scroll-backward-out' : 'uk-slideshow-scroll-forward-out'); | ||
| 454 | next.addClass(dir == -1 ? 'uk-slideshow-scroll-backward-in' : 'uk-slideshow-scroll-forward-in'); | ||
| 455 | next.width(); // force redraw | ||
| 456 | |||
| 457 | return d.promise(); | ||
| 458 | }, | ||
| 459 | |||
| 460 | 'swipe': function(current, next, dir) { | ||
| 461 | |||
| 462 | var d = UI.$.Deferred(); | ||
| 463 | |||
| 464 | current.css('animation-duration', this.options.duration+'ms'); | ||
| 465 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 466 | |||
| 467 | next.css('opacity', 1).one(UI.support.animation.end, function() { | ||
| 468 | |||
| 469 | current.css('opacity', 0).removeClass(dir === -1 ? 'uk-slideshow-swipe-backward-out' : 'uk-slideshow-swipe-forward-out'); | ||
| 470 | next.removeClass(dir === -1 ? 'uk-slideshow-swipe-backward-in' : 'uk-slideshow-swipe-forward-in'); | ||
| 471 | d.resolve(); | ||
| 472 | |||
| 473 | }.bind(this)); | ||
| 474 | |||
| 475 | current.addClass(dir == -1 ? 'uk-slideshow-swipe-backward-out' : 'uk-slideshow-swipe-forward-out'); | ||
| 476 | next.addClass(dir == -1 ? 'uk-slideshow-swipe-backward-in' : 'uk-slideshow-swipe-forward-in'); | ||
| 477 | next.width(); // force redraw | ||
| 478 | |||
| 479 | return d.promise(); | ||
| 480 | }, | ||
| 481 | |||
| 482 | 'scale': function(current, next, dir) { | ||
| 483 | |||
| 484 | var d = UI.$.Deferred(); | ||
| 485 | |||
| 486 | current.css('animation-duration', this.options.duration+'ms'); | ||
| 487 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 488 | |||
| 489 | next.css('opacity', 1); | ||
| 490 | |||
| 491 | current.one(UI.support.animation.end, function() { | ||
| 492 | |||
| 493 | current.css('opacity', 0).removeClass('uk-slideshow-scale-out'); | ||
| 494 | d.resolve(); | ||
| 495 | |||
| 496 | }.bind(this)); | ||
| 497 | |||
| 498 | current.addClass('uk-slideshow-scale-out'); | ||
| 499 | current.width(); // force redraw | ||
| 500 | |||
| 501 | return d.promise(); | ||
| 502 | }, | ||
| 503 | |||
| 504 | 'fade': function(current, next, dir) { | ||
| 505 | |||
| 506 | var d = UI.$.Deferred(); | ||
| 507 | |||
| 508 | current.css('animation-duration', this.options.duration+'ms'); | ||
| 509 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 510 | |||
| 511 | next.css('opacity', 1); | ||
| 512 | |||
| 513 | // for plain text content slides - looks smoother | ||
| 514 | if (!(next.data('cover') || next.data('placeholder'))) { | ||
| 515 | |||
| 516 | next.css('opacity', 1).one(UI.support.animation.end, function() { | ||
| 517 | next.removeClass('uk-slideshow-fade-in'); | ||
| 518 | }).addClass('uk-slideshow-fade-in'); | ||
| 519 | } | ||
| 520 | |||
| 521 | current.one(UI.support.animation.end, function() { | ||
| 522 | |||
| 523 | current.css('opacity', 0).removeClass('uk-slideshow-fade-out'); | ||
| 524 | d.resolve(); | ||
| 525 | |||
| 526 | }.bind(this)); | ||
| 527 | |||
| 528 | current.addClass('uk-slideshow-fade-out'); | ||
| 529 | current.width(); // force redraw | ||
| 530 | |||
| 531 | return d.promise(); | ||
| 532 | } | ||
| 533 | }; | ||
| 534 | |||
| 535 | UI.slideshow.animations = Animations; | ||
| 536 | |||
| 537 | // Listen for messages from the vimeo player | ||
| 538 | window.addEventListener('message', function onMessageReceived(e) { | ||
| 539 | |||
| 540 | var data = e.data, iframe; | ||
| 541 | |||
| 542 | if (typeof(data) == 'string') { | ||
| 543 | |||
| 544 | try { | ||
| 545 | data = JSON.parse(data); | ||
| 546 | } catch(err) { | ||
| 547 | data = {}; | ||
| 548 | } | ||
| 549 | } | ||
| 550 | |||
| 551 | if (e.origin && e.origin.indexOf('vimeo') > -1 && data.event == 'ready' && data.player_id) { | ||
| 552 | iframe = UI.$('[data-player-id="'+ data.player_id+'"]'); | ||
| 553 | |||
| 554 | if (iframe.length) { | ||
| 555 | iframe.data('slideshow').mutemedia(iframe); | ||
| 556 | } | ||
| 557 | } | ||
| 558 | }, false); | ||
| 559 | |||
| 560 | }); | ||
| diff --git a/js/components/slideshow.min.js b/js/components/slideshow.min.js new file mode 100755 index 0000000..0dc7037 --- /dev/null +++ b/js/components/slideshow.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(i){var t;window.UIkit&&(t=i(UIkit)),"function"==typeof define&&define.amd&&define("uikit-slideshow",["uikit"],function(){return t||i(UIkit)})}(function(i){"use strict";var t,s=0;i.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,slices:15,pauseOnHover:!0,kenburns:!1,kenburnsanimations:["uk-animation-middle-left","uk-animation-top-right","uk-animation-bottom-left","uk-animation-top-center","","uk-animation-bottom-right"]},current:!1,interval:null,hovering:!1,boot:function(){i.ready(function(t){i.$("[data-uk-slideshow]",t).each(function(){var t=i.$(this);t.data("slideshow")||i.slideshow(t,i.Utils.options(t.attr("data-uk-slideshow")))})})},init:function(){var t,e,a=this;this.container=this.element.hasClass("uk-slideshow")?this.element:i.$(this.find(".uk-slideshow:first")),this.slides=this.container.children(),this.slidesCount=this.slides.length,this.current=this.options.start,this.animating=!1,this.triggers=this.find("[data-uk-slideshow-item]"),this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass("uk-slideshow-fullscreen"),this.options.kenburns&&(e=this.options.kenburns===!0?"15s":this.options.kenburns,String(e).match(/(ms|s)$/)||(e+="ms"),"string"==typeof this.options.kenburnsanimations&&(this.options.kenburnsanimations=this.options.kenburnsanimations.split(","))),this.slides.each(function(n){var o=i.$(this),r=o.children("img,video,iframe").eq(0);if(o.data("media",r),o.data("sizer",r),r.length){var d;switch(r[0].nodeName){case"IMG":var u=i.$('<div class="uk-cover-background uk-position-cover"></div>').css({"background-image":"url("+r.attr("src")+")"});r.attr("width")&&r.attr("height")&&(d=i.$("<canvas></canvas>").attr({width:r.attr("width"),height:r.attr("height")}),r.replaceWith(d),r=d,d=void 0),r.css({width:"100%",height:"auto",opacity:0}),o.prepend(u).data("cover",u);break;case"IFRAME":var h=r[0].src,c="sw-"+ ++s;r.attr("src","").on("load",function(){if((n!==a.current||n==a.current&&!a.options.videoautoplay)&&a.pausemedia(r),a.options.videomute){a.mutemedia(r);var i=setInterval(function(t){return function(){a.mutemedia(r),++t>=4&&clearInterval(i)}}(0),250)}}).data("slideshow",a).attr("data-player-id",c).attr("src",[h,h.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1&player_id="+c].join("")).addClass("uk-position-absolute"),i.support.touch||r.css("pointer-events","none"),d=!0,i.cover&&(i.cover(r),r.attr("data-uk-cover","{}"));break;case"VIDEO":r.addClass("uk-cover-object uk-position-absolute"),d=!0,a.options.videomute&&a.mutemedia(r)}if(d){t=i.$("<canvas></canvas>").attr({width:r[0].width,height:r[0].height});var l=i.$('<img style="width:100%;height:auto;">').attr("src",t[0].toDataURL());o.prepend(l),o.data("sizer",l)}}else o.data("sizer",o);a.hasKenBurns(o)&&o.data("cover").css({"-webkit-animation-duration":e,"animation-duration":e})}),this.on("click.uk.slideshow","[data-uk-slideshow-item]",function(t){t.preventDefault();var s=i.$(this).attr("data-uk-slideshow-item");if(a.current!=s){switch(s){case"next":case"previous":a["next"==s?"next":"previous"]();break;default:a.show(parseInt(s,10))}a.stop()}}),this.slides.attr("aria-hidden","true").eq(this.current).addClass("uk-active").attr("aria-hidden","false"),this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass("uk-active"),i.$win.on("resize load",i.Utils.debounce(function(){a.resize(),a.fixFullscreen&&(a.container.css("height",window.innerHeight),a.slides.css("height",window.innerHeight))},100)),setTimeout(function(){a.resize()},80),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.current)),this.container.on({mouseenter:function(){a.options.pauseOnHover&&(a.hovering=!0)},mouseleave:function(){a.hovering=!1}}),this.on("swipeRight swipeLeft",function(i){a["swipeLeft"==i.type?"next":"previous"]()}),this.on("display.uk.check",function(){a.element.is(":visible")&&(a.resize(),a.fixFullscreen&&(a.container.css("height",window.innerHeight),a.slides.css("height",window.innerHeight)))})},resize:function(){if(!this.container.hasClass("uk-slideshow-fullscreen")){var t=this.options.height;"auto"===this.options.height&&(t=0,this.slides.css("height","").each(function(){t=Math.max(t,i.$(this).height())})),this.container.css("height",t),this.slides.css("height",t)}},show:function(s,e){if(!this.animating&&this.current!=s){this.animating=!0;var a=this,n=this.slides.eq(this.current),o=this.slides.eq(s),r=e?e:this.current<s?1:-1,d=n.data("media"),u=t[this.options.animation]?this.options.animation:"fade",h=o.data("media"),c=function(){a.animating&&(d&&d.is("video,iframe")&&a.pausemedia(d),h&&h.is("video,iframe")&&a.playmedia(h),o.addClass("uk-active").attr("aria-hidden","false"),n.removeClass("uk-active").attr("aria-hidden","true"),a.animating=!1,a.current=s,i.Utils.checkDisplay(o,'[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'),a.trigger("show.uk.slideshow",[o,n,a]))};a.applyKenBurns(o),i.support.animation||(u="none"),n=i.$(n),o=i.$(o),a.trigger("beforeshow.uk.slideshow",[o,n,a]),t[u].apply(this,[n,o,r]).then(c),a.triggers.removeClass("uk-active"),a.triggers.filter('[data-uk-slideshow-item="'+s+'"]').addClass("uk-active")}},applyKenBurns:function(i){if(this.hasKenBurns(i)){var t=this.options.kenburnsanimations,s=this.kbindex||0;i.data("cover").attr("class","uk-cover-background uk-position-cover").width(),i.data("cover").addClass(["uk-animation-scale","uk-animation-reverse",t[s].trim()].join(" ")),this.kbindex=t[s+1]?s+1:0}},hasKenBurns:function(i){return this.options.kenburns&&i.data("cover")},next:function(){this.show(this.slides[this.current+1]?this.current+1:0,1)},previous:function(){this.show(this.slides[this.current-1]?this.current-1:this.slides.length-1,-1)},start:function(){this.stop();var i=this;this.interval=setInterval(function(){i.hovering||i.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},playmedia:function(i){if(i&&i[0])switch(i[0].nodeName){case"VIDEO":this.options.videomute||(i[0].muted=!1),i[0].play();break;case"IFRAME":this.options.videomute||i[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}',"*"),i[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}',"*")}},pausemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].pause();break;case"IFRAME":i[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}',"*")}},mutemedia:function(i){switch(i[0].nodeName){case"VIDEO":i[0].muted=!0;break;case"IFRAME":i[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}}}),t={none:function(){var t=i.$.Deferred();return t.resolve(),t.promise()},scroll:function(t,s,e){var a=i.$.Deferred();return t.css("animation-duration",this.options.duration+"ms"),s.css("animation-duration",this.options.duration+"ms"),s.css("opacity",1).one(i.support.animation.end,function(){t.css("opacity",0).removeClass(-1==e?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),s.removeClass(-1==e?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),a.resolve()}.bind(this)),t.addClass(-1==e?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),s.addClass(-1==e?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),s.width(),a.promise()},swipe:function(t,s,e){var a=i.$.Deferred();return t.css("animation-duration",this.options.duration+"ms"),s.css("animation-duration",this.options.duration+"ms"),s.css("opacity",1).one(i.support.animation.end,function(){t.css("opacity",0).removeClass(-1===e?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),s.removeClass(-1===e?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),a.resolve()}.bind(this)),t.addClass(-1==e?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),s.addClass(-1==e?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),s.width(),a.promise()},scale:function(t,s){var e=i.$.Deferred();return t.css("animation-duration",this.options.duration+"ms"),s.css("animation-duration",this.options.duration+"ms"),s.css("opacity",1),t.one(i.support.animation.end,function(){t.css("opacity",0).removeClass("uk-slideshow-scale-out"),e.resolve()}.bind(this)),t.addClass("uk-slideshow-scale-out"),t.width(),e.promise()},fade:function(t,s){var e=i.$.Deferred();return t.css("animation-duration",this.options.duration+"ms"),s.css("animation-duration",this.options.duration+"ms"),s.css("opacity",1),s.data("cover")||s.data("placeholder")||s.css("opacity",1).one(i.support.animation.end,function(){s.removeClass("uk-slideshow-fade-in")}).addClass("uk-slideshow-fade-in"),t.one(i.support.animation.end,function(){t.css("opacity",0).removeClass("uk-slideshow-fade-out"),e.resolve()}.bind(this)),t.addClass("uk-slideshow-fade-out"),t.width(),e.promise()}},i.slideshow.animations=t,window.addEventListener("message",function(t){var s,e=t.data;if("string"==typeof e)try{e=JSON.parse(e)}catch(a){e={}}t.origin&&t.origin.indexOf("vimeo")>-1&&"ready"==e.event&&e.player_id&&(s=i.$('[data-player-id="'+e.player_id+'"]'),s.length&&s.data("slideshow").mutemedia(s))},!1)}); \ No newline at end of file | ||
| diff --git a/js/components/sortable.js b/js/components/sortable.js new file mode 100755 index 0000000..de378d9 --- /dev/null +++ b/js/components/sortable.js | |||
| @@ -0,0 +1,688 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | /* | ||
| 3 | * Based on nativesortable - Copyright (c) Brian Grinstead - https://github.com/bgrins/nativesortable | ||
| 4 | */ | ||
| 5 | (function(addon) { | ||
| 6 | |||
| 7 | var component; | ||
| 8 | |||
| 9 | if (window.UIkit) { | ||
| 10 | component = addon(UIkit); | ||
| 11 | } | ||
| 12 | |||
| 13 | if (typeof define == "function" && define.amd) { | ||
| 14 | define("uikit-sortable", ["uikit"], function(){ | ||
| 15 | return component || addon(UIkit); | ||
| 16 | }); | ||
| 17 | } | ||
| 18 | |||
| 19 | })(function(UI){ | ||
| 20 | |||
| 21 | "use strict"; | ||
| 22 | |||
| 23 | var supportsTouch = ('ontouchstart' in window || 'MSGesture' in window) || (window.DocumentTouch && document instanceof DocumentTouch), | ||
| 24 | draggingPlaceholder, currentlyDraggingElement, currentlyDraggingTarget, dragging, moving, clickedlink, delayIdle, touchedlists, moved, overElement, startEvent; | ||
| 25 | |||
| 26 | var POINTER_DOWN = supportsTouch ? ('MSGesture' in window ? 'pointerdown':'touchstart') : 'mousedown', | ||
| 27 | POINTER_MOVE = supportsTouch ? ('MSGesture' in window ? 'pointermove':'touchmove') : 'mousemove', | ||
| 28 | POINTER_UP = supportsTouch ? ('MSGesture' in window ? 'pointerup':'touchend') : 'mouseup'; | ||
| 29 | |||
| 30 | function closestSortable(ele) { | ||
| 31 | |||
| 32 | ele = UI.$(ele); | ||
| 33 | |||
| 34 | do { | ||
| 35 | if (ele.data('sortable')) { | ||
| 36 | return ele; | ||
| 37 | } | ||
| 38 | ele = UI.$(ele).parent(); | ||
| 39 | } while(ele.length); | ||
| 40 | |||
| 41 | return ele; | ||
| 42 | } | ||
| 43 | |||
| 44 | UI.component('sortable', { | ||
| 45 | |||
| 46 | defaults: { | ||
| 47 | |||
| 48 | animation : 150, | ||
| 49 | threshold : 10, | ||
| 50 | |||
| 51 | childClass : 'uk-sortable-item', | ||
| 52 | placeholderClass : 'uk-sortable-placeholder', | ||
| 53 | overClass : 'uk-sortable-over', | ||
| 54 | draggingClass : 'uk-sortable-dragged', | ||
| 55 | dragMovingClass : 'uk-sortable-moving', | ||
| 56 | baseClass : 'uk-sortable', | ||
| 57 | noDragClass : 'uk-sortable-nodrag', | ||
| 58 | emptyClass : 'uk-sortable-empty', | ||
| 59 | dragCustomClass : '', | ||
| 60 | handleClass : false, | ||
| 61 | group : false, | ||
| 62 | |||
| 63 | stop : function() {}, | ||
| 64 | start : function() {}, | ||
| 65 | change : function() {} | ||
| 66 | }, | ||
| 67 | |||
| 68 | boot: function() { | ||
| 69 | |||
| 70 | // auto init | ||
| 71 | UI.ready(function(context) { | ||
| 72 | |||
| 73 | UI.$("[data-uk-sortable]", context).each(function(){ | ||
| 74 | |||
| 75 | var ele = UI.$(this); | ||
| 76 | |||
| 77 | if(!ele.data("sortable")) { | ||
| 78 | UI.sortable(ele, UI.Utils.options(ele.attr("data-uk-sortable"))); | ||
| 79 | } | ||
| 80 | }); | ||
| 81 | }); | ||
| 82 | |||
| 83 | UI.$html.on(POINTER_MOVE, function(e) { | ||
| 84 | |||
| 85 | if (delayIdle) { | ||
| 86 | |||
| 87 | var src = e.originalEvent.targetTouches ? e.originalEvent.targetTouches[0] : e; | ||
| 88 | |||
| 89 | if (Math.abs(src.pageX - delayIdle.pos.x) > delayIdle.threshold || Math.abs(src.pageY - delayIdle.pos.y) > delayIdle.threshold) { | ||
| 90 | delayIdle.apply(src); | ||
| 91 | } | ||
| 92 | } | ||
| 93 | |||
| 94 | if (draggingPlaceholder) { | ||
| 95 | |||
| 96 | if (!moving) { | ||
| 97 | moving = true; | ||
| 98 | draggingPlaceholder.show(); | ||
| 99 | |||
| 100 | draggingPlaceholder.$current.addClass(draggingPlaceholder.$sortable.options.placeholderClass); | ||
| 101 | draggingPlaceholder.$sortable.element.children().addClass(draggingPlaceholder.$sortable.options.childClass); | ||
| 102 | |||
| 103 | UI.$html.addClass(draggingPlaceholder.$sortable.options.dragMovingClass); | ||
| 104 | } | ||
| 105 | |||
| 106 | var offset = draggingPlaceholder.data('mouse-offset'), | ||
| 107 | ev = e.originalEvent.touches && e.originalEvent.touches[0] || e.originalEvent, | ||
| 108 | left = parseInt(ev.pageX, 10) + offset.left, | ||
| 109 | top = parseInt(ev.pageY, 10) + offset.top; | ||
| 110 | |||
| 111 | draggingPlaceholder.css({'left': left, 'top': top }); | ||
| 112 | |||
| 113 | // adjust document scrolling | ||
| 114 | |||
| 115 | if (top + (draggingPlaceholder.height()/3) > document.body.offsetHeight) { | ||
| 116 | return; | ||
| 117 | } | ||
| 118 | |||
| 119 | if (top < UI.$win.scrollTop()) { | ||
| 120 | UI.$win.scrollTop(UI.$win.scrollTop() - Math.ceil(draggingPlaceholder.height()/3)); | ||
| 121 | } else if ( (top + (draggingPlaceholder.height()/3)) > (window.innerHeight + UI.$win.scrollTop()) ) { | ||
| 122 | UI.$win.scrollTop(UI.$win.scrollTop() + Math.ceil(draggingPlaceholder.height()/3)); | ||
| 123 | } | ||
| 124 | } | ||
| 125 | }); | ||
| 126 | |||
| 127 | UI.$html.on(POINTER_UP, function(e) { | ||
| 128 | |||
| 129 | delayIdle = clickedlink = false; | ||
| 130 | |||
| 131 | // dragging? | ||
| 132 | if (!currentlyDraggingElement || !draggingPlaceholder) { | ||
| 133 | // completely reset dragging attempt. will cause weird delay behavior elsewise | ||
| 134 | currentlyDraggingElement = draggingPlaceholder = null; | ||
| 135 | return; | ||
| 136 | } | ||
| 137 | |||
| 138 | // inside or outside of sortable? | ||
| 139 | var sortable = closestSortable(currentlyDraggingElement), | ||
| 140 | component = draggingPlaceholder.$sortable, | ||
| 141 | ev = { type: e.type }; | ||
| 142 | |||
| 143 | if (sortable[0]) { | ||
| 144 | component.dragDrop(ev, component.element); | ||
| 145 | } | ||
| 146 | component.dragEnd(ev, component.element); | ||
| 147 | }); | ||
| 148 | }, | ||
| 149 | |||
| 150 | init: function() { | ||
| 151 | |||
| 152 | var $this = this, | ||
| 153 | element = this.element[0]; | ||
| 154 | |||
| 155 | touchedlists = []; | ||
| 156 | |||
| 157 | this.checkEmptyList(); | ||
| 158 | |||
| 159 | this.element.data('sortable-group', this.options.group ? this.options.group : UI.Utils.uid('sortable-group')); | ||
| 160 | |||
| 161 | var handleDragStart = delegate(function(e) { | ||
| 162 | |||
| 163 | if (e.data && e.data.sortable) { | ||
| 164 | return; | ||
| 165 | } | ||
| 166 | |||
| 167 | var $target = UI.$(e.target), | ||
| 168 | $link = $target.is('a[href]') ? $target:$target.parents('a[href]'); | ||
| 169 | |||
| 170 | if ($target.is(':input')) { | ||
| 171 | return; | ||
| 172 | } | ||
| 173 | |||
| 174 | if ($this.options.handleClass) { | ||
| 175 | var handle = $target.hasClass($this.options.handleClass) ? $target : $target.closest('.'+$this.options.handleClass, $this.element); | ||
| 176 | if (!handle.length) return; | ||
| 177 | } | ||
| 178 | |||
| 179 | e.preventDefault(); | ||
| 180 | |||
| 181 | if ($link.length) { | ||
| 182 | |||
| 183 | $link.one('click', function(e){ | ||
| 184 | e.preventDefault(); | ||
| 185 | }).one(POINTER_UP, function(){ | ||
| 186 | |||
| 187 | if (!moved) { | ||
| 188 | $link.trigger('click'); | ||
| 189 | if (supportsTouch && $link.attr('href').trim()) { | ||
| 190 | location.href = $link.attr('href'); | ||
| 191 | } | ||
| 192 | } | ||
| 193 | }); | ||
| 194 | } | ||
| 195 | |||
| 196 | e.data = e.data || {}; | ||
| 197 | |||
| 198 | e.data.sortable = element; | ||
| 199 | |||
| 200 | return $this.dragStart(e, this); | ||
| 201 | }); | ||
| 202 | |||
| 203 | var handleDragEnter = delegate(UI.Utils.debounce(function(e) { | ||
| 204 | return $this.dragEnter(e, this); | ||
| 205 | }), 40); | ||
| 206 | |||
| 207 | var handleDragLeave = delegate(function(e) { | ||
| 208 | |||
| 209 | // Prevent dragenter on a child from allowing a dragleave on the container | ||
| 210 | var previousCounter = $this.dragenterData(this); | ||
| 211 | $this.dragenterData(this, previousCounter - 1); | ||
| 212 | |||
| 213 | // This is a fix for child elements firing dragenter before the parent fires dragleave | ||
| 214 | if (!$this.dragenterData(this)) { | ||
| 215 | UI.$(this).removeClass($this.options.overClass); | ||
| 216 | $this.dragenterData(this, false); | ||
| 217 | } | ||
| 218 | }); | ||
| 219 | |||
| 220 | var handleTouchMove = delegate(function(e) { | ||
| 221 | |||
| 222 | if (!currentlyDraggingElement || | ||
| 223 | currentlyDraggingElement === this || | ||
| 224 | currentlyDraggingTarget === this) { | ||
| 225 | return true; | ||
| 226 | } | ||
| 227 | |||
| 228 | $this.element.children().removeClass($this.options.overClass); | ||
| 229 | currentlyDraggingTarget = this; | ||
| 230 | |||
| 231 | $this.moveElementNextTo(currentlyDraggingElement, this); | ||
| 232 | |||
| 233 | return prevent(e); | ||
| 234 | }); | ||
| 235 | |||
| 236 | // Bind/unbind standard mouse/touch events as a polyfill. | ||
| 237 | function addDragHandlers() { | ||
| 238 | |||
| 239 | if (supportsTouch && startEvent.touches && startEvent.touches.length) { | ||
| 240 | element.addEventListener(POINTER_MOVE, handleTouchMove, false); | ||
| 241 | } else { | ||
| 242 | element.addEventListener('mouseover', handleDragEnter, false); | ||
| 243 | element.addEventListener('mouseout', handleDragLeave, false); | ||
| 244 | } | ||
| 245 | |||
| 246 | // document.addEventListener("selectstart", prevent, false); | ||
| 247 | } | ||
| 248 | |||
| 249 | function removeDragHandlers() { | ||
| 250 | if (supportsTouch && startEvent.touches && startEvent.touches.length) { | ||
| 251 | element.removeEventListener(POINTER_MOVE, handleTouchMove, false); | ||
| 252 | } else { | ||
| 253 | element.removeEventListener('mouseover', handleDragEnter, false); | ||
| 254 | element.removeEventListener('mouseout', handleDragLeave, false); | ||
| 255 | } | ||
| 256 | |||
| 257 | // document.removeEventListener("selectstart", prevent, false); | ||
| 258 | } | ||
| 259 | |||
| 260 | this.addDragHandlers = addDragHandlers; | ||
| 261 | this.removeDragHandlers = removeDragHandlers; | ||
| 262 | |||
| 263 | function handleDragMove(e) { | ||
| 264 | |||
| 265 | if (!currentlyDraggingElement) { | ||
| 266 | return; | ||
| 267 | } | ||
| 268 | |||
| 269 | $this.dragMove(e, $this); | ||
| 270 | } | ||
| 271 | |||
| 272 | function delegate(fn) { | ||
| 273 | |||
| 274 | return function(e) { | ||
| 275 | |||
| 276 | var touch, target, context; | ||
| 277 | |||
| 278 | startEvent = e; | ||
| 279 | |||
| 280 | if (e) { | ||
| 281 | touch = e.touches && e.touches[0] || e; | ||
| 282 | target = touch.target || e.target; | ||
| 283 | |||
| 284 | // Fix event.target for a touch event | ||
| 285 | if (supportsTouch && document.elementFromPoint) { | ||
| 286 | target = document.elementFromPoint(touch.pageX - document.body.scrollLeft, touch.pageY - document.body.scrollTop); | ||
| 287 | } | ||
| 288 | |||
| 289 | overElement = UI.$(target); | ||
| 290 | } | ||
| 291 | |||
| 292 | if (UI.$(target).hasClass('.'+$this.options.childClass)) { | ||
| 293 | fn.apply(target, [e]); | ||
| 294 | } else if (target !== element) { | ||
| 295 | |||
| 296 | // If a child is initiating the event or ending it, then use the container as context for the callback. | ||
| 297 | context = moveUpToChildNode(element, target); | ||
| 298 | |||
| 299 | if (context) { | ||
| 300 | fn.apply(context, [e]); | ||
| 301 | } | ||
| 302 | } | ||
| 303 | }; | ||
| 304 | } | ||
| 305 | |||
| 306 | window.addEventListener(POINTER_MOVE, handleDragMove, false); | ||
| 307 | element.addEventListener(POINTER_DOWN, handleDragStart, false); | ||
| 308 | }, | ||
| 309 | |||
| 310 | dragStart: function(e, elem) { | ||
| 311 | |||
| 312 | moved = false; | ||
| 313 | moving = false; | ||
| 314 | dragging = false; | ||
| 315 | |||
| 316 | var $this = this, | ||
| 317 | target = UI.$(e.target); | ||
| 318 | |||
| 319 | if (!supportsTouch && e.button==2) { | ||
| 320 | return; | ||
| 321 | } | ||
| 322 | |||
| 323 | if (target.is('.'+$this.options.noDragClass) || target.closest('.'+$this.options.noDragClass).length) { | ||
| 324 | return; | ||
| 325 | } | ||
| 326 | |||
| 327 | // prevent dragging if taget is a form field | ||
| 328 | if (target.is(':input')) { | ||
| 329 | return; | ||
| 330 | } | ||
| 331 | |||
| 332 | currentlyDraggingElement = elem; | ||
| 333 | |||
| 334 | // init drag placeholder | ||
| 335 | if (draggingPlaceholder) { | ||
| 336 | draggingPlaceholder.remove(); | ||
| 337 | } | ||
| 338 | |||
| 339 | var $current = UI.$(currentlyDraggingElement), offset = $current.offset(), ev = e.touches && e.touches[0] || e; | ||
| 340 | |||
| 341 | delayIdle = { | ||
| 342 | |||
| 343 | pos : { x:ev.pageX, y:ev.pageY }, | ||
| 344 | threshold : $this.options.handleClass ? 1 : $this.options.threshold, | ||
| 345 | apply : function(evt) { | ||
| 346 | |||
| 347 | draggingPlaceholder = UI.$('<div class="'+([$this.options.draggingClass, $this.options.dragCustomClass].join(' '))+'"></div>').css({ | ||
| 348 | display : 'none', | ||
| 349 | top : offset.top, | ||
| 350 | left : offset.left, | ||
| 351 | width : $current.width(), | ||
| 352 | height : $current.height(), | ||
| 353 | padding : $current.css('padding') | ||
| 354 | }).data({ | ||
| 355 | 'mouse-offset': { | ||
| 356 | 'left' : offset.left - parseInt(ev.pageX, 10), | ||
| 357 | 'top' : offset.top - parseInt(ev.pageY, 10) | ||
| 358 | }, | ||
| 359 | 'origin' : $this.element, | ||
| 360 | 'index' : $current.index() | ||
| 361 | }).append($current.html()).appendTo('body'); | ||
| 362 | |||
| 363 | draggingPlaceholder.$current = $current; | ||
| 364 | draggingPlaceholder.$sortable = $this; | ||
| 365 | |||
| 366 | $current.data({ | ||
| 367 | 'start-list': $current.parent(), | ||
| 368 | 'start-index': $current.index(), | ||
| 369 | 'sortable-group': $this.options.group | ||
| 370 | }); | ||
| 371 | |||
| 372 | $this.addDragHandlers(); | ||
| 373 | |||
| 374 | $this.options.start(this, currentlyDraggingElement); | ||
| 375 | $this.trigger('start.uk.sortable', [$this, currentlyDraggingElement, draggingPlaceholder]); | ||
| 376 | |||
| 377 | moved = true; | ||
| 378 | delayIdle = false; | ||
| 379 | } | ||
| 380 | }; | ||
| 381 | }, | ||
| 382 | |||
| 383 | dragMove: function(e, elem) { | ||
| 384 | |||
| 385 | overElement = UI.$(document.elementFromPoint(e.pageX - (document.body.scrollLeft || document.scrollLeft || 0), e.pageY - (document.body.scrollTop || document.documentElement.scrollTop || 0))); | ||
| 386 | |||
| 387 | var overRoot = overElement.closest('.'+this.options.baseClass), | ||
| 388 | groupOver = overRoot.data("sortable-group"), | ||
| 389 | $current = UI.$(currentlyDraggingElement), | ||
| 390 | currentRoot = $current.parent(), | ||
| 391 | groupCurrent = $current.data("sortable-group"), | ||
| 392 | overChild; | ||
| 393 | |||
| 394 | if (overRoot[0] !== currentRoot[0] && groupCurrent !== undefined && groupOver === groupCurrent) { | ||
| 395 | |||
| 396 | overRoot.data('sortable').addDragHandlers(); | ||
| 397 | |||
| 398 | touchedlists.push(overRoot); | ||
| 399 | overRoot.children().addClass(this.options.childClass); | ||
| 400 | |||
| 401 | // swap root | ||
| 402 | if (overRoot.children().length > 0) { | ||
| 403 | overChild = overElement.closest('.'+this.options.childClass); | ||
| 404 | |||
| 405 | if (overChild.length) { | ||
| 406 | overChild.before($current); | ||
| 407 | } else { | ||
| 408 | overRoot.append($current); | ||
| 409 | } | ||
| 410 | |||
| 411 | } else { // empty list | ||
| 412 | overElement.append($current); | ||
| 413 | } | ||
| 414 | |||
| 415 | UIkit.$doc.trigger('mouseover'); | ||
| 416 | } | ||
| 417 | |||
| 418 | this.checkEmptyList(); | ||
| 419 | this.checkEmptyList(currentRoot); | ||
| 420 | }, | ||
| 421 | |||
| 422 | dragEnter: function(e, elem) { | ||
| 423 | |||
| 424 | if (!currentlyDraggingElement || currentlyDraggingElement === elem) { | ||
| 425 | return true; | ||
| 426 | } | ||
| 427 | |||
| 428 | var previousCounter = this.dragenterData(elem); | ||
| 429 | |||
| 430 | this.dragenterData(elem, previousCounter + 1); | ||
| 431 | |||
| 432 | // Prevent dragenter on a child from allowing a dragleave on the container | ||
| 433 | if (previousCounter === 0) { | ||
| 434 | |||
| 435 | var currentlist = UI.$(elem).parent(), | ||
| 436 | startlist = UI.$(currentlyDraggingElement).data("start-list"); | ||
| 437 | |||
| 438 | if (currentlist[0] !== startlist[0]) { | ||
| 439 | |||
| 440 | var groupOver = currentlist.data('sortable-group'), | ||
| 441 | groupCurrent = UI.$(currentlyDraggingElement).data("sortable-group"); | ||
| 442 | |||
| 443 | if ((groupOver || groupCurrent) && (groupOver != groupCurrent)) { | ||
| 444 | return false; | ||
| 445 | } | ||
| 446 | } | ||
| 447 | |||
| 448 | UI.$(elem).addClass(this.options.overClass); | ||
| 449 | this.moveElementNextTo(currentlyDraggingElement, elem); | ||
| 450 | } | ||
| 451 | |||
| 452 | return false; | ||
| 453 | }, | ||
| 454 | |||
| 455 | dragEnd: function(e, elem) { | ||
| 456 | |||
| 457 | var $this = this; | ||
| 458 | |||
| 459 | // avoid triggering event twice | ||
| 460 | if (currentlyDraggingElement) { | ||
| 461 | // TODO: trigger on right element? | ||
| 462 | this.options.stop(elem); | ||
| 463 | this.trigger('stop.uk.sortable', [this]); | ||
| 464 | } | ||
| 465 | |||
| 466 | currentlyDraggingElement = null; | ||
| 467 | currentlyDraggingTarget = null; | ||
| 468 | |||
| 469 | touchedlists.push(this.element); | ||
| 470 | touchedlists.forEach(function(el, i) { | ||
| 471 | UI.$(el).children().each(function() { | ||
| 472 | if (this.nodeType === 1) { | ||
| 473 | UI.$(this).removeClass($this.options.overClass) | ||
| 474 | .removeClass($this.options.placeholderClass) | ||
| 475 | .removeClass($this.options.childClass); | ||
| 476 | $this.dragenterData(this, false); | ||
| 477 | } | ||
| 478 | }); | ||
| 479 | }); | ||
| 480 | |||
| 481 | touchedlists = []; | ||
| 482 | |||
| 483 | UI.$html.removeClass(this.options.dragMovingClass); | ||
| 484 | |||
| 485 | this.removeDragHandlers(); | ||
| 486 | |||
| 487 | if (draggingPlaceholder) { | ||
| 488 | draggingPlaceholder.remove(); | ||
| 489 | draggingPlaceholder = null; | ||
| 490 | } | ||
| 491 | }, | ||
| 492 | |||
| 493 | dragDrop: function(e, elem) { | ||
| 494 | |||
| 495 | if (e.type === 'drop') { | ||
| 496 | |||
| 497 | if (e.stopPropagation) { | ||
| 498 | e.stopPropagation(); | ||
| 499 | } | ||
| 500 | |||
| 501 | if (e.preventDefault) { | ||
| 502 | e.preventDefault(); | ||
| 503 | } | ||
| 504 | } | ||
| 505 | |||
| 506 | this.triggerChangeEvents(); | ||
| 507 | }, | ||
| 508 | |||
| 509 | triggerChangeEvents: function() { | ||
| 510 | |||
| 511 | // trigger events once | ||
| 512 | if (!currentlyDraggingElement) return; | ||
| 513 | |||
| 514 | var $current = UI.$(currentlyDraggingElement), | ||
| 515 | oldRoot = draggingPlaceholder.data("origin"), | ||
| 516 | newRoot = $current.closest('.'+this.options.baseClass), | ||
| 517 | triggers = [], | ||
| 518 | el = UI.$(currentlyDraggingElement); | ||
| 519 | |||
| 520 | // events depending on move inside lists or across lists | ||
| 521 | if (oldRoot[0] === newRoot[0] && draggingPlaceholder.data('index') != $current.index() ) { | ||
| 522 | triggers.push({sortable: this, mode: 'moved'}); | ||
| 523 | } else if (oldRoot[0] != newRoot[0]) { | ||
| 524 | triggers.push({sortable: UI.$(newRoot).data('sortable'), mode: 'added'}, {sortable: UI.$(oldRoot).data('sortable'), mode: 'removed'}); | ||
| 525 | } | ||
| 526 | |||
| 527 | triggers.forEach(function (trigger, i) { | ||
| 528 | if (trigger.sortable) { | ||
| 529 | trigger.sortable.element.trigger('change.uk.sortable', [trigger.sortable, el, trigger.mode]); | ||
| 530 | } | ||
| 531 | }); | ||
| 532 | }, | ||
| 533 | |||
| 534 | dragenterData: function(element, val) { | ||
| 535 | |||
| 536 | element = UI.$(element); | ||
| 537 | |||
| 538 | if (arguments.length == 1) { | ||
| 539 | return parseInt(element.data('child-dragenter'), 10) || 0; | ||
| 540 | } else if (!val) { | ||
| 541 | element.removeData('child-dragenter'); | ||
| 542 | } else { | ||
| 543 | element.data('child-dragenter', Math.max(0, val)); | ||
| 544 | } | ||
| 545 | }, | ||
| 546 | |||
| 547 | moveElementNextTo: function(element, elementToMoveNextTo) { | ||
| 548 | |||
| 549 | dragging = true; | ||
| 550 | |||
| 551 | var $this = this, | ||
| 552 | list = UI.$(element).parent().css('min-height', ''), | ||
| 553 | next = isBelow(element, elementToMoveNextTo) ? elementToMoveNextTo : elementToMoveNextTo.nextSibling, | ||
| 554 | children = list.children(), | ||
| 555 | count = children.length; | ||
| 556 | |||
| 557 | if (!$this.options.animation) { | ||
| 558 | elementToMoveNextTo.parentNode.insertBefore(element, next); | ||
| 559 | UI.Utils.checkDisplay($this.element.parent()); | ||
| 560 | return; | ||
| 561 | } | ||
| 562 | |||
| 563 | list.css('min-height', list.height()); | ||
| 564 | |||
| 565 | children.stop().each(function(){ | ||
| 566 | var ele = UI.$(this), | ||
| 567 | offset = ele.position(); | ||
| 568 | |||
| 569 | offset.width = ele.width(); | ||
| 570 | |||
| 571 | ele.data('offset-before', offset); | ||
| 572 | }); | ||
| 573 | |||
| 574 | elementToMoveNextTo.parentNode.insertBefore(element, next); | ||
| 575 | |||
| 576 | UI.Utils.checkDisplay($this.element.parent()); | ||
| 577 | |||
| 578 | children = list.children().each(function() { | ||
| 579 | var ele = UI.$(this); | ||
| 580 | ele.data('offset-after', ele.position()); | ||
| 581 | }).each(function() { | ||
| 582 | var ele = UI.$(this), | ||
| 583 | before = ele.data('offset-before'); | ||
| 584 | ele.css({'position':'absolute', 'top':before.top, 'left':before.left, 'min-width':before.width }); | ||
| 585 | }); | ||
| 586 | |||
| 587 | children.each(function(){ | ||
| 588 | |||
| 589 | var ele = UI.$(this), | ||
| 590 | before = ele.data('offset-before'), | ||
| 591 | offset = ele.data('offset-after'); | ||
| 592 | |||
| 593 | ele.css('pointer-events', 'none').width(); | ||
| 594 | |||
| 595 | setTimeout(function(){ | ||
| 596 | ele.animate({'top':offset.top, 'left':offset.left}, $this.options.animation, function() { | ||
| 597 | ele.css({'position':'','top':'', 'left':'', 'min-width': '', 'pointer-events':''}).removeClass($this.options.overClass).removeData('child-dragenter'); | ||
| 598 | count--; | ||
| 599 | if (!count) { | ||
| 600 | list.css('min-height', ''); | ||
| 601 | UI.Utils.checkDisplay($this.element.parent()); | ||
| 602 | } | ||
| 603 | }); | ||
| 604 | }, 0); | ||
| 605 | }); | ||
| 606 | }, | ||
| 607 | |||
| 608 | serialize: function() { | ||
| 609 | |||
| 610 | var data = [], item, attribute; | ||
| 611 | |||
| 612 | this.element.children().each(function(j, child) { | ||
| 613 | item = {}; | ||
| 614 | for (var i = 0, attr, val; i < child.attributes.length; i++) { | ||
| 615 | attribute = child.attributes[i]; | ||
| 616 | if (attribute.name.indexOf('data-') === 0) { | ||
| 617 | attr = attribute.name.substr(5); | ||
| 618 | val = UI.Utils.str2json(attribute.value); | ||
| 619 | item[attr] = (val || attribute.value=='false' || attribute.value=='0') ? val:attribute.value; | ||
| 620 | } | ||
| 621 | } | ||
| 622 | data.push(item); | ||
| 623 | }); | ||
| 624 | |||
| 625 | return data; | ||
| 626 | }, | ||
| 627 | |||
| 628 | checkEmptyList: function(list) { | ||
| 629 | |||
| 630 | list = list ? UI.$(list) : this.element; | ||
| 631 | |||
| 632 | if (this.options.emptyClass) { | ||
| 633 | list[!list.children().length ? 'addClass':'removeClass'](this.options.emptyClass); | ||
| 634 | } | ||
| 635 | } | ||
| 636 | }); | ||
| 637 | |||
| 638 | // helpers | ||
| 639 | |||
| 640 | function isBelow(el1, el2) { | ||
| 641 | |||
| 642 | var parent = el1.parentNode; | ||
| 643 | |||
| 644 | if (el2.parentNode != parent) { | ||
| 645 | return false; | ||
| 646 | } | ||
| 647 | |||
| 648 | var cur = el1.previousSibling; | ||
| 649 | |||
| 650 | while (cur && cur.nodeType !== 9) { | ||
| 651 | if (cur === el2) { | ||
| 652 | return true; | ||
| 653 | } | ||
| 654 | cur = cur.previousSibling; | ||
| 655 | } | ||
| 656 | |||
| 657 | return false; | ||
| 658 | } | ||
| 659 | |||
| 660 | function moveUpToChildNode(parent, child) { | ||
| 661 | var cur = child; | ||
| 662 | if (cur == parent) { return null; } | ||
| 663 | |||
| 664 | while (cur) { | ||
| 665 | if (cur.parentNode === parent) { | ||
| 666 | return cur; | ||
| 667 | } | ||
| 668 | |||
| 669 | cur = cur.parentNode; | ||
| 670 | if ( !cur || !cur.ownerDocument || cur.nodeType === 11 ) { | ||
| 671 | break; | ||
| 672 | } | ||
| 673 | } | ||
| 674 | return null; | ||
| 675 | } | ||
| 676 | |||
| 677 | function prevent(e) { | ||
| 678 | if (e.stopPropagation) { | ||
| 679 | e.stopPropagation(); | ||
| 680 | } | ||
| 681 | if (e.preventDefault) { | ||
| 682 | e.preventDefault(); | ||
| 683 | } | ||
| 684 | e.returnValue = false; | ||
| 685 | } | ||
| 686 | |||
| 687 | return UI.sortable; | ||
| 688 | }); | ||
| diff --git a/js/components/sortable.min.js b/js/components/sortable.min.js new file mode 100755 index 0000000..3807ff1 --- /dev/null +++ b/js/components/sortable.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sortable",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}function o(t,e){var o=t.parentNode;if(e.parentNode!=o)return!1;for(var n=t.previousSibling;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}function n(t,e){var o=e;if(o==t)return null;for(;o;){if(o.parentNode===t)return o;if(o=o.parentNode,!o||!o.ownerDocument||11===o.nodeType)break}return null}function s(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}var a,r,i,l,d,h,u,p,c,g,f,m="ontouchstart"in window||"MSGesture"in window||window.DocumentTouch&&document instanceof DocumentTouch,v=m?"MSGesture"in window?"pointerdown":"touchstart":"mousedown",b=m?"MSGesture"in window?"pointermove":"touchmove":"mousemove",C=m?"MSGesture"in window?"pointerup":"touchend":"mouseup";return t.component("sortable",{defaults:{animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortable-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",baseClass:"uk-sortable",noDragClass:"uk-sortable-nodrag",emptyClass:"uk-sortable-empty",dragCustomClass:"",handleClass:!1,group:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var e=t.$(this);e.data("sortable")||t.sortable(e,t.Utils.options(e.attr("data-uk-sortable")))})}),t.$html.on(b,function(e){if(u){var o=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(o.pageX-u.pos.x)>u.threshold||Math.abs(o.pageY-u.pos.y)>u.threshold)&&u.apply(o)}if(a){d||(d=!0,a.show(),a.$current.addClass(a.$sortable.options.placeholderClass),a.$sortable.element.children().addClass(a.$sortable.options.childClass),t.$html.addClass(a.$sortable.options.dragMovingClass));var n=a.data("mouse-offset"),s=e.originalEvent.touches&&e.originalEvent.touches[0]||e.originalEvent,r=parseInt(s.pageX,10)+n.left,i=parseInt(s.pageY,10)+n.top;if(a.css({left:r,top:i}),i+a.height()/3>document.body.offsetHeight)return;i<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(a.height()/3)):i+a.height()/3>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(a.height()/3))}}),t.$html.on(C,function(t){if(u=h=!1,!r||!a)return r=a=null,void 0;var o=e(r),n=a.$sortable,s={type:t.type};o[0]&&n.dragDrop(s,n.element),n.dragEnd(s,n.element)})},init:function(){function e(){m&&f.touches&&f.touches.length?h.addEventListener(b,y,!1):(h.addEventListener("mouseover",$,!1),h.addEventListener("mouseout",w,!1))}function o(){m&&f.touches&&f.touches.length?h.removeEventListener(b,y,!1):(h.removeEventListener("mouseover",$,!1),h.removeEventListener("mouseout",w,!1))}function a(t){r&&d.dragMove(t,d)}function l(e){return function(o){var s,a,r;f=o,o&&(s=o.touches&&o.touches[0]||o,a=s.target||o.target,m&&document.elementFromPoint&&(a=document.elementFromPoint(s.pageX-document.body.scrollLeft,s.pageY-document.body.scrollTop)),g=t.$(a)),t.$(a).hasClass("."+d.options.childClass)?e.apply(a,[o]):a!==h&&(r=n(h,a),r&&e.apply(r,[o]))}}var d=this,h=this.element[0];p=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var u=l(function(e){if(!e.data||!e.data.sortable){var o=t.$(e.target),n=o.is("a[href]")?o:o.parents("a[href]");if(!o.is(":input")){if(d.options.handleClass){var s=o.hasClass(d.options.handleClass)?o:o.closest("."+d.options.handleClass,d.element);if(!s.length)return}return e.preventDefault(),n.length&&n.one("click",function(t){t.preventDefault()}).one(C,function(){c||(n.trigger("click"),m&&n.attr("href").trim()&&(location.href=n.attr("href")))}),e.data=e.data||{},e.data.sortable=h,d.dragStart(e,this)}}}),$=l(t.Utils.debounce(function(t){return d.dragEnter(t,this)}),40),w=l(function(){var e=d.dragenterData(this);d.dragenterData(this,e-1),d.dragenterData(this)||(t.$(this).removeClass(d.options.overClass),d.dragenterData(this,!1))}),y=l(function(t){return r&&r!==this&&i!==this?(d.element.children().removeClass(d.options.overClass),i=this,d.moveElementNextTo(r,this),s(t)):!0});this.addDragHandlers=e,this.removeDragHandlers=o,window.addEventListener(b,a,!1),h.addEventListener(v,u,!1)},dragStart:function(e,o){c=!1,d=!1,l=!1;var n=this,s=t.$(e.target);if(!(!m&&2==e.button||s.is("."+n.options.noDragClass)||s.closest("."+n.options.noDragClass).length||s.is(":input"))){r=o,a&&a.remove();var i=t.$(r),h=i.offset(),p=e.touches&&e.touches[0]||e;u={pos:{x:p.pageX,y:p.pageY},threshold:n.options.handleClass?1:n.options.threshold,apply:function(){a=t.$('<div class="'+[n.options.draggingClass,n.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:h.top,left:h.left,width:i.width(),height:i.height(),padding:i.css("padding")}).data({"mouse-offset":{left:h.left-parseInt(p.pageX,10),top:h.top-parseInt(p.pageY,10)},origin:n.element,index:i.index()}).append(i.html()).appendTo("body"),a.$current=i,a.$sortable=n,i.data({"start-list":i.parent(),"start-index":i.index(),"sortable-group":n.options.group}),n.addDragHandlers(),n.options.start(this,r),n.trigger("start.uk.sortable",[n,r,a]),c=!0,u=!1}}}},dragMove:function(e){g=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)));var o,n=g.closest("."+this.options.baseClass),s=n.data("sortable-group"),a=t.$(r),i=a.parent(),l=a.data("sortable-group");n[0]!==i[0]&&void 0!==l&&s===l&&(n.data("sortable").addDragHandlers(),p.push(n),n.children().addClass(this.options.childClass),n.children().length>0?(o=g.closest("."+this.options.childClass),o.length?o.before(a):n.append(a)):g.append(a),UIkit.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(i)},dragEnter:function(e,o){if(!r||r===o)return!0;var n=this.dragenterData(o);if(this.dragenterData(o,n+1),0===n){var s=t.$(o).parent(),a=t.$(r).data("start-list");if(s[0]!==a[0]){var i=s.data("sortable-group"),l=t.$(r).data("sortable-group");if((i||l)&&i!=l)return!1}t.$(o).addClass(this.options.overClass),this.moveElementNextTo(r,o)}return!1},dragEnd:function(e,o){var n=this;r&&(this.options.stop(o),this.trigger("stop.uk.sortable",[this])),r=null,i=null,p.push(this.element),p.forEach(function(e){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(n.options.overClass).removeClass(n.options.placeholderClass).removeClass(n.options.childClass),n.dragenterData(this,!1))})}),p=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),a&&(a.remove(),a=null)},dragDrop:function(t){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(r){var e=t.$(r),o=a.data("origin"),n=e.closest("."+this.options.baseClass),s=[],i=t.$(r);o[0]===n[0]&&a.data("index")!=e.index()?s.push({sortable:this,mode:"moved"}):o[0]!=n[0]&&s.push({sortable:t.$(n).data("sortable"),mode:"added"},{sortable:t.$(o).data("sortable"),mode:"removed"}),s.forEach(function(t){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,i,t.mode])})}},dragenterData:function(e,o){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:(o?e.data("child-dragenter",Math.max(0,o)):e.removeData("child-dragenter"),void 0)},moveElementNextTo:function(e,n){l=!0;var s=this,a=t.$(e).parent().css("min-height",""),r=o(e,n)?n:n.nextSibling,i=a.children(),d=i.length;return s.options.animation?(a.css("min-height",a.height()),i.stop().each(function(){var e=t.$(this),o=e.position();o.width=e.width(),e.data("offset-before",o)}),n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(s.element.parent()),i=a.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),o=e.data("offset-before");e.css({position:"absolute",top:o.top,left:o.left,"min-width":o.width})}),i.each(function(){var e=t.$(this),o=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:o.top,left:o.left},s.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(s.options.overClass).removeData("child-dragenter"),d--,d||(a.css("min-height",""),t.Utils.checkDisplay(s.element.parent()))})},0)}),void 0):(n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(s.element.parent()),void 0)},serialize:function(){var e,o,n=[];return this.element.children().each(function(s,a){e={};for(var r,i,l=0;l<a.attributes.length;l++)o=a.attributes[l],0===o.name.indexOf("data-")&&(r=o.name.substr(5),i=t.Utils.str2json(o.value),e[r]=i||"false"==o.value||"0"==o.value?i:o.value);n.push(e)}),n},checkEmptyList:function(e){e=e?t.$(e):this.element,this.options.emptyClass&&e[e.children().length?"removeClass":"addClass"](this.options.emptyClass)}}),t.sortable}); \ No newline at end of file | ||
| diff --git a/js/components/sticky.js b/js/components/sticky.js new file mode 100755 index 0000000..2765f19 --- /dev/null +++ b/js/components/sticky.js | |||
| @@ -0,0 +1,364 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-sticky", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | var $win = UI.$win, | ||
| 21 | $doc = UI.$doc, | ||
| 22 | sticked = [], | ||
| 23 | direction = 1; | ||
| 24 | |||
| 25 | UI.component('sticky', { | ||
| 26 | |||
| 27 | defaults: { | ||
| 28 | top : 0, | ||
| 29 | bottom : 0, | ||
| 30 | animation : '', | ||
| 31 | clsinit : 'uk-sticky-init', | ||
| 32 | clsactive : 'uk-active', | ||
| 33 | clsinactive : '', | ||
| 34 | getWidthFrom : '', | ||
| 35 | showup : false, | ||
| 36 | boundary : false, | ||
| 37 | media : false, | ||
| 38 | target : false, | ||
| 39 | disabled : false | ||
| 40 | }, | ||
| 41 | |||
| 42 | boot: function() { | ||
| 43 | |||
| 44 | // should be more efficient than using $win.scroll(checkscrollposition): | ||
| 45 | UI.$doc.on('scrolling.uk.document', function(e, data) { | ||
| 46 | if (!data || !data.dir) return; | ||
| 47 | direction = data.dir.y; | ||
| 48 | checkscrollposition(); | ||
| 49 | }); | ||
| 50 | |||
| 51 | UI.$win.on('resize orientationchange', UI.Utils.debounce(function() { | ||
| 52 | |||
| 53 | if (!sticked.length) return; | ||
| 54 | |||
| 55 | for (var i = 0; i < sticked.length; i++) { | ||
| 56 | sticked[i].reset(true); | ||
| 57 | sticked[i].self.computeWrapper(); | ||
| 58 | } | ||
| 59 | |||
| 60 | checkscrollposition(); | ||
| 61 | }, 100)); | ||
| 62 | |||
| 63 | // init code | ||
| 64 | UI.ready(function(context) { | ||
| 65 | |||
| 66 | setTimeout(function(){ | ||
| 67 | |||
| 68 | UI.$("[data-uk-sticky]", context).each(function(){ | ||
| 69 | |||
| 70 | var $ele = UI.$(this); | ||
| 71 | |||
| 72 | if (!$ele.data("sticky")) { | ||
| 73 | UI.sticky($ele, UI.Utils.options($ele.attr('data-uk-sticky'))); | ||
| 74 | } | ||
| 75 | }); | ||
| 76 | |||
| 77 | checkscrollposition(); | ||
| 78 | }, 0); | ||
| 79 | }); | ||
| 80 | }, | ||
| 81 | |||
| 82 | init: function() { | ||
| 83 | |||
| 84 | var boundary = this.options.boundary, boundtoparent; | ||
| 85 | |||
| 86 | this.wrapper = this.element.wrap('<div class="uk-sticky-placeholder"></div>').parent(); | ||
| 87 | this.computeWrapper(); | ||
| 88 | this.wrapper.css({ | ||
| 89 | 'margin-top' : this.element.css('margin-top'), | ||
| 90 | 'margin-bottom' : this.element.css('margin-bottom'), | ||
| 91 | 'margin-left' : this.element.css('margin-left'), | ||
| 92 | 'margin-right' : this.element.css('margin-right') | ||
| 93 | }) | ||
| 94 | this.element.css('margin', 0); | ||
| 95 | |||
| 96 | if (boundary) { | ||
| 97 | |||
| 98 | if (boundary === true || boundary[0] === '!') { | ||
| 99 | |||
| 100 | boundary = boundary === true ? this.wrapper.parent() : this.wrapper.closest(boundary.substr(1)); | ||
| 101 | boundtoparent = true; | ||
| 102 | |||
| 103 | } else if (typeof boundary === "string") { | ||
| 104 | boundary = UI.$(boundary); | ||
| 105 | } | ||
| 106 | } | ||
| 107 | |||
| 108 | this.sticky = { | ||
| 109 | self : this, | ||
| 110 | options : this.options, | ||
| 111 | element : this.element, | ||
| 112 | currentTop : null, | ||
| 113 | wrapper : this.wrapper, | ||
| 114 | init : false, | ||
| 115 | getWidthFrom : UI.$(this.options.getWidthFrom || this.wrapper), | ||
| 116 | boundary : boundary, | ||
| 117 | boundtoparent : boundtoparent, | ||
| 118 | top : 0, | ||
| 119 | calcTop : function() { | ||
| 120 | |||
| 121 | var top = this.options.top; | ||
| 122 | |||
| 123 | // dynamic top parameter | ||
| 124 | if (this.options.top && typeof(this.options.top) == 'string') { | ||
| 125 | |||
| 126 | // e.g. 50vh | ||
| 127 | if (this.options.top.match(/^(-|)(\d+)vh$/)) { | ||
| 128 | top = window.innerHeight * parseInt(this.options.top, 10)/100; | ||
| 129 | // e.g. #elementId, or .class-1,class-2,.class-3 (first found is used) | ||
| 130 | } else { | ||
| 131 | |||
| 132 | var topElement = UI.$(this.options.top).first(); | ||
| 133 | |||
| 134 | if (topElement.length && topElement.is(':visible')) { | ||
| 135 | top = -1 * ((topElement.offset().top + topElement.outerHeight()) - this.wrapper.offset().top); | ||
| 136 | } | ||
| 137 | } | ||
| 138 | |||
| 139 | } | ||
| 140 | |||
| 141 | this.top = top; | ||
| 142 | }, | ||
| 143 | |||
| 144 | reset: function(force) { | ||
| 145 | |||
| 146 | this.calcTop(); | ||
| 147 | |||
| 148 | var finalize = function() { | ||
| 149 | this.element.css({"position":"", "top":"", "width":"", "left":"", "margin":"0"}); | ||
| 150 | this.element.removeClass([this.options.animation, 'uk-animation-reverse', this.options.clsactive].join(' ')); | ||
| 151 | this.element.addClass(this.options.clsinactive); | ||
| 152 | this.element.trigger('inactive.uk.sticky'); | ||
| 153 | |||
| 154 | this.currentTop = null; | ||
| 155 | this.animate = false; | ||
| 156 | |||
| 157 | }.bind(this); | ||
| 158 | |||
| 159 | |||
| 160 | if (!force && this.options.animation && UI.support.animation && !UI.Utils.isInView(this.wrapper)) { | ||
| 161 | |||
| 162 | this.animate = true; | ||
| 163 | |||
| 164 | this.element.removeClass(this.options.animation).one(UI.support.animation.end, function(){ | ||
| 165 | finalize(); | ||
| 166 | }).width(); // force redraw | ||
| 167 | |||
| 168 | this.element.addClass(this.options.animation+' '+'uk-animation-reverse'); | ||
| 169 | } else { | ||
| 170 | finalize(); | ||
| 171 | } | ||
| 172 | }, | ||
| 173 | |||
| 174 | check: function() { | ||
| 175 | |||
| 176 | if (this.options.disabled) { | ||
| 177 | return false; | ||
| 178 | } | ||
| 179 | |||
| 180 | if (this.options.media) { | ||
| 181 | |||
| 182 | switch(typeof(this.options.media)) { | ||
| 183 | case 'number': | ||
| 184 | if (window.innerWidth < this.options.media) { | ||
| 185 | return false; | ||
| 186 | } | ||
| 187 | break; | ||
| 188 | case 'string': | ||
| 189 | if (window.matchMedia && !window.matchMedia(this.options.media).matches) { | ||
| 190 | return false; | ||
| 191 | } | ||
| 192 | break; | ||
| 193 | } | ||
| 194 | } | ||
| 195 | |||
| 196 | var scrollTop = $win.scrollTop(), | ||
| 197 | documentHeight = $doc.height(), | ||
| 198 | dwh = documentHeight - window.innerHeight, | ||
| 199 | extra = (scrollTop > dwh) ? dwh - scrollTop : 0, | ||
| 200 | elementTop = this.wrapper.offset().top, | ||
| 201 | etse = elementTop - this.top - extra, | ||
| 202 | active = (scrollTop >= etse); | ||
| 203 | |||
| 204 | if (active && this.options.showup) { | ||
| 205 | |||
| 206 | // set inactiv if scrolling down | ||
| 207 | if (direction == 1) { | ||
| 208 | active = false; | ||
| 209 | } | ||
| 210 | |||
| 211 | // set inactive when wrapper is still in view | ||
| 212 | if (direction == -1 && !this.element.hasClass(this.options.clsactive) && UI.Utils.isInView(this.wrapper)) { | ||
| 213 | active = false; | ||
| 214 | } | ||
| 215 | } | ||
| 216 | |||
| 217 | return active; | ||
| 218 | } | ||
| 219 | }; | ||
| 220 | |||
| 221 | this.sticky.calcTop(); | ||
| 222 | |||
| 223 | sticked.push(this.sticky); | ||
| 224 | }, | ||
| 225 | |||
| 226 | update: function() { | ||
| 227 | checkscrollposition(this.sticky); | ||
| 228 | }, | ||
| 229 | |||
| 230 | enable: function() { | ||
| 231 | this.options.disabled = false; | ||
| 232 | this.update(); | ||
| 233 | }, | ||
| 234 | |||
| 235 | disable: function(force) { | ||
| 236 | this.options.disabled = true; | ||
| 237 | this.sticky.reset(force); | ||
| 238 | }, | ||
| 239 | |||
| 240 | computeWrapper: function() { | ||
| 241 | |||
| 242 | this.wrapper.css({ | ||
| 243 | 'height' : ['absolute','fixed'].indexOf(this.element.css('position')) == -1 ? this.element.outerHeight() : '', | ||
| 244 | 'float' : this.element.css('float') != 'none' ? this.element.css('float') : '' | ||
| 245 | }); | ||
| 246 | |||
| 247 | if (this.element.css('position') == 'fixed') { | ||
| 248 | this.element.css({ | ||
| 249 | width: this.sticky.getWidthFrom.length ? this.sticky.getWidthFrom.width() : this.element.width() | ||
| 250 | }); | ||
| 251 | } | ||
| 252 | } | ||
| 253 | }); | ||
| 254 | |||
| 255 | function checkscrollposition(direction) { | ||
| 256 | |||
| 257 | var stickies = arguments.length ? arguments : sticked; | ||
| 258 | |||
| 259 | if (!stickies.length || $win.scrollTop() < 0) return; | ||
| 260 | |||
| 261 | var scrollTop = $win.scrollTop(), | ||
| 262 | documentHeight = $doc.height(), | ||
| 263 | windowHeight = $win.height(), | ||
| 264 | dwh = documentHeight - windowHeight, | ||
| 265 | extra = (scrollTop > dwh) ? dwh - scrollTop : 0, | ||
| 266 | newTop, containerBottom, stickyHeight, sticky; | ||
| 267 | |||
| 268 | for (var i = 0; i < stickies.length; i++) { | ||
| 269 | |||
| 270 | sticky = stickies[i]; | ||
| 271 | |||
| 272 | if (!sticky.element.is(":visible") || sticky.animate) { | ||
| 273 | continue; | ||
| 274 | } | ||
| 275 | |||
| 276 | if (!sticky.check()) { | ||
| 277 | |||
| 278 | if (sticky.currentTop !== null) { | ||
| 279 | sticky.reset(); | ||
| 280 | } | ||
| 281 | |||
| 282 | } else { | ||
| 283 | |||
| 284 | if (sticky.top < 0) { | ||
| 285 | newTop = 0; | ||
| 286 | } else { | ||
| 287 | stickyHeight = sticky.element.outerHeight(); | ||
| 288 | newTop = documentHeight - stickyHeight - sticky.top - sticky.options.bottom - scrollTop - extra; | ||
| 289 | newTop = newTop < 0 ? newTop + sticky.top : sticky.top; | ||
| 290 | } | ||
| 291 | |||
| 292 | if (sticky.boundary && sticky.boundary.length) { | ||
| 293 | |||
| 294 | var bTop = sticky.boundary.offset().top; | ||
| 295 | |||
| 296 | if (sticky.boundtoparent) { | ||
| 297 | containerBottom = documentHeight - (bTop + sticky.boundary.outerHeight()) + parseInt(sticky.boundary.css('padding-bottom')); | ||
| 298 | } else { | ||
| 299 | containerBottom = documentHeight - bTop; | ||
| 300 | } | ||
| 301 | |||
| 302 | newTop = (scrollTop + stickyHeight) > (documentHeight - containerBottom - (sticky.top < 0 ? 0 : sticky.top)) ? (documentHeight - containerBottom) - (scrollTop + stickyHeight) : newTop; | ||
| 303 | } | ||
| 304 | |||
| 305 | |||
| 306 | if (sticky.currentTop != newTop) { | ||
| 307 | |||
| 308 | sticky.element.css({ | ||
| 309 | position : "fixed", | ||
| 310 | top : newTop, | ||
| 311 | width : sticky.getWidthFrom.length ? sticky.getWidthFrom.width() : sticky.element.width() | ||
| 312 | }); | ||
| 313 | |||
| 314 | if (!sticky.init) { | ||
| 315 | |||
| 316 | sticky.element.addClass(sticky.options.clsinit); | ||
| 317 | |||
| 318 | if (location.hash && scrollTop > 0 && sticky.options.target) { | ||
| 319 | |||
| 320 | var $target = UI.$(location.hash); | ||
| 321 | |||
| 322 | if ($target.length) { | ||
| 323 | |||
| 324 | setTimeout((function($target, sticky){ | ||
| 325 | |||
| 326 | return function() { | ||
| 327 | |||
| 328 | sticky.element.width(); // force redraw | ||
| 329 | |||
| 330 | var offset = $target.offset(), | ||
| 331 | maxoffset = offset.top + $target.outerHeight(), | ||
| 332 | stickyOffset = sticky.element.offset(), | ||
| 333 | stickyHeight = sticky.element.outerHeight(), | ||
| 334 | stickyMaxOffset = stickyOffset.top + stickyHeight; | ||
| 335 | |||
| 336 | if (stickyOffset.top < maxoffset && offset.top < stickyMaxOffset) { | ||
| 337 | scrollTop = offset.top - stickyHeight - sticky.options.target; | ||
| 338 | window.scrollTo(0, scrollTop); | ||
| 339 | } | ||
| 340 | }; | ||
| 341 | |||
| 342 | })($target, sticky), 0); | ||
| 343 | } | ||
| 344 | } | ||
| 345 | } | ||
| 346 | |||
| 347 | sticky.element.addClass(sticky.options.clsactive).removeClass(sticky.options.clsinactive); | ||
| 348 | sticky.element.trigger('active.uk.sticky'); | ||
| 349 | sticky.element.css('margin', ''); | ||
| 350 | |||
| 351 | if (sticky.options.animation && sticky.init && !UI.Utils.isInView(sticky.wrapper)) { | ||
| 352 | sticky.element.addClass(sticky.options.animation); | ||
| 353 | } | ||
| 354 | |||
| 355 | sticky.currentTop = newTop; | ||
| 356 | } | ||
| 357 | } | ||
| 358 | |||
| 359 | sticky.init = true; | ||
| 360 | } | ||
| 361 | } | ||
| 362 | |||
| 363 | return UI.sticky; | ||
| 364 | }); | ||
| diff --git a/js/components/sticky.min.js b/js/components/sticky.min.js new file mode 100755 index 0000000..0fa4ead --- /dev/null +++ b/js/components/sticky.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-sticky",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";function i(){var i=arguments.length?arguments:n;if(i.length&&!(e.scrollTop()<0))for(var o,a,r,h,p=e.scrollTop(),c=s.height(),l=e.height(),m=c-l,d=p>m?m-p:0,u=0;u<i.length;u++)if(h=i[u],h.element.is(":visible")&&!h.animate){if(h.check()){if(h.top<0?o=0:(r=h.element.outerHeight(),o=c-r-h.top-h.options.bottom-p-d,o=0>o?o+h.top:h.top),h.boundary&&h.boundary.length){var f=h.boundary.offset().top;a=h.boundtoparent?c-(f+h.boundary.outerHeight())+parseInt(h.boundary.css("padding-bottom")):c-f,o=p+r>c-a-(h.top<0?0:h.top)?c-a-(p+r):o}if(h.currentTop!=o){if(h.element.css({position:"fixed",top:o,width:h.getWidthFrom.length?h.getWidthFrom.width():h.element.width()}),!h.init&&(h.element.addClass(h.options.clsinit),location.hash&&p>0&&h.options.target)){var g=t.$(location.hash);g.length&&setTimeout(function(t,i){return function(){i.element.width();var e=t.offset(),s=e.top+t.outerHeight(),n=i.element.offset(),o=i.element.outerHeight(),a=n.top+o;n.top<s&&e.top<a&&(p=e.top-o-i.options.target,window.scrollTo(0,p))}}(g,h),0)}h.element.addClass(h.options.clsactive).removeClass(h.options.clsinactive),h.element.trigger("active.uk.sticky"),h.element.css("margin",""),h.options.animation&&h.init&&!t.Utils.isInView(h.wrapper)&&h.element.addClass(h.options.animation),h.currentTop=o}}else null!==h.currentTop&&h.reset();h.init=!0}}var e=t.$win,s=t.$doc,n=[],o=1;return t.component("sticky",{defaults:{top:0,bottom:0,animation:"",clsinit:"uk-sticky-init",clsactive:"uk-active",clsinactive:"",getWidthFrom:"",showup:!1,boundary:!1,media:!1,target:!1,disabled:!1},boot:function(){t.$doc.on("scrolling.uk.document",function(t,e){e&&e.dir&&(o=e.dir.y,i())}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){if(n.length){for(var t=0;t<n.length;t++)n[t].reset(!0),n[t].self.computeWrapper();i()}},100)),t.ready(function(e){setTimeout(function(){t.$("[data-uk-sticky]",e).each(function(){var i=t.$(this);i.data("sticky")||t.sticky(i,t.Utils.options(i.attr("data-uk-sticky")))}),i()},0)})},init:function(){var i,a=this.options.boundary;this.wrapper=this.element.wrap('<div class="uk-sticky-placeholder"></div>').parent(),this.computeWrapper(),this.wrapper.css({"margin-top":this.element.css("margin-top"),"margin-bottom":this.element.css("margin-bottom"),"margin-left":this.element.css("margin-left"),"margin-right":this.element.css("margin-right")}),this.element.css("margin",0),a&&(a===!0||"!"===a[0]?(a=a===!0?this.wrapper.parent():this.wrapper.closest(a.substr(1)),i=!0):"string"==typeof a&&(a=t.$(a))),this.sticky={self:this,options:this.options,element:this.element,currentTop:null,wrapper:this.wrapper,init:!1,getWidthFrom:t.$(this.options.getWidthFrom||this.wrapper),boundary:a,boundtoparent:i,top:0,calcTop:function(){var i=this.options.top;if(this.options.top&&"string"==typeof this.options.top)if(this.options.top.match(/^(-|)(\d+)vh$/))i=window.innerHeight*parseInt(this.options.top,10)/100;else{var e=t.$(this.options.top).first();e.length&&e.is(":visible")&&(i=-1*(e.offset().top+e.outerHeight()-this.wrapper.offset().top))}this.top=i},reset:function(i){this.calcTop();var e=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"uk-animation-reverse",this.options.clsactive].join(" ")),this.element.addClass(this.options.clsinactive),this.element.trigger("inactive.uk.sticky"),this.currentTop=null,this.animate=!1}.bind(this);!i&&this.options.animation&&t.support.animation&&!t.Utils.isInView(this.wrapper)?(this.animate=!0,this.element.removeClass(this.options.animation).one(t.support.animation.end,function(){e()}).width(),this.element.addClass(this.options.animation+" uk-animation-reverse")):e()},check:function(){if(this.options.disabled)return!1;if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var i=e.scrollTop(),n=s.height(),a=n-window.innerHeight,r=i>a?a-i:0,h=this.wrapper.offset().top,p=h-this.top-r,c=i>=p;return c&&this.options.showup&&(1==o&&(c=!1),-1==o&&!this.element.hasClass(this.options.clsactive)&&t.Utils.isInView(this.wrapper)&&(c=!1)),c}},this.sticky.calcTop(),n.push(this.sticky)},update:function(){i(this.sticky)},enable:function(){this.options.disabled=!1,this.update()},disable:function(t){this.options.disabled=!0,this.sticky.reset(t)},computeWrapper:function(){this.wrapper.css({height:-1==["absolute","fixed"].indexOf(this.element.css("position"))?this.element.outerHeight():"","float":"none"!=this.element.css("float")?this.element.css("float"):""}),"fixed"==this.element.css("position")&&this.element.css({width:this.sticky.getWidthFrom.length?this.sticky.getWidthFrom.width():this.element.width()})}}),t.sticky}); \ No newline at end of file | ||
| diff --git a/js/components/timepicker.js b/js/components/timepicker.js new file mode 100755 index 0000000..1b7a808 --- /dev/null +++ b/js/components/timepicker.js | |||
| @@ -0,0 +1,192 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-timepicker", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | |||
| 21 | UI.component('timepicker', { | ||
| 22 | |||
| 23 | defaults: { | ||
| 24 | format : '24h', | ||
| 25 | delay : 0, | ||
| 26 | start : 0, | ||
| 27 | end : 24 | ||
| 28 | }, | ||
| 29 | |||
| 30 | boot: function() { | ||
| 31 | |||
| 32 | // init code | ||
| 33 | UI.$html.on("focus.timepicker.uikit", "[data-uk-timepicker]", function(e) { | ||
| 34 | |||
| 35 | var ele = UI.$(this); | ||
| 36 | |||
| 37 | if (!ele.data("timepicker")) { | ||
| 38 | var obj = UI.timepicker(ele, UI.Utils.options(ele.attr("data-uk-timepicker"))); | ||
| 39 | |||
| 40 | setTimeout(function(){ | ||
| 41 | obj.autocomplete.input.focus(); | ||
| 42 | }, 40); | ||
| 43 | } | ||
| 44 | }); | ||
| 45 | }, | ||
| 46 | |||
| 47 | init: function() { | ||
| 48 | |||
| 49 | var $this = this, times = getTimeRange(this.options.start, this.options.end), container; | ||
| 50 | |||
| 51 | this.options.minLength = 0; | ||
| 52 | this.options.template = '<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'; | ||
| 53 | |||
| 54 | this.options.source = function(release) { | ||
| 55 | release(times[$this.options.format] || times['12h']); | ||
| 56 | }; | ||
| 57 | |||
| 58 | if (this.element.is('input')) { | ||
| 59 | this.element.wrap('<div class="uk-autocomplete"></div>'); | ||
| 60 | container = this.element.parent(); | ||
| 61 | } else { | ||
| 62 | container = this.element.addClass('uk-autocomplete'); | ||
| 63 | } | ||
| 64 | |||
| 65 | this.autocomplete = UI.autocomplete(container, this.options); | ||
| 66 | this.autocomplete.dropdown.addClass('uk-dropdown-small uk-dropdown-scrollable'); | ||
| 67 | |||
| 68 | this.autocomplete.on('show.uk.autocomplete', function() { | ||
| 69 | |||
| 70 | var selected = $this.autocomplete.dropdown.find('[data-value="'+$this.autocomplete.input.val()+'"]'); | ||
| 71 | |||
| 72 | setTimeout(function(){ | ||
| 73 | $this.autocomplete.pick(selected, true); | ||
| 74 | }, 10); | ||
| 75 | }); | ||
| 76 | |||
| 77 | this.autocomplete.input.on('focus', function(){ | ||
| 78 | |||
| 79 | $this.autocomplete.value = Math.random(); | ||
| 80 | $this.autocomplete.triggercomplete(); | ||
| 81 | |||
| 82 | }).on('blur', UI.Utils.debounce(function() { | ||
| 83 | $this.checkTime(); | ||
| 84 | }, 100)); | ||
| 85 | |||
| 86 | this.element.data("timepicker", this); | ||
| 87 | }, | ||
| 88 | |||
| 89 | checkTime: function() { | ||
| 90 | |||
| 91 | var arr, timeArray, meridian = 'AM', hour, minute, time = this.autocomplete.input.val(); | ||
| 92 | |||
| 93 | if (this.options.format == '12h') { | ||
| 94 | arr = time.split(' '); | ||
| 95 | timeArray = arr[0].split(':'); | ||
| 96 | meridian = arr[1]; | ||
| 97 | } else { | ||
| 98 | timeArray = time.split(':'); | ||
| 99 | } | ||
| 100 | |||
| 101 | hour = parseInt(timeArray[0], 10); | ||
| 102 | minute = parseInt(timeArray[1], 10); | ||
| 103 | |||
| 104 | if (isNaN(hour)) hour = 0; | ||
| 105 | if (isNaN(minute)) minute = 0; | ||
| 106 | |||
| 107 | if (this.options.format == '12h') { | ||
| 108 | if (hour > 12) { | ||
| 109 | hour = 12; | ||
| 110 | } else if (hour < 0) { | ||
| 111 | hour = 12; | ||
| 112 | } | ||
| 113 | |||
| 114 | if (meridian === 'am' || meridian === 'a') { | ||
| 115 | meridian = 'AM'; | ||
| 116 | } else if (meridian === 'pm' || meridian === 'p') { | ||
| 117 | meridian = 'PM'; | ||
| 118 | } | ||
| 119 | |||
| 120 | if (meridian !== 'AM' && meridian !== 'PM') { | ||
| 121 | meridian = 'AM'; | ||
| 122 | } | ||
| 123 | |||
| 124 | } else { | ||
| 125 | |||
| 126 | if (hour >= 24) { | ||
| 127 | hour = 23; | ||
| 128 | } else if (hour < 0) { | ||
| 129 | hour = 0; | ||
| 130 | } | ||
| 131 | } | ||
| 132 | |||
| 133 | if (minute < 0) { | ||
| 134 | minute = 0; | ||
| 135 | } else if (minute >= 60) { | ||
| 136 | minute = 0; | ||
| 137 | } | ||
| 138 | |||
| 139 | this.autocomplete.input.val(this.formatTime(hour, minute, meridian)).trigger('change'); | ||
| 140 | }, | ||
| 141 | |||
| 142 | formatTime: function(hour, minute, meridian) { | ||
| 143 | hour = hour < 10 ? '0' + hour : hour; | ||
| 144 | minute = minute < 10 ? '0' + minute : minute; | ||
| 145 | return hour + ':' + minute + (this.options.format == '12h' ? ' ' + meridian : ''); | ||
| 146 | } | ||
| 147 | }); | ||
| 148 | |||
| 149 | // helper | ||
| 150 | |||
| 151 | function getTimeRange(start, end) { | ||
| 152 | |||
| 153 | start = start || 0; | ||
| 154 | end = end || 24; | ||
| 155 | |||
| 156 | var times = {'12h':[], '24h':[]}, i, h; | ||
| 157 | |||
| 158 | for (i = start, h=''; i<end; i++) { | ||
| 159 | |||
| 160 | h = ''+i; | ||
| 161 | |||
| 162 | if (i<10) h = '0'+h; | ||
| 163 | |||
| 164 | times['24h'].push({value: (h+':00')}); | ||
| 165 | times['24h'].push({value: (h+':30')}); | ||
| 166 | |||
| 167 | if (i === 0) { | ||
| 168 | h = 12; | ||
| 169 | times['12h'].push({value: (h+':00 AM')}); | ||
| 170 | times['12h'].push({value: (h+':30 AM')}); | ||
| 171 | } | ||
| 172 | |||
| 173 | if (i > 0 && i<13 && i!==12) { | ||
| 174 | times['12h'].push({value: (h+':00 AM')}); | ||
| 175 | times['12h'].push({value: (h+':30 AM')}); | ||
| 176 | } | ||
| 177 | |||
| 178 | if (i >= 12) { | ||
| 179 | |||
| 180 | h = h-12; | ||
| 181 | if (h === 0) h = 12; | ||
| 182 | if (h < 10) h = '0'+String(h); | ||
| 183 | |||
| 184 | times['12h'].push({value: (h+':00 PM')}); | ||
| 185 | times['12h'].push({value: (h+':30 PM')}); | ||
| 186 | } | ||
| 187 | } | ||
| 188 | |||
| 189 | return times; | ||
| 190 | } | ||
| 191 | |||
| 192 | }); | ||
| diff --git a/js/components/timepicker.min.js b/js/components/timepicker.min.js new file mode 100755 index 0000000..df160db --- /dev/null +++ b/js/components/timepicker.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var e;window.UIkit&&(e=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-timepicker",["uikit"],function(){return e||t(UIkit)})}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,o,a={"12h":[],"24h":[]};for(i=t,o="";e>i;i++)o=""+i,10>i&&(o="0"+o),a["24h"].push({value:o+":00"}),a["24h"].push({value:o+":30"}),0===i&&(o=12,a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>0&&13>i&&12!==i&&(a["12h"].push({value:o+":00 AM"}),a["12h"].push({value:o+":30 AM"})),i>=12&&(o-=12,0===o&&(o=12),10>o&&(o="0"+String(o)),a["12h"].push({value:o+":00 PM"}),a["12h"].push({value:o+":30 PM"}));return a}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(){var e=t.$(this);if(!e.data("timepicker")){var i=t.timepicker(e,t.Utils.options(e.attr("data-uk-timepicker")));setTimeout(function(){i.autocomplete.input.focus()},40)}})},init:function(){var i,o=this,a=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>',this.options.source=function(t){t(a[o.options.format]||a["12h"])},this.element.is("input")?(this.element.wrap('<div class="uk-autocomplete"></div>'),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=o.autocomplete.dropdown.find('[data-value="'+o.autocomplete.input.val()+'"]');setTimeout(function(){o.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){o.autocomplete.value=Math.random(),o.autocomplete.triggercomplete()}).on("blur",t.Utils.debounce(function(){o.checkTime()},100)),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,o,a="AM",u=this.autocomplete.input.val();"12h"==this.options.format?(t=u.split(" "),e=t[0].split(":"),a=t[1]):e=u.split(":"),i=parseInt(e[0],10),o=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(o)&&(o=0),"12h"==this.options.format?(i>12?i=12:0>i&&(i=12),"am"===a||"a"===a?a="AM":("pm"===a||"p"===a)&&(a="PM"),"AM"!==a&&"PM"!==a&&(a="AM")):i>=24?i=23:0>i&&(i=0),0>o?o=0:o>=60&&(o=0),this.autocomplete.input.val(this.formatTime(i,o,a)).trigger("change")},formatTime:function(t,e,i){return t=10>t?"0"+t:t,e=10>e?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}); \ No newline at end of file | ||
| diff --git a/js/components/tooltip.js b/js/components/tooltip.js new file mode 100755 index 0000000..a38d49d --- /dev/null +++ b/js/components/tooltip.js | |||
| @@ -0,0 +1,234 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | var component; | ||
| 4 | |||
| 5 | if (window.UIkit) { | ||
| 6 | component = addon(UIkit); | ||
| 7 | } | ||
| 8 | |||
| 9 | if (typeof define == "function" && define.amd) { | ||
| 10 | define("uikit-tooltip", ["uikit"], function(){ | ||
| 11 | return component || addon(UIkit); | ||
| 12 | }); | ||
| 13 | } | ||
| 14 | |||
| 15 | })(function(UI){ | ||
| 16 | |||
| 17 | "use strict"; | ||
| 18 | |||
| 19 | var $tooltip, // tooltip container | ||
| 20 | tooltipdelay, checkdelay; | ||
| 21 | |||
| 22 | UI.component('tooltip', { | ||
| 23 | |||
| 24 | defaults: { | ||
| 25 | "offset": 5, | ||
| 26 | "pos": "top", | ||
| 27 | "animation": false, | ||
| 28 | "delay": 0, // in miliseconds | ||
| 29 | "cls": "", | ||
| 30 | "activeClass": "uk-active", | ||
| 31 | "src": function(ele) { | ||
| 32 | var title = ele.attr('title'); | ||
| 33 | |||
| 34 | if (title !== undefined) { | ||
| 35 | ele.data('cached-title', title).removeAttr('title'); | ||
| 36 | } | ||
| 37 | |||
| 38 | return ele.data("cached-title"); | ||
| 39 | } | ||
| 40 | }, | ||
| 41 | |||
| 42 | tip: "", | ||
| 43 | |||
| 44 | boot: function() { | ||
| 45 | |||
| 46 | // init code | ||
| 47 | UI.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit", "[data-uk-tooltip]", function(e) { | ||
| 48 | var ele = UI.$(this); | ||
| 49 | |||
| 50 | if (!ele.data("tooltip")) { | ||
| 51 | UI.tooltip(ele, UI.Utils.options(ele.attr("data-uk-tooltip"))); | ||
| 52 | ele.trigger("mouseenter"); | ||
| 53 | } | ||
| 54 | }); | ||
| 55 | }, | ||
| 56 | |||
| 57 | init: function() { | ||
| 58 | |||
| 59 | var $this = this; | ||
| 60 | |||
| 61 | if (!$tooltip) { | ||
| 62 | $tooltip = UI.$('<div class="uk-tooltip"></div>').appendTo("body"); | ||
| 63 | } | ||
| 64 | |||
| 65 | this.on({ | ||
| 66 | focus : function(e) { $this.show(); }, | ||
| 67 | blur : function(e) { $this.hide(); }, | ||
| 68 | mouseenter : function(e) { $this.show(); }, | ||
| 69 | mouseleave : function(e) { $this.hide(); } | ||
| 70 | }); | ||
| 71 | }, | ||
| 72 | |||
| 73 | show: function() { | ||
| 74 | |||
| 75 | this.tip = typeof(this.options.src) === "function" ? this.options.src(this.element) : this.options.src; | ||
| 76 | |||
| 77 | if (tooltipdelay) clearTimeout(tooltipdelay); | ||
| 78 | if (checkdelay) clearTimeout(checkdelay); | ||
| 79 | |||
| 80 | if (typeof(this.tip) === 'string' ? !this.tip.length:true) return; | ||
| 81 | |||
| 82 | $tooltip.stop().css({"top": -2000, "visibility": "hidden"}).removeClass(this.options.activeClass).show(); | ||
| 83 | $tooltip.html('<div class="uk-tooltip-inner">' + this.tip + '</div>'); | ||
| 84 | |||
| 85 | var $this = this, | ||
| 86 | pos = UI.$.extend({}, this.element.offset(), {width: this.element[0].offsetWidth, height: this.element[0].offsetHeight}), | ||
| 87 | width = $tooltip[0].offsetWidth, | ||
| 88 | height = $tooltip[0].offsetHeight, | ||
| 89 | offset = typeof(this.options.offset) === "function" ? this.options.offset.call(this.element) : this.options.offset, | ||
| 90 | position = typeof(this.options.pos) === "function" ? this.options.pos.call(this.element) : this.options.pos, | ||
| 91 | tmppos = position.split("-"), | ||
| 92 | tcss = { | ||
| 93 | "display" : "none", | ||
| 94 | "visibility" : "visible", | ||
| 95 | "top" : (pos.top + pos.height + height), | ||
| 96 | "left" : pos.left | ||
| 97 | }; | ||
| 98 | |||
| 99 | |||
| 100 | // prevent strange position | ||
| 101 | // when tooltip is in offcanvas etc. | ||
| 102 | if (UI.$html.css('position')=='fixed' || UI.$body.css('position')=='fixed'){ | ||
| 103 | var bodyoffset = UI.$('body').offset(), | ||
| 104 | htmloffset = UI.$('html').offset(), | ||
| 105 | docoffset = {'top': (htmloffset.top + bodyoffset.top), 'left': (htmloffset.left + bodyoffset.left)}; | ||
| 106 | |||
| 107 | pos.left -= docoffset.left; | ||
| 108 | pos.top -= docoffset.top; | ||
| 109 | } | ||
| 110 | |||
| 111 | |||
| 112 | if ((tmppos[0] == "left" || tmppos[0] == "right") && UI.langdirection == 'right') { | ||
| 113 | tmppos[0] = tmppos[0] == "left" ? "right" : "left"; | ||
| 114 | } | ||
| 115 | |||
| 116 | var variants = { | ||
| 117 | "bottom" : {top: pos.top + pos.height + offset, left: pos.left + pos.width / 2 - width / 2}, | ||
| 118 | "top" : {top: pos.top - height - offset, left: pos.left + pos.width / 2 - width / 2}, | ||
| 119 | "left" : {top: pos.top + pos.height / 2 - height / 2, left: pos.left - width - offset}, | ||
| 120 | "right" : {top: pos.top + pos.height / 2 - height / 2, left: pos.left + pos.width + offset} | ||
| 121 | }; | ||
| 122 | |||
| 123 | UI.$.extend(tcss, variants[tmppos[0]]); | ||
| 124 | |||
| 125 | if (tmppos.length == 2) tcss.left = (tmppos[1] == 'left') ? (pos.left) : ((pos.left + pos.width) - width); | ||
| 126 | |||
| 127 | var boundary = this.checkBoundary(tcss.left, tcss.top, width, height); | ||
| 128 | |||
| 129 | if(boundary) { | ||
| 130 | |||
| 131 | switch(boundary) { | ||
| 132 | case "x": | ||
| 133 | |||
| 134 | if (tmppos.length == 2) { | ||
| 135 | position = tmppos[0]+"-"+(tcss.left < 0 ? "left": "right"); | ||
| 136 | } else { | ||
| 137 | position = tcss.left < 0 ? "right": "left"; | ||
| 138 | } | ||
| 139 | |||
| 140 | break; | ||
| 141 | |||
| 142 | case "y": | ||
| 143 | if (tmppos.length == 2) { | ||
| 144 | position = (tcss.top < 0 ? "bottom": "top")+"-"+tmppos[1]; | ||
| 145 | } else { | ||
| 146 | position = (tcss.top < 0 ? "bottom": "top"); | ||
| 147 | } | ||
| 148 | |||
| 149 | break; | ||
| 150 | |||
| 151 | case "xy": | ||
| 152 | if (tmppos.length == 2) { | ||
| 153 | position = (tcss.top < 0 ? "bottom": "top")+"-"+(tcss.left < 0 ? "left": "right"); | ||
| 154 | } else { | ||
| 155 | position = tcss.left < 0 ? "right": "left"; | ||
| 156 | } | ||
| 157 | |||
| 158 | break; | ||
| 159 | |||
| 160 | } | ||
| 161 | |||
| 162 | tmppos = position.split("-"); | ||
| 163 | |||
| 164 | UI.$.extend(tcss, variants[tmppos[0]]); | ||
| 165 | |||
| 166 | if (tmppos.length == 2) tcss.left = (tmppos[1] == 'left') ? (pos.left) : ((pos.left + pos.width) - width); | ||
| 167 | } | ||
| 168 | |||
| 169 | |||
| 170 | tcss.left -= UI.$body.position().left; | ||
| 171 | |||
| 172 | tooltipdelay = setTimeout(function(){ | ||
| 173 | |||
| 174 | $tooltip.css(tcss).attr("class", ["uk-tooltip", "uk-tooltip-"+position, $this.options.cls].join(' ')); | ||
| 175 | |||
| 176 | if ($this.options.animation) { | ||
| 177 | $tooltip.css({opacity: 0, display: 'block'}).addClass($this.options.activeClass).animate({opacity: 1}, parseInt($this.options.animation, 10) || 400); | ||
| 178 | } else { | ||
| 179 | $tooltip.show().addClass($this.options.activeClass); | ||
| 180 | } | ||
| 181 | |||
| 182 | tooltipdelay = false; | ||
| 183 | |||
| 184 | // close tooltip if element was removed or hidden | ||
| 185 | checkdelay = setInterval(function(){ | ||
| 186 | if(!$this.element.is(':visible')) $this.hide(); | ||
| 187 | }, 150); | ||
| 188 | |||
| 189 | }, parseInt(this.options.delay, 10) || 0); | ||
| 190 | }, | ||
| 191 | |||
| 192 | hide: function() { | ||
| 193 | if(this.element.is("input") && this.element[0]===document.activeElement) return; | ||
| 194 | |||
| 195 | if(tooltipdelay) clearTimeout(tooltipdelay); | ||
| 196 | if (checkdelay) clearTimeout(checkdelay); | ||
| 197 | |||
| 198 | $tooltip.stop(); | ||
| 199 | |||
| 200 | if (this.options.animation) { | ||
| 201 | |||
| 202 | var $this = this; | ||
| 203 | |||
| 204 | $tooltip.fadeOut(parseInt(this.options.animation, 10) || 400, function(){ | ||
| 205 | $tooltip.removeClass($this.options.activeClass) | ||
| 206 | }); | ||
| 207 | |||
| 208 | } else { | ||
| 209 | $tooltip.hide().removeClass(this.options.activeClass); | ||
| 210 | } | ||
| 211 | }, | ||
| 212 | |||
| 213 | content: function() { | ||
| 214 | return this.tip; | ||
| 215 | }, | ||
| 216 | |||
| 217 | checkBoundary: function(left, top, width, height) { | ||
| 218 | |||
| 219 | var axis = ""; | ||
| 220 | |||
| 221 | if(left < 0 || ((left - UI.$win.scrollLeft())+width) > window.innerWidth) { | ||
| 222 | axis += "x"; | ||
| 223 | } | ||
| 224 | |||
| 225 | if(top < 0 || ((top - UI.$win.scrollTop())+height) > window.innerHeight) { | ||
| 226 | axis += "y"; | ||
| 227 | } | ||
| 228 | |||
| 229 | return axis; | ||
| 230 | } | ||
| 231 | }); | ||
| 232 | |||
| 233 | return UI.tooltip; | ||
| 234 | }); | ||
| diff --git a/js/components/tooltip.min.js b/js/components/tooltip.min.js new file mode 100755 index 0000000..130ea2e --- /dev/null +++ b/js/components/tooltip.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){var i;window.UIkit&&(i=t(UIkit)),"function"==typeof define&&define.amd&&define("uikit-tooltip",["uikit"],function(){return i||t(UIkit)})}(function(t){"use strict";var i,o,e;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t){var i=t.attr("title");return void 0!==i&&t.data("cached-title",i).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(){var i=t.$(this);i.data("tooltip")||(t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip"))),i.trigger("mouseenter"))})},init:function(){var o=this;i||(i=t.$('<div class="uk-tooltip"></div>').appendTo("body")),this.on({focus:function(){o.show()},blur:function(){o.hide()},mouseenter:function(){o.show()},mouseleave:function(){o.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,o&&clearTimeout(o),e&&clearTimeout(e),"string"==typeof this.tip?this.tip.length:0){i.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),i.html('<div class="uk-tooltip-inner">'+this.tip+"</div>");var s=this,n=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),l=i[0].offsetWidth,f=i[0].offsetHeight,p="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,a="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,h=a.split("-"),c={display:"none",visibility:"visible",top:n.top+n.height+f,left:n.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var r=t.$("body").offset(),d=t.$("html").offset(),u={top:d.top+r.top,left:d.left+r.left};n.left-=u.left,n.top-=u.top}"left"!=h[0]&&"right"!=h[0]||"right"!=t.langdirection||(h[0]="left"==h[0]?"right":"left");var m={bottom:{top:n.top+n.height+p,left:n.left+n.width/2-l/2},top:{top:n.top-f-p,left:n.left+n.width/2-l/2},left:{top:n.top+n.height/2-f/2,left:n.left-l-p},right:{top:n.top+n.height/2-f/2,left:n.left+n.width+p}};t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l);var v=this.checkBoundary(c.left,c.top,l,f);if(v){switch(v){case"x":a=2==h.length?h[0]+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left";break;case"y":a=2==h.length?(c.top<0?"bottom":"top")+"-"+h[1]:c.top<0?"bottom":"top";break;case"xy":a=2==h.length?(c.top<0?"bottom":"top")+"-"+(c.left<0?"left":"right"):c.left<0?"right":"left"}h=a.split("-"),t.$.extend(c,m[h[0]]),2==h.length&&(c.left="left"==h[1]?n.left:n.left+n.width-l)}c.left-=t.$body.position().left,o=setTimeout(function(){i.css(c).attr("class",["uk-tooltip","uk-tooltip-"+a,s.options.cls].join(" ")),s.options.animation?i.css({opacity:0,display:"block"}).addClass(s.options.activeClass).animate({opacity:1},parseInt(s.options.animation,10)||400):i.show().addClass(s.options.activeClass),o=!1,e=setInterval(function(){s.element.is(":visible")||s.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(o&&clearTimeout(o),e&&clearTimeout(e),i.stop(),this.options.animation){var t=this;i.fadeOut(parseInt(this.options.animation,10)||400,function(){i.removeClass(t.options.activeClass)})}else i.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(i,o,e,s){var n="";return(0>i||i-t.$win.scrollLeft()+e>window.innerWidth)&&(n+="x"),(0>o||o-t.$win.scrollTop()+s>window.innerHeight)&&(n+="y"),n}}),t.tooltip}); \ No newline at end of file | ||
| diff --git a/js/components/upload.js b/js/components/upload.js new file mode 100755 index 0000000..f80f26e --- /dev/null +++ b/js/components/upload.js | |||
| @@ -0,0 +1,257 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(addon) { | ||
| 3 | |||
| 4 | var component; | ||
| 5 | |||
| 6 | if (window.UIkit) { | ||
| 7 | component = addon(UIkit); | ||
| 8 | } | ||
| 9 | |||
| 10 | if (typeof define == "function" && define.amd) { | ||
| 11 | define("uikit-upload", ["uikit"], function(){ | ||
| 12 | return component || addon(UIkit); | ||
| 13 | }); | ||
| 14 | } | ||
| 15 | |||
| 16 | })(function(UI){ | ||
| 17 | |||
| 18 | "use strict"; | ||
| 19 | |||
| 20 | UI.component('uploadSelect', { | ||
| 21 | |||
| 22 | init: function() { | ||
| 23 | |||
| 24 | var $this = this; | ||
| 25 | |||
| 26 | this.on("change", function() { | ||
| 27 | xhrupload($this.element[0].files, $this.options); | ||
| 28 | var twin = $this.element.clone(true).data('uploadSelect', $this); | ||
| 29 | $this.element.replaceWith(twin); | ||
| 30 | $this.element = twin; | ||
| 31 | }); | ||
| 32 | } | ||
| 33 | }); | ||
| 34 | |||
| 35 | UI.component('uploadDrop', { | ||
| 36 | |||
| 37 | defaults: { | ||
| 38 | 'dragoverClass': 'uk-dragover' | ||
| 39 | }, | ||
| 40 | |||
| 41 | init: function() { | ||
| 42 | |||
| 43 | var $this = this, hasdragCls = false; | ||
| 44 | |||
| 45 | this.on("drop", function(e){ | ||
| 46 | |||
| 47 | if (e.originalEvent.dataTransfer && e.originalEvent.dataTransfer.files) { | ||
| 48 | |||
| 49 | e.stopPropagation(); | ||
| 50 | e.preventDefault(); | ||
| 51 | |||
| 52 | $this.element.removeClass($this.options.dragoverClass); | ||
| 53 | $this.element.trigger('dropped.uk.upload', [e.originalEvent.dataTransfer.files]); | ||
| 54 | |||
| 55 | xhrupload(e.originalEvent.dataTransfer.files, $this.options); | ||
| 56 | } | ||
| 57 | |||
| 58 | }).on("dragenter", function(e){ | ||
| 59 | e.stopPropagation(); | ||
| 60 | e.preventDefault(); | ||
| 61 | }).on("dragover", function(e){ | ||
| 62 | e.stopPropagation(); | ||
| 63 | e.preventDefault(); | ||
| 64 | |||
| 65 | if (!hasdragCls) { | ||
| 66 | $this.element.addClass($this.options.dragoverClass); | ||
| 67 | hasdragCls = true; | ||
| 68 | } | ||
| 69 | }).on("dragleave", function(e){ | ||
| 70 | e.stopPropagation(); | ||
| 71 | e.preventDefault(); | ||
| 72 | $this.element.removeClass($this.options.dragoverClass); | ||
| 73 | hasdragCls = false; | ||
| 74 | }); | ||
| 75 | } | ||
| 76 | }); | ||
| 77 | |||
| 78 | |||
| 79 | UI.support.ajaxupload = (function() { | ||
| 80 | |||
| 81 | function supportFileAPI() { | ||
| 82 | var fi = document.createElement('INPUT'); fi.type = 'file'; return 'files' in fi; | ||
| 83 | } | ||
| 84 | |||
| 85 | function supportAjaxUploadProgressEvents() { | ||
| 86 | var xhr = new XMLHttpRequest(); return !! (xhr && ('upload' in xhr) && ('onprogress' in xhr.upload)); | ||
| 87 | } | ||
| 88 | |||
| 89 | function supportFormData() { | ||
| 90 | return !! window.FormData; | ||
| 91 | } | ||
| 92 | |||
| 93 | return supportFileAPI() && supportAjaxUploadProgressEvents() && supportFormData(); | ||
| 94 | })(); | ||
| 95 | |||
| 96 | |||
| 97 | function xhrupload(files, settings) { | ||
| 98 | |||
| 99 | if (!UI.support.ajaxupload){ | ||
| 100 | return this; | ||
| 101 | } | ||
| 102 | |||
| 103 | settings = UI.$.extend({}, xhrupload.defaults, settings); | ||
| 104 | |||
| 105 | if (!files.length){ | ||
| 106 | return; | ||
| 107 | } | ||
| 108 | |||
| 109 | if (settings.allow !== '*.*') { | ||
| 110 | |||
| 111 | for(var i=0,file;file=files[i];i++) { | ||
| 112 | |||
| 113 | if(!matchName(settings.allow, file.name)) { | ||
| 114 | |||
| 115 | if(typeof(settings.notallowed) == 'string') { | ||
| 116 | alert(settings.notallowed); | ||
| 117 | } else { | ||
| 118 | settings.notallowed(file, settings); | ||
| 119 | } | ||
| 120 | return; | ||
| 121 | } | ||
| 122 | } | ||
| 123 | } | ||
| 124 | |||
| 125 | var complete = settings.complete; | ||
| 126 | |||
| 127 | if (settings.single){ | ||
| 128 | |||
| 129 | var count = files.length, | ||
| 130 | uploaded = 0, | ||
| 131 | allow = true; | ||
| 132 | |||
| 133 | settings.beforeAll(files); | ||
| 134 | |||
| 135 | settings.complete = function(response, xhr){ | ||
| 136 | |||
| 137 | uploaded = uploaded + 1; | ||
| 138 | |||
| 139 | complete(response, xhr); | ||
| 140 | |||
| 141 | if (settings.filelimit && uploaded >= settings.filelimit){ | ||
| 142 | allow = false; | ||
| 143 | } | ||
| 144 | |||
| 145 | if (allow && uploaded<count){ | ||
| 146 | upload([files[uploaded]], settings); | ||
| 147 | } else { | ||
| 148 | settings.allcomplete(response, xhr); | ||
| 149 | } | ||
| 150 | }; | ||
| 151 | |||
| 152 | upload([files[0]], settings); | ||
| 153 | |||
| 154 | } else { | ||
| 155 | |||
| 156 | settings.complete = function(response, xhr){ | ||
| 157 | complete(response, xhr); | ||
| 158 | settings.allcomplete(response, xhr); | ||
| 159 | }; | ||
| 160 | |||
| 161 | upload(files, settings); | ||
| 162 | } | ||
| 163 | |||
| 164 | function upload(files, settings){ | ||
| 165 | |||
| 166 | // upload all at once | ||
| 167 | var formData = new FormData(), xhr = new XMLHttpRequest(); | ||
| 168 | |||
| 169 | if (settings.before(settings, files)===false) return; | ||
| 170 | |||
| 171 | for (var i = 0, f; f = files[i]; i++) { formData.append(settings.param, f); } | ||
| 172 | for (var p in settings.params) { formData.append(p, settings.params[p]); } | ||
| 173 | |||
| 174 | // Add any event handlers here... | ||
| 175 | xhr.upload.addEventListener("progress", function(e){ | ||
| 176 | var percent = (e.loaded / e.total)*100; | ||
| 177 | settings.progress(percent, e); | ||
| 178 | }, false); | ||
| 179 | |||
| 180 | xhr.addEventListener("loadstart", function(e){ settings.loadstart(e); }, false); | ||
| 181 | xhr.addEventListener("load", function(e){ settings.load(e); }, false); | ||
| 182 | xhr.addEventListener("loadend", function(e){ settings.loadend(e); }, false); | ||
| 183 | xhr.addEventListener("error", function(e){ settings.error(e); }, false); | ||
| 184 | xhr.addEventListener("abort", function(e){ settings.abort(e); }, false); | ||
| 185 | |||
| 186 | xhr.open(settings.method, settings.action, true); | ||
| 187 | |||
| 188 | if (settings.type=="json") { | ||
| 189 | xhr.setRequestHeader("Accept", "application/json"); | ||
| 190 | } | ||
| 191 | |||
| 192 | xhr.onreadystatechange = function() { | ||
| 193 | |||
| 194 | settings.readystatechange(xhr); | ||
| 195 | |||
| 196 | if (xhr.readyState==4){ | ||
| 197 | |||
| 198 | var response = xhr.responseText; | ||
| 199 | |||
| 200 | if (settings.type=="json") { | ||
| 201 | try { | ||
| 202 | response = UI.$.parseJSON(response); | ||
| 203 | } catch(e) { | ||
| 204 | response = false; | ||
| 205 | } | ||
| 206 | } | ||
| 207 | |||
| 208 | settings.complete(response, xhr); | ||
| 209 | } | ||
| 210 | }; | ||
| 211 | settings.beforeSend(xhr); | ||
| 212 | xhr.send(formData); | ||
| 213 | } | ||
| 214 | } | ||
| 215 | |||
| 216 | xhrupload.defaults = { | ||
| 217 | 'action': '', | ||
| 218 | 'single': true, | ||
| 219 | 'method': 'POST', | ||
| 220 | 'param' : 'files[]', | ||
| 221 | 'params': {}, | ||
| 222 | 'allow' : '*.*', | ||
| 223 | 'type' : 'text', | ||
| 224 | 'filelimit': false, | ||
| 225 | |||
| 226 | // events | ||
| 227 | 'before' : function(o){}, | ||
| 228 | 'beforeSend' : function(xhr){}, | ||
| 229 | 'beforeAll' : function(){}, | ||
| 230 | 'loadstart' : function(){}, | ||
| 231 | 'load' : function(){}, | ||
| 232 | 'loadend' : function(){}, | ||
| 233 | 'error' : function(){}, | ||
| 234 | 'abort' : function(){}, | ||
| 235 | 'progress' : function(){}, | ||
| 236 | 'complete' : function(){}, | ||
| 237 | 'allcomplete' : function(){}, | ||
| 238 | 'readystatechange': function(){}, | ||
| 239 | 'notallowed' : function(file, settings){ alert('Only the following file types are allowed: '+settings.allow); } | ||
| 240 | }; | ||
| 241 | |||
| 242 | function matchName(pattern, path) { | ||
| 243 | |||
| 244 | var parsedPattern = '^' + pattern.replace(/\//g, '\\/'). | ||
| 245 | replace(/\*\*/g, '(\\/[^\\/]+)*'). | ||
| 246 | replace(/\*/g, '[^\\/]+'). | ||
| 247 | replace(/((?!\\))\?/g, '$1.') + '$'; | ||
| 248 | |||
| 249 | parsedPattern = '^' + parsedPattern + '$'; | ||
| 250 | |||
| 251 | return (path.match(new RegExp(parsedPattern, 'i')) !== null); | ||
| 252 | } | ||
| 253 | |||
| 254 | UI.Utils.xhrupload = xhrupload; | ||
| 255 | |||
| 256 | return xhrupload; | ||
| 257 | }); | ||
| diff --git a/js/components/upload.min.js b/js/components/upload.min.js new file mode 100755 index 0000000..99279a9 --- /dev/null +++ b/js/components/upload.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(e){var t;window.UIkit&&(t=e(UIkit)),"function"==typeof define&&define.amd&&define("uikit-upload",["uikit"],function(){return t||e(UIkit)})}(function(e){"use strict";function t(o,a){function r(t,n){var o=new FormData,a=new XMLHttpRequest;if(n.before(n,t)!==!1){for(var r,i=0;r=t[i];i++)o.append(n.param,r);for(var l in n.params)o.append(l,n.params[l]);a.upload.addEventListener("progress",function(e){var t=e.loaded/e.total*100;n.progress(t,e)},!1),a.addEventListener("loadstart",function(e){n.loadstart(e)},!1),a.addEventListener("load",function(e){n.load(e)},!1),a.addEventListener("loadend",function(e){n.loadend(e)},!1),a.addEventListener("error",function(e){n.error(e)},!1),a.addEventListener("abort",function(e){n.abort(e)},!1),a.open(n.method,n.action,!0),"json"==n.type&&a.setRequestHeader("Accept","application/json"),a.onreadystatechange=function(){if(n.readystatechange(a),4==a.readyState){var t=a.responseText;if("json"==n.type)try{t=e.$.parseJSON(t)}catch(o){t=!1}n.complete(t,a)}},n.beforeSend(a),a.send(o)}}if(!e.support.ajaxupload)return this;if(a=e.$.extend({},t.defaults,a),o.length){if("*.*"!==a.allow)for(var i,l=0;i=o[l];l++)if(!n(a.allow,i.name))return"string"==typeof a.notallowed?alert(a.notallowed):a.notallowed(i,a),void 0;var f=a.complete;if(a.single){var s=o.length,d=0,p=!0;a.beforeAll(o),a.complete=function(e,t){d+=1,f(e,t),a.filelimit&&d>=a.filelimit&&(p=!1),p&&s>d?r([o[d]],a):a.allcomplete(e,t)},r([o[0]],a)}else a.complete=function(e,t){f(e,t),a.allcomplete(e,t)},r(o,a)}}function n(e,t){var n="^"+e.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")+"$";return n="^"+n+"$",null!==t.match(new RegExp(n,"i"))}return e.component("uploadSelect",{init:function(){var e=this;this.on("change",function(){t(e.element[0].files,e.options);var n=e.element.clone(!0).data("uploadSelect",e);e.element.replaceWith(n),e.element=n})}}),e.component("uploadDrop",{defaults:{dragoverClass:"uk-dragover"},init:function(){var e=this,n=!1;this.on("drop",function(n){n.originalEvent.dataTransfer&&n.originalEvent.dataTransfer.files&&(n.stopPropagation(),n.preventDefault(),e.element.removeClass(e.options.dragoverClass),e.element.trigger("dropped.uk.upload",[n.originalEvent.dataTransfer.files]),t(n.originalEvent.dataTransfer.files,e.options))}).on("dragenter",function(e){e.stopPropagation(),e.preventDefault()}).on("dragover",function(t){t.stopPropagation(),t.preventDefault(),n||(e.element.addClass(e.options.dragoverClass),n=!0)}).on("dragleave",function(t){t.stopPropagation(),t.preventDefault(),e.element.removeClass(e.options.dragoverClass),n=!1})}}),e.support.ajaxupload=function(){function e(){var e=document.createElement("INPUT");return e.type="file","files"in e}function t(){var e=new XMLHttpRequest;return!!(e&&"upload"in e&&"onprogress"in e.upload)}function n(){return!!window.FormData}return e()&&t()&&n()}(),t.defaults={action:"",single:!0,method:"POST",param:"files[]",params:{},allow:"*.*",type:"text",filelimit:!1,before:function(){},beforeSend:function(){},beforeAll:function(){},loadstart:function(){},load:function(){},loadend:function(){},error:function(){},abort:function(){},progress:function(){},complete:function(){},allcomplete:function(){},readystatechange:function(){},notallowed:function(e,t){alert("Only the following file types are allowed: "+t.allow)}},e.Utils.xhrupload=t,t}); \ No newline at end of file | ||
| diff --git a/js/core/alert.js b/js/core/alert.js new file mode 100755 index 0000000..e145d5f --- /dev/null +++ b/js/core/alert.js | |||
| @@ -0,0 +1,66 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | UI.component('alert', { | ||
| 7 | |||
| 8 | defaults: { | ||
| 9 | "fade": true, | ||
| 10 | "duration": 200, | ||
| 11 | "trigger": ".uk-alert-close" | ||
| 12 | }, | ||
| 13 | |||
| 14 | boot: function() { | ||
| 15 | |||
| 16 | // init code | ||
| 17 | UI.$html.on("click.alert.uikit", "[data-uk-alert]", function(e) { | ||
| 18 | |||
| 19 | var ele = UI.$(this); | ||
| 20 | |||
| 21 | if (!ele.data("alert")) { | ||
| 22 | |||
| 23 | var alert = UI.alert(ele, UI.Utils.options(ele.attr("data-uk-alert"))); | ||
| 24 | |||
| 25 | if (UI.$(e.target).is(alert.options.trigger)) { | ||
| 26 | e.preventDefault(); | ||
| 27 | alert.close(); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | }); | ||
| 31 | }, | ||
| 32 | |||
| 33 | init: function() { | ||
| 34 | |||
| 35 | var $this = this; | ||
| 36 | |||
| 37 | this.on("click", this.options.trigger, function(e) { | ||
| 38 | e.preventDefault(); | ||
| 39 | $this.close(); | ||
| 40 | }); | ||
| 41 | }, | ||
| 42 | |||
| 43 | close: function() { | ||
| 44 | |||
| 45 | var element = this.trigger("close.uk.alert"), | ||
| 46 | removeElement = function () { | ||
| 47 | this.trigger("closed.uk.alert").remove(); | ||
| 48 | }.bind(this); | ||
| 49 | |||
| 50 | if (this.options.fade) { | ||
| 51 | element.css("overflow", "hidden").css("max-height", element.height()).animate({ | ||
| 52 | "height" : 0, | ||
| 53 | "opacity" : 0, | ||
| 54 | "padding-top" : 0, | ||
| 55 | "padding-bottom" : 0, | ||
| 56 | "margin-top" : 0, | ||
| 57 | "margin-bottom" : 0 | ||
| 58 | }, this.options.duration, removeElement); | ||
| 59 | } else { | ||
| 60 | removeElement(); | ||
| 61 | } | ||
| 62 | } | ||
| 63 | |||
| 64 | }); | ||
| 65 | |||
| 66 | })(UIkit); | ||
| diff --git a/js/core/alert.min.js b/js/core/alert.min.js new file mode 100755 index 0000000..501b85d --- /dev/null +++ b/js/core/alert.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var o=t.$(this);if(!o.data("alert")){var e=t.alert(o,t.Utils.options(o.attr("data-uk-alert")));t.$(i.target).is(e.options.trigger)&&(i.preventDefault(),e.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/button.js b/js/core/button.js new file mode 100755 index 0000000..9ebe57a --- /dev/null +++ b/js/core/button.js | |||
| @@ -0,0 +1,157 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | UI.component('buttonRadio', { | ||
| 7 | |||
| 8 | defaults: { | ||
| 9 | "activeClass": 'uk-active', | ||
| 10 | "target": ".uk-button" | ||
| 11 | }, | ||
| 12 | |||
| 13 | boot: function() { | ||
| 14 | |||
| 15 | // init code | ||
| 16 | UI.$html.on("click.buttonradio.uikit", "[data-uk-button-radio]", function(e) { | ||
| 17 | |||
| 18 | var ele = UI.$(this); | ||
| 19 | |||
| 20 | if (!ele.data("buttonRadio")) { | ||
| 21 | |||
| 22 | var obj = UI.buttonRadio(ele, UI.Utils.options(ele.attr("data-uk-button-radio"))), | ||
| 23 | target = UI.$(e.target); | ||
| 24 | |||
| 25 | if (target.is(obj.options.target)) { | ||
| 26 | target.trigger("click"); | ||
| 27 | } | ||
| 28 | } | ||
| 29 | }); | ||
| 30 | }, | ||
| 31 | |||
| 32 | init: function() { | ||
| 33 | |||
| 34 | var $this = this; | ||
| 35 | |||
| 36 | // Init ARIA | ||
| 37 | this.find($this.options.target).attr('aria-checked', 'false').filter('.' + $this.options.activeClass).attr('aria-checked', 'true'); | ||
| 38 | |||
| 39 | this.on("click", this.options.target, function(e) { | ||
| 40 | |||
| 41 | var ele = UI.$(this); | ||
| 42 | |||
| 43 | if (ele.is('a[href="#"]')) e.preventDefault(); | ||
| 44 | |||
| 45 | $this.find($this.options.target).not(ele).removeClass($this.options.activeClass).blur(); | ||
| 46 | ele.addClass($this.options.activeClass); | ||
| 47 | |||
| 48 | // Update ARIA | ||
| 49 | $this.find($this.options.target).not(ele).attr('aria-checked', 'false'); | ||
| 50 | ele.attr('aria-checked', 'true'); | ||
| 51 | |||
| 52 | $this.trigger("change.uk.button", [ele]); | ||
| 53 | }); | ||
| 54 | |||
| 55 | }, | ||
| 56 | |||
| 57 | getSelected: function() { | ||
| 58 | return this.find('.' + this.options.activeClass); | ||
| 59 | } | ||
| 60 | }); | ||
| 61 | |||
| 62 | UI.component('buttonCheckbox', { | ||
| 63 | |||
| 64 | defaults: { | ||
| 65 | "activeClass": 'uk-active', | ||
| 66 | "target": ".uk-button" | ||
| 67 | }, | ||
| 68 | |||
| 69 | boot: function() { | ||
| 70 | |||
| 71 | UI.$html.on("click.buttoncheckbox.uikit", "[data-uk-button-checkbox]", function(e) { | ||
| 72 | var ele = UI.$(this); | ||
| 73 | |||
| 74 | if (!ele.data("buttonCheckbox")) { | ||
| 75 | |||
| 76 | var obj = UI.buttonCheckbox(ele, UI.Utils.options(ele.attr("data-uk-button-checkbox"))), | ||
| 77 | target = UI.$(e.target); | ||
| 78 | |||
| 79 | if (target.is(obj.options.target)) { | ||
| 80 | target.trigger("click"); | ||
| 81 | } | ||
| 82 | } | ||
| 83 | }); | ||
| 84 | }, | ||
| 85 | |||
| 86 | init: function() { | ||
| 87 | |||
| 88 | var $this = this; | ||
| 89 | |||
| 90 | // Init ARIA | ||
| 91 | this.find($this.options.target).attr('aria-checked', 'false').filter('.' + $this.options.activeClass).attr('aria-checked', 'true'); | ||
| 92 | |||
| 93 | this.on("click", this.options.target, function(e) { | ||
| 94 | var ele = UI.$(this); | ||
| 95 | |||
| 96 | if (ele.is('a[href="#"]')) e.preventDefault(); | ||
| 97 | |||
| 98 | ele.toggleClass($this.options.activeClass).blur(); | ||
| 99 | |||
| 100 | // Update ARIA | ||
| 101 | ele.attr('aria-checked', ele.hasClass($this.options.activeClass)); | ||
| 102 | |||
| 103 | $this.trigger("change.uk.button", [ele]); | ||
| 104 | }); | ||
| 105 | |||
| 106 | }, | ||
| 107 | |||
| 108 | getSelected: function() { | ||
| 109 | return this.find('.' + this.options.activeClass); | ||
| 110 | } | ||
| 111 | }); | ||
| 112 | |||
| 113 | |||
| 114 | UI.component('button', { | ||
| 115 | |||
| 116 | defaults: {}, | ||
| 117 | |||
| 118 | boot: function() { | ||
| 119 | |||
| 120 | UI.$html.on("click.button.uikit", "[data-uk-button]", function(e) { | ||
| 121 | var ele = UI.$(this); | ||
| 122 | |||
| 123 | if (!ele.data("button")) { | ||
| 124 | |||
| 125 | var obj = UI.button(ele, UI.Utils.options(ele.attr("data-uk-button"))); | ||
| 126 | ele.trigger("click"); | ||
| 127 | } | ||
| 128 | }); | ||
| 129 | }, | ||
| 130 | |||
| 131 | init: function() { | ||
| 132 | |||
| 133 | var $this = this; | ||
| 134 | |||
| 135 | // Init ARIA | ||
| 136 | this.element.attr('aria-pressed', this.element.hasClass("uk-active")); | ||
| 137 | |||
| 138 | this.on("click", function(e) { | ||
| 139 | |||
| 140 | if ($this.element.is('a[href="#"]')) e.preventDefault(); | ||
| 141 | |||
| 142 | $this.toggle(); | ||
| 143 | $this.trigger("change.uk.button", [$this.element.blur().hasClass("uk-active")]); | ||
| 144 | }); | ||
| 145 | |||
| 146 | }, | ||
| 147 | |||
| 148 | toggle: function() { | ||
| 149 | this.element.toggleClass("uk-active"); | ||
| 150 | |||
| 151 | // Update ARIA | ||
| 152 | this.element.attr('aria-pressed', this.element.hasClass("uk-active")); | ||
| 153 | } | ||
| 154 | }); | ||
| 155 | |||
| 156 | })(UIkit); | ||
| 157 | |||
| diff --git a/js/core/button.min.js b/js/core/button.min.js new file mode 100755 index 0000000..9458783 --- /dev/null +++ b/js/core/button.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";t.component("buttonRadio",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(i){var a=t.$(this);if(!a.data("buttonRadio")){var e=t.buttonRadio(a,t.Utils.options(a.attr("data-uk-button-radio"))),o=t.$(i.target);o.is(e.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter("."+i.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(a){var e=t.$(this);e.is('a[href="#"]')&&a.preventDefault(),i.find(i.options.target).not(e).removeClass(i.options.activeClass).blur(),e.addClass(i.options.activeClass),i.find(i.options.target).not(e).attr("aria-checked","false"),e.attr("aria-checked","true"),i.trigger("change.uk.button",[e])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("buttonCheckbox",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(i){var a=t.$(this);if(!a.data("buttonCheckbox")){var e=t.buttonCheckbox(a,t.Utils.options(a.attr("data-uk-button-checkbox"))),o=t.$(i.target);o.is(e.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter("."+i.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(a){var e=t.$(this);e.is('a[href="#"]')&&a.preventDefault(),e.toggleClass(i.options.activeClass).blur(),e.attr("aria-checked",e.hasClass(i.options.activeClass)),i.trigger("change.uk.button",[e])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(){var i=t.$(this);if(!i.data("button")){{t.button(i,t.Utils.options(i.attr("data-uk-button")))}i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/core.js b/js/core/core.js new file mode 100755 index 0000000..85540af --- /dev/null +++ b/js/core/core.js | |||
| @@ -0,0 +1,786 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(core) { | ||
| 3 | |||
| 4 | if (typeof define == "function" && define.amd) { // AMD | ||
| 5 | |||
| 6 | define("uikit", function(){ | ||
| 7 | |||
| 8 | var uikit = window.UIkit || core(window, window.jQuery, window.document); | ||
| 9 | |||
| 10 | uikit.load = function(res, req, onload, config) { | ||
| 11 | |||
| 12 | var resources = res.split(','), load = [], i, base = (config.config && config.config.uikit && config.config.uikit.base ? config.config.uikit.base : "").replace(/\/+$/g, ""); | ||
| 13 | |||
| 14 | if (!base) { | ||
| 15 | throw new Error( "Please define base path to UIkit in the requirejs config." ); | ||
| 16 | } | ||
| 17 | |||
| 18 | for (i = 0; i < resources.length; i += 1) { | ||
| 19 | var resource = resources[i].replace(/\./g, '/'); | ||
| 20 | load.push(base+'/components/'+resource); | ||
| 21 | } | ||
| 22 | |||
| 23 | req(load, function() { | ||
| 24 | onload(uikit); | ||
| 25 | }); | ||
| 26 | }; | ||
| 27 | |||
| 28 | return uikit; | ||
| 29 | }); | ||
| 30 | } | ||
| 31 | |||
| 32 | if (!window.jQuery) { | ||
| 33 | throw new Error( "UIkit requires jQuery" ); | ||
| 34 | } | ||
| 35 | |||
| 36 | if (window && window.jQuery) { | ||
| 37 | core(window, window.jQuery, window.document); | ||
| 38 | } | ||
| 39 | |||
| 40 | |||
| 41 | })(function(global, $, doc) { | ||
| 42 | |||
| 43 | "use strict"; | ||
| 44 | |||
| 45 | var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined; | ||
| 46 | |||
| 47 | UI.version = '2.26.4'; | ||
| 48 | |||
| 49 | UI.noConflict = function() { | ||
| 50 | // restore UIkit version | ||
| 51 | if (_UI) { | ||
| 52 | global.UIkit = _UI; | ||
| 53 | $.UIkit = _UI; | ||
| 54 | $.fn.uk = _UI.fn; | ||
| 55 | } | ||
| 56 | |||
| 57 | return UI; | ||
| 58 | }; | ||
| 59 | |||
| 60 | UI.prefix = function(str) { | ||
| 61 | return str; | ||
| 62 | }; | ||
| 63 | |||
| 64 | // cache jQuery | ||
| 65 | UI.$ = $; | ||
| 66 | |||
| 67 | UI.$doc = UI.$(document); | ||
| 68 | UI.$win = UI.$(window); | ||
| 69 | UI.$html = UI.$('html'); | ||
| 70 | |||
| 71 | UI.support = {}; | ||
| 72 | UI.support.transition = (function() { | ||
| 73 | |||
| 74 | var transitionEnd = (function() { | ||
| 75 | |||
| 76 | var element = doc.body || doc.documentElement, | ||
| 77 | transEndEventNames = { | ||
| 78 | WebkitTransition : 'webkitTransitionEnd', | ||
| 79 | MozTransition : 'transitionend', | ||
| 80 | OTransition : 'oTransitionEnd otransitionend', | ||
| 81 | transition : 'transitionend' | ||
| 82 | }, name; | ||
| 83 | |||
| 84 | for (name in transEndEventNames) { | ||
| 85 | if (element.style[name] !== undefined) return transEndEventNames[name]; | ||
| 86 | } | ||
| 87 | }()); | ||
| 88 | |||
| 89 | return transitionEnd && { end: transitionEnd }; | ||
| 90 | })(); | ||
| 91 | |||
| 92 | UI.support.animation = (function() { | ||
| 93 | |||
| 94 | var animationEnd = (function() { | ||
| 95 | |||
| 96 | var element = doc.body || doc.documentElement, | ||
| 97 | animEndEventNames = { | ||
| 98 | WebkitAnimation : 'webkitAnimationEnd', | ||
| 99 | MozAnimation : 'animationend', | ||
| 100 | OAnimation : 'oAnimationEnd oanimationend', | ||
| 101 | animation : 'animationend' | ||
| 102 | }, name; | ||
| 103 | |||
| 104 | for (name in animEndEventNames) { | ||
| 105 | if (element.style[name] !== undefined) return animEndEventNames[name]; | ||
| 106 | } | ||
| 107 | }()); | ||
| 108 | |||
| 109 | return animationEnd && { end: animationEnd }; | ||
| 110 | })(); | ||
| 111 | |||
| 112 | // requestAnimationFrame polyfill | ||
| 113 | //https://github.com/darius/requestAnimationFrame | ||
| 114 | (function() { | ||
| 115 | |||
| 116 | Date.now = Date.now || function() { return new Date().getTime(); }; | ||
| 117 | |||
| 118 | var vendors = ['webkit', 'moz']; | ||
| 119 | for (var i = 0; i < vendors.length && !window.requestAnimationFrame; ++i) { | ||
| 120 | var vp = vendors[i]; | ||
| 121 | window.requestAnimationFrame = window[vp+'RequestAnimationFrame']; | ||
| 122 | window.cancelAnimationFrame = (window[vp+'CancelAnimationFrame'] | ||
| 123 | || window[vp+'CancelRequestAnimationFrame']); | ||
| 124 | } | ||
| 125 | if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) // iOS6 is buggy | ||
| 126 | || !window.requestAnimationFrame || !window.cancelAnimationFrame) { | ||
| 127 | var lastTime = 0; | ||
| 128 | window.requestAnimationFrame = function(callback) { | ||
| 129 | var now = Date.now(); | ||
| 130 | var nextTime = Math.max(lastTime + 16, now); | ||
| 131 | return setTimeout(function() { callback(lastTime = nextTime); }, | ||
| 132 | nextTime - now); | ||
| 133 | }; | ||
| 134 | window.cancelAnimationFrame = clearTimeout; | ||
| 135 | } | ||
| 136 | }()); | ||
| 137 | |||
| 138 | UI.support.touch = ( | ||
| 139 | ('ontouchstart' in document) || | ||
| 140 | (global.DocumentTouch && document instanceof global.DocumentTouch) || | ||
| 141 | (global.navigator.msPointerEnabled && global.navigator.msMaxTouchPoints > 0) || //IE 10 | ||
| 142 | (global.navigator.pointerEnabled && global.navigator.maxTouchPoints > 0) || //IE >=11 | ||
| 143 | false | ||
| 144 | ); | ||
| 145 | |||
| 146 | UI.support.mutationobserver = (global.MutationObserver || global.WebKitMutationObserver || null); | ||
| 147 | |||
| 148 | UI.Utils = {}; | ||
| 149 | |||
| 150 | UI.Utils.isFullscreen = function() { | ||
| 151 | return document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement || document.fullscreenElement || false; | ||
| 152 | }; | ||
| 153 | |||
| 154 | UI.Utils.str2json = function(str, notevil) { | ||
| 155 | try { | ||
| 156 | if (notevil) { | ||
| 157 | return JSON.parse(str | ||
| 158 | // wrap keys without quote with valid double quote | ||
| 159 | .replace(/([\$\w]+)\s*:/g, function(_, $1){return '"'+$1+'":';}) | ||
| 160 | // replacing single quote wrapped ones to double quote | ||
| 161 | .replace(/'([^']+)'/g, function(_, $1){return '"'+$1+'"';}) | ||
| 162 | ); | ||
| 163 | } else { | ||
| 164 | return (new Function("", "var json = " + str + "; return JSON.parse(JSON.stringify(json));"))(); | ||
| 165 | } | ||
| 166 | } catch(e) { return false; } | ||
| 167 | }; | ||
| 168 | |||
| 169 | UI.Utils.debounce = function(func, wait, immediate) { | ||
| 170 | var timeout; | ||
| 171 | return function() { | ||
| 172 | var context = this, args = arguments; | ||
| 173 | var later = function() { | ||
| 174 | timeout = null; | ||
| 175 | if (!immediate) func.apply(context, args); | ||
| 176 | }; | ||
| 177 | var callNow = immediate && !timeout; | ||
| 178 | clearTimeout(timeout); | ||
| 179 | timeout = setTimeout(later, wait); | ||
| 180 | if (callNow) func.apply(context, args); | ||
| 181 | }; | ||
| 182 | }; | ||
| 183 | |||
| 184 | UI.Utils.throttle = function (func, limit) { | ||
| 185 | var wait = false; | ||
| 186 | return function () { | ||
| 187 | if (!wait) { | ||
| 188 | func.call(); | ||
| 189 | wait = true; | ||
| 190 | setTimeout(function () { | ||
| 191 | wait = false; | ||
| 192 | }, limit); | ||
| 193 | } | ||
| 194 | } | ||
| 195 | }; | ||
| 196 | |||
| 197 | UI.Utils.removeCssRules = function(selectorRegEx) { | ||
| 198 | var idx, idxs, stylesheet, _i, _j, _k, _len, _len1, _len2, _ref; | ||
| 199 | |||
| 200 | if(!selectorRegEx) return; | ||
| 201 | |||
| 202 | setTimeout(function(){ | ||
| 203 | try { | ||
| 204 | _ref = document.styleSheets; | ||
| 205 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 206 | stylesheet = _ref[_i]; | ||
| 207 | idxs = []; | ||
| 208 | stylesheet.cssRules = stylesheet.cssRules; | ||
| 209 | for (idx = _j = 0, _len1 = stylesheet.cssRules.length; _j < _len1; idx = ++_j) { | ||
| 210 | if (stylesheet.cssRules[idx].type === CSSRule.STYLE_RULE && selectorRegEx.test(stylesheet.cssRules[idx].selectorText)) { | ||
| 211 | idxs.unshift(idx); | ||
| 212 | } | ||
| 213 | } | ||
| 214 | for (_k = 0, _len2 = idxs.length; _k < _len2; _k++) { | ||
| 215 | stylesheet.deleteRule(idxs[_k]); | ||
| 216 | } | ||
| 217 | } | ||
| 218 | } catch (_error) {} | ||
| 219 | }, 0); | ||
| 220 | }; | ||
| 221 | |||
| 222 | UI.Utils.isInView = function(element, options) { | ||
| 223 | |||
| 224 | var $element = $(element); | ||
| 225 | |||
| 226 | if (!$element.is(':visible')) { | ||
| 227 | return false; | ||
| 228 | } | ||
| 229 | |||
| 230 | var window_left = UI.$win.scrollLeft(), window_top = UI.$win.scrollTop(), offset = $element.offset(), left = offset.left, top = offset.top; | ||
| 231 | |||
| 232 | options = $.extend({topoffset:0, leftoffset:0}, options); | ||
| 233 | |||
| 234 | if (top + $element.height() >= window_top && top - options.topoffset <= window_top + UI.$win.height() && | ||
| 235 | left + $element.width() >= window_left && left - options.leftoffset <= window_left + UI.$win.width()) { | ||
| 236 | return true; | ||
| 237 | } else { | ||
| 238 | return false; | ||
| 239 | } | ||
| 240 | }; | ||
| 241 | |||
| 242 | UI.Utils.checkDisplay = function(context, initanimation) { | ||
| 243 | |||
| 244 | var elements = UI.$('[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]', context || document), animated; | ||
| 245 | |||
| 246 | if (context && !elements.length) { | ||
| 247 | elements = $(context); | ||
| 248 | } | ||
| 249 | |||
| 250 | elements.trigger('display.uk.check'); | ||
| 251 | |||
| 252 | // fix firefox / IE animations | ||
| 253 | if (initanimation) { | ||
| 254 | |||
| 255 | if (typeof(initanimation)!='string') { | ||
| 256 | initanimation = '[class*="uk-animation-"]'; | ||
| 257 | } | ||
| 258 | |||
| 259 | elements.find(initanimation).each(function(){ | ||
| 260 | |||
| 261 | var ele = UI.$(this), | ||
| 262 | cls = ele.attr('class'), | ||
| 263 | anim = cls.match(/uk-animation-(.+)/); | ||
| 264 | |||
| 265 | ele.removeClass(anim[0]).width(); | ||
| 266 | |||
| 267 | ele.addClass(anim[0]); | ||
| 268 | }); | ||
| 269 | } | ||
| 270 | |||
| 271 | return elements; | ||
| 272 | }; | ||
| 273 | |||
| 274 | UI.Utils.options = function(string) { | ||
| 275 | |||
| 276 | if ($.type(string)!='string') return string; | ||
| 277 | |||
| 278 | if (string.indexOf(':') != -1 && string.trim().substr(-1) != '}') { | ||
| 279 | string = '{'+string+'}'; | ||
| 280 | } | ||
| 281 | |||
| 282 | var start = (string ? string.indexOf("{") : -1), options = {}; | ||
| 283 | |||
| 284 | if (start != -1) { | ||
| 285 | try { | ||
| 286 | options = UI.Utils.str2json(string.substr(start)); | ||
| 287 | } catch (e) {} | ||
| 288 | } | ||
| 289 | |||
| 290 | return options; | ||
| 291 | }; | ||
| 292 | |||
| 293 | UI.Utils.animate = function(element, cls) { | ||
| 294 | |||
| 295 | var d = $.Deferred(); | ||
| 296 | |||
| 297 | element = UI.$(element); | ||
| 298 | |||
| 299 | element.css('display', 'none').addClass(cls).one(UI.support.animation.end, function() { | ||
| 300 | element.removeClass(cls); | ||
| 301 | d.resolve(); | ||
| 302 | }); | ||
| 303 | |||
| 304 | element.css('display', ''); | ||
| 305 | |||
| 306 | return d.promise(); | ||
| 307 | }; | ||
| 308 | |||
| 309 | UI.Utils.uid = function(prefix) { | ||
| 310 | return (prefix || 'id') + (new Date().getTime())+"RAND"+(Math.ceil(Math.random() * 100000)); | ||
| 311 | }; | ||
| 312 | |||
| 313 | UI.Utils.template = function(str, data) { | ||
| 314 | |||
| 315 | var tokens = str.replace(/\n/g, '\\n').replace(/\{\{\{\s*(.+?)\s*\}\}\}/g, "{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g), | ||
| 316 | i=0, toc, cmd, prop, val, fn, output = [], openblocks = 0; | ||
| 317 | |||
| 318 | while(i < tokens.length) { | ||
| 319 | |||
| 320 | toc = tokens[i]; | ||
| 321 | |||
| 322 | if(toc.match(/\{\{\s*(.+?)\s*\}\}/)) { | ||
| 323 | i = i + 1; | ||
| 324 | toc = tokens[i]; | ||
| 325 | cmd = toc[0]; | ||
| 326 | prop = toc.substring(toc.match(/^(\^|\#|\!|\~|\:)/) ? 1:0); | ||
| 327 | |||
| 328 | switch(cmd) { | ||
| 329 | case '~': | ||
| 330 | output.push("for(var $i=0;$i<"+prop+".length;$i++) { var $item = "+prop+"[$i];"); | ||
| 331 | openblocks++; | ||
| 332 | break; | ||
| 333 | case ':': | ||
| 334 | output.push("for(var $key in "+prop+") { var $val = "+prop+"[$key];"); | ||
| 335 | openblocks++; | ||
| 336 | break; | ||
| 337 | case '#': | ||
| 338 | output.push("if("+prop+") {"); | ||
| 339 | openblocks++; | ||
| 340 | break; | ||
| 341 | case '^': | ||
| 342 | output.push("if(!"+prop+") {"); | ||
| 343 | openblocks++; | ||
| 344 | break; | ||
| 345 | case '/': | ||
| 346 | output.push("}"); | ||
| 347 | openblocks--; | ||
| 348 | break; | ||
| 349 | case '!': | ||
| 350 | output.push("__ret.push("+prop+");"); | ||
| 351 | break; | ||
| 352 | default: | ||
| 353 | output.push("__ret.push(escape("+prop+"));"); | ||
| 354 | break; | ||
| 355 | } | ||
| 356 | } else { | ||
| 357 | output.push("__ret.push('"+toc.replace(/\'/g, "\\'")+"');"); | ||
| 358 | } | ||
| 359 | i = i + 1; | ||
| 360 | } | ||
| 361 | |||
| 362 | fn = new Function('$data', [ | ||
| 363 | 'var __ret = [];', | ||
| 364 | 'try {', | ||
| 365 | 'with($data){', (!openblocks ? output.join('') : '__ret = ["Not all blocks are closed correctly."]'), '};', | ||
| 366 | '}catch(e){__ret = [e.message];}', | ||
| 367 | 'return __ret.join("").replace(/\\n\\n/g, "\\n");', | ||
| 368 | "function escape(html) { return String(html).replace(/&/g, '&').replace(/\"/g, '"').replace(/</g, '<').replace(/>/g, '>');}" | ||
| 369 | ].join("\n")); | ||
| 370 | |||
| 371 | return data ? fn(data) : fn; | ||
| 372 | }; | ||
| 373 | |||
| 374 | UI.Utils.events = {}; | ||
| 375 | UI.Utils.events.click = UI.support.touch ? 'tap' : 'click'; | ||
| 376 | |||
| 377 | global.UIkit = UI; | ||
| 378 | |||
| 379 | // deprecated | ||
| 380 | |||
| 381 | UI.fn = function(command, options) { | ||
| 382 | |||
| 383 | var args = arguments, cmd = command.match(/^([a-z\-]+)(?:\.([a-z]+))?/i), component = cmd[1], method = cmd[2]; | ||
| 384 | |||
| 385 | if (!UI[component]) { | ||
| 386 | $.error("UIkit component [" + component + "] does not exist."); | ||
| 387 | return this; | ||
| 388 | } | ||
| 389 | |||
| 390 | return this.each(function() { | ||
| 391 | var $this = $(this), data = $this.data(component); | ||
| 392 | if (!data) $this.data(component, (data = UI[component](this, method ? undefined : options))); | ||
| 393 | if (method) data[method].apply(data, Array.prototype.slice.call(args, 1)); | ||
| 394 | }); | ||
| 395 | }; | ||
| 396 | |||
| 397 | $.UIkit = UI; | ||
| 398 | $.fn.uk = UI.fn; | ||
| 399 | |||
| 400 | UI.langdirection = UI.$html.attr("dir") == "rtl" ? "right" : "left"; | ||
| 401 | |||
| 402 | UI.components = {}; | ||
| 403 | |||
| 404 | UI.component = function(name, def) { | ||
| 405 | |||
| 406 | var fn = function(element, options) { | ||
| 407 | |||
| 408 | var $this = this; | ||
| 409 | |||
| 410 | this.UIkit = UI; | ||
| 411 | this.element = element ? UI.$(element) : null; | ||
| 412 | this.options = $.extend(true, {}, this.defaults, options); | ||
| 413 | this.plugins = {}; | ||
| 414 | |||
| 415 | if (this.element) { | ||
| 416 | this.element.data(name, this); | ||
| 417 | } | ||
| 418 | |||
| 419 | this.init(); | ||
| 420 | |||
| 421 | (this.options.plugins.length ? this.options.plugins : Object.keys(fn.plugins)).forEach(function(plugin) { | ||
| 422 | |||
| 423 | if (fn.plugins[plugin].init) { | ||
| 424 | fn.plugins[plugin].init($this); | ||
| 425 | $this.plugins[plugin] = true; | ||
| 426 | } | ||
| 427 | |||
| 428 | }); | ||
| 429 | |||
| 430 | this.trigger('init.uk.component', [name, this]); | ||
| 431 | |||
| 432 | return this; | ||
| 433 | }; | ||
| 434 | |||
| 435 | fn.plugins = {}; | ||
| 436 | |||
| 437 | $.extend(true, fn.prototype, { | ||
| 438 | |||
| 439 | defaults : {plugins: []}, | ||
| 440 | |||
| 441 | boot: function(){}, | ||
| 442 | init: function(){}, | ||
| 443 | |||
| 444 | on: function(a1,a2,a3){ | ||
| 445 | return UI.$(this.element || this).on(a1,a2,a3); | ||
| 446 | }, | ||
| 447 | |||
| 448 | one: function(a1,a2,a3){ | ||
| 449 | return UI.$(this.element || this).one(a1,a2,a3); | ||
| 450 | }, | ||
| 451 | |||
| 452 | off: function(evt){ | ||
| 453 | return UI.$(this.element || this).off(evt); | ||
| 454 | }, | ||
| 455 | |||
| 456 | trigger: function(evt, params) { | ||
| 457 | return UI.$(this.element || this).trigger(evt, params); | ||
| 458 | }, | ||
| 459 | |||
| 460 | find: function(selector) { | ||
| 461 | return UI.$(this.element ? this.element: []).find(selector); | ||
| 462 | }, | ||
| 463 | |||
| 464 | proxy: function(obj, methods) { | ||
| 465 | |||
| 466 | var $this = this; | ||
| 467 | |||
| 468 | methods.split(' ').forEach(function(method) { | ||
| 469 | if (!$this[method]) $this[method] = function() { return obj[method].apply(obj, arguments); }; | ||
| 470 | }); | ||
| 471 | }, | ||
| 472 | |||
| 473 | mixin: function(obj, methods) { | ||
| 474 | |||
| 475 | var $this = this; | ||
| 476 | |||
| 477 | methods.split(' ').forEach(function(method) { | ||
| 478 | if (!$this[method]) $this[method] = obj[method].bind($this); | ||
| 479 | }); | ||
| 480 | }, | ||
| 481 | |||
| 482 | option: function() { | ||
| 483 | |||
| 484 | if (arguments.length == 1) { | ||
| 485 | return this.options[arguments[0]] || undefined; | ||
| 486 | } else if (arguments.length == 2) { | ||
| 487 | this.options[arguments[0]] = arguments[1]; | ||
| 488 | } | ||
| 489 | } | ||
| 490 | |||
| 491 | }, def); | ||
| 492 | |||
| 493 | this.components[name] = fn; | ||
| 494 | |||
| 495 | this[name] = function() { | ||
| 496 | |||
| 497 | var element, options; | ||
| 498 | |||
| 499 | if (arguments.length) { | ||
| 500 | |||
| 501 | switch(arguments.length) { | ||
| 502 | case 1: | ||
| 503 | |||
| 504 | if (typeof arguments[0] === "string" || arguments[0].nodeType || arguments[0] instanceof jQuery) { | ||
| 505 | element = $(arguments[0]); | ||
| 506 | } else { | ||
| 507 | options = arguments[0]; | ||
| 508 | } | ||
| 509 | |||
| 510 | break; | ||
| 511 | case 2: | ||
| 512 | |||
| 513 | element = $(arguments[0]); | ||
| 514 | options = arguments[1]; | ||
| 515 | break; | ||
| 516 | } | ||
| 517 | } | ||
| 518 | |||
| 519 | if (element && element.data(name)) { | ||
| 520 | return element.data(name); | ||
| 521 | } | ||
| 522 | |||
| 523 | return (new UI.components[name](element, options)); | ||
| 524 | }; | ||
| 525 | |||
| 526 | if (UI.domready) { | ||
| 527 | UI.component.boot(name); | ||
| 528 | } | ||
| 529 | |||
| 530 | return fn; | ||
| 531 | }; | ||
| 532 | |||
| 533 | UI.plugin = function(component, name, def) { | ||
| 534 | this.components[component].plugins[name] = def; | ||
| 535 | }; | ||
| 536 | |||
| 537 | UI.component.boot = function(name) { | ||
| 538 | |||
| 539 | if (UI.components[name].prototype && UI.components[name].prototype.boot && !UI.components[name].booted) { | ||
| 540 | UI.components[name].prototype.boot.apply(UI, []); | ||
| 541 | UI.components[name].booted = true; | ||
| 542 | } | ||
| 543 | }; | ||
| 544 | |||
| 545 | UI.component.bootComponents = function() { | ||
| 546 | |||
| 547 | for (var component in UI.components) { | ||
| 548 | UI.component.boot(component); | ||
| 549 | } | ||
| 550 | }; | ||
| 551 | |||
| 552 | |||
| 553 | // DOM mutation save ready helper function | ||
| 554 | |||
| 555 | UI.domObservers = []; | ||
| 556 | UI.domready = false; | ||
| 557 | |||
| 558 | UI.ready = function(fn) { | ||
| 559 | |||
| 560 | UI.domObservers.push(fn); | ||
| 561 | |||
| 562 | if (UI.domready) { | ||
| 563 | fn(document); | ||
| 564 | } | ||
| 565 | }; | ||
| 566 | |||
| 567 | UI.on = function(a1,a2,a3){ | ||
| 568 | |||
| 569 | if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { | ||
| 570 | a2.apply(UI.$doc); | ||
| 571 | } | ||
| 572 | |||
| 573 | return UI.$doc.on(a1,a2,a3); | ||
| 574 | }; | ||
| 575 | |||
| 576 | UI.one = function(a1,a2,a3){ | ||
| 577 | |||
| 578 | if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { | ||
| 579 | a2.apply(UI.$doc); | ||
| 580 | return UI.$doc; | ||
| 581 | } | ||
| 582 | |||
| 583 | return UI.$doc.one(a1,a2,a3); | ||
| 584 | }; | ||
| 585 | |||
| 586 | UI.trigger = function(evt, params) { | ||
| 587 | return UI.$doc.trigger(evt, params); | ||
| 588 | }; | ||
| 589 | |||
| 590 | UI.domObserve = function(selector, fn) { | ||
| 591 | |||
| 592 | if(!UI.support.mutationobserver) return; | ||
| 593 | |||
| 594 | fn = fn || function() {}; | ||
| 595 | |||
| 596 | UI.$(selector).each(function() { | ||
| 597 | |||
| 598 | var element = this, | ||
| 599 | $element = UI.$(element); | ||
| 600 | |||
| 601 | if ($element.data('observer')) { | ||
| 602 | return; | ||
| 603 | } | ||
| 604 | |||
| 605 | try { | ||
| 606 | |||
| 607 | var observer = new UI.support.mutationobserver(UI.Utils.debounce(function(mutations) { | ||
| 608 | fn.apply(element, []); | ||
| 609 | $element.trigger('changed.uk.dom'); | ||
| 610 | }, 50), {childList: true, subtree: true}); | ||
| 611 | |||
| 612 | // pass in the target node, as well as the observer options | ||
| 613 | observer.observe(element, { childList: true, subtree: true }); | ||
| 614 | |||
| 615 | $element.data('observer', observer); | ||
| 616 | |||
| 617 | } catch(e) {} | ||
| 618 | }); | ||
| 619 | }; | ||
| 620 | |||
| 621 | UI.init = function(root) { | ||
| 622 | |||
| 623 | root = root || document; | ||
| 624 | |||
| 625 | UI.domObservers.forEach(function(fn){ | ||
| 626 | fn(root); | ||
| 627 | }); | ||
| 628 | }; | ||
| 629 | |||
| 630 | UI.on('domready.uk.dom', function(){ | ||
| 631 | |||
| 632 | UI.init(); | ||
| 633 | |||
| 634 | if (UI.domready) UI.Utils.checkDisplay(); | ||
| 635 | }); | ||
| 636 | |||
| 637 | document.addEventListener('DOMContentLoaded', function(){ | ||
| 638 | |||
| 639 | var domReady = function() { | ||
| 640 | |||
| 641 | UI.$body = UI.$('body'); | ||
| 642 | |||
| 643 | UI.trigger('beforeready.uk.dom'); | ||
| 644 | |||
| 645 | UI.component.bootComponents(); | ||
| 646 | |||
| 647 | // custom scroll observer | ||
| 648 | var rafToken = requestAnimationFrame((function(){ | ||
| 649 | |||
| 650 | var memory = {dir: {x:0, y:0}, x: window.pageXOffset, y:window.pageYOffset}; | ||
| 651 | |||
| 652 | var fn = function(){ | ||
| 653 | // reading this (window.page[X|Y]Offset) causes a full page recalc of the layout in Chrome, | ||
| 654 | // so we only want to do this once | ||
| 655 | var wpxo = window.pageXOffset; | ||
| 656 | var wpyo = window.pageYOffset; | ||
| 657 | |||
| 658 | // Did the scroll position change since the last time we were here? | ||
| 659 | if (memory.x != wpxo || memory.y != wpyo) { | ||
| 660 | |||
| 661 | // Set the direction of the scroll and store the new position | ||
| 662 | if (wpxo != memory.x) {memory.dir.x = wpxo > memory.x ? 1:-1; } else { memory.dir.x = 0; } | ||
| 663 | if (wpyo != memory.y) {memory.dir.y = wpyo > memory.y ? 1:-1; } else { memory.dir.y = 0; } | ||
| 664 | |||
| 665 | memory.x = wpxo; | ||
| 666 | memory.y = wpyo; | ||
| 667 | |||
| 668 | // Trigger the scroll event, this could probably be sent using memory.clone() but this is | ||
| 669 | // more explicit and easier to see exactly what is being sent in the event. | ||
| 670 | UI.$doc.trigger('scrolling.uk.document', [{ | ||
| 671 | "dir": {"x": memory.dir.x, "y": memory.dir.y}, "x": wpxo, "y": wpyo | ||
| 672 | }]); | ||
| 673 | } | ||
| 674 | |||
| 675 | cancelAnimationFrame(rafToken); | ||
| 676 | rafToken = requestAnimationFrame(fn); | ||
| 677 | }; | ||
| 678 | |||
| 679 | if (UI.support.touch) { | ||
| 680 | UI.$html.on('touchmove touchend MSPointerMove MSPointerUp pointermove pointerup', fn); | ||
| 681 | } | ||
| 682 | |||
| 683 | if (memory.x || memory.y) fn(); | ||
| 684 | |||
| 685 | return fn; | ||
| 686 | |||
| 687 | })()); | ||
| 688 | |||
| 689 | // run component init functions on dom | ||
| 690 | UI.trigger('domready.uk.dom'); | ||
| 691 | |||
| 692 | if (UI.support.touch) { | ||
| 693 | |||
| 694 | // remove css hover rules for touch devices | ||
| 695 | // UI.Utils.removeCssRules(/\.uk-(?!navbar).*:hover/); | ||
| 696 | |||
| 697 | // viewport unit fix for uk-height-viewport - should be fixed in iOS 8 | ||
| 698 | if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { | ||
| 699 | |||
| 700 | UI.$win.on('load orientationchange resize', UI.Utils.debounce((function(){ | ||
| 701 | |||
| 702 | var fn = function() { | ||
| 703 | $('.uk-height-viewport').css('height', window.innerHeight); | ||
| 704 | return fn; | ||
| 705 | }; | ||
| 706 | |||
| 707 | return fn(); | ||
| 708 | |||
| 709 | })(), 100)); | ||
| 710 | } | ||
| 711 | } | ||
| 712 | |||
| 713 | UI.trigger('afterready.uk.dom'); | ||
| 714 | |||
| 715 | // mark that domready is left behind | ||
| 716 | UI.domready = true; | ||
| 717 | |||
| 718 | // auto init js components | ||
| 719 | if (UI.support.mutationobserver) { | ||
| 720 | |||
| 721 | var initFn = UI.Utils.debounce(function(){ | ||
| 722 | requestAnimationFrame(function(){ UI.init(document.body);}); | ||
| 723 | }, 10); | ||
| 724 | |||
| 725 | (new UI.support.mutationobserver(function(mutations) { | ||
| 726 | |||
| 727 | var init = false; | ||
| 728 | |||
| 729 | mutations.every(function(mutation){ | ||
| 730 | |||
| 731 | if (mutation.type != 'childList') return true; | ||
| 732 | |||
| 733 | for (var i = 0, node; i < mutation.addedNodes.length; ++i) { | ||
| 734 | |||
| 735 | node = mutation.addedNodes[i]; | ||
| 736 | |||
| 737 | if (node.outerHTML && node.outerHTML.indexOf('data-uk-') !== -1) { | ||
| 738 | return (init = true) && false; | ||
| 739 | } | ||
| 740 | } | ||
| 741 | return true; | ||
| 742 | }); | ||
| 743 | |||
| 744 | if (init) initFn(); | ||
| 745 | |||
| 746 | })).observe(document.body, {childList: true, subtree: true}); | ||
| 747 | } | ||
| 748 | }; | ||
| 749 | |||
| 750 | if (document.readyState == 'complete' || document.readyState == 'interactive') { | ||
| 751 | setTimeout(domReady); | ||
| 752 | } | ||
| 753 | |||
| 754 | return domReady; | ||
| 755 | |||
| 756 | }()); | ||
| 757 | |||
| 758 | // add touch identifier class | ||
| 759 | UI.$html.addClass(UI.support.touch ? "uk-touch" : "uk-notouch"); | ||
| 760 | |||
| 761 | // add uk-hover class on tap to support overlays on touch devices | ||
| 762 | if (UI.support.touch) { | ||
| 763 | |||
| 764 | var hoverset = false, | ||
| 765 | exclude, | ||
| 766 | hovercls = 'uk-hover', | ||
| 767 | selector = '.uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover'; | ||
| 768 | |||
| 769 | UI.$html.on('mouseenter touchstart MSPointerDown pointerdown', selector, function() { | ||
| 770 | |||
| 771 | if (hoverset) $('.'+hovercls).removeClass(hovercls); | ||
| 772 | |||
| 773 | hoverset = $(this).addClass(hovercls); | ||
| 774 | |||
| 775 | }).on('mouseleave touchend MSPointerUp pointerup', function(e) { | ||
| 776 | |||
| 777 | exclude = $(e.target).parents(selector); | ||
| 778 | |||
| 779 | if (hoverset) { | ||
| 780 | hoverset.not(exclude).removeClass(hovercls); | ||
| 781 | } | ||
| 782 | }); | ||
| 783 | } | ||
| 784 | |||
| 785 | return UI; | ||
| 786 | }); | ||
| diff --git a/js/core/core.min.js b/js/core/core.min.js new file mode 100755 index 0000000..07642d0 --- /dev/null +++ b/js/core/core.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var n=window.UIkit||t(window,window.jQuery,window.document);return n.load=function(t,e,o,i){var r,a=t.split(","),s=[],u=(i.config&&i.config.uikit&&i.config.uikit.base?i.config.uikit.base:"").replace(/\/+$/g,"");if(!u)throw new Error("Please define base path to UIkit in the requirejs config.");for(r=0;r<a.length;r+=1){var c=a[r].replace(/\./g,"/");s.push(u+"/components/"+c)}e(s,function(){o(n)})},n}),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,n,e){"use strict";var o={},i=t.UIkit?Object.create(t.UIkit):void 0;if(o.version="2.26.4",o.noConflict=function(){return i&&(t.UIkit=i,n.UIkit=i,n.fn.uk=i.fn),o},o.prefix=function(t){return t},o.$=n,o.$doc=o.$(document),o.$win=o.$(window),o.$html=o.$("html"),o.support={},o.support.transition=function(){var t=function(){var t,n=e.body||e.documentElement,o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in o)if(void 0!==n.style[t])return o[t]}();return t&&{end:t}}(),o.support.animation=function(){var t=function(){var t,n=e.body||e.documentElement,o={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in o)if(void 0!==n.style[t])return o[t]}();return t&&{end:t}}(),function(){Date.now=Date.now||function(){return(new Date).getTime()};for(var t=["webkit","moz"],n=0;n<t.length&&!window.requestAnimationFrame;++n){var e=t[n];window.requestAnimationFrame=window[e+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var o=0;window.requestAnimationFrame=function(t){var n=Date.now(),e=Math.max(o+16,n);return setTimeout(function(){t(o=e)},e-n)},window.cancelAnimationFrame=clearTimeout}}(),o.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,o.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,o.Utils={},o.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},o.Utils.str2json=function(t,n){try{return n?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,n){return'"'+n+'":'}).replace(/'([^']+)'/g,function(t,n){return'"'+n+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(e){return!1}},o.Utils.debounce=function(t,n,e){var o;return function(){var i=this,r=arguments,a=function(){o=null,e||t.apply(i,r)},s=e&&!o;clearTimeout(o),o=setTimeout(a,n),s&&t.apply(i,r)}},o.Utils.throttle=function(t,n){var e=!1;return function(){e||(t.call(),e=!0,setTimeout(function(){e=!1},n))}},o.Utils.removeCssRules=function(t){var n,e,o,i,r,a,s,u,c,d;t&&setTimeout(function(){try{for(d=document.styleSheets,i=0,s=d.length;s>i;i++){for(o=d[i],e=[],o.cssRules=o.cssRules,n=r=0,u=o.cssRules.length;u>r;n=++r)o.cssRules[n].type===CSSRule.STYLE_RULE&&t.test(o.cssRules[n].selectorText)&&e.unshift(n);for(a=0,c=e.length;c>a;a++)o.deleteRule(e[a])}}catch(l){}},0)},o.Utils.isInView=function(t,e){var i=n(t);if(!i.is(":visible"))return!1;var r=o.$win.scrollLeft(),a=o.$win.scrollTop(),s=i.offset(),u=s.left,c=s.top;return e=n.extend({topoffset:0,leftoffset:0},e),c+i.height()>=a&&c-e.topoffset<=a+o.$win.height()&&u+i.width()>=r&&u-e.leftoffset<=r+o.$win.width()?!0:!1},o.Utils.checkDisplay=function(t,e){var i=o.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!i.length&&(i=n(t)),i.trigger("display.uk.check"),e&&("string"!=typeof e&&(e='[class*="uk-animation-"]'),i.find(e).each(function(){var t=o.$(this),n=t.attr("class"),e=n.match(/uk-animation-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])})),i},o.Utils.options=function(t){if("string"!=n.type(t))return t;-1!=t.indexOf(":")&&"}"!=t.trim().substr(-1)&&(t="{"+t+"}");var e=t?t.indexOf("{"):-1,i={};if(-1!=e)try{i=o.Utils.str2json(t.substr(e))}catch(r){}return i},o.Utils.animate=function(t,e){var i=n.Deferred();return t=o.$(t),t.css("display","none").addClass(e).one(o.support.animation.end,function(){t.removeClass(e),i.resolve()}),t.css("display",""),i.promise()},o.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},o.Utils.template=function(t,n){for(var e,o,i,r,a=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),s=0,u=[],c=0;s<a.length;){if(e=a[s],e.match(/\{\{\s*(.+?)\s*\}\}/))switch(s+=1,e=a[s],o=e[0],i=e.substring(e.match(/^(\^|\#|\!|\~|\:)/)?1:0),o){case"~":u.push("for(var $i=0;$i<"+i+".length;$i++) { var $item = "+i+"[$i];"),c++;break;case":":u.push("for(var $key in "+i+") { var $val = "+i+"[$key];"),c++;break;case"#":u.push("if("+i+") {"),c++;break;case"^":u.push("if(!"+i+") {"),c++;break;case"/":u.push("}"),c--;break;case"!":u.push("__ret.push("+i+");");break;default:u.push("__ret.push(escape("+i+"));")}else u.push("__ret.push('"+e.replace(/\'/g,"\\'")+"');");s+=1}return r=new Function("$data",["var __ret = [];","try {","with($data){",c?'__ret = ["Not all blocks are closed correctly."]':u.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&').replace(/\"/g, '"').replace(/</g, '<').replace(/>/g, '>');}"].join("\n")),n?r(n):r},o.Utils.events={},o.Utils.events.click=o.support.touch?"tap":"click",t.UIkit=o,o.fn=function(t,e){var i=arguments,r=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),a=r[1],s=r[2];return o[a]?this.each(function(){var t=n(this),r=t.data(a);r||t.data(a,r=o[a](this,s?void 0:e)),s&&r[s].apply(r,Array.prototype.slice.call(i,1))}):(n.error("UIkit component ["+a+"] does not exist."),this)},n.UIkit=o,n.fn.uk=o.fn,o.langdirection="rtl"==o.$html.attr("dir")?"right":"left",o.components={},o.component=function(t,e){var i=function(e,r){var a=this;return this.UIkit=o,this.element=e?o.$(e):null,this.options=n.extend(!0,{},this.defaults,r),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(i.plugins)).forEach(function(t){i.plugins[t].init&&(i.plugins[t].init(a),a.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return i.plugins={},n.extend(!0,i.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,n,e){return o.$(this.element||this).on(t,n,e)},one:function(t,n,e){return o.$(this.element||this).one(t,n,e)},off:function(t){return o.$(this.element||this).off(t)},trigger:function(t,n){return o.$(this.element||this).trigger(t,n)},find:function(t){return o.$(this.element?this.element:[]).find(t)},proxy:function(t,n){var e=this;n.split(" ").forEach(function(n){e[n]||(e[n]=function(){return t[n].apply(t,arguments)})})},mixin:function(t,n){var e=this;n.split(" ").forEach(function(n){e[n]||(e[n]=t[n].bind(e))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:(2==arguments.length&&(this.options[arguments[0]]=arguments[1]),void 0)}},e),this.components[t]=i,this[t]=function(){var e,i;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?e=n(arguments[0]):i=arguments[0];break;case 2:e=n(arguments[0]),i=arguments[1]}return e&&e.data(t)?e.data(t):new o.components[t](e,i)},o.domready&&o.component.boot(t),i},o.plugin=function(t,n,e){this.components[t].plugins[n]=e},o.component.boot=function(t){o.components[t].prototype&&o.components[t].prototype.boot&&!o.components[t].booted&&(o.components[t].prototype.boot.apply(o,[]),o.components[t].booted=!0)},o.component.bootComponents=function(){for(var t in o.components)o.component.boot(t)},o.domObservers=[],o.domready=!1,o.ready=function(t){o.domObservers.push(t),o.domready&&t(document)},o.on=function(t,n,e){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready&&n.apply(o.$doc),o.$doc.on(t,n,e)},o.one=function(t,n,e){return t&&t.indexOf("ready.uk.dom")>-1&&o.domready?(n.apply(o.$doc),o.$doc):o.$doc.one(t,n,e)},o.trigger=function(t,n){return o.$doc.trigger(t,n)},o.domObserve=function(t,n){o.support.mutationobserver&&(n=n||function(){},o.$(t).each(function(){var t=this,e=o.$(t);if(!e.data("observer"))try{var i=new o.support.mutationobserver(o.Utils.debounce(function(){n.apply(t,[]),e.trigger("changed.uk.dom")},50),{childList:!0,subtree:!0});i.observe(t,{childList:!0,subtree:!0}),e.data("observer",i)}catch(r){}}))},o.init=function(t){t=t||document,o.domObservers.forEach(function(n){n(t)})},o.on("domready.uk.dom",function(){o.init(),o.domready&&o.Utils.checkDisplay()}),document.addEventListener("DOMContentLoaded",function(){var t=function(){o.$body=o.$("body"),o.trigger("beforeready.uk.dom"),o.component.bootComponents();var t=requestAnimationFrame(function(){var n={dir:{x:0,y:0},x:window.pageXOffset,y:window.pageYOffset},e=function(){var i=window.pageXOffset,r=window.pageYOffset;(n.x!=i||n.y!=r)&&(n.dir.x=i!=n.x?i>n.x?1:-1:0,n.dir.y=r!=n.y?r>n.y?1:-1:0,n.x=i,n.y=r,o.$doc.trigger("scrolling.uk.document",[{dir:{x:n.dir.x,y:n.dir.y},x:i,y:r}])),cancelAnimationFrame(t),t=requestAnimationFrame(e)};return o.support.touch&&o.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",e),(n.x||n.y)&&e(),e}());if(o.trigger("domready.uk.dom"),o.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&o.$win.on("load orientationchange resize",o.Utils.debounce(function(){var t=function(){return n(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),o.trigger("afterready.uk.dom"),o.domready=!0,o.support.mutationobserver){var e=o.Utils.debounce(function(){requestAnimationFrame(function(){o.init(document.body)})},10);new o.support.mutationobserver(function(t){var n=!1;t.every(function(t){if("childList"!=t.type)return!0;for(var e,o=0;o<t.addedNodes.length;++o)if(e=t.addedNodes[o],e.outerHTML&&-1!==e.outerHTML.indexOf("data-uk-"))return(n=!0)&&!1;return!0}),n&&e()}).observe(document.body,{childList:!0,subtree:!0})}};return("complete"==document.readyState||"interactive"==document.readyState)&&setTimeout(t),t}()),o.$html.addClass(o.support.touch?"uk-touch":"uk-notouch"),o.support.touch){var r,a=!1,s="uk-hover",u=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";o.$html.on("mouseenter touchstart MSPointerDown pointerdown",u,function(){a&&n("."+s).removeClass(s),a=n(this).addClass(s)}).on("mouseleave touchend MSPointerUp pointerup",function(t){r=n(t.target).parents(u),a&&a.not(r).removeClass(s)})}return o}); \ No newline at end of file | ||
| diff --git a/js/core/cover.js b/js/core/cover.js new file mode 100755 index 0000000..046ac9d --- /dev/null +++ b/js/core/cover.js | |||
| @@ -0,0 +1,95 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI){ | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | UI.component('cover', { | ||
| 7 | |||
| 8 | defaults: { | ||
| 9 | automute : true | ||
| 10 | }, | ||
| 11 | |||
| 12 | boot: function() { | ||
| 13 | |||
| 14 | // auto init | ||
| 15 | UI.ready(function(context) { | ||
| 16 | |||
| 17 | UI.$("[data-uk-cover]", context).each(function(){ | ||
| 18 | |||
| 19 | var ele = UI.$(this); | ||
| 20 | |||
| 21 | if(!ele.data("cover")) { | ||
| 22 | var plugin = UI.cover(ele, UI.Utils.options(ele.attr("data-uk-cover"))); | ||
| 23 | } | ||
| 24 | }); | ||
| 25 | }); | ||
| 26 | }, | ||
| 27 | |||
| 28 | init: function() { | ||
| 29 | |||
| 30 | this.parent = this.element.parent(); | ||
| 31 | |||
| 32 | UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ | ||
| 33 | this.check(); | ||
| 34 | }.bind(this), 100)); | ||
| 35 | |||
| 36 | this.on("display.uk.check", function(e) { | ||
| 37 | if(this.element.is(":visible")) this.check(); | ||
| 38 | }.bind(this)); | ||
| 39 | |||
| 40 | this.check(); | ||
| 41 | |||
| 42 | if (this.element.is('iframe') && this.options.automute) { | ||
| 43 | |||
| 44 | var src = this.element.attr('src'); | ||
| 45 | |||
| 46 | this.element.attr('src', '').on('load', function(){ | ||
| 47 | |||
| 48 | this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); | ||
| 49 | |||
| 50 | }).attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1'].join('')); | ||
| 51 | } | ||
| 52 | }, | ||
| 53 | |||
| 54 | check: function() { | ||
| 55 | |||
| 56 | this.element.css({ | ||
| 57 | 'width' : '', | ||
| 58 | 'height' : '' | ||
| 59 | }); | ||
| 60 | |||
| 61 | this.dimension = {w: this.element.width(), h: this.element.height()}; | ||
| 62 | |||
| 63 | if (this.element.attr('width') && !isNaN(this.element.attr('width'))) { | ||
| 64 | this.dimension.w = this.element.attr('width'); | ||
| 65 | } | ||
| 66 | |||
| 67 | if (this.element.attr('height') && !isNaN(this.element.attr('height'))) { | ||
| 68 | this.dimension.h = this.element.attr('height'); | ||
| 69 | } | ||
| 70 | |||
| 71 | this.ratio = this.dimension.w / this.dimension.h; | ||
| 72 | |||
| 73 | var w = this.parent.width(), h = this.parent.height(), width, height; | ||
| 74 | |||
| 75 | // if element height < parent height (gap underneath) | ||
| 76 | if ((w / this.ratio) < h) { | ||
| 77 | |||
| 78 | width = Math.ceil(h * this.ratio); | ||
| 79 | height = h; | ||
| 80 | |||
| 81 | // element width < parent width (gap to right) | ||
| 82 | } else { | ||
| 83 | |||
| 84 | width = w; | ||
| 85 | height = Math.ceil(w / this.ratio); | ||
| 86 | } | ||
| 87 | |||
| 88 | this.element.css({ | ||
| 89 | 'width' : width, | ||
| 90 | 'height' : height | ||
| 91 | }); | ||
| 92 | } | ||
| 93 | }); | ||
| 94 | |||
| 95 | })(UIkit); | ||
| diff --git a/js/core/cover.min.js b/js/core/cover.min.js new file mode 100755 index 0000000..6bc18a9 --- /dev/null +++ b/js/core/cover.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(i){t.$("[data-uk-cover]",i).each(function(){var i=t.$(this);if(!i.data("cover")){t.cover(i,t.Utils.options(i.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var i=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[i,i.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,i,e=this.parent.width(),n=this.parent.height();e/this.ratio<n?(t=Math.ceil(n*this.ratio),i=n):(t=e,i=Math.ceil(e/this.ratio)),this.element.css({width:t,height:i})}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/dropdown.js b/js/core/dropdown.js new file mode 100755 index 0000000..1fa7035 --- /dev/null +++ b/js/core/dropdown.js | |||
| @@ -0,0 +1,525 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var active = false, hoverIdle, flips = { | ||
| 7 | 'x': { | ||
| 8 | "bottom-left" : 'bottom-right', | ||
| 9 | "bottom-right" : 'bottom-left', | ||
| 10 | "bottom-center" : 'bottom-center', | ||
| 11 | "top-left" : 'top-right', | ||
| 12 | "top-right" : 'top-left', | ||
| 13 | "top-center" : 'top-center', | ||
| 14 | "left-top" : 'right-top', | ||
| 15 | "left-bottom" : 'right-bottom', | ||
| 16 | "left-center" : 'right-center', | ||
| 17 | "right-top" : 'left-top', | ||
| 18 | "right-bottom" : 'left-bottom', | ||
| 19 | "right-center" : 'left-center' | ||
| 20 | }, | ||
| 21 | 'y': { | ||
| 22 | "bottom-left" : 'top-left', | ||
| 23 | "bottom-right" : 'top-right', | ||
| 24 | "bottom-center" : 'top-center', | ||
| 25 | "top-left" : 'bottom-left', | ||
| 26 | "top-right" : 'bottom-right', | ||
| 27 | "top-center" : 'bottom-center', | ||
| 28 | "left-top" : 'left-bottom', | ||
| 29 | "left-bottom" : 'left-top', | ||
| 30 | "left-center" : 'left-center', | ||
| 31 | "right-top" : 'right-bottom', | ||
| 32 | "right-bottom" : 'right-top', | ||
| 33 | "right-center" : 'right-center' | ||
| 34 | }, | ||
| 35 | 'xy': { | ||
| 36 | "bottom-left" : 'top-right', | ||
| 37 | "bottom-right" : 'top-left', | ||
| 38 | "bottom-center" : 'top-center', | ||
| 39 | "top-left" : 'bottom-right', | ||
| 40 | "top-right" : 'bottom-left', | ||
| 41 | "top-center" : 'bottom-center', | ||
| 42 | "left-top" : 'right-bottom', | ||
| 43 | "left-bottom" : 'right-top', | ||
| 44 | "left-center" : 'right-center', | ||
| 45 | "right-top" : 'left-bottom', | ||
| 46 | "right-bottom" : 'left-top', | ||
| 47 | "right-center" : 'left-center' | ||
| 48 | } | ||
| 49 | }; | ||
| 50 | |||
| 51 | UI.component('dropdown', { | ||
| 52 | |||
| 53 | defaults: { | ||
| 54 | 'mode' : 'hover', | ||
| 55 | 'pos' : 'bottom-left', | ||
| 56 | 'offset' : 0, | ||
| 57 | 'remaintime' : 800, | ||
| 58 | 'justify' : false, | ||
| 59 | 'boundary' : UI.$win, | ||
| 60 | 'delay' : 0, | ||
| 61 | 'dropdownSelector': '.uk-dropdown,.uk-dropdown-blank', | ||
| 62 | 'hoverDelayIdle' : 250, | ||
| 63 | 'preventflip' : false | ||
| 64 | }, | ||
| 65 | |||
| 66 | remainIdle: false, | ||
| 67 | |||
| 68 | boot: function() { | ||
| 69 | |||
| 70 | var triggerevent = UI.support.touch ? "click" : "mouseenter"; | ||
| 71 | |||
| 72 | // init code | ||
| 73 | UI.$html.on(triggerevent+".dropdown.uikit", "[data-uk-dropdown]", function(e) { | ||
| 74 | |||
| 75 | var ele = UI.$(this); | ||
| 76 | |||
| 77 | if (!ele.data("dropdown")) { | ||
| 78 | |||
| 79 | var dropdown = UI.dropdown(ele, UI.Utils.options(ele.attr("data-uk-dropdown"))); | ||
| 80 | |||
| 81 | if (triggerevent=="click" || (triggerevent=="mouseenter" && dropdown.options.mode=="hover")) { | ||
| 82 | dropdown.element.trigger(triggerevent); | ||
| 83 | } | ||
| 84 | |||
| 85 | if (dropdown.element.find(dropdown.options.dropdownSelector).length) { | ||
| 86 | e.preventDefault(); | ||
| 87 | } | ||
| 88 | } | ||
| 89 | }); | ||
| 90 | }, | ||
| 91 | |||
| 92 | init: function() { | ||
| 93 | |||
| 94 | var $this = this; | ||
| 95 | |||
| 96 | this.dropdown = this.find(this.options.dropdownSelector); | ||
| 97 | this.offsetParent = this.dropdown.parents().filter(function() { | ||
| 98 | return UI.$.inArray(UI.$(this).css('position'), ['relative', 'fixed', 'absolute']) !== -1; | ||
| 99 | }).slice(0,1); | ||
| 100 | |||
| 101 | this.centered = this.dropdown.hasClass('uk-dropdown-center'); | ||
| 102 | this.justified = this.options.justify ? UI.$(this.options.justify) : false; | ||
| 103 | |||
| 104 | this.boundary = UI.$(this.options.boundary); | ||
| 105 | |||
| 106 | if (!this.boundary.length) { | ||
| 107 | this.boundary = UI.$win; | ||
| 108 | } | ||
| 109 | |||
| 110 | // legacy DEPRECATED! | ||
| 111 | if (this.dropdown.hasClass('uk-dropdown-up')) { | ||
| 112 | this.options.pos = 'top-left'; | ||
| 113 | } | ||
| 114 | if (this.dropdown.hasClass('uk-dropdown-flip')) { | ||
| 115 | this.options.pos = this.options.pos.replace('left','right'); | ||
| 116 | } | ||
| 117 | if (this.dropdown.hasClass('uk-dropdown-center')) { | ||
| 118 | this.options.pos = this.options.pos.replace(/(left|right)/,'center'); | ||
| 119 | } | ||
| 120 | //-- end legacy | ||
| 121 | |||
| 122 | // Init ARIA | ||
| 123 | this.element.attr('aria-haspopup', 'true'); | ||
| 124 | this.element.attr('aria-expanded', this.element.hasClass("uk-open")); | ||
| 125 | |||
| 126 | if (this.options.mode == "click" || UI.support.touch) { | ||
| 127 | |||
| 128 | this.on("click.uk.dropdown", function(e) { | ||
| 129 | |||
| 130 | var $target = UI.$(e.target); | ||
| 131 | |||
| 132 | if (!$target.parents($this.options.dropdownSelector).length) { | ||
| 133 | |||
| 134 | if ($target.is("a[href='#']") || $target.parent().is("a[href='#']") || ($this.dropdown.length && !$this.dropdown.is(":visible")) ){ | ||
| 135 | e.preventDefault(); | ||
| 136 | } | ||
| 137 | |||
| 138 | $target.blur(); | ||
| 139 | } | ||
| 140 | |||
| 141 | if (!$this.element.hasClass('uk-open')) { | ||
| 142 | |||
| 143 | $this.show(); | ||
| 144 | |||
| 145 | } else { | ||
| 146 | |||
| 147 | if (!$this.dropdown.find(e.target).length || $target.is(".uk-dropdown-close") || $target.parents(".uk-dropdown-close").length) { | ||
| 148 | $this.hide(); | ||
| 149 | } | ||
| 150 | } | ||
| 151 | }); | ||
| 152 | |||
| 153 | } else { | ||
| 154 | |||
| 155 | this.on("mouseenter", function(e) { | ||
| 156 | |||
| 157 | $this.trigger('pointerenter.uk.dropdown', [$this]); | ||
| 158 | |||
| 159 | if ($this.remainIdle) { | ||
| 160 | clearTimeout($this.remainIdle); | ||
| 161 | } | ||
| 162 | |||
| 163 | if (hoverIdle) { | ||
| 164 | clearTimeout(hoverIdle); | ||
| 165 | } | ||
| 166 | |||
| 167 | if (active && active == $this) { | ||
| 168 | return; | ||
| 169 | } | ||
| 170 | |||
| 171 | // pseudo manuAim | ||
| 172 | if (active && active != $this) { | ||
| 173 | |||
| 174 | hoverIdle = setTimeout(function() { | ||
| 175 | hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); | ||
| 176 | }, $this.options.hoverDelayIdle); | ||
| 177 | |||
| 178 | } else { | ||
| 179 | |||
| 180 | hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); | ||
| 181 | } | ||
| 182 | |||
| 183 | }).on("mouseleave", function() { | ||
| 184 | |||
| 185 | if (hoverIdle) { | ||
| 186 | clearTimeout(hoverIdle); | ||
| 187 | } | ||
| 188 | |||
| 189 | $this.remainIdle = setTimeout(function() { | ||
| 190 | if (active && active == $this) $this.hide(); | ||
| 191 | }, $this.options.remaintime); | ||
| 192 | |||
| 193 | $this.trigger('pointerleave.uk.dropdown', [$this]); | ||
| 194 | |||
| 195 | }).on("click", function(e){ | ||
| 196 | |||
| 197 | var $target = UI.$(e.target); | ||
| 198 | |||
| 199 | if ($this.remainIdle) { | ||
| 200 | clearTimeout($this.remainIdle); | ||
| 201 | } | ||
| 202 | |||
| 203 | if (active && active == $this) { | ||
| 204 | if (!$this.dropdown.find(e.target).length || $target.is(".uk-dropdown-close") || $target.parents(".uk-dropdown-close").length) { | ||
| 205 | $this.hide(); | ||
| 206 | } | ||
| 207 | return; | ||
| 208 | } | ||
| 209 | |||
| 210 | if ($target.is("a[href='#']") || $target.parent().is("a[href='#']")){ | ||
| 211 | e.preventDefault(); | ||
| 212 | } | ||
| 213 | |||
| 214 | $this.show(); | ||
| 215 | }); | ||
| 216 | } | ||
| 217 | }, | ||
| 218 | |||
| 219 | show: function(){ | ||
| 220 | |||
| 221 | UI.$html.off("click.outer.dropdown"); | ||
| 222 | |||
| 223 | if (active && active != this) { | ||
| 224 | active.hide(true); | ||
| 225 | } | ||
| 226 | |||
| 227 | if (hoverIdle) { | ||
| 228 | clearTimeout(hoverIdle); | ||
| 229 | } | ||
| 230 | |||
| 231 | this.trigger('beforeshow.uk.dropdown', [this]); | ||
| 232 | |||
| 233 | this.checkDimensions(); | ||
| 234 | this.element.addClass('uk-open'); | ||
| 235 | |||
| 236 | // Update ARIA | ||
| 237 | this.element.attr('aria-expanded', 'true'); | ||
| 238 | |||
| 239 | this.trigger('show.uk.dropdown', [this]); | ||
| 240 | |||
| 241 | UI.Utils.checkDisplay(this.dropdown, true); | ||
| 242 | active = this; | ||
| 243 | |||
| 244 | this.registerOuterClick(); | ||
| 245 | }, | ||
| 246 | |||
| 247 | hide: function(force) { | ||
| 248 | |||
| 249 | this.trigger('beforehide.uk.dropdown', [this, force]); | ||
| 250 | |||
| 251 | this.element.removeClass('uk-open'); | ||
| 252 | |||
| 253 | if (this.remainIdle) { | ||
| 254 | clearTimeout(this.remainIdle); | ||
| 255 | } | ||
| 256 | |||
| 257 | this.remainIdle = false; | ||
| 258 | |||
| 259 | // Update ARIA | ||
| 260 | this.element.attr('aria-expanded', 'false'); | ||
| 261 | |||
| 262 | this.trigger('hide.uk.dropdown', [this, force]); | ||
| 263 | |||
| 264 | if (active == this) active = false; | ||
| 265 | }, | ||
| 266 | |||
| 267 | registerOuterClick: function(){ | ||
| 268 | |||
| 269 | var $this = this; | ||
| 270 | |||
| 271 | UI.$html.off("click.outer.dropdown"); | ||
| 272 | |||
| 273 | setTimeout(function() { | ||
| 274 | |||
| 275 | UI.$html.on("click.outer.dropdown", function(e) { | ||
| 276 | |||
| 277 | if (hoverIdle) { | ||
| 278 | clearTimeout(hoverIdle); | ||
| 279 | } | ||
| 280 | |||
| 281 | var $target = UI.$(e.target); | ||
| 282 | |||
| 283 | if (active == $this && !$this.element.find(e.target).length) { | ||
| 284 | $this.hide(true); | ||
| 285 | UI.$html.off("click.outer.dropdown"); | ||
| 286 | } | ||
| 287 | }); | ||
| 288 | }, 10); | ||
| 289 | }, | ||
| 290 | |||
| 291 | checkDimensions: function() { | ||
| 292 | |||
| 293 | if (!this.dropdown.length) return; | ||
| 294 | |||
| 295 | // reset | ||
| 296 | this.dropdown.removeClass('uk-dropdown-top uk-dropdown-bottom uk-dropdown-left uk-dropdown-right uk-dropdown-stack').css({ | ||
| 297 | 'top-left':'', | ||
| 298 | 'left':'', | ||
| 299 | 'margin-left' :'', | ||
| 300 | 'margin-right':'' | ||
| 301 | }); | ||
| 302 | |||
| 303 | if (this.justified && this.justified.length) { | ||
| 304 | this.dropdown.css("min-width", ""); | ||
| 305 | } | ||
| 306 | |||
| 307 | var $this = this, | ||
| 308 | pos = UI.$.extend({}, this.offsetParent.offset(), {width: this.offsetParent[0].offsetWidth, height: this.offsetParent[0].offsetHeight}), | ||
| 309 | posoffset = this.options.offset, | ||
| 310 | dropdown = this.dropdown, | ||
| 311 | offset = dropdown.show().offset() || {left: 0, top: 0}, | ||
| 312 | width = dropdown.outerWidth(), | ||
| 313 | height = dropdown.outerHeight(), | ||
| 314 | boundarywidth = this.boundary.width(), | ||
| 315 | boundaryoffset = this.boundary[0] !== window && this.boundary.offset() ? this.boundary.offset(): {top:0, left:0}, | ||
| 316 | dpos = this.options.pos; | ||
| 317 | |||
| 318 | var variants = { | ||
| 319 | "bottom-left" : {top: 0 + pos.height + posoffset, left: 0}, | ||
| 320 | "bottom-right" : {top: 0 + pos.height + posoffset, left: 0 + pos.width - width}, | ||
| 321 | "bottom-center" : {top: 0 + pos.height + posoffset, left: 0 + pos.width / 2 - width / 2}, | ||
| 322 | "top-left" : {top: 0 - height - posoffset, left: 0}, | ||
| 323 | "top-right" : {top: 0 - height - posoffset, left: 0 + pos.width - width}, | ||
| 324 | "top-center" : {top: 0 - height - posoffset, left: 0 + pos.width / 2 - width / 2}, | ||
| 325 | "left-top" : {top: 0, left: 0 - width - posoffset}, | ||
| 326 | "left-bottom" : {top: 0 + pos.height - height, left: 0 - width - posoffset}, | ||
| 327 | "left-center" : {top: 0 + pos.height / 2 - height / 2, left: 0 - width - posoffset}, | ||
| 328 | "right-top" : {top: 0, left: 0 + pos.width + posoffset}, | ||
| 329 | "right-bottom" : {top: 0 + pos.height - height, left: 0 + pos.width + posoffset}, | ||
| 330 | "right-center" : {top: 0 + pos.height / 2 - height / 2, left: 0 + pos.width + posoffset} | ||
| 331 | }, | ||
| 332 | css = {}, | ||
| 333 | pp; | ||
| 334 | |||
| 335 | pp = dpos.split('-'); | ||
| 336 | css = variants[dpos] ? variants[dpos] : variants['bottom-left']; | ||
| 337 | |||
| 338 | // justify dropdown | ||
| 339 | if (this.justified && this.justified.length) { | ||
| 340 | justify(dropdown.css({left:0}), this.justified, boundarywidth); | ||
| 341 | } else { | ||
| 342 | |||
| 343 | if (this.options.preventflip !== true) { | ||
| 344 | |||
| 345 | var fdpos; | ||
| 346 | |||
| 347 | switch(this.checkBoundary(pos.left + css.left, pos.top + css.top, width, height, boundarywidth)) { | ||
| 348 | case "x": | ||
| 349 | if(this.options.preventflip !=='x') fdpos = flips['x'][dpos] || 'right-top'; | ||
| 350 | break; | ||
| 351 | case "y": | ||
| 352 | if(this.options.preventflip !=='y') fdpos = flips['y'][dpos] || 'top-left'; | ||
| 353 | break; | ||
| 354 | case "xy": | ||
| 355 | if(!this.options.preventflip) fdpos = flips['xy'][dpos] || 'right-bottom'; | ||
| 356 | break; | ||
| 357 | } | ||
| 358 | |||
| 359 | if (fdpos) { | ||
| 360 | |||
| 361 | pp = fdpos.split('-'); | ||
| 362 | css = variants[fdpos] ? variants[fdpos] : variants['bottom-left']; | ||
| 363 | |||
| 364 | // check flipped | ||
| 365 | if (this.checkBoundary(pos.left + css.left, pos.top + css.top, width, height, boundarywidth)) { | ||
| 366 | pp = dpos.split('-'); | ||
| 367 | css = variants[dpos] ? variants[dpos] : variants['bottom-left']; | ||
| 368 | } | ||
| 369 | } | ||
| 370 | } | ||
| 371 | } | ||
| 372 | |||
| 373 | if (width > boundarywidth) { | ||
| 374 | dropdown.addClass("uk-dropdown-stack"); | ||
| 375 | this.trigger('stack.uk.dropdown', [this]); | ||
| 376 | } | ||
| 377 | |||
| 378 | dropdown.css(css).css("display", "").addClass('uk-dropdown-'+pp[0]); | ||
| 379 | }, | ||
| 380 | |||
| 381 | checkBoundary: function(left, top, width, height, boundarywidth) { | ||
| 382 | |||
| 383 | var axis = ""; | ||
| 384 | |||
| 385 | if (left < 0 || ((left - UI.$win.scrollLeft())+width) > boundarywidth) { | ||
| 386 | axis += "x"; | ||
| 387 | } | ||
| 388 | |||
| 389 | if ((top - UI.$win.scrollTop()) < 0 || ((top - UI.$win.scrollTop())+height) > window.innerHeight) { | ||
| 390 | axis += "y"; | ||
| 391 | } | ||
| 392 | |||
| 393 | return axis; | ||
| 394 | } | ||
| 395 | }); | ||
| 396 | |||
| 397 | |||
| 398 | UI.component('dropdownOverlay', { | ||
| 399 | |||
| 400 | defaults: { | ||
| 401 | 'justify' : false, | ||
| 402 | 'cls' : '', | ||
| 403 | 'duration': 200 | ||
| 404 | }, | ||
| 405 | |||
| 406 | boot: function() { | ||
| 407 | |||
| 408 | // init code | ||
| 409 | UI.ready(function(context) { | ||
| 410 | |||
| 411 | UI.$("[data-uk-dropdown-overlay]", context).each(function() { | ||
| 412 | var ele = UI.$(this); | ||
| 413 | |||
| 414 | if (!ele.data("dropdownOverlay")) { | ||
| 415 | UI.dropdownOverlay(ele, UI.Utils.options(ele.attr("data-uk-dropdown-overlay"))); | ||
| 416 | } | ||
| 417 | }); | ||
| 418 | }); | ||
| 419 | }, | ||
| 420 | |||
| 421 | init: function() { | ||
| 422 | |||
| 423 | var $this = this; | ||
| 424 | |||
| 425 | this.justified = this.options.justify ? UI.$(this.options.justify) : false; | ||
| 426 | this.overlay = this.element.find('uk-dropdown-overlay'); | ||
| 427 | |||
| 428 | if (!this.overlay.length) { | ||
| 429 | this.overlay = UI.$('<div class="uk-dropdown-overlay"></div>').appendTo(this.element); | ||
| 430 | } | ||
| 431 | |||
| 432 | this.overlay.addClass(this.options.cls); | ||
| 433 | |||
| 434 | this.on({ | ||
| 435 | |||
| 436 | 'beforeshow.uk.dropdown': function(e, dropdown) { | ||
| 437 | $this.dropdown = dropdown; | ||
| 438 | |||
| 439 | if ($this.justified && $this.justified.length) { | ||
| 440 | justify($this.overlay.css({'display':'block', 'margin-left':'','margin-right':''}), $this.justified, $this.justified.outerWidth()); | ||
| 441 | } | ||
| 442 | }, | ||
| 443 | |||
| 444 | 'show.uk.dropdown': function(e, dropdown) { | ||
| 445 | |||
| 446 | var h = $this.dropdown.dropdown.outerHeight(true); | ||
| 447 | |||
| 448 | $this.dropdown.element.removeClass('uk-open'); | ||
| 449 | |||
| 450 | $this.overlay.stop().css('display', 'block').animate({height: h}, $this.options.duration, function() { | ||
| 451 | |||
| 452 | $this.dropdown.dropdown.css('visibility', ''); | ||
| 453 | $this.dropdown.element.addClass('uk-open'); | ||
| 454 | |||
| 455 | UI.Utils.checkDisplay($this.dropdown.dropdown, true); | ||
| 456 | }); | ||
| 457 | |||
| 458 | $this.pointerleave = false; | ||
| 459 | }, | ||
| 460 | |||
| 461 | 'hide.uk.dropdown': function() { | ||
| 462 | $this.overlay.stop().animate({height: 0}, $this.options.duration); | ||
| 463 | }, | ||
| 464 | |||
| 465 | 'pointerenter.uk.dropdown': function(e, dropdown) { | ||
| 466 | clearTimeout($this.remainIdle); | ||
| 467 | }, | ||
| 468 | |||
| 469 | 'pointerleave.uk.dropdown': function(e, dropdown) { | ||
| 470 | $this.pointerleave = true; | ||
| 471 | } | ||
| 472 | }); | ||
| 473 | |||
| 474 | |||
| 475 | this.overlay.on({ | ||
| 476 | |||
| 477 | 'mouseenter': function() { | ||
| 478 | if ($this.remainIdle) { | ||
| 479 | clearTimeout($this.dropdown.remainIdle); | ||
| 480 | clearTimeout($this.remainIdle); | ||
| 481 | } | ||
| 482 | }, | ||
| 483 | |||
| 484 | 'mouseleave': function(){ | ||
| 485 | |||
| 486 | if ($this.pointerleave && active) { | ||
| 487 | |||
| 488 | $this.remainIdle = setTimeout(function() { | ||
| 489 | if(active) active.hide(); | ||
| 490 | }, active.options.remaintime); | ||
| 491 | } | ||
| 492 | } | ||
| 493 | }) | ||
| 494 | } | ||
| 495 | |||
| 496 | }); | ||
| 497 | |||
| 498 | |||
| 499 | function justify(ele, justifyTo, boundarywidth, offset) { | ||
| 500 | |||
| 501 | ele = UI.$(ele); | ||
| 502 | justifyTo = UI.$(justifyTo); | ||
| 503 | boundarywidth = boundarywidth || window.innerWidth; | ||
| 504 | offset = offset || ele.offset(); | ||
| 505 | |||
| 506 | if (justifyTo.length) { | ||
| 507 | |||
| 508 | var jwidth = justifyTo.outerWidth(); | ||
| 509 | |||
| 510 | ele.css("min-width", jwidth); | ||
| 511 | |||
| 512 | if (UI.langdirection == 'right') { | ||
| 513 | |||
| 514 | var right1 = boundarywidth - (justifyTo.offset().left + jwidth), | ||
| 515 | right2 = boundarywidth - (ele.offset().left + ele.outerWidth()); | ||
| 516 | |||
| 517 | ele.css("margin-right", right1 - right2); | ||
| 518 | |||
| 519 | } else { | ||
| 520 | ele.css("margin-left", justifyTo.offset().left - offset.left); | ||
| 521 | } | ||
| 522 | } | ||
| 523 | } | ||
| 524 | |||
| 525 | })(UIkit); | ||
| diff --git a/js/core/dropdown.min.js b/js/core/dropdown.min.js new file mode 100755 index 0000000..410c82e --- /dev/null +++ b/js/core/dropdown.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";function o(o,e,i,n){if(o=t.$(o),e=t.$(e),i=i||window.innerWidth,n=n||o.offset(),e.length){var r=e.outerWidth();if(o.css("min-width",r),"right"==t.langdirection){var s=i-(e.offset().left+r),d=i-(o.offset().left+o.outerWidth());o.css("margin-right",s-d)}else o.css("margin-left",e.offset().left-n.left)}}var e,i=!1,n={x:{"bottom-left":"bottom-right","bottom-right":"bottom-left","bottom-center":"bottom-center","top-left":"top-right","top-right":"top-left","top-center":"top-center","left-top":"right-top","left-bottom":"right-bottom","left-center":"right-center","right-top":"left-top","right-bottom":"left-bottom","right-center":"left-center"},y:{"bottom-left":"top-left","bottom-right":"top-right","bottom-center":"top-center","top-left":"bottom-left","top-right":"bottom-right","top-center":"bottom-center","left-top":"left-bottom","left-bottom":"left-top","left-center":"left-center","right-top":"right-bottom","right-bottom":"right-top","right-center":"right-center"},xy:{"bottom-left":"top-right","bottom-right":"top-left","bottom-center":"top-center","top-left":"bottom-right","top-right":"bottom-left","top-center":"bottom-center","left-top":"right-bottom","left-bottom":"right-top","left-center":"right-center","right-top":"left-bottom","right-bottom":"left-top","right-center":"left-center"}};t.component("dropdown",{defaults:{mode:"hover",pos:"bottom-left",offset:0,remaintime:800,justify:!1,boundary:t.$win,delay:0,dropdownSelector:".uk-dropdown,.uk-dropdown-blank",hoverDelayIdle:250,preventflip:!1},remainIdle:!1,boot:function(){var o=t.support.touch?"click":"mouseenter";t.$html.on(o+".dropdown.uikit","[data-uk-dropdown]",function(e){var i=t.$(this);if(!i.data("dropdown")){var n=t.dropdown(i,t.Utils.options(i.attr("data-uk-dropdown")));("click"==o||"mouseenter"==o&&"hover"==n.options.mode)&&n.element.trigger(o),n.element.find(n.options.dropdownSelector).length&&e.preventDefault()}})},init:function(){var o=this;this.dropdown=this.find(this.options.dropdownSelector),this.offsetParent=this.dropdown.parents().filter(function(){return-1!==t.$.inArray(t.$(this).css("position"),["relative","fixed","absolute"])}).slice(0,1),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=this.options.justify?t.$(this.options.justify):!1,this.boundary=t.$(this.options.boundary),this.boundary.length||(this.boundary=t.$win),this.dropdown.hasClass("uk-dropdown-up")&&(this.options.pos="top-left"),this.dropdown.hasClass("uk-dropdown-flip")&&(this.options.pos=this.options.pos.replace("left","right")),this.dropdown.hasClass("uk-dropdown-center")&&(this.options.pos=this.options.pos.replace(/(left|right)/,"center")),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uk.dropdown",function(e){var i=t.$(e.target);i.parents(o.options.dropdownSelector).length||((i.is("a[href='#']")||i.parent().is("a[href='#']")||o.dropdown.length&&!o.dropdown.is(":visible"))&&e.preventDefault(),i.blur()),o.element.hasClass("uk-open")?(!o.dropdown.find(e.target).length||i.is(".uk-dropdown-close")||i.parents(".uk-dropdown-close").length)&&o.hide():o.show()}):this.on("mouseenter",function(){o.trigger("pointerenter.uk.dropdown",[o]),o.remainIdle&&clearTimeout(o.remainIdle),e&&clearTimeout(e),i&&i==o||(e=i&&i!=o?setTimeout(function(){e=setTimeout(o.show.bind(o),o.options.delay)},o.options.hoverDelayIdle):setTimeout(o.show.bind(o),o.options.delay))}).on("mouseleave",function(){e&&clearTimeout(e),o.remainIdle=setTimeout(function(){i&&i==o&&o.hide()},o.options.remaintime),o.trigger("pointerleave.uk.dropdown",[o])}).on("click",function(e){var n=t.$(e.target);return o.remainIdle&&clearTimeout(o.remainIdle),i&&i==o?((!o.dropdown.find(e.target).length||n.is(".uk-dropdown-close")||n.parents(".uk-dropdown-close").length)&&o.hide(),void 0):((n.is("a[href='#']")||n.parent().is("a[href='#']"))&&e.preventDefault(),o.show(),void 0)})},show:function(){t.$html.off("click.outer.dropdown"),i&&i!=this&&i.hide(!0),e&&clearTimeout(e),this.trigger("beforeshow.uk.dropdown",[this]),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),i=this,this.registerOuterClick()},hide:function(t){this.trigger("beforehide.uk.dropdown",[this,t]),this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this,t]),i==this&&(i=!1)},registerOuterClick:function(){var o=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(n){e&&clearTimeout(e);t.$(n.target);i!=o||o.element.find(n.target).length||(o.hide(!0),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.dropdown.removeClass("uk-dropdown-top uk-dropdown-bottom uk-dropdown-left uk-dropdown-right uk-dropdown-stack").css({"top-left":"",left:"","margin-left":"","margin-right":""}),this.justified&&this.justified.length&&this.dropdown.css("min-width","");var e,i=t.$.extend({},this.offsetParent.offset(),{width:this.offsetParent[0].offsetWidth,height:this.offsetParent[0].offsetHeight}),r=this.options.offset,s=this.dropdown,d=(s.show().offset()||{left:0,top:0},s.outerWidth()),h=s.outerHeight(),l=this.boundary.width(),p=(this.boundary[0]!==window&&this.boundary.offset()?this.boundary.offset():{top:0,left:0},this.options.pos),a={"bottom-left":{top:0+i.height+r,left:0},"bottom-right":{top:0+i.height+r,left:0+i.width-d},"bottom-center":{top:0+i.height+r,left:0+i.width/2-d/2},"top-left":{top:0-h-r,left:0},"top-right":{top:0-h-r,left:0+i.width-d},"top-center":{top:0-h-r,left:0+i.width/2-d/2},"left-top":{top:0,left:0-d-r},"left-bottom":{top:0+i.height-h,left:0-d-r},"left-center":{top:0+i.height/2-h/2,left:0-d-r},"right-top":{top:0,left:0+i.width+r},"right-bottom":{top:0+i.height-h,left:0+i.width+r},"right-center":{top:0+i.height/2-h/2,left:0+i.width+r}},f={};if(e=p.split("-"),f=a[p]?a[p]:a["bottom-left"],this.justified&&this.justified.length)o(s.css({left:0}),this.justified,l);else if(this.options.preventflip!==!0){var u;switch(this.checkBoundary(i.left+f.left,i.top+f.top,d,h,l)){case"x":"x"!==this.options.preventflip&&(u=n.x[p]||"right-top");break;case"y":"y"!==this.options.preventflip&&(u=n.y[p]||"top-left");break;case"xy":this.options.preventflip||(u=n.xy[p]||"right-bottom")}u&&(e=u.split("-"),f=a[u]?a[u]:a["bottom-left"],this.checkBoundary(i.left+f.left,i.top+f.top,d,h,l)&&(e=p.split("-"),f=a[p]?a[p]:a["bottom-left"]))}d>l&&(s.addClass("uk-dropdown-stack"),this.trigger("stack.uk.dropdown",[this])),s.css(f).css("display","").addClass("uk-dropdown-"+e[0])}},checkBoundary:function(o,e,i,n,r){var s="";return(0>o||o-t.$win.scrollLeft()+i>r)&&(s+="x"),(e-t.$win.scrollTop()<0||e-t.$win.scrollTop()+n>window.innerHeight)&&(s+="y"),s}}),t.component("dropdownOverlay",{defaults:{justify:!1,cls:"",duration:200},boot:function(){t.ready(function(o){t.$("[data-uk-dropdown-overlay]",o).each(function(){var o=t.$(this);o.data("dropdownOverlay")||t.dropdownOverlay(o,t.Utils.options(o.attr("data-uk-dropdown-overlay")))})})},init:function(){var e=this;this.justified=this.options.justify?t.$(this.options.justify):!1,this.overlay=this.element.find("uk-dropdown-overlay"),this.overlay.length||(this.overlay=t.$('<div class="uk-dropdown-overlay"></div>').appendTo(this.element)),this.overlay.addClass(this.options.cls),this.on({"beforeshow.uk.dropdown":function(t,i){e.dropdown=i,e.justified&&e.justified.length&&o(e.overlay.css({display:"block","margin-left":"","margin-right":""}),e.justified,e.justified.outerWidth())},"show.uk.dropdown":function(){var o=e.dropdown.dropdown.outerHeight(!0);e.dropdown.element.removeClass("uk-open"),e.overlay.stop().css("display","block").animate({height:o},e.options.duration,function(){e.dropdown.dropdown.css("visibility",""),e.dropdown.element.addClass("uk-open"),t.Utils.checkDisplay(e.dropdown.dropdown,!0)}),e.pointerleave=!1},"hide.uk.dropdown":function(){e.overlay.stop().animate({height:0},e.options.duration)},"pointerenter.uk.dropdown":function(){clearTimeout(e.remainIdle)},"pointerleave.uk.dropdown":function(){e.pointerleave=!0}}),this.overlay.on({mouseenter:function(){e.remainIdle&&(clearTimeout(e.dropdown.remainIdle),clearTimeout(e.remainIdle))},mouseleave:function(){e.pointerleave&&i&&(e.remainIdle=setTimeout(function(){i&&i.hide()},i.options.remaintime))}})}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/grid.js b/js/core/grid.js new file mode 100755 index 0000000..2552f93 --- /dev/null +++ b/js/core/grid.js | |||
| @@ -0,0 +1,117 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var grids = []; | ||
| 7 | |||
| 8 | UI.component('gridMatchHeight', { | ||
| 9 | |||
| 10 | defaults: { | ||
| 11 | "target" : false, | ||
| 12 | "row" : true, | ||
| 13 | "ignorestacked" : false, | ||
| 14 | "observe" : false | ||
| 15 | }, | ||
| 16 | |||
| 17 | boot: function() { | ||
| 18 | |||
| 19 | // init code | ||
| 20 | UI.ready(function(context) { | ||
| 21 | |||
| 22 | UI.$("[data-uk-grid-match]", context).each(function() { | ||
| 23 | var grid = UI.$(this), obj; | ||
| 24 | |||
| 25 | if (!grid.data("gridMatchHeight")) { | ||
| 26 | obj = UI.gridMatchHeight(grid, UI.Utils.options(grid.attr("data-uk-grid-match"))); | ||
| 27 | } | ||
| 28 | }); | ||
| 29 | }); | ||
| 30 | }, | ||
| 31 | |||
| 32 | init: function() { | ||
| 33 | |||
| 34 | var $this = this; | ||
| 35 | |||
| 36 | this.columns = this.element.children(); | ||
| 37 | this.elements = this.options.target ? this.find(this.options.target) : this.columns; | ||
| 38 | |||
| 39 | if (!this.columns.length) return; | ||
| 40 | |||
| 41 | UI.$win.on('load resize orientationchange', (function() { | ||
| 42 | |||
| 43 | var fn = function() { | ||
| 44 | if ($this.element.is(":visible")) $this.match(); | ||
| 45 | }; | ||
| 46 | |||
| 47 | UI.$(function() { fn(); }); | ||
| 48 | |||
| 49 | return UI.Utils.debounce(fn, 50); | ||
| 50 | })()); | ||
| 51 | |||
| 52 | if (this.options.observe) { | ||
| 53 | |||
| 54 | UI.domObserve(this.element, function(e) { | ||
| 55 | if ($this.element.is(":visible")) $this.match(); | ||
| 56 | }); | ||
| 57 | } | ||
| 58 | |||
| 59 | this.on("display.uk.check", function(e) { | ||
| 60 | if(this.element.is(":visible")) this.match(); | ||
| 61 | }.bind(this)); | ||
| 62 | |||
| 63 | grids.push(this); | ||
| 64 | }, | ||
| 65 | |||
| 66 | match: function() { | ||
| 67 | |||
| 68 | var firstvisible = this.columns.filter(":visible:first"); | ||
| 69 | |||
| 70 | if (!firstvisible.length) return; | ||
| 71 | |||
| 72 | var stacked = Math.ceil(100 * parseFloat(firstvisible.css('width')) / parseFloat(firstvisible.parent().css('width'))) >= 100; | ||
| 73 | |||
| 74 | if (stacked && !this.options.ignorestacked) { | ||
| 75 | this.revert(); | ||
| 76 | } else { | ||
| 77 | UI.Utils.matchHeights(this.elements, this.options); | ||
| 78 | } | ||
| 79 | |||
| 80 | return this; | ||
| 81 | }, | ||
| 82 | |||
| 83 | revert: function() { | ||
| 84 | this.elements.css('min-height', ''); | ||
| 85 | return this; | ||
| 86 | } | ||
| 87 | }); | ||
| 88 | |||
| 89 | UI.component('gridMargin', { | ||
| 90 | |||
| 91 | defaults: { | ||
| 92 | cls : 'uk-grid-margin', | ||
| 93 | rowfirst : 'uk-row-first' | ||
| 94 | }, | ||
| 95 | |||
| 96 | boot: function() { | ||
| 97 | |||
| 98 | // init code | ||
| 99 | UI.ready(function(context) { | ||
| 100 | |||
| 101 | UI.$("[data-uk-grid-margin]", context).each(function() { | ||
| 102 | var grid = UI.$(this), obj; | ||
| 103 | |||
| 104 | if (!grid.data("gridMargin")) { | ||
| 105 | obj = UI.gridMargin(grid, UI.Utils.options(grid.attr("data-uk-grid-margin"))); | ||
| 106 | } | ||
| 107 | }); | ||
| 108 | }); | ||
| 109 | }, | ||
| 110 | |||
| 111 | init: function() { | ||
| 112 | |||
| 113 | var stackMargin = UI.stackMargin(this.element, this.options); | ||
| 114 | } | ||
| 115 | }); | ||
| 116 | |||
| 117 | })(UIkit); | ||
| diff --git a/js/core/grid.min.js b/js/core/grid.min.js new file mode 100755 index 0000000..fe52a52 --- /dev/null +++ b/js/core/grid.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";var i=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1,observe:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid-match]",i).each(function(){var i,n=t.$(this);n.data("gridMatchHeight")||(i=t.gridMatchHeight(n,t.Utils.options(n.attr("data-uk-grid-match"))))})})},init:function(){var n=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var i=function(){n.element.is(":visible")&&n.match()};return t.$(function(){i()}),t.Utils.debounce(i,50)}()),this.options.observe&&t.domObserve(this.element,function(){n.element.is(":visible")&&n.match()}),this.on("display.uk.check",function(){this.element.is(":visible")&&this.match()}.bind(this)),i.push(this))},match:function(){var i=this.columns.filter(":visible:first");if(i.length){var n=Math.ceil(100*parseFloat(i.css("width"))/parseFloat(i.parent().css("width")))>=100;return n&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin",rowfirst:"uk-row-first"},boot:function(){t.ready(function(i){t.$("[data-uk-grid-margin]",i).each(function(){var i,n=t.$(this);n.data("gridMargin")||(i=t.gridMargin(n,t.Utils.options(n.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/modal.js b/js/core/modal.js new file mode 100755 index 0000000..74d122d --- /dev/null +++ b/js/core/modal.js | |||
| @@ -0,0 +1,393 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var active = false, activeCount = 0, $html = UI.$html, body; | ||
| 7 | |||
| 8 | UI.$win.on("resize orientationchange", UI.Utils.debounce(function(){ | ||
| 9 | UI.$('.uk-modal.uk-open').each(function(){ | ||
| 10 | UI.$(this).data('modal').resize(); | ||
| 11 | }); | ||
| 12 | }, 150)); | ||
| 13 | |||
| 14 | UI.component('modal', { | ||
| 15 | |||
| 16 | defaults: { | ||
| 17 | keyboard: true, | ||
| 18 | bgclose: true, | ||
| 19 | minScrollHeight: 150, | ||
| 20 | center: false, | ||
| 21 | modal: true | ||
| 22 | }, | ||
| 23 | |||
| 24 | scrollable: false, | ||
| 25 | transition: false, | ||
| 26 | hasTransitioned: true, | ||
| 27 | |||
| 28 | init: function() { | ||
| 29 | |||
| 30 | if (!body) body = UI.$('body'); | ||
| 31 | |||
| 32 | if (!this.element.length) return; | ||
| 33 | |||
| 34 | var $this = this; | ||
| 35 | |||
| 36 | this.paddingdir = "padding-" + (UI.langdirection == 'left' ? "right":"left"); | ||
| 37 | this.dialog = this.find(".uk-modal-dialog"); | ||
| 38 | |||
| 39 | this.active = false; | ||
| 40 | |||
| 41 | // Update ARIA | ||
| 42 | this.element.attr('aria-hidden', this.element.hasClass("uk-open")); | ||
| 43 | |||
| 44 | this.on("click", ".uk-modal-close", function(e) { | ||
| 45 | e.preventDefault(); | ||
| 46 | $this.hide(); | ||
| 47 | }).on("click", function(e) { | ||
| 48 | |||
| 49 | var target = UI.$(e.target); | ||
| 50 | |||
| 51 | if (target[0] == $this.element[0] && $this.options.bgclose) { | ||
| 52 | $this.hide(); | ||
| 53 | } | ||
| 54 | }); | ||
| 55 | |||
| 56 | UI.domObserve(this.element, function(e) { $this.resize(); }); | ||
| 57 | }, | ||
| 58 | |||
| 59 | toggle: function() { | ||
| 60 | return this[this.isActive() ? "hide" : "show"](); | ||
| 61 | }, | ||
| 62 | |||
| 63 | show: function() { | ||
| 64 | |||
| 65 | if (!this.element.length) return; | ||
| 66 | |||
| 67 | var $this = this; | ||
| 68 | |||
| 69 | if (this.isActive()) return; | ||
| 70 | |||
| 71 | if (this.options.modal && active) { | ||
| 72 | active.hide(true); | ||
| 73 | } | ||
| 74 | |||
| 75 | this.element.removeClass("uk-open").show(); | ||
| 76 | this.resize(true); | ||
| 77 | |||
| 78 | if (this.options.modal) { | ||
| 79 | active = this; | ||
| 80 | } | ||
| 81 | |||
| 82 | this.active = true; | ||
| 83 | |||
| 84 | activeCount++; | ||
| 85 | |||
| 86 | if (UI.support.transition) { | ||
| 87 | this.hasTransitioned = false; | ||
| 88 | this.element.one(UI.support.transition.end, function(){ | ||
| 89 | $this.hasTransitioned = true; | ||
| 90 | }).addClass("uk-open"); | ||
| 91 | } else { | ||
| 92 | this.element.addClass("uk-open"); | ||
| 93 | } | ||
| 94 | |||
| 95 | $html.addClass("uk-modal-page").height(); // force browser engine redraw | ||
| 96 | |||
| 97 | // Update ARIA | ||
| 98 | this.element.attr('aria-hidden', 'false'); | ||
| 99 | |||
| 100 | this.element.trigger("show.uk.modal"); | ||
| 101 | |||
| 102 | UI.Utils.checkDisplay(this.dialog, true); | ||
| 103 | |||
| 104 | return this; | ||
| 105 | }, | ||
| 106 | |||
| 107 | hide: function(force) { | ||
| 108 | |||
| 109 | if (!force && UI.support.transition && this.hasTransitioned) { | ||
| 110 | |||
| 111 | var $this = this; | ||
| 112 | |||
| 113 | this.one(UI.support.transition.end, function() { | ||
| 114 | $this._hide(); | ||
| 115 | }).removeClass("uk-open"); | ||
| 116 | |||
| 117 | } else { | ||
| 118 | |||
| 119 | this._hide(); | ||
| 120 | } | ||
| 121 | |||
| 122 | return this; | ||
| 123 | }, | ||
| 124 | |||
| 125 | resize: function(force) { | ||
| 126 | |||
| 127 | if (!this.isActive() && !force) return; | ||
| 128 | |||
| 129 | var bodywidth = body.width(); | ||
| 130 | |||
| 131 | this.scrollbarwidth = window.innerWidth - bodywidth; | ||
| 132 | |||
| 133 | body.css(this.paddingdir, this.scrollbarwidth); | ||
| 134 | |||
| 135 | this.element.css('overflow-y', this.scrollbarwidth ? 'scroll' : 'auto'); | ||
| 136 | |||
| 137 | if (!this.updateScrollable() && this.options.center) { | ||
| 138 | |||
| 139 | var dh = this.dialog.outerHeight(), | ||
| 140 | pad = parseInt(this.dialog.css('margin-top'), 10) + parseInt(this.dialog.css('margin-bottom'), 10); | ||
| 141 | |||
| 142 | if ((dh + pad) < window.innerHeight) { | ||
| 143 | this.dialog.css({'top': (window.innerHeight/2 - dh/2) - pad }); | ||
| 144 | } else { | ||
| 145 | this.dialog.css({'top': ''}); | ||
| 146 | } | ||
| 147 | } | ||
| 148 | }, | ||
| 149 | |||
| 150 | updateScrollable: function() { | ||
| 151 | |||
| 152 | // has scrollable? | ||
| 153 | var scrollable = this.dialog.find('.uk-overflow-container:visible:first'); | ||
| 154 | |||
| 155 | if (scrollable.length) { | ||
| 156 | |||
| 157 | scrollable.css('height', 0); | ||
| 158 | |||
| 159 | var offset = Math.abs(parseInt(this.dialog.css('margin-top'), 10)), | ||
| 160 | dh = this.dialog.outerHeight(), | ||
| 161 | wh = window.innerHeight, | ||
| 162 | h = wh - 2*(offset < 20 ? 20:offset) - dh; | ||
| 163 | |||
| 164 | scrollable.css({ | ||
| 165 | 'max-height': (h < this.options.minScrollHeight ? '':h), | ||
| 166 | 'height':'' | ||
| 167 | }); | ||
| 168 | |||
| 169 | return true; | ||
| 170 | } | ||
| 171 | |||
| 172 | return false; | ||
| 173 | }, | ||
| 174 | |||
| 175 | _hide: function() { | ||
| 176 | |||
| 177 | this.active = false; | ||
| 178 | if (activeCount > 0) activeCount--; | ||
| 179 | else activeCount = 0; | ||
| 180 | |||
| 181 | this.element.hide().removeClass('uk-open'); | ||
| 182 | |||
| 183 | // Update ARIA | ||
| 184 | this.element.attr('aria-hidden', 'true'); | ||
| 185 | |||
| 186 | if (!activeCount) { | ||
| 187 | $html.removeClass('uk-modal-page'); | ||
| 188 | body.css(this.paddingdir, ""); | ||
| 189 | } | ||
| 190 | |||
| 191 | if (active===this) active = false; | ||
| 192 | |||
| 193 | this.trigger('hide.uk.modal'); | ||
| 194 | }, | ||
| 195 | |||
| 196 | isActive: function() { | ||
| 197 | return this.element.hasClass('uk-open'); | ||
| 198 | } | ||
| 199 | |||
| 200 | }); | ||
| 201 | |||
| 202 | UI.component('modalTrigger', { | ||
| 203 | |||
| 204 | boot: function() { | ||
| 205 | |||
| 206 | // init code | ||
| 207 | UI.$html.on("click.modal.uikit", "[data-uk-modal]", function(e) { | ||
| 208 | |||
| 209 | var ele = UI.$(this); | ||
| 210 | |||
| 211 | if (ele.is("a")) { | ||
| 212 | e.preventDefault(); | ||
| 213 | } | ||
| 214 | |||
| 215 | if (!ele.data("modalTrigger")) { | ||
| 216 | var modal = UI.modalTrigger(ele, UI.Utils.options(ele.attr("data-uk-modal"))); | ||
| 217 | modal.show(); | ||
| 218 | } | ||
| 219 | |||
| 220 | }); | ||
| 221 | |||
| 222 | // close modal on esc button | ||
| 223 | UI.$html.on('keydown.modal.uikit', function (e) { | ||
| 224 | |||
| 225 | if (active && e.keyCode === 27 && active.options.keyboard) { // ESC | ||
| 226 | e.preventDefault(); | ||
| 227 | active.hide(); | ||
| 228 | } | ||
| 229 | }); | ||
| 230 | }, | ||
| 231 | |||
| 232 | init: function() { | ||
| 233 | |||
| 234 | var $this = this; | ||
| 235 | |||
| 236 | this.options = UI.$.extend({ | ||
| 237 | "target": $this.element.is("a") ? $this.element.attr("href") : false | ||
| 238 | }, this.options); | ||
| 239 | |||
| 240 | this.modal = UI.modal(this.options.target, this.options); | ||
| 241 | |||
| 242 | this.on("click", function(e) { | ||
| 243 | e.preventDefault(); | ||
| 244 | $this.show(); | ||
| 245 | }); | ||
| 246 | |||
| 247 | //methods | ||
| 248 | this.proxy(this.modal, "show hide isActive"); | ||
| 249 | } | ||
| 250 | }); | ||
| 251 | |||
| 252 | UI.modal.dialog = function(content, options) { | ||
| 253 | |||
| 254 | var modal = UI.modal(UI.$(UI.modal.dialog.template).appendTo("body"), options); | ||
| 255 | |||
| 256 | modal.on("hide.uk.modal", function(){ | ||
| 257 | if (modal.persist) { | ||
| 258 | modal.persist.appendTo(modal.persist.data("modalPersistParent")); | ||
| 259 | modal.persist = false; | ||
| 260 | } | ||
| 261 | modal.element.remove(); | ||
| 262 | }); | ||
| 263 | |||
| 264 | setContent(content, modal); | ||
| 265 | |||
| 266 | return modal; | ||
| 267 | }; | ||
| 268 | |||
| 269 | UI.modal.dialog.template = '<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>'; | ||
| 270 | |||
| 271 | UI.modal.alert = function(content, options) { | ||
| 272 | |||
| 273 | options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); | ||
| 274 | |||
| 275 | var modal = UI.modal.dialog(([ | ||
| 276 | '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', | ||
| 277 | '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+options.labels.Ok+'</button></div>' | ||
| 278 | ]).join(""), options); | ||
| 279 | |||
| 280 | modal.on('show.uk.modal', function(){ | ||
| 281 | setTimeout(function(){ | ||
| 282 | modal.element.find('button:first').focus(); | ||
| 283 | }, 50); | ||
| 284 | }); | ||
| 285 | |||
| 286 | return modal.show(); | ||
| 287 | }; | ||
| 288 | |||
| 289 | UI.modal.confirm = function(content, onconfirm, oncancel) { | ||
| 290 | |||
| 291 | var options = arguments.length > 1 && arguments[arguments.length-1] ? arguments[arguments.length-1] : {}; | ||
| 292 | |||
| 293 | onconfirm = UI.$.isFunction(onconfirm) ? onconfirm : function(){}; | ||
| 294 | oncancel = UI.$.isFunction(oncancel) ? oncancel : function(){}; | ||
| 295 | options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, UI.$.isFunction(options) ? {}:options); | ||
| 296 | |||
| 297 | var modal = UI.modal.dialog(([ | ||
| 298 | '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', | ||
| 299 | '<div class="uk-modal-footer uk-text-right"><button class="uk-button js-modal-confirm-cancel">'+options.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-confirm">'+options.labels.Ok+'</button></div>' | ||
| 300 | ]).join(""), options); | ||
| 301 | |||
| 302 | modal.element.find(".js-modal-confirm, .js-modal-confirm-cancel").on("click", function(){ | ||
| 303 | UI.$(this).is('.js-modal-confirm') ? onconfirm() : oncancel(); | ||
| 304 | modal.hide(); | ||
| 305 | }); | ||
| 306 | |||
| 307 | modal.on('show.uk.modal', function(){ | ||
| 308 | setTimeout(function(){ | ||
| 309 | modal.element.find('.js-modal-confirm').focus(); | ||
| 310 | }, 50); | ||
| 311 | }); | ||
| 312 | |||
| 313 | return modal.show(); | ||
| 314 | }; | ||
| 315 | |||
| 316 | UI.modal.prompt = function(text, value, onsubmit, options) { | ||
| 317 | |||
| 318 | onsubmit = UI.$.isFunction(onsubmit) ? onsubmit : function(value){}; | ||
| 319 | options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); | ||
| 320 | |||
| 321 | var modal = UI.modal.dialog(([ | ||
| 322 | text ? '<div class="uk-modal-content uk-form">'+String(text)+'</div>':'', | ||
| 323 | '<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>', | ||
| 324 | '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-ok">'+options.labels.Ok+'</button></div>' | ||
| 325 | ]).join(""), options), | ||
| 326 | |||
| 327 | input = modal.element.find("input[type='text']").val(value || '').on('keyup', function(e){ | ||
| 328 | if (e.keyCode == 13) { | ||
| 329 | modal.element.find(".js-modal-ok").trigger('click'); | ||
| 330 | } | ||
| 331 | }); | ||
| 332 | |||
| 333 | modal.element.find(".js-modal-ok").on("click", function(){ | ||
| 334 | if (onsubmit(input.val())!==false){ | ||
| 335 | modal.hide(); | ||
| 336 | } | ||
| 337 | }); | ||
| 338 | |||
| 339 | modal.on('show.uk.modal', function(){ | ||
| 340 | setTimeout(function(){ | ||
| 341 | input.focus(); | ||
| 342 | }, 50); | ||
| 343 | }); | ||
| 344 | |||
| 345 | return modal.show(); | ||
| 346 | }; | ||
| 347 | |||
| 348 | UI.modal.blockUI = function(content, options) { | ||
| 349 | |||
| 350 | var modal = UI.modal.dialog(([ | ||
| 351 | '<div class="uk-margin uk-modal-content">'+String(content || '<div class="uk-text-center">...</div>')+'</div>' | ||
| 352 | ]).join(""), UI.$.extend({bgclose:false, keyboard:false, modal:false}, options)); | ||
| 353 | |||
| 354 | modal.content = modal.element.find('.uk-modal-content:first'); | ||
| 355 | |||
| 356 | return modal.show(); | ||
| 357 | }; | ||
| 358 | |||
| 359 | |||
| 360 | UI.modal.labels = { | ||
| 361 | 'Ok': 'Ok', | ||
| 362 | 'Cancel': 'Cancel' | ||
| 363 | }; | ||
| 364 | |||
| 365 | |||
| 366 | // helper functions | ||
| 367 | function setContent(content, modal){ | ||
| 368 | |||
| 369 | if(!modal) return; | ||
| 370 | |||
| 371 | if (typeof content === 'object') { | ||
| 372 | |||
| 373 | // convert DOM object to a jQuery object | ||
| 374 | content = content instanceof jQuery ? content : UI.$(content); | ||
| 375 | |||
| 376 | if(content.parent().length) { | ||
| 377 | modal.persist = content; | ||
| 378 | modal.persist.data("modalPersistParent", content.parent()); | ||
| 379 | } | ||
| 380 | }else if (typeof content === 'string' || typeof content === 'number') { | ||
| 381 | // just insert the data as innerHTML | ||
| 382 | content = UI.$('<div></div>').html(content); | ||
| 383 | }else { | ||
| 384 | // unsupported data type! | ||
| 385 | content = UI.$('<div></div>').html('UIkit.modal Error: Unsupported data type: ' + typeof content); | ||
| 386 | } | ||
| 387 | |||
| 388 | content.appendTo(modal.element.find('.uk-modal-dialog')); | ||
| 389 | |||
| 390 | return modal; | ||
| 391 | } | ||
| 392 | |||
| 393 | })(UIkit); | ||
| diff --git a/js/core/modal.min.js b/js/core/modal.min.js new file mode 100755 index 0000000..6dc903a --- /dev/null +++ b/js/core/modal.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";function i(i,e){return e?("object"==typeof i?(i=i instanceof jQuery?i:t.$(i),i.parent().length&&(e.persist=i,e.persist.data("modalPersistParent",i.parent()))):i="string"==typeof i||"number"==typeof i?t.$("<div></div>").html(i):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof i),i.appendTo(e.element.find(".uk-modal-dialog")),e):void 0}var e,o=!1,n=0,s=t.$html;t.$win.on("resize orientationchange",t.Utils.debounce(function(){t.$(".uk-modal.uk-open").each(function(){t.$(this).data("modal").resize()})},150)),t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,hasTransitioned:!0,init:function(){if(e||(e=t.$("body")),this.element.length){var i=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),i.hide()}).on("click",function(e){var o=t.$(e.target);o[0]==i.element[0]&&i.options.bgclose&&i.hide()}),t.domObserve(this.element,function(){i.resize()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){var i=this;if(!this.isActive())return this.options.modal&&o&&o.hide(!0),this.element.removeClass("uk-open").show(),this.resize(!0),this.options.modal&&(o=this),this.active=!0,n++,t.support.transition?(this.hasTransitioned=!1,this.element.one(t.support.transition.end,function(){i.hasTransitioned=!0}).addClass("uk-open")):this.element.addClass("uk-open"),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(i){if(!i&&t.support.transition&&this.hasTransitioned){var e=this;this.one(t.support.transition.end,function(){e._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(t){if(this.isActive()||t){var i=e.width();if(this.scrollbarwidth=window.innerWidth-i,e.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var o=this.dialog.outerHeight(),n=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);o+n<window.innerHeight?this.dialog.css({top:window.innerHeight/2-o/2-n}):this.dialog.css({top:""})}}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var i=Math.abs(parseInt(this.dialog.css("margin-top"),10)),e=this.dialog.outerHeight(),o=window.innerHeight,n=o-2*(20>i?20:i)-e;return t.css({"max-height":n<this.options.minScrollHeight?"":n,height:""}),!0}return!1},_hide:function(){this.active=!1,n>0?n--:n=0,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),n||(s.removeClass("uk-modal-page"),e.css(this.paddingdir,"")),o===this&&(o=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.element.hasClass("uk-open")}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(i){var e=t.$(this);if(e.is("a")&&i.preventDefault(),!e.data("modalTrigger")){var o=t.modalTrigger(e,t.Utils.options(e.attr("data-uk-modal")));o.show()}}),t.$html.on("keydown.modal.uikit",function(t){o&&27===t.keyCode&&o.options.keyboard&&(t.preventDefault(),o.hide())})},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),i.show()}),this.proxy(this.modal,"show hide isActive")}}),t.modal.dialog=function(e,o){var n=t.modal(t.$(t.modal.dialog.template).appendTo("body"),o);return n.on("hide.uk.modal",function(){n.persist&&(n.persist.appendTo(n.persist.data("modalPersistParent")),n.persist=!1),n.element.remove()}),i(e,n),n},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(i,e){e=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},e);var o=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+e.labels.Ok+"</button></div>"].join(""),e);return o.on("show.uk.modal",function(){setTimeout(function(){o.element.find("button:first").focus()},50)}),o.show()},t.modal.confirm=function(i,e,o){var n=arguments.length>1&&arguments[arguments.length-1]?arguments[arguments.length-1]:{};e=t.$.isFunction(e)?e:function(){},o=t.$.isFunction(o)?o:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},t.$.isFunction(n)?{}:n);var s=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button js-modal-confirm-cancel">'+n.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-confirm">'+n.labels.Ok+"</button></div>"].join(""),n);return s.element.find(".js-modal-confirm, .js-modal-confirm-cancel").on("click",function(){t.$(this).is(".js-modal-confirm")?e():o(),s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){s.element.find(".js-modal-confirm").focus()},50)}),s.show()},t.modal.prompt=function(i,e,o,n){o=t.$.isFunction(o)?o:function(){},n=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},n);var s=t.modal.dialog([i?'<div class="uk-modal-content uk-form">'+String(i)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-modal-close">'+n.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-ok">'+n.labels.Ok+"</button></div>"].join(""),n),a=s.element.find("input[type='text']").val(e||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});return s.element.find(".js-modal-ok").on("click",function(){o(a.val())!==!1&&s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){a.focus()},50)}),s.show()},t.modal.blockUI=function(i,e){var o=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},e));return o.content=o.element.find(".uk-modal-content:first"),o.show()},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/nav.js b/js/core/nav.js new file mode 100755 index 0000000..a6157ab --- /dev/null +++ b/js/core/nav.js | |||
| @@ -0,0 +1,136 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | UI.component('nav', { | ||
| 7 | |||
| 8 | defaults: { | ||
| 9 | "toggle": ">li.uk-parent > a[href='#']", | ||
| 10 | "lists": ">li.uk-parent > ul", | ||
| 11 | "multiple": false | ||
| 12 | }, | ||
| 13 | |||
| 14 | boot: function() { | ||
| 15 | |||
| 16 | // init code | ||
| 17 | UI.ready(function(context) { | ||
| 18 | |||
| 19 | UI.$("[data-uk-nav]", context).each(function() { | ||
| 20 | var nav = UI.$(this); | ||
| 21 | |||
| 22 | if (!nav.data("nav")) { | ||
| 23 | var obj = UI.nav(nav, UI.Utils.options(nav.attr("data-uk-nav"))); | ||
| 24 | } | ||
| 25 | }); | ||
| 26 | }); | ||
| 27 | }, | ||
| 28 | |||
| 29 | init: function() { | ||
| 30 | |||
| 31 | var $this = this; | ||
| 32 | |||
| 33 | this.on("click.uk.nav", this.options.toggle, function(e) { | ||
| 34 | e.preventDefault(); | ||
| 35 | var ele = UI.$(this); | ||
| 36 | $this.open(ele.parent()[0] == $this.element[0] ? ele : ele.parent("li")); | ||
| 37 | }); | ||
| 38 | |||
| 39 | this.find(this.options.lists).each(function() { | ||
| 40 | var $ele = UI.$(this), | ||
| 41 | parent = $ele.parent(), | ||
| 42 | active = parent.hasClass("uk-active"); | ||
| 43 | |||
| 44 | $ele.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'); | ||
| 45 | parent.data("list-container", $ele.parent()[active ? 'removeClass':'addClass']('uk-hidden')); | ||
| 46 | |||
| 47 | // Init ARIA | ||
| 48 | parent.attr('aria-expanded', parent.hasClass("uk-open")); | ||
| 49 | |||
| 50 | if (active) $this.open(parent, true); | ||
| 51 | }); | ||
| 52 | |||
| 53 | }, | ||
| 54 | |||
| 55 | open: function(li, noanimation) { | ||
| 56 | |||
| 57 | var $this = this, element = this.element, $li = UI.$(li), $container = $li.data('list-container'); | ||
| 58 | |||
| 59 | if (!this.options.multiple) { | ||
| 60 | |||
| 61 | element.children('.uk-open').not(li).each(function() { | ||
| 62 | |||
| 63 | var ele = UI.$(this); | ||
| 64 | |||
| 65 | if (ele.data('list-container')) { | ||
| 66 | ele.data('list-container').stop().animate({height: 0}, function() { | ||
| 67 | UI.$(this).parent().removeClass('uk-open').end().addClass('uk-hidden'); | ||
| 68 | }); | ||
| 69 | } | ||
| 70 | }); | ||
| 71 | } | ||
| 72 | |||
| 73 | $li.toggleClass('uk-open'); | ||
| 74 | |||
| 75 | // Update ARIA | ||
| 76 | $li.attr('aria-expanded', $li.hasClass('uk-open')); | ||
| 77 | |||
| 78 | if ($container) { | ||
| 79 | |||
| 80 | if ($li.hasClass('uk-open')) { | ||
| 81 | $container.removeClass('uk-hidden'); | ||
| 82 | } | ||
| 83 | |||
| 84 | if (noanimation) { | ||
| 85 | |||
| 86 | $container.stop().height($li.hasClass('uk-open') ? 'auto' : 0); | ||
| 87 | |||
| 88 | if (!$li.hasClass('uk-open')) { | ||
| 89 | $container.addClass('uk-hidden'); | ||
| 90 | } | ||
| 91 | |||
| 92 | this.trigger('display.uk.check'); | ||
| 93 | |||
| 94 | } else { | ||
| 95 | |||
| 96 | $container.stop().animate({ | ||
| 97 | height: ($li.hasClass('uk-open') ? getHeight($container.find('ul:first')) : 0) | ||
| 98 | }, function() { | ||
| 99 | |||
| 100 | if (!$li.hasClass('uk-open')) { | ||
| 101 | $container.addClass('uk-hidden'); | ||
| 102 | } else { | ||
| 103 | $container.css('height', ''); | ||
| 104 | } | ||
| 105 | |||
| 106 | $this.trigger('display.uk.check'); | ||
| 107 | }); | ||
| 108 | } | ||
| 109 | } | ||
| 110 | } | ||
| 111 | }); | ||
| 112 | |||
| 113 | |||
| 114 | // helper | ||
| 115 | |||
| 116 | function getHeight(ele) { | ||
| 117 | var $ele = UI.$(ele), height = "auto"; | ||
| 118 | |||
| 119 | if ($ele.is(":visible")) { | ||
| 120 | height = $ele.outerHeight(); | ||
| 121 | } else { | ||
| 122 | var tmp = { | ||
| 123 | position: $ele.css("position"), | ||
| 124 | visibility: $ele.css("visibility"), | ||
| 125 | display: $ele.css("display") | ||
| 126 | }; | ||
| 127 | |||
| 128 | height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); | ||
| 129 | |||
| 130 | $ele.css(tmp); // reset element | ||
| 131 | } | ||
| 132 | |||
| 133 | return height; | ||
| 134 | } | ||
| 135 | |||
| 136 | })(UIkit); | ||
| diff --git a/js/core/nav.min.js b/js/core/nav.min.js new file mode 100755 index 0000000..3ee579c --- /dev/null +++ b/js/core/nav.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(i){"use strict";function t(t){var s=i.$(t),a="auto";if(s.is(":visible"))a=s.outerHeight();else{var e={position:s.css("position"),visibility:s.css("visibility"),display:s.css("display")};a=s.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),s.css(e)}return a}i.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){i.ready(function(t){i.$("[data-uk-nav]",t).each(function(){var t=i.$(this);if(!t.data("nav")){i.nav(t,i.Utils.options(t.attr("data-uk-nav")))}})})},init:function(){var t=this;this.on("click.uk.nav",this.options.toggle,function(s){s.preventDefault();var a=i.$(this);t.open(a.parent()[0]==t.element[0]?a:a.parent("li"))}),this.find(this.options.lists).each(function(){var s=i.$(this),a=s.parent(),e=a.hasClass("uk-active");s.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),a.data("list-container",s.parent()[e?"removeClass":"addClass"]("uk-hidden")),a.attr("aria-expanded",a.hasClass("uk-open")),e&&t.open(a,!0)})},open:function(s,a){var e=this,n=this.element,o=i.$(s),l=o.data("list-container");this.options.multiple||n.children(".uk-open").not(s).each(function(){var t=i.$(this);t.data("list-container")&&t.data("list-container").stop().animate({height:0},function(){i.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),o.toggleClass("uk-open"),o.attr("aria-expanded",o.hasClass("uk-open")),l&&(o.hasClass("uk-open")&&l.removeClass("uk-hidden"),a?(l.stop().height(o.hasClass("uk-open")?"auto":0),o.hasClass("uk-open")||l.addClass("uk-hidden"),this.trigger("display.uk.check")):l.stop().animate({height:o.hasClass("uk-open")?t(l.find("ul:first")):0},function(){o.hasClass("uk-open")?l.css("height",""):l.addClass("uk-hidden"),e.trigger("display.uk.check")}))}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/offcanvas.js b/js/core/offcanvas.js new file mode 100755 index 0000000..9b2c289 --- /dev/null +++ b/js/core/offcanvas.js | |||
| @@ -0,0 +1,180 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var scrollpos = {x: window.scrollX, y: window.scrollY}, | ||
| 7 | $win = UI.$win, | ||
| 8 | $doc = UI.$doc, | ||
| 9 | $html = UI.$html, | ||
| 10 | Offcanvas = { | ||
| 11 | |||
| 12 | show: function(element) { | ||
| 13 | |||
| 14 | element = UI.$(element); | ||
| 15 | |||
| 16 | if (!element.length) return; | ||
| 17 | |||
| 18 | var $body = UI.$('body'), | ||
| 19 | bar = element.find(".uk-offcanvas-bar:first"), | ||
| 20 | rtl = (UI.langdirection == "right"), | ||
| 21 | flip = bar.hasClass("uk-offcanvas-bar-flip") ? -1:1, | ||
| 22 | dir = flip * (rtl ? -1 : 1), | ||
| 23 | |||
| 24 | scrollbarwidth = window.innerWidth - $body.width(); | ||
| 25 | |||
| 26 | scrollpos = {x: window.pageXOffset, y: window.pageYOffset}; | ||
| 27 | |||
| 28 | element.addClass("uk-active"); | ||
| 29 | |||
| 30 | $body.css({"width": window.innerWidth - scrollbarwidth, "height": window.innerHeight}).addClass("uk-offcanvas-page"); | ||
| 31 | $body.css((rtl ? "margin-right" : "margin-left"), (rtl ? -1 : 1) * (bar.outerWidth() * dir)).width(); // .width() - force redraw | ||
| 32 | |||
| 33 | $html.css('margin-top', scrollpos.y * -1); | ||
| 34 | |||
| 35 | bar.addClass("uk-offcanvas-bar-show"); | ||
| 36 | |||
| 37 | this._initElement(element); | ||
| 38 | |||
| 39 | bar.trigger('show.uk.offcanvas', [element, bar]); | ||
| 40 | |||
| 41 | // Update ARIA | ||
| 42 | element.attr('aria-hidden', 'false'); | ||
| 43 | }, | ||
| 44 | |||
| 45 | hide: function(force) { | ||
| 46 | |||
| 47 | var $body = UI.$('body'), | ||
| 48 | panel = UI.$(".uk-offcanvas.uk-active"), | ||
| 49 | rtl = (UI.langdirection == "right"), | ||
| 50 | bar = panel.find(".uk-offcanvas-bar:first"), | ||
| 51 | finalize = function() { | ||
| 52 | $body.removeClass("uk-offcanvas-page").css({"width": "", "height": "", "margin-left": "", "margin-right": ""}); | ||
| 53 | panel.removeClass("uk-active"); | ||
| 54 | |||
| 55 | bar.removeClass("uk-offcanvas-bar-show"); | ||
| 56 | $html.css('margin-top', ''); | ||
| 57 | window.scrollTo(scrollpos.x, scrollpos.y); | ||
| 58 | bar.trigger('hide.uk.offcanvas', [panel, bar]); | ||
| 59 | |||
| 60 | // Update ARIA | ||
| 61 | panel.attr('aria-hidden', 'true'); | ||
| 62 | }; | ||
| 63 | |||
| 64 | if (!panel.length) return; | ||
| 65 | |||
| 66 | if (UI.support.transition && !force) { | ||
| 67 | |||
| 68 | $body.one(UI.support.transition.end, function() { | ||
| 69 | finalize(); | ||
| 70 | }).css((rtl ? "margin-right" : "margin-left"), ""); | ||
| 71 | |||
| 72 | setTimeout(function(){ | ||
| 73 | bar.removeClass("uk-offcanvas-bar-show"); | ||
| 74 | }, 0); | ||
| 75 | |||
| 76 | } else { | ||
| 77 | finalize(); | ||
| 78 | } | ||
| 79 | }, | ||
| 80 | |||
| 81 | _initElement: function(element) { | ||
| 82 | |||
| 83 | if (element.data("OffcanvasInit")) return; | ||
| 84 | |||
| 85 | element.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas", function(e) { | ||
| 86 | |||
| 87 | var target = UI.$(e.target); | ||
| 88 | |||
| 89 | if (!e.type.match(/swipe/)) { | ||
| 90 | |||
| 91 | if (!target.hasClass("uk-offcanvas-close")) { | ||
| 92 | if (target.hasClass("uk-offcanvas-bar")) return; | ||
| 93 | if (target.parents(".uk-offcanvas-bar:first").length) return; | ||
| 94 | } | ||
| 95 | } | ||
| 96 | |||
| 97 | e.stopImmediatePropagation(); | ||
| 98 | Offcanvas.hide(); | ||
| 99 | }); | ||
| 100 | |||
| 101 | element.on("click", "a[href*='#']", function(e){ | ||
| 102 | |||
| 103 | var link = UI.$(this), | ||
| 104 | href = link.attr("href"); | ||
| 105 | |||
| 106 | if (href == "#") { | ||
| 107 | return; | ||
| 108 | } | ||
| 109 | |||
| 110 | UI.$doc.one('hide.uk.offcanvas', function() { | ||
| 111 | |||
| 112 | var target; | ||
| 113 | |||
| 114 | try { | ||
| 115 | target = UI.$(link[0].hash); | ||
| 116 | } catch (e){ | ||
| 117 | target = ''; | ||
| 118 | } | ||
| 119 | |||
| 120 | if (!target.length) { | ||
| 121 | target = UI.$('[name="'+link[0].hash.replace('#','')+'"]'); | ||
| 122 | } | ||
| 123 | |||
| 124 | if (target.length && UI.Utils.scrollToElement) { | ||
| 125 | UI.Utils.scrollToElement(target, UI.Utils.options(link.attr('data-uk-smooth-scroll') || '{}')); | ||
| 126 | } else { | ||
| 127 | window.location.href = href; | ||
| 128 | } | ||
| 129 | }); | ||
| 130 | |||
| 131 | Offcanvas.hide(); | ||
| 132 | }); | ||
| 133 | |||
| 134 | element.data("OffcanvasInit", true); | ||
| 135 | } | ||
| 136 | }; | ||
| 137 | |||
| 138 | UI.component('offcanvasTrigger', { | ||
| 139 | |||
| 140 | boot: function() { | ||
| 141 | |||
| 142 | // init code | ||
| 143 | $html.on("click.offcanvas.uikit", "[data-uk-offcanvas]", function(e) { | ||
| 144 | |||
| 145 | e.preventDefault(); | ||
| 146 | |||
| 147 | var ele = UI.$(this); | ||
| 148 | |||
| 149 | if (!ele.data("offcanvasTrigger")) { | ||
| 150 | var obj = UI.offcanvasTrigger(ele, UI.Utils.options(ele.attr("data-uk-offcanvas"))); | ||
| 151 | ele.trigger("click"); | ||
| 152 | } | ||
| 153 | }); | ||
| 154 | |||
| 155 | $html.on('keydown.uk.offcanvas', function(e) { | ||
| 156 | |||
| 157 | if (e.keyCode === 27) { // ESC | ||
| 158 | Offcanvas.hide(); | ||
| 159 | } | ||
| 160 | }); | ||
| 161 | }, | ||
| 162 | |||
| 163 | init: function() { | ||
| 164 | |||
| 165 | var $this = this; | ||
| 166 | |||
| 167 | this.options = UI.$.extend({ | ||
| 168 | "target": $this.element.is("a") ? $this.element.attr("href") : false | ||
| 169 | }, this.options); | ||
| 170 | |||
| 171 | this.on("click", function(e) { | ||
| 172 | e.preventDefault(); | ||
| 173 | Offcanvas.show($this.options.target); | ||
| 174 | }); | ||
| 175 | } | ||
| 176 | }); | ||
| 177 | |||
| 178 | UI.offcanvas = Offcanvas; | ||
| 179 | |||
| 180 | })(UIkit); | ||
| diff --git a/js/core/offcanvas.min.js b/js/core/offcanvas.min.js new file mode 100755 index 0000000..faa3887 --- /dev/null +++ b/js/core/offcanvas.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(a){"use strict";var t={x:window.scrollX,y:window.scrollY},n=(a.$win,a.$doc,a.$html),i={show:function(i){if(i=a.$(i),i.length){var o=a.$("body"),s=i.find(".uk-offcanvas-bar:first"),e="right"==a.langdirection,f=s.hasClass("uk-offcanvas-bar-flip")?-1:1,r=f*(e?-1:1),c=window.innerWidth-o.width();t={x:window.pageXOffset,y:window.pageYOffset},i.addClass("uk-active"),o.css({width:window.innerWidth-c,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(e?"margin-right":"margin-left",(e?-1:1)*s.outerWidth()*r).width(),n.css("margin-top",-1*t.y),s.addClass("uk-offcanvas-bar-show"),this._initElement(i),s.trigger("show.uk.offcanvas",[i,s]),i.attr("aria-hidden","false")}},hide:function(i){var o=a.$("body"),s=a.$(".uk-offcanvas.uk-active"),e="right"==a.langdirection,f=s.find(".uk-offcanvas-bar:first"),r=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),f.removeClass("uk-offcanvas-bar-show"),n.css("margin-top",""),window.scrollTo(t.x,t.y),f.trigger("hide.uk.offcanvas",[s,f]),s.attr("aria-hidden","true")};s.length&&(a.support.transition&&!i?(o.one(a.support.transition.end,function(){r()}).css(e?"margin-right":"margin-left",""),setTimeout(function(){f.removeClass("uk-offcanvas-bar-show")},0)):r())},_initElement:function(t){t.data("OffcanvasInit")||(t.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(t){var n=a.$(t.target);if(!t.type.match(/swipe/)&&!n.hasClass("uk-offcanvas-close")){if(n.hasClass("uk-offcanvas-bar"))return;if(n.parents(".uk-offcanvas-bar:first").length)return}t.stopImmediatePropagation(),i.hide()}),t.on("click","a[href*='#']",function(){var t=a.$(this),n=t.attr("href");"#"!=n&&(a.$doc.one("hide.uk.offcanvas",function(){var i;try{i=a.$(t[0].hash)}catch(o){i=""}i.length||(i=a.$('[name="'+t[0].hash.replace("#","")+'"]')),i.length&&a.Utils.scrollToElement?a.Utils.scrollToElement(i,a.Utils.options(t.attr("data-uk-smooth-scroll")||"{}")):window.location.href=n}),i.hide())}),t.data("OffcanvasInit",!0))}};a.component("offcanvasTrigger",{boot:function(){n.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(t){t.preventDefault();var n=a.$(this);if(!n.data("offcanvasTrigger")){{a.offcanvasTrigger(n,a.Utils.options(n.attr("data-uk-offcanvas")))}n.trigger("click")}}),n.on("keydown.uk.offcanvas",function(a){27===a.keyCode&&i.hide()})},init:function(){var t=this;this.options=a.$.extend({target:t.element.is("a")?t.element.attr("href"):!1},this.options),this.on("click",function(a){a.preventDefault(),i.show(t.options.target)})}}),a.offcanvas=i}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/scrollspy.js b/js/core/scrollspy.js new file mode 100755 index 0000000..a67e2c8 --- /dev/null +++ b/js/core/scrollspy.js | |||
| @@ -0,0 +1,209 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var $win = UI.$win, | ||
| 7 | $doc = UI.$doc, | ||
| 8 | scrollspies = [], | ||
| 9 | checkScrollSpy = function() { | ||
| 10 | for(var i=0; i < scrollspies.length; i++) { | ||
| 11 | window.requestAnimationFrame.apply(window, [scrollspies[i].check]); | ||
| 12 | } | ||
| 13 | }; | ||
| 14 | |||
| 15 | UI.component('scrollspy', { | ||
| 16 | |||
| 17 | defaults: { | ||
| 18 | "target" : false, | ||
| 19 | "cls" : "uk-scrollspy-inview", | ||
| 20 | "initcls" : "uk-scrollspy-init-inview", | ||
| 21 | "topoffset" : 0, | ||
| 22 | "leftoffset" : 0, | ||
| 23 | "repeat" : false, | ||
| 24 | "delay" : 0 | ||
| 25 | }, | ||
| 26 | |||
| 27 | boot: function() { | ||
| 28 | |||
| 29 | // listen to scroll and resize | ||
| 30 | $doc.on("scrolling.uk.document", checkScrollSpy); | ||
| 31 | $win.on("load resize orientationchange", UI.Utils.debounce(checkScrollSpy, 50)); | ||
| 32 | |||
| 33 | // init code | ||
| 34 | UI.ready(function(context) { | ||
| 35 | |||
| 36 | UI.$("[data-uk-scrollspy]", context).each(function() { | ||
| 37 | |||
| 38 | var element = UI.$(this); | ||
| 39 | |||
| 40 | if (!element.data("scrollspy")) { | ||
| 41 | var obj = UI.scrollspy(element, UI.Utils.options(element.attr("data-uk-scrollspy"))); | ||
| 42 | } | ||
| 43 | }); | ||
| 44 | }); | ||
| 45 | }, | ||
| 46 | |||
| 47 | init: function() { | ||
| 48 | |||
| 49 | var $this = this, inviewstate, initinview, togglecls = this.options.cls.split(/,/), fn = function(){ | ||
| 50 | |||
| 51 | var elements = $this.options.target ? $this.element.find($this.options.target) : $this.element, | ||
| 52 | delayIdx = elements.length === 1 ? 1 : 0, | ||
| 53 | toggleclsIdx = 0; | ||
| 54 | |||
| 55 | elements.each(function(idx){ | ||
| 56 | |||
| 57 | var element = UI.$(this), | ||
| 58 | inviewstate = element.data('inviewstate'), | ||
| 59 | inview = UI.Utils.isInView(element, $this.options), | ||
| 60 | toggle = element.data('ukScrollspyCls') || togglecls[toggleclsIdx].trim(); | ||
| 61 | |||
| 62 | if (inview && !inviewstate && !element.data('scrollspy-idle')) { | ||
| 63 | |||
| 64 | if (!initinview) { | ||
| 65 | element.addClass($this.options.initcls); | ||
| 66 | $this.offset = element.offset(); | ||
| 67 | initinview = true; | ||
| 68 | |||
| 69 | element.trigger("init.uk.scrollspy"); | ||
| 70 | } | ||
| 71 | |||
| 72 | element.data('scrollspy-idle', setTimeout(function(){ | ||
| 73 | |||
| 74 | element.addClass("uk-scrollspy-inview").toggleClass(toggle).width(); | ||
| 75 | element.trigger("inview.uk.scrollspy"); | ||
| 76 | |||
| 77 | element.data('scrollspy-idle', false); | ||
| 78 | element.data('inviewstate', true); | ||
| 79 | |||
| 80 | }, $this.options.delay * delayIdx)); | ||
| 81 | |||
| 82 | delayIdx++; | ||
| 83 | } | ||
| 84 | |||
| 85 | if (!inview && inviewstate && $this.options.repeat) { | ||
| 86 | |||
| 87 | if (element.data('scrollspy-idle')) { | ||
| 88 | clearTimeout(element.data('scrollspy-idle')); | ||
| 89 | element.data('scrollspy-idle', false); | ||
| 90 | } | ||
| 91 | |||
| 92 | element.removeClass("uk-scrollspy-inview").toggleClass(toggle); | ||
| 93 | element.data('inviewstate', false); | ||
| 94 | |||
| 95 | element.trigger("outview.uk.scrollspy"); | ||
| 96 | } | ||
| 97 | |||
| 98 | toggleclsIdx = togglecls[toggleclsIdx + 1] ? (toggleclsIdx + 1) : 0; | ||
| 99 | |||
| 100 | }); | ||
| 101 | }; | ||
| 102 | |||
| 103 | fn(); | ||
| 104 | |||
| 105 | this.check = fn; | ||
| 106 | |||
| 107 | scrollspies.push(this); | ||
| 108 | } | ||
| 109 | }); | ||
| 110 | |||
| 111 | |||
| 112 | var scrollspynavs = [], | ||
| 113 | checkScrollSpyNavs = function() { | ||
| 114 | for(var i=0; i < scrollspynavs.length; i++) { | ||
| 115 | window.requestAnimationFrame.apply(window, [scrollspynavs[i].check]); | ||
| 116 | } | ||
| 117 | }; | ||
| 118 | |||
| 119 | UI.component('scrollspynav', { | ||
| 120 | |||
| 121 | defaults: { | ||
| 122 | "cls" : 'uk-active', | ||
| 123 | "closest" : false, | ||
| 124 | "topoffset" : 0, | ||
| 125 | "leftoffset" : 0, | ||
| 126 | "smoothscroll" : false | ||
| 127 | }, | ||
| 128 | |||
| 129 | boot: function() { | ||
| 130 | |||
| 131 | // listen to scroll and resize | ||
| 132 | $doc.on("scrolling.uk.document", checkScrollSpyNavs); | ||
| 133 | $win.on("resize orientationchange", UI.Utils.debounce(checkScrollSpyNavs, 50)); | ||
| 134 | |||
| 135 | // init code | ||
| 136 | UI.ready(function(context) { | ||
| 137 | |||
| 138 | UI.$("[data-uk-scrollspy-nav]", context).each(function() { | ||
| 139 | |||
| 140 | var element = UI.$(this); | ||
| 141 | |||
| 142 | if (!element.data("scrollspynav")) { | ||
| 143 | var obj = UI.scrollspynav(element, UI.Utils.options(element.attr("data-uk-scrollspy-nav"))); | ||
| 144 | } | ||
| 145 | }); | ||
| 146 | }); | ||
| 147 | }, | ||
| 148 | |||
| 149 | init: function() { | ||
| 150 | |||
| 151 | var ids = [], | ||
| 152 | links = this.find("a[href^='#']").each(function(){ if(this.getAttribute("href").trim()!=='#') ids.push(this.getAttribute("href")); }), | ||
| 153 | targets = UI.$(ids.join(",")), | ||
| 154 | |||
| 155 | clsActive = this.options.cls, | ||
| 156 | clsClosest = this.options.closest || this.options.closest; | ||
| 157 | |||
| 158 | var $this = this, inviews, fn = function(){ | ||
| 159 | |||
| 160 | inviews = []; | ||
| 161 | |||
| 162 | for (var i=0 ; i < targets.length ; i++) { | ||
| 163 | if (UI.Utils.isInView(targets.eq(i), $this.options)) { | ||
| 164 | inviews.push(targets.eq(i)); | ||
| 165 | } | ||
| 166 | } | ||
| 167 | |||
| 168 | if (inviews.length) { | ||
| 169 | |||
| 170 | var navitems, | ||
| 171 | scrollTop = $win.scrollTop(), | ||
| 172 | target = (function(){ | ||
| 173 | for(var i=0; i< inviews.length;i++){ | ||
| 174 | if (inviews[i].offset().top - $this.options.topoffset >= scrollTop){ | ||
| 175 | return inviews[i]; | ||
| 176 | } | ||
| 177 | } | ||
| 178 | })(); | ||
| 179 | |||
| 180 | if (!target) return; | ||
| 181 | |||
| 182 | if ($this.options.closest) { | ||
| 183 | links.blur().closest(clsClosest).removeClass(clsActive); | ||
| 184 | navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive); | ||
| 185 | } else { | ||
| 186 | navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive); | ||
| 187 | } | ||
| 188 | |||
| 189 | $this.element.trigger("inview.uk.scrollspynav", [target, navitems]); | ||
| 190 | } | ||
| 191 | }; | ||
| 192 | |||
| 193 | if (this.options.smoothscroll && UI.smoothScroll) { | ||
| 194 | links.each(function(){ | ||
| 195 | UI.smoothScroll(this, $this.options.smoothscroll); | ||
| 196 | }); | ||
| 197 | } | ||
| 198 | |||
| 199 | fn(); | ||
| 200 | |||
| 201 | this.element.data("scrollspynav", this); | ||
| 202 | |||
| 203 | this.check = fn; | ||
| 204 | scrollspynavs.push(this); | ||
| 205 | |||
| 206 | } | ||
| 207 | }); | ||
| 208 | |||
| 209 | })(UIkit); | ||
| diff --git a/js/core/scrollspy.min.js b/js/core/scrollspy.min.js new file mode 100755 index 0000000..74d651b --- /dev/null +++ b/js/core/scrollspy.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";var s=t.$win,o=t.$doc,i=[],e=function(){for(var t=0;t<i.length;t++)window.requestAnimationFrame.apply(window,[i[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){o.on("scrolling.uk.document",e),s.on("load resize orientationchange",t.Utils.debounce(e,50)),t.ready(function(s){t.$("[data-uk-scrollspy]",s).each(function(){var s=t.$(this);if(!s.data("scrollspy")){t.scrollspy(s,t.Utils.options(s.attr("data-uk-scrollspy")))}})})},init:function(){var s,o=this,e=this.options.cls.split(/,/),l=function(){var i=o.options.target?o.element.find(o.options.target):o.element,l=1===i.length?1:0,n=0;i.each(function(){var i=t.$(this),a=i.data("inviewstate"),r=t.Utils.isInView(i,o.options),c=i.data("ukScrollspyCls")||e[n].trim();!r||a||i.data("scrollspy-idle")||(s||(i.addClass(o.options.initcls),o.offset=i.offset(),s=!0,i.trigger("init.uk.scrollspy")),i.data("scrollspy-idle",setTimeout(function(){i.addClass("uk-scrollspy-inview").toggleClass(c).width(),i.trigger("inview.uk.scrollspy"),i.data("scrollspy-idle",!1),i.data("inviewstate",!0)},o.options.delay*l)),l++),!r&&a&&o.options.repeat&&(i.data("scrollspy-idle")&&(clearTimeout(i.data("scrollspy-idle")),i.data("scrollspy-idle",!1)),i.removeClass("uk-scrollspy-inview").toggleClass(c),i.data("inviewstate",!1),i.trigger("outview.uk.scrollspy")),n=e[n+1]?n+1:0})};l(),this.check=l,i.push(this)}});var l=[],n=function(){for(var t=0;t<l.length;t++)window.requestAnimationFrame.apply(window,[l[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){o.on("scrolling.uk.document",n),s.on("resize orientationchange",t.Utils.debounce(n,50)),t.ready(function(s){t.$("[data-uk-scrollspy-nav]",s).each(function(){var s=t.$(this);if(!s.data("scrollspynav")){t.scrollspynav(s,t.Utils.options(s.attr("data-uk-scrollspy-nav")))}})})},init:function(){var o,i=[],e=this.find("a[href^='#']").each(function(){"#"!==this.getAttribute("href").trim()&&i.push(this.getAttribute("href"))}),n=t.$(i.join(",")),a=this.options.cls,r=this.options.closest||this.options.closest,c=this,p=function(){o=[];for(var i=0;i<n.length;i++)t.Utils.isInView(n.eq(i),c.options)&&o.push(n.eq(i));if(o.length){var l,p=s.scrollTop(),f=function(){for(var t=0;t<o.length;t++)if(o[t].offset().top-c.options.topoffset>=p)return o[t]}();if(!f)return;c.options.closest?(e.blur().closest(r).removeClass(a),l=e.filter("a[href='#"+f.attr("id")+"']").closest(r).addClass(a)):l=e.removeClass(a).filter("a[href='#"+f.attr("id")+"']").addClass(a),c.element.trigger("inview.uk.scrollspynav",[f,l])}};this.options.smoothscroll&&t.smoothScroll&&e.each(function(){t.smoothScroll(this,c.options.smoothscroll)}),p(),this.element.data("scrollspynav",this),this.check=p,l.push(this)}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/smooth-scroll.js b/js/core/smooth-scroll.js new file mode 100755 index 0000000..789e426 --- /dev/null +++ b/js/core/smooth-scroll.js | |||
| @@ -0,0 +1,62 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | UI.component('smoothScroll', { | ||
| 7 | |||
| 8 | boot: function() { | ||
| 9 | |||
| 10 | // init code | ||
| 11 | UI.$html.on("click.smooth-scroll.uikit", "[data-uk-smooth-scroll]", function(e) { | ||
| 12 | var ele = UI.$(this); | ||
| 13 | |||
| 14 | if (!ele.data("smoothScroll")) { | ||
| 15 | var obj = UI.smoothScroll(ele, UI.Utils.options(ele.attr("data-uk-smooth-scroll"))); | ||
| 16 | ele.trigger("click"); | ||
| 17 | } | ||
| 18 | |||
| 19 | return false; | ||
| 20 | }); | ||
| 21 | }, | ||
| 22 | |||
| 23 | init: function() { | ||
| 24 | |||
| 25 | var $this = this; | ||
| 26 | |||
| 27 | this.on("click", function(e) { | ||
| 28 | e.preventDefault(); | ||
| 29 | scrollToElement(UI.$(this.hash).length ? UI.$(this.hash) : UI.$("body"), $this.options); | ||
| 30 | }); | ||
| 31 | } | ||
| 32 | }); | ||
| 33 | |||
| 34 | function scrollToElement(ele, options) { | ||
| 35 | |||
| 36 | options = UI.$.extend({ | ||
| 37 | duration: 1000, | ||
| 38 | transition: 'easeOutExpo', | ||
| 39 | offset: 0, | ||
| 40 | complete: function(){} | ||
| 41 | }, options); | ||
| 42 | |||
| 43 | // get / set parameters | ||
| 44 | var target = ele.offset().top - options.offset, | ||
| 45 | docheight = UI.$doc.height(), | ||
| 46 | winheight = window.innerHeight; | ||
| 47 | |||
| 48 | if ((target + winheight) > docheight) { | ||
| 49 | target = docheight - winheight; | ||
| 50 | } | ||
| 51 | |||
| 52 | // animate to target, fire callback when done | ||
| 53 | UI.$("html,body").stop().animate({scrollTop: target}, options.duration, options.transition).promise().done(options.complete); | ||
| 54 | } | ||
| 55 | |||
| 56 | UI.Utils.scrollToElement = scrollToElement; | ||
| 57 | |||
| 58 | if (!UI.$.easing.easeOutExpo) { | ||
| 59 | UI.$.easing.easeOutExpo = function(x, t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; | ||
| 60 | } | ||
| 61 | |||
| 62 | })(UIkit); | ||
| diff --git a/js/core/smooth-scroll.min.js b/js/core/smooth-scroll.min.js new file mode 100755 index 0000000..5968d4e --- /dev/null +++ b/js/core/smooth-scroll.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";function o(o,i){i=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},i);var n=o.offset().top-i.offset,s=t.$doc.height(),e=window.innerHeight;n+e>s&&(n=s-e),t.$("html,body").stop().animate({scrollTop:n},i.duration,i.transition).promise().done(i.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(){var o=t.$(this);if(!o.data("smoothScroll")){{t.smoothScroll(o,t.Utils.options(o.attr("data-uk-smooth-scroll")))}o.trigger("click")}return!1})},init:function(){var i=this;this.on("click",function(n){n.preventDefault(),o(t.$(this.hash).length?t.$(this.hash):t.$("body"),i.options)})}}),t.Utils.scrollToElement=o,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,o,i,n,s){return o==s?i+n:n*(-Math.pow(2,-10*o/s)+1)+i})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/switcher.js b/js/core/switcher.js new file mode 100755 index 0000000..793eb3c --- /dev/null +++ b/js/core/switcher.js | |||
| @@ -0,0 +1,307 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var Animations; | ||
| 7 | |||
| 8 | UI.component('switcher', { | ||
| 9 | |||
| 10 | defaults: { | ||
| 11 | connect : false, | ||
| 12 | toggle : ">*", | ||
| 13 | active : 0, | ||
| 14 | animation : false, | ||
| 15 | duration : 200, | ||
| 16 | swiping : true | ||
| 17 | }, | ||
| 18 | |||
| 19 | animating: false, | ||
| 20 | |||
| 21 | boot: function() { | ||
| 22 | |||
| 23 | // init code | ||
| 24 | UI.ready(function(context) { | ||
| 25 | |||
| 26 | UI.$("[data-uk-switcher]", context).each(function() { | ||
| 27 | var switcher = UI.$(this); | ||
| 28 | |||
| 29 | if (!switcher.data("switcher")) { | ||
| 30 | var obj = UI.switcher(switcher, UI.Utils.options(switcher.attr("data-uk-switcher"))); | ||
| 31 | } | ||
| 32 | }); | ||
| 33 | }); | ||
| 34 | }, | ||
| 35 | |||
| 36 | init: function() { | ||
| 37 | |||
| 38 | var $this = this; | ||
| 39 | |||
| 40 | this.on("click.uk.switcher", this.options.toggle, function(e) { | ||
| 41 | e.preventDefault(); | ||
| 42 | $this.show(this); | ||
| 43 | }); | ||
| 44 | |||
| 45 | if (this.options.connect) { | ||
| 46 | |||
| 47 | this.connect = UI.$(this.options.connect); | ||
| 48 | |||
| 49 | this.connect.children().removeClass("uk-active"); | ||
| 50 | |||
| 51 | // delegate switch commands within container content | ||
| 52 | if (this.connect.length) { | ||
| 53 | |||
| 54 | // Init ARIA for connect | ||
| 55 | this.connect.children().attr('aria-hidden', 'true'); | ||
| 56 | |||
| 57 | this.connect.on("click", '[data-uk-switcher-item]', function(e) { | ||
| 58 | |||
| 59 | e.preventDefault(); | ||
| 60 | |||
| 61 | var item = UI.$(this).attr('data-uk-switcher-item'); | ||
| 62 | |||
| 63 | if ($this.index == item) return; | ||
| 64 | |||
| 65 | switch(item) { | ||
| 66 | case 'next': | ||
| 67 | case 'previous': | ||
| 68 | $this.show($this.index + (item=='next' ? 1:-1)); | ||
| 69 | break; | ||
| 70 | default: | ||
| 71 | $this.show(parseInt(item, 10)); | ||
| 72 | } | ||
| 73 | }); | ||
| 74 | |||
| 75 | if (this.options.swiping) { | ||
| 76 | |||
| 77 | this.connect.on('swipeRight swipeLeft', function(e) { | ||
| 78 | e.preventDefault(); | ||
| 79 | if(!window.getSelection().toString()) { | ||
| 80 | $this.show($this.index + (e.type == 'swipeLeft' ? 1 : -1)); | ||
| 81 | } | ||
| 82 | }); | ||
| 83 | } | ||
| 84 | } | ||
| 85 | |||
| 86 | var toggles = this.find(this.options.toggle), | ||
| 87 | active = toggles.filter(".uk-active"); | ||
| 88 | |||
| 89 | if (active.length) { | ||
| 90 | this.show(active, false); | ||
| 91 | } else { | ||
| 92 | |||
| 93 | if (this.options.active===false) return; | ||
| 94 | |||
| 95 | active = toggles.eq(this.options.active); | ||
| 96 | this.show(active.length ? active : toggles.eq(0), false); | ||
| 97 | } | ||
| 98 | |||
| 99 | // Init ARIA for toggles | ||
| 100 | toggles.not(active).attr('aria-expanded', 'false'); | ||
| 101 | active.attr('aria-expanded', 'true'); | ||
| 102 | } | ||
| 103 | |||
| 104 | }, | ||
| 105 | |||
| 106 | show: function(tab, animate) { | ||
| 107 | |||
| 108 | if (this.animating) { | ||
| 109 | return; | ||
| 110 | } | ||
| 111 | |||
| 112 | if (isNaN(tab)) { | ||
| 113 | tab = UI.$(tab); | ||
| 114 | } else { | ||
| 115 | |||
| 116 | var toggles = this.find(this.options.toggle); | ||
| 117 | |||
| 118 | tab = tab < 0 ? toggles.length-1 : tab; | ||
| 119 | tab = toggles.eq(toggles[tab] ? tab : 0); | ||
| 120 | } | ||
| 121 | |||
| 122 | var $this = this, | ||
| 123 | toggles = this.find(this.options.toggle), | ||
| 124 | active = UI.$(tab), | ||
| 125 | animation = Animations[this.options.animation] || function(current, next) { | ||
| 126 | |||
| 127 | if (!$this.options.animation) { | ||
| 128 | return Animations.none.apply($this); | ||
| 129 | } | ||
| 130 | |||
| 131 | var anim = $this.options.animation.split(','); | ||
| 132 | |||
| 133 | if (anim.length == 1) { | ||
| 134 | anim[1] = anim[0]; | ||
| 135 | } | ||
| 136 | |||
| 137 | anim[0] = anim[0].trim(); | ||
| 138 | anim[1] = anim[1].trim(); | ||
| 139 | |||
| 140 | return coreAnimation.apply($this, [anim, current, next]); | ||
| 141 | }; | ||
| 142 | |||
| 143 | if (animate===false || !UI.support.animation) { | ||
| 144 | animation = Animations.none; | ||
| 145 | } | ||
| 146 | |||
| 147 | if (active.hasClass("uk-disabled")) return; | ||
| 148 | |||
| 149 | // Update ARIA for Toggles | ||
| 150 | toggles.attr('aria-expanded', 'false'); | ||
| 151 | active.attr('aria-expanded', 'true'); | ||
| 152 | |||
| 153 | toggles.filter(".uk-active").removeClass("uk-active"); | ||
| 154 | active.addClass("uk-active"); | ||
| 155 | |||
| 156 | if (this.options.connect && this.connect.length) { | ||
| 157 | |||
| 158 | this.index = this.find(this.options.toggle).index(active); | ||
| 159 | |||
| 160 | if (this.index == -1 ) { | ||
| 161 | this.index = 0; | ||
| 162 | } | ||
| 163 | |||
| 164 | this.connect.each(function() { | ||
| 165 | |||
| 166 | var container = UI.$(this), | ||
| 167 | children = UI.$(container.children()), | ||
| 168 | current = UI.$(children.filter('.uk-active')), | ||
| 169 | next = UI.$(children.eq($this.index)); | ||
| 170 | |||
| 171 | $this.animating = true; | ||
| 172 | |||
| 173 | animation.apply($this, [current, next]).then(function(){ | ||
| 174 | |||
| 175 | current.removeClass("uk-active"); | ||
| 176 | next.addClass("uk-active"); | ||
| 177 | |||
| 178 | // Update ARIA for connect | ||
| 179 | current.attr('aria-hidden', 'true'); | ||
| 180 | next.attr('aria-hidden', 'false'); | ||
| 181 | |||
| 182 | UI.Utils.checkDisplay(next, true); | ||
| 183 | |||
| 184 | $this.animating = false; | ||
| 185 | |||
| 186 | }); | ||
| 187 | }); | ||
| 188 | } | ||
| 189 | |||
| 190 | this.trigger("show.uk.switcher", [active]); | ||
| 191 | } | ||
| 192 | }); | ||
| 193 | |||
| 194 | Animations = { | ||
| 195 | |||
| 196 | 'none': function() { | ||
| 197 | var d = UI.$.Deferred(); | ||
| 198 | d.resolve(); | ||
| 199 | return d.promise(); | ||
| 200 | }, | ||
| 201 | |||
| 202 | 'fade': function(current, next) { | ||
| 203 | return coreAnimation.apply(this, ['uk-animation-fade', current, next]); | ||
| 204 | }, | ||
| 205 | |||
| 206 | 'slide-bottom': function(current, next) { | ||
| 207 | return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); | ||
| 208 | }, | ||
| 209 | |||
| 210 | 'slide-top': function(current, next) { | ||
| 211 | return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); | ||
| 212 | }, | ||
| 213 | |||
| 214 | 'slide-vertical': function(current, next, dir) { | ||
| 215 | |||
| 216 | var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; | ||
| 217 | |||
| 218 | if (current && current.index() > next.index()) { | ||
| 219 | anim.reverse(); | ||
| 220 | } | ||
| 221 | |||
| 222 | return coreAnimation.apply(this, [anim, current, next]); | ||
| 223 | }, | ||
| 224 | |||
| 225 | 'slide-left': function(current, next) { | ||
| 226 | return coreAnimation.apply(this, ['uk-animation-slide-left', current, next]); | ||
| 227 | }, | ||
| 228 | |||
| 229 | 'slide-right': function(current, next) { | ||
| 230 | return coreAnimation.apply(this, ['uk-animation-slide-right', current, next]); | ||
| 231 | }, | ||
| 232 | |||
| 233 | 'slide-horizontal': function(current, next, dir) { | ||
| 234 | |||
| 235 | var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; | ||
| 236 | |||
| 237 | if (current && current.index() > next.index()) { | ||
| 238 | anim.reverse(); | ||
| 239 | } | ||
| 240 | |||
| 241 | return coreAnimation.apply(this, [anim, current, next]); | ||
| 242 | }, | ||
| 243 | |||
| 244 | 'scale': function(current, next) { | ||
| 245 | return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); | ||
| 246 | } | ||
| 247 | }; | ||
| 248 | |||
| 249 | UI.switcher.animations = Animations; | ||
| 250 | |||
| 251 | |||
| 252 | // helpers | ||
| 253 | |||
| 254 | function coreAnimation(cls, current, next) { | ||
| 255 | |||
| 256 | var d = UI.$.Deferred(), clsIn = cls, clsOut = cls, release; | ||
| 257 | |||
| 258 | if (next[0]===current[0]) { | ||
| 259 | d.resolve(); | ||
| 260 | return d.promise(); | ||
| 261 | } | ||
| 262 | |||
| 263 | if (typeof(cls) == 'object') { | ||
| 264 | clsIn = cls[0]; | ||
| 265 | clsOut = cls[1] || cls[0]; | ||
| 266 | } | ||
| 267 | |||
| 268 | UI.$body.css('overflow-x', 'hidden'); // fix scroll jumping in iOS | ||
| 269 | |||
| 270 | release = function() { | ||
| 271 | |||
| 272 | if (current) current.hide().removeClass('uk-active '+clsOut+' uk-animation-reverse'); | ||
| 273 | |||
| 274 | next.addClass(clsIn).one(UI.support.animation.end, function() { | ||
| 275 | |||
| 276 | setTimeout(function () { | ||
| 277 | next.removeClass(''+clsIn+'').css({opacity:'', display:''}); | ||
| 278 | }, 0); | ||
| 279 | |||
| 280 | d.resolve(); | ||
| 281 | |||
| 282 | UI.$body.css('overflow-x', ''); | ||
| 283 | |||
| 284 | if (current) current.css({opacity:'', display:''}); | ||
| 285 | |||
| 286 | }.bind(this)).show(); | ||
| 287 | }; | ||
| 288 | |||
| 289 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 290 | |||
| 291 | if (current && current.length) { | ||
| 292 | |||
| 293 | current.css('animation-duration', this.options.duration+'ms'); | ||
| 294 | |||
| 295 | current.css('display', 'none').addClass(clsOut+' uk-animation-reverse').one(UI.support.animation.end, function() { | ||
| 296 | release(); | ||
| 297 | }.bind(this)).css('display', ''); | ||
| 298 | |||
| 299 | } else { | ||
| 300 | next.addClass('uk-active'); | ||
| 301 | release(); | ||
| 302 | } | ||
| 303 | |||
| 304 | return d.promise(); | ||
| 305 | } | ||
| 306 | |||
| 307 | })(UIkit); | ||
| diff --git a/js/core/switcher.min.js b/js/core/switcher.min.js new file mode 100755 index 0000000..9c4bc36 --- /dev/null +++ b/js/core/switcher.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";function i(i,n,e){var s,a=t.$.Deferred(),o=i,r=i;return e[0]===n[0]?(a.resolve(),a.promise()):("object"==typeof i&&(o=i[0],r=i[1]||i[0]),t.$body.css("overflow-x","hidden"),s=function(){n&&n.hide().removeClass("uk-active "+r+" uk-animation-reverse"),e.addClass(o).one(t.support.animation.end,function(){setTimeout(function(){e.removeClass(""+o).css({opacity:"",display:""})},0),a.resolve(),t.$body.css("overflow-x",""),n&&n.css({opacity:"",display:""})}.bind(this)).show()},e.css("animation-duration",this.options.duration+"ms"),n&&n.length?(n.css("animation-duration",this.options.duration+"ms"),n.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){s()}.bind(this)).css("display","")):(e.addClass("uk-active"),s()),a.promise())}var n;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200,swiping:!0},animating:!1,boot:function(){t.ready(function(i){t.$("[data-uk-switcher]",i).each(function(){var i=t.$(this);if(!i.data("switcher")){t.switcher(i,t.Utils.options(i.attr("data-uk-switcher")))}})})},init:function(){var i=this;if(this.on("click.uk.switcher",this.options.toggle,function(t){t.preventDefault(),i.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.children().removeClass("uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(n){n.preventDefault();var e=t.$(this).attr("data-uk-switcher-item");if(i.index!=e)switch(e){case"next":case"previous":i.show(i.index+("next"==e?1:-1));break;default:i.show(parseInt(e,10))}}),this.options.swiping&&this.connect.on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||i.show(i.index+("swipeLeft"==t.type?1:-1))}));var n=this.find(this.options.toggle),e=n.filter(".uk-active");if(e.length)this.show(e,!1);else{if(this.options.active===!1)return;e=n.eq(this.options.active),this.show(e.length?e:n.eq(0),!1)}n.not(e).attr("aria-expanded","false"),e.attr("aria-expanded","true")}},show:function(e,s){if(!this.animating){if(isNaN(e))e=t.$(e);else{var a=this.find(this.options.toggle);e=0>e?a.length-1:e,e=a.eq(a[e]?e:0)}var o=this,a=this.find(this.options.toggle),r=t.$(e),c=n[this.options.animation]||function(t,e){if(!o.options.animation)return n.none.apply(o);var s=o.options.animation.split(",");return 1==s.length&&(s[1]=s[0]),s[0]=s[0].trim(),s[1]=s[1].trim(),i.apply(o,[s,t,e])};s!==!1&&t.support.animation||(c=n.none),r.hasClass("uk-disabled")||(a.attr("aria-expanded","false"),r.attr("aria-expanded","true"),a.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),-1==this.index&&(this.index=0),this.connect.each(function(){var i=t.$(this),n=t.$(i.children()),e=t.$(n.filter(".uk-active")),s=t.$(n.eq(o.index));o.animating=!0,c.apply(o,[e,s]).then(function(){e.removeClass("uk-active"),s.addClass("uk-active"),e.attr("aria-hidden","true"),s.attr("aria-hidden","false"),t.Utils.checkDisplay(s,!0),o.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),n={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,n){return i.apply(this,["uk-animation-fade",t,n])},"slide-bottom":function(t,n){return i.apply(this,["uk-animation-slide-bottom",t,n])},"slide-top":function(t,n){return i.apply(this,["uk-animation-slide-top",t,n])},"slide-vertical":function(t,n){var e=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>n.index()&&e.reverse(),i.apply(this,[e,t,n])},"slide-left":function(t,n){return i.apply(this,["uk-animation-slide-left",t,n])},"slide-right":function(t,n){return i.apply(this,["uk-animation-slide-right",t,n])},"slide-horizontal":function(t,n){var e=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>n.index()&&e.reverse(),i.apply(this,[e,t,n])},scale:function(t,n){return i.apply(this,["uk-animation-scale-up",t,n])}},t.switcher.animations=n}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/tab.js b/js/core/tab.js new file mode 100755 index 0000000..4784a6f --- /dev/null +++ b/js/core/tab.js | |||
| @@ -0,0 +1,167 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | UI.component('tab', { | ||
| 7 | |||
| 8 | defaults: { | ||
| 9 | 'target' : '>li:not(.uk-tab-responsive, .uk-disabled)', | ||
| 10 | 'connect' : false, | ||
| 11 | 'active' : 0, | ||
| 12 | 'animation' : false, | ||
| 13 | 'duration' : 200, | ||
| 14 | 'swiping' : true | ||
| 15 | }, | ||
| 16 | |||
| 17 | boot: function() { | ||
| 18 | |||
| 19 | // init code | ||
| 20 | UI.ready(function(context) { | ||
| 21 | |||
| 22 | UI.$("[data-uk-tab]", context).each(function() { | ||
| 23 | |||
| 24 | var tab = UI.$(this); | ||
| 25 | |||
| 26 | if (!tab.data("tab")) { | ||
| 27 | var obj = UI.tab(tab, UI.Utils.options(tab.attr("data-uk-tab"))); | ||
| 28 | } | ||
| 29 | }); | ||
| 30 | }); | ||
| 31 | }, | ||
| 32 | |||
| 33 | init: function() { | ||
| 34 | |||
| 35 | var $this = this; | ||
| 36 | |||
| 37 | this.current = false; | ||
| 38 | |||
| 39 | this.on("click.uk.tab", this.options.target, function(e) { | ||
| 40 | |||
| 41 | e.preventDefault(); | ||
| 42 | |||
| 43 | if ($this.switcher && $this.switcher.animating) { | ||
| 44 | return; | ||
| 45 | } | ||
| 46 | |||
| 47 | var current = $this.find($this.options.target).not(this); | ||
| 48 | |||
| 49 | current.removeClass("uk-active").blur(); | ||
| 50 | |||
| 51 | $this.trigger("change.uk.tab", [UI.$(this).addClass("uk-active"), $this.current]); | ||
| 52 | |||
| 53 | $this.current = UI.$(this); | ||
| 54 | |||
| 55 | // Update ARIA | ||
| 56 | if (!$this.options.connect) { | ||
| 57 | current.attr('aria-expanded', 'false'); | ||
| 58 | UI.$(this).attr('aria-expanded', 'true'); | ||
| 59 | } | ||
| 60 | }); | ||
| 61 | |||
| 62 | if (this.options.connect) { | ||
| 63 | this.connect = UI.$(this.options.connect); | ||
| 64 | } | ||
| 65 | |||
| 66 | // init responsive tab | ||
| 67 | this.responsivetab = UI.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'); | ||
| 68 | |||
| 69 | this.responsivetab.dropdown = this.responsivetab.find('.uk-dropdown'); | ||
| 70 | this.responsivetab.lst = this.responsivetab.dropdown.find('ul'); | ||
| 71 | this.responsivetab.caption = this.responsivetab.find('a:first'); | ||
| 72 | |||
| 73 | if (this.element.hasClass("uk-tab-bottom")) this.responsivetab.dropdown.addClass("uk-dropdown-up"); | ||
| 74 | |||
| 75 | // handle click | ||
| 76 | this.responsivetab.lst.on('click.uk.tab', 'a', function(e) { | ||
| 77 | |||
| 78 | e.preventDefault(); | ||
| 79 | e.stopPropagation(); | ||
| 80 | |||
| 81 | var link = UI.$(this); | ||
| 82 | |||
| 83 | $this.element.children('li:not(.uk-tab-responsive)').eq(link.data('index')).trigger('click'); | ||
| 84 | }); | ||
| 85 | |||
| 86 | this.on('show.uk.switcher change.uk.tab', function(e, tab) { | ||
| 87 | $this.responsivetab.caption.html(tab.text()); | ||
| 88 | }); | ||
| 89 | |||
| 90 | this.element.append(this.responsivetab); | ||
| 91 | |||
| 92 | // init UIkit components | ||
| 93 | if (this.options.connect) { | ||
| 94 | this.switcher = UI.switcher(this.element, { | ||
| 95 | 'toggle' : '>li:not(.uk-tab-responsive)', | ||
| 96 | 'connect' : this.options.connect, | ||
| 97 | 'active' : this.options.active, | ||
| 98 | 'animation' : this.options.animation, | ||
| 99 | 'duration' : this.options.duration, | ||
| 100 | 'swiping' : this.options.swiping | ||
| 101 | }); | ||
| 102 | } | ||
| 103 | |||
| 104 | UI.dropdown(this.responsivetab, {"mode": "click", "preventflip": "y"}); | ||
| 105 | |||
| 106 | // init | ||
| 107 | $this.trigger("change.uk.tab", [this.element.find(this.options.target).not('.uk-tab-responsive').filter('.uk-active')]); | ||
| 108 | |||
| 109 | this.check(); | ||
| 110 | |||
| 111 | UI.$win.on('resize orientationchange', UI.Utils.debounce(function(){ | ||
| 112 | if ($this.element.is(":visible")) $this.check(); | ||
| 113 | }, 100)); | ||
| 114 | |||
| 115 | this.on('display.uk.check', function(){ | ||
| 116 | if ($this.element.is(":visible")) $this.check(); | ||
| 117 | }); | ||
| 118 | }, | ||
| 119 | |||
| 120 | check: function() { | ||
| 121 | |||
| 122 | var children = this.element.children('li:not(.uk-tab-responsive)').removeClass('uk-hidden'); | ||
| 123 | |||
| 124 | if (!children.length) { | ||
| 125 | this.responsivetab.addClass('uk-hidden'); | ||
| 126 | return; | ||
| 127 | } | ||
| 128 | |||
| 129 | var top = (children.eq(0).offset().top + Math.ceil(children.eq(0).height()/2)), | ||
| 130 | doresponsive = false, | ||
| 131 | item, link, clone; | ||
| 132 | |||
| 133 | this.responsivetab.lst.empty(); | ||
| 134 | |||
| 135 | children.each(function(){ | ||
| 136 | |||
| 137 | if (UI.$(this).offset().top > top) { | ||
| 138 | doresponsive = true; | ||
| 139 | } | ||
| 140 | }); | ||
| 141 | |||
| 142 | if (doresponsive) { | ||
| 143 | |||
| 144 | for (var i = 0; i < children.length; i++) { | ||
| 145 | |||
| 146 | item = UI.$(children.eq(i)); | ||
| 147 | link = item.find('a'); | ||
| 148 | |||
| 149 | if (item.css('float') != 'none' && !item.attr('uk-dropdown')) { | ||
| 150 | |||
| 151 | if (!item.hasClass('uk-disabled')) { | ||
| 152 | |||
| 153 | clone = item[0].outerHTML.replace('<a ', '<a data-index="'+i+'" '); | ||
| 154 | |||
| 155 | this.responsivetab.lst.append(clone); | ||
| 156 | } | ||
| 157 | |||
| 158 | item.addClass('uk-hidden'); | ||
| 159 | } | ||
| 160 | } | ||
| 161 | } | ||
| 162 | |||
| 163 | this.responsivetab[this.responsivetab.lst.children('li').length ? 'removeClass':'addClass']('uk-hidden'); | ||
| 164 | } | ||
| 165 | }); | ||
| 166 | |||
| 167 | })(UIkit); | ||
| diff --git a/js/core/tab.min.js b/js/core/tab.min.js new file mode 100755 index 0000000..ead79e0 --- /dev/null +++ b/js/core/tab.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200,swiping:!0},boot:function(){t.ready(function(i){t.$("[data-uk-tab]",i).each(function(){var i=t.$(this);if(!i.data("tab")){t.tab(i,t.Utils.options(i.attr("data-uk-tab")))}})})},init:function(){var i=this;this.current=!1,this.on("click.uk.tab",this.options.target,function(e){if(e.preventDefault(),!i.switcher||!i.switcher.animating){var s=i.find(i.options.target).not(this);s.removeClass("uk-active").blur(),i.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),i.current]),i.current=t.$(this),i.options.connect||(s.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uk.tab","a",function(e){e.preventDefault(),e.stopPropagation();var s=t.$(this);i.element.children("li:not(.uk-tab-responsive)").eq(s.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,e){i.responsivetab.caption.html(e.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration,swiping:this.options.swiping})),t.dropdown(this.responsivetab,{mode:"click",preventflip:"y"}),i.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){i.element.is(":visible")&&i.check()},100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.check()})},check:function(){var i=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!i.length)return this.responsivetab.addClass("uk-hidden"),void 0;var e,s,n,a=i.eq(0).offset().top+Math.ceil(i.eq(0).height()/2),o=!1;if(this.responsivetab.lst.empty(),i.each(function(){t.$(this).offset().top>a&&(o=!0)}),o)for(var r=0;r<i.length;r++)e=t.$(i.eq(r)),s=e.find("a"),"none"==e.css("float")||e.attr("uk-dropdown")||(e.hasClass("uk-disabled")||(n=e[0].outerHTML.replace("<a ",'<a data-index="'+r+'" '),this.responsivetab.lst.append(n)),e.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/toggle.js b/js/core/toggle.js new file mode 100755 index 0000000..05fc2b3 --- /dev/null +++ b/js/core/toggle.js | |||
| @@ -0,0 +1,120 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI){ | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var toggles = []; | ||
| 7 | |||
| 8 | UI.component('toggle', { | ||
| 9 | |||
| 10 | defaults: { | ||
| 11 | target : false, | ||
| 12 | cls : 'uk-hidden', | ||
| 13 | animation : false, | ||
| 14 | duration : 200 | ||
| 15 | }, | ||
| 16 | |||
| 17 | boot: function(){ | ||
| 18 | |||
| 19 | // init code | ||
| 20 | UI.ready(function(context) { | ||
| 21 | |||
| 22 | UI.$("[data-uk-toggle]", context).each(function() { | ||
| 23 | var ele = UI.$(this); | ||
| 24 | |||
| 25 | if (!ele.data("toggle")) { | ||
| 26 | var obj = UI.toggle(ele, UI.Utils.options(ele.attr("data-uk-toggle"))); | ||
| 27 | } | ||
| 28 | }); | ||
| 29 | |||
| 30 | setTimeout(function(){ | ||
| 31 | |||
| 32 | toggles.forEach(function(toggle){ | ||
| 33 | toggle.getToggles(); | ||
| 34 | }); | ||
| 35 | |||
| 36 | }, 0); | ||
| 37 | }); | ||
| 38 | }, | ||
| 39 | |||
| 40 | init: function() { | ||
| 41 | |||
| 42 | var $this = this; | ||
| 43 | |||
| 44 | this.aria = (this.options.cls.indexOf('uk-hidden') !== -1); | ||
| 45 | |||
| 46 | this.getToggles(); | ||
| 47 | |||
| 48 | this.on("click", function(e) { | ||
| 49 | if ($this.element.is('a[href="#"]')) e.preventDefault(); | ||
| 50 | $this.toggle(); | ||
| 51 | }); | ||
| 52 | |||
| 53 | toggles.push(this); | ||
| 54 | }, | ||
| 55 | |||
| 56 | toggle: function() { | ||
| 57 | |||
| 58 | if(!this.totoggle.length) return; | ||
| 59 | |||
| 60 | if (this.options.animation && UI.support.animation) { | ||
| 61 | |||
| 62 | var $this = this, animations = this.options.animation.split(','); | ||
| 63 | |||
| 64 | if (animations.length == 1) { | ||
| 65 | animations[1] = animations[0]; | ||
| 66 | } | ||
| 67 | |||
| 68 | animations[0] = animations[0].trim(); | ||
| 69 | animations[1] = animations[1].trim(); | ||
| 70 | |||
| 71 | this.totoggle.css('animation-duration', this.options.duration+'ms'); | ||
| 72 | |||
| 73 | this.totoggle.each(function(){ | ||
| 74 | |||
| 75 | var ele = UI.$(this); | ||
| 76 | |||
| 77 | if (ele.hasClass($this.options.cls)) { | ||
| 78 | |||
| 79 | ele.toggleClass($this.options.cls); | ||
| 80 | |||
| 81 | UI.Utils.animate(ele, animations[0]).then(function(){ | ||
| 82 | ele.css('animation-duration', ''); | ||
| 83 | UI.Utils.checkDisplay(ele); | ||
| 84 | }); | ||
| 85 | |||
| 86 | } else { | ||
| 87 | |||
| 88 | UI.Utils.animate(this, animations[1]+' uk-animation-reverse').then(function(){ | ||
| 89 | ele.toggleClass($this.options.cls).css('animation-duration', ''); | ||
| 90 | UI.Utils.checkDisplay(ele); | ||
| 91 | }); | ||
| 92 | |||
| 93 | } | ||
| 94 | |||
| 95 | }); | ||
| 96 | |||
| 97 | } else { | ||
| 98 | this.totoggle.toggleClass(this.options.cls); | ||
| 99 | UI.Utils.checkDisplay(this.totoggle); | ||
| 100 | } | ||
| 101 | |||
| 102 | this.updateAria(); | ||
| 103 | |||
| 104 | }, | ||
| 105 | |||
| 106 | getToggles: function() { | ||
| 107 | this.totoggle = this.options.target ? UI.$(this.options.target):[]; | ||
| 108 | this.updateAria(); | ||
| 109 | }, | ||
| 110 | |||
| 111 | updateAria: function() { | ||
| 112 | if (this.aria && this.totoggle.length) { | ||
| 113 | this.totoggle.each(function(){ | ||
| 114 | UI.$(this).attr('aria-hidden', UI.$(this).hasClass('uk-hidden')); | ||
| 115 | }); | ||
| 116 | } | ||
| 117 | } | ||
| 118 | }); | ||
| 119 | |||
| 120 | })(UIkit); | ||
| diff --git a/js/core/toggle.min.js b/js/core/toggle.min.js new file mode 100755 index 0000000..e410b19 --- /dev/null +++ b/js/core/toggle.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";var i=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(o){t.$("[data-uk-toggle]",o).each(function(){var i=t.$(this);if(!i.data("toggle")){t.toggle(i,t.Utils.options(i.attr("data-uk-toggle")))}}),setTimeout(function(){i.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=-1!==this.options.cls.indexOf("uk-hidden"),this.getToggles(),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle()}),i.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var i=this,o=this.options.animation.split(",");1==o.length&&(o[1]=o[0]),o[0]=o[0].trim(),o[1]=o[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.each(function(){var s=t.$(this);s.hasClass(i.options.cls)?(s.toggleClass(i.options.cls),t.Utils.animate(s,o[0]).then(function(){s.css("animation-duration",""),t.Utils.checkDisplay(s)})):t.Utils.animate(this,o[1]+" uk-animation-reverse").then(function(){s.toggleClass(i.options.cls).css("animation-duration",""),t.Utils.checkDisplay(s)})})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/core/touch.js b/js/core/touch.js new file mode 100755 index 0000000..43577d8 --- /dev/null +++ b/js/core/touch.js | |||
| @@ -0,0 +1,175 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | // Based on Zeptos touch.js | ||
| 3 | // https://raw.github.com/madrobby/zepto/master/src/touch.js | ||
| 4 | // Zepto.js may be freely distributed under the MIT license. | ||
| 5 | |||
| 6 | ;(function($){ | ||
| 7 | |||
| 8 | if ($.fn.swipeLeft) { | ||
| 9 | return; | ||
| 10 | } | ||
| 11 | |||
| 12 | |||
| 13 | var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapTimeout, longTapDelay = 750, gesture; | ||
| 14 | |||
| 15 | function swipeDirection(x1, x2, y1, y2) { | ||
| 16 | return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down'); | ||
| 17 | } | ||
| 18 | |||
| 19 | function longTap() { | ||
| 20 | longTapTimeout = null; | ||
| 21 | if (touch.last) { | ||
| 22 | if ( touch.el !== undefined ) touch.el.trigger('longTap'); | ||
| 23 | touch = {}; | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | function cancelLongTap() { | ||
| 28 | if (longTapTimeout) clearTimeout(longTapTimeout); | ||
| 29 | longTapTimeout = null; | ||
| 30 | } | ||
| 31 | |||
| 32 | function cancelAll() { | ||
| 33 | if (touchTimeout) clearTimeout(touchTimeout); | ||
| 34 | if (tapTimeout) clearTimeout(tapTimeout); | ||
| 35 | if (swipeTimeout) clearTimeout(swipeTimeout); | ||
| 36 | if (longTapTimeout) clearTimeout(longTapTimeout); | ||
| 37 | touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null; | ||
| 38 | touch = {}; | ||
| 39 | } | ||
| 40 | |||
| 41 | function isPrimaryTouch(event){ | ||
| 42 | return event.pointerType == event.MSPOINTER_TYPE_TOUCH && event.isPrimary; | ||
| 43 | } | ||
| 44 | |||
| 45 | $(function(){ | ||
| 46 | var now, delta, deltaX = 0, deltaY = 0, firstTouch; | ||
| 47 | |||
| 48 | if ('MSGesture' in window) { | ||
| 49 | gesture = new MSGesture(); | ||
| 50 | gesture.target = document.body; | ||
| 51 | } | ||
| 52 | |||
| 53 | $(document) | ||
| 54 | .on('MSGestureEnd gestureend', function(e){ | ||
| 55 | |||
| 56 | var swipeDirectionFromVelocity = e.originalEvent.velocityX > 1 ? 'Right' : e.originalEvent.velocityX < -1 ? 'Left' : e.originalEvent.velocityY > 1 ? 'Down' : e.originalEvent.velocityY < -1 ? 'Up' : null; | ||
| 57 | |||
| 58 | if (swipeDirectionFromVelocity && touch.el !== undefined) { | ||
| 59 | touch.el.trigger('swipe'); | ||
| 60 | touch.el.trigger('swipe'+ swipeDirectionFromVelocity); | ||
| 61 | } | ||
| 62 | }) | ||
| 63 | // MSPointerDown: for IE10 | ||
| 64 | // pointerdown: for IE11 | ||
| 65 | .on('touchstart MSPointerDown pointerdown', function(e){ | ||
| 66 | |||
| 67 | if(e.type == 'MSPointerDown' && !isPrimaryTouch(e.originalEvent)) return; | ||
| 68 | |||
| 69 | firstTouch = (e.type == 'MSPointerDown' || e.type == 'pointerdown') ? e : e.originalEvent.touches[0]; | ||
| 70 | |||
| 71 | now = Date.now(); | ||
| 72 | delta = now - (touch.last || now); | ||
| 73 | touch.el = $('tagName' in firstTouch.target ? firstTouch.target : firstTouch.target.parentNode); | ||
| 74 | |||
| 75 | if(touchTimeout) clearTimeout(touchTimeout); | ||
| 76 | |||
| 77 | touch.x1 = firstTouch.pageX; | ||
| 78 | touch.y1 = firstTouch.pageY; | ||
| 79 | |||
| 80 | if (delta > 0 && delta <= 250) touch.isDoubleTap = true; | ||
| 81 | |||
| 82 | touch.last = now; | ||
| 83 | longTapTimeout = setTimeout(longTap, longTapDelay); | ||
| 84 | |||
| 85 | // adds the current touch contact for IE gesture recognition | ||
| 86 | if (gesture && ( e.type == 'MSPointerDown' || e.type == 'pointerdown' || e.type == 'touchstart' ) ) { | ||
| 87 | gesture.addPointer(e.originalEvent.pointerId); | ||
| 88 | } | ||
| 89 | |||
| 90 | }) | ||
| 91 | // MSPointerMove: for IE10 | ||
| 92 | // pointermove: for IE11 | ||
| 93 | .on('touchmove MSPointerMove pointermove', function(e){ | ||
| 94 | |||
| 95 | if (e.type == 'MSPointerMove' && !isPrimaryTouch(e.originalEvent)) return; | ||
| 96 | |||
| 97 | firstTouch = (e.type == 'MSPointerMove' || e.type == 'pointermove') ? e : e.originalEvent.touches[0]; | ||
| 98 | |||
| 99 | cancelLongTap(); | ||
| 100 | touch.x2 = firstTouch.pageX; | ||
| 101 | touch.y2 = firstTouch.pageY; | ||
| 102 | |||
| 103 | deltaX += Math.abs(touch.x1 - touch.x2); | ||
| 104 | deltaY += Math.abs(touch.y1 - touch.y2); | ||
| 105 | }) | ||
| 106 | // MSPointerUp: for IE10 | ||
| 107 | // pointerup: for IE11 | ||
| 108 | .on('touchend MSPointerUp pointerup', function(e){ | ||
| 109 | |||
| 110 | if (e.type == 'MSPointerUp' && !isPrimaryTouch(e.originalEvent)) return; | ||
| 111 | |||
| 112 | cancelLongTap(); | ||
| 113 | |||
| 114 | // swipe | ||
| 115 | if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)){ | ||
| 116 | |||
| 117 | swipeTimeout = setTimeout(function() { | ||
| 118 | if ( touch.el !== undefined ) { | ||
| 119 | touch.el.trigger('swipe'); | ||
| 120 | touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))); | ||
| 121 | } | ||
| 122 | touch = {}; | ||
| 123 | }, 0); | ||
| 124 | |||
| 125 | // normal tap | ||
| 126 | } else if ('last' in touch) { | ||
| 127 | |||
| 128 | // don't fire tap when delta position changed by more than 30 pixels, | ||
| 129 | // for instance when moving to a point and back to origin | ||
| 130 | if (isNaN(deltaX) || (deltaX < 30 && deltaY < 30)) { | ||
| 131 | // delay by one tick so we can cancel the 'tap' event if 'scroll' fires | ||
| 132 | // ('tap' fires before 'scroll') | ||
| 133 | tapTimeout = setTimeout(function() { | ||
| 134 | |||
| 135 | // trigger universal 'tap' with the option to cancelTouch() | ||
| 136 | // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) | ||
| 137 | var event = $.Event('tap'); | ||
| 138 | event.cancelTouch = cancelAll; | ||
| 139 | if ( touch.el !== undefined ) touch.el.trigger(event); | ||
| 140 | |||
| 141 | // trigger double tap immediately | ||
| 142 | if (touch.isDoubleTap) { | ||
| 143 | if ( touch.el !== undefined ) touch.el.trigger('doubleTap'); | ||
| 144 | touch = {}; | ||
| 145 | } | ||
| 146 | |||
| 147 | // trigger single tap after 250ms of inactivity | ||
| 148 | else { | ||
| 149 | touchTimeout = setTimeout(function(){ | ||
| 150 | touchTimeout = null; | ||
| 151 | if ( touch.el !== undefined ) touch.el.trigger('singleTap'); | ||
| 152 | touch = {}; | ||
| 153 | }, 250); | ||
| 154 | } | ||
| 155 | }, 0); | ||
| 156 | } else { | ||
| 157 | touch = {}; | ||
| 158 | } | ||
| 159 | deltaX = deltaY = 0; | ||
| 160 | } | ||
| 161 | }) | ||
| 162 | // when the browser window loses focus, | ||
| 163 | // for example when a modal dialog is shown, | ||
| 164 | // cancel all ongoing events | ||
| 165 | .on('touchcancel MSPointerCancel', cancelAll); | ||
| 166 | |||
| 167 | // scrolling the window indicates intention of the user | ||
| 168 | // to scroll, not tap or swipe, so cancel all ongoing events | ||
| 169 | $(window).on('scroll', cancelAll); | ||
| 170 | }); | ||
| 171 | |||
| 172 | ['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(eventName){ | ||
| 173 | $.fn[eventName] = function(callback){ return $(this).on(eventName, callback); }; | ||
| 174 | }); | ||
| 175 | })(jQuery); | ||
| diff --git a/js/core/touch.min.js b/js/core/touch.min.js new file mode 100755 index 0000000..b86dfd1 --- /dev/null +++ b/js/core/touch.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(e){function t(e,t,n,o){return Math.abs(e-t)>=Math.abs(n-o)?e-t>0?"Left":"Right":n-o>0?"Up":"Down"}function n(){p=null,g.last&&(void 0!==g.el&&g.el.trigger("longTap"),g={})}function o(){p&&clearTimeout(p),p=null}function i(){a&&clearTimeout(a),l&&clearTimeout(l),u&&clearTimeout(u),p&&clearTimeout(p),a=l=u=p=null,g={}}function r(e){return e.pointerType==e.MSPOINTER_TYPE_TOUCH&&e.isPrimary}if(!e.fn.swipeLeft){var a,l,u,p,c,g={},s=750;e(function(){var v,y,w,f=0,d=0;"MSGesture"in window&&(c=new MSGesture,c.target=document.body),e(document).on("MSGestureEnd gestureend",function(e){var t=e.originalEvent.velocityX>1?"Right":e.originalEvent.velocityX<-1?"Left":e.originalEvent.velocityY>1?"Down":e.originalEvent.velocityY<-1?"Up":null;t&&void 0!==g.el&&(g.el.trigger("swipe"),g.el.trigger("swipe"+t))}).on("touchstart MSPointerDown pointerdown",function(t){("MSPointerDown"!=t.type||r(t.originalEvent))&&(w="MSPointerDown"==t.type||"pointerdown"==t.type?t:t.originalEvent.touches[0],v=Date.now(),y=v-(g.last||v),g.el=e("tagName"in w.target?w.target:w.target.parentNode),a&&clearTimeout(a),g.x1=w.pageX,g.y1=w.pageY,y>0&&250>=y&&(g.isDoubleTap=!0),g.last=v,p=setTimeout(n,s),!c||"MSPointerDown"!=t.type&&"pointerdown"!=t.type&&"touchstart"!=t.type||c.addPointer(t.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(e){("MSPointerMove"!=e.type||r(e.originalEvent))&&(w="MSPointerMove"==e.type||"pointermove"==e.type?e:e.originalEvent.touches[0],o(),g.x2=w.pageX,g.y2=w.pageY,f+=Math.abs(g.x1-g.x2),d+=Math.abs(g.y1-g.y2))}).on("touchend MSPointerUp pointerup",function(n){("MSPointerUp"!=n.type||r(n.originalEvent))&&(o(),g.x2&&Math.abs(g.x1-g.x2)>30||g.y2&&Math.abs(g.y1-g.y2)>30?u=setTimeout(function(){void 0!==g.el&&(g.el.trigger("swipe"),g.el.trigger("swipe"+t(g.x1,g.x2,g.y1,g.y2))),g={}},0):"last"in g&&(isNaN(f)||30>f&&30>d?l=setTimeout(function(){var t=e.Event("tap");t.cancelTouch=i,void 0!==g.el&&g.el.trigger(t),g.isDoubleTap?(void 0!==g.el&&g.el.trigger("doubleTap"),g={}):a=setTimeout(function(){a=null,void 0!==g.el&&g.el.trigger("singleTap"),g={}},250)},0):g={},f=d=0))}).on("touchcancel MSPointerCancel",i),e(window).on("scroll",i)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(t){e.fn[t]=function(n){return e(this).on(t,n)}})}}(jQuery); \ No newline at end of file | ||
| diff --git a/js/core/utility.js b/js/core/utility.js new file mode 100755 index 0000000..0090b8c --- /dev/null +++ b/js/core/utility.js | |||
| @@ -0,0 +1,319 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(UI) { | ||
| 3 | |||
| 4 | "use strict"; | ||
| 5 | |||
| 6 | var stacks = []; | ||
| 7 | |||
| 8 | UI.component('stackMargin', { | ||
| 9 | |||
| 10 | defaults: { | ||
| 11 | cls: 'uk-margin-small-top', | ||
| 12 | rowfirst: false, | ||
| 13 | observe: false | ||
| 14 | }, | ||
| 15 | |||
| 16 | boot: function() { | ||
| 17 | |||
| 18 | // init code | ||
| 19 | UI.ready(function(context) { | ||
| 20 | |||
| 21 | UI.$("[data-uk-margin]", context).each(function() { | ||
| 22 | |||
| 23 | var ele = UI.$(this); | ||
| 24 | |||
| 25 | if (!ele.data("stackMargin")) { | ||
| 26 | UI.stackMargin(ele, UI.Utils.options(ele.attr("data-uk-margin"))); | ||
| 27 | } | ||
| 28 | }); | ||
| 29 | }); | ||
| 30 | }, | ||
| 31 | |||
| 32 | init: function() { | ||
| 33 | |||
| 34 | var $this = this; | ||
| 35 | |||
| 36 | UI.$win.on('resize orientationchange', (function() { | ||
| 37 | |||
| 38 | var fn = function() { | ||
| 39 | $this.process(); | ||
| 40 | }; | ||
| 41 | |||
| 42 | UI.$(function() { | ||
| 43 | fn(); | ||
| 44 | UI.$win.on("load", fn); | ||
| 45 | }); | ||
| 46 | |||
| 47 | return UI.Utils.debounce(fn, 20); | ||
| 48 | })()); | ||
| 49 | |||
| 50 | this.on("display.uk.check", function(e) { | ||
| 51 | if (this.element.is(":visible")) this.process(); | ||
| 52 | }.bind(this)); | ||
| 53 | |||
| 54 | if (this.options.observe) { | ||
| 55 | |||
| 56 | UI.domObserve(this.element, function(e) { | ||
| 57 | if ($this.element.is(":visible")) $this.process(); | ||
| 58 | }); | ||
| 59 | } | ||
| 60 | |||
| 61 | stacks.push(this); | ||
| 62 | }, | ||
| 63 | |||
| 64 | process: function() { | ||
| 65 | |||
| 66 | var $this = this, columns = this.element.children(); | ||
| 67 | |||
| 68 | UI.Utils.stackMargin(columns, this.options); | ||
| 69 | |||
| 70 | if (!this.options.rowfirst || !columns.length) { | ||
| 71 | return this; | ||
| 72 | } | ||
| 73 | |||
| 74 | // Mark first column elements | ||
| 75 | var group = {}, minleft = false; | ||
| 76 | |||
| 77 | columns.removeClass(this.options.rowfirst).each(function(offset, $ele){ | ||
| 78 | |||
| 79 | $ele = UI.$(this); | ||
| 80 | |||
| 81 | if (this.style.display != 'none') { | ||
| 82 | offset = $ele.offset().left; | ||
| 83 | ((group[offset] = group[offset] || []) && group[offset]).push(this); | ||
| 84 | minleft = minleft === false ? offset : Math.min(minleft, offset); | ||
| 85 | } | ||
| 86 | }); | ||
| 87 | |||
| 88 | UI.$(group[minleft]).addClass(this.options.rowfirst); | ||
| 89 | |||
| 90 | return this; | ||
| 91 | } | ||
| 92 | |||
| 93 | }); | ||
| 94 | |||
| 95 | |||
| 96 | // responsive element e.g. iframes | ||
| 97 | |||
| 98 | (function(){ | ||
| 99 | |||
| 100 | var elements = [], check = function(ele) { | ||
| 101 | |||
| 102 | if (!ele.is(':visible')) return; | ||
| 103 | |||
| 104 | var width = ele.parent().width(), | ||
| 105 | iwidth = ele.data('width'), | ||
| 106 | ratio = (width / iwidth), | ||
| 107 | height = Math.floor(ratio * ele.data('height')); | ||
| 108 | |||
| 109 | ele.css({'height': (width < iwidth) ? height : ele.data('height')}); | ||
| 110 | }; | ||
| 111 | |||
| 112 | UI.component('responsiveElement', { | ||
| 113 | |||
| 114 | defaults: {}, | ||
| 115 | |||
| 116 | boot: function() { | ||
| 117 | |||
| 118 | // init code | ||
| 119 | UI.ready(function(context) { | ||
| 120 | |||
| 121 | UI.$("iframe.uk-responsive-width, [data-uk-responsive]", context).each(function() { | ||
| 122 | |||
| 123 | var ele = UI.$(this), obj; | ||
| 124 | |||
| 125 | if (!ele.data("responsiveElement")) { | ||
| 126 | obj = UI.responsiveElement(ele, {}); | ||
| 127 | } | ||
| 128 | }); | ||
| 129 | }); | ||
| 130 | }, | ||
| 131 | |||
| 132 | init: function() { | ||
| 133 | |||
| 134 | var ele = this.element; | ||
| 135 | |||
| 136 | if (ele.attr('width') && ele.attr('height')) { | ||
| 137 | |||
| 138 | ele.data({ | ||
| 139 | |||
| 140 | 'width' : ele.attr('width'), | ||
| 141 | 'height': ele.attr('height') | ||
| 142 | |||
| 143 | }).on('display.uk.check', function(){ | ||
| 144 | check(ele); | ||
| 145 | }); | ||
| 146 | |||
| 147 | check(ele); | ||
| 148 | |||
| 149 | elements.push(ele); | ||
| 150 | } | ||
| 151 | } | ||
| 152 | }); | ||
| 153 | |||
| 154 | UI.$win.on('resize load', UI.Utils.debounce(function(){ | ||
| 155 | |||
| 156 | elements.forEach(function(ele){ | ||
| 157 | check(ele); | ||
| 158 | }); | ||
| 159 | |||
| 160 | }, 15)); | ||
| 161 | |||
| 162 | })(); | ||
| 163 | |||
| 164 | |||
| 165 | |||
| 166 | // helper | ||
| 167 | |||
| 168 | UI.Utils.stackMargin = function(elements, options) { | ||
| 169 | |||
| 170 | options = UI.$.extend({ | ||
| 171 | 'cls': 'uk-margin-small-top' | ||
| 172 | }, options); | ||
| 173 | |||
| 174 | elements = UI.$(elements).removeClass(options.cls); | ||
| 175 | |||
| 176 | var min = false; | ||
| 177 | |||
| 178 | elements.each(function(offset, height, pos, $ele){ | ||
| 179 | |||
| 180 | $ele = UI.$(this); | ||
| 181 | |||
| 182 | if ($ele.css('display') != 'none') { | ||
| 183 | |||
| 184 | offset = $ele.offset(); | ||
| 185 | height = $ele.outerHeight(); | ||
| 186 | pos = offset.top + height; | ||
| 187 | |||
| 188 | $ele.data({ | ||
| 189 | 'ukMarginPos': pos, | ||
| 190 | 'ukMarginTop': offset.top | ||
| 191 | }); | ||
| 192 | |||
| 193 | if (min === false || (offset.top < min.top) ) { | ||
| 194 | |||
| 195 | min = { | ||
| 196 | top : offset.top, | ||
| 197 | left : offset.left, | ||
| 198 | pos : pos | ||
| 199 | }; | ||
| 200 | } | ||
| 201 | } | ||
| 202 | |||
| 203 | }).each(function($ele) { | ||
| 204 | |||
| 205 | $ele = UI.$(this); | ||
| 206 | |||
| 207 | if ($ele.css('display') != 'none' && $ele.data('ukMarginTop') > min.top && $ele.data('ukMarginPos') > min.pos) { | ||
| 208 | $ele.addClass(options.cls); | ||
| 209 | } | ||
| 210 | }); | ||
| 211 | }; | ||
| 212 | |||
| 213 | UI.Utils.matchHeights = function(elements, options) { | ||
| 214 | |||
| 215 | elements = UI.$(elements).css('min-height', ''); | ||
| 216 | options = UI.$.extend({ row : true }, options); | ||
| 217 | |||
| 218 | var matchHeights = function(group){ | ||
| 219 | |||
| 220 | if (group.length < 2) return; | ||
| 221 | |||
| 222 | var max = 0; | ||
| 223 | |||
| 224 | group.each(function() { | ||
| 225 | max = Math.max(max, UI.$(this).outerHeight()); | ||
| 226 | }).each(function() { | ||
| 227 | |||
| 228 | var element = UI.$(this), | ||
| 229 | height = max - (element.css('box-sizing') == 'border-box' ? 0 : (element.outerHeight() - element.height())); | ||
| 230 | |||
| 231 | element.css('min-height', height + 'px'); | ||
| 232 | }); | ||
| 233 | }; | ||
| 234 | |||
| 235 | if (options.row) { | ||
| 236 | |||
| 237 | elements.first().width(); // force redraw | ||
| 238 | |||
| 239 | setTimeout(function(){ | ||
| 240 | |||
| 241 | var lastoffset = false, group = []; | ||
| 242 | |||
| 243 | elements.each(function() { | ||
| 244 | |||
| 245 | var ele = UI.$(this), offset = ele.offset().top; | ||
| 246 | |||
| 247 | if (offset != lastoffset && group.length) { | ||
| 248 | |||
| 249 | matchHeights(UI.$(group)); | ||
| 250 | group = []; | ||
| 251 | offset = ele.offset().top; | ||
| 252 | } | ||
| 253 | |||
| 254 | group.push(ele); | ||
| 255 | lastoffset = offset; | ||
| 256 | }); | ||
| 257 | |||
| 258 | if (group.length) { | ||
| 259 | matchHeights(UI.$(group)); | ||
| 260 | } | ||
| 261 | |||
| 262 | }, 0); | ||
| 263 | |||
| 264 | } else { | ||
| 265 | matchHeights(elements); | ||
| 266 | } | ||
| 267 | }; | ||
| 268 | |||
| 269 | (function(cacheSvgs){ | ||
| 270 | |||
| 271 | UI.Utils.inlineSvg = function(selector, root) { | ||
| 272 | |||
| 273 | var images = UI.$(selector || 'img[src$=".svg"]', root || document).each(function(){ | ||
| 274 | |||
| 275 | var img = UI.$(this), | ||
| 276 | src = img.attr('src'); | ||
| 277 | |||
| 278 | if (!cacheSvgs[src]) { | ||
| 279 | |||
| 280 | var d = UI.$.Deferred(); | ||
| 281 | |||
| 282 | UI.$.get(src, {nc: Math.random()}, function(data){ | ||
| 283 | d.resolve(UI.$(data).find('svg')); | ||
| 284 | }); | ||
| 285 | |||
| 286 | cacheSvgs[src] = d.promise(); | ||
| 287 | } | ||
| 288 | |||
| 289 | cacheSvgs[src].then(function(svg) { | ||
| 290 | |||
| 291 | var $svg = UI.$(svg).clone(); | ||
| 292 | |||
| 293 | if (img.attr('id')) $svg.attr('id', img.attr('id')); | ||
| 294 | if (img.attr('class')) $svg.attr('class', img.attr('class')); | ||
| 295 | if (img.attr('style')) $svg.attr('style', img.attr('style')); | ||
| 296 | |||
| 297 | if (img.attr('width')) { | ||
| 298 | $svg.attr('width', img.attr('width')); | ||
| 299 | if (!img.attr('height')) $svg.removeAttr('height'); | ||
| 300 | } | ||
| 301 | |||
| 302 | if (img.attr('height')){ | ||
| 303 | $svg.attr('height', img.attr('height')); | ||
| 304 | if (!img.attr('width')) $svg.removeAttr('width'); | ||
| 305 | } | ||
| 306 | |||
| 307 | img.replaceWith($svg); | ||
| 308 | }); | ||
| 309 | }); | ||
| 310 | }; | ||
| 311 | |||
| 312 | // init code | ||
| 313 | UI.ready(function(context) { | ||
| 314 | UI.Utils.inlineSvg('[data-uk-svg]', context); | ||
| 315 | }); | ||
| 316 | |||
| 317 | })({}); | ||
| 318 | |||
| 319 | })(UIkit); | ||
| diff --git a/js/core/utility.min.js b/js/core/utility.min.js new file mode 100755 index 0000000..1b8e7ab --- /dev/null +++ b/js/core/utility.min.js | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){"use strict";var i=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top",rowfirst:!1,observe:!1},boot:function(){t.ready(function(i){t.$("[data-uk-margin]",i).each(function(){var i=t.$(this);i.data("stackMargin")||t.stackMargin(i,t.Utils.options(i.attr("data-uk-margin")))})})},init:function(){var n=this;t.$win.on("resize orientationchange",function(){var i=function(){n.process()};return t.$(function(){i(),t.$win.on("load",i)}),t.Utils.debounce(i,20)}()),this.on("display.uk.check",function(){this.element.is(":visible")&&this.process()}.bind(this)),this.options.observe&&t.domObserve(this.element,function(){n.element.is(":visible")&&n.process()}),i.push(this)},process:function(){var i=this.element.children();if(t.Utils.stackMargin(i,this.options),!this.options.rowfirst||!i.length)return this;var n={},e=!1;return i.removeClass(this.options.rowfirst).each(function(i,s){s=t.$(this),"none"!=this.style.display&&(i=s.offset().left,((n[i]=n[i]||[])&&n[i]).push(this),e=e===!1?i:Math.min(e,i))}),t.$(n[e]).addClass(this.options.rowfirst),this}}),function(){var i=[],n=function(t){if(t.is(":visible")){var i=t.parent().width(),n=t.data("width"),e=i/n,s=Math.floor(e*t.data("height"));t.css({height:n>i?s:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(i){t.$("iframe.uk-responsive-width, [data-uk-responsive]",i).each(function(){var i,n=t.$(this);n.data("responsiveElement")||(i=t.responsiveElement(n,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){n(t)}),n(t),i.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){i.forEach(function(t){n(t)})},15))}(),t.Utils.stackMargin=function(i,n){n=t.$.extend({cls:"uk-margin-small-top"},n),i=t.$(i).removeClass(n.cls);var e=!1;i.each(function(i,n,s,a){a=t.$(this),"none"!=a.css("display")&&(i=a.offset(),n=a.outerHeight(),s=i.top+n,a.data({ukMarginPos:s,ukMarginTop:i.top}),(e===!1||i.top<e.top)&&(e={top:i.top,left:i.left,pos:s}))}).each(function(i){i=t.$(this),"none"!=i.css("display")&&i.data("ukMarginTop")>e.top&&i.data("ukMarginPos")>e.pos&&i.addClass(n.cls)})},t.Utils.matchHeights=function(i,n){i=t.$(i).css("min-height",""),n=t.$.extend({row:!0},n);var e=function(i){if(!(i.length<2)){var n=0;i.each(function(){n=Math.max(n,t.$(this).outerHeight())}).each(function(){var i=t.$(this),e=n-("border-box"==i.css("box-sizing")?0:i.outerHeight()-i.height());i.css("min-height",e+"px")})}};n.row?(i.first().width(),setTimeout(function(){var n=!1,s=[];i.each(function(){var i=t.$(this),a=i.offset().top;a!=n&&s.length&&(e(t.$(s)),s=[],a=i.offset().top),s.push(i),n=a}),s.length&&e(t.$(s))},0)):e(i)},function(i){t.Utils.inlineSvg=function(n,e){t.$(n||'img[src$=".svg"]',e||document).each(function(){var n=t.$(this),e=n.attr("src");if(!i[e]){var s=t.$.Deferred();t.$.get(e,{nc:Math.random()},function(i){s.resolve(t.$(i).find("svg"))}),i[e]=s.promise()}i[e].then(function(i){var e=t.$(i).clone();n.attr("id")&&e.attr("id",n.attr("id")),n.attr("class")&&e.attr("class",n.attr("class")),n.attr("style")&&e.attr("style",n.attr("style")),n.attr("width")&&(e.attr("width",n.attr("width")),n.attr("height")||e.removeAttr("height")),n.attr("height")&&(e.attr("height",n.attr("height")),n.attr("width")||e.removeAttr("width")),n.replaceWith(e)})})},t.ready(function(i){t.Utils.inlineSvg("[data-uk-svg]",i)})}({})}(UIkit); \ No newline at end of file | ||
| diff --git a/js/uikit.js b/js/uikit.js new file mode 100755 index 0000000..cf8b403 --- /dev/null +++ b/js/uikit.js | |||
| @@ -0,0 +1,3814 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | (function(core) { | ||
| 3 | |||
| 4 | if (typeof define == "function" && define.amd) { // AMD | ||
| 5 | |||
| 6 | define("uikit", function(){ | ||
| 7 | |||
| 8 | var uikit = window.UIkit || core(window, window.jQuery, window.document); | ||
| 9 | |||
| 10 | uikit.load = function(res, req, onload, config) { | ||
| 11 | |||
| 12 | var resources = res.split(','), load = [], i, base = (config.config && config.config.uikit && config.config.uikit.base ? config.config.uikit.base : "").replace(/\/+$/g, ""); | ||
| 13 | |||
| 14 | if (!base) { | ||
| 15 | throw new Error( "Please define base path to UIkit in the requirejs config." ); | ||
| 16 | } | ||
| 17 | |||
| 18 | for (i = 0; i < resources.length; i += 1) { | ||
| 19 | var resource = resources[i].replace(/\./g, '/'); | ||
| 20 | load.push(base+'/components/'+resource); | ||
| 21 | } | ||
| 22 | |||
| 23 | req(load, function() { | ||
| 24 | onload(uikit); | ||
| 25 | }); | ||
| 26 | }; | ||
| 27 | |||
| 28 | return uikit; | ||
| 29 | }); | ||
| 30 | } | ||
| 31 | |||
| 32 | if (!window.jQuery) { | ||
| 33 | throw new Error( "UIkit requires jQuery" ); | ||
| 34 | } | ||
| 35 | |||
| 36 | if (window && window.jQuery) { | ||
| 37 | core(window, window.jQuery, window.document); | ||
| 38 | } | ||
| 39 | |||
| 40 | |||
| 41 | })(function(global, $, doc) { | ||
| 42 | |||
| 43 | "use strict"; | ||
| 44 | |||
| 45 | var UI = {}, _UI = global.UIkit ? Object.create(global.UIkit) : undefined; | ||
| 46 | |||
| 47 | UI.version = '2.26.4'; | ||
| 48 | |||
| 49 | UI.noConflict = function() { | ||
| 50 | // restore UIkit version | ||
| 51 | if (_UI) { | ||
| 52 | global.UIkit = _UI; | ||
| 53 | $.UIkit = _UI; | ||
| 54 | $.fn.uk = _UI.fn; | ||
| 55 | } | ||
| 56 | |||
| 57 | return UI; | ||
| 58 | }; | ||
| 59 | |||
| 60 | UI.prefix = function(str) { | ||
| 61 | return str; | ||
| 62 | }; | ||
| 63 | |||
| 64 | // cache jQuery | ||
| 65 | UI.$ = $; | ||
| 66 | |||
| 67 | UI.$doc = UI.$(document); | ||
| 68 | UI.$win = UI.$(window); | ||
| 69 | UI.$html = UI.$('html'); | ||
| 70 | |||
| 71 | UI.support = {}; | ||
| 72 | UI.support.transition = (function() { | ||
| 73 | |||
| 74 | var transitionEnd = (function() { | ||
| 75 | |||
| 76 | var element = doc.body || doc.documentElement, | ||
| 77 | transEndEventNames = { | ||
| 78 | WebkitTransition : 'webkitTransitionEnd', | ||
| 79 | MozTransition : 'transitionend', | ||
| 80 | OTransition : 'oTransitionEnd otransitionend', | ||
| 81 | transition : 'transitionend' | ||
| 82 | }, name; | ||
| 83 | |||
| 84 | for (name in transEndEventNames) { | ||
| 85 | if (element.style[name] !== undefined) return transEndEventNames[name]; | ||
| 86 | } | ||
| 87 | }()); | ||
| 88 | |||
| 89 | return transitionEnd && { end: transitionEnd }; | ||
| 90 | })(); | ||
| 91 | |||
| 92 | UI.support.animation = (function() { | ||
| 93 | |||
| 94 | var animationEnd = (function() { | ||
| 95 | |||
| 96 | var element = doc.body || doc.documentElement, | ||
| 97 | animEndEventNames = { | ||
| 98 | WebkitAnimation : 'webkitAnimationEnd', | ||
| 99 | MozAnimation : 'animationend', | ||
| 100 | OAnimation : 'oAnimationEnd oanimationend', | ||
| 101 | animation : 'animationend' | ||
| 102 | }, name; | ||
| 103 | |||
| 104 | for (name in animEndEventNames) { | ||
| 105 | if (element.style[name] !== undefined) return animEndEventNames[name]; | ||
| 106 | } | ||
| 107 | }()); | ||
| 108 | |||
| 109 | return animationEnd && { end: animationEnd }; | ||
| 110 | })(); | ||
| 111 | |||
| 112 | // requestAnimationFrame polyfill | ||
| 113 | //https://github.com/darius/requestAnimationFrame | ||
| 114 | (function() { | ||
| 115 | |||
| 116 | Date.now = Date.now || function() { return new Date().getTime(); }; | ||
| 117 | |||
| 118 | var vendors = ['webkit', 'moz']; | ||
| 119 | for (var i = 0; i < vendors.length && !window.requestAnimationFrame; ++i) { | ||
| 120 | var vp = vendors[i]; | ||
| 121 | window.requestAnimationFrame = window[vp+'RequestAnimationFrame']; | ||
| 122 | window.cancelAnimationFrame = (window[vp+'CancelAnimationFrame'] | ||
| 123 | || window[vp+'CancelRequestAnimationFrame']); | ||
| 124 | } | ||
| 125 | if (/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent) // iOS6 is buggy | ||
| 126 | || !window.requestAnimationFrame || !window.cancelAnimationFrame) { | ||
| 127 | var lastTime = 0; | ||
| 128 | window.requestAnimationFrame = function(callback) { | ||
| 129 | var now = Date.now(); | ||
| 130 | var nextTime = Math.max(lastTime + 16, now); | ||
| 131 | return setTimeout(function() { callback(lastTime = nextTime); }, | ||
| 132 | nextTime - now); | ||
| 133 | }; | ||
| 134 | window.cancelAnimationFrame = clearTimeout; | ||
| 135 | } | ||
| 136 | }()); | ||
| 137 | |||
| 138 | UI.support.touch = ( | ||
| 139 | ('ontouchstart' in document) || | ||
| 140 | (global.DocumentTouch && document instanceof global.DocumentTouch) || | ||
| 141 | (global.navigator.msPointerEnabled && global.navigator.msMaxTouchPoints > 0) || //IE 10 | ||
| 142 | (global.navigator.pointerEnabled && global.navigator.maxTouchPoints > 0) || //IE >=11 | ||
| 143 | false | ||
| 144 | ); | ||
| 145 | |||
| 146 | UI.support.mutationobserver = (global.MutationObserver || global.WebKitMutationObserver || null); | ||
| 147 | |||
| 148 | UI.Utils = {}; | ||
| 149 | |||
| 150 | UI.Utils.isFullscreen = function() { | ||
| 151 | return document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement || document.fullscreenElement || false; | ||
| 152 | }; | ||
| 153 | |||
| 154 | UI.Utils.str2json = function(str, notevil) { | ||
| 155 | try { | ||
| 156 | if (notevil) { | ||
| 157 | return JSON.parse(str | ||
| 158 | // wrap keys without quote with valid double quote | ||
| 159 | .replace(/([\$\w]+)\s*:/g, function(_, $1){return '"'+$1+'":';}) | ||
| 160 | // replacing single quote wrapped ones to double quote | ||
| 161 | .replace(/'([^']+)'/g, function(_, $1){return '"'+$1+'"';}) | ||
| 162 | ); | ||
| 163 | } else { | ||
| 164 | return (new Function("", "var json = " + str + "; return JSON.parse(JSON.stringify(json));"))(); | ||
| 165 | } | ||
| 166 | } catch(e) { return false; } | ||
| 167 | }; | ||
| 168 | |||
| 169 | UI.Utils.debounce = function(func, wait, immediate) { | ||
| 170 | var timeout; | ||
| 171 | return function() { | ||
| 172 | var context = this, args = arguments; | ||
| 173 | var later = function() { | ||
| 174 | timeout = null; | ||
| 175 | if (!immediate) func.apply(context, args); | ||
| 176 | }; | ||
| 177 | var callNow = immediate && !timeout; | ||
| 178 | clearTimeout(timeout); | ||
| 179 | timeout = setTimeout(later, wait); | ||
| 180 | if (callNow) func.apply(context, args); | ||
| 181 | }; | ||
| 182 | }; | ||
| 183 | |||
| 184 | UI.Utils.throttle = function (func, limit) { | ||
| 185 | var wait = false; | ||
| 186 | return function () { | ||
| 187 | if (!wait) { | ||
| 188 | func.call(); | ||
| 189 | wait = true; | ||
| 190 | setTimeout(function () { | ||
| 191 | wait = false; | ||
| 192 | }, limit); | ||
| 193 | } | ||
| 194 | } | ||
| 195 | }; | ||
| 196 | |||
| 197 | UI.Utils.removeCssRules = function(selectorRegEx) { | ||
| 198 | var idx, idxs, stylesheet, _i, _j, _k, _len, _len1, _len2, _ref; | ||
| 199 | |||
| 200 | if(!selectorRegEx) return; | ||
| 201 | |||
| 202 | setTimeout(function(){ | ||
| 203 | try { | ||
| 204 | _ref = document.styleSheets; | ||
| 205 | for (_i = 0, _len = _ref.length; _i < _len; _i++) { | ||
| 206 | stylesheet = _ref[_i]; | ||
| 207 | idxs = []; | ||
| 208 | stylesheet.cssRules = stylesheet.cssRules; | ||
| 209 | for (idx = _j = 0, _len1 = stylesheet.cssRules.length; _j < _len1; idx = ++_j) { | ||
| 210 | if (stylesheet.cssRules[idx].type === CSSRule.STYLE_RULE && selectorRegEx.test(stylesheet.cssRules[idx].selectorText)) { | ||
| 211 | idxs.unshift(idx); | ||
| 212 | } | ||
| 213 | } | ||
| 214 | for (_k = 0, _len2 = idxs.length; _k < _len2; _k++) { | ||
| 215 | stylesheet.deleteRule(idxs[_k]); | ||
| 216 | } | ||
| 217 | } | ||
| 218 | } catch (_error) {} | ||
| 219 | }, 0); | ||
| 220 | }; | ||
| 221 | |||
| 222 | UI.Utils.isInView = function(element, options) { | ||
| 223 | |||
| 224 | var $element = $(element); | ||
| 225 | |||
| 226 | if (!$element.is(':visible')) { | ||
| 227 | return false; | ||
| 228 | } | ||
| 229 | |||
| 230 | var window_left = UI.$win.scrollLeft(), window_top = UI.$win.scrollTop(), offset = $element.offset(), left = offset.left, top = offset.top; | ||
| 231 | |||
| 232 | options = $.extend({topoffset:0, leftoffset:0}, options); | ||
| 233 | |||
| 234 | if (top + $element.height() >= window_top && top - options.topoffset <= window_top + UI.$win.height() && | ||
| 235 | left + $element.width() >= window_left && left - options.leftoffset <= window_left + UI.$win.width()) { | ||
| 236 | return true; | ||
| 237 | } else { | ||
| 238 | return false; | ||
| 239 | } | ||
| 240 | }; | ||
| 241 | |||
| 242 | UI.Utils.checkDisplay = function(context, initanimation) { | ||
| 243 | |||
| 244 | var elements = UI.$('[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]', context || document), animated; | ||
| 245 | |||
| 246 | if (context && !elements.length) { | ||
| 247 | elements = $(context); | ||
| 248 | } | ||
| 249 | |||
| 250 | elements.trigger('display.uk.check'); | ||
| 251 | |||
| 252 | // fix firefox / IE animations | ||
| 253 | if (initanimation) { | ||
| 254 | |||
| 255 | if (typeof(initanimation)!='string') { | ||
| 256 | initanimation = '[class*="uk-animation-"]'; | ||
| 257 | } | ||
| 258 | |||
| 259 | elements.find(initanimation).each(function(){ | ||
| 260 | |||
| 261 | var ele = UI.$(this), | ||
| 262 | cls = ele.attr('class'), | ||
| 263 | anim = cls.match(/uk-animation-(.+)/); | ||
| 264 | |||
| 265 | ele.removeClass(anim[0]).width(); | ||
| 266 | |||
| 267 | ele.addClass(anim[0]); | ||
| 268 | }); | ||
| 269 | } | ||
| 270 | |||
| 271 | return elements; | ||
| 272 | }; | ||
| 273 | |||
| 274 | UI.Utils.options = function(string) { | ||
| 275 | |||
| 276 | if ($.type(string)!='string') return string; | ||
| 277 | |||
| 278 | if (string.indexOf(':') != -1 && string.trim().substr(-1) != '}') { | ||
| 279 | string = '{'+string+'}'; | ||
| 280 | } | ||
| 281 | |||
| 282 | var start = (string ? string.indexOf("{") : -1), options = {}; | ||
| 283 | |||
| 284 | if (start != -1) { | ||
| 285 | try { | ||
| 286 | options = UI.Utils.str2json(string.substr(start)); | ||
| 287 | } catch (e) {} | ||
| 288 | } | ||
| 289 | |||
| 290 | return options; | ||
| 291 | }; | ||
| 292 | |||
| 293 | UI.Utils.animate = function(element, cls) { | ||
| 294 | |||
| 295 | var d = $.Deferred(); | ||
| 296 | |||
| 297 | element = UI.$(element); | ||
| 298 | |||
| 299 | element.css('display', 'none').addClass(cls).one(UI.support.animation.end, function() { | ||
| 300 | element.removeClass(cls); | ||
| 301 | d.resolve(); | ||
| 302 | }); | ||
| 303 | |||
| 304 | element.css('display', ''); | ||
| 305 | |||
| 306 | return d.promise(); | ||
| 307 | }; | ||
| 308 | |||
| 309 | UI.Utils.uid = function(prefix) { | ||
| 310 | return (prefix || 'id') + (new Date().getTime())+"RAND"+(Math.ceil(Math.random() * 100000)); | ||
| 311 | }; | ||
| 312 | |||
| 313 | UI.Utils.template = function(str, data) { | ||
| 314 | |||
| 315 | var tokens = str.replace(/\n/g, '\\n').replace(/\{\{\{\s*(.+?)\s*\}\}\}/g, "{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g), | ||
| 316 | i=0, toc, cmd, prop, val, fn, output = [], openblocks = 0; | ||
| 317 | |||
| 318 | while(i < tokens.length) { | ||
| 319 | |||
| 320 | toc = tokens[i]; | ||
| 321 | |||
| 322 | if(toc.match(/\{\{\s*(.+?)\s*\}\}/)) { | ||
| 323 | i = i + 1; | ||
| 324 | toc = tokens[i]; | ||
| 325 | cmd = toc[0]; | ||
| 326 | prop = toc.substring(toc.match(/^(\^|\#|\!|\~|\:)/) ? 1:0); | ||
| 327 | |||
| 328 | switch(cmd) { | ||
| 329 | case '~': | ||
| 330 | output.push("for(var $i=0;$i<"+prop+".length;$i++) { var $item = "+prop+"[$i];"); | ||
| 331 | openblocks++; | ||
| 332 | break; | ||
| 333 | case ':': | ||
| 334 | output.push("for(var $key in "+prop+") { var $val = "+prop+"[$key];"); | ||
| 335 | openblocks++; | ||
| 336 | break; | ||
| 337 | case '#': | ||
| 338 | output.push("if("+prop+") {"); | ||
| 339 | openblocks++; | ||
| 340 | break; | ||
| 341 | case '^': | ||
| 342 | output.push("if(!"+prop+") {"); | ||
| 343 | openblocks++; | ||
| 344 | break; | ||
| 345 | case '/': | ||
| 346 | output.push("}"); | ||
| 347 | openblocks--; | ||
| 348 | break; | ||
| 349 | case '!': | ||
| 350 | output.push("__ret.push("+prop+");"); | ||
| 351 | break; | ||
| 352 | default: | ||
| 353 | output.push("__ret.push(escape("+prop+"));"); | ||
| 354 | break; | ||
| 355 | } | ||
| 356 | } else { | ||
| 357 | output.push("__ret.push('"+toc.replace(/\'/g, "\\'")+"');"); | ||
| 358 | } | ||
| 359 | i = i + 1; | ||
| 360 | } | ||
| 361 | |||
| 362 | fn = new Function('$data', [ | ||
| 363 | 'var __ret = [];', | ||
| 364 | 'try {', | ||
| 365 | 'with($data){', (!openblocks ? output.join('') : '__ret = ["Not all blocks are closed correctly."]'), '};', | ||
| 366 | '}catch(e){__ret = [e.message];}', | ||
| 367 | 'return __ret.join("").replace(/\\n\\n/g, "\\n");', | ||
| 368 | "function escape(html) { return String(html).replace(/&/g, '&').replace(/\"/g, '"').replace(/</g, '<').replace(/>/g, '>');}" | ||
| 369 | ].join("\n")); | ||
| 370 | |||
| 371 | return data ? fn(data) : fn; | ||
| 372 | }; | ||
| 373 | |||
| 374 | UI.Utils.events = {}; | ||
| 375 | UI.Utils.events.click = UI.support.touch ? 'tap' : 'click'; | ||
| 376 | |||
| 377 | global.UIkit = UI; | ||
| 378 | |||
| 379 | // deprecated | ||
| 380 | |||
| 381 | UI.fn = function(command, options) { | ||
| 382 | |||
| 383 | var args = arguments, cmd = command.match(/^([a-z\-]+)(?:\.([a-z]+))?/i), component = cmd[1], method = cmd[2]; | ||
| 384 | |||
| 385 | if (!UI[component]) { | ||
| 386 | $.error("UIkit component [" + component + "] does not exist."); | ||
| 387 | return this; | ||
| 388 | } | ||
| 389 | |||
| 390 | return this.each(function() { | ||
| 391 | var $this = $(this), data = $this.data(component); | ||
| 392 | if (!data) $this.data(component, (data = UI[component](this, method ? undefined : options))); | ||
| 393 | if (method) data[method].apply(data, Array.prototype.slice.call(args, 1)); | ||
| 394 | }); | ||
| 395 | }; | ||
| 396 | |||
| 397 | $.UIkit = UI; | ||
| 398 | $.fn.uk = UI.fn; | ||
| 399 | |||
| 400 | UI.langdirection = UI.$html.attr("dir") == "rtl" ? "right" : "left"; | ||
| 401 | |||
| 402 | UI.components = {}; | ||
| 403 | |||
| 404 | UI.component = function(name, def) { | ||
| 405 | |||
| 406 | var fn = function(element, options) { | ||
| 407 | |||
| 408 | var $this = this; | ||
| 409 | |||
| 410 | this.UIkit = UI; | ||
| 411 | this.element = element ? UI.$(element) : null; | ||
| 412 | this.options = $.extend(true, {}, this.defaults, options); | ||
| 413 | this.plugins = {}; | ||
| 414 | |||
| 415 | if (this.element) { | ||
| 416 | this.element.data(name, this); | ||
| 417 | } | ||
| 418 | |||
| 419 | this.init(); | ||
| 420 | |||
| 421 | (this.options.plugins.length ? this.options.plugins : Object.keys(fn.plugins)).forEach(function(plugin) { | ||
| 422 | |||
| 423 | if (fn.plugins[plugin].init) { | ||
| 424 | fn.plugins[plugin].init($this); | ||
| 425 | $this.plugins[plugin] = true; | ||
| 426 | } | ||
| 427 | |||
| 428 | }); | ||
| 429 | |||
| 430 | this.trigger('init.uk.component', [name, this]); | ||
| 431 | |||
| 432 | return this; | ||
| 433 | }; | ||
| 434 | |||
| 435 | fn.plugins = {}; | ||
| 436 | |||
| 437 | $.extend(true, fn.prototype, { | ||
| 438 | |||
| 439 | defaults : {plugins: []}, | ||
| 440 | |||
| 441 | boot: function(){}, | ||
| 442 | init: function(){}, | ||
| 443 | |||
| 444 | on: function(a1,a2,a3){ | ||
| 445 | return UI.$(this.element || this).on(a1,a2,a3); | ||
| 446 | }, | ||
| 447 | |||
| 448 | one: function(a1,a2,a3){ | ||
| 449 | return UI.$(this.element || this).one(a1,a2,a3); | ||
| 450 | }, | ||
| 451 | |||
| 452 | off: function(evt){ | ||
| 453 | return UI.$(this.element || this).off(evt); | ||
| 454 | }, | ||
| 455 | |||
| 456 | trigger: function(evt, params) { | ||
| 457 | return UI.$(this.element || this).trigger(evt, params); | ||
| 458 | }, | ||
| 459 | |||
| 460 | find: function(selector) { | ||
| 461 | return UI.$(this.element ? this.element: []).find(selector); | ||
| 462 | }, | ||
| 463 | |||
| 464 | proxy: function(obj, methods) { | ||
| 465 | |||
| 466 | var $this = this; | ||
| 467 | |||
| 468 | methods.split(' ').forEach(function(method) { | ||
| 469 | if (!$this[method]) $this[method] = function() { return obj[method].apply(obj, arguments); }; | ||
| 470 | }); | ||
| 471 | }, | ||
| 472 | |||
| 473 | mixin: function(obj, methods) { | ||
| 474 | |||
| 475 | var $this = this; | ||
| 476 | |||
| 477 | methods.split(' ').forEach(function(method) { | ||
| 478 | if (!$this[method]) $this[method] = obj[method].bind($this); | ||
| 479 | }); | ||
| 480 | }, | ||
| 481 | |||
| 482 | option: function() { | ||
| 483 | |||
| 484 | if (arguments.length == 1) { | ||
| 485 | return this.options[arguments[0]] || undefined; | ||
| 486 | } else if (arguments.length == 2) { | ||
| 487 | this.options[arguments[0]] = arguments[1]; | ||
| 488 | } | ||
| 489 | } | ||
| 490 | |||
| 491 | }, def); | ||
| 492 | |||
| 493 | this.components[name] = fn; | ||
| 494 | |||
| 495 | this[name] = function() { | ||
| 496 | |||
| 497 | var element, options; | ||
| 498 | |||
| 499 | if (arguments.length) { | ||
| 500 | |||
| 501 | switch(arguments.length) { | ||
| 502 | case 1: | ||
| 503 | |||
| 504 | if (typeof arguments[0] === "string" || arguments[0].nodeType || arguments[0] instanceof jQuery) { | ||
| 505 | element = $(arguments[0]); | ||
| 506 | } else { | ||
| 507 | options = arguments[0]; | ||
| 508 | } | ||
| 509 | |||
| 510 | break; | ||
| 511 | case 2: | ||
| 512 | |||
| 513 | element = $(arguments[0]); | ||
| 514 | options = arguments[1]; | ||
| 515 | break; | ||
| 516 | } | ||
| 517 | } | ||
| 518 | |||
| 519 | if (element && element.data(name)) { | ||
| 520 | return element.data(name); | ||
| 521 | } | ||
| 522 | |||
| 523 | return (new UI.components[name](element, options)); | ||
| 524 | }; | ||
| 525 | |||
| 526 | if (UI.domready) { | ||
| 527 | UI.component.boot(name); | ||
| 528 | } | ||
| 529 | |||
| 530 | return fn; | ||
| 531 | }; | ||
| 532 | |||
| 533 | UI.plugin = function(component, name, def) { | ||
| 534 | this.components[component].plugins[name] = def; | ||
| 535 | }; | ||
| 536 | |||
| 537 | UI.component.boot = function(name) { | ||
| 538 | |||
| 539 | if (UI.components[name].prototype && UI.components[name].prototype.boot && !UI.components[name].booted) { | ||
| 540 | UI.components[name].prototype.boot.apply(UI, []); | ||
| 541 | UI.components[name].booted = true; | ||
| 542 | } | ||
| 543 | }; | ||
| 544 | |||
| 545 | UI.component.bootComponents = function() { | ||
| 546 | |||
| 547 | for (var component in UI.components) { | ||
| 548 | UI.component.boot(component); | ||
| 549 | } | ||
| 550 | }; | ||
| 551 | |||
| 552 | |||
| 553 | // DOM mutation save ready helper function | ||
| 554 | |||
| 555 | UI.domObservers = []; | ||
| 556 | UI.domready = false; | ||
| 557 | |||
| 558 | UI.ready = function(fn) { | ||
| 559 | |||
| 560 | UI.domObservers.push(fn); | ||
| 561 | |||
| 562 | if (UI.domready) { | ||
| 563 | fn(document); | ||
| 564 | } | ||
| 565 | }; | ||
| 566 | |||
| 567 | UI.on = function(a1,a2,a3){ | ||
| 568 | |||
| 569 | if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { | ||
| 570 | a2.apply(UI.$doc); | ||
| 571 | } | ||
| 572 | |||
| 573 | return UI.$doc.on(a1,a2,a3); | ||
| 574 | }; | ||
| 575 | |||
| 576 | UI.one = function(a1,a2,a3){ | ||
| 577 | |||
| 578 | if (a1 && a1.indexOf('ready.uk.dom') > -1 && UI.domready) { | ||
| 579 | a2.apply(UI.$doc); | ||
| 580 | return UI.$doc; | ||
| 581 | } | ||
| 582 | |||
| 583 | return UI.$doc.one(a1,a2,a3); | ||
| 584 | }; | ||
| 585 | |||
| 586 | UI.trigger = function(evt, params) { | ||
| 587 | return UI.$doc.trigger(evt, params); | ||
| 588 | }; | ||
| 589 | |||
| 590 | UI.domObserve = function(selector, fn) { | ||
| 591 | |||
| 592 | if(!UI.support.mutationobserver) return; | ||
| 593 | |||
| 594 | fn = fn || function() {}; | ||
| 595 | |||
| 596 | UI.$(selector).each(function() { | ||
| 597 | |||
| 598 | var element = this, | ||
| 599 | $element = UI.$(element); | ||
| 600 | |||
| 601 | if ($element.data('observer')) { | ||
| 602 | return; | ||
| 603 | } | ||
| 604 | |||
| 605 | try { | ||
| 606 | |||
| 607 | var observer = new UI.support.mutationobserver(UI.Utils.debounce(function(mutations) { | ||
| 608 | fn.apply(element, []); | ||
| 609 | $element.trigger('changed.uk.dom'); | ||
| 610 | }, 50), {childList: true, subtree: true}); | ||
| 611 | |||
| 612 | // pass in the target node, as well as the observer options | ||
| 613 | observer.observe(element, { childList: true, subtree: true }); | ||
| 614 | |||
| 615 | $element.data('observer', observer); | ||
| 616 | |||
| 617 | } catch(e) {} | ||
| 618 | }); | ||
| 619 | }; | ||
| 620 | |||
| 621 | UI.init = function(root) { | ||
| 622 | |||
| 623 | root = root || document; | ||
| 624 | |||
| 625 | UI.domObservers.forEach(function(fn){ | ||
| 626 | fn(root); | ||
| 627 | }); | ||
| 628 | }; | ||
| 629 | |||
| 630 | UI.on('domready.uk.dom', function(){ | ||
| 631 | |||
| 632 | UI.init(); | ||
| 633 | |||
| 634 | if (UI.domready) UI.Utils.checkDisplay(); | ||
| 635 | }); | ||
| 636 | |||
| 637 | document.addEventListener('DOMContentLoaded', function(){ | ||
| 638 | |||
| 639 | var domReady = function() { | ||
| 640 | |||
| 641 | UI.$body = UI.$('body'); | ||
| 642 | |||
| 643 | UI.trigger('beforeready.uk.dom'); | ||
| 644 | |||
| 645 | UI.component.bootComponents(); | ||
| 646 | |||
| 647 | // custom scroll observer | ||
| 648 | var rafToken = requestAnimationFrame((function(){ | ||
| 649 | |||
| 650 | var memory = {dir: {x:0, y:0}, x: window.pageXOffset, y:window.pageYOffset}; | ||
| 651 | |||
| 652 | var fn = function(){ | ||
| 653 | // reading this (window.page[X|Y]Offset) causes a full page recalc of the layout in Chrome, | ||
| 654 | // so we only want to do this once | ||
| 655 | var wpxo = window.pageXOffset; | ||
| 656 | var wpyo = window.pageYOffset; | ||
| 657 | |||
| 658 | // Did the scroll position change since the last time we were here? | ||
| 659 | if (memory.x != wpxo || memory.y != wpyo) { | ||
| 660 | |||
| 661 | // Set the direction of the scroll and store the new position | ||
| 662 | if (wpxo != memory.x) {memory.dir.x = wpxo > memory.x ? 1:-1; } else { memory.dir.x = 0; } | ||
| 663 | if (wpyo != memory.y) {memory.dir.y = wpyo > memory.y ? 1:-1; } else { memory.dir.y = 0; } | ||
| 664 | |||
| 665 | memory.x = wpxo; | ||
| 666 | memory.y = wpyo; | ||
| 667 | |||
| 668 | // Trigger the scroll event, this could probably be sent using memory.clone() but this is | ||
| 669 | // more explicit and easier to see exactly what is being sent in the event. | ||
| 670 | UI.$doc.trigger('scrolling.uk.document', [{ | ||
| 671 | "dir": {"x": memory.dir.x, "y": memory.dir.y}, "x": wpxo, "y": wpyo | ||
| 672 | }]); | ||
| 673 | } | ||
| 674 | |||
| 675 | cancelAnimationFrame(rafToken); | ||
| 676 | rafToken = requestAnimationFrame(fn); | ||
| 677 | }; | ||
| 678 | |||
| 679 | if (UI.support.touch) { | ||
| 680 | UI.$html.on('touchmove touchend MSPointerMove MSPointerUp pointermove pointerup', fn); | ||
| 681 | } | ||
| 682 | |||
| 683 | if (memory.x || memory.y) fn(); | ||
| 684 | |||
| 685 | return fn; | ||
| 686 | |||
| 687 | })()); | ||
| 688 | |||
| 689 | // run component init functions on dom | ||
| 690 | UI.trigger('domready.uk.dom'); | ||
| 691 | |||
| 692 | if (UI.support.touch) { | ||
| 693 | |||
| 694 | // remove css hover rules for touch devices | ||
| 695 | // UI.Utils.removeCssRules(/\.uk-(?!navbar).*:hover/); | ||
| 696 | |||
| 697 | // viewport unit fix for uk-height-viewport - should be fixed in iOS 8 | ||
| 698 | if (navigator.userAgent.match(/(iPad|iPhone|iPod)/g)) { | ||
| 699 | |||
| 700 | UI.$win.on('load orientationchange resize', UI.Utils.debounce((function(){ | ||
| 701 | |||
| 702 | var fn = function() { | ||
| 703 | $('.uk-height-viewport').css('height', window.innerHeight); | ||
| 704 | return fn; | ||
| 705 | }; | ||
| 706 | |||
| 707 | return fn(); | ||
| 708 | |||
| 709 | })(), 100)); | ||
| 710 | } | ||
| 711 | } | ||
| 712 | |||
| 713 | UI.trigger('afterready.uk.dom'); | ||
| 714 | |||
| 715 | // mark that domready is left behind | ||
| 716 | UI.domready = true; | ||
| 717 | |||
| 718 | // auto init js components | ||
| 719 | if (UI.support.mutationobserver) { | ||
| 720 | |||
| 721 | var initFn = UI.Utils.debounce(function(){ | ||
| 722 | requestAnimationFrame(function(){ UI.init(document.body);}); | ||
| 723 | }, 10); | ||
| 724 | |||
| 725 | (new UI.support.mutationobserver(function(mutations) { | ||
| 726 | |||
| 727 | var init = false; | ||
| 728 | |||
| 729 | mutations.every(function(mutation){ | ||
| 730 | |||
| 731 | if (mutation.type != 'childList') return true; | ||
| 732 | |||
| 733 | for (var i = 0, node; i < mutation.addedNodes.length; ++i) { | ||
| 734 | |||
| 735 | node = mutation.addedNodes[i]; | ||
| 736 | |||
| 737 | if (node.outerHTML && node.outerHTML.indexOf('data-uk-') !== -1) { | ||
| 738 | return (init = true) && false; | ||
| 739 | } | ||
| 740 | } | ||
| 741 | return true; | ||
| 742 | }); | ||
| 743 | |||
| 744 | if (init) initFn(); | ||
| 745 | |||
| 746 | })).observe(document.body, {childList: true, subtree: true}); | ||
| 747 | } | ||
| 748 | }; | ||
| 749 | |||
| 750 | if (document.readyState == 'complete' || document.readyState == 'interactive') { | ||
| 751 | setTimeout(domReady); | ||
| 752 | } | ||
| 753 | |||
| 754 | return domReady; | ||
| 755 | |||
| 756 | }()); | ||
| 757 | |||
| 758 | // add touch identifier class | ||
| 759 | UI.$html.addClass(UI.support.touch ? "uk-touch" : "uk-notouch"); | ||
| 760 | |||
| 761 | // add uk-hover class on tap to support overlays on touch devices | ||
| 762 | if (UI.support.touch) { | ||
| 763 | |||
| 764 | var hoverset = false, | ||
| 765 | exclude, | ||
| 766 | hovercls = 'uk-hover', | ||
| 767 | selector = '.uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover'; | ||
| 768 | |||
| 769 | UI.$html.on('mouseenter touchstart MSPointerDown pointerdown', selector, function() { | ||
| 770 | |||
| 771 | if (hoverset) $('.'+hovercls).removeClass(hovercls); | ||
| 772 | |||
| 773 | hoverset = $(this).addClass(hovercls); | ||
| 774 | |||
| 775 | }).on('mouseleave touchend MSPointerUp pointerup', function(e) { | ||
| 776 | |||
| 777 | exclude = $(e.target).parents(selector); | ||
| 778 | |||
| 779 | if (hoverset) { | ||
| 780 | hoverset.not(exclude).removeClass(hovercls); | ||
| 781 | } | ||
| 782 | }); | ||
| 783 | } | ||
| 784 | |||
| 785 | return UI; | ||
| 786 | }); | ||
| 787 | |||
| 788 | // Based on Zeptos touch.js | ||
| 789 | // https://raw.github.com/madrobby/zepto/master/src/touch.js | ||
| 790 | // Zepto.js may be freely distributed under the MIT license. | ||
| 791 | |||
| 792 | ;(function($){ | ||
| 793 | |||
| 794 | if ($.fn.swipeLeft) { | ||
| 795 | return; | ||
| 796 | } | ||
| 797 | |||
| 798 | |||
| 799 | var touch = {}, touchTimeout, tapTimeout, swipeTimeout, longTapTimeout, longTapDelay = 750, gesture; | ||
| 800 | |||
| 801 | function swipeDirection(x1, x2, y1, y2) { | ||
| 802 | return Math.abs(x1 - x2) >= Math.abs(y1 - y2) ? (x1 - x2 > 0 ? 'Left' : 'Right') : (y1 - y2 > 0 ? 'Up' : 'Down'); | ||
| 803 | } | ||
| 804 | |||
| 805 | function longTap() { | ||
| 806 | longTapTimeout = null; | ||
| 807 | if (touch.last) { | ||
| 808 | if ( touch.el !== undefined ) touch.el.trigger('longTap'); | ||
| 809 | touch = {}; | ||
| 810 | } | ||
| 811 | } | ||
| 812 | |||
| 813 | function cancelLongTap() { | ||
| 814 | if (longTapTimeout) clearTimeout(longTapTimeout); | ||
| 815 | longTapTimeout = null; | ||
| 816 | } | ||
| 817 | |||
| 818 | function cancelAll() { | ||
| 819 | if (touchTimeout) clearTimeout(touchTimeout); | ||
| 820 | if (tapTimeout) clearTimeout(tapTimeout); | ||
| 821 | if (swipeTimeout) clearTimeout(swipeTimeout); | ||
| 822 | if (longTapTimeout) clearTimeout(longTapTimeout); | ||
| 823 | touchTimeout = tapTimeout = swipeTimeout = longTapTimeout = null; | ||
| 824 | touch = {}; | ||
| 825 | } | ||
| 826 | |||
| 827 | function isPrimaryTouch(event){ | ||
| 828 | return event.pointerType == event.MSPOINTER_TYPE_TOUCH && event.isPrimary; | ||
| 829 | } | ||
| 830 | |||
| 831 | $(function(){ | ||
| 832 | var now, delta, deltaX = 0, deltaY = 0, firstTouch; | ||
| 833 | |||
| 834 | if ('MSGesture' in window) { | ||
| 835 | gesture = new MSGesture(); | ||
| 836 | gesture.target = document.body; | ||
| 837 | } | ||
| 838 | |||
| 839 | $(document) | ||
| 840 | .on('MSGestureEnd gestureend', function(e){ | ||
| 841 | |||
| 842 | var swipeDirectionFromVelocity = e.originalEvent.velocityX > 1 ? 'Right' : e.originalEvent.velocityX < -1 ? 'Left' : e.originalEvent.velocityY > 1 ? 'Down' : e.originalEvent.velocityY < -1 ? 'Up' : null; | ||
| 843 | |||
| 844 | if (swipeDirectionFromVelocity && touch.el !== undefined) { | ||
| 845 | touch.el.trigger('swipe'); | ||
| 846 | touch.el.trigger('swipe'+ swipeDirectionFromVelocity); | ||
| 847 | } | ||
| 848 | }) | ||
| 849 | // MSPointerDown: for IE10 | ||
| 850 | // pointerdown: for IE11 | ||
| 851 | .on('touchstart MSPointerDown pointerdown', function(e){ | ||
| 852 | |||
| 853 | if(e.type == 'MSPointerDown' && !isPrimaryTouch(e.originalEvent)) return; | ||
| 854 | |||
| 855 | firstTouch = (e.type == 'MSPointerDown' || e.type == 'pointerdown') ? e : e.originalEvent.touches[0]; | ||
| 856 | |||
| 857 | now = Date.now(); | ||
| 858 | delta = now - (touch.last || now); | ||
| 859 | touch.el = $('tagName' in firstTouch.target ? firstTouch.target : firstTouch.target.parentNode); | ||
| 860 | |||
| 861 | if(touchTimeout) clearTimeout(touchTimeout); | ||
| 862 | |||
| 863 | touch.x1 = firstTouch.pageX; | ||
| 864 | touch.y1 = firstTouch.pageY; | ||
| 865 | |||
| 866 | if (delta > 0 && delta <= 250) touch.isDoubleTap = true; | ||
| 867 | |||
| 868 | touch.last = now; | ||
| 869 | longTapTimeout = setTimeout(longTap, longTapDelay); | ||
| 870 | |||
| 871 | // adds the current touch contact for IE gesture recognition | ||
| 872 | if (gesture && ( e.type == 'MSPointerDown' || e.type == 'pointerdown' || e.type == 'touchstart' ) ) { | ||
| 873 | gesture.addPointer(e.originalEvent.pointerId); | ||
| 874 | } | ||
| 875 | |||
| 876 | }) | ||
| 877 | // MSPointerMove: for IE10 | ||
| 878 | // pointermove: for IE11 | ||
| 879 | .on('touchmove MSPointerMove pointermove', function(e){ | ||
| 880 | |||
| 881 | if (e.type == 'MSPointerMove' && !isPrimaryTouch(e.originalEvent)) return; | ||
| 882 | |||
| 883 | firstTouch = (e.type == 'MSPointerMove' || e.type == 'pointermove') ? e : e.originalEvent.touches[0]; | ||
| 884 | |||
| 885 | cancelLongTap(); | ||
| 886 | touch.x2 = firstTouch.pageX; | ||
| 887 | touch.y2 = firstTouch.pageY; | ||
| 888 | |||
| 889 | deltaX += Math.abs(touch.x1 - touch.x2); | ||
| 890 | deltaY += Math.abs(touch.y1 - touch.y2); | ||
| 891 | }) | ||
| 892 | // MSPointerUp: for IE10 | ||
| 893 | // pointerup: for IE11 | ||
| 894 | .on('touchend MSPointerUp pointerup', function(e){ | ||
| 895 | |||
| 896 | if (e.type == 'MSPointerUp' && !isPrimaryTouch(e.originalEvent)) return; | ||
| 897 | |||
| 898 | cancelLongTap(); | ||
| 899 | |||
| 900 | // swipe | ||
| 901 | if ((touch.x2 && Math.abs(touch.x1 - touch.x2) > 30) || (touch.y2 && Math.abs(touch.y1 - touch.y2) > 30)){ | ||
| 902 | |||
| 903 | swipeTimeout = setTimeout(function() { | ||
| 904 | if ( touch.el !== undefined ) { | ||
| 905 | touch.el.trigger('swipe'); | ||
| 906 | touch.el.trigger('swipe' + (swipeDirection(touch.x1, touch.x2, touch.y1, touch.y2))); | ||
| 907 | } | ||
| 908 | touch = {}; | ||
| 909 | }, 0); | ||
| 910 | |||
| 911 | // normal tap | ||
| 912 | } else if ('last' in touch) { | ||
| 913 | |||
| 914 | // don't fire tap when delta position changed by more than 30 pixels, | ||
| 915 | // for instance when moving to a point and back to origin | ||
| 916 | if (isNaN(deltaX) || (deltaX < 30 && deltaY < 30)) { | ||
| 917 | // delay by one tick so we can cancel the 'tap' event if 'scroll' fires | ||
| 918 | // ('tap' fires before 'scroll') | ||
| 919 | tapTimeout = setTimeout(function() { | ||
| 920 | |||
| 921 | // trigger universal 'tap' with the option to cancelTouch() | ||
| 922 | // (cancelTouch cancels processing of single vs double taps for faster 'tap' response) | ||
| 923 | var event = $.Event('tap'); | ||
| 924 | event.cancelTouch = cancelAll; | ||
| 925 | if ( touch.el !== undefined ) touch.el.trigger(event); | ||
| 926 | |||
| 927 | // trigger double tap immediately | ||
| 928 | if (touch.isDoubleTap) { | ||
| 929 | if ( touch.el !== undefined ) touch.el.trigger('doubleTap'); | ||
| 930 | touch = {}; | ||
| 931 | } | ||
| 932 | |||
| 933 | // trigger single tap after 250ms of inactivity | ||
| 934 | else { | ||
| 935 | touchTimeout = setTimeout(function(){ | ||
| 936 | touchTimeout = null; | ||
| 937 | if ( touch.el !== undefined ) touch.el.trigger('singleTap'); | ||
| 938 | touch = {}; | ||
| 939 | }, 250); | ||
| 940 | } | ||
| 941 | }, 0); | ||
| 942 | } else { | ||
| 943 | touch = {}; | ||
| 944 | } | ||
| 945 | deltaX = deltaY = 0; | ||
| 946 | } | ||
| 947 | }) | ||
| 948 | // when the browser window loses focus, | ||
| 949 | // for example when a modal dialog is shown, | ||
| 950 | // cancel all ongoing events | ||
| 951 | .on('touchcancel MSPointerCancel', cancelAll); | ||
| 952 | |||
| 953 | // scrolling the window indicates intention of the user | ||
| 954 | // to scroll, not tap or swipe, so cancel all ongoing events | ||
| 955 | $(window).on('scroll', cancelAll); | ||
| 956 | }); | ||
| 957 | |||
| 958 | ['swipe', 'swipeLeft', 'swipeRight', 'swipeUp', 'swipeDown', 'doubleTap', 'tap', 'singleTap', 'longTap'].forEach(function(eventName){ | ||
| 959 | $.fn[eventName] = function(callback){ return $(this).on(eventName, callback); }; | ||
| 960 | }); | ||
| 961 | })(jQuery); | ||
| 962 | |||
| 963 | (function(UI) { | ||
| 964 | |||
| 965 | "use strict"; | ||
| 966 | |||
| 967 | var stacks = []; | ||
| 968 | |||
| 969 | UI.component('stackMargin', { | ||
| 970 | |||
| 971 | defaults: { | ||
| 972 | cls: 'uk-margin-small-top', | ||
| 973 | rowfirst: false, | ||
| 974 | observe: false | ||
| 975 | }, | ||
| 976 | |||
| 977 | boot: function() { | ||
| 978 | |||
| 979 | // init code | ||
| 980 | UI.ready(function(context) { | ||
| 981 | |||
| 982 | UI.$("[data-uk-margin]", context).each(function() { | ||
| 983 | |||
| 984 | var ele = UI.$(this); | ||
| 985 | |||
| 986 | if (!ele.data("stackMargin")) { | ||
| 987 | UI.stackMargin(ele, UI.Utils.options(ele.attr("data-uk-margin"))); | ||
| 988 | } | ||
| 989 | }); | ||
| 990 | }); | ||
| 991 | }, | ||
| 992 | |||
| 993 | init: function() { | ||
| 994 | |||
| 995 | var $this = this; | ||
| 996 | |||
| 997 | UI.$win.on('resize orientationchange', (function() { | ||
| 998 | |||
| 999 | var fn = function() { | ||
| 1000 | $this.process(); | ||
| 1001 | }; | ||
| 1002 | |||
| 1003 | UI.$(function() { | ||
| 1004 | fn(); | ||
| 1005 | UI.$win.on("load", fn); | ||
| 1006 | }); | ||
| 1007 | |||
| 1008 | return UI.Utils.debounce(fn, 20); | ||
| 1009 | })()); | ||
| 1010 | |||
| 1011 | this.on("display.uk.check", function(e) { | ||
| 1012 | if (this.element.is(":visible")) this.process(); | ||
| 1013 | }.bind(this)); | ||
| 1014 | |||
| 1015 | if (this.options.observe) { | ||
| 1016 | |||
| 1017 | UI.domObserve(this.element, function(e) { | ||
| 1018 | if ($this.element.is(":visible")) $this.process(); | ||
| 1019 | }); | ||
| 1020 | } | ||
| 1021 | |||
| 1022 | stacks.push(this); | ||
| 1023 | }, | ||
| 1024 | |||
| 1025 | process: function() { | ||
| 1026 | |||
| 1027 | var $this = this, columns = this.element.children(); | ||
| 1028 | |||
| 1029 | UI.Utils.stackMargin(columns, this.options); | ||
| 1030 | |||
| 1031 | if (!this.options.rowfirst || !columns.length) { | ||
| 1032 | return this; | ||
| 1033 | } | ||
| 1034 | |||
| 1035 | // Mark first column elements | ||
| 1036 | var group = {}, minleft = false; | ||
| 1037 | |||
| 1038 | columns.removeClass(this.options.rowfirst).each(function(offset, $ele){ | ||
| 1039 | |||
| 1040 | $ele = UI.$(this); | ||
| 1041 | |||
| 1042 | if (this.style.display != 'none') { | ||
| 1043 | offset = $ele.offset().left; | ||
| 1044 | ((group[offset] = group[offset] || []) && group[offset]).push(this); | ||
| 1045 | minleft = minleft === false ? offset : Math.min(minleft, offset); | ||
| 1046 | } | ||
| 1047 | }); | ||
| 1048 | |||
| 1049 | UI.$(group[minleft]).addClass(this.options.rowfirst); | ||
| 1050 | |||
| 1051 | return this; | ||
| 1052 | } | ||
| 1053 | |||
| 1054 | }); | ||
| 1055 | |||
| 1056 | |||
| 1057 | // responsive element e.g. iframes | ||
| 1058 | |||
| 1059 | (function(){ | ||
| 1060 | |||
| 1061 | var elements = [], check = function(ele) { | ||
| 1062 | |||
| 1063 | if (!ele.is(':visible')) return; | ||
| 1064 | |||
| 1065 | var width = ele.parent().width(), | ||
| 1066 | iwidth = ele.data('width'), | ||
| 1067 | ratio = (width / iwidth), | ||
| 1068 | height = Math.floor(ratio * ele.data('height')); | ||
| 1069 | |||
| 1070 | ele.css({'height': (width < iwidth) ? height : ele.data('height')}); | ||
| 1071 | }; | ||
| 1072 | |||
| 1073 | UI.component('responsiveElement', { | ||
| 1074 | |||
| 1075 | defaults: {}, | ||
| 1076 | |||
| 1077 | boot: function() { | ||
| 1078 | |||
| 1079 | // init code | ||
| 1080 | UI.ready(function(context) { | ||
| 1081 | |||
| 1082 | UI.$("iframe.uk-responsive-width, [data-uk-responsive]", context).each(function() { | ||
| 1083 | |||
| 1084 | var ele = UI.$(this), obj; | ||
| 1085 | |||
| 1086 | if (!ele.data("responsiveElement")) { | ||
| 1087 | obj = UI.responsiveElement(ele, {}); | ||
| 1088 | } | ||
| 1089 | }); | ||
| 1090 | }); | ||
| 1091 | }, | ||
| 1092 | |||
| 1093 | init: function() { | ||
| 1094 | |||
| 1095 | var ele = this.element; | ||
| 1096 | |||
| 1097 | if (ele.attr('width') && ele.attr('height')) { | ||
| 1098 | |||
| 1099 | ele.data({ | ||
| 1100 | |||
| 1101 | 'width' : ele.attr('width'), | ||
| 1102 | 'height': ele.attr('height') | ||
| 1103 | |||
| 1104 | }).on('display.uk.check', function(){ | ||
| 1105 | check(ele); | ||
| 1106 | }); | ||
| 1107 | |||
| 1108 | check(ele); | ||
| 1109 | |||
| 1110 | elements.push(ele); | ||
| 1111 | } | ||
| 1112 | } | ||
| 1113 | }); | ||
| 1114 | |||
| 1115 | UI.$win.on('resize load', UI.Utils.debounce(function(){ | ||
| 1116 | |||
| 1117 | elements.forEach(function(ele){ | ||
| 1118 | check(ele); | ||
| 1119 | }); | ||
| 1120 | |||
| 1121 | }, 15)); | ||
| 1122 | |||
| 1123 | })(); | ||
| 1124 | |||
| 1125 | |||
| 1126 | |||
| 1127 | // helper | ||
| 1128 | |||
| 1129 | UI.Utils.stackMargin = function(elements, options) { | ||
| 1130 | |||
| 1131 | options = UI.$.extend({ | ||
| 1132 | 'cls': 'uk-margin-small-top' | ||
| 1133 | }, options); | ||
| 1134 | |||
| 1135 | elements = UI.$(elements).removeClass(options.cls); | ||
| 1136 | |||
| 1137 | var min = false; | ||
| 1138 | |||
| 1139 | elements.each(function(offset, height, pos, $ele){ | ||
| 1140 | |||
| 1141 | $ele = UI.$(this); | ||
| 1142 | |||
| 1143 | if ($ele.css('display') != 'none') { | ||
| 1144 | |||
| 1145 | offset = $ele.offset(); | ||
| 1146 | height = $ele.outerHeight(); | ||
| 1147 | pos = offset.top + height; | ||
| 1148 | |||
| 1149 | $ele.data({ | ||
| 1150 | 'ukMarginPos': pos, | ||
| 1151 | 'ukMarginTop': offset.top | ||
| 1152 | }); | ||
| 1153 | |||
| 1154 | if (min === false || (offset.top < min.top) ) { | ||
| 1155 | |||
| 1156 | min = { | ||
| 1157 | top : offset.top, | ||
| 1158 | left : offset.left, | ||
| 1159 | pos : pos | ||
| 1160 | }; | ||
| 1161 | } | ||
| 1162 | } | ||
| 1163 | |||
| 1164 | }).each(function($ele) { | ||
| 1165 | |||
| 1166 | $ele = UI.$(this); | ||
| 1167 | |||
| 1168 | if ($ele.css('display') != 'none' && $ele.data('ukMarginTop') > min.top && $ele.data('ukMarginPos') > min.pos) { | ||
| 1169 | $ele.addClass(options.cls); | ||
| 1170 | } | ||
| 1171 | }); | ||
| 1172 | }; | ||
| 1173 | |||
| 1174 | UI.Utils.matchHeights = function(elements, options) { | ||
| 1175 | |||
| 1176 | elements = UI.$(elements).css('min-height', ''); | ||
| 1177 | options = UI.$.extend({ row : true }, options); | ||
| 1178 | |||
| 1179 | var matchHeights = function(group){ | ||
| 1180 | |||
| 1181 | if (group.length < 2) return; | ||
| 1182 | |||
| 1183 | var max = 0; | ||
| 1184 | |||
| 1185 | group.each(function() { | ||
| 1186 | max = Math.max(max, UI.$(this).outerHeight()); | ||
| 1187 | }).each(function() { | ||
| 1188 | |||
| 1189 | var element = UI.$(this), | ||
| 1190 | height = max - (element.css('box-sizing') == 'border-box' ? 0 : (element.outerHeight() - element.height())); | ||
| 1191 | |||
| 1192 | element.css('min-height', height + 'px'); | ||
| 1193 | }); | ||
| 1194 | }; | ||
| 1195 | |||
| 1196 | if (options.row) { | ||
| 1197 | |||
| 1198 | elements.first().width(); // force redraw | ||
| 1199 | |||
| 1200 | setTimeout(function(){ | ||
| 1201 | |||
| 1202 | var lastoffset = false, group = []; | ||
| 1203 | |||
| 1204 | elements.each(function() { | ||
| 1205 | |||
| 1206 | var ele = UI.$(this), offset = ele.offset().top; | ||
| 1207 | |||
| 1208 | if (offset != lastoffset && group.length) { | ||
| 1209 | |||
| 1210 | matchHeights(UI.$(group)); | ||
| 1211 | group = []; | ||
| 1212 | offset = ele.offset().top; | ||
| 1213 | } | ||
| 1214 | |||
| 1215 | group.push(ele); | ||
| 1216 | lastoffset = offset; | ||
| 1217 | }); | ||
| 1218 | |||
| 1219 | if (group.length) { | ||
| 1220 | matchHeights(UI.$(group)); | ||
| 1221 | } | ||
| 1222 | |||
| 1223 | }, 0); | ||
| 1224 | |||
| 1225 | } else { | ||
| 1226 | matchHeights(elements); | ||
| 1227 | } | ||
| 1228 | }; | ||
| 1229 | |||
| 1230 | (function(cacheSvgs){ | ||
| 1231 | |||
| 1232 | UI.Utils.inlineSvg = function(selector, root) { | ||
| 1233 | |||
| 1234 | var images = UI.$(selector || 'img[src$=".svg"]', root || document).each(function(){ | ||
| 1235 | |||
| 1236 | var img = UI.$(this), | ||
| 1237 | src = img.attr('src'); | ||
| 1238 | |||
| 1239 | if (!cacheSvgs[src]) { | ||
| 1240 | |||
| 1241 | var d = UI.$.Deferred(); | ||
| 1242 | |||
| 1243 | UI.$.get(src, {nc: Math.random()}, function(data){ | ||
| 1244 | d.resolve(UI.$(data).find('svg')); | ||
| 1245 | }); | ||
| 1246 | |||
| 1247 | cacheSvgs[src] = d.promise(); | ||
| 1248 | } | ||
| 1249 | |||
| 1250 | cacheSvgs[src].then(function(svg) { | ||
| 1251 | |||
| 1252 | var $svg = UI.$(svg).clone(); | ||
| 1253 | |||
| 1254 | if (img.attr('id')) $svg.attr('id', img.attr('id')); | ||
| 1255 | if (img.attr('class')) $svg.attr('class', img.attr('class')); | ||
| 1256 | if (img.attr('style')) $svg.attr('style', img.attr('style')); | ||
| 1257 | |||
| 1258 | if (img.attr('width')) { | ||
| 1259 | $svg.attr('width', img.attr('width')); | ||
| 1260 | if (!img.attr('height')) $svg.removeAttr('height'); | ||
| 1261 | } | ||
| 1262 | |||
| 1263 | if (img.attr('height')){ | ||
| 1264 | $svg.attr('height', img.attr('height')); | ||
| 1265 | if (!img.attr('width')) $svg.removeAttr('width'); | ||
| 1266 | } | ||
| 1267 | |||
| 1268 | img.replaceWith($svg); | ||
| 1269 | }); | ||
| 1270 | }); | ||
| 1271 | }; | ||
| 1272 | |||
| 1273 | // init code | ||
| 1274 | UI.ready(function(context) { | ||
| 1275 | UI.Utils.inlineSvg('[data-uk-svg]', context); | ||
| 1276 | }); | ||
| 1277 | |||
| 1278 | })({}); | ||
| 1279 | |||
| 1280 | })(UIkit); | ||
| 1281 | |||
| 1282 | (function(UI) { | ||
| 1283 | |||
| 1284 | "use strict"; | ||
| 1285 | |||
| 1286 | UI.component('smoothScroll', { | ||
| 1287 | |||
| 1288 | boot: function() { | ||
| 1289 | |||
| 1290 | // init code | ||
| 1291 | UI.$html.on("click.smooth-scroll.uikit", "[data-uk-smooth-scroll]", function(e) { | ||
| 1292 | var ele = UI.$(this); | ||
| 1293 | |||
| 1294 | if (!ele.data("smoothScroll")) { | ||
| 1295 | var obj = UI.smoothScroll(ele, UI.Utils.options(ele.attr("data-uk-smooth-scroll"))); | ||
| 1296 | ele.trigger("click"); | ||
| 1297 | } | ||
| 1298 | |||
| 1299 | return false; | ||
| 1300 | }); | ||
| 1301 | }, | ||
| 1302 | |||
| 1303 | init: function() { | ||
| 1304 | |||
| 1305 | var $this = this; | ||
| 1306 | |||
| 1307 | this.on("click", function(e) { | ||
| 1308 | e.preventDefault(); | ||
| 1309 | scrollToElement(UI.$(this.hash).length ? UI.$(this.hash) : UI.$("body"), $this.options); | ||
| 1310 | }); | ||
| 1311 | } | ||
| 1312 | }); | ||
| 1313 | |||
| 1314 | function scrollToElement(ele, options) { | ||
| 1315 | |||
| 1316 | options = UI.$.extend({ | ||
| 1317 | duration: 1000, | ||
| 1318 | transition: 'easeOutExpo', | ||
| 1319 | offset: 0, | ||
| 1320 | complete: function(){} | ||
| 1321 | }, options); | ||
| 1322 | |||
| 1323 | // get / set parameters | ||
| 1324 | var target = ele.offset().top - options.offset, | ||
| 1325 | docheight = UI.$doc.height(), | ||
| 1326 | winheight = window.innerHeight; | ||
| 1327 | |||
| 1328 | if ((target + winheight) > docheight) { | ||
| 1329 | target = docheight - winheight; | ||
| 1330 | } | ||
| 1331 | |||
| 1332 | // animate to target, fire callback when done | ||
| 1333 | UI.$("html,body").stop().animate({scrollTop: target}, options.duration, options.transition).promise().done(options.complete); | ||
| 1334 | } | ||
| 1335 | |||
| 1336 | UI.Utils.scrollToElement = scrollToElement; | ||
| 1337 | |||
| 1338 | if (!UI.$.easing.easeOutExpo) { | ||
| 1339 | UI.$.easing.easeOutExpo = function(x, t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; | ||
| 1340 | } | ||
| 1341 | |||
| 1342 | })(UIkit); | ||
| 1343 | |||
| 1344 | (function(UI) { | ||
| 1345 | |||
| 1346 | "use strict"; | ||
| 1347 | |||
| 1348 | var $win = UI.$win, | ||
| 1349 | $doc = UI.$doc, | ||
| 1350 | scrollspies = [], | ||
| 1351 | checkScrollSpy = function() { | ||
| 1352 | for(var i=0; i < scrollspies.length; i++) { | ||
| 1353 | window.requestAnimationFrame.apply(window, [scrollspies[i].check]); | ||
| 1354 | } | ||
| 1355 | }; | ||
| 1356 | |||
| 1357 | UI.component('scrollspy', { | ||
| 1358 | |||
| 1359 | defaults: { | ||
| 1360 | "target" : false, | ||
| 1361 | "cls" : "uk-scrollspy-inview", | ||
| 1362 | "initcls" : "uk-scrollspy-init-inview", | ||
| 1363 | "topoffset" : 0, | ||
| 1364 | "leftoffset" : 0, | ||
| 1365 | "repeat" : false, | ||
| 1366 | "delay" : 0 | ||
| 1367 | }, | ||
| 1368 | |||
| 1369 | boot: function() { | ||
| 1370 | |||
| 1371 | // listen to scroll and resize | ||
| 1372 | $doc.on("scrolling.uk.document", checkScrollSpy); | ||
| 1373 | $win.on("load resize orientationchange", UI.Utils.debounce(checkScrollSpy, 50)); | ||
| 1374 | |||
| 1375 | // init code | ||
| 1376 | UI.ready(function(context) { | ||
| 1377 | |||
| 1378 | UI.$("[data-uk-scrollspy]", context).each(function() { | ||
| 1379 | |||
| 1380 | var element = UI.$(this); | ||
| 1381 | |||
| 1382 | if (!element.data("scrollspy")) { | ||
| 1383 | var obj = UI.scrollspy(element, UI.Utils.options(element.attr("data-uk-scrollspy"))); | ||
| 1384 | } | ||
| 1385 | }); | ||
| 1386 | }); | ||
| 1387 | }, | ||
| 1388 | |||
| 1389 | init: function() { | ||
| 1390 | |||
| 1391 | var $this = this, inviewstate, initinview, togglecls = this.options.cls.split(/,/), fn = function(){ | ||
| 1392 | |||
| 1393 | var elements = $this.options.target ? $this.element.find($this.options.target) : $this.element, | ||
| 1394 | delayIdx = elements.length === 1 ? 1 : 0, | ||
| 1395 | toggleclsIdx = 0; | ||
| 1396 | |||
| 1397 | elements.each(function(idx){ | ||
| 1398 | |||
| 1399 | var element = UI.$(this), | ||
| 1400 | inviewstate = element.data('inviewstate'), | ||
| 1401 | inview = UI.Utils.isInView(element, $this.options), | ||
| 1402 | toggle = element.data('ukScrollspyCls') || togglecls[toggleclsIdx].trim(); | ||
| 1403 | |||
| 1404 | if (inview && !inviewstate && !element.data('scrollspy-idle')) { | ||
| 1405 | |||
| 1406 | if (!initinview) { | ||
| 1407 | element.addClass($this.options.initcls); | ||
| 1408 | $this.offset = element.offset(); | ||
| 1409 | initinview = true; | ||
| 1410 | |||
| 1411 | element.trigger("init.uk.scrollspy"); | ||
| 1412 | } | ||
| 1413 | |||
| 1414 | element.data('scrollspy-idle', setTimeout(function(){ | ||
| 1415 | |||
| 1416 | element.addClass("uk-scrollspy-inview").toggleClass(toggle).width(); | ||
| 1417 | element.trigger("inview.uk.scrollspy"); | ||
| 1418 | |||
| 1419 | element.data('scrollspy-idle', false); | ||
| 1420 | element.data('inviewstate', true); | ||
| 1421 | |||
| 1422 | }, $this.options.delay * delayIdx)); | ||
| 1423 | |||
| 1424 | delayIdx++; | ||
| 1425 | } | ||
| 1426 | |||
| 1427 | if (!inview && inviewstate && $this.options.repeat) { | ||
| 1428 | |||
| 1429 | if (element.data('scrollspy-idle')) { | ||
| 1430 | clearTimeout(element.data('scrollspy-idle')); | ||
| 1431 | element.data('scrollspy-idle', false); | ||
| 1432 | } | ||
| 1433 | |||
| 1434 | element.removeClass("uk-scrollspy-inview").toggleClass(toggle); | ||
| 1435 | element.data('inviewstate', false); | ||
| 1436 | |||
| 1437 | element.trigger("outview.uk.scrollspy"); | ||
| 1438 | } | ||
| 1439 | |||
| 1440 | toggleclsIdx = togglecls[toggleclsIdx + 1] ? (toggleclsIdx + 1) : 0; | ||
| 1441 | |||
| 1442 | }); | ||
| 1443 | }; | ||
| 1444 | |||
| 1445 | fn(); | ||
| 1446 | |||
| 1447 | this.check = fn; | ||
| 1448 | |||
| 1449 | scrollspies.push(this); | ||
| 1450 | } | ||
| 1451 | }); | ||
| 1452 | |||
| 1453 | |||
| 1454 | var scrollspynavs = [], | ||
| 1455 | checkScrollSpyNavs = function() { | ||
| 1456 | for(var i=0; i < scrollspynavs.length; i++) { | ||
| 1457 | window.requestAnimationFrame.apply(window, [scrollspynavs[i].check]); | ||
| 1458 | } | ||
| 1459 | }; | ||
| 1460 | |||
| 1461 | UI.component('scrollspynav', { | ||
| 1462 | |||
| 1463 | defaults: { | ||
| 1464 | "cls" : 'uk-active', | ||
| 1465 | "closest" : false, | ||
| 1466 | "topoffset" : 0, | ||
| 1467 | "leftoffset" : 0, | ||
| 1468 | "smoothscroll" : false | ||
| 1469 | }, | ||
| 1470 | |||
| 1471 | boot: function() { | ||
| 1472 | |||
| 1473 | // listen to scroll and resize | ||
| 1474 | $doc.on("scrolling.uk.document", checkScrollSpyNavs); | ||
| 1475 | $win.on("resize orientationchange", UI.Utils.debounce(checkScrollSpyNavs, 50)); | ||
| 1476 | |||
| 1477 | // init code | ||
| 1478 | UI.ready(function(context) { | ||
| 1479 | |||
| 1480 | UI.$("[data-uk-scrollspy-nav]", context).each(function() { | ||
| 1481 | |||
| 1482 | var element = UI.$(this); | ||
| 1483 | |||
| 1484 | if (!element.data("scrollspynav")) { | ||
| 1485 | var obj = UI.scrollspynav(element, UI.Utils.options(element.attr("data-uk-scrollspy-nav"))); | ||
| 1486 | } | ||
| 1487 | }); | ||
| 1488 | }); | ||
| 1489 | }, | ||
| 1490 | |||
| 1491 | init: function() { | ||
| 1492 | |||
| 1493 | var ids = [], | ||
| 1494 | links = this.find("a[href^='#']").each(function(){ if(this.getAttribute("href").trim()!=='#') ids.push(this.getAttribute("href")); }), | ||
| 1495 | targets = UI.$(ids.join(",")), | ||
| 1496 | |||
| 1497 | clsActive = this.options.cls, | ||
| 1498 | clsClosest = this.options.closest || this.options.closest; | ||
| 1499 | |||
| 1500 | var $this = this, inviews, fn = function(){ | ||
| 1501 | |||
| 1502 | inviews = []; | ||
| 1503 | |||
| 1504 | for (var i=0 ; i < targets.length ; i++) { | ||
| 1505 | if (UI.Utils.isInView(targets.eq(i), $this.options)) { | ||
| 1506 | inviews.push(targets.eq(i)); | ||
| 1507 | } | ||
| 1508 | } | ||
| 1509 | |||
| 1510 | if (inviews.length) { | ||
| 1511 | |||
| 1512 | var navitems, | ||
| 1513 | scrollTop = $win.scrollTop(), | ||
| 1514 | target = (function(){ | ||
| 1515 | for(var i=0; i< inviews.length;i++){ | ||
| 1516 | if (inviews[i].offset().top - $this.options.topoffset >= scrollTop){ | ||
| 1517 | return inviews[i]; | ||
| 1518 | } | ||
| 1519 | } | ||
| 1520 | })(); | ||
| 1521 | |||
| 1522 | if (!target) return; | ||
| 1523 | |||
| 1524 | if ($this.options.closest) { | ||
| 1525 | links.blur().closest(clsClosest).removeClass(clsActive); | ||
| 1526 | navitems = links.filter("a[href='#"+target.attr("id")+"']").closest(clsClosest).addClass(clsActive); | ||
| 1527 | } else { | ||
| 1528 | navitems = links.removeClass(clsActive).filter("a[href='#"+target.attr("id")+"']").addClass(clsActive); | ||
| 1529 | } | ||
| 1530 | |||
| 1531 | $this.element.trigger("inview.uk.scrollspynav", [target, navitems]); | ||
| 1532 | } | ||
| 1533 | }; | ||
| 1534 | |||
| 1535 | if (this.options.smoothscroll && UI.smoothScroll) { | ||
| 1536 | links.each(function(){ | ||
| 1537 | UI.smoothScroll(this, $this.options.smoothscroll); | ||
| 1538 | }); | ||
| 1539 | } | ||
| 1540 | |||
| 1541 | fn(); | ||
| 1542 | |||
| 1543 | this.element.data("scrollspynav", this); | ||
| 1544 | |||
| 1545 | this.check = fn; | ||
| 1546 | scrollspynavs.push(this); | ||
| 1547 | |||
| 1548 | } | ||
| 1549 | }); | ||
| 1550 | |||
| 1551 | })(UIkit); | ||
| 1552 | |||
| 1553 | (function(UI){ | ||
| 1554 | |||
| 1555 | "use strict"; | ||
| 1556 | |||
| 1557 | var toggles = []; | ||
| 1558 | |||
| 1559 | UI.component('toggle', { | ||
| 1560 | |||
| 1561 | defaults: { | ||
| 1562 | target : false, | ||
| 1563 | cls : 'uk-hidden', | ||
| 1564 | animation : false, | ||
| 1565 | duration : 200 | ||
| 1566 | }, | ||
| 1567 | |||
| 1568 | boot: function(){ | ||
| 1569 | |||
| 1570 | // init code | ||
| 1571 | UI.ready(function(context) { | ||
| 1572 | |||
| 1573 | UI.$("[data-uk-toggle]", context).each(function() { | ||
| 1574 | var ele = UI.$(this); | ||
| 1575 | |||
| 1576 | if (!ele.data("toggle")) { | ||
| 1577 | var obj = UI.toggle(ele, UI.Utils.options(ele.attr("data-uk-toggle"))); | ||
| 1578 | } | ||
| 1579 | }); | ||
| 1580 | |||
| 1581 | setTimeout(function(){ | ||
| 1582 | |||
| 1583 | toggles.forEach(function(toggle){ | ||
| 1584 | toggle.getToggles(); | ||
| 1585 | }); | ||
| 1586 | |||
| 1587 | }, 0); | ||
| 1588 | }); | ||
| 1589 | }, | ||
| 1590 | |||
| 1591 | init: function() { | ||
| 1592 | |||
| 1593 | var $this = this; | ||
| 1594 | |||
| 1595 | this.aria = (this.options.cls.indexOf('uk-hidden') !== -1); | ||
| 1596 | |||
| 1597 | this.getToggles(); | ||
| 1598 | |||
| 1599 | this.on("click", function(e) { | ||
| 1600 | if ($this.element.is('a[href="#"]')) e.preventDefault(); | ||
| 1601 | $this.toggle(); | ||
| 1602 | }); | ||
| 1603 | |||
| 1604 | toggles.push(this); | ||
| 1605 | }, | ||
| 1606 | |||
| 1607 | toggle: function() { | ||
| 1608 | |||
| 1609 | if(!this.totoggle.length) return; | ||
| 1610 | |||
| 1611 | if (this.options.animation && UI.support.animation) { | ||
| 1612 | |||
| 1613 | var $this = this, animations = this.options.animation.split(','); | ||
| 1614 | |||
| 1615 | if (animations.length == 1) { | ||
| 1616 | animations[1] = animations[0]; | ||
| 1617 | } | ||
| 1618 | |||
| 1619 | animations[0] = animations[0].trim(); | ||
| 1620 | animations[1] = animations[1].trim(); | ||
| 1621 | |||
| 1622 | this.totoggle.css('animation-duration', this.options.duration+'ms'); | ||
| 1623 | |||
| 1624 | this.totoggle.each(function(){ | ||
| 1625 | |||
| 1626 | var ele = UI.$(this); | ||
| 1627 | |||
| 1628 | if (ele.hasClass($this.options.cls)) { | ||
| 1629 | |||
| 1630 | ele.toggleClass($this.options.cls); | ||
| 1631 | |||
| 1632 | UI.Utils.animate(ele, animations[0]).then(function(){ | ||
| 1633 | ele.css('animation-duration', ''); | ||
| 1634 | UI.Utils.checkDisplay(ele); | ||
| 1635 | }); | ||
| 1636 | |||
| 1637 | } else { | ||
| 1638 | |||
| 1639 | UI.Utils.animate(this, animations[1]+' uk-animation-reverse').then(function(){ | ||
| 1640 | ele.toggleClass($this.options.cls).css('animation-duration', ''); | ||
| 1641 | UI.Utils.checkDisplay(ele); | ||
| 1642 | }); | ||
| 1643 | |||
| 1644 | } | ||
| 1645 | |||
| 1646 | }); | ||
| 1647 | |||
| 1648 | } else { | ||
| 1649 | this.totoggle.toggleClass(this.options.cls); | ||
| 1650 | UI.Utils.checkDisplay(this.totoggle); | ||
| 1651 | } | ||
| 1652 | |||
| 1653 | this.updateAria(); | ||
| 1654 | |||
| 1655 | }, | ||
| 1656 | |||
| 1657 | getToggles: function() { | ||
| 1658 | this.totoggle = this.options.target ? UI.$(this.options.target):[]; | ||
| 1659 | this.updateAria(); | ||
| 1660 | }, | ||
| 1661 | |||
| 1662 | updateAria: function() { | ||
| 1663 | if (this.aria && this.totoggle.length) { | ||
| 1664 | this.totoggle.each(function(){ | ||
| 1665 | UI.$(this).attr('aria-hidden', UI.$(this).hasClass('uk-hidden')); | ||
| 1666 | }); | ||
| 1667 | } | ||
| 1668 | } | ||
| 1669 | }); | ||
| 1670 | |||
| 1671 | })(UIkit); | ||
| 1672 | |||
| 1673 | (function(UI) { | ||
| 1674 | |||
| 1675 | "use strict"; | ||
| 1676 | |||
| 1677 | UI.component('alert', { | ||
| 1678 | |||
| 1679 | defaults: { | ||
| 1680 | "fade": true, | ||
| 1681 | "duration": 200, | ||
| 1682 | "trigger": ".uk-alert-close" | ||
| 1683 | }, | ||
| 1684 | |||
| 1685 | boot: function() { | ||
| 1686 | |||
| 1687 | // init code | ||
| 1688 | UI.$html.on("click.alert.uikit", "[data-uk-alert]", function(e) { | ||
| 1689 | |||
| 1690 | var ele = UI.$(this); | ||
| 1691 | |||
| 1692 | if (!ele.data("alert")) { | ||
| 1693 | |||
| 1694 | var alert = UI.alert(ele, UI.Utils.options(ele.attr("data-uk-alert"))); | ||
| 1695 | |||
| 1696 | if (UI.$(e.target).is(alert.options.trigger)) { | ||
| 1697 | e.preventDefault(); | ||
| 1698 | alert.close(); | ||
| 1699 | } | ||
| 1700 | } | ||
| 1701 | }); | ||
| 1702 | }, | ||
| 1703 | |||
| 1704 | init: function() { | ||
| 1705 | |||
| 1706 | var $this = this; | ||
| 1707 | |||
| 1708 | this.on("click", this.options.trigger, function(e) { | ||
| 1709 | e.preventDefault(); | ||
| 1710 | $this.close(); | ||
| 1711 | }); | ||
| 1712 | }, | ||
| 1713 | |||
| 1714 | close: function() { | ||
| 1715 | |||
| 1716 | var element = this.trigger("close.uk.alert"), | ||
| 1717 | removeElement = function () { | ||
| 1718 | this.trigger("closed.uk.alert").remove(); | ||
| 1719 | }.bind(this); | ||
| 1720 | |||
| 1721 | if (this.options.fade) { | ||
| 1722 | element.css("overflow", "hidden").css("max-height", element.height()).animate({ | ||
| 1723 | "height" : 0, | ||
| 1724 | "opacity" : 0, | ||
| 1725 | "padding-top" : 0, | ||
| 1726 | "padding-bottom" : 0, | ||
| 1727 | "margin-top" : 0, | ||
| 1728 | "margin-bottom" : 0 | ||
| 1729 | }, this.options.duration, removeElement); | ||
| 1730 | } else { | ||
| 1731 | removeElement(); | ||
| 1732 | } | ||
| 1733 | } | ||
| 1734 | |||
| 1735 | }); | ||
| 1736 | |||
| 1737 | })(UIkit); | ||
| 1738 | |||
| 1739 | (function(UI) { | ||
| 1740 | |||
| 1741 | "use strict"; | ||
| 1742 | |||
| 1743 | UI.component('buttonRadio', { | ||
| 1744 | |||
| 1745 | defaults: { | ||
| 1746 | "activeClass": 'uk-active', | ||
| 1747 | "target": ".uk-button" | ||
| 1748 | }, | ||
| 1749 | |||
| 1750 | boot: function() { | ||
| 1751 | |||
| 1752 | // init code | ||
| 1753 | UI.$html.on("click.buttonradio.uikit", "[data-uk-button-radio]", function(e) { | ||
| 1754 | |||
| 1755 | var ele = UI.$(this); | ||
| 1756 | |||
| 1757 | if (!ele.data("buttonRadio")) { | ||
| 1758 | |||
| 1759 | var obj = UI.buttonRadio(ele, UI.Utils.options(ele.attr("data-uk-button-radio"))), | ||
| 1760 | target = UI.$(e.target); | ||
| 1761 | |||
| 1762 | if (target.is(obj.options.target)) { | ||
| 1763 | target.trigger("click"); | ||
| 1764 | } | ||
| 1765 | } | ||
| 1766 | }); | ||
| 1767 | }, | ||
| 1768 | |||
| 1769 | init: function() { | ||
| 1770 | |||
| 1771 | var $this = this; | ||
| 1772 | |||
| 1773 | // Init ARIA | ||
| 1774 | this.find($this.options.target).attr('aria-checked', 'false').filter('.' + $this.options.activeClass).attr('aria-checked', 'true'); | ||
| 1775 | |||
| 1776 | this.on("click", this.options.target, function(e) { | ||
| 1777 | |||
| 1778 | var ele = UI.$(this); | ||
| 1779 | |||
| 1780 | if (ele.is('a[href="#"]')) e.preventDefault(); | ||
| 1781 | |||
| 1782 | $this.find($this.options.target).not(ele).removeClass($this.options.activeClass).blur(); | ||
| 1783 | ele.addClass($this.options.activeClass); | ||
| 1784 | |||
| 1785 | // Update ARIA | ||
| 1786 | $this.find($this.options.target).not(ele).attr('aria-checked', 'false'); | ||
| 1787 | ele.attr('aria-checked', 'true'); | ||
| 1788 | |||
| 1789 | $this.trigger("change.uk.button", [ele]); | ||
| 1790 | }); | ||
| 1791 | |||
| 1792 | }, | ||
| 1793 | |||
| 1794 | getSelected: function() { | ||
| 1795 | return this.find('.' + this.options.activeClass); | ||
| 1796 | } | ||
| 1797 | }); | ||
| 1798 | |||
| 1799 | UI.component('buttonCheckbox', { | ||
| 1800 | |||
| 1801 | defaults: { | ||
| 1802 | "activeClass": 'uk-active', | ||
| 1803 | "target": ".uk-button" | ||
| 1804 | }, | ||
| 1805 | |||
| 1806 | boot: function() { | ||
| 1807 | |||
| 1808 | UI.$html.on("click.buttoncheckbox.uikit", "[data-uk-button-checkbox]", function(e) { | ||
| 1809 | var ele = UI.$(this); | ||
| 1810 | |||
| 1811 | if (!ele.data("buttonCheckbox")) { | ||
| 1812 | |||
| 1813 | var obj = UI.buttonCheckbox(ele, UI.Utils.options(ele.attr("data-uk-button-checkbox"))), | ||
| 1814 | target = UI.$(e.target); | ||
| 1815 | |||
| 1816 | if (target.is(obj.options.target)) { | ||
| 1817 | target.trigger("click"); | ||
| 1818 | } | ||
| 1819 | } | ||
| 1820 | }); | ||
| 1821 | }, | ||
| 1822 | |||
| 1823 | init: function() { | ||
| 1824 | |||
| 1825 | var $this = this; | ||
| 1826 | |||
| 1827 | // Init ARIA | ||
| 1828 | this.find($this.options.target).attr('aria-checked', 'false').filter('.' + $this.options.activeClass).attr('aria-checked', 'true'); | ||
| 1829 | |||
| 1830 | this.on("click", this.options.target, function(e) { | ||
| 1831 | var ele = UI.$(this); | ||
| 1832 | |||
| 1833 | if (ele.is('a[href="#"]')) e.preventDefault(); | ||
| 1834 | |||
| 1835 | ele.toggleClass($this.options.activeClass).blur(); | ||
| 1836 | |||
| 1837 | // Update ARIA | ||
| 1838 | ele.attr('aria-checked', ele.hasClass($this.options.activeClass)); | ||
| 1839 | |||
| 1840 | $this.trigger("change.uk.button", [ele]); | ||
| 1841 | }); | ||
| 1842 | |||
| 1843 | }, | ||
| 1844 | |||
| 1845 | getSelected: function() { | ||
| 1846 | return this.find('.' + this.options.activeClass); | ||
| 1847 | } | ||
| 1848 | }); | ||
| 1849 | |||
| 1850 | |||
| 1851 | UI.component('button', { | ||
| 1852 | |||
| 1853 | defaults: {}, | ||
| 1854 | |||
| 1855 | boot: function() { | ||
| 1856 | |||
| 1857 | UI.$html.on("click.button.uikit", "[data-uk-button]", function(e) { | ||
| 1858 | var ele = UI.$(this); | ||
| 1859 | |||
| 1860 | if (!ele.data("button")) { | ||
| 1861 | |||
| 1862 | var obj = UI.button(ele, UI.Utils.options(ele.attr("data-uk-button"))); | ||
| 1863 | ele.trigger("click"); | ||
| 1864 | } | ||
| 1865 | }); | ||
| 1866 | }, | ||
| 1867 | |||
| 1868 | init: function() { | ||
| 1869 | |||
| 1870 | var $this = this; | ||
| 1871 | |||
| 1872 | // Init ARIA | ||
| 1873 | this.element.attr('aria-pressed', this.element.hasClass("uk-active")); | ||
| 1874 | |||
| 1875 | this.on("click", function(e) { | ||
| 1876 | |||
| 1877 | if ($this.element.is('a[href="#"]')) e.preventDefault(); | ||
| 1878 | |||
| 1879 | $this.toggle(); | ||
| 1880 | $this.trigger("change.uk.button", [$this.element.blur().hasClass("uk-active")]); | ||
| 1881 | }); | ||
| 1882 | |||
| 1883 | }, | ||
| 1884 | |||
| 1885 | toggle: function() { | ||
| 1886 | this.element.toggleClass("uk-active"); | ||
| 1887 | |||
| 1888 | // Update ARIA | ||
| 1889 | this.element.attr('aria-pressed', this.element.hasClass("uk-active")); | ||
| 1890 | } | ||
| 1891 | }); | ||
| 1892 | |||
| 1893 | })(UIkit); | ||
| 1894 | |||
| 1895 | |||
| 1896 | (function(UI) { | ||
| 1897 | |||
| 1898 | "use strict"; | ||
| 1899 | |||
| 1900 | var active = false, hoverIdle, flips = { | ||
| 1901 | 'x': { | ||
| 1902 | "bottom-left" : 'bottom-right', | ||
| 1903 | "bottom-right" : 'bottom-left', | ||
| 1904 | "bottom-center" : 'bottom-center', | ||
| 1905 | "top-left" : 'top-right', | ||
| 1906 | "top-right" : 'top-left', | ||
| 1907 | "top-center" : 'top-center', | ||
| 1908 | "left-top" : 'right-top', | ||
| 1909 | "left-bottom" : 'right-bottom', | ||
| 1910 | "left-center" : 'right-center', | ||
| 1911 | "right-top" : 'left-top', | ||
| 1912 | "right-bottom" : 'left-bottom', | ||
| 1913 | "right-center" : 'left-center' | ||
| 1914 | }, | ||
| 1915 | 'y': { | ||
| 1916 | "bottom-left" : 'top-left', | ||
| 1917 | "bottom-right" : 'top-right', | ||
| 1918 | "bottom-center" : 'top-center', | ||
| 1919 | "top-left" : 'bottom-left', | ||
| 1920 | "top-right" : 'bottom-right', | ||
| 1921 | "top-center" : 'bottom-center', | ||
| 1922 | "left-top" : 'left-bottom', | ||
| 1923 | "left-bottom" : 'left-top', | ||
| 1924 | "left-center" : 'left-center', | ||
| 1925 | "right-top" : 'right-bottom', | ||
| 1926 | "right-bottom" : 'right-top', | ||
| 1927 | "right-center" : 'right-center' | ||
| 1928 | }, | ||
| 1929 | 'xy': { | ||
| 1930 | "bottom-left" : 'top-right', | ||
| 1931 | "bottom-right" : 'top-left', | ||
| 1932 | "bottom-center" : 'top-center', | ||
| 1933 | "top-left" : 'bottom-right', | ||
| 1934 | "top-right" : 'bottom-left', | ||
| 1935 | "top-center" : 'bottom-center', | ||
| 1936 | "left-top" : 'right-bottom', | ||
| 1937 | "left-bottom" : 'right-top', | ||
| 1938 | "left-center" : 'right-center', | ||
| 1939 | "right-top" : 'left-bottom', | ||
| 1940 | "right-bottom" : 'left-top', | ||
| 1941 | "right-center" : 'left-center' | ||
| 1942 | } | ||
| 1943 | }; | ||
| 1944 | |||
| 1945 | UI.component('dropdown', { | ||
| 1946 | |||
| 1947 | defaults: { | ||
| 1948 | 'mode' : 'hover', | ||
| 1949 | 'pos' : 'bottom-left', | ||
| 1950 | 'offset' : 0, | ||
| 1951 | 'remaintime' : 800, | ||
| 1952 | 'justify' : false, | ||
| 1953 | 'boundary' : UI.$win, | ||
| 1954 | 'delay' : 0, | ||
| 1955 | 'dropdownSelector': '.uk-dropdown,.uk-dropdown-blank', | ||
| 1956 | 'hoverDelayIdle' : 250, | ||
| 1957 | 'preventflip' : false | ||
| 1958 | }, | ||
| 1959 | |||
| 1960 | remainIdle: false, | ||
| 1961 | |||
| 1962 | boot: function() { | ||
| 1963 | |||
| 1964 | var triggerevent = UI.support.touch ? "click" : "mouseenter"; | ||
| 1965 | |||
| 1966 | // init code | ||
| 1967 | UI.$html.on(triggerevent+".dropdown.uikit", "[data-uk-dropdown]", function(e) { | ||
| 1968 | |||
| 1969 | var ele = UI.$(this); | ||
| 1970 | |||
| 1971 | if (!ele.data("dropdown")) { | ||
| 1972 | |||
| 1973 | var dropdown = UI.dropdown(ele, UI.Utils.options(ele.attr("data-uk-dropdown"))); | ||
| 1974 | |||
| 1975 | if (triggerevent=="click" || (triggerevent=="mouseenter" && dropdown.options.mode=="hover")) { | ||
| 1976 | dropdown.element.trigger(triggerevent); | ||
| 1977 | } | ||
| 1978 | |||
| 1979 | if (dropdown.element.find(dropdown.options.dropdownSelector).length) { | ||
| 1980 | e.preventDefault(); | ||
| 1981 | } | ||
| 1982 | } | ||
| 1983 | }); | ||
| 1984 | }, | ||
| 1985 | |||
| 1986 | init: function() { | ||
| 1987 | |||
| 1988 | var $this = this; | ||
| 1989 | |||
| 1990 | this.dropdown = this.find(this.options.dropdownSelector); | ||
| 1991 | this.offsetParent = this.dropdown.parents().filter(function() { | ||
| 1992 | return UI.$.inArray(UI.$(this).css('position'), ['relative', 'fixed', 'absolute']) !== -1; | ||
| 1993 | }).slice(0,1); | ||
| 1994 | |||
| 1995 | this.centered = this.dropdown.hasClass('uk-dropdown-center'); | ||
| 1996 | this.justified = this.options.justify ? UI.$(this.options.justify) : false; | ||
| 1997 | |||
| 1998 | this.boundary = UI.$(this.options.boundary); | ||
| 1999 | |||
| 2000 | if (!this.boundary.length) { | ||
| 2001 | this.boundary = UI.$win; | ||
| 2002 | } | ||
| 2003 | |||
| 2004 | // legacy DEPRECATED! | ||
| 2005 | if (this.dropdown.hasClass('uk-dropdown-up')) { | ||
| 2006 | this.options.pos = 'top-left'; | ||
| 2007 | } | ||
| 2008 | if (this.dropdown.hasClass('uk-dropdown-flip')) { | ||
| 2009 | this.options.pos = this.options.pos.replace('left','right'); | ||
| 2010 | } | ||
| 2011 | if (this.dropdown.hasClass('uk-dropdown-center')) { | ||
| 2012 | this.options.pos = this.options.pos.replace(/(left|right)/,'center'); | ||
| 2013 | } | ||
| 2014 | //-- end legacy | ||
| 2015 | |||
| 2016 | // Init ARIA | ||
| 2017 | this.element.attr('aria-haspopup', 'true'); | ||
| 2018 | this.element.attr('aria-expanded', this.element.hasClass("uk-open")); | ||
| 2019 | |||
| 2020 | if (this.options.mode == "click" || UI.support.touch) { | ||
| 2021 | |||
| 2022 | this.on("click.uk.dropdown", function(e) { | ||
| 2023 | |||
| 2024 | var $target = UI.$(e.target); | ||
| 2025 | |||
| 2026 | if (!$target.parents($this.options.dropdownSelector).length) { | ||
| 2027 | |||
| 2028 | if ($target.is("a[href='#']") || $target.parent().is("a[href='#']") || ($this.dropdown.length && !$this.dropdown.is(":visible")) ){ | ||
| 2029 | e.preventDefault(); | ||
| 2030 | } | ||
| 2031 | |||
| 2032 | $target.blur(); | ||
| 2033 | } | ||
| 2034 | |||
| 2035 | if (!$this.element.hasClass('uk-open')) { | ||
| 2036 | |||
| 2037 | $this.show(); | ||
| 2038 | |||
| 2039 | } else { | ||
| 2040 | |||
| 2041 | if (!$this.dropdown.find(e.target).length || $target.is(".uk-dropdown-close") || $target.parents(".uk-dropdown-close").length) { | ||
| 2042 | $this.hide(); | ||
| 2043 | } | ||
| 2044 | } | ||
| 2045 | }); | ||
| 2046 | |||
| 2047 | } else { | ||
| 2048 | |||
| 2049 | this.on("mouseenter", function(e) { | ||
| 2050 | |||
| 2051 | $this.trigger('pointerenter.uk.dropdown', [$this]); | ||
| 2052 | |||
| 2053 | if ($this.remainIdle) { | ||
| 2054 | clearTimeout($this.remainIdle); | ||
| 2055 | } | ||
| 2056 | |||
| 2057 | if (hoverIdle) { | ||
| 2058 | clearTimeout(hoverIdle); | ||
| 2059 | } | ||
| 2060 | |||
| 2061 | if (active && active == $this) { | ||
| 2062 | return; | ||
| 2063 | } | ||
| 2064 | |||
| 2065 | // pseudo manuAim | ||
| 2066 | if (active && active != $this) { | ||
| 2067 | |||
| 2068 | hoverIdle = setTimeout(function() { | ||
| 2069 | hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); | ||
| 2070 | }, $this.options.hoverDelayIdle); | ||
| 2071 | |||
| 2072 | } else { | ||
| 2073 | |||
| 2074 | hoverIdle = setTimeout($this.show.bind($this), $this.options.delay); | ||
| 2075 | } | ||
| 2076 | |||
| 2077 | }).on("mouseleave", function() { | ||
| 2078 | |||
| 2079 | if (hoverIdle) { | ||
| 2080 | clearTimeout(hoverIdle); | ||
| 2081 | } | ||
| 2082 | |||
| 2083 | $this.remainIdle = setTimeout(function() { | ||
| 2084 | if (active && active == $this) $this.hide(); | ||
| 2085 | }, $this.options.remaintime); | ||
| 2086 | |||
| 2087 | $this.trigger('pointerleave.uk.dropdown', [$this]); | ||
| 2088 | |||
| 2089 | }).on("click", function(e){ | ||
| 2090 | |||
| 2091 | var $target = UI.$(e.target); | ||
| 2092 | |||
| 2093 | if ($this.remainIdle) { | ||
| 2094 | clearTimeout($this.remainIdle); | ||
| 2095 | } | ||
| 2096 | |||
| 2097 | if (active && active == $this) { | ||
| 2098 | if (!$this.dropdown.find(e.target).length || $target.is(".uk-dropdown-close") || $target.parents(".uk-dropdown-close").length) { | ||
| 2099 | $this.hide(); | ||
| 2100 | } | ||
| 2101 | return; | ||
| 2102 | } | ||
| 2103 | |||
| 2104 | if ($target.is("a[href='#']") || $target.parent().is("a[href='#']")){ | ||
| 2105 | e.preventDefault(); | ||
| 2106 | } | ||
| 2107 | |||
| 2108 | $this.show(); | ||
| 2109 | }); | ||
| 2110 | } | ||
| 2111 | }, | ||
| 2112 | |||
| 2113 | show: function(){ | ||
| 2114 | |||
| 2115 | UI.$html.off("click.outer.dropdown"); | ||
| 2116 | |||
| 2117 | if (active && active != this) { | ||
| 2118 | active.hide(true); | ||
| 2119 | } | ||
| 2120 | |||
| 2121 | if (hoverIdle) { | ||
| 2122 | clearTimeout(hoverIdle); | ||
| 2123 | } | ||
| 2124 | |||
| 2125 | this.trigger('beforeshow.uk.dropdown', [this]); | ||
| 2126 | |||
| 2127 | this.checkDimensions(); | ||
| 2128 | this.element.addClass('uk-open'); | ||
| 2129 | |||
| 2130 | // Update ARIA | ||
| 2131 | this.element.attr('aria-expanded', 'true'); | ||
| 2132 | |||
| 2133 | this.trigger('show.uk.dropdown', [this]); | ||
| 2134 | |||
| 2135 | UI.Utils.checkDisplay(this.dropdown, true); | ||
| 2136 | active = this; | ||
| 2137 | |||
| 2138 | this.registerOuterClick(); | ||
| 2139 | }, | ||
| 2140 | |||
| 2141 | hide: function(force) { | ||
| 2142 | |||
| 2143 | this.trigger('beforehide.uk.dropdown', [this, force]); | ||
| 2144 | |||
| 2145 | this.element.removeClass('uk-open'); | ||
| 2146 | |||
| 2147 | if (this.remainIdle) { | ||
| 2148 | clearTimeout(this.remainIdle); | ||
| 2149 | } | ||
| 2150 | |||
| 2151 | this.remainIdle = false; | ||
| 2152 | |||
| 2153 | // Update ARIA | ||
| 2154 | this.element.attr('aria-expanded', 'false'); | ||
| 2155 | |||
| 2156 | this.trigger('hide.uk.dropdown', [this, force]); | ||
| 2157 | |||
| 2158 | if (active == this) active = false; | ||
| 2159 | }, | ||
| 2160 | |||
| 2161 | registerOuterClick: function(){ | ||
| 2162 | |||
| 2163 | var $this = this; | ||
| 2164 | |||
| 2165 | UI.$html.off("click.outer.dropdown"); | ||
| 2166 | |||
| 2167 | setTimeout(function() { | ||
| 2168 | |||
| 2169 | UI.$html.on("click.outer.dropdown", function(e) { | ||
| 2170 | |||
| 2171 | if (hoverIdle) { | ||
| 2172 | clearTimeout(hoverIdle); | ||
| 2173 | } | ||
| 2174 | |||
| 2175 | var $target = UI.$(e.target); | ||
| 2176 | |||
| 2177 | if (active == $this && !$this.element.find(e.target).length) { | ||
| 2178 | $this.hide(true); | ||
| 2179 | UI.$html.off("click.outer.dropdown"); | ||
| 2180 | } | ||
| 2181 | }); | ||
| 2182 | }, 10); | ||
| 2183 | }, | ||
| 2184 | |||
| 2185 | checkDimensions: function() { | ||
| 2186 | |||
| 2187 | if (!this.dropdown.length) return; | ||
| 2188 | |||
| 2189 | // reset | ||
| 2190 | this.dropdown.removeClass('uk-dropdown-top uk-dropdown-bottom uk-dropdown-left uk-dropdown-right uk-dropdown-stack').css({ | ||
| 2191 | 'top-left':'', | ||
| 2192 | 'left':'', | ||
| 2193 | 'margin-left' :'', | ||
| 2194 | 'margin-right':'' | ||
| 2195 | }); | ||
| 2196 | |||
| 2197 | if (this.justified && this.justified.length) { | ||
| 2198 | this.dropdown.css("min-width", ""); | ||
| 2199 | } | ||
| 2200 | |||
| 2201 | var $this = this, | ||
| 2202 | pos = UI.$.extend({}, this.offsetParent.offset(), {width: this.offsetParent[0].offsetWidth, height: this.offsetParent[0].offsetHeight}), | ||
| 2203 | posoffset = this.options.offset, | ||
| 2204 | dropdown = this.dropdown, | ||
| 2205 | offset = dropdown.show().offset() || {left: 0, top: 0}, | ||
| 2206 | width = dropdown.outerWidth(), | ||
| 2207 | height = dropdown.outerHeight(), | ||
| 2208 | boundarywidth = this.boundary.width(), | ||
| 2209 | boundaryoffset = this.boundary[0] !== window && this.boundary.offset() ? this.boundary.offset(): {top:0, left:0}, | ||
| 2210 | dpos = this.options.pos; | ||
| 2211 | |||
| 2212 | var variants = { | ||
| 2213 | "bottom-left" : {top: 0 + pos.height + posoffset, left: 0}, | ||
| 2214 | "bottom-right" : {top: 0 + pos.height + posoffset, left: 0 + pos.width - width}, | ||
| 2215 | "bottom-center" : {top: 0 + pos.height + posoffset, left: 0 + pos.width / 2 - width / 2}, | ||
| 2216 | "top-left" : {top: 0 - height - posoffset, left: 0}, | ||
| 2217 | "top-right" : {top: 0 - height - posoffset, left: 0 + pos.width - width}, | ||
| 2218 | "top-center" : {top: 0 - height - posoffset, left: 0 + pos.width / 2 - width / 2}, | ||
| 2219 | "left-top" : {top: 0, left: 0 - width - posoffset}, | ||
| 2220 | "left-bottom" : {top: 0 + pos.height - height, left: 0 - width - posoffset}, | ||
| 2221 | "left-center" : {top: 0 + pos.height / 2 - height / 2, left: 0 - width - posoffset}, | ||
| 2222 | "right-top" : {top: 0, left: 0 + pos.width + posoffset}, | ||
| 2223 | "right-bottom" : {top: 0 + pos.height - height, left: 0 + pos.width + posoffset}, | ||
| 2224 | "right-center" : {top: 0 + pos.height / 2 - height / 2, left: 0 + pos.width + posoffset} | ||
| 2225 | }, | ||
| 2226 | css = {}, | ||
| 2227 | pp; | ||
| 2228 | |||
| 2229 | pp = dpos.split('-'); | ||
| 2230 | css = variants[dpos] ? variants[dpos] : variants['bottom-left']; | ||
| 2231 | |||
| 2232 | // justify dropdown | ||
| 2233 | if (this.justified && this.justified.length) { | ||
| 2234 | justify(dropdown.css({left:0}), this.justified, boundarywidth); | ||
| 2235 | } else { | ||
| 2236 | |||
| 2237 | if (this.options.preventflip !== true) { | ||
| 2238 | |||
| 2239 | var fdpos; | ||
| 2240 | |||
| 2241 | switch(this.checkBoundary(pos.left + css.left, pos.top + css.top, width, height, boundarywidth)) { | ||
| 2242 | case "x": | ||
| 2243 | if(this.options.preventflip !=='x') fdpos = flips['x'][dpos] || 'right-top'; | ||
| 2244 | break; | ||
| 2245 | case "y": | ||
| 2246 | if(this.options.preventflip !=='y') fdpos = flips['y'][dpos] || 'top-left'; | ||
| 2247 | break; | ||
| 2248 | case "xy": | ||
| 2249 | if(!this.options.preventflip) fdpos = flips['xy'][dpos] || 'right-bottom'; | ||
| 2250 | break; | ||
| 2251 | } | ||
| 2252 | |||
| 2253 | if (fdpos) { | ||
| 2254 | |||
| 2255 | pp = fdpos.split('-'); | ||
| 2256 | css = variants[fdpos] ? variants[fdpos] : variants['bottom-left']; | ||
| 2257 | |||
| 2258 | // check flipped | ||
| 2259 | if (this.checkBoundary(pos.left + css.left, pos.top + css.top, width, height, boundarywidth)) { | ||
| 2260 | pp = dpos.split('-'); | ||
| 2261 | css = variants[dpos] ? variants[dpos] : variants['bottom-left']; | ||
| 2262 | } | ||
| 2263 | } | ||
| 2264 | } | ||
| 2265 | } | ||
| 2266 | |||
| 2267 | if (width > boundarywidth) { | ||
| 2268 | dropdown.addClass("uk-dropdown-stack"); | ||
| 2269 | this.trigger('stack.uk.dropdown', [this]); | ||
| 2270 | } | ||
| 2271 | |||
| 2272 | dropdown.css(css).css("display", "").addClass('uk-dropdown-'+pp[0]); | ||
| 2273 | }, | ||
| 2274 | |||
| 2275 | checkBoundary: function(left, top, width, height, boundarywidth) { | ||
| 2276 | |||
| 2277 | var axis = ""; | ||
| 2278 | |||
| 2279 | if (left < 0 || ((left - UI.$win.scrollLeft())+width) > boundarywidth) { | ||
| 2280 | axis += "x"; | ||
| 2281 | } | ||
| 2282 | |||
| 2283 | if ((top - UI.$win.scrollTop()) < 0 || ((top - UI.$win.scrollTop())+height) > window.innerHeight) { | ||
| 2284 | axis += "y"; | ||
| 2285 | } | ||
| 2286 | |||
| 2287 | return axis; | ||
| 2288 | } | ||
| 2289 | }); | ||
| 2290 | |||
| 2291 | |||
| 2292 | UI.component('dropdownOverlay', { | ||
| 2293 | |||
| 2294 | defaults: { | ||
| 2295 | 'justify' : false, | ||
| 2296 | 'cls' : '', | ||
| 2297 | 'duration': 200 | ||
| 2298 | }, | ||
| 2299 | |||
| 2300 | boot: function() { | ||
| 2301 | |||
| 2302 | // init code | ||
| 2303 | UI.ready(function(context) { | ||
| 2304 | |||
| 2305 | UI.$("[data-uk-dropdown-overlay]", context).each(function() { | ||
| 2306 | var ele = UI.$(this); | ||
| 2307 | |||
| 2308 | if (!ele.data("dropdownOverlay")) { | ||
| 2309 | UI.dropdownOverlay(ele, UI.Utils.options(ele.attr("data-uk-dropdown-overlay"))); | ||
| 2310 | } | ||
| 2311 | }); | ||
| 2312 | }); | ||
| 2313 | }, | ||
| 2314 | |||
| 2315 | init: function() { | ||
| 2316 | |||
| 2317 | var $this = this; | ||
| 2318 | |||
| 2319 | this.justified = this.options.justify ? UI.$(this.options.justify) : false; | ||
| 2320 | this.overlay = this.element.find('uk-dropdown-overlay'); | ||
| 2321 | |||
| 2322 | if (!this.overlay.length) { | ||
| 2323 | this.overlay = UI.$('<div class="uk-dropdown-overlay"></div>').appendTo(this.element); | ||
| 2324 | } | ||
| 2325 | |||
| 2326 | this.overlay.addClass(this.options.cls); | ||
| 2327 | |||
| 2328 | this.on({ | ||
| 2329 | |||
| 2330 | 'beforeshow.uk.dropdown': function(e, dropdown) { | ||
| 2331 | $this.dropdown = dropdown; | ||
| 2332 | |||
| 2333 | if ($this.justified && $this.justified.length) { | ||
| 2334 | justify($this.overlay.css({'display':'block', 'margin-left':'','margin-right':''}), $this.justified, $this.justified.outerWidth()); | ||
| 2335 | } | ||
| 2336 | }, | ||
| 2337 | |||
| 2338 | 'show.uk.dropdown': function(e, dropdown) { | ||
| 2339 | |||
| 2340 | var h = $this.dropdown.dropdown.outerHeight(true); | ||
| 2341 | |||
| 2342 | $this.dropdown.element.removeClass('uk-open'); | ||
| 2343 | |||
| 2344 | $this.overlay.stop().css('display', 'block').animate({height: h}, $this.options.duration, function() { | ||
| 2345 | |||
| 2346 | $this.dropdown.dropdown.css('visibility', ''); | ||
| 2347 | $this.dropdown.element.addClass('uk-open'); | ||
| 2348 | |||
| 2349 | UI.Utils.checkDisplay($this.dropdown.dropdown, true); | ||
| 2350 | }); | ||
| 2351 | |||
| 2352 | $this.pointerleave = false; | ||
| 2353 | }, | ||
| 2354 | |||
| 2355 | 'hide.uk.dropdown': function() { | ||
| 2356 | $this.overlay.stop().animate({height: 0}, $this.options.duration); | ||
| 2357 | }, | ||
| 2358 | |||
| 2359 | 'pointerenter.uk.dropdown': function(e, dropdown) { | ||
| 2360 | clearTimeout($this.remainIdle); | ||
| 2361 | }, | ||
| 2362 | |||
| 2363 | 'pointerleave.uk.dropdown': function(e, dropdown) { | ||
| 2364 | $this.pointerleave = true; | ||
| 2365 | } | ||
| 2366 | }); | ||
| 2367 | |||
| 2368 | |||
| 2369 | this.overlay.on({ | ||
| 2370 | |||
| 2371 | 'mouseenter': function() { | ||
| 2372 | if ($this.remainIdle) { | ||
| 2373 | clearTimeout($this.dropdown.remainIdle); | ||
| 2374 | clearTimeout($this.remainIdle); | ||
| 2375 | } | ||
| 2376 | }, | ||
| 2377 | |||
| 2378 | 'mouseleave': function(){ | ||
| 2379 | |||
| 2380 | if ($this.pointerleave && active) { | ||
| 2381 | |||
| 2382 | $this.remainIdle = setTimeout(function() { | ||
| 2383 | if(active) active.hide(); | ||
| 2384 | }, active.options.remaintime); | ||
| 2385 | } | ||
| 2386 | } | ||
| 2387 | }) | ||
| 2388 | } | ||
| 2389 | |||
| 2390 | }); | ||
| 2391 | |||
| 2392 | |||
| 2393 | function justify(ele, justifyTo, boundarywidth, offset) { | ||
| 2394 | |||
| 2395 | ele = UI.$(ele); | ||
| 2396 | justifyTo = UI.$(justifyTo); | ||
| 2397 | boundarywidth = boundarywidth || window.innerWidth; | ||
| 2398 | offset = offset || ele.offset(); | ||
| 2399 | |||
| 2400 | if (justifyTo.length) { | ||
| 2401 | |||
| 2402 | var jwidth = justifyTo.outerWidth(); | ||
| 2403 | |||
| 2404 | ele.css("min-width", jwidth); | ||
| 2405 | |||
| 2406 | if (UI.langdirection == 'right') { | ||
| 2407 | |||
| 2408 | var right1 = boundarywidth - (justifyTo.offset().left + jwidth), | ||
| 2409 | right2 = boundarywidth - (ele.offset().left + ele.outerWidth()); | ||
| 2410 | |||
| 2411 | ele.css("margin-right", right1 - right2); | ||
| 2412 | |||
| 2413 | } else { | ||
| 2414 | ele.css("margin-left", justifyTo.offset().left - offset.left); | ||
| 2415 | } | ||
| 2416 | } | ||
| 2417 | } | ||
| 2418 | |||
| 2419 | })(UIkit); | ||
| 2420 | |||
| 2421 | (function(UI) { | ||
| 2422 | |||
| 2423 | "use strict"; | ||
| 2424 | |||
| 2425 | var grids = []; | ||
| 2426 | |||
| 2427 | UI.component('gridMatchHeight', { | ||
| 2428 | |||
| 2429 | defaults: { | ||
| 2430 | "target" : false, | ||
| 2431 | "row" : true, | ||
| 2432 | "ignorestacked" : false, | ||
| 2433 | "observe" : false | ||
| 2434 | }, | ||
| 2435 | |||
| 2436 | boot: function() { | ||
| 2437 | |||
| 2438 | // init code | ||
| 2439 | UI.ready(function(context) { | ||
| 2440 | |||
| 2441 | UI.$("[data-uk-grid-match]", context).each(function() { | ||
| 2442 | var grid = UI.$(this), obj; | ||
| 2443 | |||
| 2444 | if (!grid.data("gridMatchHeight")) { | ||
| 2445 | obj = UI.gridMatchHeight(grid, UI.Utils.options(grid.attr("data-uk-grid-match"))); | ||
| 2446 | } | ||
| 2447 | }); | ||
| 2448 | }); | ||
| 2449 | }, | ||
| 2450 | |||
| 2451 | init: function() { | ||
| 2452 | |||
| 2453 | var $this = this; | ||
| 2454 | |||
| 2455 | this.columns = this.element.children(); | ||
| 2456 | this.elements = this.options.target ? this.find(this.options.target) : this.columns; | ||
| 2457 | |||
| 2458 | if (!this.columns.length) return; | ||
| 2459 | |||
| 2460 | UI.$win.on('load resize orientationchange', (function() { | ||
| 2461 | |||
| 2462 | var fn = function() { | ||
| 2463 | if ($this.element.is(":visible")) $this.match(); | ||
| 2464 | }; | ||
| 2465 | |||
| 2466 | UI.$(function() { fn(); }); | ||
| 2467 | |||
| 2468 | return UI.Utils.debounce(fn, 50); | ||
| 2469 | })()); | ||
| 2470 | |||
| 2471 | if (this.options.observe) { | ||
| 2472 | |||
| 2473 | UI.domObserve(this.element, function(e) { | ||
| 2474 | if ($this.element.is(":visible")) $this.match(); | ||
| 2475 | }); | ||
| 2476 | } | ||
| 2477 | |||
| 2478 | this.on("display.uk.check", function(e) { | ||
| 2479 | if(this.element.is(":visible")) this.match(); | ||
| 2480 | }.bind(this)); | ||
| 2481 | |||
| 2482 | grids.push(this); | ||
| 2483 | }, | ||
| 2484 | |||
| 2485 | match: function() { | ||
| 2486 | |||
| 2487 | var firstvisible = this.columns.filter(":visible:first"); | ||
| 2488 | |||
| 2489 | if (!firstvisible.length) return; | ||
| 2490 | |||
| 2491 | var stacked = Math.ceil(100 * parseFloat(firstvisible.css('width')) / parseFloat(firstvisible.parent().css('width'))) >= 100; | ||
| 2492 | |||
| 2493 | if (stacked && !this.options.ignorestacked) { | ||
| 2494 | this.revert(); | ||
| 2495 | } else { | ||
| 2496 | UI.Utils.matchHeights(this.elements, this.options); | ||
| 2497 | } | ||
| 2498 | |||
| 2499 | return this; | ||
| 2500 | }, | ||
| 2501 | |||
| 2502 | revert: function() { | ||
| 2503 | this.elements.css('min-height', ''); | ||
| 2504 | return this; | ||
| 2505 | } | ||
| 2506 | }); | ||
| 2507 | |||
| 2508 | UI.component('gridMargin', { | ||
| 2509 | |||
| 2510 | defaults: { | ||
| 2511 | cls : 'uk-grid-margin', | ||
| 2512 | rowfirst : 'uk-row-first' | ||
| 2513 | }, | ||
| 2514 | |||
| 2515 | boot: function() { | ||
| 2516 | |||
| 2517 | // init code | ||
| 2518 | UI.ready(function(context) { | ||
| 2519 | |||
| 2520 | UI.$("[data-uk-grid-margin]", context).each(function() { | ||
| 2521 | var grid = UI.$(this), obj; | ||
| 2522 | |||
| 2523 | if (!grid.data("gridMargin")) { | ||
| 2524 | obj = UI.gridMargin(grid, UI.Utils.options(grid.attr("data-uk-grid-margin"))); | ||
| 2525 | } | ||
| 2526 | }); | ||
| 2527 | }); | ||
| 2528 | }, | ||
| 2529 | |||
| 2530 | init: function() { | ||
| 2531 | |||
| 2532 | var stackMargin = UI.stackMargin(this.element, this.options); | ||
| 2533 | } | ||
| 2534 | }); | ||
| 2535 | |||
| 2536 | })(UIkit); | ||
| 2537 | |||
| 2538 | (function(UI) { | ||
| 2539 | |||
| 2540 | "use strict"; | ||
| 2541 | |||
| 2542 | var active = false, activeCount = 0, $html = UI.$html, body; | ||
| 2543 | |||
| 2544 | UI.$win.on("resize orientationchange", UI.Utils.debounce(function(){ | ||
| 2545 | UI.$('.uk-modal.uk-open').each(function(){ | ||
| 2546 | UI.$(this).data('modal').resize(); | ||
| 2547 | }); | ||
| 2548 | }, 150)); | ||
| 2549 | |||
| 2550 | UI.component('modal', { | ||
| 2551 | |||
| 2552 | defaults: { | ||
| 2553 | keyboard: true, | ||
| 2554 | bgclose: true, | ||
| 2555 | minScrollHeight: 150, | ||
| 2556 | center: false, | ||
| 2557 | modal: true | ||
| 2558 | }, | ||
| 2559 | |||
| 2560 | scrollable: false, | ||
| 2561 | transition: false, | ||
| 2562 | hasTransitioned: true, | ||
| 2563 | |||
| 2564 | init: function() { | ||
| 2565 | |||
| 2566 | if (!body) body = UI.$('body'); | ||
| 2567 | |||
| 2568 | if (!this.element.length) return; | ||
| 2569 | |||
| 2570 | var $this = this; | ||
| 2571 | |||
| 2572 | this.paddingdir = "padding-" + (UI.langdirection == 'left' ? "right":"left"); | ||
| 2573 | this.dialog = this.find(".uk-modal-dialog"); | ||
| 2574 | |||
| 2575 | this.active = false; | ||
| 2576 | |||
| 2577 | // Update ARIA | ||
| 2578 | this.element.attr('aria-hidden', this.element.hasClass("uk-open")); | ||
| 2579 | |||
| 2580 | this.on("click", ".uk-modal-close", function(e) { | ||
| 2581 | e.preventDefault(); | ||
| 2582 | $this.hide(); | ||
| 2583 | }).on("click", function(e) { | ||
| 2584 | |||
| 2585 | var target = UI.$(e.target); | ||
| 2586 | |||
| 2587 | if (target[0] == $this.element[0] && $this.options.bgclose) { | ||
| 2588 | $this.hide(); | ||
| 2589 | } | ||
| 2590 | }); | ||
| 2591 | |||
| 2592 | UI.domObserve(this.element, function(e) { $this.resize(); }); | ||
| 2593 | }, | ||
| 2594 | |||
| 2595 | toggle: function() { | ||
| 2596 | return this[this.isActive() ? "hide" : "show"](); | ||
| 2597 | }, | ||
| 2598 | |||
| 2599 | show: function() { | ||
| 2600 | |||
| 2601 | if (!this.element.length) return; | ||
| 2602 | |||
| 2603 | var $this = this; | ||
| 2604 | |||
| 2605 | if (this.isActive()) return; | ||
| 2606 | |||
| 2607 | if (this.options.modal && active) { | ||
| 2608 | active.hide(true); | ||
| 2609 | } | ||
| 2610 | |||
| 2611 | this.element.removeClass("uk-open").show(); | ||
| 2612 | this.resize(true); | ||
| 2613 | |||
| 2614 | if (this.options.modal) { | ||
| 2615 | active = this; | ||
| 2616 | } | ||
| 2617 | |||
| 2618 | this.active = true; | ||
| 2619 | |||
| 2620 | activeCount++; | ||
| 2621 | |||
| 2622 | if (UI.support.transition) { | ||
| 2623 | this.hasTransitioned = false; | ||
| 2624 | this.element.one(UI.support.transition.end, function(){ | ||
| 2625 | $this.hasTransitioned = true; | ||
| 2626 | }).addClass("uk-open"); | ||
| 2627 | } else { | ||
| 2628 | this.element.addClass("uk-open"); | ||
| 2629 | } | ||
| 2630 | |||
| 2631 | $html.addClass("uk-modal-page").height(); // force browser engine redraw | ||
| 2632 | |||
| 2633 | // Update ARIA | ||
| 2634 | this.element.attr('aria-hidden', 'false'); | ||
| 2635 | |||
| 2636 | this.element.trigger("show.uk.modal"); | ||
| 2637 | |||
| 2638 | UI.Utils.checkDisplay(this.dialog, true); | ||
| 2639 | |||
| 2640 | return this; | ||
| 2641 | }, | ||
| 2642 | |||
| 2643 | hide: function(force) { | ||
| 2644 | |||
| 2645 | if (!force && UI.support.transition && this.hasTransitioned) { | ||
| 2646 | |||
| 2647 | var $this = this; | ||
| 2648 | |||
| 2649 | this.one(UI.support.transition.end, function() { | ||
| 2650 | $this._hide(); | ||
| 2651 | }).removeClass("uk-open"); | ||
| 2652 | |||
| 2653 | } else { | ||
| 2654 | |||
| 2655 | this._hide(); | ||
| 2656 | } | ||
| 2657 | |||
| 2658 | return this; | ||
| 2659 | }, | ||
| 2660 | |||
| 2661 | resize: function(force) { | ||
| 2662 | |||
| 2663 | if (!this.isActive() && !force) return; | ||
| 2664 | |||
| 2665 | var bodywidth = body.width(); | ||
| 2666 | |||
| 2667 | this.scrollbarwidth = window.innerWidth - bodywidth; | ||
| 2668 | |||
| 2669 | body.css(this.paddingdir, this.scrollbarwidth); | ||
| 2670 | |||
| 2671 | this.element.css('overflow-y', this.scrollbarwidth ? 'scroll' : 'auto'); | ||
| 2672 | |||
| 2673 | if (!this.updateScrollable() && this.options.center) { | ||
| 2674 | |||
| 2675 | var dh = this.dialog.outerHeight(), | ||
| 2676 | pad = parseInt(this.dialog.css('margin-top'), 10) + parseInt(this.dialog.css('margin-bottom'), 10); | ||
| 2677 | |||
| 2678 | if ((dh + pad) < window.innerHeight) { | ||
| 2679 | this.dialog.css({'top': (window.innerHeight/2 - dh/2) - pad }); | ||
| 2680 | } else { | ||
| 2681 | this.dialog.css({'top': ''}); | ||
| 2682 | } | ||
| 2683 | } | ||
| 2684 | }, | ||
| 2685 | |||
| 2686 | updateScrollable: function() { | ||
| 2687 | |||
| 2688 | // has scrollable? | ||
| 2689 | var scrollable = this.dialog.find('.uk-overflow-container:visible:first'); | ||
| 2690 | |||
| 2691 | if (scrollable.length) { | ||
| 2692 | |||
| 2693 | scrollable.css('height', 0); | ||
| 2694 | |||
| 2695 | var offset = Math.abs(parseInt(this.dialog.css('margin-top'), 10)), | ||
| 2696 | dh = this.dialog.outerHeight(), | ||
| 2697 | wh = window.innerHeight, | ||
| 2698 | h = wh - 2*(offset < 20 ? 20:offset) - dh; | ||
| 2699 | |||
| 2700 | scrollable.css({ | ||
| 2701 | 'max-height': (h < this.options.minScrollHeight ? '':h), | ||
| 2702 | 'height':'' | ||
| 2703 | }); | ||
| 2704 | |||
| 2705 | return true; | ||
| 2706 | } | ||
| 2707 | |||
| 2708 | return false; | ||
| 2709 | }, | ||
| 2710 | |||
| 2711 | _hide: function() { | ||
| 2712 | |||
| 2713 | this.active = false; | ||
| 2714 | if (activeCount > 0) activeCount--; | ||
| 2715 | else activeCount = 0; | ||
| 2716 | |||
| 2717 | this.element.hide().removeClass('uk-open'); | ||
| 2718 | |||
| 2719 | // Update ARIA | ||
| 2720 | this.element.attr('aria-hidden', 'true'); | ||
| 2721 | |||
| 2722 | if (!activeCount) { | ||
| 2723 | $html.removeClass('uk-modal-page'); | ||
| 2724 | body.css(this.paddingdir, ""); | ||
| 2725 | } | ||
| 2726 | |||
| 2727 | if (active===this) active = false; | ||
| 2728 | |||
| 2729 | this.trigger('hide.uk.modal'); | ||
| 2730 | }, | ||
| 2731 | |||
| 2732 | isActive: function() { | ||
| 2733 | return this.element.hasClass('uk-open'); | ||
| 2734 | } | ||
| 2735 | |||
| 2736 | }); | ||
| 2737 | |||
| 2738 | UI.component('modalTrigger', { | ||
| 2739 | |||
| 2740 | boot: function() { | ||
| 2741 | |||
| 2742 | // init code | ||
| 2743 | UI.$html.on("click.modal.uikit", "[data-uk-modal]", function(e) { | ||
| 2744 | |||
| 2745 | var ele = UI.$(this); | ||
| 2746 | |||
| 2747 | if (ele.is("a")) { | ||
| 2748 | e.preventDefault(); | ||
| 2749 | } | ||
| 2750 | |||
| 2751 | if (!ele.data("modalTrigger")) { | ||
| 2752 | var modal = UI.modalTrigger(ele, UI.Utils.options(ele.attr("data-uk-modal"))); | ||
| 2753 | modal.show(); | ||
| 2754 | } | ||
| 2755 | |||
| 2756 | }); | ||
| 2757 | |||
| 2758 | // close modal on esc button | ||
| 2759 | UI.$html.on('keydown.modal.uikit', function (e) { | ||
| 2760 | |||
| 2761 | if (active && e.keyCode === 27 && active.options.keyboard) { // ESC | ||
| 2762 | e.preventDefault(); | ||
| 2763 | active.hide(); | ||
| 2764 | } | ||
| 2765 | }); | ||
| 2766 | }, | ||
| 2767 | |||
| 2768 | init: function() { | ||
| 2769 | |||
| 2770 | var $this = this; | ||
| 2771 | |||
| 2772 | this.options = UI.$.extend({ | ||
| 2773 | "target": $this.element.is("a") ? $this.element.attr("href") : false | ||
| 2774 | }, this.options); | ||
| 2775 | |||
| 2776 | this.modal = UI.modal(this.options.target, this.options); | ||
| 2777 | |||
| 2778 | this.on("click", function(e) { | ||
| 2779 | e.preventDefault(); | ||
| 2780 | $this.show(); | ||
| 2781 | }); | ||
| 2782 | |||
| 2783 | //methods | ||
| 2784 | this.proxy(this.modal, "show hide isActive"); | ||
| 2785 | } | ||
| 2786 | }); | ||
| 2787 | |||
| 2788 | UI.modal.dialog = function(content, options) { | ||
| 2789 | |||
| 2790 | var modal = UI.modal(UI.$(UI.modal.dialog.template).appendTo("body"), options); | ||
| 2791 | |||
| 2792 | modal.on("hide.uk.modal", function(){ | ||
| 2793 | if (modal.persist) { | ||
| 2794 | modal.persist.appendTo(modal.persist.data("modalPersistParent")); | ||
| 2795 | modal.persist = false; | ||
| 2796 | } | ||
| 2797 | modal.element.remove(); | ||
| 2798 | }); | ||
| 2799 | |||
| 2800 | setContent(content, modal); | ||
| 2801 | |||
| 2802 | return modal; | ||
| 2803 | }; | ||
| 2804 | |||
| 2805 | UI.modal.dialog.template = '<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>'; | ||
| 2806 | |||
| 2807 | UI.modal.alert = function(content, options) { | ||
| 2808 | |||
| 2809 | options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); | ||
| 2810 | |||
| 2811 | var modal = UI.modal.dialog(([ | ||
| 2812 | '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', | ||
| 2813 | '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+options.labels.Ok+'</button></div>' | ||
| 2814 | ]).join(""), options); | ||
| 2815 | |||
| 2816 | modal.on('show.uk.modal', function(){ | ||
| 2817 | setTimeout(function(){ | ||
| 2818 | modal.element.find('button:first').focus(); | ||
| 2819 | }, 50); | ||
| 2820 | }); | ||
| 2821 | |||
| 2822 | return modal.show(); | ||
| 2823 | }; | ||
| 2824 | |||
| 2825 | UI.modal.confirm = function(content, onconfirm, oncancel) { | ||
| 2826 | |||
| 2827 | var options = arguments.length > 1 && arguments[arguments.length-1] ? arguments[arguments.length-1] : {}; | ||
| 2828 | |||
| 2829 | onconfirm = UI.$.isFunction(onconfirm) ? onconfirm : function(){}; | ||
| 2830 | oncancel = UI.$.isFunction(oncancel) ? oncancel : function(){}; | ||
| 2831 | options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, UI.$.isFunction(options) ? {}:options); | ||
| 2832 | |||
| 2833 | var modal = UI.modal.dialog(([ | ||
| 2834 | '<div class="uk-margin uk-modal-content">'+String(content)+'</div>', | ||
| 2835 | '<div class="uk-modal-footer uk-text-right"><button class="uk-button js-modal-confirm-cancel">'+options.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-confirm">'+options.labels.Ok+'</button></div>' | ||
| 2836 | ]).join(""), options); | ||
| 2837 | |||
| 2838 | modal.element.find(".js-modal-confirm, .js-modal-confirm-cancel").on("click", function(){ | ||
| 2839 | UI.$(this).is('.js-modal-confirm') ? onconfirm() : oncancel(); | ||
| 2840 | modal.hide(); | ||
| 2841 | }); | ||
| 2842 | |||
| 2843 | modal.on('show.uk.modal', function(){ | ||
| 2844 | setTimeout(function(){ | ||
| 2845 | modal.element.find('.js-modal-confirm').focus(); | ||
| 2846 | }, 50); | ||
| 2847 | }); | ||
| 2848 | |||
| 2849 | return modal.show(); | ||
| 2850 | }; | ||
| 2851 | |||
| 2852 | UI.modal.prompt = function(text, value, onsubmit, options) { | ||
| 2853 | |||
| 2854 | onsubmit = UI.$.isFunction(onsubmit) ? onsubmit : function(value){}; | ||
| 2855 | options = UI.$.extend(true, {bgclose:false, keyboard:false, modal:false, labels:UI.modal.labels}, options); | ||
| 2856 | |||
| 2857 | var modal = UI.modal.dialog(([ | ||
| 2858 | text ? '<div class="uk-modal-content uk-form">'+String(text)+'</div>':'', | ||
| 2859 | '<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>', | ||
| 2860 | '<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-modal-close">'+options.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-ok">'+options.labels.Ok+'</button></div>' | ||
| 2861 | ]).join(""), options), | ||
| 2862 | |||
| 2863 | input = modal.element.find("input[type='text']").val(value || '').on('keyup', function(e){ | ||
| 2864 | if (e.keyCode == 13) { | ||
| 2865 | modal.element.find(".js-modal-ok").trigger('click'); | ||
| 2866 | } | ||
| 2867 | }); | ||
| 2868 | |||
| 2869 | modal.element.find(".js-modal-ok").on("click", function(){ | ||
| 2870 | if (onsubmit(input.val())!==false){ | ||
| 2871 | modal.hide(); | ||
| 2872 | } | ||
| 2873 | }); | ||
| 2874 | |||
| 2875 | modal.on('show.uk.modal', function(){ | ||
| 2876 | setTimeout(function(){ | ||
| 2877 | input.focus(); | ||
| 2878 | }, 50); | ||
| 2879 | }); | ||
| 2880 | |||
| 2881 | return modal.show(); | ||
| 2882 | }; | ||
| 2883 | |||
| 2884 | UI.modal.blockUI = function(content, options) { | ||
| 2885 | |||
| 2886 | var modal = UI.modal.dialog(([ | ||
| 2887 | '<div class="uk-margin uk-modal-content">'+String(content || '<div class="uk-text-center">...</div>')+'</div>' | ||
| 2888 | ]).join(""), UI.$.extend({bgclose:false, keyboard:false, modal:false}, options)); | ||
| 2889 | |||
| 2890 | modal.content = modal.element.find('.uk-modal-content:first'); | ||
| 2891 | |||
| 2892 | return modal.show(); | ||
| 2893 | }; | ||
| 2894 | |||
| 2895 | |||
| 2896 | UI.modal.labels = { | ||
| 2897 | 'Ok': 'Ok', | ||
| 2898 | 'Cancel': 'Cancel' | ||
| 2899 | }; | ||
| 2900 | |||
| 2901 | |||
| 2902 | // helper functions | ||
| 2903 | function setContent(content, modal){ | ||
| 2904 | |||
| 2905 | if(!modal) return; | ||
| 2906 | |||
| 2907 | if (typeof content === 'object') { | ||
| 2908 | |||
| 2909 | // convert DOM object to a jQuery object | ||
| 2910 | content = content instanceof jQuery ? content : UI.$(content); | ||
| 2911 | |||
| 2912 | if(content.parent().length) { | ||
| 2913 | modal.persist = content; | ||
| 2914 | modal.persist.data("modalPersistParent", content.parent()); | ||
| 2915 | } | ||
| 2916 | }else if (typeof content === 'string' || typeof content === 'number') { | ||
| 2917 | // just insert the data as innerHTML | ||
| 2918 | content = UI.$('<div></div>').html(content); | ||
| 2919 | }else { | ||
| 2920 | // unsupported data type! | ||
| 2921 | content = UI.$('<div></div>').html('UIkit.modal Error: Unsupported data type: ' + typeof content); | ||
| 2922 | } | ||
| 2923 | |||
| 2924 | content.appendTo(modal.element.find('.uk-modal-dialog')); | ||
| 2925 | |||
| 2926 | return modal; | ||
| 2927 | } | ||
| 2928 | |||
| 2929 | })(UIkit); | ||
| 2930 | |||
| 2931 | (function(UI) { | ||
| 2932 | |||
| 2933 | "use strict"; | ||
| 2934 | |||
| 2935 | UI.component('nav', { | ||
| 2936 | |||
| 2937 | defaults: { | ||
| 2938 | "toggle": ">li.uk-parent > a[href='#']", | ||
| 2939 | "lists": ">li.uk-parent > ul", | ||
| 2940 | "multiple": false | ||
| 2941 | }, | ||
| 2942 | |||
| 2943 | boot: function() { | ||
| 2944 | |||
| 2945 | // init code | ||
| 2946 | UI.ready(function(context) { | ||
| 2947 | |||
| 2948 | UI.$("[data-uk-nav]", context).each(function() { | ||
| 2949 | var nav = UI.$(this); | ||
| 2950 | |||
| 2951 | if (!nav.data("nav")) { | ||
| 2952 | var obj = UI.nav(nav, UI.Utils.options(nav.attr("data-uk-nav"))); | ||
| 2953 | } | ||
| 2954 | }); | ||
| 2955 | }); | ||
| 2956 | }, | ||
| 2957 | |||
| 2958 | init: function() { | ||
| 2959 | |||
| 2960 | var $this = this; | ||
| 2961 | |||
| 2962 | this.on("click.uk.nav", this.options.toggle, function(e) { | ||
| 2963 | e.preventDefault(); | ||
| 2964 | var ele = UI.$(this); | ||
| 2965 | $this.open(ele.parent()[0] == $this.element[0] ? ele : ele.parent("li")); | ||
| 2966 | }); | ||
| 2967 | |||
| 2968 | this.find(this.options.lists).each(function() { | ||
| 2969 | var $ele = UI.$(this), | ||
| 2970 | parent = $ele.parent(), | ||
| 2971 | active = parent.hasClass("uk-active"); | ||
| 2972 | |||
| 2973 | $ele.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'); | ||
| 2974 | parent.data("list-container", $ele.parent()[active ? 'removeClass':'addClass']('uk-hidden')); | ||
| 2975 | |||
| 2976 | // Init ARIA | ||
| 2977 | parent.attr('aria-expanded', parent.hasClass("uk-open")); | ||
| 2978 | |||
| 2979 | if (active) $this.open(parent, true); | ||
| 2980 | }); | ||
| 2981 | |||
| 2982 | }, | ||
| 2983 | |||
| 2984 | open: function(li, noanimation) { | ||
| 2985 | |||
| 2986 | var $this = this, element = this.element, $li = UI.$(li), $container = $li.data('list-container'); | ||
| 2987 | |||
| 2988 | if (!this.options.multiple) { | ||
| 2989 | |||
| 2990 | element.children('.uk-open').not(li).each(function() { | ||
| 2991 | |||
| 2992 | var ele = UI.$(this); | ||
| 2993 | |||
| 2994 | if (ele.data('list-container')) { | ||
| 2995 | ele.data('list-container').stop().animate({height: 0}, function() { | ||
| 2996 | UI.$(this).parent().removeClass('uk-open').end().addClass('uk-hidden'); | ||
| 2997 | }); | ||
| 2998 | } | ||
| 2999 | }); | ||
| 3000 | } | ||
| 3001 | |||
| 3002 | $li.toggleClass('uk-open'); | ||
| 3003 | |||
| 3004 | // Update ARIA | ||
| 3005 | $li.attr('aria-expanded', $li.hasClass('uk-open')); | ||
| 3006 | |||
| 3007 | if ($container) { | ||
| 3008 | |||
| 3009 | if ($li.hasClass('uk-open')) { | ||
| 3010 | $container.removeClass('uk-hidden'); | ||
| 3011 | } | ||
| 3012 | |||
| 3013 | if (noanimation) { | ||
| 3014 | |||
| 3015 | $container.stop().height($li.hasClass('uk-open') ? 'auto' : 0); | ||
| 3016 | |||
| 3017 | if (!$li.hasClass('uk-open')) { | ||
| 3018 | $container.addClass('uk-hidden'); | ||
| 3019 | } | ||
| 3020 | |||
| 3021 | this.trigger('display.uk.check'); | ||
| 3022 | |||
| 3023 | } else { | ||
| 3024 | |||
| 3025 | $container.stop().animate({ | ||
| 3026 | height: ($li.hasClass('uk-open') ? getHeight($container.find('ul:first')) : 0) | ||
| 3027 | }, function() { | ||
| 3028 | |||
| 3029 | if (!$li.hasClass('uk-open')) { | ||
| 3030 | $container.addClass('uk-hidden'); | ||
| 3031 | } else { | ||
| 3032 | $container.css('height', ''); | ||
| 3033 | } | ||
| 3034 | |||
| 3035 | $this.trigger('display.uk.check'); | ||
| 3036 | }); | ||
| 3037 | } | ||
| 3038 | } | ||
| 3039 | } | ||
| 3040 | }); | ||
| 3041 | |||
| 3042 | |||
| 3043 | // helper | ||
| 3044 | |||
| 3045 | function getHeight(ele) { | ||
| 3046 | var $ele = UI.$(ele), height = "auto"; | ||
| 3047 | |||
| 3048 | if ($ele.is(":visible")) { | ||
| 3049 | height = $ele.outerHeight(); | ||
| 3050 | } else { | ||
| 3051 | var tmp = { | ||
| 3052 | position: $ele.css("position"), | ||
| 3053 | visibility: $ele.css("visibility"), | ||
| 3054 | display: $ele.css("display") | ||
| 3055 | }; | ||
| 3056 | |||
| 3057 | height = $ele.css({position: 'absolute', visibility: 'hidden', display: 'block'}).outerHeight(); | ||
| 3058 | |||
| 3059 | $ele.css(tmp); // reset element | ||
| 3060 | } | ||
| 3061 | |||
| 3062 | return height; | ||
| 3063 | } | ||
| 3064 | |||
| 3065 | })(UIkit); | ||
| 3066 | |||
| 3067 | (function(UI) { | ||
| 3068 | |||
| 3069 | "use strict"; | ||
| 3070 | |||
| 3071 | var scrollpos = {x: window.scrollX, y: window.scrollY}, | ||
| 3072 | $win = UI.$win, | ||
| 3073 | $doc = UI.$doc, | ||
| 3074 | $html = UI.$html, | ||
| 3075 | Offcanvas = { | ||
| 3076 | |||
| 3077 | show: function(element) { | ||
| 3078 | |||
| 3079 | element = UI.$(element); | ||
| 3080 | |||
| 3081 | if (!element.length) return; | ||
| 3082 | |||
| 3083 | var $body = UI.$('body'), | ||
| 3084 | bar = element.find(".uk-offcanvas-bar:first"), | ||
| 3085 | rtl = (UI.langdirection == "right"), | ||
| 3086 | flip = bar.hasClass("uk-offcanvas-bar-flip") ? -1:1, | ||
| 3087 | dir = flip * (rtl ? -1 : 1), | ||
| 3088 | |||
| 3089 | scrollbarwidth = window.innerWidth - $body.width(); | ||
| 3090 | |||
| 3091 | scrollpos = {x: window.pageXOffset, y: window.pageYOffset}; | ||
| 3092 | |||
| 3093 | element.addClass("uk-active"); | ||
| 3094 | |||
| 3095 | $body.css({"width": window.innerWidth - scrollbarwidth, "height": window.innerHeight}).addClass("uk-offcanvas-page"); | ||
| 3096 | $body.css((rtl ? "margin-right" : "margin-left"), (rtl ? -1 : 1) * (bar.outerWidth() * dir)).width(); // .width() - force redraw | ||
| 3097 | |||
| 3098 | $html.css('margin-top', scrollpos.y * -1); | ||
| 3099 | |||
| 3100 | bar.addClass("uk-offcanvas-bar-show"); | ||
| 3101 | |||
| 3102 | this._initElement(element); | ||
| 3103 | |||
| 3104 | bar.trigger('show.uk.offcanvas', [element, bar]); | ||
| 3105 | |||
| 3106 | // Update ARIA | ||
| 3107 | element.attr('aria-hidden', 'false'); | ||
| 3108 | }, | ||
| 3109 | |||
| 3110 | hide: function(force) { | ||
| 3111 | |||
| 3112 | var $body = UI.$('body'), | ||
| 3113 | panel = UI.$(".uk-offcanvas.uk-active"), | ||
| 3114 | rtl = (UI.langdirection == "right"), | ||
| 3115 | bar = panel.find(".uk-offcanvas-bar:first"), | ||
| 3116 | finalize = function() { | ||
| 3117 | $body.removeClass("uk-offcanvas-page").css({"width": "", "height": "", "margin-left": "", "margin-right": ""}); | ||
| 3118 | panel.removeClass("uk-active"); | ||
| 3119 | |||
| 3120 | bar.removeClass("uk-offcanvas-bar-show"); | ||
| 3121 | $html.css('margin-top', ''); | ||
| 3122 | window.scrollTo(scrollpos.x, scrollpos.y); | ||
| 3123 | bar.trigger('hide.uk.offcanvas', [panel, bar]); | ||
| 3124 | |||
| 3125 | // Update ARIA | ||
| 3126 | panel.attr('aria-hidden', 'true'); | ||
| 3127 | }; | ||
| 3128 | |||
| 3129 | if (!panel.length) return; | ||
| 3130 | |||
| 3131 | if (UI.support.transition && !force) { | ||
| 3132 | |||
| 3133 | $body.one(UI.support.transition.end, function() { | ||
| 3134 | finalize(); | ||
| 3135 | }).css((rtl ? "margin-right" : "margin-left"), ""); | ||
| 3136 | |||
| 3137 | setTimeout(function(){ | ||
| 3138 | bar.removeClass("uk-offcanvas-bar-show"); | ||
| 3139 | }, 0); | ||
| 3140 | |||
| 3141 | } else { | ||
| 3142 | finalize(); | ||
| 3143 | } | ||
| 3144 | }, | ||
| 3145 | |||
| 3146 | _initElement: function(element) { | ||
| 3147 | |||
| 3148 | if (element.data("OffcanvasInit")) return; | ||
| 3149 | |||
| 3150 | element.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas", function(e) { | ||
| 3151 | |||
| 3152 | var target = UI.$(e.target); | ||
| 3153 | |||
| 3154 | if (!e.type.match(/swipe/)) { | ||
| 3155 | |||
| 3156 | if (!target.hasClass("uk-offcanvas-close")) { | ||
| 3157 | if (target.hasClass("uk-offcanvas-bar")) return; | ||
| 3158 | if (target.parents(".uk-offcanvas-bar:first").length) return; | ||
| 3159 | } | ||
| 3160 | } | ||
| 3161 | |||
| 3162 | e.stopImmediatePropagation(); | ||
| 3163 | Offcanvas.hide(); | ||
| 3164 | }); | ||
| 3165 | |||
| 3166 | element.on("click", "a[href*='#']", function(e){ | ||
| 3167 | |||
| 3168 | var link = UI.$(this), | ||
| 3169 | href = link.attr("href"); | ||
| 3170 | |||
| 3171 | if (href == "#") { | ||
| 3172 | return; | ||
| 3173 | } | ||
| 3174 | |||
| 3175 | UI.$doc.one('hide.uk.offcanvas', function() { | ||
| 3176 | |||
| 3177 | var target; | ||
| 3178 | |||
| 3179 | try { | ||
| 3180 | target = UI.$(link[0].hash); | ||
| 3181 | } catch (e){ | ||
| 3182 | target = ''; | ||
| 3183 | } | ||
| 3184 | |||
| 3185 | if (!target.length) { | ||
| 3186 | target = UI.$('[name="'+link[0].hash.replace('#','')+'"]'); | ||
| 3187 | } | ||
| 3188 | |||
| 3189 | if (target.length && UI.Utils.scrollToElement) { | ||
| 3190 | UI.Utils.scrollToElement(target, UI.Utils.options(link.attr('data-uk-smooth-scroll') || '{}')); | ||
| 3191 | } else { | ||
| 3192 | window.location.href = href; | ||
| 3193 | } | ||
| 3194 | }); | ||
| 3195 | |||
| 3196 | Offcanvas.hide(); | ||
| 3197 | }); | ||
| 3198 | |||
| 3199 | element.data("OffcanvasInit", true); | ||
| 3200 | } | ||
| 3201 | }; | ||
| 3202 | |||
| 3203 | UI.component('offcanvasTrigger', { | ||
| 3204 | |||
| 3205 | boot: function() { | ||
| 3206 | |||
| 3207 | // init code | ||
| 3208 | $html.on("click.offcanvas.uikit", "[data-uk-offcanvas]", function(e) { | ||
| 3209 | |||
| 3210 | e.preventDefault(); | ||
| 3211 | |||
| 3212 | var ele = UI.$(this); | ||
| 3213 | |||
| 3214 | if (!ele.data("offcanvasTrigger")) { | ||
| 3215 | var obj = UI.offcanvasTrigger(ele, UI.Utils.options(ele.attr("data-uk-offcanvas"))); | ||
| 3216 | ele.trigger("click"); | ||
| 3217 | } | ||
| 3218 | }); | ||
| 3219 | |||
| 3220 | $html.on('keydown.uk.offcanvas', function(e) { | ||
| 3221 | |||
| 3222 | if (e.keyCode === 27) { // ESC | ||
| 3223 | Offcanvas.hide(); | ||
| 3224 | } | ||
| 3225 | }); | ||
| 3226 | }, | ||
| 3227 | |||
| 3228 | init: function() { | ||
| 3229 | |||
| 3230 | var $this = this; | ||
| 3231 | |||
| 3232 | this.options = UI.$.extend({ | ||
| 3233 | "target": $this.element.is("a") ? $this.element.attr("href") : false | ||
| 3234 | }, this.options); | ||
| 3235 | |||
| 3236 | this.on("click", function(e) { | ||
| 3237 | e.preventDefault(); | ||
| 3238 | Offcanvas.show($this.options.target); | ||
| 3239 | }); | ||
| 3240 | } | ||
| 3241 | }); | ||
| 3242 | |||
| 3243 | UI.offcanvas = Offcanvas; | ||
| 3244 | |||
| 3245 | })(UIkit); | ||
| 3246 | |||
| 3247 | (function(UI) { | ||
| 3248 | |||
| 3249 | "use strict"; | ||
| 3250 | |||
| 3251 | var Animations; | ||
| 3252 | |||
| 3253 | UI.component('switcher', { | ||
| 3254 | |||
| 3255 | defaults: { | ||
| 3256 | connect : false, | ||
| 3257 | toggle : ">*", | ||
| 3258 | active : 0, | ||
| 3259 | animation : false, | ||
| 3260 | duration : 200, | ||
| 3261 | swiping : true | ||
| 3262 | }, | ||
| 3263 | |||
| 3264 | animating: false, | ||
| 3265 | |||
| 3266 | boot: function() { | ||
| 3267 | |||
| 3268 | // init code | ||
| 3269 | UI.ready(function(context) { | ||
| 3270 | |||
| 3271 | UI.$("[data-uk-switcher]", context).each(function() { | ||
| 3272 | var switcher = UI.$(this); | ||
| 3273 | |||
| 3274 | if (!switcher.data("switcher")) { | ||
| 3275 | var obj = UI.switcher(switcher, UI.Utils.options(switcher.attr("data-uk-switcher"))); | ||
| 3276 | } | ||
| 3277 | }); | ||
| 3278 | }); | ||
| 3279 | }, | ||
| 3280 | |||
| 3281 | init: function() { | ||
| 3282 | |||
| 3283 | var $this = this; | ||
| 3284 | |||
| 3285 | this.on("click.uk.switcher", this.options.toggle, function(e) { | ||
| 3286 | e.preventDefault(); | ||
| 3287 | $this.show(this); | ||
| 3288 | }); | ||
| 3289 | |||
| 3290 | if (this.options.connect) { | ||
| 3291 | |||
| 3292 | this.connect = UI.$(this.options.connect); | ||
| 3293 | |||
| 3294 | this.connect.children().removeClass("uk-active"); | ||
| 3295 | |||
| 3296 | // delegate switch commands within container content | ||
| 3297 | if (this.connect.length) { | ||
| 3298 | |||
| 3299 | // Init ARIA for connect | ||
| 3300 | this.connect.children().attr('aria-hidden', 'true'); | ||
| 3301 | |||
| 3302 | this.connect.on("click", '[data-uk-switcher-item]', function(e) { | ||
| 3303 | |||
| 3304 | e.preventDefault(); | ||
| 3305 | |||
| 3306 | var item = UI.$(this).attr('data-uk-switcher-item'); | ||
| 3307 | |||
| 3308 | if ($this.index == item) return; | ||
| 3309 | |||
| 3310 | switch(item) { | ||
| 3311 | case 'next': | ||
| 3312 | case 'previous': | ||
| 3313 | $this.show($this.index + (item=='next' ? 1:-1)); | ||
| 3314 | break; | ||
| 3315 | default: | ||
| 3316 | $this.show(parseInt(item, 10)); | ||
| 3317 | } | ||
| 3318 | }); | ||
| 3319 | |||
| 3320 | if (this.options.swiping) { | ||
| 3321 | |||
| 3322 | this.connect.on('swipeRight swipeLeft', function(e) { | ||
| 3323 | e.preventDefault(); | ||
| 3324 | if(!window.getSelection().toString()) { | ||
| 3325 | $this.show($this.index + (e.type == 'swipeLeft' ? 1 : -1)); | ||
| 3326 | } | ||
| 3327 | }); | ||
| 3328 | } | ||
| 3329 | } | ||
| 3330 | |||
| 3331 | var toggles = this.find(this.options.toggle), | ||
| 3332 | active = toggles.filter(".uk-active"); | ||
| 3333 | |||
| 3334 | if (active.length) { | ||
| 3335 | this.show(active, false); | ||
| 3336 | } else { | ||
| 3337 | |||
| 3338 | if (this.options.active===false) return; | ||
| 3339 | |||
| 3340 | active = toggles.eq(this.options.active); | ||
| 3341 | this.show(active.length ? active : toggles.eq(0), false); | ||
| 3342 | } | ||
| 3343 | |||
| 3344 | // Init ARIA for toggles | ||
| 3345 | toggles.not(active).attr('aria-expanded', 'false'); | ||
| 3346 | active.attr('aria-expanded', 'true'); | ||
| 3347 | } | ||
| 3348 | |||
| 3349 | }, | ||
| 3350 | |||
| 3351 | show: function(tab, animate) { | ||
| 3352 | |||
| 3353 | if (this.animating) { | ||
| 3354 | return; | ||
| 3355 | } | ||
| 3356 | |||
| 3357 | if (isNaN(tab)) { | ||
| 3358 | tab = UI.$(tab); | ||
| 3359 | } else { | ||
| 3360 | |||
| 3361 | var toggles = this.find(this.options.toggle); | ||
| 3362 | |||
| 3363 | tab = tab < 0 ? toggles.length-1 : tab; | ||
| 3364 | tab = toggles.eq(toggles[tab] ? tab : 0); | ||
| 3365 | } | ||
| 3366 | |||
| 3367 | var $this = this, | ||
| 3368 | toggles = this.find(this.options.toggle), | ||
| 3369 | active = UI.$(tab), | ||
| 3370 | animation = Animations[this.options.animation] || function(current, next) { | ||
| 3371 | |||
| 3372 | if (!$this.options.animation) { | ||
| 3373 | return Animations.none.apply($this); | ||
| 3374 | } | ||
| 3375 | |||
| 3376 | var anim = $this.options.animation.split(','); | ||
| 3377 | |||
| 3378 | if (anim.length == 1) { | ||
| 3379 | anim[1] = anim[0]; | ||
| 3380 | } | ||
| 3381 | |||
| 3382 | anim[0] = anim[0].trim(); | ||
| 3383 | anim[1] = anim[1].trim(); | ||
| 3384 | |||
| 3385 | return coreAnimation.apply($this, [anim, current, next]); | ||
| 3386 | }; | ||
| 3387 | |||
| 3388 | if (animate===false || !UI.support.animation) { | ||
| 3389 | animation = Animations.none; | ||
| 3390 | } | ||
| 3391 | |||
| 3392 | if (active.hasClass("uk-disabled")) return; | ||
| 3393 | |||
| 3394 | // Update ARIA for Toggles | ||
| 3395 | toggles.attr('aria-expanded', 'false'); | ||
| 3396 | active.attr('aria-expanded', 'true'); | ||
| 3397 | |||
| 3398 | toggles.filter(".uk-active").removeClass("uk-active"); | ||
| 3399 | active.addClass("uk-active"); | ||
| 3400 | |||
| 3401 | if (this.options.connect && this.connect.length) { | ||
| 3402 | |||
| 3403 | this.index = this.find(this.options.toggle).index(active); | ||
| 3404 | |||
| 3405 | if (this.index == -1 ) { | ||
| 3406 | this.index = 0; | ||
| 3407 | } | ||
| 3408 | |||
| 3409 | this.connect.each(function() { | ||
| 3410 | |||
| 3411 | var container = UI.$(this), | ||
| 3412 | children = UI.$(container.children()), | ||
| 3413 | current = UI.$(children.filter('.uk-active')), | ||
| 3414 | next = UI.$(children.eq($this.index)); | ||
| 3415 | |||
| 3416 | $this.animating = true; | ||
| 3417 | |||
| 3418 | animation.apply($this, [current, next]).then(function(){ | ||
| 3419 | |||
| 3420 | current.removeClass("uk-active"); | ||
| 3421 | next.addClass("uk-active"); | ||
| 3422 | |||
| 3423 | // Update ARIA for connect | ||
| 3424 | current.attr('aria-hidden', 'true'); | ||
| 3425 | next.attr('aria-hidden', 'false'); | ||
| 3426 | |||
| 3427 | UI.Utils.checkDisplay(next, true); | ||
| 3428 | |||
| 3429 | $this.animating = false; | ||
| 3430 | |||
| 3431 | }); | ||
| 3432 | }); | ||
| 3433 | } | ||
| 3434 | |||
| 3435 | this.trigger("show.uk.switcher", [active]); | ||
| 3436 | } | ||
| 3437 | }); | ||
| 3438 | |||
| 3439 | Animations = { | ||
| 3440 | |||
| 3441 | 'none': function() { | ||
| 3442 | var d = UI.$.Deferred(); | ||
| 3443 | d.resolve(); | ||
| 3444 | return d.promise(); | ||
| 3445 | }, | ||
| 3446 | |||
| 3447 | 'fade': function(current, next) { | ||
| 3448 | return coreAnimation.apply(this, ['uk-animation-fade', current, next]); | ||
| 3449 | }, | ||
| 3450 | |||
| 3451 | 'slide-bottom': function(current, next) { | ||
| 3452 | return coreAnimation.apply(this, ['uk-animation-slide-bottom', current, next]); | ||
| 3453 | }, | ||
| 3454 | |||
| 3455 | 'slide-top': function(current, next) { | ||
| 3456 | return coreAnimation.apply(this, ['uk-animation-slide-top', current, next]); | ||
| 3457 | }, | ||
| 3458 | |||
| 3459 | 'slide-vertical': function(current, next, dir) { | ||
| 3460 | |||
| 3461 | var anim = ['uk-animation-slide-top', 'uk-animation-slide-bottom']; | ||
| 3462 | |||
| 3463 | if (current && current.index() > next.index()) { | ||
| 3464 | anim.reverse(); | ||
| 3465 | } | ||
| 3466 | |||
| 3467 | return coreAnimation.apply(this, [anim, current, next]); | ||
| 3468 | }, | ||
| 3469 | |||
| 3470 | 'slide-left': function(current, next) { | ||
| 3471 | return coreAnimation.apply(this, ['uk-animation-slide-left', current, next]); | ||
| 3472 | }, | ||
| 3473 | |||
| 3474 | 'slide-right': function(current, next) { | ||
| 3475 | return coreAnimation.apply(this, ['uk-animation-slide-right', current, next]); | ||
| 3476 | }, | ||
| 3477 | |||
| 3478 | 'slide-horizontal': function(current, next, dir) { | ||
| 3479 | |||
| 3480 | var anim = ['uk-animation-slide-right', 'uk-animation-slide-left']; | ||
| 3481 | |||
| 3482 | if (current && current.index() > next.index()) { | ||
| 3483 | anim.reverse(); | ||
| 3484 | } | ||
| 3485 | |||
| 3486 | return coreAnimation.apply(this, [anim, current, next]); | ||
| 3487 | }, | ||
| 3488 | |||
| 3489 | 'scale': function(current, next) { | ||
| 3490 | return coreAnimation.apply(this, ['uk-animation-scale-up', current, next]); | ||
| 3491 | } | ||
| 3492 | }; | ||
| 3493 | |||
| 3494 | UI.switcher.animations = Animations; | ||
| 3495 | |||
| 3496 | |||
| 3497 | // helpers | ||
| 3498 | |||
| 3499 | function coreAnimation(cls, current, next) { | ||
| 3500 | |||
| 3501 | var d = UI.$.Deferred(), clsIn = cls, clsOut = cls, release; | ||
| 3502 | |||
| 3503 | if (next[0]===current[0]) { | ||
| 3504 | d.resolve(); | ||
| 3505 | return d.promise(); | ||
| 3506 | } | ||
| 3507 | |||
| 3508 | if (typeof(cls) == 'object') { | ||
| 3509 | clsIn = cls[0]; | ||
| 3510 | clsOut = cls[1] || cls[0]; | ||
| 3511 | } | ||
| 3512 | |||
| 3513 | UI.$body.css('overflow-x', 'hidden'); // fix scroll jumping in iOS | ||
| 3514 | |||
| 3515 | release = function() { | ||
| 3516 | |||
| 3517 | if (current) current.hide().removeClass('uk-active '+clsOut+' uk-animation-reverse'); | ||
| 3518 | |||
| 3519 | next.addClass(clsIn).one(UI.support.animation.end, function() { | ||
| 3520 | |||
| 3521 | setTimeout(function () { | ||
| 3522 | next.removeClass(''+clsIn+'').css({opacity:'', display:''}); | ||
| 3523 | }, 0); | ||
| 3524 | |||
| 3525 | d.resolve(); | ||
| 3526 | |||
| 3527 | UI.$body.css('overflow-x', ''); | ||
| 3528 | |||
| 3529 | if (current) current.css({opacity:'', display:''}); | ||
| 3530 | |||
| 3531 | }.bind(this)).show(); | ||
| 3532 | }; | ||
| 3533 | |||
| 3534 | next.css('animation-duration', this.options.duration+'ms'); | ||
| 3535 | |||
| 3536 | if (current && current.length) { | ||
| 3537 | |||
| 3538 | current.css('animation-duration', this.options.duration+'ms'); | ||
| 3539 | |||
| 3540 | current.css('display', 'none').addClass(clsOut+' uk-animation-reverse').one(UI.support.animation.end, function() { | ||
| 3541 | release(); | ||
| 3542 | }.bind(this)).css('display', ''); | ||
| 3543 | |||
| 3544 | } else { | ||
| 3545 | next.addClass('uk-active'); | ||
| 3546 | release(); | ||
| 3547 | } | ||
| 3548 | |||
| 3549 | return d.promise(); | ||
| 3550 | } | ||
| 3551 | |||
| 3552 | })(UIkit); | ||
| 3553 | |||
| 3554 | (function(UI) { | ||
| 3555 | |||
| 3556 | "use strict"; | ||
| 3557 | |||
| 3558 | UI.component('tab', { | ||
| 3559 | |||
| 3560 | defaults: { | ||
| 3561 | 'target' : '>li:not(.uk-tab-responsive, .uk-disabled)', | ||
| 3562 | 'connect' : false, | ||
| 3563 | 'active' : 0, | ||
| 3564 | 'animation' : false, | ||
| 3565 | 'duration' : 200, | ||
| 3566 | 'swiping' : true | ||
| 3567 | }, | ||
| 3568 | |||
| 3569 | boot: function() { | ||
| 3570 | |||
| 3571 | // init code | ||
| 3572 | UI.ready(function(context) { | ||
| 3573 | |||
| 3574 | UI.$("[data-uk-tab]", context).each(function() { | ||
| 3575 | |||
| 3576 | var tab = UI.$(this); | ||
| 3577 | |||
| 3578 | if (!tab.data("tab")) { | ||
| 3579 | var obj = UI.tab(tab, UI.Utils.options(tab.attr("data-uk-tab"))); | ||
| 3580 | } | ||
| 3581 | }); | ||
| 3582 | }); | ||
| 3583 | }, | ||
| 3584 | |||
| 3585 | init: function() { | ||
| 3586 | |||
| 3587 | var $this = this; | ||
| 3588 | |||
| 3589 | this.current = false; | ||
| 3590 | |||
| 3591 | this.on("click.uk.tab", this.options.target, function(e) { | ||
| 3592 | |||
| 3593 | e.preventDefault(); | ||
| 3594 | |||
| 3595 | if ($this.switcher && $this.switcher.animating) { | ||
| 3596 | return; | ||
| 3597 | } | ||
| 3598 | |||
| 3599 | var current = $this.find($this.options.target).not(this); | ||
| 3600 | |||
| 3601 | current.removeClass("uk-active").blur(); | ||
| 3602 | |||
| 3603 | $this.trigger("change.uk.tab", [UI.$(this).addClass("uk-active"), $this.current]); | ||
| 3604 | |||
| 3605 | $this.current = UI.$(this); | ||
| 3606 | |||
| 3607 | // Update ARIA | ||
| 3608 | if (!$this.options.connect) { | ||
| 3609 | current.attr('aria-expanded', 'false'); | ||
| 3610 | UI.$(this).attr('aria-expanded', 'true'); | ||
| 3611 | } | ||
| 3612 | }); | ||
| 3613 | |||
| 3614 | if (this.options.connect) { | ||
| 3615 | this.connect = UI.$(this.options.connect); | ||
| 3616 | } | ||
| 3617 | |||
| 3618 | // init responsive tab | ||
| 3619 | this.responsivetab = UI.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'); | ||
| 3620 | |||
| 3621 | this.responsivetab.dropdown = this.responsivetab.find('.uk-dropdown'); | ||
| 3622 | this.responsivetab.lst = this.responsivetab.dropdown.find('ul'); | ||
| 3623 | this.responsivetab.caption = this.responsivetab.find('a:first'); | ||
| 3624 | |||
| 3625 | if (this.element.hasClass("uk-tab-bottom")) this.responsivetab.dropdown.addClass("uk-dropdown-up"); | ||
| 3626 | |||
| 3627 | // handle click | ||
| 3628 | this.responsivetab.lst.on('click.uk.tab', 'a', function(e) { | ||
| 3629 | |||
| 3630 | e.preventDefault(); | ||
| 3631 | e.stopPropagation(); | ||
| 3632 | |||
| 3633 | var link = UI.$(this); | ||
| 3634 | |||
| 3635 | $this.element.children('li:not(.uk-tab-responsive)').eq(link.data('index')).trigger('click'); | ||
| 3636 | }); | ||
| 3637 | |||
| 3638 | this.on('show.uk.switcher change.uk.tab', function(e, tab) { | ||
| 3639 | $this.responsivetab.caption.html(tab.text()); | ||
| 3640 | }); | ||
| 3641 | |||
| 3642 | this.element.append(this.responsivetab); | ||
| 3643 | |||
| 3644 | // init UIkit components | ||
| 3645 | if (this.options.connect) { | ||
| 3646 | this.switcher = UI.switcher(this.element, { | ||
| 3647 | 'toggle' : '>li:not(.uk-tab-responsive)', | ||
| 3648 | 'connect' : this.options.connect, | ||
| 3649 | 'active' : this.options.active, | ||
| 3650 | 'animation' : this.options.animation, | ||
| 3651 | 'duration' : this.options.duration, | ||
| 3652 | 'swiping' : this.options.swiping | ||
| 3653 | }); | ||
| 3654 | } | ||
| 3655 | |||
| 3656 | UI.dropdown(this.responsivetab, {"mode": "click", "preventflip": "y"}); | ||
| 3657 | |||
| 3658 | // init | ||
| 3659 | $this.trigger("change.uk.tab", [this.element.find(this.options.target).not('.uk-tab-responsive').filter('.uk-active')]); | ||
| 3660 | |||
| 3661 | this.check(); | ||
| 3662 | |||
| 3663 | UI.$win.on('resize orientationchange', UI.Utils.debounce(function(){ | ||
| 3664 | if ($this.element.is(":visible")) $this.check(); | ||
| 3665 | }, 100)); | ||
| 3666 | |||
| 3667 | this.on('display.uk.check', function(){ | ||
| 3668 | if ($this.element.is(":visible")) $this.check(); | ||
| 3669 | }); | ||
| 3670 | }, | ||
| 3671 | |||
| 3672 | check: function() { | ||
| 3673 | |||
| 3674 | var children = this.element.children('li:not(.uk-tab-responsive)').removeClass('uk-hidden'); | ||
| 3675 | |||
| 3676 | if (!children.length) { | ||
| 3677 | this.responsivetab.addClass('uk-hidden'); | ||
| 3678 | return; | ||
| 3679 | } | ||
| 3680 | |||
| 3681 | var top = (children.eq(0).offset().top + Math.ceil(children.eq(0).height()/2)), | ||
| 3682 | doresponsive = false, | ||
| 3683 | item, link, clone; | ||
| 3684 | |||
| 3685 | this.responsivetab.lst.empty(); | ||
| 3686 | |||
| 3687 | children.each(function(){ | ||
| 3688 | |||
| 3689 | if (UI.$(this).offset().top > top) { | ||
| 3690 | doresponsive = true; | ||
| 3691 | } | ||
| 3692 | }); | ||
| 3693 | |||
| 3694 | if (doresponsive) { | ||
| 3695 | |||
| 3696 | for (var i = 0; i < children.length; i++) { | ||
| 3697 | |||
| 3698 | item = UI.$(children.eq(i)); | ||
| 3699 | link = item.find('a'); | ||
| 3700 | |||
| 3701 | if (item.css('float') != 'none' && !item.attr('uk-dropdown')) { | ||
| 3702 | |||
| 3703 | if (!item.hasClass('uk-disabled')) { | ||
| 3704 | |||
| 3705 | clone = item[0].outerHTML.replace('<a ', '<a data-index="'+i+'" '); | ||
| 3706 | |||
| 3707 | this.responsivetab.lst.append(clone); | ||
| 3708 | } | ||
| 3709 | |||
| 3710 | item.addClass('uk-hidden'); | ||
| 3711 | } | ||
| 3712 | } | ||
| 3713 | } | ||
| 3714 | |||
| 3715 | this.responsivetab[this.responsivetab.lst.children('li').length ? 'removeClass':'addClass']('uk-hidden'); | ||
| 3716 | } | ||
| 3717 | }); | ||
| 3718 | |||
| 3719 | })(UIkit); | ||
| 3720 | |||
| 3721 | (function(UI){ | ||
| 3722 | |||
| 3723 | "use strict"; | ||
| 3724 | |||
| 3725 | UI.component('cover', { | ||
| 3726 | |||
| 3727 | defaults: { | ||
| 3728 | automute : true | ||
| 3729 | }, | ||
| 3730 | |||
| 3731 | boot: function() { | ||
| 3732 | |||
| 3733 | // auto init | ||
| 3734 | UI.ready(function(context) { | ||
| 3735 | |||
| 3736 | UI.$("[data-uk-cover]", context).each(function(){ | ||
| 3737 | |||
| 3738 | var ele = UI.$(this); | ||
| 3739 | |||
| 3740 | if(!ele.data("cover")) { | ||
| 3741 | var plugin = UI.cover(ele, UI.Utils.options(ele.attr("data-uk-cover"))); | ||
| 3742 | } | ||
| 3743 | }); | ||
| 3744 | }); | ||
| 3745 | }, | ||
| 3746 | |||
| 3747 | init: function() { | ||
| 3748 | |||
| 3749 | this.parent = this.element.parent(); | ||
| 3750 | |||
| 3751 | UI.$win.on('load resize orientationchange', UI.Utils.debounce(function(){ | ||
| 3752 | this.check(); | ||
| 3753 | }.bind(this), 100)); | ||
| 3754 | |||
| 3755 | this.on("display.uk.check", function(e) { | ||
| 3756 | if(this.element.is(":visible")) this.check(); | ||
| 3757 | }.bind(this)); | ||
| 3758 | |||
| 3759 | this.check(); | ||
| 3760 | |||
| 3761 | if (this.element.is('iframe') && this.options.automute) { | ||
| 3762 | |||
| 3763 | var src = this.element.attr('src'); | ||
| 3764 | |||
| 3765 | this.element.attr('src', '').on('load', function(){ | ||
| 3766 | |||
| 3767 | this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}', '*'); | ||
| 3768 | |||
| 3769 | }).attr('src', [src, (src.indexOf('?') > -1 ? '&':'?'), 'enablejsapi=1&api=1'].join('')); | ||
| 3770 | } | ||
| 3771 | }, | ||
| 3772 | |||
| 3773 | check: function() { | ||
| 3774 | |||
| 3775 | this.element.css({ | ||
| 3776 | 'width' : '', | ||
| 3777 | 'height' : '' | ||
| 3778 | }); | ||
| 3779 | |||
| 3780 | this.dimension = {w: this.element.width(), h: this.element.height()}; | ||
| 3781 | |||
| 3782 | if (this.element.attr('width') && !isNaN(this.element.attr('width'))) { | ||
| 3783 | this.dimension.w = this.element.attr('width'); | ||
| 3784 | } | ||
| 3785 | |||
| 3786 | if (this.element.attr('height') && !isNaN(this.element.attr('height'))) { | ||
| 3787 | this.dimension.h = this.element.attr('height'); | ||
| 3788 | } | ||
| 3789 | |||
| 3790 | this.ratio = this.dimension.w / this.dimension.h; | ||
| 3791 | |||
| 3792 | var w = this.parent.width(), h = this.parent.height(), width, height; | ||
| 3793 | |||
| 3794 | // if element height < parent height (gap underneath) | ||
| 3795 | if ((w / this.ratio) < h) { | ||
| 3796 | |||
| 3797 | width = Math.ceil(h * this.ratio); | ||
| 3798 | height = h; | ||
| 3799 | |||
| 3800 | // element width < parent width (gap to right) | ||
| 3801 | } else { | ||
| 3802 | |||
| 3803 | width = w; | ||
| 3804 | height = Math.ceil(w / this.ratio); | ||
| 3805 | } | ||
| 3806 | |||
| 3807 | this.element.css({ | ||
| 3808 | 'width' : width, | ||
| 3809 | 'height' : height | ||
| 3810 | }); | ||
| 3811 | } | ||
| 3812 | }); | ||
| 3813 | |||
| 3814 | })(UIkit); | ||
| diff --git a/js/uikit.min.js b/js/uikit.min.js new file mode 100755 index 0000000..ce54d56 --- /dev/null +++ b/js/uikit.min.js | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | /*! UIkit 2.26.4 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ | ||
| 2 | !function(t){if("function"==typeof define&&define.amd&&define("uikit",function(){var i=window.UIkit||t(window,window.jQuery,window.document);return i.load=function(t,e,n,o){var s,a=t.split(","),r=[],l=(o.config&&o.config.uikit&&o.config.uikit.base?o.config.uikit.base:"").replace(/\/+$/g,"");if(!l)throw new Error("Please define base path to UIkit in the requirejs config.");for(s=0;s<a.length;s+=1){var c=a[s].replace(/\./g,"/");r.push(l+"/components/"+c)}e(r,function(){n(i)})},i}),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,i,e){"use strict";var n={},o=t.UIkit?Object.create(t.UIkit):void 0;if(n.version="2.26.4",n.noConflict=function(){return o&&(t.UIkit=o,i.UIkit=o,i.fn.uk=o.fn),n},n.prefix=function(t){return t},n.$=i,n.$doc=n.$(document),n.$win=n.$(window),n.$html=n.$("html"),n.support={},n.support.transition=function(){var t=function(){var t,i=e.body||e.documentElement,n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==i.style[t])return n[t]}();return t&&{end:t}}(),n.support.animation=function(){var t=function(){var t,i=e.body||e.documentElement,n={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(void 0!==i.style[t])return n[t]}();return t&&{end:t}}(),function(){Date.now=Date.now||function(){return(new Date).getTime()};for(var t=["webkit","moz"],i=0;i<t.length&&!window.requestAnimationFrame;++i){var e=t[i];window.requestAnimationFrame=window[e+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(t){var i=Date.now(),e=Math.max(n+16,i);return setTimeout(function(){t(n=e)},e-i)},window.cancelAnimationFrame=clearTimeout}}(),n.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,n.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,n.Utils={},n.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},n.Utils.str2json=function(t,i){try{return i?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,i){return'"'+i+'":'}).replace(/'([^']+)'/g,function(t,i){return'"'+i+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(e){return!1}},n.Utils.debounce=function(t,i,e){var n;return function(){var o=this,s=arguments,a=function(){n=null,e||t.apply(o,s)},r=e&&!n;clearTimeout(n),n=setTimeout(a,i),r&&t.apply(o,s)}},n.Utils.throttle=function(t,i){var e=!1;return function(){e||(t.call(),e=!0,setTimeout(function(){e=!1},i))}},n.Utils.removeCssRules=function(t){var i,e,n,o,s,a,r,l,c,u;t&&setTimeout(function(){try{for(u=document.styleSheets,o=0,r=u.length;r>o;o++){for(n=u[o],e=[],n.cssRules=n.cssRules,i=s=0,l=n.cssRules.length;l>s;i=++s)n.cssRules[i].type===CSSRule.STYLE_RULE&&t.test(n.cssRules[i].selectorText)&&e.unshift(i);for(a=0,c=e.length;c>a;a++)n.deleteRule(e[a])}}catch(h){}},0)},n.Utils.isInView=function(t,e){var o=i(t);if(!o.is(":visible"))return!1;var s=n.$win.scrollLeft(),a=n.$win.scrollTop(),r=o.offset(),l=r.left,c=r.top;return e=i.extend({topoffset:0,leftoffset:0},e),c+o.height()>=a&&c-e.topoffset<=a+n.$win.height()&&l+o.width()>=s&&l-e.leftoffset<=s+n.$win.width()?!0:!1},n.Utils.checkDisplay=function(t,e){var o=n.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!o.length&&(o=i(t)),o.trigger("display.uk.check"),e&&("string"!=typeof e&&(e='[class*="uk-animation-"]'),o.find(e).each(function(){var t=n.$(this),i=t.attr("class"),e=i.match(/uk-animation-(.+)/);t.removeClass(e[0]).width(),t.addClass(e[0])})),o},n.Utils.options=function(t){if("string"!=i.type(t))return t;-1!=t.indexOf(":")&&"}"!=t.trim().substr(-1)&&(t="{"+t+"}");var e=t?t.indexOf("{"):-1,o={};if(-1!=e)try{o=n.Utils.str2json(t.substr(e))}catch(s){}return o},n.Utils.animate=function(t,e){var o=i.Deferred();return t=n.$(t),t.css("display","none").addClass(e).one(n.support.animation.end,function(){t.removeClass(e),o.resolve()}),t.css("display",""),o.promise()},n.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},n.Utils.template=function(t,i){for(var e,n,o,s,a=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),r=0,l=[],c=0;r<a.length;){if(e=a[r],e.match(/\{\{\s*(.+?)\s*\}\}/))switch(r+=1,e=a[r],n=e[0],o=e.substring(e.match(/^(\^|\#|\!|\~|\:)/)?1:0),n){case"~":l.push("for(var $i=0;$i<"+o+".length;$i++) { var $item = "+o+"[$i];"),c++;break;case":":l.push("for(var $key in "+o+") { var $val = "+o+"[$key];"),c++;break;case"#":l.push("if("+o+") {"),c++;break;case"^":l.push("if(!"+o+") {"),c++;break;case"/":l.push("}"),c--;break;case"!":l.push("__ret.push("+o+");");break;default:l.push("__ret.push(escape("+o+"));")}else l.push("__ret.push('"+e.replace(/\'/g,"\\'")+"');");r+=1}return s=new Function("$data",["var __ret = [];","try {","with($data){",c?'__ret = ["Not all blocks are closed correctly."]':l.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&').replace(/\"/g, '"').replace(/</g, '<').replace(/>/g, '>');}"].join("\n")),i?s(i):s},n.Utils.events={},n.Utils.events.click=n.support.touch?"tap":"click",t.UIkit=n,n.fn=function(t,e){var o=arguments,s=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),a=s[1],r=s[2];return n[a]?this.each(function(){var t=i(this),s=t.data(a);s||t.data(a,s=n[a](this,r?void 0:e)),r&&s[r].apply(s,Array.prototype.slice.call(o,1))}):(i.error("UIkit component ["+a+"] does not exist."),this)},i.UIkit=n,i.fn.uk=n.fn,n.langdirection="rtl"==n.$html.attr("dir")?"right":"left",n.components={},n.component=function(t,e){var o=function(e,s){var a=this;return this.UIkit=n,this.element=e?n.$(e):null,this.options=i.extend(!0,{},this.defaults,s),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(o.plugins)).forEach(function(t){o.plugins[t].init&&(o.plugins[t].init(a),a.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return o.plugins={},i.extend(!0,o.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,i,e){return n.$(this.element||this).on(t,i,e)},one:function(t,i,e){return n.$(this.element||this).one(t,i,e)},off:function(t){return n.$(this.element||this).off(t)},trigger:function(t,i){return n.$(this.element||this).trigger(t,i)},find:function(t){return n.$(this.element?this.element:[]).find(t)},proxy:function(t,i){var e=this;i.split(" ").forEach(function(i){e[i]||(e[i]=function(){return t[i].apply(t,arguments)})})},mixin:function(t,i){var e=this;i.split(" ").forEach(function(i){e[i]||(e[i]=t[i].bind(e))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:(2==arguments.length&&(this.options[arguments[0]]=arguments[1]),void 0)}},e),this.components[t]=o,this[t]=function(){var e,o;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?e=i(arguments[0]):o=arguments[0];break;case 2:e=i(arguments[0]),o=arguments[1]}return e&&e.data(t)?e.data(t):new n.components[t](e,o)},n.domready&&n.component.boot(t),o},n.plugin=function(t,i,e){this.components[t].plugins[i]=e},n.component.boot=function(t){n.components[t].prototype&&n.components[t].prototype.boot&&!n.components[t].booted&&(n.components[t].prototype.boot.apply(n,[]),n.components[t].booted=!0)},n.component.bootComponents=function(){for(var t in n.components)n.component.boot(t)},n.domObservers=[],n.domready=!1,n.ready=function(t){n.domObservers.push(t),n.domready&&t(document)},n.on=function(t,i,e){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready&&i.apply(n.$doc),n.$doc.on(t,i,e)},n.one=function(t,i,e){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready?(i.apply(n.$doc),n.$doc):n.$doc.one(t,i,e)},n.trigger=function(t,i){return n.$doc.trigger(t,i)},n.domObserve=function(t,i){n.support.mutationobserver&&(i=i||function(){},n.$(t).each(function(){var t=this,e=n.$(t);if(!e.data("observer"))try{var o=new n.support.mutationobserver(n.Utils.debounce(function(){i.apply(t,[]),e.trigger("changed.uk.dom")},50),{childList:!0,subtree:!0});o.observe(t,{childList:!0,subtree:!0}),e.data("observer",o)}catch(s){}}))},n.init=function(t){t=t||document,n.domObservers.forEach(function(i){i(t)})},n.on("domready.uk.dom",function(){n.init(),n.domready&&n.Utils.checkDisplay()}),document.addEventListener("DOMContentLoaded",function(){var t=function(){n.$body=n.$("body"),n.trigger("beforeready.uk.dom"),n.component.bootComponents();var t=requestAnimationFrame(function(){var i={dir:{x:0,y:0},x:window.pageXOffset,y:window.pageYOffset},e=function(){var o=window.pageXOffset,s=window.pageYOffset;(i.x!=o||i.y!=s)&&(i.dir.x=o!=i.x?o>i.x?1:-1:0,i.dir.y=s!=i.y?s>i.y?1:-1:0,i.x=o,i.y=s,n.$doc.trigger("scrolling.uk.document",[{dir:{x:i.dir.x,y:i.dir.y},x:o,y:s}])),cancelAnimationFrame(t),t=requestAnimationFrame(e)};return n.support.touch&&n.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",e),(i.x||i.y)&&e(),e}());if(n.trigger("domready.uk.dom"),n.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&n.$win.on("load orientationchange resize",n.Utils.debounce(function(){var t=function(){return i(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),n.trigger("afterready.uk.dom"),n.domready=!0,n.support.mutationobserver){var e=n.Utils.debounce(function(){requestAnimationFrame(function(){n.init(document.body)})},10);new n.support.mutationobserver(function(t){var i=!1;t.every(function(t){if("childList"!=t.type)return!0;for(var e,n=0;n<t.addedNodes.length;++n)if(e=t.addedNodes[n],e.outerHTML&&-1!==e.outerHTML.indexOf("data-uk-"))return(i=!0)&&!1;return!0}),i&&e()}).observe(document.body,{childList:!0,subtree:!0})}};return("complete"==document.readyState||"interactive"==document.readyState)&&setTimeout(t),t}()),n.$html.addClass(n.support.touch?"uk-touch":"uk-notouch"),n.support.touch){var s,a=!1,r="uk-hover",l=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";n.$html.on("mouseenter touchstart MSPointerDown pointerdown",l,function(){a&&i("."+r).removeClass(r),a=i(this).addClass(r)}).on("mouseleave touchend MSPointerUp pointerup",function(t){s=i(t.target).parents(l),a&&a.not(s).removeClass(r)})}return n}),function(t){function i(t,i,e,n){return Math.abs(t-i)>=Math.abs(e-n)?t-i>0?"Left":"Right":e-n>0?"Up":"Down"}function e(){c=null,h.last&&(void 0!==h.el&&h.el.trigger("longTap"),h={})}function n(){c&&clearTimeout(c),c=null}function o(){a&&clearTimeout(a),r&&clearTimeout(r),l&&clearTimeout(l),c&&clearTimeout(c),a=r=l=c=null,h={}}function s(t){return t.pointerType==t.MSPOINTER_TYPE_TOUCH&&t.isPrimary}if(!t.fn.swipeLeft){var a,r,l,c,u,h={},d=750;t(function(){var p,f,m,g=0,v=0;"MSGesture"in window&&(u=new MSGesture,u.target=document.body),t(document).on("MSGestureEnd gestureend",function(t){var i=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;i&&void 0!==h.el&&(h.el.trigger("swipe"),h.el.trigger("swipe"+i))}).on("touchstart MSPointerDown pointerdown",function(i){("MSPointerDown"!=i.type||s(i.originalEvent))&&(m="MSPointerDown"==i.type||"pointerdown"==i.type?i:i.originalEvent.touches[0],p=Date.now(),f=p-(h.last||p),h.el=t("tagName"in m.target?m.target:m.target.parentNode),a&&clearTimeout(a),h.x1=m.pageX,h.y1=m.pageY,f>0&&250>=f&&(h.isDoubleTap=!0),h.last=p,c=setTimeout(e,d),!u||"MSPointerDown"!=i.type&&"pointerdown"!=i.type&&"touchstart"!=i.type||u.addPointer(i.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(t){("MSPointerMove"!=t.type||s(t.originalEvent))&&(m="MSPointerMove"==t.type||"pointermove"==t.type?t:t.originalEvent.touches[0],n(),h.x2=m.pageX,h.y2=m.pageY,g+=Math.abs(h.x1-h.x2),v+=Math.abs(h.y1-h.y2))}).on("touchend MSPointerUp pointerup",function(e){("MSPointerUp"!=e.type||s(e.originalEvent))&&(n(),h.x2&&Math.abs(h.x1-h.x2)>30||h.y2&&Math.abs(h.y1-h.y2)>30?l=setTimeout(function(){void 0!==h.el&&(h.el.trigger("swipe"),h.el.trigger("swipe"+i(h.x1,h.x2,h.y1,h.y2))),h={}},0):"last"in h&&(isNaN(g)||30>g&&30>v?r=setTimeout(function(){var i=t.Event("tap");i.cancelTouch=o,void 0!==h.el&&h.el.trigger(i),h.isDoubleTap?(void 0!==h.el&&h.el.trigger("doubleTap"),h={}):a=setTimeout(function(){a=null,void 0!==h.el&&h.el.trigger("singleTap"),h={}},250)},0):h={},g=v=0))}).on("touchcancel MSPointerCancel",o),t(window).on("scroll",o)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(i){t.fn[i]=function(e){return t(this).on(i,e)}})}}(jQuery),function(t){"use strict";var i=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top",rowfirst:!1,observe:!1},boot:function(){t.ready(function(i){t.$("[data-uk-margin]",i).each(function(){var i=t.$(this);i.data("stackMargin")||t.stackMargin(i,t.Utils.options(i.attr("data-uk-margin")))})})},init:function(){var e=this;t.$win.on("resize orientationchange",function(){var i=function(){e.process()};return t.$(function(){i(),t.$win.on("load",i)}),t.Utils.debounce(i,20)}()),this.on("display.uk.check",function(){this.element.is(":visible")&&this.process()}.bind(this)),this.options.observe&&t.domObserve(this.element,function(){e.element.is(":visible")&&e.process()}),i.push(this)},process:function(){var i=this.element.children();if(t.Utils.stackMargin(i,this.options),!this.options.rowfirst||!i.length)return this;var e={},n=!1;return i.removeClass(this.options.rowfirst).each(function(i,o){o=t.$(this),"none"!=this.style.display&&(i=o.offset().left,((e[i]=e[i]||[])&&e[i]).push(this),n=n===!1?i:Math.min(n,i))}),t.$(e[n]).addClass(this.options.rowfirst),this}}),function(){var i=[],e=function(t){if(t.is(":visible")){var i=t.parent().width(),e=t.data("width"),n=i/e,o=Math.floor(n*t.data("height"));t.css({height:e>i?o:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(i){t.$("iframe.uk-responsive-width, [data-uk-responsive]",i).each(function(){var i,e=t.$(this);e.data("responsiveElement")||(i=t.responsiveElement(e,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){e(t)}),e(t),i.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){i.forEach(function(t){e(t)})},15))}(),t.Utils.stackMargin=function(i,e){e=t.$.extend({cls:"uk-margin-small-top"},e),i=t.$(i).removeClass(e.cls);var n=!1;i.each(function(i,e,o,s){s=t.$(this),"none"!=s.css("display")&&(i=s.offset(),e=s.outerHeight(),o=i.top+e,s.data({ukMarginPos:o,ukMarginTop:i.top}),(n===!1||i.top<n.top)&&(n={top:i.top,left:i.left,pos:o}))}).each(function(i){i=t.$(this),"none"!=i.css("display")&&i.data("ukMarginTop")>n.top&&i.data("ukMarginPos")>n.pos&&i.addClass(e.cls)})},t.Utils.matchHeights=function(i,e){i=t.$(i).css("min-height",""),e=t.$.extend({row:!0},e);var n=function(i){if(!(i.length<2)){var e=0;i.each(function(){e=Math.max(e,t.$(this).outerHeight())}).each(function(){var i=t.$(this),n=e-("border-box"==i.css("box-sizing")?0:i.outerHeight()-i.height());i.css("min-height",n+"px")})}};e.row?(i.first().width(),setTimeout(function(){var e=!1,o=[];i.each(function(){var i=t.$(this),s=i.offset().top;s!=e&&o.length&&(n(t.$(o)),o=[],s=i.offset().top),o.push(i),e=s}),o.length&&n(t.$(o))},0)):n(i)},function(i){t.Utils.inlineSvg=function(e,n){t.$(e||'img[src$=".svg"]',n||document).each(function(){var e=t.$(this),n=e.attr("src");if(!i[n]){var o=t.$.Deferred();t.$.get(n,{nc:Math.random()},function(i){o.resolve(t.$(i).find("svg"))}),i[n]=o.promise()}i[n].then(function(i){var n=t.$(i).clone();e.attr("id")&&n.attr("id",e.attr("id")),e.attr("class")&&n.attr("class",e.attr("class")),e.attr("style")&&n.attr("style",e.attr("style")),e.attr("width")&&(n.attr("width",e.attr("width")),e.attr("height")||n.removeAttr("height")),e.attr("height")&&(n.attr("height",e.attr("height")),e.attr("width")||n.removeAttr("width")),e.replaceWith(n)})})},t.ready(function(i){t.Utils.inlineSvg("[data-uk-svg]",i)})}({})}(UIkit),function(t){"use strict";function i(i,e){e=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},e);var n=i.offset().top-e.offset,o=t.$doc.height(),s=window.innerHeight;n+s>o&&(n=o-s),t.$("html,body").stop().animate({scrollTop:n},e.duration,e.transition).promise().done(e.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(){var i=t.$(this);if(!i.data("smoothScroll")){{t.smoothScroll(i,t.Utils.options(i.attr("data-uk-smooth-scroll")))}i.trigger("click")}return!1})},init:function(){var e=this;this.on("click",function(n){n.preventDefault(),i(t.$(this.hash).length?t.$(this.hash):t.$("body"),e.options)})}}),t.Utils.scrollToElement=i,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,i,e,n,o){return i==o?e+n:n*(-Math.pow(2,-10*i/o)+1)+e})}(UIkit),function(t){"use strict";var i=t.$win,e=t.$doc,n=[],o=function(){for(var t=0;t<n.length;t++)window.requestAnimationFrame.apply(window,[n[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){e.on("scrolling.uk.document",o),i.on("load resize orientationchange",t.Utils.debounce(o,50)),t.ready(function(i){t.$("[data-uk-scrollspy]",i).each(function(){var i=t.$(this);if(!i.data("scrollspy")){t.scrollspy(i,t.Utils.options(i.attr("data-uk-scrollspy")))}})})},init:function(){var i,e=this,o=this.options.cls.split(/,/),s=function(){var n=e.options.target?e.element.find(e.options.target):e.element,s=1===n.length?1:0,a=0;n.each(function(){var n=t.$(this),r=n.data("inviewstate"),l=t.Utils.isInView(n,e.options),c=n.data("ukScrollspyCls")||o[a].trim();!l||r||n.data("scrollspy-idle")||(i||(n.addClass(e.options.initcls),e.offset=n.offset(),i=!0,n.trigger("init.uk.scrollspy")),n.data("scrollspy-idle",setTimeout(function(){n.addClass("uk-scrollspy-inview").toggleClass(c).width(),n.trigger("inview.uk.scrollspy"),n.data("scrollspy-idle",!1),n.data("inviewstate",!0)},e.options.delay*s)),s++),!l&&r&&e.options.repeat&&(n.data("scrollspy-idle")&&(clearTimeout(n.data("scrollspy-idle")),n.data("scrollspy-idle",!1)),n.removeClass("uk-scrollspy-inview").toggleClass(c),n.data("inviewstate",!1),n.trigger("outview.uk.scrollspy")),a=o[a+1]?a+1:0})};s(),this.check=s,n.push(this)}});var s=[],a=function(){for(var t=0;t<s.length;t++)window.requestAnimationFrame.apply(window,[s[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){e.on("scrolling.uk.document",a),i.on("resize orientationchange",t.Utils.debounce(a,50)),t.ready(function(i){t.$("[data-uk-scrollspy-nav]",i).each(function(){var i=t.$(this);if(!i.data("scrollspynav")){t.scrollspynav(i,t.Utils.options(i.attr("data-uk-scrollspy-nav")))}})})},init:function(){var e,n=[],o=this.find("a[href^='#']").each(function(){"#"!==this.getAttribute("href").trim()&&n.push(this.getAttribute("href"))}),a=t.$(n.join(",")),r=this.options.cls,l=this.options.closest||this.options.closest,c=this,u=function(){e=[];for(var n=0;n<a.length;n++)t.Utils.isInView(a.eq(n),c.options)&&e.push(a.eq(n));if(e.length){var s,u=i.scrollTop(),h=function(){for(var t=0;t<e.length;t++)if(e[t].offset().top-c.options.topoffset>=u)return e[t]}();if(!h)return;c.options.closest?(o.blur().closest(l).removeClass(r),s=o.filter("a[href='#"+h.attr("id")+"']").closest(l).addClass(r)):s=o.removeClass(r).filter("a[href='#"+h.attr("id")+"']").addClass(r),c.element.trigger("inview.uk.scrollspynav",[h,s])}};this.options.smoothscroll&&t.smoothScroll&&o.each(function(){t.smoothScroll(this,c.options.smoothscroll)}),u(),this.element.data("scrollspynav",this),this.check=u,s.push(this)}})}(UIkit),function(t){"use strict";var i=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(e){t.$("[data-uk-toggle]",e).each(function(){var i=t.$(this);if(!i.data("toggle")){t.toggle(i,t.Utils.options(i.attr("data-uk-toggle")))}}),setTimeout(function(){i.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=-1!==this.options.cls.indexOf("uk-hidden"),this.getToggles(),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle()}),i.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var i=this,e=this.options.animation.split(",");1==e.length&&(e[1]=e[0]),e[0]=e[0].trim(),e[1]=e[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.each(function(){var n=t.$(this);n.hasClass(i.options.cls)?(n.toggleClass(i.options.cls),t.Utils.animate(n,e[0]).then(function(){n.css("animation-duration",""),t.Utils.checkDisplay(n)})):t.Utils.animate(this,e[1]+" uk-animation-reverse").then(function(){n.toggleClass(i.options.cls).css("animation-duration",""),t.Utils.checkDisplay(n)})})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit),function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(i){var e=t.$(this);if(!e.data("alert")){var n=t.alert(e,t.Utils.options(e.attr("data-uk-alert")));t.$(i.target).is(n.options.trigger)&&(i.preventDefault(),n.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(i){i.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),i=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,i):i()}})}(UIkit),function(t){"use strict";t.component("buttonRadio",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(i){var e=t.$(this);if(!e.data("buttonRadio")){var n=t.buttonRadio(e,t.Utils.options(e.attr("data-uk-button-radio"))),o=t.$(i.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter("."+i.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(e){var n=t.$(this);n.is('a[href="#"]')&&e.preventDefault(),i.find(i.options.target).not(n).removeClass(i.options.activeClass).blur(),n.addClass(i.options.activeClass),i.find(i.options.target).not(n).attr("aria-checked","false"),n.attr("aria-checked","true"),i.trigger("change.uk.button",[n])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("buttonCheckbox",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(i){var e=t.$(this);if(!e.data("buttonCheckbox")){var n=t.buttonCheckbox(e,t.Utils.options(e.attr("data-uk-button-checkbox"))),o=t.$(i.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var i=this;this.find(i.options.target).attr("aria-checked","false").filter("."+i.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(e){var n=t.$(this);n.is('a[href="#"]')&&e.preventDefault(),n.toggleClass(i.options.activeClass).blur(),n.attr("aria-checked",n.hasClass(i.options.activeClass)),i.trigger("change.uk.button",[n])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(){var i=t.$(this);if(!i.data("button")){{t.button(i,t.Utils.options(i.attr("data-uk-button")))}i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(i){t.element.is('a[href="#"]')&&i.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit),function(t){"use strict";function i(i,e,n,o){if(i=t.$(i),e=t.$(e),n=n||window.innerWidth,o=o||i.offset(),e.length){var s=e.outerWidth();if(i.css("min-width",s),"right"==t.langdirection){var a=n-(e.offset().left+s),r=n-(i.offset().left+i.outerWidth());i.css("margin-right",a-r)}else i.css("margin-left",e.offset().left-o.left)}}var e,n=!1,o={x:{"bottom-left":"bottom-right","bottom-right":"bottom-left","bottom-center":"bottom-center","top-left":"top-right","top-right":"top-left","top-center":"top-center","left-top":"right-top","left-bottom":"right-bottom","left-center":"right-center","right-top":"left-top","right-bottom":"left-bottom","right-center":"left-center"},y:{"bottom-left":"top-left","bottom-right":"top-right","bottom-center":"top-center","top-left":"bottom-left","top-right":"bottom-right","top-center":"bottom-center","left-top":"left-bottom","left-bottom":"left-top","left-center":"left-center","right-top":"right-bottom","right-bottom":"right-top","right-center":"right-center"},xy:{"bottom-left":"top-right","bottom-right":"top-left","bottom-center":"top-center","top-left":"bottom-right","top-right":"bottom-left","top-center":"bottom-center","left-top":"right-bottom","left-bottom":"right-top","left-center":"right-center","right-top":"left-bottom","right-bottom":"left-top","right-center":"left-center"}};t.component("dropdown",{defaults:{mode:"hover",pos:"bottom-left",offset:0,remaintime:800,justify:!1,boundary:t.$win,delay:0,dropdownSelector:".uk-dropdown,.uk-dropdown-blank",hoverDelayIdle:250,preventflip:!1},remainIdle:!1,boot:function(){var i=t.support.touch?"click":"mouseenter";t.$html.on(i+".dropdown.uikit","[data-uk-dropdown]",function(e){var n=t.$(this);if(!n.data("dropdown")){var o=t.dropdown(n,t.Utils.options(n.attr("data-uk-dropdown")));("click"==i||"mouseenter"==i&&"hover"==o.options.mode)&&o.element.trigger(i),o.element.find(o.options.dropdownSelector).length&&e.preventDefault()}})},init:function(){var i=this;this.dropdown=this.find(this.options.dropdownSelector),this.offsetParent=this.dropdown.parents().filter(function(){return-1!==t.$.inArray(t.$(this).css("position"),["relative","fixed","absolute"])}).slice(0,1),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=this.options.justify?t.$(this.options.justify):!1,this.boundary=t.$(this.options.boundary),this.boundary.length||(this.boundary=t.$win),this.dropdown.hasClass("uk-dropdown-up")&&(this.options.pos="top-left"),this.dropdown.hasClass("uk-dropdown-flip")&&(this.options.pos=this.options.pos.replace("left","right")),this.dropdown.hasClass("uk-dropdown-center")&&(this.options.pos=this.options.pos.replace(/(left|right)/,"center")),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uk.dropdown",function(e){var n=t.$(e.target);n.parents(i.options.dropdownSelector).length||((n.is("a[href='#']")||n.parent().is("a[href='#']")||i.dropdown.length&&!i.dropdown.is(":visible"))&&e.preventDefault(),n.blur()),i.element.hasClass("uk-open")?(!i.dropdown.find(e.target).length||n.is(".uk-dropdown-close")||n.parents(".uk-dropdown-close").length)&&i.hide():i.show()}):this.on("mouseenter",function(){i.trigger("pointerenter.uk.dropdown",[i]),i.remainIdle&&clearTimeout(i.remainIdle),e&&clearTimeout(e),n&&n==i||(e=n&&n!=i?setTimeout(function(){e=setTimeout(i.show.bind(i),i.options.delay)},i.options.hoverDelayIdle):setTimeout(i.show.bind(i),i.options.delay))}).on("mouseleave",function(){e&&clearTimeout(e),i.remainIdle=setTimeout(function(){n&&n==i&&i.hide()},i.options.remaintime),i.trigger("pointerleave.uk.dropdown",[i])}).on("click",function(e){var o=t.$(e.target);return i.remainIdle&&clearTimeout(i.remainIdle),n&&n==i?((!i.dropdown.find(e.target).length||o.is(".uk-dropdown-close")||o.parents(".uk-dropdown-close").length)&&i.hide(),void 0):((o.is("a[href='#']")||o.parent().is("a[href='#']"))&&e.preventDefault(),i.show(),void 0)})},show:function(){t.$html.off("click.outer.dropdown"),n&&n!=this&&n.hide(!0),e&&clearTimeout(e),this.trigger("beforeshow.uk.dropdown",[this]),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),n=this,this.registerOuterClick()},hide:function(t){this.trigger("beforehide.uk.dropdown",[this,t]),this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this,t]),n==this&&(n=!1)},registerOuterClick:function(){var i=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(o){e&&clearTimeout(e);t.$(o.target);n!=i||i.element.find(o.target).length||(i.hide(!0),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.dropdown.removeClass("uk-dropdown-top uk-dropdown-bottom uk-dropdown-left uk-dropdown-right uk-dropdown-stack").css({"top-left":"",left:"","margin-left":"","margin-right":""}),this.justified&&this.justified.length&&this.dropdown.css("min-width","");var e,n=t.$.extend({},this.offsetParent.offset(),{width:this.offsetParent[0].offsetWidth,height:this.offsetParent[0].offsetHeight}),s=this.options.offset,a=this.dropdown,r=(a.show().offset()||{left:0,top:0},a.outerWidth()),l=a.outerHeight(),c=this.boundary.width(),u=(this.boundary[0]!==window&&this.boundary.offset()?this.boundary.offset():{top:0,left:0},this.options.pos),h={"bottom-left":{top:0+n.height+s,left:0},"bottom-right":{top:0+n.height+s,left:0+n.width-r},"bottom-center":{top:0+n.height+s,left:0+n.width/2-r/2},"top-left":{top:0-l-s,left:0},"top-right":{top:0-l-s,left:0+n.width-r},"top-center":{top:0-l-s,left:0+n.width/2-r/2},"left-top":{top:0,left:0-r-s},"left-bottom":{top:0+n.height-l,left:0-r-s},"left-center":{top:0+n.height/2-l/2,left:0-r-s},"right-top":{top:0,left:0+n.width+s},"right-bottom":{top:0+n.height-l,left:0+n.width+s},"right-center":{top:0+n.height/2-l/2,left:0+n.width+s}},d={};if(e=u.split("-"),d=h[u]?h[u]:h["bottom-left"],this.justified&&this.justified.length)i(a.css({left:0}),this.justified,c);else if(this.options.preventflip!==!0){var p;switch(this.checkBoundary(n.left+d.left,n.top+d.top,r,l,c)){case"x":"x"!==this.options.preventflip&&(p=o.x[u]||"right-top");break;case"y":"y"!==this.options.preventflip&&(p=o.y[u]||"top-left");break;case"xy":this.options.preventflip||(p=o.xy[u]||"right-bottom")}p&&(e=p.split("-"),d=h[p]?h[p]:h["bottom-left"],this.checkBoundary(n.left+d.left,n.top+d.top,r,l,c)&&(e=u.split("-"),d=h[u]?h[u]:h["bottom-left"]))}r>c&&(a.addClass("uk-dropdown-stack"),this.trigger("stack.uk.dropdown",[this])),a.css(d).css("display","").addClass("uk-dropdown-"+e[0]) | ||
| 3 | }},checkBoundary:function(i,e,n,o,s){var a="";return(0>i||i-t.$win.scrollLeft()+n>s)&&(a+="x"),(e-t.$win.scrollTop()<0||e-t.$win.scrollTop()+o>window.innerHeight)&&(a+="y"),a}}),t.component("dropdownOverlay",{defaults:{justify:!1,cls:"",duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-dropdown-overlay]",i).each(function(){var i=t.$(this);i.data("dropdownOverlay")||t.dropdownOverlay(i,t.Utils.options(i.attr("data-uk-dropdown-overlay")))})})},init:function(){var e=this;this.justified=this.options.justify?t.$(this.options.justify):!1,this.overlay=this.element.find("uk-dropdown-overlay"),this.overlay.length||(this.overlay=t.$('<div class="uk-dropdown-overlay"></div>').appendTo(this.element)),this.overlay.addClass(this.options.cls),this.on({"beforeshow.uk.dropdown":function(t,n){e.dropdown=n,e.justified&&e.justified.length&&i(e.overlay.css({display:"block","margin-left":"","margin-right":""}),e.justified,e.justified.outerWidth())},"show.uk.dropdown":function(){var i=e.dropdown.dropdown.outerHeight(!0);e.dropdown.element.removeClass("uk-open"),e.overlay.stop().css("display","block").animate({height:i},e.options.duration,function(){e.dropdown.dropdown.css("visibility",""),e.dropdown.element.addClass("uk-open"),t.Utils.checkDisplay(e.dropdown.dropdown,!0)}),e.pointerleave=!1},"hide.uk.dropdown":function(){e.overlay.stop().animate({height:0},e.options.duration)},"pointerenter.uk.dropdown":function(){clearTimeout(e.remainIdle)},"pointerleave.uk.dropdown":function(){e.pointerleave=!0}}),this.overlay.on({mouseenter:function(){e.remainIdle&&(clearTimeout(e.dropdown.remainIdle),clearTimeout(e.remainIdle))},mouseleave:function(){e.pointerleave&&n&&(e.remainIdle=setTimeout(function(){n&&n.hide()},n.options.remaintime))}})}})}(UIkit),function(t){"use strict";var i=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1,observe:!1},boot:function(){t.ready(function(i){t.$("[data-uk-grid-match]",i).each(function(){var i,e=t.$(this);e.data("gridMatchHeight")||(i=t.gridMatchHeight(e,t.Utils.options(e.attr("data-uk-grid-match"))))})})},init:function(){var e=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var i=function(){e.element.is(":visible")&&e.match()};return t.$(function(){i()}),t.Utils.debounce(i,50)}()),this.options.observe&&t.domObserve(this.element,function(){e.element.is(":visible")&&e.match()}),this.on("display.uk.check",function(){this.element.is(":visible")&&this.match()}.bind(this)),i.push(this))},match:function(){var i=this.columns.filter(":visible:first");if(i.length){var e=Math.ceil(100*parseFloat(i.css("width"))/parseFloat(i.parent().css("width")))>=100;return e&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin",rowfirst:"uk-row-first"},boot:function(){t.ready(function(i){t.$("[data-uk-grid-margin]",i).each(function(){var i,e=t.$(this);e.data("gridMargin")||(i=t.gridMargin(e,t.Utils.options(e.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit),function(t){"use strict";function i(i,e){return e?("object"==typeof i?(i=i instanceof jQuery?i:t.$(i),i.parent().length&&(e.persist=i,e.persist.data("modalPersistParent",i.parent()))):i="string"==typeof i||"number"==typeof i?t.$("<div></div>").html(i):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof i),i.appendTo(e.element.find(".uk-modal-dialog")),e):void 0}var e,n=!1,o=0,s=t.$html;t.$win.on("resize orientationchange",t.Utils.debounce(function(){t.$(".uk-modal.uk-open").each(function(){t.$(this).data("modal").resize()})},150)),t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,hasTransitioned:!0,init:function(){if(e||(e=t.$("body")),this.element.length){var i=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),i.hide()}).on("click",function(e){var n=t.$(e.target);n[0]==i.element[0]&&i.options.bgclose&&i.hide()}),t.domObserve(this.element,function(){i.resize()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){var i=this;if(!this.isActive())return this.options.modal&&n&&n.hide(!0),this.element.removeClass("uk-open").show(),this.resize(!0),this.options.modal&&(n=this),this.active=!0,o++,t.support.transition?(this.hasTransitioned=!1,this.element.one(t.support.transition.end,function(){i.hasTransitioned=!0}).addClass("uk-open")):this.element.addClass("uk-open"),s.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(i){if(!i&&t.support.transition&&this.hasTransitioned){var e=this;this.one(t.support.transition.end,function(){e._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(t){if(this.isActive()||t){var i=e.width();if(this.scrollbarwidth=window.innerWidth-i,e.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var n=this.dialog.outerHeight(),o=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);n+o<window.innerHeight?this.dialog.css({top:window.innerHeight/2-n/2-o}):this.dialog.css({top:""})}}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var i=Math.abs(parseInt(this.dialog.css("margin-top"),10)),e=this.dialog.outerHeight(),n=window.innerHeight,o=n-2*(20>i?20:i)-e;return t.css({"max-height":o<this.options.minScrollHeight?"":o,height:""}),!0}return!1},_hide:function(){this.active=!1,o>0?o--:o=0,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),o||(s.removeClass("uk-modal-page"),e.css(this.paddingdir,"")),n===this&&(n=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.element.hasClass("uk-open")}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(i){var e=t.$(this);if(e.is("a")&&i.preventDefault(),!e.data("modalTrigger")){var n=t.modalTrigger(e,t.Utils.options(e.attr("data-uk-modal")));n.show()}}),t.$html.on("keydown.modal.uikit",function(t){n&&27===t.keyCode&&n.options.keyboard&&(t.preventDefault(),n.hide())})},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),i.show()}),this.proxy(this.modal,"show hide isActive")}}),t.modal.dialog=function(e,n){var o=t.modal(t.$(t.modal.dialog.template).appendTo("body"),n);return o.on("hide.uk.modal",function(){o.persist&&(o.persist.appendTo(o.persist.data("modalPersistParent")),o.persist=!1),o.element.remove()}),i(e,o),o},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(i,e){e=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},e);var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+e.labels.Ok+"</button></div>"].join(""),e);return n.on("show.uk.modal",function(){setTimeout(function(){n.element.find("button:first").focus()},50)}),n.show()},t.modal.confirm=function(i,e,n){var o=arguments.length>1&&arguments[arguments.length-1]?arguments[arguments.length-1]:{};e=t.$.isFunction(e)?e:function(){},n=t.$.isFunction(n)?n:function(){},o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},t.$.isFunction(o)?{}:o);var s=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button js-modal-confirm-cancel">'+o.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-confirm">'+o.labels.Ok+"</button></div>"].join(""),o);return s.element.find(".js-modal-confirm, .js-modal-confirm-cancel").on("click",function(){t.$(this).is(".js-modal-confirm")?e():n(),s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){s.element.find(".js-modal-confirm").focus()},50)}),s.show()},t.modal.prompt=function(i,e,n,o){n=t.$.isFunction(n)?n:function(){},o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},o);var s=t.modal.dialog([i?'<div class="uk-modal-content uk-form">'+String(i)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-modal-close">'+o.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-ok">'+o.labels.Ok+"</button></div>"].join(""),o),a=s.element.find("input[type='text']").val(e||"").on("keyup",function(t){13==t.keyCode&&s.element.find(".js-modal-ok").trigger("click")});return s.element.find(".js-modal-ok").on("click",function(){n(a.val())!==!1&&s.hide()}),s.on("show.uk.modal",function(){setTimeout(function(){a.focus()},50)}),s.show()},t.modal.blockUI=function(i,e){var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(i||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},e));return n.content=n.element.find(".uk-modal-content:first"),n.show()},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit),function(t){"use strict";function i(i){var e=t.$(i),n="auto";if(e.is(":visible"))n=e.outerHeight();else{var o={position:e.css("position"),visibility:e.css("visibility"),display:e.css("display")};n=e.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),e.css(o)}return n}t.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){t.ready(function(i){t.$("[data-uk-nav]",i).each(function(){var i=t.$(this);if(!i.data("nav")){t.nav(i,t.Utils.options(i.attr("data-uk-nav")))}})})},init:function(){var i=this;this.on("click.uk.nav",this.options.toggle,function(e){e.preventDefault();var n=t.$(this);i.open(n.parent()[0]==i.element[0]?n:n.parent("li"))}),this.find(this.options.lists).each(function(){var e=t.$(this),n=e.parent(),o=n.hasClass("uk-active");e.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),n.data("list-container",e.parent()[o?"removeClass":"addClass"]("uk-hidden")),n.attr("aria-expanded",n.hasClass("uk-open")),o&&i.open(n,!0)})},open:function(e,n){var o=this,s=this.element,a=t.$(e),r=a.data("list-container");this.options.multiple||s.children(".uk-open").not(e).each(function(){var i=t.$(this);i.data("list-container")&&i.data("list-container").stop().animate({height:0},function(){t.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),a.toggleClass("uk-open"),a.attr("aria-expanded",a.hasClass("uk-open")),r&&(a.hasClass("uk-open")&&r.removeClass("uk-hidden"),n?(r.stop().height(a.hasClass("uk-open")?"auto":0),a.hasClass("uk-open")||r.addClass("uk-hidden"),this.trigger("display.uk.check")):r.stop().animate({height:a.hasClass("uk-open")?i(r.find("ul:first")):0},function(){a.hasClass("uk-open")?r.css("height",""):r.addClass("uk-hidden"),o.trigger("display.uk.check")}))}})}(UIkit),function(t){"use strict";var i={x:window.scrollX,y:window.scrollY},e=(t.$win,t.$doc,t.$html),n={show:function(n){if(n=t.$(n),n.length){var o=t.$("body"),s=n.find(".uk-offcanvas-bar:first"),a="right"==t.langdirection,r=s.hasClass("uk-offcanvas-bar-flip")?-1:1,l=r*(a?-1:1),c=window.innerWidth-o.width();i={x:window.pageXOffset,y:window.pageYOffset},n.addClass("uk-active"),o.css({width:window.innerWidth-c,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(a?"margin-right":"margin-left",(a?-1:1)*s.outerWidth()*l).width(),e.css("margin-top",-1*i.y),s.addClass("uk-offcanvas-bar-show"),this._initElement(n),s.trigger("show.uk.offcanvas",[n,s]),n.attr("aria-hidden","false")}},hide:function(n){var o=t.$("body"),s=t.$(".uk-offcanvas.uk-active"),a="right"==t.langdirection,r=s.find(".uk-offcanvas-bar:first"),l=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),s.removeClass("uk-active"),r.removeClass("uk-offcanvas-bar-show"),e.css("margin-top",""),window.scrollTo(i.x,i.y),r.trigger("hide.uk.offcanvas",[s,r]),s.attr("aria-hidden","true")};s.length&&(t.support.transition&&!n?(o.one(t.support.transition.end,function(){l()}).css(a?"margin-right":"margin-left",""),setTimeout(function(){r.removeClass("uk-offcanvas-bar-show")},0)):l())},_initElement:function(i){i.data("OffcanvasInit")||(i.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(i){var e=t.$(i.target);if(!i.type.match(/swipe/)&&!e.hasClass("uk-offcanvas-close")){if(e.hasClass("uk-offcanvas-bar"))return;if(e.parents(".uk-offcanvas-bar:first").length)return}i.stopImmediatePropagation(),n.hide()}),i.on("click","a[href*='#']",function(){var i=t.$(this),e=i.attr("href");"#"!=e&&(t.$doc.one("hide.uk.offcanvas",function(){var n;try{n=t.$(i[0].hash)}catch(o){n=""}n.length||(n=t.$('[name="'+i[0].hash.replace("#","")+'"]')),n.length&&t.Utils.scrollToElement?t.Utils.scrollToElement(n,t.Utils.options(i.attr("data-uk-smooth-scroll")||"{}")):window.location.href=e}),n.hide())}),i.data("OffcanvasInit",!0))}};t.component("offcanvasTrigger",{boot:function(){e.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(i){i.preventDefault();var e=t.$(this);if(!e.data("offcanvasTrigger")){{t.offcanvasTrigger(e,t.Utils.options(e.attr("data-uk-offcanvas")))}e.trigger("click")}}),e.on("keydown.uk.offcanvas",function(t){27===t.keyCode&&n.hide()})},init:function(){var i=this;this.options=t.$.extend({target:i.element.is("a")?i.element.attr("href"):!1},this.options),this.on("click",function(t){t.preventDefault(),n.show(i.options.target)})}}),t.offcanvas=n}(UIkit),function(t){"use strict";function i(i,e,n){var o,s=t.$.Deferred(),a=i,r=i;return n[0]===e[0]?(s.resolve(),s.promise()):("object"==typeof i&&(a=i[0],r=i[1]||i[0]),t.$body.css("overflow-x","hidden"),o=function(){e&&e.hide().removeClass("uk-active "+r+" uk-animation-reverse"),n.addClass(a).one(t.support.animation.end,function(){setTimeout(function(){n.removeClass(""+a).css({opacity:"",display:""})},0),s.resolve(),t.$body.css("overflow-x",""),e&&e.css({opacity:"",display:""})}.bind(this)).show()},n.css("animation-duration",this.options.duration+"ms"),e&&e.length?(e.css("animation-duration",this.options.duration+"ms"),e.css("display","none").addClass(r+" uk-animation-reverse").one(t.support.animation.end,function(){o()}.bind(this)).css("display","")):(n.addClass("uk-active"),o()),s.promise())}var e;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200,swiping:!0},animating:!1,boot:function(){t.ready(function(i){t.$("[data-uk-switcher]",i).each(function(){var i=t.$(this);if(!i.data("switcher")){t.switcher(i,t.Utils.options(i.attr("data-uk-switcher")))}})})},init:function(){var i=this;if(this.on("click.uk.switcher",this.options.toggle,function(t){t.preventDefault(),i.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.children().removeClass("uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(e){e.preventDefault();var n=t.$(this).attr("data-uk-switcher-item");if(i.index!=n)switch(n){case"next":case"previous":i.show(i.index+("next"==n?1:-1));break;default:i.show(parseInt(n,10))}}),this.options.swiping&&this.connect.on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||i.show(i.index+("swipeLeft"==t.type?1:-1))}));var e=this.find(this.options.toggle),n=e.filter(".uk-active");if(n.length)this.show(n,!1);else{if(this.options.active===!1)return;n=e.eq(this.options.active),this.show(n.length?n:e.eq(0),!1)}e.not(n).attr("aria-expanded","false"),n.attr("aria-expanded","true")}},show:function(n,o){if(!this.animating){if(isNaN(n))n=t.$(n);else{var s=this.find(this.options.toggle);n=0>n?s.length-1:n,n=s.eq(s[n]?n:0)}var a=this,s=this.find(this.options.toggle),r=t.$(n),l=e[this.options.animation]||function(t,n){if(!a.options.animation)return e.none.apply(a);var o=a.options.animation.split(",");return 1==o.length&&(o[1]=o[0]),o[0]=o[0].trim(),o[1]=o[1].trim(),i.apply(a,[o,t,n])};o!==!1&&t.support.animation||(l=e.none),r.hasClass("uk-disabled")||(s.attr("aria-expanded","false"),r.attr("aria-expanded","true"),s.filter(".uk-active").removeClass("uk-active"),r.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(r),-1==this.index&&(this.index=0),this.connect.each(function(){var i=t.$(this),e=t.$(i.children()),n=t.$(e.filter(".uk-active")),o=t.$(e.eq(a.index));a.animating=!0,l.apply(a,[n,o]).then(function(){n.removeClass("uk-active"),o.addClass("uk-active"),n.attr("aria-hidden","true"),o.attr("aria-hidden","false"),t.Utils.checkDisplay(o,!0),a.animating=!1})})),this.trigger("show.uk.switcher",[r]))}}}),e={none:function(){var i=t.$.Deferred();return i.resolve(),i.promise()},fade:function(t,e){return i.apply(this,["uk-animation-fade",t,e])},"slide-bottom":function(t,e){return i.apply(this,["uk-animation-slide-bottom",t,e])},"slide-top":function(t,e){return i.apply(this,["uk-animation-slide-top",t,e])},"slide-vertical":function(t,e){var n=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>e.index()&&n.reverse(),i.apply(this,[n,t,e])},"slide-left":function(t,e){return i.apply(this,["uk-animation-slide-left",t,e])},"slide-right":function(t,e){return i.apply(this,["uk-animation-slide-right",t,e])},"slide-horizontal":function(t,e){var n=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>e.index()&&n.reverse(),i.apply(this,[n,t,e])},scale:function(t,e){return i.apply(this,["uk-animation-scale-up",t,e])}},t.switcher.animations=e}(UIkit),function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200,swiping:!0},boot:function(){t.ready(function(i){t.$("[data-uk-tab]",i).each(function(){var i=t.$(this);if(!i.data("tab")){t.tab(i,t.Utils.options(i.attr("data-uk-tab")))}})})},init:function(){var i=this;this.current=!1,this.on("click.uk.tab",this.options.target,function(e){if(e.preventDefault(),!i.switcher||!i.switcher.animating){var n=i.find(i.options.target).not(this);n.removeClass("uk-active").blur(),i.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),i.current]),i.current=t.$(this),i.options.connect||(n.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uk.tab","a",function(e){e.preventDefault(),e.stopPropagation();var n=t.$(this);i.element.children("li:not(.uk-tab-responsive)").eq(n.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,e){i.responsivetab.caption.html(e.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration,swiping:this.options.swiping})),t.dropdown(this.responsivetab,{mode:"click",preventflip:"y"}),i.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){i.element.is(":visible")&&i.check()},100)),this.on("display.uk.check",function(){i.element.is(":visible")&&i.check()})},check:function(){var i=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!i.length)return this.responsivetab.addClass("uk-hidden"),void 0;var e,n,o,s=i.eq(0).offset().top+Math.ceil(i.eq(0).height()/2),a=!1;if(this.responsivetab.lst.empty(),i.each(function(){t.$(this).offset().top>s&&(a=!0)}),a)for(var r=0;r<i.length;r++)e=t.$(i.eq(r)),n=e.find("a"),"none"==e.css("float")||e.attr("uk-dropdown")||(e.hasClass("uk-disabled")||(o=e[0].outerHTML.replace("<a ",'<a data-index="'+r+'" '),this.responsivetab.lst.append(o)),e.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit),function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(i){t.$("[data-uk-cover]",i).each(function(){var i=t.$(this);if(!i.data("cover")){t.cover(i,t.Utils.options(i.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var i=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[i,i.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,i,e=this.parent.width(),n=this.parent.height();e/this.ratio<n?(t=Math.ceil(n*this.ratio),i=n):(t=e,i=Math.ceil(e/this.ratio)),this.element.css({width:t,height:i})}})}(UIkit); \ No newline at end of file | ||
