This commit is contained in:
2025-04-23 10:45:21 +02:00
parent 8030ffb888
commit d17fb46943
716 changed files with 163468 additions and 0 deletions

View File

@@ -0,0 +1,94 @@
// Name: Accordion
// Description: Defines styles for the accordion
//
// Component: `uk-accordion`
//
// Sub-objects: `uk-accordion-title`
// `uk-accordion-content`
//
// Markup:
//
// <!-- uk-accordion -->
// <div class="uk-accordion" data-uk-accordion>
// <h3 class="uk-accordion-title"></h3>
// <div class="uk-accordion-content">
// <p></p>
// </div>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$accordion-title-margin-bottom: 15px !default;
$accordion-title-padding-vertical: 5px !default;
$accordion-title-padding-horizontal: 15px !default;
$accordion-title-font-size: 18px !default;
$accordion-title-line-height: 24px !default;
$accordion-title-background: #eee !default;
$accordion-content-padding-horizontal: $accordion-title-padding-horizontal !default;
$accordion-content-padding-bottom: $accordion-title-padding-horizontal !default;
/* ========================================================================
Component: Accordion
========================================================================== */
.uk-accordion {
@include hook-accordion();
}
/* Sub-object: `uk-accordion-title`
========================================================================== */
.uk-accordion-title {
margin-top: 0;
margin-bottom: $accordion-title-margin-bottom;
padding: $accordion-title-padding-vertical $accordion-title-padding-horizontal;
background: $accordion-title-background;
font-size: $accordion-title-font-size;
line-height: $accordion-title-line-height;
cursor: pointer;
@include hook-accordion-title();
}
/* Sub-object: `uk-accordion-content`
========================================================================== */
.uk-accordion-content {
padding: 0 $accordion-content-padding-horizontal $accordion-content-padding-bottom $accordion-content-padding-horizontal;
@include hook-accordion-content();
}
/*
* Micro clearfix to make panels more robust
*/
.uk-accordion-content:before,
.uk-accordion-content:after {
content: "";
display: table;
}
.uk-accordion-content:after { clear: both; }
/*
* Remove margin from the last-child
*/
.uk-accordion-content > :last-child { margin-bottom: 0; }
// Hooks
// ========================================================================
@include hook-accordion-misc();
// @mixin hook-accordion(){}
// @mixin hook-accordion-title(){}
// @mixin hook-accordion-content(){}
// @mixin hook-accordion-misc(){}

View File

@@ -0,0 +1,107 @@
// Name: Autocomplete
// Description: Provides suggestions while you type into an input field
//
// Component: `uk-autocomplete`
//
// Modifier: (Nav) `uk-nav-autocomplete`
//
// States: `uk-active`
//
// ========================================================================
// Variables
// ========================================================================
// Nav modifier
$nav-autocomplete-color: #444 !default;
$nav-autocomplete-active-background: #00a8e6 !default;
$nav-autocomplete-active-color: #fff !default;
$nav-autocomplete-header-color: #999 !default;
$nav-autocomplete-divider-border: #ddd !default;
$nav-autocomplete-divider-border-width: 1px !default;
/* ========================================================================
Component: Autocomplete
========================================================================== */
/*
* 1. Container width fits its content
* 2. Create position context
* 3. Prevent `inline-block` consequences
* 4. Remove the gap between the container and its child element
*/
.uk-autocomplete {
/* 1 */
display: inline-block;
/* 2 */
position: relative;
/* 3 */
max-width: 100%;
/* 4 */
vertical-align: middle;
}
/* Legacy dropdown modifier */
.uk-dropdown-flip {
left: auto;
right: 0;
}
/* Nav modifier `uk-nav-autocomplete`
========================================================================== */
/*
* Items
*/
.uk-nav-autocomplete > li > a {
color: $nav-autocomplete-color;
@include hook-nav-autocomplete();
}
/*
* Active
* 1. Remove default focus style
*/
.uk-nav-autocomplete > li.uk-active > a {
background: $nav-autocomplete-active-background;
color: $nav-autocomplete-active-color;
/* 1 */
outline: none;
@include hook-nav-autocomplete-active();
}
/*
* Sub-object: `uk-nav-header`
*/
.uk-nav-autocomplete .uk-nav-header {
color: $nav-autocomplete-header-color;
@include hook-nav-autocomplete-header();
}
/*
* Sub-object: `uk-nav-divider`
*/
.uk-nav-autocomplete .uk-nav-divider {
border-top: $nav-autocomplete-divider-border-width solid $nav-autocomplete-divider-border;
@include hook-nav-autocomplete-divider();
}
// Hooks
// ========================================================================
@include hook-autocomplete-misc();
// @mixin hook-nav-autocomplete(){}
// @mixin hook-nav-autocomplete-active(){}
// @mixin hook-nav-autocomplete-header(){}
// @mixin hook-nav-autocomplete-divider(){}
// @mixin hook-autocomplete-misc(){}

View File

@@ -0,0 +1,197 @@
// Name: Datepicker
// Description: Defines styles for a datepicker
//
// Component: `uk-datepicker`
//
// Modifiers: `uk-datepicker-nav`
// `uk-datepicker-previous`
// `uk-datepicker-next`
// `uk-datepicker-heading`
// `uk-datepicker-table`
// `uk-datepicker-table-muted`
//
// ========================================================================
// Variables
// ========================================================================
$datepicker-z-index: 1050 !default;
$datepicker-animation: uk-fade !default;
$datepicker-nav-height: 20px !default;
$datepicker-nav-margin-bottom: 15px !default;
$datepicker-nav-color: #444 !default;
$datepicker-nav-hover-color: #444 !default;
$datepicker-previous-icon: "\f053" !default;
$datepicker-next-icon: "\f054" !default;
$datepicker-table-width: 26px !default;
$datepicker-table-height: 24px !default;
$datepicker-table-color: #444 !default;
$datepicker-table-hover-background: #ddd !default;
$datepicker-table-hover-color: #444 !default;
$datepicker-table-onclick-background: #ccc !default;
$datepicker-table-onclick-color: #444 !default;
$datepicker-table-active-background: #00a8e6 !default;
$datepicker-table-active-color: #fff !default;
$datepicker-table-muted-color: #999 !default;
/* ========================================================================
Component: Datepicker
========================================================================== */
/*
* 1. Highest z-index
* 2. Reset dropdown width
* 3. Set animation
* 4. Needed for scale animation
*/
.uk-datepicker {
/* 1 */
z-index: $datepicker-z-index;
/* 2 */
width: auto;
/* 3 */
-webkit-animation: $datepicker-animation 0.2s ease-in-out;
animation: $datepicker-animation 0.2s ease-in-out;
/* 4 */
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
/* Sub-object: `uk-datepicker-nav`
========================================================================== */
.uk-datepicker-nav {
margin-bottom: $datepicker-nav-margin-bottom;
text-align: center;
line-height: $datepicker-nav-height;
@include hook-datepicker-nav();
}
/*
* Micro clearfix
*/
.uk-datepicker-nav:before,
.uk-datepicker-nav:after {
content: "";
display: table;
}
.uk-datepicker-nav:after { clear: both; }
/*
* Previous and next navigation
*/
.uk-datepicker-nav a {
color: $datepicker-nav-color;
text-decoration: none;
@include hook-datepicker-nav-item();
}
.uk-datepicker-nav a:hover { color: $datepicker-nav-hover-color; }
.uk-datepicker-previous { float: left; }
.uk-datepicker-next { float: right; }
.uk-datepicker-previous:after,
.uk-datepicker-next:after {
width: $datepicker-nav-height;
font-family: FontAwesome;
}
.uk-datepicker-previous:after { content: $datepicker-previous-icon; }
.uk-datepicker-next:after { content: $datepicker-next-icon; }
/* Sub-object: `uk-datepicker-heading`
========================================================================== */
.uk-datepicker-heading {}
/* Sub-object: `uk-datepicker-table`
========================================================================== */
/* Block element behavior */
.uk-datepicker-table { width: 100%; }
.uk-datepicker-table th,
.uk-datepicker-table td { padding: 2px; }
.uk-datepicker-table th { font-size: 12px; }
/*
* Item
*/
.uk-datepicker-table a {
display: block;
width: $datepicker-table-width;
line-height: $datepicker-table-height;
text-align: center;
color: $datepicker-table-color;
text-decoration: none;
@include hook-datepicker-table-item();
}
/*
* Sub-object: `uk-datepicker-table-muted`
*/
a.uk-datepicker-table-muted { color: $datepicker-table-muted-color; }
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-datepicker-table a:hover,
.uk-datepicker-table a:focus { // 1
background-color: $datepicker-table-hover-background;
color: $datepicker-table-hover-color;
/* 2 */
outline: none;
@include hook-datepicker-table-item-hover();
}
/* OnClick */
.uk-datepicker-table a:active {
background-color: $datepicker-table-onclick-background;
color: $datepicker-table-onclick-color;
@include hook-datepicker-table-item-onclick();
}
/*
* Active
*/
.uk-datepicker-table a.uk-active {
background: $datepicker-table-active-background;
color: $datepicker-table-active-color;
@include hook-datepicker-table-item-active();
}
// Hooks
// ========================================================================
@include hook-datepicker-misc();
// @mixin hook-datepicker-nav(){}
// @mixin hook-datepicker-nav-item(){}
// @mixin hook-datepicker-table-item(){}
// @mixin hook-datepicker-table-item-hover(){}
// @mixin hook-datepicker-table-item-onclick(){}
// @mixin hook-datepicker-table-item-active(){}
// @mixin hook-datepicker-misc(){}

View File

@@ -0,0 +1,212 @@
// Name: Dotnav
// Description: Defines styles for a dot navigation
//
// Component: `uk-dotnav`
//
// Modifier: `uk-dotnav-contrast`
// `uk-dotnav-vertical`
//
// States: `uk-active`
//
// Markup:
//
// <!-- uk-dotnav -->
// <ul class="uk-dotnav">
// <li class="uk-active"><a href=""></a></li>
// <li><a href=""></a></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$dotnav-margin-horizontal: 15px !default;
$dotnav-margin-vertical: $dotnav-margin-horizontal !default;
$dotnav-width: 20px !default;
$dotnav-height: $dotnav-width !default;
$dotnav-background: rgba(50,50,50,0.1) !default;
$dotnav-hover-background: rgba(50,50,50,0.4) !default;
$dotnav-onclick-background: rgba(50,50,50,0.6) !default;
$dotnav-active-background: rgba(50,50,50,0.4) !default;
$dotnav-contrast-background: rgba(255,255,255,0.4) !default;
$dotnav-contrast-hover-background: rgba(255,255,255,0.7) !default;
$dotnav-contrast-onclick-background: rgba(255,255,255,0.9) !default;
$dotnav-contrast-active-background: rgba(255,255,255,0.9) !default;
/* ========================================================================
Component: Dotnav
========================================================================== */
/*
* 1. Gutter
* 2. Remove default list style
*/
.uk-dotnav {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
/* 1 */
margin-left: -$dotnav-margin-horizontal;
margin-top: -$dotnav-margin-vertical;
/* 2 */
padding: 0;
list-style: none;
}
/*
* 1. Space is allocated solely based on content dimensions
* 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied
*/
.uk-dotnav > * {
/* 1 */
-ms-flex: none;
-webkit-flex: none;
flex: none;
/* 2 */
padding-left: $dotnav-margin-horizontal;
margin-top: $dotnav-margin-vertical;
}
/*
* DEPRECATED IE9 Support
*/
.uk-dotnav:before,
.uk-dotnav:after {
content: "";
display: block;
overflow: hidden;
}
.uk-dotnav:after { clear: both; }
.uk-dotnav > * { float: left; }
/* Items
========================================================================== */
/*
* Items
* 1. Hide text if present
*/
.uk-dotnav > * > * {
display: block;
box-sizing: content-box;
width: $dotnav-width;
height: $dotnav-height;
border-radius: 50%;
background: $dotnav-background;
/* 1 */
text-indent: 100%;
overflow: hidden;
white-space: nowrap;
@include hook-dotnav-item();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-dotnav > * > :hover,
.uk-dotnav > * > :focus { // 1
background: $dotnav-hover-background;
/* 2 */
outline: none;
@include hook-dotnav-item-hover();
}
/* OnClick */
.uk-dotnav > * > :active {
background: $dotnav-onclick-background;
@include hook-dotnav-item-onclick();
}
/* Active */
.uk-dotnav > .uk-active > * {
background: $dotnav-active-background;
@include hook-dotnav-item-active();
}
/* Modifier: `uk-dotnav-contrast`
========================================================================== */
.uk-dotnav-contrast > * > * {
background: $dotnav-contrast-background;
@include hook-dotnav-contrast-item();
}
/*
* Hover
* 1. Apply hover style also to focus state
*/
.uk-dotnav-contrast > * > :hover,
.uk-dotnav-contrast > * > :focus { // 1
background: $dotnav-contrast-hover-background;
@include hook-dotnav-contrast-item-hover();
}
/* OnClick */
.uk-dotnav-contrast > * > :active {
background: $dotnav-contrast-onclick-background;
@include hook-dotnav-contrast-item-onclick();
}
/* Active */
.uk-dotnav-contrast > .uk-active > * {
background: $dotnav-contrast-active-background;
@include hook-dotnav-contrast-item-active();
}
/* Modifier: 'uk-dotnav-vertical'
========================================================================== */
/*
* DEPRECATED
*/
.uk-dotnav-vertical {
-ms-flex-direction: column;
-webkit-flex-direction: column;
flex-direction: column;
}
/*
* DEPRECATED IE9 Support
*/
.uk-dotnav-vertical > * { float: none; }
// Hooks
// ========================================================================
@include hook-dotnav-misc();
// @mixin hook-dotnav-item(){}
// @mixin hook-dotnav-item-hover(){}
// @mixin hook-dotnav-item-onclick(){}
// @mixin hook-dotnav-item-active(){}
// @mixin hook-dotnav-contrast-item(){}
// @mixin hook-dotnav-contrast-item-hover(){}
// @mixin hook-dotnav-contrast-item-onclick(){}
// @mixin hook-dotnav-contrast-item-active(){}
// @mixin hook-dotnav-misc(){}

View File

@@ -0,0 +1,128 @@
// Name: Form advanced
// Description: Custom appearance of radio and checkbox buttons
//
// Component: `uk-form`
//
// ========================================================================
// Variables
// ========================================================================
$form-advanced-size: 14px !default;
$form-advanced-border: #aaa !default;
$form-advanced-border-width: 1px !default;
$form-advanced-margin-top: -4px !default;
$form-advanced-color: transparent !default;
$form-advanced-checked-color: #00a8e6 !default;
$form-advanced-radio-size: 8px !default;
$form-advanced-checkbox-icon: "\f00c" !default;
$form-advanced-checkbox-indeterminate-icon: "\f068" !default;
$form-advanced-checkbox-font-size: 12px !default;
$form-advanced-disabled-border: #ddd !default;
$form-advanced-disabled-color: #aaa !default;
/* ========================================================================
Component: Form advanced
Note: Only works in Webkit at the moment
========================================================================== */
/*
* 1. Style
* 2. Makes box more robust so it clips the child element
* 3. Vertical alignment
* 4. Remove default style
* 5. Fix black background on iOS
*/
.uk-form input[type="radio"],
.uk-form input[type="checkbox"] {
/* 1 */
display: inline-block;
height: $form-advanced-size;
width: $form-advanced-size;
border: $form-advanced-border-width solid $form-advanced-border;
/* 2 */
overflow: hidden;
/* 3 */
margin-top: $form-advanced-margin-top;
vertical-align: middle;
/* 4 */
-webkit-appearance: none;
outline: 0;
/* 5 */
background: $form-advanced-color;
@include hook-form-advanced();
}
/* Radio */
.uk-form input[type="radio"] { border-radius: 50%; }
/*
* Checked
*/
.uk-form input[type=radio]:before,
.uk-form input[type=checkbox]:before {
display: block;
@include hook-form-advanced-checked();
}
/* Radio */
.uk-form input[type=radio]:checked:before {
content: '';
width: $form-advanced-radio-size;
height: $form-advanced-radio-size;
margin: (($form-advanced-size - (2 * $form-advanced-border-width) - $form-advanced-radio-size) / 2) auto 0;
border-radius: 50%;
background: $form-advanced-checked-color;
@include hook-form-advanced-radio();
}
/* Checkbox */
.uk-form input[type=checkbox]:checked:before,
.uk-form input[type=checkbox]:indeterminate:before {
content: $form-advanced-checkbox-icon;
font-family: FontAwesome;
font-size: $form-advanced-checkbox-font-size;
-webkit-font-smoothing: antialiased;
text-align: center;
line-height: $form-advanced-size - (2 * $form-advanced-border-width);
color: $form-advanced-checked-color;
@include hook-form-advanced-checkbox();
}
.uk-form input[type=checkbox]:indeterminate:before { content: $form-advanced-checkbox-indeterminate-icon; }
/*
* Disabled
*/
.uk-form input[type=radio]:disabled,
.uk-form input[type=checkbox]:disabled {
border-color: $form-advanced-disabled-border;
@include hook-form-advanced-disabled();
}
.uk-form input[type=radio]:disabled:checked:before { background-color: $form-advanced-disabled-color; }
.uk-form input[type=checkbox]:disabled:checked:before,
.uk-form input[type=checkbox]:disabled:indeterminate:before { color: $form-advanced-disabled-color; }
// Hooks
// ========================================================================
@include hook-form-advanced-misc();
// @mixin hook-form-advanced(){}
// @mixin hook-form-advanced-checked(){}
// @mixin hook-form-advanced-radio(){}
// @mixin hook-form-advanced-checkbox(){}
// @mixin hook-form-advanced-disabled(){}
// @mixin hook-form-advanced-misc(){}

View File

@@ -0,0 +1,63 @@
// Name: Form file
// Description: Extends form component
//
// Component: `uk-form`
//
// Sub-objects: `uk-form-file`
//
// Markup:
//
// <!-- uk-form-file -->
// <div class="uk-form-file">
// <button class="uk-button"></button>
// <input type="file">
// </div>
//
// ========================================================================
/* ========================================================================
Component: Form file
========================================================================== */
/*
* 1. Behave like form elements
* 2. Create position context for dropdowns
* 3. Clip content
*/
.uk-form-file {
/* 1 */
display: inline-block;
vertical-align: middle;
/* 2 */
position: relative;
/* 3 */
overflow: hidden;
}
/*
* 1. Required for Firefox
* 2. Expand height and required for the cursor
*/
.uk-form-file input[type="file"] {
position: absolute;
top: 0;
z-index: 1;
width: 100%;
opacity: 0;
cursor: pointer;
/* 1 */
left: 0;
/* 2 */
font-size: 500px;
}
// Hooks
// ========================================================================
@include hook-form-file-misc();
// @mixin hook-form-file-misc(){}

View File

@@ -0,0 +1,74 @@
// Name: Form password
// Description: Extends form component
//
// Component: `uk-form`
//
// Sub-objects: `uk-form-password`
//
// Markup:
//
// <!-- uk-form-password -->
// <form class="uk-form">
// <div class="uk-form-password">
// <input type="password">
// <a href="" class="uk-form-password-toggle" data-uk-form-password></a>
// </div>
// </form>
//
// ========================================================================
// Variables
// ========================================================================
$form-password-font-size: 13px !default;
$form-password-line-height: $form-password-font-size !default;
$form-password-color: #999 !default;
$form-password-hover-color: #999 !default;
$form-password-padding: 50px !default;
/* ========================================================================
Component: Form password
========================================================================== */
/*
* 1. Container width fits its content
* 2. Create position context
* 3. Prevent `inline-block` consequences
*/
.uk-form-password {
/* 1 */
display: inline-block;
/* 2 */
position: relative;
/* 3 */
max-width: 100%;
}
.uk-form-password-toggle {
display: block;
position: absolute;
top: 50%;
right: 10px;
margin-top: -(floor($form-password-line-height/2));
font-size: $form-password-font-size;
line-height: $form-password-line-height;
color: $form-password-color;
}
.uk-form-password-toggle:hover {
color: $form-password-hover-color;
text-decoration: none;
}
.uk-form-password > input { padding-right: $form-password-padding !important; }
// Hooks
// ========================================================================
@include hook-form-password-misc();
// @mixin hook-form-password-misc(){}

View File

@@ -0,0 +1,66 @@
// Name: Form select
// Description: Extends form component
//
// Component: `uk-form`
//
// Sub-objects: `uk-form-select`
//
// Markup:
//
// <!-- uk-form-select -->
// <div class="uk-form-select" data-uk-form-select>
// <span></span>
// <select>
// <option value=""></option>
// </select>
// </div>
//
// ========================================================================
/* ========================================================================
Component: Form select
========================================================================== */
/*
* 1. Behave like form elements
* 2. Create position context for dropdowns
* 3. Clip content
*/
.uk-form-select {
/* 1 */
display: inline-block;
vertical-align: middle;
/* 2 */
position: relative;
/* 3 */
overflow: hidden;
}
/*
* 1. Required for Firefox
* 1. Required for Webkit to make `height` work
*/
.uk-form-select select {
position: absolute;
top: 0;
z-index: 1;
width: 100%;
height: 100%;
opacity: 0;
cursor: pointer;
/* 1 */
left: 0;
/* 2 */
-webkit-appearance: none;
}
// Hooks
// ========================================================================
@include hook-form-select-misc();
// @mixin hook-form-select-misc(){}

View File

@@ -0,0 +1,269 @@
// Name: HTML editor
// Description: Defines styles for an HTML editor
//
// Component: `uk-htmleditor`
//
// Sub-objects: `uk-htmleditor-navbar`
// `uk-htmleditor-navbar-nav`
// `uk-htmleditor-navbar-flip`
// `uk-htmleditor-button-code
// `uk-htmleditor-button-preview`
// `uk-htmleditor-content`
// `uk-htmleditor-code`
// `uk-htmleditor-preview`
// `uk-htmleditor-iframe`
//
// Modifier: `uk-htmleditor-fullscreen`
// `[data-mode='tab']`
// `[data-mode='split']`
//
// States: `uk-active`
//
// ========================================================================
// Variables
// ========================================================================
$htmleditor-navbar-background: #eee !default;
$htmleditor-navbar-nav-height: 40px !default;
$htmleditor-navbar-nav-padding-horizontal: 15px !default;
$htmleditor-navbar-nav-line-height: $htmleditor-navbar-nav-height !default;
$htmleditor-navbar-nav-color: #444 !default;
$htmleditor-navbar-nav-hover-background: #f5f5f5 !default;
$htmleditor-navbar-nav-hover-color: #444 !default;
$htmleditor-navbar-nav-onclick-background: #ddd !default;
$htmleditor-navbar-nav-onclick-color: #444 !default;
$htmleditor-navbar-nav-active-background: #f5f5f5 !default;
$htmleditor-navbar-nav-active-color: #444 !default;
$htmleditor-content-border: #ddd !default;
$htmleditor-content-background: #fff !default;
$htmleditor-content-padding: 20px !default;
$htmleditor-content-split-border: #eee !default;
$htmleditor-fullscreen-z-index: 990 !default;
$htmleditor-fullscreen-content-top: $htmleditor-navbar-nav-height !default;
$htmleditor-fullscreen-icon-resize: "\f066" !default;
/* ========================================================================
Component: HTML editor
========================================================================== */
.uk-htmleditor {
@include hook-htmleditor();
}
/* Sub-object `uk-htmleditor-navbar`
========================================================================== */
.uk-htmleditor-navbar {
background: $htmleditor-navbar-background;
@include hook-htmleditor-navbar();
}
/*
* Micro clearfix
*/
.uk-htmleditor-navbar:before,
.uk-htmleditor-navbar:after {
content: "";
display: table;
}
.uk-htmleditor-navbar:after { clear: both; }
/* Sub-object `uk-htmleditor-navbar-nav`
========================================================================== */
.uk-htmleditor-navbar-nav {
margin: 0;
padding: 0;
list-style: none;
float: left;
}
.uk-htmleditor-navbar-nav > li { float: left; }
/*
* 1. Dimensions
* 2. Style
*/
.uk-htmleditor-navbar-nav > li > a {
display: block;
box-sizing: border-box;
text-decoration: none;
/* 1 */
height: $htmleditor-navbar-nav-height;
padding: 0 $htmleditor-navbar-nav-padding-horizontal;
line-height: $htmleditor-navbar-nav-line-height;
/* 2 */
color: $htmleditor-navbar-nav-color;
font-size: 11px;
cursor: pointer;
@include hook-htmleditor-navbar-nav();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-htmleditor-navbar-nav > li:hover > a,
.uk-htmleditor-navbar-nav > li > a:focus { // 1
background-color: $htmleditor-navbar-nav-hover-background;
color: $htmleditor-navbar-nav-hover-color;
outline: none; /* 2 */
@include hook-htmleditor-navbar-nav-hover();
}
/* OnClick */
.uk-htmleditor-navbar-nav > li > a:active {
background-color: $htmleditor-navbar-nav-onclick-background;
color: $htmleditor-navbar-nav-onclick-color;
@include hook-htmleditor-navbar-nav-onclick();
}
/* Active */
.uk-htmleditor-navbar-nav > li.uk-active > a {
background-color: $htmleditor-navbar-nav-active-background;
color: $htmleditor-navbar-nav-active-color;
@include hook-htmleditor-navbar-nav-active();
}
/* Sub-object: `uk-htmleditor-navbar-flip`
========================================================================== */
.uk-htmleditor-navbar-flip { float: right; }
/* Sub-object for special buttons
========================================================================== */
[data-mode='split'] .uk-htmleditor-button-code,
[data-mode='split'] .uk-htmleditor-button-preview { display: none; }
/* Sub-object `uk-htmleditor-content`
========================================================================== */
.uk-htmleditor-content {
border-left: 1px solid $htmleditor-content-border;
border-right: 1px solid $htmleditor-content-border;
border-bottom: 1px solid $htmleditor-content-border;
background: $htmleditor-content-background;
@include hook-htmleditor-content();
}
/*
* Micro clearfix
*/
.uk-htmleditor-content:before,
.uk-htmleditor-content:after {
content: "";
display: table;
}
.uk-htmleditor-content:after { clear: both; }
/* Modifier `uk-htmleditor-fullscreen`
========================================================================== */
.uk-htmleditor-fullscreen {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: $htmleditor-fullscreen-z-index;
}
.uk-htmleditor-fullscreen .uk-htmleditor-content {
position: absolute;
top: $htmleditor-fullscreen-content-top;
left: 0;
right: 0;
bottom: 0;
}
.uk-htmleditor-fullscreen .uk-icon-expand:before { content: $htmleditor-fullscreen-icon-resize; }
/* Sub-objects `uk-htmleditor-code` and `uk-htmleditor-preview`
========================================================================== */
.uk-htmleditor-code,
.uk-htmleditor-preview { box-sizing: border-box; }
.uk-htmleditor-preview {
padding: $htmleditor-content-padding;
overflow-y: scroll;
position: relative;
}
/*
* Tab view
*/
[data-mode='tab'][data-active-tab='code'] .uk-htmleditor-preview,
[data-mode='tab'][data-active-tab='preview'] .uk-htmleditor-code { display: none; }
/*
* Split view
*/
[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 $htmleditor-content-split-border; }
/* Sub-object `uk-htmleditor-iframe`
========================================================================== */
.uk-htmleditor-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* CodeMirror modifications
========================================================================== */
.uk-htmleditor .CodeMirror {
padding: 10px;
box-sizing: border-box;
}
// Hooks
// ========================================================================
@include hook-htmleditor-misc();
// @mixin hook-htmleditor(){}
// @mixin hook-htmleditor-navbar(){}
// @mixin hook-htmleditor-navbar-nav(){}
// @mixin hook-htmleditor-navbar-nav-hover(){}
// @mixin hook-htmleditor-navbar-nav-onclick(){}
// @mixin hook-htmleditor-navbar-nav-active(){}
// @mixin hook-htmleditor-content(){}
// @mixin hook-htmleditor-misc(){}

View File

@@ -0,0 +1,231 @@
// Name: Nestable
// Description: Defines styles for nestable lists
//
// Component: `uk-nestable`
//
// Sub-objects: `uk-nestable-list`
// `uk-nestable-item`
// `uk-nestable-handle`
// `uk-nestable-moving`
// `uk-nestable-toggle`
// `uk-nestable-panel`
//
// Modifier: `uk-nestable-dragged`
// `uk-nestable-placeholder`
//
// States: `uk-parent`
// `uk-collapsed`
//
// Markup:
//
// <!-- uk-nestable -->
// <ul class="uk-nestable" data-uk-nestable>
// <li></li>
// <li></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$nestable-padding-left: 40px !default;
$nestable-item-margin: 10px !default;
$nestable-dragged-z-index: 1050 !default;
$nestable-placeholder-border: #ddd !default;
$nestable-empty-height: 30px !default;
$nestable-toggle-icon: "\f147" !default;
$nestable-toggle-collapsed-icon: "\f196" !default;
$nestable-panel-padding: 5px !default;
$nestable-panel-background: #f5f5f5 !default;
/* ========================================================================
Component: Nestable
========================================================================== */
.uk-nestable {
padding: 0;
list-style: none;
@include hook-nestable();
}
/*
* Disables the default callout shown when you touch and hold a touch target
* Currently only works in Webkit
*/
.uk-nestable a,
.uk-nestable img { -webkit-touch-callout: none; }
/* Sub-object `uk-nestable-list`
========================================================================== */
.uk-nestable-list {
margin: 0;
padding-left: $nestable-padding-left;
list-style: none;
}
/* Sub-modifier `uk-nestable-item`
========================================================================== */
/*
* 1. Deactivate browser touch actions in IE11
*/
.uk-nestable-item {
/* 1 */
touch-action: none;
@include hook-nestable-item();
}
.uk-nestable-item + .uk-nestable-item { margin-top: $nestable-item-margin; }
.uk-nestable-list:not(.uk-nestable-dragged) > .uk-nestable-item:first-child { margin-top: $nestable-item-margin; }
/* Sub-modifier `uk-nestable-dragged`
========================================================================== */
/*
* 1. Reset style
*/
.uk-nestable-dragged {
position: absolute;
z-index: $nestable-dragged-z-index;
pointer-events: none;
/* 1 */
padding-left: 0;
@include hook-nestable-dragged();
}
/* Sub-modifier `uk-nestable-placeholder`
========================================================================== */
.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 $nestable-placeholder-border;
opacity: 1;
@include hook-nestable-placeholder();
}
/* Empty List
========================================================================== */
.uk-nestable-empty {
min-height: $nestable-empty-height;
@include hook-nestable-empty();
}
/* Sub-object `uk-nestable-handle`
========================================================================== */
/*
* Deactivate browser touch actions in IE11
*/
.uk-nestable-handle { touch-action: none; }
/* Hover */
.uk-nestable-handle:hover { cursor: move; }
/* Sub-object `uk-nestable-moving`
========================================================================== */
.uk-nestable-moving,
/* Needed if moving over links or buttons */
.uk-nestable-moving * { cursor: move; }
/* Fixes dragging items over iframes */
.uk-nestable-moving iframe { pointer-events: none; }
/* [data-nestable-action='toggle']
========================================================================== */
/*
* 1. Makes text unselectable. Happens if double clicked by mistake
*/
[data-nestable-action='toggle'] {
cursor: pointer;
/* 1 */
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Sub-object `.uk-nestable-toggle`
========================================================================== */
.uk-nestable-toggle {
display: inline-block;
visibility: hidden;
@include hook-nestable-toggle();
}
.uk-nestable-toggle:after {
content: $nestable-toggle-icon;
font-family: FontAwesome;
}
.uk-parent > :not(.uk-nestable-list) .uk-nestable-toggle { visibility: visible; }
/*
* Collapsed
*/
.uk-collapsed .uk-nestable-list { display: none; }
.uk-collapsed .uk-nestable-toggle:after { content: $nestable-toggle-collapsed-icon; }
/* Sub-object `uk-nestable-panel`
========================================================================== */
.uk-nestable-panel {
padding: $nestable-panel-padding;
background: $nestable-panel-background;
@include hook-nestable-panel();
}
// Hooks
// ========================================================================
@include hook-nestable-misc();
// @mixin hook-nestable(){}
// @mixin hook-nestable-item(){}
// @mixin hook-nestable-dragged(){}
// @mixin hook-nestable-placeholder(){}
// @mixin hook-nestable-empty(){}
// @mixin hook-nestable-handle(){}
// @mixin hook-nestable-toggle(){}
// @mixin hook-nestable-panel(){}
// @mixin hook-nestable-misc(){}

View File

@@ -0,0 +1,190 @@
// Name: Notify
// Description: Defines styles for toggleable notifications
//
// Component: `uk-notify`
//
// Sub-objects: `uk-notify-message`
//
// Modifiers: `uk-notify-top-center`
// `uk-notify-top-right`
// `uk-notify-bottom-left`
// `uk-notify-bottom-center`
// `uk-notify-bottom-right`
// `uk-notify-message-primary`
// `uk-notify-message-success`
// `uk-notify-message-warning`
// `uk-notify-message-danger`
//
// Uses: Close: `uk-close`
//
// ========================================================================
// Variables
// ========================================================================
$notify-position: 10px !default;
$notify-z-index: 1040 !default;
$notify-width: 350px !default;
$notify-message-margin-bottom: 10px !default;
$notify-message-padding: 15px !default;
$notify-message-background: #444 !default;
$notify-message-color: #fff !default;
$notify-message-font-size: 16px !default;
$notify-message-line-height: 22px !default;
$notify-message-primary-background: #ebf7fd !default;
$notify-message-primary-color: #2d7091 !default;
$notify-message-success-background: #f2fae3 !default;
$notify-message-success-color: #659f13 !default;
$notify-message-warning-background: #fffceb !default;
$notify-message-warning-color: #e28327 !default;
$notify-message-danger-background: #fff1f0 !default;
$notify-message-danger-color: #d85030 !default;
/* ========================================================================
Component: Notify
========================================================================== */
/*
* Message container for positioning
*/
.uk-notify {
position: fixed;
top: $notify-position;
left: $notify-position;
z-index: $notify-z-index;
box-sizing: border-box;
width: $notify-width;
@include hook-notify();
}
/* Position modifiers
========================================================================== */
.uk-notify-top-right,
.uk-notify-bottom-right {
left: auto;
right: $notify-position;
}
.uk-notify-top-center,
.uk-notify-bottom-center {
left: 50%;
margin-left: ($notify-width / -2);
}
.uk-notify-bottom-left,
.uk-notify-bottom-right,
.uk-notify-bottom-center {
top: auto;
bottom: $notify-position;
}
/* Responsiveness
========================================================================== */
/* Phones portrait and smaller */
@media (max-width: $breakpoint-mini-max) {
/*
* Fit in small screen
*/
.uk-notify {
left: 10px;
right: 10px;
width: auto;
margin: 0;
}
}
/* Sub-object: `uk-notify-message`
========================================================================== */
.uk-notify-message {
position: relative;
margin-bottom: $notify-message-margin-bottom;
padding: $notify-message-padding;
background: $notify-message-background;
color: $notify-message-color;
font-size: $notify-message-font-size;
line-height: $notify-message-line-height;
cursor: pointer;
@include hook-notify-message();
}
/* Close in notify
========================================================================== */
.uk-notify-message > .uk-close {
visibility: hidden;
float: right;
}
.uk-notify-message:hover > .uk-close { visibility: visible; }
/* Modifier: `uk-notify-message-primary`
========================================================================== */
.uk-notify-message-primary {
background: $notify-message-primary-background;
color: $notify-message-primary-color;
@include hook-notify-message-primary();
}
/* Modifier: `uk-notify-message-success`
========================================================================== */
.uk-notify-message-success {
background: $notify-message-success-background;
color: $notify-message-success-color;
@include hook-notify-message-success();
}
/* Modifier: `uk-notify-message-warning`
========================================================================== */
.uk-notify-message-warning {
background: $notify-message-warning-background;
color: $notify-message-warning-color;
@include hook-notify-message-warning();
}
/* Modifier: `uk-notify-message-danger`
========================================================================== */
.uk-notify-message-danger {
background: $notify-message-danger-background;
color: $notify-message-danger-color;
@include hook-notify-message-danger();
}
// Hooks
// ========================================================================
@include hook-notify-misc();
// @mixin hook-notify(){}
// @mixin hook-notify-message(){}
// @mixin hook-notify-message-primary(){}
// @mixin hook-notify-message-success(){}
// @mixin hook-notify-message-warning(){}
// @mixin hook-notify-message-danger(){}
// @mixin hook-notify-misc(){}

View File

@@ -0,0 +1,66 @@
// Name: Placeholder
// Description: Defines styles for placeholder boxes
//
// Component: `uk-placeholder`
//
// Modifiers: `uk-placeholder-large`
//
// ========================================================================
// Variables
// ========================================================================
$placeholder-margin-vertical: 15px !default;
$placeholder-padding: 20px !default;
$placeholder-border: #ddd !default;
$placeholder-background: #fafafa !default;
$placeholder-color: #444 !default;
$placeholder-large-padding-vertical: 80px !default;
/* ========================================================================
Component: Placeholder
========================================================================== */
.uk-placeholder {
margin-bottom: $placeholder-margin-vertical;
padding: $placeholder-padding;
border: 1px dashed $placeholder-border;
background: $placeholder-background;
color: $placeholder-color;
@include hook-placeholder();
}
/*
* Add margin if adjacent element
*/
* + .uk-placeholder { margin-top: $placeholder-margin-vertical; }
/*
* Remove margin from the last-child
*/
.uk-placeholder > :last-child { margin-bottom: 0; }
/* Modifier: `uk-placeholder-large`
========================================================================== */
.uk-placeholder-large {
padding-top: $placeholder-large-padding-vertical;
padding-bottom: $placeholder-large-padding-vertical;
@include hook-placeholder-large();
}
// Hooks
// ========================================================================
@include hook-placeholder-misc();
// @mixin hook-placeholder(){}
// @mixin hook-placeholder-large(){}
// @mixin hook-placeholder-misc(){}

View File

@@ -0,0 +1,173 @@
// Name: Progress
// Description: Defines styles for progress bars
//
// Component: `uk-progress`
//
// Sub-objects: `uk-progress-bar`
//
// Modifiers: `uk-progress-mini`
// `uk-progress-small`
// `uk-progress-success`
// `uk-progress-warning`
// `uk-progress-danger`
// `uk-progress-striped`
//
// Markup:
//
// <!-- uk-progress -->
// <div class="uk-progress">
// <div class="uk-progress-bar" style="width: 40%;"></div>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$progress-height: 20px !default;
$progress-mini-height: 6px !default;
$progress-small-height: 12px !default;
$progress-margin-vertical: 15px !default;
$progress-background: #eee !default;
$progress-bar-background: #00a8e6 !default;
$progress-bar-font-size: 12px !default;
$progress-bar-color: #fff !default;
$progress-bar-success-background: #8cc14c !default;
$progress-bar-warning-background: #faa732 !default;
$progress-bar-danger-background: #da314b !default;
/* ========================================================================
Component: Progress
========================================================================== */
/*
* 1. Clearing
* 2. Vertical alignment if text is used
*/
.uk-progress {
box-sizing: border-box;
height: $progress-height;
margin-bottom: $progress-margin-vertical;
background: $progress-background;
/* 1 */
overflow: hidden;
/* 2 */
line-height: $progress-height;
@include hook-progress();
}
/*
* Add margin if adjacent element
*/
* + .uk-progress { margin-top: $progress-margin-vertical; }
/* Sub-object: `uk-progress-bar`
========================================================================== */
/*
* 1. Transition
* 2. Needed for text
*/
.uk-progress-bar {
width: 0;
height: 100%;
background: $progress-bar-background;
float: left;
/* 1 */
-webkit-transition: width 0.6s ease;
transition: width 0.6s ease;
/* 2 */
font-size: $progress-bar-font-size;
color: $progress-bar-color;
text-align: center;
@include hook-progress-bar();
}
/* Size modifiers
========================================================================== */
/* Mini */
.uk-progress-mini {
height: $progress-mini-height;
@include hook-progress-mini();
}
/* Small */
.uk-progress-small {
height: $progress-small-height;
@include hook-progress-small();
}
/* Color modifiers
========================================================================== */
.uk-progress-success .uk-progress-bar {
background-color: $progress-bar-success-background;
@include hook-progress-bar-success();
}
.uk-progress-warning .uk-progress-bar {
background-color: $progress-bar-warning-background;
@include hook-progress-bar-warning();
}
.uk-progress-danger .uk-progress-bar {
background-color: $progress-bar-danger-background;
@include hook-progress-bar-danger();
}
/* Modifier: `uk-progress-striped`
========================================================================== */
.uk-progress-striped .uk-progress-bar {
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);
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);
background-size: 30px 30px;
}
/*
* Animation
*/
.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; }
}
// Hooks
// ========================================================================
@include hook-progress-misc();
// @mixin hook-progress(){}
// @mixin hook-progress-bar(){}
// @mixin hook-progress-mini(){}
// @mixin hook-progress-small(){}
// @mixin hook-progress-bar-success(){}
// @mixin hook-progress-bar-warning(){}
// @mixin hook-progress-bar-danger(){}
// @mixin hook-progress-misc(){}

View File

@@ -0,0 +1,309 @@
// Name: Search
// Description: Defines a search component
//
// Component: `uk-search`
//
// Sub-objects: `uk-search-field`
//
// Modifier: (Nav) `uk-nav-search`
// (Dropdown) `uk-dropdown-search`
//
// States: `uk-active`
// `uk-loading`
//
// Uses: Animation
// Icon: FontAwesome
// Navbar: `uk-navbar-flip`
//
// Used by: Off-canvas
//
// Markup:
//
// <!-- uk-search -->
// <form class="uk-search" data-uk-search>
// <input class="uk-search-field" type="search" placeholder="">
// </form>
//
// ========================================================================
// Variables
// ========================================================================
$search-width: 120px !default;
$search-focus-width: 180px !default;
$search-height: 30px !default;
$search-padding: 30px !default;
$search-border: rgba(0,0,0,0) !default;
$search-border-width: 1px !default;
$search-background: rgba(0,0,0,0) !default;
$search-color: #444 !default;
$search-placeholder-color: #999 !default;
$search-icon: "\f002" !default;
$search-icon-size: 14px !default;
$search-icon-color: rgba(0,0,0,0.2) !default;
// Dropdown modifier
$dropdown-search-width: 300px !default;
$dropdown-search-margin-top: 0 !default;
$dropdown-search-background: #f5f5f5 !default;
$dropdown-search-color: #444 !default;
$dropdown-search-animation: uk-slide-top-fixed !default;
$dropdown-search-navbar-margin-top: 5px !default;
$dropdown-search-navbar-margin-right: -15px !default;
// Nav modifier
$nav-search-color: #444 !default;
$nav-search-active-background: #00a8e6 !default;
$nav-search-active-color: #fff !default;
$nav-search-header-color: #999 !default;
$nav-search-divider-border: #ddd !default;
$nav-search-divider-border-width: 1px !default;
$nav-search-nested-color: #07D !default;
$nav-search-nested-hover-color: #059 !default;
// Search in offcanvas
$offcanvas-search-margin: 20px 15px !default;
$offcanvas-search-background: #1a1a1a !default;
$offcanvas-search-border: rgba(0,0,0,0) !default;
$offcanvas-search-color: #ccc !default;
$offcanvas-search-placeholder-color: #777 !default;
$offcanvas-search-icon-color: #777 !default;
/* ========================================================================
Component: Search
========================================================================== */
/*
* 1. Create position context for dropdowns
* 2. Needed for `form` element
*/
.uk-search {
display: inline-block;
/* 1 */
position: relative;
/* 2 */
margin: 0;
@include hook-search();
}
/*
* Icon
*/
.uk-search:before {
content: $search-icon;
position: absolute;
top: 0;
left: 0;
width: $search-padding;
line-height: $search-height;
text-align: center;
font-family: FontAwesome;
font-size: $search-icon-size;
color: $search-icon-color;
@include hook-search-icon();
}
/* Sub-object `uk-search-field`
========================================================================== */
/*
* Removes inner padding and border in Firefox 4+.
*/
.uk-search-field::-moz-focus-inner {
border: 0;
padding: 0;
}
/*
* Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X.
*/
.uk-search-field::-webkit-search-cancel-button,
.uk-search-field::-webkit-search-decoration { -webkit-appearance: none; }
/*
* Removes cancel button in IE10
*/
.uk-search-field::-ms-clear { display: none; }
/*
* Removes placeholder transparency in Firefox.
*/
.uk-search-field::-moz-placeholder { opacity: 1; }
/*
* 1. Define consistent box sizing.
* 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
* 3. Remove `border-radius` in iOS.
* 4. Correct `font` properties and `color` not being inherited.
* 5. Remove default style in iOS.
* 6. Style
*/
.uk-search-field {
/* 1 */
box-sizing: border-box;
/* 2 */
margin: 0;
/* 3 */
border-radius: 0;
/* 4 */
font: inherit;
color: $search-color;
/* 5 */
-webkit-appearance: none;
/* 6 */
width: $search-width;
height: $search-height;
padding: 0 0 0 $search-padding;
border: $search-border-width solid $search-border;
background: $search-background;
-webkit-transition: all 0.2s linear;
transition: all 0.2s linear;
vertical-align: middle;
@include hook-search-field();
}
/* Placeholder */
.uk-search-field:-ms-input-placeholder { color: $search-placeholder-color !important; }
.uk-search-field::-moz-placeholder { color: $search-placeholder-color; }
.uk-search-field::-webkit-input-placeholder { color: $search-placeholder-color; }
/* Focus */
.uk-search-field:focus {
outline: 0;
@include hook-search-field-focus();
}
/* Focus + Active */
.uk-search-field:focus,
.uk-search.uk-active .uk-search-field { width: $search-focus-width; }
/* Dropdown modifier: `uk-dropdown-search`
========================================================================== */
.uk-dropdown-search {
width: $dropdown-search-width;
margin-top: $dropdown-search-margin-top;
background: $dropdown-search-background;
color: $dropdown-search-color;
@include hook-dropdown-search();
}
.uk-open > .uk-dropdown-search {
-webkit-animation: $dropdown-search-animation 0.2s ease-in-out;
animation: $dropdown-search-animation 0.2s ease-in-out;
}
/*
* Dependency `uk-navbar-flip`
*/
.uk-navbar-flip .uk-dropdown-search {
margin-top: $dropdown-search-navbar-margin-top;
margin-right: $dropdown-search-navbar-margin-right;
}
/* Nav modifier `uk-nav-search`
========================================================================== */
/*
* Items
*/
.uk-nav-search > li > a {
color: $nav-search-color;
@include hook-nav-search();
}
/*
* Active
* 1. Remove default focus style
*/
.uk-nav-search > li.uk-active > a {
background: $nav-search-active-background;
color: $nav-search-active-color;
/* 1 */
outline: none;
@include hook-nav-search-active();
}
/*
* Sub-object: `uk-nav-header`
*/
.uk-nav-search .uk-nav-header {
color: $nav-search-header-color;
@include hook-nav-search-header();
}
/*
* Sub-object: `uk-nav-divider`
*/
.uk-nav-search .uk-nav-divider {
border-top: $nav-search-divider-border-width solid $nav-search-divider-border;
@include hook-nav-search-divider();
}
/*
* Nested items
*/
.uk-nav-search ul a { color: $nav-search-nested-color; }
.uk-nav-search ul a:hover { color: $nav-search-nested-hover-color; }
/* Search in offcanvas
========================================================================== */
.uk-offcanvas .uk-search {
display: block;
margin: $offcanvas-search-margin;
}
.uk-offcanvas .uk-search:before { color: $offcanvas-search-icon-color; }
.uk-offcanvas .uk-search-field {
width: 100%;
border-color: $offcanvas-search-border;
background: $offcanvas-search-background;
color: $offcanvas-search-color;
@include hook-offcanvas-search-field();
}
.uk-offcanvas .uk-search-field:-ms-input-placeholder { color: $offcanvas-search-placeholder-color !important; }
.uk-offcanvas .uk-search-field::-moz-placeholder { color: $offcanvas-search-placeholder-color; }
.uk-offcanvas .uk-search-field::-webkit-input-placeholder { color: $offcanvas-search-placeholder-color; }
// Hooks
// ========================================================================
@include hook-search-misc();
// @mixin hook-search(){}
// @mixin hook-search-icon(){}
// @mixin hook-search-field(){}
// @mixin hook-search-field-focus(){}
// @mixin hook-dropdown-search(){}
// @mixin hook-nav-search(){}
// @mixin hook-nav-search-active(){}
// @mixin hook-nav-search-header(){}
// @mixin hook-nav-search-divider(){}
// @mixin hook-offcanvas-search-field(){}
// @mixin hook-search-misc(){}

View File

@@ -0,0 +1,183 @@
// Name: Slidenav
// Description: Defines styles for a previous/next navigation between slides
//
// Component: `uk-slidenav`
//
// Modifiers: `uk-slidenav-previous`
// `uk-slidenav-next`
// `uk-slidenav-contrast`
//
// Sub-objects: `uk-slidenav-position`
//
// Uses: Icon: FontAwesome
//
// Markup:
//
// <!-- uk-slidenav -->
// <a href="" class="uk-slidenav uk-slidenav-previous"></a>
// <a href="" class="uk-slidenav uk-slidenav-next"></a>
//
// <!-- uk-slidenav-position -->
// <div class="uk-slidenav-position">
// <img src="" alt="">
// <a href="" class="uk-slidenav uk-slidenav-previous"></a>
// <a href="" class="uk-slidenav uk-slidenav-next"></a>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$slidenav-width: 60px !default;
$slidenav-height: $slidenav-width !default;
$slidenav-color: rgba(50,50,50,0.4) !default;
$slidenav-font-size: 60px !default;
$slidenav-line-height: $slidenav-height !default;
$slidenav-previous-icon: "\f104" !default;
$slidenav-next-icon: "\f105" !default;
$slidenav-hover-color: rgba(50,50,50,0.7) !default;
$slidenav-active-color: rgba(50,50,50,0.9) !default;
$slidenav-position-previous: 20px !default;
$slidenav-position-next: $slidenav-position-previous !default;
$slidenav-contrast-color: rgba(255,255,255,0.5) !default;
$slidenav-contrast-hover-color: rgba(255,255,255,0.7) !default;
$slidenav-contrast-active-color: rgba(255,255,255,0.9) !default;
/* ========================================================================
Component: Slidenav
========================================================================== */
/*
* 1. Required for `a` elements
* 2. Dimension
* 3. Style
*/
.uk-slidenav {
/* 1 */
display: inline-block;
/* 2 */
box-sizing: border-box;
width: $slidenav-width;
height: $slidenav-height;
/* 3 */
line-height: $slidenav-line-height;
color: $slidenav-color;
font-size: $slidenav-font-size;
text-align: center;
@include hook-slidenav();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
* 3. Required for `a` elements
* 4. Style
*/
.uk-slidenav:hover,
.uk-slidenav:focus { // 1
/* 2 */
outline: none;
/* 3 */
text-decoration: none;
/* 4 */
color: $slidenav-hover-color;
cursor: pointer;
@include hook-slidenav-hover();
}
/* Active */
.uk-slidenav:active {
color: $slidenav-active-color;
@include hook-slidenav-active();
}
/*
* Icons
*/
.uk-slidenav-previous:before {
content: $slidenav-previous-icon;
font-family: FontAwesome;
}
.uk-slidenav-next:before {
content: $slidenav-next-icon;
font-family: FontAwesome;
}
/* Sub-object: `uk-slidenav-position`
========================================================================== */
/*
* Create position context
*/
.uk-slidenav-position { position: relative; }
/*
* Center vertically
*/
.uk-slidenav-position .uk-slidenav {
display: none;
position: absolute;
top: 50%;
z-index: 1;
margin-top: -($slidenav-height / 2);
}
.uk-slidenav-position:hover .uk-slidenav { display: block; }
.uk-slidenav-position .uk-slidenav-previous { left: $slidenav-position-previous; }
.uk-slidenav-position .uk-slidenav-next { right: $slidenav-position-next; }
/* Modifier: `uk-slidenav-contrast`
========================================================================== */
.uk-slidenav-contrast {
color: $slidenav-contrast-color;
@include hook-slidenav-contrast();
}
/*
* Hover
* 1. Apply hover style also to focus state
*/
.uk-slidenav-contrast:hover,
.uk-slidenav-contrast:focus { // 1
color: $slidenav-contrast-hover-color;
@include hook-slidenav-contrast-hover();
}
/* Active */
.uk-slidenav-contrast:active {
color: $slidenav-contrast-active-color;
@include hook-slidenav-contrast-active();
}
// Hooks
// ========================================================================
@include hook-slidenav-misc();
// @mixin hook-slidenav(){}
// @mixin hook-slidenav-hover(){}
// @mixin hook-slidenav-active(){}
// @mixin hook-slidenav-contrast(){}
// @mixin hook-slidenav-contrast-hover(){}
// @mixin hook-slidenav-contrast-active(){}
// @mixin hook-slidenav-misc(){}

View File

@@ -0,0 +1,139 @@
// Name: Slider
// Description: Defines styles for a horizontal slider
//
// Component: `uk-slider`
//
// Sub-objects: `uk-slider-container`
//
// Modifier: `uk-slider-fullscreen`
//
// States: `uk-drag`
//
// Markup:
//
// <!-- uk-slider -->
// <div data-uk-slider>
// <div class="uk-slider-container">
// <ul class="uk-slider">
// <li></li>
// <li></li>
// </ul>
// </div>
// </div>
//
// ========================================================================
/* ========================================================================
Component: Slider
========================================================================== */
/*
* RTL Compatibility
*/
[data-uk-slider] { direction: ltr; }
html[dir="rtl"] .uk-slider > * { direction: rtl; }
/*
* 1. Create position context
* 2. Create stacking context to prevent z-index issues with other components
* 3. Deactivate browser history navigation in IE11
*/
.uk-slider {
/* 1 */
position: relative;
/* 2 */
z-index: 0;
/* 3 */
touch-action: pan-y;
}
/*
* 1. Reset list style without interfering with grid
*/
.uk-slider:not(.uk-grid) {
/* 1 */
margin: 0;
padding: 0;
list-style: none;
}
/*
* Sub-object item
* 1. Position items above each other
*/
.uk-slider > * {
/* 1 */
position: absolute;
top: 0;
left: 0;
}
/*
* Clip child elements
*/
.uk-slider-container { overflow: hidden; }
/*
* Dragged
*/
.uk-slider:not(.uk-drag) {
-webkit-transition: -webkit-transform 200ms linear;
transition: transform 200ms linear;
}
/*
* 1. Makes text unselectable
*/
.uk-slider.uk-drag {
cursor: col-resize;
/* 1 */
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
/*
* 1. Prevents images and links from being dragged (default browser behavior)
* 2. Disables the default callout shown when you touch and hold a touch target
* Currently only works in Webkit
*/
.uk-slider a,
.uk-slider img {
/* 1 */
-webkit-user-drag: none;
user-drag: none;
/* 2 */
-webkit-touch-callout: none;
}
/*
* 1. Prevents images and links from being dragged in Firefox
*/
.uk-slider img { pointer-events: none; }
/* Modifier: `uk-slider-fullscreen`
========================================================================== */
.uk-slider-fullscreen,
.uk-slider-fullscreen > li { height: 100vh; }
// Hooks
// ========================================================================
@include hook-slider-misc();
// @mixin hook-slider-misc(){}

View File

@@ -0,0 +1,208 @@
// Name: Slideshow
// Description: Defines styles for a slideshow
//
// Component: `uk-slideshow`
//
// Modifier: `uk-slideshow-fullscreen`
//
// Sub-modifier: `uk-slideshow-fade-out`
// `uk-slideshow-scroll-forward-in`
// `uk-slideshow-scroll-forward-out`
// `uk-slideshow-scroll-backward-in`
// `uk-slideshow-scroll-backward-out`
// `uk-slideshow-scale-out`
// `uk-slideshow-swipe-forward-in`
// `uk-slideshow-swipe-forward-out`
// `uk-slideshow-swipe-backward-in`
// `uk-slideshow-swipe-backward-out`
//
// States: `uk-active`
//
// Uses: Cover (JS)
//
// Markup:
//
// <!-- uk-slideshow -->
// <ul class="uk-slideshow" data-uk-slideshow>
// <li><img src="" width="" height="" alt=""></li>
// </ul>
//
// ========================================================================
/* ========================================================================
Component: Slideshow
========================================================================== */
/*
* 1. Create position context
* 2. Create stacking context to prevent z-index issues with other components
* 3. Set width because child elements are positioned absolute. Height is set via JS
* 4. Reset list style
* 5. Clip child elements
* 6. Deactivate browser history navigation in IE11
*/
.uk-slideshow {
/* 1 */
position: relative;
/* 2 */
z-index: 0;
/* 3 */
width: 100%;
/* 4 */
margin: 0;
padding: 0;
list-style: none;
/* 5 */
overflow: hidden;
/* 6 */
touch-action: pan-y;
}
/*
* Sub-object item
* 1. Position items above each other
* 2. Expand to parent container width
* 3. Hide by default
*/
.uk-slideshow > li {
/* 1 */
position: absolute;
top: 0;
left: 0;
/* 2 */
width: 100%;
/* 3 */
opacity: 0;
}
/*
* Active
* 1. Stack at first
* 2. Show slide
*/
.uk-slideshow > .uk-active {
/* 1 */
z-index: 10;
/* 2 */
opacity: 1;
}
/*
* Hide default images which is only relevant to keep existing proportions
*/
.uk-slideshow > li > img { visibility: hidden; }
/*
* Pointer for controls
*/
[data-uk-slideshow-slide] { cursor: pointer; }
/* Modifier: `uk-slideshow-fullscreen`
========================================================================== */
.uk-slideshow-fullscreen,
.uk-slideshow-fullscreen > li { height: 100vh; }
/* Animations
========================================================================== */
/*
* Fade
*/
.uk-slideshow-fade-in {
-webkit-animation: uk-fade 0.5s linear;
animation: uk-fade 0.5s linear;
}
.uk-slideshow-fade-out {
-webkit-animation: uk-fade 0.5s linear reverse;
animation: uk-fade 0.5s linear reverse;
}
/*
* Scroll
*/
.uk-slideshow-scroll-forward-in {
-webkit-animation: uk-slide-right 0.5s ease-in-out;
animation: uk-slide-right 0.5s ease-in-out;
}
.uk-slideshow-scroll-forward-out {
-webkit-animation: uk-slide-left 0.5s ease-in-out reverse;
animation: uk-slide-left 0.5s ease-in-out reverse;
}
.uk-slideshow-scroll-backward-in {
-webkit-animation: uk-slide-left 0.5s ease-in-out;
animation: uk-slide-left 0.5s ease-in-out;
}
.uk-slideshow-scroll-backward-out {
-webkit-animation: uk-slide-right 0.5s ease-in-out reverse;
animation: uk-slide-right 0.5s ease-in-out reverse;
}
/*
* Scale
*/
.uk-slideshow-scale-out {
-webkit-animation: uk-fade-scale-15 0.5s ease-in-out reverse;
animation: uk-fade-scale-15 0.5s ease-in-out reverse;
}
/*
* Swipe
*/
.uk-slideshow-swipe-forward-in {
-webkit-animation: uk-slide-left-33 0.5s ease-in-out;
animation: uk-slide-left-33 0.5s ease-in-out;
}
.uk-slideshow-swipe-forward-out {
-webkit-animation: uk-slide-left 0.5s ease-in-out reverse;
animation: uk-slide-left 0.5s ease-in-out reverse;
}
.uk-slideshow-swipe-backward-in {
-webkit-animation: uk-slide-right-33 0.5s ease-in-out;
animation: uk-slide-right-33 0.5s ease-in-out;
}
.uk-slideshow-swipe-backward-out {
-webkit-animation: uk-slide-right 0.5s ease-in-out reverse;
animation: uk-slide-right 0.5s ease-in-out reverse;
}
.uk-slideshow-swipe-forward-in:before,
.uk-slideshow-swipe-backward-in:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
z-index: 1;
background: rgba(0,0,0,0.6);
-webkit-animation: uk-fade 0.5s ease-in-out reverse;
animation: uk-fade 0.5s ease-in-out reverse;
}
// Hooks
// ========================================================================
@include hook-slideshow-misc();
// @mixin hook-slideshow-misc(){}

View File

@@ -0,0 +1,124 @@
// Name: Sortable
// Description: Defines styles for sortable grids and lists
//
// Component: `uk-sortable`
//
// Sub-objects: `uk-sortable-handle`
// `uk-sortable-moving`
//
// Modifier: `uk-sortable-dragged`
// `uk-sortable-placeholder`
//
// Markup:
//
// <!-- uk-sortable -->
// <ul class="uk-sortable" data-uk-sortable>
// <li></li>
// <li></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$sortable-dragged-z-index: 1050 !default;
$sortable-placeholder-opacity: 0 !default;
$sortable-empty-height: 30px !default;
/* ========================================================================
Component: Sortable
========================================================================== */
.uk-sortable {
position: relative;
@include hook-sortable();
}
/*
* Deactivate browser touch actions in IE11
*/
.uk-sortable > * { touch-action: none; }
/*
* Disables the default callout shown when you touch and hold a touch target
* Currently only works in Webkit
*/
.uk-sortable a,
.uk-sortable img { -webkit-touch-callout: none; }
/*
* Remove margin from the last-child
*/
.uk-sortable > :last-child { margin-bottom: 0; }
/* Sub-modifier `uk-sortable-dragged`
========================================================================== */
.uk-sortable-dragged {
position: absolute;
z-index: $sortable-dragged-z-index;
pointer-events: none;
@include hook-sortable-dragged();
}
/* Sub-modifier `uk-sortable-placeholder`
========================================================================== */
.uk-sortable-placeholder {
opacity: $sortable-placeholder-opacity;
@include hook-sortable-placeholder();
}
/* Empty List
========================================================================== */
.uk-sortable-empty {
min-height: $sortable-empty-height;
@include hook-sortable-empty();
}
/* Sub-object `uk-sortable-handle`
========================================================================== */
/*
* Deactivate browser touch actions in IE11
*/
.uk-sortable-handle { touch-action: none; }
/* Hover */
.uk-sortable-handle:hover { cursor: move; }
/* Sub-object `uk-sortable-moving`
========================================================================== */
.uk-sortable-moving,
/* Needed if moving over links or buttons */
.uk-sortable-moving * { cursor: move; }
/* Fixes dragging items over iframes */
.uk-sortable-moving iframe { pointer-events: none; }
// Hooks
// ========================================================================
@include hook-sortable-misc();
// @mixin hook-sortable(){}
// @mixin hook-sortable-dragged(){}
// @mixin hook-sortable-placeholder(){}
// @mixin hook-sortable-empty(){}
// @mixin hook-sortable-misc(){}

View File

@@ -0,0 +1,57 @@
// Name: Sticky
// Description: Make elements remain at the top of the viewport
//
// Component: `data-uk-sticky`
//
// States: `uk-active`
//
// ========================================================================
// Variables
// ========================================================================
$sticky-z-index: 980 !default;
$sticky-animation-duration: 0.2s !default;
$sticky-reverse-animation-duration: 0.2s !default;
/* ========================================================================
Component: Sticky
========================================================================== */
/*
* 1. More robust if padding and border are used
* 2. Enable hardware acceleration for iOS browsers, resolves scrolling issue
*/
[data-uk-sticky].uk-active {
z-index: $sticky-z-index;
/* 1 */
box-sizing: border-box;
/* 2 */
-webkit-backface-visibility: hidden
}
/*
* Faster animations
*/
[data-uk-sticky][class*='uk-animation-'] {
-webkit-animation-duration: $sticky-animation-duration;
animation-duration: $sticky-animation-duration;
}
[data-uk-sticky].uk-animation-reverse {
-webkit-animation-duration: $sticky-reverse-animation-duration;
animation-duration: $sticky-reverse-animation-duration;
}
// Hooks
// ========================================================================
@include hook-sticky-misc();
// @mixin hook-sticky-misc(){}

View File

@@ -0,0 +1,177 @@
// Name: Tooltip
// Description: Defines styles for tooltips
//
// Component: `uk-tooltip`
//
// Modifiers `uk-tooltip-top`
// `uk-tooltip-top-left`
// `uk-tooltip-top-right`
// `uk-tooltip-bottom`
// `uk-tooltip-bottom-left`
// `uk-tooltip-bottom-right`
// `uk-tooltip-left`
// `uk-tooltip-right`
//
// ========================================================================
// Variables
// ========================================================================
$tooltip-z-index: 1030 !default;
$tooltip-max-width: 200px !default;
$tooltip-padding-vertical: 5px !default;
$tooltip-padding-horizontal: 8px !default;
$tooltip-background: #333 !default;
$tooltip-triangle-size: 5px !default;
$tooltip-color: rgba(255,255,255,0.7) !default;
$tooltip-font-size: 12px !default;
$tooltip-line-height: 18px !default;
$tooltip-offset-horizontal: 10px !default;
/* ========================================================================
Component: Tooltip
========================================================================== */
/*
* 1. Hide by default
* 2. Set fixed position
* 3. Set dimensions
* 4. Set style
*/
.uk-tooltip {
/* 1 */
display: none;
/* 2 */
position: absolute;
z-index: $tooltip-z-index;
/* 3 */
box-sizing: border-box;
max-width: $tooltip-max-width;
padding: $tooltip-padding-vertical $tooltip-padding-horizontal;
/* 4 */
background: $tooltip-background;
color: $tooltip-color;
font-size: $tooltip-font-size;
line-height: $tooltip-line-height;
@include hook-tooltip();
}
/* Triangle
========================================================================== */
/*
* 1. Dashed is less antialised than solid
*/
.uk-tooltip:after {
content: "";
display: block;
position: absolute;
width: 0;
height: 0;
/* 1 */
border: $tooltip-triangle-size dashed $tooltip-background;
}
/* Direction modifiers
========================================================================== */
/*
* Top
*/
.uk-tooltip-top:after,
.uk-tooltip-top-left:after,
.uk-tooltip-top-right:after {
bottom: -$tooltip-triangle-size;
border-top-style: solid;
border-bottom: none;
border-left-color: transparent;
border-right-color: transparent;
border-top-color: $tooltip-background;
}
/*
* Bottom
*/
.uk-tooltip-bottom:after,
.uk-tooltip-bottom-left:after,
.uk-tooltip-bottom-right:after {
top: -$tooltip-triangle-size;
border-bottom-style: solid;
border-top: none;
border-left-color: transparent;
border-right-color: transparent;
border-bottom-color: $tooltip-background;
}
/*
* Top/Bottom center
*/
.uk-tooltip-top:after,
.uk-tooltip-bottom:after {
left: 50%;
margin-left: -$tooltip-triangle-size;
}
/*
* Top/Bottom left
*/
.uk-tooltip-top-left:after,
.uk-tooltip-bottom-left:after { left: $tooltip-offset-horizontal; }
/*
* Top/Bottom right
*/
.uk-tooltip-top-right:after,
.uk-tooltip-bottom-right:after { right: $tooltip-offset-horizontal; }
/*
* Left
*/
.uk-tooltip-left:after {
right: -$tooltip-triangle-size;
top: 50%;
margin-top: -$tooltip-triangle-size;
border-left-style: solid;
border-right: none;
border-top-color: transparent;
border-bottom-color: transparent;
border-left-color: $tooltip-background;
}
/*
* Right
*/
.uk-tooltip-right:after {
left: -$tooltip-triangle-size;
top: 50%;
margin-top: -$tooltip-triangle-size;
border-right-style: solid;
border-left: none;
border-top-color: transparent;
border-bottom-color: transparent;
border-right-color: $tooltip-background;
}
// Hooks
// ========================================================================
@include hook-tooltip-misc();
// @mixin hook-tooltip(){}
// @mixin hook-tooltip-misc(){}

View File

@@ -0,0 +1,34 @@
// Name: Upload
// Description: Provides a dragover state for uploads
//
// Component: `uk-upload`
//
// States: `uk-dragover`
//
// ========================================================================
// Variables
// ========================================================================
$uk-upload-dragover-box-shadow: rgba(100,100,100,0.3) !default;
$uk-upload-dragover-box-shadow-blur: 20px !default;
/* ========================================================================
Component: Upload
========================================================================== */
/*
* Create a box-shadow when dragging a file over the upload area
*/
.uk-dragover { box-shadow: 0 0 $uk-upload-dragover-box-shadow-blur $uk-upload-dragover-box-shadow; }
// Hooks
// ========================================================================
@include hook-upload-misc();
// @mixin hook-upload-misc(){}

View File

@@ -0,0 +1,141 @@
// Name: Alert
// Description: Defines styles for alert messages
//
// Component: `uk-alert`
//
// Sub-objects: `uk-alert-close`
//
// Modifiers: `uk-alert-success`
// `uk-alert-warning`
// `uk-alert-danger`
// `uk-alert-large`
//
// Uses: Close: `uk-close`
//
// Markup:
//
// <!-- uk-alert -->
// <div class="uk-alert" data-uk-alert>
// <a href="#" class="uk-alert-close uk-close"></a>
// <p></p>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$alert-margin-vertical: 15px !default;
$alert-padding: 10px !default;
$alert-background: #ebf7fd !default;
$alert-color: #2d7091 !default;
$alert-success-background: #f2fae3 !default;
$alert-success-color: #659f13 !default;
$alert-warning-background: #fffceb !default;
$alert-warning-color: #e28327 !default;
$alert-danger-background: #fff1f0 !default;
$alert-danger-color: #d85030 !default;
$alert-large-padding: 20px !default;
/* ========================================================================
Component: Alert
========================================================================== */
.uk-alert {
margin-bottom: $alert-margin-vertical;
padding: $alert-padding;
background: $alert-background;
color: $alert-color;
@include hook-alert();
}
/*
* Add margin if adjacent element
*/
* + .uk-alert { margin-top: $alert-margin-vertical; }
/*
* Remove margin from the last-child
*/
.uk-alert > :last-child { margin-bottom: 0; }
/*
* Keep color for headings if the default heading color is changed
*/
.uk-alert h1,
.uk-alert h2,
.uk-alert h3,
.uk-alert h4,
.uk-alert h5,
.uk-alert h6 { color: inherit; }
/* Close in alert
========================================================================== */
.uk-alert > .uk-close:first-child { float: right; }
/*
* Remove margin from adjacent element
*/
.uk-alert > .uk-close:first-child + * { margin-top: 0; }
/* Modifier: `uk-alert-success`
========================================================================== */
.uk-alert-success {
background: $alert-success-background;
color: $alert-success-color;
@include hook-alert-success();
}
/* Modifier: `uk-alert-warning`
========================================================================== */
.uk-alert-warning {
background: $alert-warning-background;
color: $alert-warning-color;
@include hook-alert-warning();
}
/* Modifier: `uk-alert-danger`
========================================================================== */
.uk-alert-danger {
background: $alert-danger-background;
color: $alert-danger-color;
@include hook-alert-danger();
}
/* Modifier: `uk-alert-large`
========================================================================== */
.uk-alert-large { padding: $alert-large-padding; }
.uk-alert-large > .uk-close:first-child { margin: -10px -10px 0 0; }
// Hooks
// ========================================================================
@include hook-alert-misc();
// @mixin hook-alert(){}
// @mixin hook-alert-success(){}
// @mixin hook-alert-warning(){}
// @mixin hook-alert-danger(){}
// @mixin hook-alert-misc(){}

View File

@@ -0,0 +1,599 @@
// Name: Animation
// Description: Provides a useful set of keyframe animations
//
// Component: `uk-animation-*`
//
// Modifiers: `uk-animation-fade`
// `uk-animation-scale-up`
// `uk-animation-scale-down`
// `uk-animation-slide-top`
// `uk-animation-slide-bottom`
// `uk-animation-slide-left`
// `uk-animation-slide-right`
// `uk-animation-scale`
// `uk-animation-shake`
// `uk-animation-reverse`
// `uk-animation-15`
// `uk-animation-top-left`
// `uk-animation-top-center`
// `uk-animation-top-right`
// `uk-animation-middle-left`
// `uk-animation-middle-right`
// `uk-animation-bottom-left`
// `uk-animation-bottom-center`
// `uk-animation-bottom-right`
//
// Sub-objects: `uk-animation-hover`
//
// Uses: Scrollspy
//
// Used by: Dropdown
// Icon
// Search
// Datepicker
// Slideshow
//
// ========================================================================
/* ========================================================================
Component: Animation
========================================================================== */
[class*='uk-animation-'] {
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
-webkit-animation-timing-function: ease-out;
animation-timing-function: ease-out;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
/* Hide animated element if scrollspy is used */
@media screen {
[data-uk-scrollspy*='uk-animation-']:not([data-uk-scrollspy*='target']) { opacity: 0; }
}
/*
* Fade
* Higher specificity (!important) needed because of reverse modifier
*/
.uk-animation-fade {
-webkit-animation-name: uk-fade;
animation-name: uk-fade;
-webkit-animation-duration: 0.8s;
animation-duration: 0.8s;
-webkit-animation-timing-function: linear !important;
animation-timing-function: linear !important;
}
/*
* Fade with scale
*/
.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;
}
/*
* Fade with slide
*/
.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;
}
/*
* Scale
*/
.uk-animation-scale {
-webkit-animation-name: uk-scale-12;
animation-name: uk-scale-12;
}
/*
* Shake
*/
.uk-animation-shake {
-webkit-animation-name: uk-shake;
animation-name: uk-shake;
}
/* Direction modifiers
========================================================================== */
.uk-animation-reverse {
-webkit-animation-direction: reverse;
animation-direction: reverse;
-webkit-animation-timing-function: ease-in;
animation-timing-function: ease-in;
}
/* Duration modifiers
========================================================================== */
.uk-animation-15 {
-webkit-animation-duration: 15s;
animation-duration: 15s;
}
/* Origin modifiers
========================================================================== */
.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%;
}
/* Sub-object: `uk-animation-hover`
========================================================================== */
/*
* Enable animation only on hover
* Note: Firefox also needs this because animations are not triggered when switching between display `hidden` and `block`
*/
.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;
}
/* Keyframes: Fade
* Used by dropdown, datepicker and slideshow component
========================================================================== */
@-webkit-keyframes uk-fade {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes uk-fade {
0% { opacity: 0; }
100% { opacity: 1; }
}
/* Keyframes: Fade with slide
========================================================================== */
/*
* Top
*/
@-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);
}
}
/*
* Bottom
*/
@-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);
}
}
/*
* Left
*/
@-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);
}
}
/*
* Right
*/
@-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);
}
}
/* Keyframes: Fade with scale
========================================================================== */
/*
* Scale by 0.2
*/
@-webkit-keyframes uk-fade-scale-02 {
0% {
opacity: 0;
-webkit-transform: scale(0.2);
}
100% {
opacity: 1;
-webkit-transform: scale(1);
}
}
@keyframes uk-fade-scale-02 {
0% {
opacity: 0;
transform: scale(0.2);
}
100% {
opacity: 1;
transform: scale(1);
}
}
/*
* Scale by 1.5
* Used by slideshow component
*/
@-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);
}
}
/*
* Scale by 1.8
*/
@-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);
}
}
/* Keyframes: Slide
* Used by slideshow component
========================================================================== */
/*
* Left
*/
@-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); }
}
/*
* Right
*/
@-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); }
}
/*
* Left third
*/
@-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); }
}
/*
* Right third
*/
@-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); }
}
/* Keyframes: Scale
========================================================================== */
@-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); }
}
/* Keyframes: Rotate
* Used by icon component
========================================================================== */
@-webkit-keyframes uk-rotate {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(359deg); }
}
@keyframes uk-rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(359deg); }
}
/* Keyframes: Shake
========================================================================== */
@-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); }
}
/* Keyframes: Fade with slide fixed
* Used by dropdown and search component
========================================================================== */
/*
* Top fixed
*/
@-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);
}
}
/*
* Bottom fixed
*/
@-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);
}
}
// Hooks
// ========================================================================
@include hook-animation-misc();
// @mixin hook-animation-misc(){}

View File

@@ -0,0 +1,139 @@
// Name: Article
// Description: Defines styles for articles within your page
//
// Component: `uk-article`
//
// Sub-objects: `uk-article-title`
// `uk-article-meta`
// `uk-article-lead`
// `uk-article-divider`
//
// Markup:
//
// <!-- uk-article -->
// <div class="uk-article">
// <h1 class="uk-article-title"></h1>
// <p class="uk-article-meta"></p>
// <p class="uk-article-lead"></p>
// <p></p>
// <hr class="uk-article-divider">
// <p></p>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$article-margin-top: 25px !default;
$article-title-font-size: 36px !default;
$article-title-line-height: 42px !default;
$article-title-font-weight: normal !default;
$article-title-text-transform: none !default;
$article-meta-font-size: 12px !default;
$article-meta-line-height: 18px !default;
$article-meta-color: #999 !default;
$article-lead-color: #444 !default;
$article-lead-font-size: 18px !default;
$article-lead-line-height: 24px !default;
$article-lead-font-weight: normal !default;
$article-divider-margin: 25px !default;
$article-divider-border: #ddd !default;
/* ========================================================================
Component: Article
========================================================================== */
/*
* Micro clearfix to make articles more robust
*/
.uk-article:before,
.uk-article:after {
content: "";
display: table;
}
.uk-article:after { clear: both; }
/*
* Remove margin from the last-child
*/
.uk-article > :last-child { margin-bottom: 0; }
/*
* Vertical gutter for articles
*/
.uk-article + .uk-article { margin-top: $article-margin-top; }
/* Sub-object `uk-article-title`
========================================================================== */
.uk-article-title {
font-size: $article-title-font-size;
line-height: $article-title-line-height;
font-weight: $article-title-font-weight;
text-transform: $article-title-text-transform;
@include hook-article-title();
}
.uk-article-title a {
color: inherit;
text-decoration: none;
}
/* Sub-object `uk-article-meta`
========================================================================== */
.uk-article-meta {
font-size: $article-meta-font-size;
line-height: $article-meta-line-height;
color: $article-meta-color;
@include hook-article-meta();
}
/* Sub-object `uk-article-lead`
========================================================================== */
.uk-article-lead {
color: $article-lead-color;
font-size: $article-lead-font-size;
line-height: $article-lead-line-height;
font-weight: $article-lead-font-weight;
@include hook-article-lead();
}
/* Sub-object `uk-article-divider`
========================================================================== */
.uk-article-divider {
margin-bottom: $article-divider-margin;
border-color: $article-divider-border;
@include hook-article-divider();
}
* + .uk-article-divider { margin-top: $article-divider-margin; }
// Hooks
// ========================================================================
@include hook-article-misc();
// @mixin hook-article-title(){}
// @mixin hook-article-meta(){}
// @mixin hook-article-lead(){}
// @mixin hook-article-divider(){}
// @mixin hook-article-misc(){}

View File

@@ -0,0 +1,110 @@
// Name: Badge
// Description: Defines styles for badges
//
// Component: `uk-badge`
//
// Modifiers: `uk-badge-notification`
// `uk-badge-success`
// `uk-badge-danger`
//
// ========================================================================
// Variables
// ========================================================================
$badge-background: #00a8e6 !default;
$badge-padding-horizontal: 5px !default;
$badge-font-size: 10px !default;
$badge-font-weight: bold !default;
$badge-line-height: 14px !default;
$badge-color: #fff !default;
$badge-text-transform: none !default;
$badge-hover-color: #fff !default;
$badge-notification-font-size: 12px !default;
$badge-notification-line-height: 18px !default;
$badge-success-background: #8cc14c !default;
$badge-warning-background: #faa732 !default;
$badge-danger-background: #da314b !default;
/* ========================================================================
Component: Badge
========================================================================== */
.uk-badge {
display: inline-block;
padding: 0 $badge-padding-horizontal;
background: $badge-background;
font-size: $badge-font-size;
font-weight: $badge-font-weight;
line-height: $badge-line-height;
color: $badge-color;
text-align: center;
vertical-align: middle;
text-transform: $badge-text-transform;
@include hook-badge();
}
/*
* Keep color when badge is a link
*/
a.uk-badge:hover { color: $badge-hover-color; }
/* Modifier: `uk-badge-notification`;
========================================================================== */
.uk-badge-notification {
box-sizing: border-box;
min-width: $badge-notification-line-height;
border-radius: 500px;
font-size: $badge-notification-font-size;
line-height: $badge-notification-line-height;
}
/* Color modifier
========================================================================== */
/*
* Modifier: `uk-badge-success`
*/
.uk-badge-success {
background-color: $badge-success-background;
@include hook-badge-success();
}
/*
* Modifier: `uk-badge-warning`
*/
.uk-badge-warning {
background-color: $badge-warning-background;
@include hook-badge-warning();
}
/*
* Modifier: `uk-badge-danger`
*/
.uk-badge-danger {
background-color: $badge-danger-background;
@include hook-badge-danger();
}
// Hooks
// ========================================================================
@include hook-badge-misc();
// @mixin hook-badge(){}
// @mixin hook-badge-success(){}
// @mixin hook-badge-warning(){}
// @mixin hook-badge-danger(){}
// @mixin hook-badge-misc(){}

View File

@@ -0,0 +1,563 @@
// Name: Base
// Description: Sets default values for HTML elements
//
// Component: `uk-h1`, `uk-h2`, `uk-h3`, `uk-h4`, `uk-h5`, `uk-h6`
// `uk-link`
// `uk-img-preserve`
//
// ========================================================================
// Variables
// ========================================================================
$base-body-background: #fff !default;
$base-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$base-body-font-weight: normal !default;
$base-body-font-size: 14px !default;
$base-body-line-height: 20px !default;
$base-body-color: #444 !default;
$base-link-color: #07D !default;
$base-link-text-decoration: none !default;
$base-link-hover-color: #059 !default;
$base-link-hover-text-decoration: underline !default;
$base-code-color: #D05 !default;
$base-code-font-size: 12px !default;
$base-code-font-family: Consolas, monospace, serif !default;
$base-em-color: #D05 !default;
$base-ins-background: #ffa !default;
$base-ins-color: #444 !default;
$base-mark-background: #ffa !default;
$base-mark-color: #444 !default;
$base-quote-font-style: italic !default;
$base-margin-vertical: 15px !default;
$base-heading-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$base-heading-font-weight: normal !default;
$base-heading-color: #444 !default;
$base-heading-text-transform: none !default;
$base-heading-margin-top: 25px !default;
$base-h1-font-size: 36px !default;
$base-h1-line-height: 42px !default;
$base-h2-font-size: 24px !default;
$base-h2-line-height: 30px !default;
$base-h3-font-size: 18px !default;
$base-h3-line-height: 24px !default;
$base-h4-font-size: 16px !default;
$base-h4-line-height: 22px !default;
$base-h5-font-size: 14px !default;
$base-h5-line-height: 20px !default;
$base-h6-font-size: 12px !default;
$base-h6-line-height: 18px !default;
$base-list-padding-left: 30px !default;
$base-hr-margin-vertical: $base-margin-vertical !default;
$base-hr-border: #ddd !default;
$base-hr-border-width: 1px !default;
$base-blockquote-padding-left: 15px !default;
$base-blockquote-border: #ddd !default;
$base-blockquote-border-width: 5px !default;
$base-blockquote-font-size: 16px !default;
$base-blockquote-line-height: 22px !default;
$base-blockquote-font-style: italic !default;
$base-pre-padding: 10px !default;
$base-pre-background: #f5f5f5 !default;
$base-pre-color: #444 !default;
$base-pre-font-size: 12px !default;
$base-pre-line-height: 18px !default;
$base-pre-font-family: $base-code-font-family !default;
$base-selection-background: #39f !default;
$base-selection-color: #fff !default;
/* ========================================================================
Component: Base
========================================================================== */
/*
* 1. Normalize default `font-family` and set `font-size` to support `rem` units
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
* 3. Style
*/
html {
/* 1 */
font: $base-body-font-weight $base-body-font-size unquote("/") $base-body-line-height $base-body-font-family;
/* 2 */
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
/* 3 */
background: $base-body-background;
color: $base-body-color;
@include hook-base-body();
}
/*
* Removes default margin.
*/
body { margin: 0; }
/* Links
========================================================================== */
/*
* Remove the gray background color from active links in IE 10.
*/
a { background: transparent; }
/*
* Improve readability of focused elements when they are also in an active/hover state.
*/
a:active,
a:hover { outline: 0; }
/*
* Style
*/
a,
.uk-link {
color: $base-link-color;
text-decoration: $base-link-text-decoration;
cursor: pointer;
@include hook-base-link();
}
a:hover,
.uk-link:hover {
color: $base-link-hover-color;
text-decoration: $base-link-hover-text-decoration;
@include hook-base-link-hover();
}
/* Text-level semantics
========================================================================== */
/*
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] { border-bottom: 1px dotted; }
/*
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong { font-weight: bold; }
/*
* 1. Address odd `em`-unit font size rendering in all browsers.
* 2. Consolas has a better baseline in running text compared to `Courier`
*/
:not(pre) > code,
:not(pre) > kbd,
:not(pre) > samp {
/* 1 */
font-size: $base-code-font-size;
/* 2 */
font-family: $base-code-font-family;
/* 3 */
color: $base-code-color;
white-space: nowrap;
@include hook-base-code();
}
/*
* Emphasize
*/
em { color: $base-em-color; }
/*
* Insert
*/
ins {
background: $base-ins-background;
color: $base-ins-color;
text-decoration: none;
}
/*
* Mark
* Note: Addresses styling not present in IE 8/9.
*/
mark {
background: $base-mark-background;
color: $base-mark-color;
}
/*
* Quote
*/
q { font-style: $base-quote-font-style; }
/*
* Addresses inconsistent and variable font size in all browsers.
*/
small { font-size: 80%; }
/*
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }
/* Embedded content
========================================================================== */
/*
* Remove the gap between embedded content and the bottom of their containers.
*/
audio,
canvas,
iframe,
img,
svg,
video { vertical-align: middle; }
/*
* Responsiveness
* 1. Sets a maximum width relative to the parent and auto scales the height
* 2. Corrects `max-width` behavior if padding and border are used
*/
audio,
canvas,
img,
svg,
video {
/* 1 */
max-width: 100%;
height: auto;
/* 2 */
box-sizing: border-box;
}
/*
* Preserve original dimensions
*/
.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; }
/*
* Remove border when inside `a` element in IE 8/9/10.
*/
img { border: 0; }
/*
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) { overflow: hidden; }
/* Block elements
========================================================================== */
/*
* Reset margin
*/
blockquote,
figure { margin: 0; }
/*
* Margins
*/
p,
ul,
ol,
dl,
blockquote,
pre,
address,
fieldset,
figure { margin: 0 0 $base-margin-vertical 0; }
* + p,
* + ul,
* + ol,
* + dl,
* + blockquote,
* + pre,
* + address,
* + fieldset,
* + figure { margin-top: $base-margin-vertical; }
/* Headings
========================================================================== */
h1, h2, h3, h4, h5, h6 {
margin: 0 0 $base-margin-vertical 0;
font-family: $base-heading-font-family;
font-weight: $base-heading-font-weight;
color: $base-heading-color;
text-transform: $base-heading-text-transform;
@include hook-base-h();
}
/*
* Margins
*/
* + h1,
* + h2,
* + h3,
* + h4,
* + h5,
* + h6 { margin-top: $base-heading-margin-top; }
/*
* Sizes
*/
h1, .uk-h1 {
font-size: $base-h1-font-size;
line-height: $base-h1-line-height;
@include hook-base-h1();
}
h2, .uk-h2 {
font-size: $base-h2-font-size;
line-height: $base-h2-line-height;
@include hook-base-h2();
}
h3, .uk-h3 {
font-size: $base-h3-font-size;
line-height: $base-h3-line-height;
@include hook-base-h3();
}
h4, .uk-h4 {
font-size: $base-h4-font-size;
line-height: $base-h4-line-height;
@include hook-base-h4();
}
h5, .uk-h5 {
font-size: $base-h5-font-size;
line-height: $base-h5-line-height;
@include hook-base-h5();
}
h6, .uk-h6 {
font-size: $base-h6-font-size;
line-height: $base-h6-line-height;
@include hook-base-h6();
}
/* Lists
========================================================================== */
ul,
ol { padding-left: $base-list-padding-left; }
/*
* Reset margin for nested lists
*/
ul > li > ul,
ul > li > ol,
ol > li > ol,
ol > li > ul { margin: 0; }
/* Description lists
========================================================================== */
dt { font-weight: bold; }
dd { margin-left: 0; }
/* Horizontal rules
========================================================================== */
/*
* 1. Address differences between Firefox and other browsers.
* 2. Style
*/
hr {
/* 1 */
box-sizing: content-box;
height: 0;
/* 2 */
margin: $base-hr-margin-vertical 0;
border: 0;
border-top: $base-hr-border-width solid $base-hr-border;
@include hook-base-hr();
}
/* Address
========================================================================== */
address { font-style: normal; }
/* Blockquotes
========================================================================== */
blockquote {
padding-left: $base-blockquote-padding-left;
border-left: $base-blockquote-border-width solid $base-blockquote-border;
font-size: $base-blockquote-font-size;
line-height: $base-blockquote-line-height;
font-style: $base-blockquote-font-style;
@include hook-base-blockquote();
}
/* Preformatted text
========================================================================== */
/*
* 1. Contain overflow in all browsers.
*/
pre {
padding: $base-pre-padding;
background: $base-pre-background;
font: $base-pre-font-size unquote("/") $base-pre-line-height $base-pre-font-family;
color: $base-pre-color;
-moz-tab-size: 4;
tab-size: 4;
/* 1 */
overflow: auto;
@include hook-base-pre();
}
/* Selection pseudo-element
========================================================================== */
::-moz-selection {
background: $base-selection-background;
color: $base-selection-color;
text-shadow: none;
}
::selection {
background: $base-selection-background;
color: $base-selection-color;
text-shadow: none;
}
/* HTML5 elements
========================================================================== */
/*
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary { display: block; }
/*
* Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
progress { vertical-align: baseline; }
/*
* Prevent displaying `audio` without controls in Chrome, Safari and Opera
*/
audio:not([controls]) { display: none; }
/*
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
[hidden],
template { display: none; }
/* Iframe
========================================================================== */
iframe { border: 0; }
/* Fix viewport for IE10 snap mode
========================================================================== */
@media screen and (max-width: 400px) {
@-ms-viewport{
width: device-width;
}
}
// Hooks
// ========================================================================
@include hook-base-misc();
// @mixin hook-base-body(){}
// @mixin hook-base-link(){}
// @mixin hook-base-link-hover(){}
// @mixin hook-base-code(){}
// @mixin hook-base-h(){}
// @mixin hook-base-h1(){}
// @mixin hook-base-h2(){}
// @mixin hook-base-h3(){}
// @mixin hook-base-h4(){}
// @mixin hook-base-h5(){}
// @mixin hook-base-h6(){}
// @mixin hook-base-hr(){}
// @mixin hook-base-blockquote(){}
// @mixin hook-base-pre(){}
// @mixin hook-base-misc(){}

View File

@@ -0,0 +1,155 @@
// Name: Block
// Description: Defines styles to create horizontal layout blocks
//
// Component: `uk-block`
//
// Modifiers: `uk-block-large`
// `uk-block-default`
// `uk-block-muted`
// `uk-block-primary`
// `uk-block-secondary`
//
// ========================================================================
// Variables
// ========================================================================
$block-padding-vertical: 20px !default;
$block-padding-vertical-large: 50px !default;
$block-large-padding-vertical: $block-padding-vertical !default;
$block-large-padding-vertical-medium: $block-padding-vertical-large !default;
$block-large-padding-vertical-large: 100px !default;
$block-default-background: #fff !default;
$block-muted-background: #f9f9f9 !default;
$block-primary-background: #00a8e6 !default;
$block-secondary-background: #222 !default;
/* ========================================================================
Component: Block
========================================================================== */
.uk-block {
position: relative;
box-sizing: border-box;
padding-top: $block-padding-vertical;
padding-bottom: $block-padding-vertical;
@include hook-block();
}
/* Phone landscape and bigger */
@media (min-width: $breakpoint-medium) {
.uk-block {
padding-top: $block-padding-vertical-large;
padding-bottom: $block-padding-vertical-large;
}
}
/*
* Micro clearfix to make blocks more robust
*/
.uk-block:before,
.uk-block:after {
content: "";
display: table;
}
.uk-block:after { clear: both; }
/*
* Remove margin from the last-child
*/
.uk-block > :last-child { margin-bottom: 0; }
/* Padding Modifier
========================================================================== */
/*
* Large padding
*/
.uk-block-large {
padding-top: $block-large-padding-vertical;
padding-bottom: $block-large-padding-vertical;
}
/* Tablets and bigger */
@media (min-width: $breakpoint-medium) {
.uk-block-large {
padding-top: $block-large-padding-vertical-medium;
padding-bottom: $block-large-padding-vertical-medium;
}
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.uk-block-large {
padding-top: $block-large-padding-vertical-large;
padding-bottom: $block-large-padding-vertical-large;
}
}
/* Color Modifier
========================================================================== */
/*
* Default
*/
.uk-block-default {
background: $block-default-background;
@include hook-block-default();
}
/*
* Muted
*/
.uk-block-muted {
background: $block-muted-background;
@include hook-block-muted();
}
/*
* Primary
*/
.uk-block-primary {
background: $block-primary-background;
@include hook-block-primary();
}
/*
* Secondary
*/
.uk-block-secondary {
background: $block-secondary-background;
@include hook-block-secondary();
}
// Hooks
// ========================================================================
@include hook-block-misc();
// @mixin hook-block(){}
// @mixin hook-block-default(){}
// @mixin hook-block-muted(){}
// @mixin hook-block-secondary(){}
// @mixin hook-block-primary(){}
// @mixin hook-block-misc(){}

View File

@@ -0,0 +1,86 @@
// Name: Breadcrumb
// Description: Defines styles for a breadcrumb navigation
//
// Component: `uk-breadcrumb`
//
// States: `uk-active`
//
// Markup:
//
// <!-- uk-breadcrumb -->
// <ul class="uk-breadcrumb">
// <li><a href=""></a></li>
// <li><span></span></li>
// <li class="uk-active"><span></span></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$breadcrumb-font-size: 1rem !default;
$breadcrumb-divider: "/" !default;
$breadcrumb-divider-margin: 8px !default;
$breadcrumb-disabled-color: #999 !default;
/* ========================================================================
Component: Breadcrumb
========================================================================== */
/*
* 1. Remove default list style
* 2. Remove whitespace between child elements when using `inline-block`
*/
.uk-breadcrumb {
/* 1 */
padding: 0;
list-style: none;
/* 2 */
font-size: 0.001px;
@include hook-breadcrumb();
}
/* Items
========================================================================== */
/*
* Reset whitespace hack
*/
.uk-breadcrumb > li {
font-size: $breadcrumb-font-size;
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: $breadcrumb-divider;
display: inline-block;
margin: 0 $breadcrumb-divider-margin;
@include hook-breadcrumb-divider();
}
/*
* Disabled
*/
.uk-breadcrumb > li:not(.uk-active) > span { color: $breadcrumb-disabled-color; }
// Hooks
// ========================================================================
@include hook-breadcrumb-misc();
// @mixin hook-breadcrumb(){}
// @mixin hook-breadcrumb-divider(){}
// @mixin hook-breadcrumb-misc(){}

View File

@@ -0,0 +1,406 @@
// Name: Button
// Description: Defines styles for buttons
//
// Component: `uk-button`
//
// Sub-objects: `uk-button-group`
// `uk-button-dropdown`
//
// Modifiers: `uk-button-primary`
// `uk-button-success`
// `uk-button-danger`
// `uk-button-link`
// `uk-button-mini`
// `uk-button-small`
// `uk-button-large`
//
// States: `uk-active`
//
// Markup:
//
// <!-- uk-button-group -->
// <div class="uk-button-group">
// <button class="uk-button"></button>
// <button class="uk-button"></button>
// </div>
//
// <!-- uk-button-dropdown -->
// <div class="uk-button-dropdown" data-uk-dropdown>
// <button class="uk-button"></button>
// <div class="uk-dropdown uk-dropdown-small">
// <ul class="uk-nav uk-nav-dropdown">
// <li><a href=""></a></li>
// </ul>
// </div>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$button-height: 30px !default;
$button-mini-height: 20px !default;
$button-small-height: 25px !default;
$button-large-height: 40px !default;
$button-line-height: 30px !default;
$button-mini-line-height: 20px !default;
$button-small-line-height: 25px !default;
$button-large-line-height: 40px !default;
$button-mini-font-size: 11px !default;
$button-small-font-size: 12px !default;
$button-large-font-size: 16px !default;
$button-padding-horizontal: 12px !default;
$button-mini-padding-horizontal: 6px !default;
$button-small-padding-horizontal: 10px !default;
$button-large-padding-horizontal: 15px !default;
$button-font-size: 1rem !default;
$button-background: #eee !default;
$button-color: #444 !default;
$button-hover-background: #f5f5f5 !default;
$button-hover-color: #444 !default;
$button-active-background: #ddd !default;
$button-active-color: #444 !default;
$button-primary-background: #00a8e6 !default;
$button-primary-color: #fff !default;
$button-primary-hover-background: #35b3ee !default;
$button-primary-hover-color: #fff !default;
$button-primary-active-background: #0091ca !default;
$button-primary-active-color: #fff !default;
$button-success-background: #8cc14c !default;
$button-success-color: #fff !default;
$button-success-hover-background: #8ec73b !default;
$button-success-hover-color: #fff !default;
$button-success-active-background: #72ae41 !default;
$button-success-active-color: #fff !default;
$button-danger-background: #da314b !default;
$button-danger-color: #fff !default;
$button-danger-hover-background: #e4354f !default;
$button-danger-hover-color: #fff !default;
$button-danger-active-background: #c91032 !default;
$button-danger-active-color: #fff !default;
$button-disabled-background: #f5f5f5 !default;
$button-disabled-color: #999 !default;
$button-link-color: #07D !default;
$button-link-hover-color: #059 !default;
$button-link-hover-text-decoration: underline !default;
$button-link-disabled-color: #999 !default;
/* ========================================================================
Component: Button
========================================================================== */
/*
* Removes inner padding and border in Firefox 4+.
*/
.uk-button::-moz-focus-inner {
border: 0;
padding: 0;
}
/*
* 1. Correct inability to style clickable `input` types in iOS.
* 2. Remove margins in Chrome, Safari and Opera.
* 3. Remove borders for `button`.
* 4. Address `overflow` set to `hidden` in IE 8/9/10/11.
* 5. Correct `font` properties and `color` not being inherited for `button`.
* 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE
* 7. Style
* 8. `line-height` is used to create a height
* 9. `min-height` is necessary for `input` elements in Firefox and Opera because `line-height` is not working.
* 10. Reset button group whitespace hack
* 11. Required for `a`.
*/
.uk-button {
/* 1 */
-webkit-appearance: none;
/* 2 */
margin: 0;
/* 3 */
border: none;
/* 4 */
overflow: visible;
/* 5 */
font: inherit;
color: $button-color;
/* 6 */
text-transform: none;
/* 7 */
display: inline-block;
box-sizing: border-box;
padding: 0 $button-padding-horizontal;
background: $button-background;
vertical-align: middle;
/* 8 */
line-height: $button-line-height;
/* 9 */
min-height: $button-height;
/* 10 */
font-size: $button-font-size;
/* 11 */
text-decoration: none;
text-align: center;
@include hook-button();
}
.uk-button:not(:disabled) { cursor: pointer; }
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
* 3. Required for `a` elements
*/
.uk-button:hover,
.uk-button:focus { // 1
background-color: $button-hover-background;
color: $button-hover-color;
/* 2 */
outline: none;
/* 3 */
text-decoration: none;
@include hook-button-hover();
}
/* Active */
.uk-button:active,
.uk-button.uk-active {
background-color: $button-active-background;
color: $button-active-color;
@include hook-button-active();
}
/* Color modifiers
========================================================================== */
/*
* Modifier: `uk-button-primary`
*/
.uk-button-primary {
background-color: $button-primary-background;
color: $button-primary-color;
@include hook-button-primary();
}
/* Hover */
.uk-button-primary:hover,
.uk-button-primary:focus {
background-color: $button-primary-hover-background;
color: $button-primary-hover-color;
@include hook-button-primary-hover();
}
/* Active */
.uk-button-primary:active,
.uk-button-primary.uk-active {
background-color: $button-primary-active-background;
color: $button-primary-active-color;
@include hook-button-primary-active();
}
/*
* Modifier: `uk-button-success`
*/
.uk-button-success {
background-color: $button-success-background;
color: $button-success-color;
@include hook-button-success();
}
/* Hover */
.uk-button-success:hover,
.uk-button-success:focus {
background-color: $button-success-hover-background;
color: $button-success-hover-color;
@include hook-button-success-hover();
}
/* Active */
.uk-button-success:active,
.uk-button-success.uk-active {
background-color: $button-success-active-background;
color: $button-success-active-color;
@include hook-button-success-active();
}
/*
* Modifier: `uk-button-danger`
*/
.uk-button-danger {
background-color: $button-danger-background;
color: $button-danger-color;
@include hook-button-danger();
}
/* Hover */
.uk-button-danger:hover,
.uk-button-danger:focus {
background-color: $button-danger-hover-background;
color: $button-danger-hover-color;
@include hook-button-danger-hover();
}
/* Active */
.uk-button-danger:active,
.uk-button-danger.uk-active {
background-color: $button-danger-active-background;
color: $button-danger-active-color;
@include hook-button-danger-active();
}
/* Disabled state
* Overrides also the color modifiers
========================================================================== */
/* Equal for all button types */
.uk-button:disabled {
background-color: $button-disabled-background;
color: $button-disabled-color;
@include hook-button-disable();
}
/* Modifier: `uk-button-link`
========================================================================== */
/* Reset */
.uk-button-link,
.uk-button-link:hover,
.uk-button-link:focus,
.uk-button-link:active,
.uk-button-link.uk-active,
.uk-button-link:disabled {
border-color: transparent;
background: none;
@include hook-button-link();
}
/* Color */
.uk-button-link { color: $button-link-color; }
.uk-button-link:hover,
.uk-button-link:focus,
.uk-button-link:active,
.uk-button-link.uk-active {
color: $button-link-hover-color;
text-decoration: $button-link-hover-text-decoration;
}
.uk-button-link:disabled { color: $button-link-disabled-color; }
/* Focus */
.uk-button-link:focus { outline: 1px dotted; }
/* Size modifiers
========================================================================== */
.uk-button-mini {
min-height: $button-mini-height;
padding: 0 $button-mini-padding-horizontal;
line-height: $button-mini-line-height;
font-size: $button-mini-font-size;
}
.uk-button-small {
min-height: $button-small-height;
padding: 0 $button-small-padding-horizontal;
line-height: $button-small-line-height;
font-size: $button-small-font-size;
}
.uk-button-large {
min-height: $button-large-height;
padding: 0 $button-large-padding-horizontal;
line-height: $button-large-line-height;
font-size: $button-large-font-size;
@include hook-button-large();
}
/* Sub-object `uk-button-group`
========================================================================== */
/*
* 1. Behave like buttons
* 2. Create position context for dropdowns
* 3. Remove whitespace between child elements when using `inline-block`
* 4. Prevent buttons from wrapping
* 5. Remove whitespace between child elements when using `inline-block`
*/
.uk-button-group {
/* 1 */
display: inline-block;
vertical-align: middle;
/* 2 */
position: relative;
/* 3 */
font-size: 0.001px;
/* 4 */
white-space: nowrap;
}
.uk-button-group > * { display: inline-block; }
/* 5 */
.uk-button-group .uk-button { vertical-align: top; }
/* Sub-object: `uk-button-dropdown`
========================================================================== */
/*
* 1. Behave like buttons
* 2. Create position context for dropdowns
*/
.uk-button-dropdown {
/* 1 */
display: inline-block;
vertical-align: middle;
/* 2 */
position: relative;
}
// Hooks
// ========================================================================
@include hook-button-misc();
// @mixin hook-button(){}
// @mixin hook-button-hover(){}
// @mixin hook-button-active(){}
// @mixin hook-button-primary(){}
// @mixin hook-button-primary-hover(){}
// @mixin hook-button-primary-active(){}
// @mixin hook-button-success(){}
// @mixin hook-button-success-hover(){}
// @mixin hook-button-success-active(){}
// @mixin hook-button-danger(){}
// @mixin hook-button-danger-hover(){}
// @mixin hook-button-danger-active(){}
// @mixin hook-button-disable(){}
// @mixin hook-button-link(){}
// @mixin hook-button-large(){}
// @mixin hook-button-misc(){}

View File

@@ -0,0 +1,132 @@
// Name: Close
// Description: Defines styles for a close button
//
// Component: `uk-close`
//
// Modifiers: `uk-close-alt`
//
// Uses: Icon: FontAwesome
//
// Used by: Alert
// Modal
//
// ========================================================================
// Variables
// ========================================================================
$close-size: 20px !default;
$close-alt-padding: 2px !default;
$close-alt-background: #eee !default;
/* ========================================================================
Component: Close
========================================================================== */
/*
* Removes inner padding and border in Firefox 4+.
*/
.uk-close::-moz-focus-inner {
border: 0;
padding: 0;
}
/*
* 1. Correct inability to style clickable `input` types in iOS.
* 2. Remove margins in Chrome, Safari and Opera.
* 3. Remove borders for `button`.
* 4. Address `overflow` set to `hidden` in IE 8/9/10/11.
* 5. Correct `font` properties and `color` not being inherited for `button`.
* 6. Address inconsistent `text-transform` inheritance which is only inherit in Firefox and IE
* 7. Remove default `button` padding and background color
* 8. Style
*/
.uk-close {
/* 1 */
-webkit-appearance: none;
/* 2 */
margin: 0;
/* 3 */
border: none;
/* 4 */
overflow: visible;
/* 5 */
font: inherit;
color: inherit;
/* 6 */
text-transform: none;
/* 7. */
padding: 0;
background: transparent;
/* 8 */
display: inline-block;
box-sizing: content-box;
width: $close-size;
line-height: $close-size;
text-align: center;
vertical-align: middle;
opacity: 0.3;
@include hook-close();
}
/* Icon */
.uk-close:after {
display: block;
content: "\f00d";
font-family: FontAwesome;
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
* 3. Required for `a` elements
*/
.uk-close:hover,
.uk-close:focus { // 1
opacity: 0.5;
/* 2 */
outline: none;
/* 3 */
color: inherit;
text-decoration: none;
cursor: pointer;
}
/* Modifier
========================================================================== */
.uk-close-alt {
padding: $close-alt-padding;
border-radius: 50%;
background: $close-alt-background;
opacity: 1;
@include hook-close-alt();
}
/* Hover */
.uk-close-alt:hover,
.uk-close-alt:focus { opacity: 1; }
/* Icon */
.uk-close-alt:after { opacity: 0.5; }
.uk-close-alt:hover:after,
.uk-close-alt:focus:after { opacity: 0.8; }
// Hooks
// ========================================================================
@include hook-close-misc();
// @mixin hook-close(){}
// @mixin hook-close-alt(){}
// @mixin hook-close-misc(){}

View File

@@ -0,0 +1,209 @@
// Name: Column
// Description: Provides a responsive, fluid and nestable columns for text and inline elements
//
// Component: `uk-column`
//
// Modifiers: `uk-column-small`
// `uk-column-medium-*`
//
// ========================================================================
// Variables
// ========================================================================
$column-gutter: 25px !default;
/* ========================================================================
Component: Column
========================================================================== */
[class*='uk-column-'] {
-webkit-column-gap: $column-gutter;
-moz-column-gap: $column-gutter;
column-gap: $column-gutter;
@include hook-column();
}
/* Width modifiers
========================================================================== */
.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;
}
/* Phone landscape and bigger */
@media (min-width: $breakpoint-small) {
.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;
}
}
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.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;
}
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.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;
}
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
.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;
}
}
// Hooks
// ========================================================================
@include hook-column-misc();
// @mixin hook-column(){}
// @mixin hook-column-misc(){}

View File

@@ -0,0 +1,172 @@
// Name: Comment
// Description: Defines styles for comment threads
//
// Component: `uk-comment`
//
// Sub-objects: `uk-comment-header`
// `uk-comment-avatar`
// `uk-comment-title`
// `uk-comment-meta`
// `uk-comment-body`
// `uk-comment-list`
// `uk-comment-primary`
//
// Markup:
//
// <!-- uk-comment -->
// <article class="uk-comment">
// <header class="uk-comment-header">
// <img class="uk-comment-avatar" src="avatar.svg" width="50" height="50" alt="">
// <h4 class="uk-comment-title"></h4>
// <div class="uk-comment-meta"></div>
// </header>
// <div class="uk-comment-body">
// <p></p>
// </div>
// </article>
//
// ========================================================================
// Variables
// ========================================================================
$comment-header-margin-bottom: 15px !default;
$comment-avatar-margin-right: 15px !default;
$comment-title-margin-top: 5px !default;
$comment-title-font-size: 16px !default;
$comment-title-line-height: 22px !default;
$comment-meta-margin-top: 2px !default;
$comment-meta-color: #999 !default;
$comment-meta-font-size: 11px !default;
$comment-meta-line-height: 16px !default;
$comment-list-margin-top: 15px !default;
$comment-list-padding-left: 100px !default;
/* ========================================================================
Component: Comment
========================================================================== */
.uk-comment {
@include hook-comment();
}
/* Sub-object `uk-comment-header`
========================================================================== */
.uk-comment-header {
margin-bottom: $comment-header-margin-bottom;
@include hook-comment-header();
}
/*
* Micro clearfix
*/
.uk-comment-header:before,
.uk-comment-header:after {
content: "";
display: table;
}
.uk-comment-header:after { clear: both; }
/* Sub-object `uk-comment-avatar`
========================================================================== */
.uk-comment-avatar {
margin-right: $comment-avatar-margin-right;
float: left;
@include hook-comment-avatar();
}
/* Sub-object `uk-comment-title`
========================================================================== */
.uk-comment-title {
margin: $comment-title-margin-top 0 0 0;
font-size: $comment-title-font-size;
line-height: $comment-title-line-height;
@include hook-comment-title();
}
/* Sub-object `uk-comment-meta`
========================================================================== */
.uk-comment-meta {
margin: $comment-meta-margin-top 0 0 0;
font-size: $comment-meta-font-size;
line-height: $comment-meta-line-height;
color: $comment-meta-color;
@include hook-comment-meta();
}
/* Sub-object `uk-comment-body`
========================================================================== */
.uk-comment-body {
@include hook-comment-body();
}
/*
* Remove margin from the last-child
*/
.uk-comment-body > :last-child { margin-bottom: 0; }
/* Sub-object `uk-comment-list`
========================================================================== */
.uk-comment-list {
padding: 0;
list-style: none;
}
.uk-comment-list .uk-comment + ul {
margin: $comment-list-margin-top 0 0 0;
list-style: none;
}
.uk-comment-list > li:nth-child(n+2),
.uk-comment-list .uk-comment + ul > li:nth-child(n+2) { margin-top: $comment-list-margin-top; }
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.uk-comment-list .uk-comment + ul { padding-left: $comment-list-padding-left; }
}
/* Modifier `uk-comment-primary`
========================================================================== */
.uk-comment-primary {
@include hook-comment-primary();
}
// Hooks
// ========================================================================
@include hook-comment-misc();
// @mixin hook-comment(){}
// @mixin hook-comment-header(){}
// @mixin hook-comment-avatar(){}
// @mixin hook-comment-title(){}
// @mixin hook-comment-meta(){}
// @mixin hook-comment-body(){}
// @mixin hook-comment-primary(){}
// @mixin hook-comment-misc(){}

View File

@@ -0,0 +1,493 @@
// Name: Contrast
// Description: Utility class to adjust colors for dark or colored blocks
//
// Component: `uk-contrast`
//
// ========================================================================
// Variables
// ========================================================================
$contrast-color: #fff !default;
$contrast-inverted-color: #444 !default;
//
// Components
//
$contrast-base-color: $contrast-color !default;
$contrast-base-link-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-base-link-text-decoration: none !default;
$contrast-base-link-hover-color: $contrast-color !default;
$contrast-base-link-hover-text-decoration: underline !default;
$contrast-base-code-color: $contrast-color !default;
$contrast-base-em-color: $contrast-color !default;
$contrast-base-heading-color: $contrast-color !default;
$contrast-base-hr-border: fade-out($contrast-color, 0.8) !default;
$contrast-nav-side-color: $contrast-color !default;
$contrast-nav-side-hover-background: fade-out($contrast-color, 0.9) !default;
$contrast-nav-side-hover-color: $contrast-color !default;
$contrast-nav-side-active-background: $contrast-color !default;
$contrast-nav-side-active-color: $contrast-inverted-color !default;
$contrast-nav-side-header-color: $contrast-color !default;
$contrast-nav-side-divider-border: fade-out($contrast-color, 0.8) !default;
$contrast-nav-side-nested-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-nav-side-nested-hover-color: $contrast-color !default;
$contrast-subnav-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-subnav-hover-color: $contrast-color !default;
$contrast-subnav-hover-text-decoration: none !default;
$contrast-subnav-active-color: $contrast-color !default;
$contrast-subnav-line-border: fade-out($contrast-color, 0.8) !default;
$contrast-subnav-pill-hover-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-subnav-pill-hover-color: $contrast-inverted-color !default;
$contrast-subnav-pill-active-background: $contrast-color !default;
$contrast-subnav-pill-active-color: $contrast-inverted-color !default;
$contrast-tab-border: fade-out($contrast-color, 0.8) !default;
$contrast-tab-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-tab-hover-border: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-tab-hover-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-tab-hover-color: $contrast-inverted-color !default;
$contrast-tab-active-border: fade-out($contrast-color, 0.8) !default;
$contrast-tab-active-background: $contrast-color !default;
$contrast-tab-active-color: $contrast-inverted-color !default;
$contrast-list-line-border: fade-out($contrast-color, 0.8) !default;
$contrast-form-border: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-form-background: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-form-color: $contrast-inverted-color !default;
$contrast-form-focus-border: $contrast-color !default;
$contrast-form-focus-background: $contrast-color !default;
$contrast-form-focus-color: $contrast-inverted-color !default;
$contrast-form-placeholder-color: fade-out($contrast-inverted-color, 0.30000000000000004) !default;
$contrast-button-background: $contrast-color !default;
$contrast-button-color: $contrast-inverted-color !default;
$contrast-button-hover-background: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-button-hover-color: $contrast-inverted-color !default;
$contrast-button-active-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-button-active-color: $contrast-inverted-color !default;
$contrast-button-primary-background: #00a8e6 !default;
$contrast-button-primary-color: $contrast-color !default;
$contrast-button-primary-hover-background: #35b3ee !default;
$contrast-button-primary-hover-color: $contrast-color !default;
$contrast-button-primary-active-background: #0091ca !default;
$contrast-button-primary-active-color: $contrast-color !default;
$contrast-icon-hover-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-icon-hover-hover-color: $contrast-color !default;
$contrast-icon-button-background: $contrast-color !default;
$contrast-icon-button-color: $contrast-inverted-color !default;
$contrast-icon-button-hover-background: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-icon-button-hover-color: $contrast-inverted-color !default;
$contrast-icon-button-active-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-icon-button-active-color: $contrast-inverted-color !default;
$contrast-text-muted-color: fade-out($contrast-color, 0.4) !default;
$contrast-text-primary-color: #2d7091 !default;
/* ========================================================================
Component: Contrast
========================================================================== */
.uk-contrast {
color: $contrast-base-color;
// Base
// ========================================================================
//
// Link
//
a:not([class]),
.uk-link {
color: $contrast-base-link-color;
text-decoration: $contrast-base-link-text-decoration;
}
a:not([class]):hover,
.uk-link:hover {
color: $contrast-base-link-hover-color;
text-decoration: $contrast-base-link-hover-text-decoration;
}
//
// Code
//
:not(pre) > code,
:not(pre) > kbd,
:not(pre) > samp {
color: $contrast-base-code-color;
@include hook-contrast-base-code();
}
//
// Emphasize
//
em { color: $contrast-base-em-color; }
//
// Headings
//
h1, h2, h3, h4, h5, h6 { color: $contrast-base-heading-color; }
//
// Horizontal rules
//
hr { border-top-color: $contrast-base-hr-border; }
// Nav
// ========================================================================
.uk-nav li > a,
.uk-nav li > a:hover { text-decoration: none; }
//
// Nav Site
//
.uk-nav-side > li > a {
color: $contrast-nav-side-color;
@include hook-contrast-nav-side();
}
.uk-nav-side > li > a:hover,
.uk-nav-side > li > a:focus {
background: $contrast-nav-side-hover-background;
color: $contrast-nav-side-hover-color;
@include hook-contrast-nav-side-hover();
}
.uk-nav-side > li.uk-active > a {
background: $contrast-nav-side-active-background;
color: $contrast-nav-side-active-color;
@include hook-contrast-nav-side-active();
}
// Nav header
.uk-nav-side .uk-nav-header {
color: $contrast-nav-side-header-color;
@include hook-contrast-nav-side-header();
}
// Nav divider
.uk-nav-side .uk-nav-divider {
border-top-color: $contrast-nav-side-divider-border;
@include hook-contrast-nav-side-divider();
}
// Nested items
.uk-nav-side ul a { color: $contrast-nav-side-nested-color; }
.uk-nav-side ul a:hover { color: $contrast-nav-side-nested-hover-color; }
// Subnav
// ========================================================================
.uk-subnav > * > a {
color: $contrast-subnav-color;
text-decoration: none;
@include hook-contrast-subnav();
}
.uk-subnav > * > a:hover,
.uk-subnav > * > a:focus {
color: $contrast-subnav-hover-color;
text-decoration: $contrast-subnav-hover-text-decoration;
@include hook-contrast-subnav-hover();
}
.uk-subnav > .uk-active > a {
color: $contrast-subnav-active-color;
@include hook-contrast-subnav-active();
}
//
// Subnav line
//
.uk-subnav-line > :nth-child(n+2):before {
border-left-color: $contrast-subnav-line-border;
@include hook-contrast-subnav-line-divider();
}
//
// Subnav pill
//
.uk-subnav-pill > * > a:hover,
.uk-subnav-pill > * > a:focus {
background: $contrast-subnav-pill-hover-background;
color: $contrast-subnav-pill-hover-color;
text-decoration: none;
@include hook-contrast-subnav-pill-hover();
}
.uk-subnav-pill > .uk-active > a {
background: $contrast-subnav-pill-active-background;
color: $contrast-subnav-pill-active-color;
@include hook-contrast-subnav-pill-active();
}
// Tab
// ========================================================================
.uk-tab { border-bottom-color: $contrast-tab-border; }
.uk-tab > li > a {
border-color: transparent;
color: $contrast-tab-color;
@include hook-contrast-tab();
}
.uk-tab > li > a:hover,
.uk-tab > li > a:focus,
.uk-tab > li.uk-open > a {
border-color: $contrast-tab-hover-border;
background: $contrast-tab-hover-background;
color: $contrast-tab-hover-color;
text-decoration: none;
@include hook-contrast-tab-hover();
}
/* Active */
.uk-tab > li.uk-active > a {
border-color: $contrast-tab-active-border;
border-bottom-color: transparent;
background: $contrast-tab-active-background;
color: $contrast-tab-active-color;
@include hook-contrast-tab-active();
}
//
// Tab center
//
.uk-tab-center { border-bottom-color: $contrast-tab-border; }
//
// Tab grid
//
.uk-tab-grid:before { border-top-color: $contrast-tab-border; }
// List
// ========================================================================
.uk-list-line > li:nth-child(n+2) {
border-top-color: $contrast-list-line-border;
@include hook-contrast-list-line();
}
// Form
// ========================================================================
.uk-form select,
.uk-form textarea,
.uk-form input:not([type]),
.uk-form input[type="text"],
.uk-form input[type="password"],
.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="number"],
.uk-form input[type="email"],
.uk-form input[type="url"],
.uk-form input[type="search"],
.uk-form input[type="tel"],
.uk-form input[type="color"] {
border-color: $contrast-form-border;
background: $contrast-form-background;
color: $contrast-form-color;
background-clip: padding-box;
@include hook-contrast-form();
&:focus {
border-color: $contrast-form-focus-border;
background: $contrast-form-focus-background;
color: $contrast-form-focus-color;
@include hook-contrast-form-focus();
}
}
//
// Placeholder
//
.uk-form :-ms-input-placeholder { color: $contrast-form-placeholder-color !important; }
.uk-form ::-moz-placeholder { color: $contrast-form-placeholder-color; }
.uk-form ::-webkit-input-placeholder { color: $contrast-form-placeholder-color; }
// Button
// ========================================================================
.uk-button {
color: $contrast-button-color;
background: $contrast-button-background;
@include hook-contrast-button();
}
.uk-button:hover,
.uk-button:focus {
background-color: $contrast-button-hover-background;
color: $contrast-button-hover-color;
@include hook-contrast-button-hover();
}
.uk-button:active,
.uk-button.uk-active {
background-color: $contrast-button-active-background;
color: $contrast-button-active-color;
@include hook-contrast-button-active();
}
//
// Button primary
//
.uk-button-primary {
background-color: $contrast-button-primary-background;
color: $contrast-button-primary-color;
@include hook-contrast-button-primary();
}
.uk-button-primary:hover,
.uk-button-primary:focus {
background-color: $contrast-button-primary-hover-background;
color: $contrast-button-primary-hover-color;
@include hook-contrast-button-primary-hover();
}
.uk-button-primary:active,
.uk-button-primary.uk-active {
background-color: $contrast-button-primary-active-background;
color: $contrast-button-primary-active-color;
@include hook-contrast-button-primary-active();
}
// Icon
// ========================================================================
//
// Icon hover
//
.uk-icon-hover {
color: $contrast-icon-hover-color;
@include hook-contrast-icon-hover();
}
.uk-icon-hover:hover {
color: $contrast-icon-hover-hover-color;
@include hook-contrast-icon-hover-hover();
}
//
// Icon button
//
.uk-icon-button {
background: $contrast-icon-button-background;
color: $contrast-icon-button-color;
@include hook-contrast-icon-button();
}
.uk-icon-button:hover,
.uk-icon-button:focus {
background-color: $contrast-icon-button-hover-background;
color: $contrast-icon-button-hover-color;
@include hook-contrast-icon-button-hover();
}
.uk-icon-button:active {
background-color: $contrast-icon-button-active-background;
color: $contrast-icon-button-active-color;
@include hook-contrast-icon-button-active();
}
// Text
// ========================================================================
.uk-text-muted { color: $contrast-text-muted-color !important; }
.uk-text-primary { color: $contrast-text-primary-color !important; }
// Misc hook
// ========================================================================
@include hook-contrast-misc();
}
// Hooks
// ========================================================================
// @mixin hook-contrast-base-code(){}
// @mixin hook-contrast-nav-side(){}
// @mixin hook-contrast-nav-side-hover(){}
// @mixin hook-contrast-nav-side-active(){}
// @mixin hook-contrast-nav-side-header(){}
// @mixin hook-contrast-nav-side-divider(){}
// @mixin hook-contrast-subnav(){}
// @mixin hook-contrast-subnav-hover(){}
// @mixin hook-contrast-subnav-active(){}
// @mixin hook-contrast-subnav-line-divider(){}
// @mixin hook-contrast-subnav-pill-hover(){}
// @mixin hook-contrast-subnav-pill-active(){}
// @mixin hook-contrast-tab(){}
// @mixin hook-contrast-tab-hover(){}
// @mixin hook-contrast-tab-active(){}
// @mixin hook-contrast-list-line(){}
// @mixin hook-contrast-form(){}
// @mixin hook-contrast-form-focus(){}
// @mixin hook-contrast-button(){}
// @mixin hook-contrast-button-hover(){}
// @mixin hook-contrast-button-active(){}
// @mixin hook-contrast-button-primary(){}
// @mixin hook-contrast-button-primary-hover(){}
// @mixin hook-contrast-button-primary-active(){}
// @mixin hook-contrast-icon-hover(){}
// @mixin hook-contrast-icon-hover-hover(){}
// @mixin hook-contrast-icon-button(){}
// @mixin hook-contrast-icon-button-hover(){}
// @mixin hook-contrast-icon-button-active(){}
// @mixin hook-contrast-misc(){}

View File

@@ -0,0 +1,70 @@
// Name: Cover
// Description: Defines styles for images and videos to cover their container in a centered position
//
// Component: `uk-cover-*`
//
// Used by: Slideshow
//
// ========================================================================
/* ========================================================================
Component: Cover
========================================================================== */
/*
* Background image always covers and centers its element
*/
.uk-cover-background {
background-position: 50% 50%;
background-size: cover;
background-repeat: no-repeat;
}
/*
* Emulates image cover, works with video and image elements
* 1. Parent container which clips resized object
* 2. Resizes the object to always covers its container
* 3. Reset the responsive image CSS
* 4. Center object
*/
/* 1 */
.uk-cover { overflow: hidden; }
.uk-cover-object {
/* 2 */
width: auto;
height: auto;
min-width: 100%;
min-height: 100%;
/* 3 */
max-width: none;
/* 4 */
position: relative;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
/*
* To center iframes use `data-uk-cover` JavaScript
*/
[data-uk-cover] {
position: relative;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
// Hooks
// ========================================================================
@include hook-cover-misc();
// @mixin hook-cover-misc(){}

View File

@@ -0,0 +1,71 @@
// Name: Description list
// Description: Defines styles for description lists
//
// Component: `uk-description-list`
//
// Modifiers: `uk-description-list-horizontal`
// `uk-description-list-line`
//
// ========================================================================
// Variables
// ========================================================================
$description-list-horizontal-width: 160px !default;
$description-list-horizontal-margin-left: 180px !default;
$description-list-line-margin-top: 5px !default;
$description-list-line-border-width: 1px !default;
$description-list-line-border: #ddd !default;
$description-list-line-color: #999 !default;
$description-list-line-font-weight: normal !default;
/* ========================================================================
Component: Description list
========================================================================== */
/* Modifier: `uk-description-list-horizontal`
========================================================================== */
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.uk-description-list-horizontal { overflow: hidden; }
.uk-description-list-horizontal > dt {
width: $description-list-horizontal-width;
float: left;
clear: both;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.uk-description-list-horizontal > dd { margin-left: $description-list-horizontal-margin-left; }
}
/* Modifier: `uk-description-list-line`
========================================================================== */
.uk-description-list-line > dt { font-weight: $description-list-line-font-weight; }
.uk-description-list-line > dt:nth-child(n+2) {
margin-top: $description-list-line-margin-top;
padding-top: $description-list-line-margin-top;
border-top: $description-list-line-border-width solid $description-list-line-border;
}
.uk-description-list-line > dd { color: $description-list-line-color; }
// Hooks
// ========================================================================
@include hook-description-list-misc();
// @mixin hook-description-list-misc(){}

View File

@@ -0,0 +1,283 @@
// Name: Dropdown
// Description: Defines styles for a toggleable dropdown
//
// Component: `uk-dropdown`
//
// Sub-objects: `uk-dropdown-overlay`
//
// Modifiers: `uk-dropdown-blank`
// `uk-dropdown-top`
// `uk-dropdown-bottom`
// `uk-dropdown-left`
// `uk-dropdown-right`
// `uk-dropdown-justify`
// `uk-dropdown-grid`
// `uk-dropdown-width-2`
// `uk-dropdown-width-3`
// `uk-dropdown-width-4`
// `uk-dropdown-width-5`
// `uk-dropdown-stack`
// `uk-dropdown-small`
// `uk-dropdown-navbar`
// `uk-dropdown-scrollable`
//
// States: `uk-open`
//
// Uses: Animation
// Grid: `uk-width-*`
// Panel: `uk-panel`
// Nav: `uk-nav`
//
// ========================================================================
// Variables
// ========================================================================
$dropdown-z-index: 970 !default;
$dropdown-width: 200px !default;
$dropdown-margin-top: 5px !default;
$dropdown-padding: 15px !default;
$dropdown-background: #f5f5f5 !default;
$dropdown-color: #444 !default;
$dropdown-font-size: 1rem !default;
$dropdown-animation: uk-fade !default;
$dropdown-divider-border-width: 1px !default;
$dropdown-divider-border: #ddd !default;
$dropdown-small-padding: 5px !default;
$dropdown-navbar-margin: 0 !default;
$dropdown-navbar-background: #f5f5f5 !default;
$dropdown-navbar-color: #444 !default;
$dropdown-navbar-animation: uk-slide-top-fixed !default;
$dropdown-scrollable-height: 200px !default;
/* ========================================================================
Component: Dropdown
========================================================================== */
/*
* 1. Hide by default
* 2. Set position
* 3. Box-sizing is needed for `uk-dropdown-justify`
* 4. Set width
*/
.uk-dropdown,
.uk-dropdown-blank {
/* 1 */
display: none;
/* 2 */
position: absolute;
z-index: $dropdown-z-index;
/* 3 */
box-sizing: border-box;
/* 4 */
width: $dropdown-width;
}
/*
* Dropdown style
* 1. Reset button group whitespace hack
*/
.uk-dropdown {
padding: $dropdown-padding;
background: $dropdown-background;
color: $dropdown-color;
/* 1 */
font-size: $dropdown-font-size;
vertical-align: top;
@include hook-dropdown();
}
/* Focus */
.uk-dropdown:focus { outline: none; }
/*
* 1. Show dropdown
* 2. Set animation
* 3. Needed for scale animation
*/
.uk-open > .uk-dropdown,
.uk-open > .uk-dropdown-blank {
/* 1 */
display: block;
/* 2 */
-webkit-animation: $dropdown-animation 0.2s ease-in-out;
animation: $dropdown-animation 0.2s ease-in-out;
/* 3 */
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
/* Alignment modifiers
========================================================================== */
/*
* Modifier
*/
.uk-dropdown-top { margin-top: (-1 * $dropdown-margin-top); }
.uk-dropdown-bottom { margin-top: $dropdown-margin-top; }
.uk-dropdown-left { margin-left: (-1 * $dropdown-margin-top); }
.uk-dropdown-right { margin-left: $dropdown-margin-top; }
/* Nav in dropdown
========================================================================== */
.uk-dropdown .uk-nav { margin: 0 (-$dropdown-padding); }
/* Grid and panel in dropdown
========================================================================== */
/*
* Vertical gutter
*/
/*
* Grid
* Higher specificity to override large gutter
*/
.uk-grid .uk-dropdown-grid + .uk-dropdown-grid { margin-top: $dropdown-padding; }
/* Panels */
.uk-dropdown-grid > [class*='uk-width-'] > .uk-panel + .uk-panel { margin-top: $dropdown-padding; }
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
/*
* Horizontal gutter
*/
.uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid {
margin-left: -$dropdown-padding ;
margin-right: -$dropdown-padding;
}
.uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-'] {
padding-left: $dropdown-padding;
padding-right: $dropdown-padding;
}
/*
* Column divider
*/
.uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { border-left: $dropdown-divider-border-width solid $dropdown-divider-border; }
/*
* Width multiplier for dropdown columns
*/
.uk-dropdown-width-2:not(.uk-dropdown-stack) { width: ($dropdown-width * 2); }
.uk-dropdown-width-3:not(.uk-dropdown-stack) { width: ($dropdown-width * 3); }
.uk-dropdown-width-4:not(.uk-dropdown-stack) { width: ($dropdown-width * 4); }
.uk-dropdown-width-5:not(.uk-dropdown-stack) { width: ($dropdown-width * 5); }
}
/* Phone landscape and smaller */
@media (max-width: $breakpoint-small-max) {
/*
* Stack columns and take full width
*/
.uk-dropdown-grid > [class*='uk-width-'] { width: 100%; }
/*
* Vertical gutter
*/
.uk-dropdown-grid > [class*='uk-width-']:nth-child(n+2) { margin-top: $dropdown-padding; }
}
/*
* Stack grid columns
*/
.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: $dropdown-padding; }
/* Modifier `uk-dropdown-small`
========================================================================== */
/*
* Set min-width and text expands dropdown if needed
*/
.uk-dropdown-small {
min-width: 150px;
width: auto;
padding: $dropdown-small-padding;
white-space: nowrap;
}
/*
* Nav in dropdown
*/
.uk-dropdown-small .uk-nav { margin: 0 (-$dropdown-small-padding); }
/* Modifier: `uk-dropdown-navbar`
========================================================================== */
.uk-dropdown-navbar {
margin-top: $dropdown-navbar-margin;
background: $dropdown-navbar-background;
color: $dropdown-navbar-color;
@include hook-dropdown-navbar();
}
.uk-open > .uk-dropdown-navbar {
-webkit-animation: $dropdown-navbar-animation 0.2s ease-in-out;
animation: $dropdown-navbar-animation 0.2s ease-in-out;
}
/* Modifier `uk-dropdown-scrollable`
========================================================================== */
/*
* Usefull for long lists
*/
.uk-dropdown-scrollable {
overflow-y: auto;
max-height: $dropdown-scrollable-height;
}
/* Sub-object: `uk-dropdown-overlay`
========================================================================== */
.uk-dropdown-overlay {
@include hook-dropdown-overlay();
}
// Hooks
// ========================================================================
@include hook-dropdown-misc();
// @mixin hook-dropdown(){}
// @mixin hook-dropdown-navbar(){}
// @mixin hook-dropdown-overlay(){}
// @mixin hook-dropdown-misc(){}

View File

@@ -0,0 +1,320 @@
// Name: Flex
// Description: Defines styles to create layouts with flexbox
//
// Component: `uk-flex-*`
//
// Used by: Caption
//
//
// ========================================================================
/* ========================================================================
Component: Flex
========================================================================== */
.uk-flex {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.uk-flex-inline {
display: -ms-inline-flexbox;
display: -webkit-inline-flex;
display: inline-flex;
}
/*
* Fixes initial flex-shrink value in IE10
*/
.uk-flex > *,
.uk-flex-inline > * { -ms-flex-negative: 1; }
/* Alignment
========================================================================== */
/*
* Vertical alignment
* Default value is `stretch`
*/
// .uk-flex-stretch { align-items: stretch; }
.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;
}
/*
* Horizontal alignment
* Default value is `flex-start`
*/
// .uk-flex-left { justify-content: flex-start; }
.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;
}
/* Direction
========================================================================== */
// .uk-flex-row { flex-direction: row; }
.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;
}
/* Wrap
========================================================================== */
// Default
.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;
}
/*
* Horizontal alignment
* Default value is `stretch`
*/
// .uk-flex-wrap-stretch { align-content: stretch; }
.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;
}
/* Item ordering
========================================================================== */
/*
* Default is 0
*/
.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;
}
/* Phone landscape and bigger */
@media (min-width: $breakpoint-small) {
.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;
}
}
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.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;
}
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.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;
}
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
.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;
}
}
/* Item dimensions
========================================================================== */
/*
* Initial: 0 1 auto
* Content dimensions, but shrinks
*/
/*
* No Flex: 0 0 auto
* Content dimensions
*/
.uk-flex-item-none {
-ms-flex: none;
-webkit-flex: none;
flex: none;
}
/*
* Relative Flex: 1 1 auto
* Space is allocated considering content
* 1. Fixes flex-shrink value in IE10
*/
.uk-flex-item-auto {
-ms-flex: auto;
-webkit-flex: auto;
flex: auto;
/* 1 */
-ms-flex-negative: 1;
}
/*
* Absolute Flex: 1 1 0%
* Space is allocated solely based on flex
*/
.uk-flex-item-1 {
-ms-flex: 1;
-webkit-flex: 1;
flex: 1;
}
// Hooks
// ========================================================================
@include hook-flex-misc();
// @mixin hook-flex-misc(){}

View File

@@ -0,0 +1,629 @@
// Name: Form
// Description: Defines styles for forms
//
// Component: `uk-form`
//
// Sub-objects: `uk-form-row`
// `uk-form-help-inline`
// `uk-form-help-block`
// `uk-form-label`
// `uk-form-controls`
// `uk-form-controls-condensed`
// `uk-form-icon`
//
// Modifiers: `uk-form-stacked`
// `uk-form-horizontal`
//
// Sub-modifiers: `uk-form-danger`
// `uk-form-success`
// `uk-form-small`
// `uk-form-large`
// `uk-form-blank`
// `uk-form-width-mini`
// `uk-form-width-small`
// `uk-form-width-medium`
// `uk-form-width-large`
// `uk-form-controls-text`
//
// Markup:
//
// <!-- uk-form -->
// <form class="uk-form">
// <div class="uk-form-row">
// <label class="uk-form-label" for="form-input-1"></label>
// <div class="uk-form-controls">
// <input type="text" id="form-input-1" placeholder="Text">
// </div>
// </div>
// </form>
//
// ========================================================================
// Variables
// ========================================================================
$form-height: 30px !default;
$form-padding: 4px 6px !default;
$form-border: #ddd !default;
$form-border-width: 1px !default;
$form-background: #fff !default;
$form-color: #444 !default;
$form-focus-border: #99baca !default;
$form-focus-background: #f5fbfe !default;
$form-focus-color: #444 !default;
$form-disabled-border: #ddd !default;
$form-disabled-background: #f5f5f5 !default;
$form-disabled-color: #999 !default;
$form-placeholder-color: #999 !default;
$form-gutter: 15px !default;
$form-legend-border: #ddd !default;
$form-legend-border-width: 1px !default;
$form-legend-font-size: 18px !default;
$form-legend-line-height: 30px !default;
$form-small-height: 25px !default;
$form-large-height: 40px !default;
$form-small-padding: 3px 3px !default;
$form-large-padding: 8px 6px !default;
$form-small-font-size: 12px !default;
$form-large-font-size: 16px !default;
$form-danger-border: #dc8d99 !default;
$form-danger-background: #fff7f8 !default;
$form-danger-color: #d85030 !default;
$form-success-border: #8ec73b !default;
$form-success-background: #fafff2 !default;
$form-success-color: #659f13 !default;
$form-blank-border: #ddd !default;
$form-blank-border-style: dashed !default;
$form-mini-width: 40px !default;
$form-small-width: 130px !default;
$form-medium-width: 200px !default;
$form-large-width: 500px !default;
$form-help-inline-margin-left: 10px !default;
$form-help-block-margin-top: 5px !default;
$form-controls-condensed-margin-vertical: 5px !default;
$form-stacked-margin-bottom: 5px !default;
$form-stacked-font-weight: bold !default;
$form-horizontal-label-width: 200px !default;
$form-horizontal-label-margin-top: 5px !default;
$form-horizontal-controls-margin-left: 215px !default;
$form-horizontal-controls-text-padding-top: 5px !default;
$form-icon-width: 30px !default;
$form-icon-font-size: 14px !default;
$form-icon-color: #999 !default;
/* ========================================================================
Component: Form
========================================================================== */
/*
* 1. Define consistent box sizing.
* Default is `content-box` with following exceptions set to `border-box`
* `button`, `select`, `input[type="checkbox"]` and `input[type="radio"]`
* `input[type="search"]` in Chrome, Safari and Opera
* `input[type="color"]` in Firefox
* 2. Address margins set differently in Firefox/IE and Chrome/Safari/Opera.
* 3. Remove `border-radius` in iOS.
* 4. Correct `font` properties and `color` not being inherited.
*/
.uk-form input,
.uk-form select,
.uk-form textarea {
/* 1 */
box-sizing: border-box;
/* 2 */
margin: 0;
/* 3 */
border-radius: 0;
/* 4 */
font: inherit;
color: inherit;
}
/*
* Address inconsistent `text-transform` inheritance which is only inherit in Firefox
*/
.uk-form select { text-transform: none; }
/*
* 1. Correct `font` properties not being inherited.
* 2. Don't inherit the `font-weight` and use `bold` instead.
* NOTE: Both declarations don't work in Chrome, Safari and Opera.
*/
.uk-form optgroup {
/* 1 */
font: inherit;
/* 2 */
font-weight: bold;
}
/*
* Removes inner padding and border in Firefox 4+.
*/
.uk-form input::-moz-focus-inner {
border: 0;
padding: 0;
}
/*
* Removes excess padding in IE 8/9/10.
*/
.uk-form input[type="checkbox"],
.uk-form input[type="radio"] { padding: 0; }
/*
* Improves consistency of cursor style for clickable elements
*/
.uk-form input[type="checkbox"]:not(:disabled),
.uk-form input[type="radio"]:not(:disabled) { cursor: pointer; }
/*
* Remove default style in iOS.
*/
.uk-form textarea,
.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"] { -webkit-appearance: none; }
/*
* Remove inner padding and search cancel button in Chrome, Safari and Opera on OS X.
*/
.uk-form input[type="search"]::-webkit-search-cancel-button,
.uk-form input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
/*
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
.uk-form input[type="number"]::-webkit-inner-spin-button,
.uk-form input[type="number"]::-webkit-outer-spin-button { height: auto; }
/*
* Define consistent border, margin, and padding.
*/
.uk-form fieldset {
border: none;
margin: 0;
padding: 0;
}
/*
* 1. Remove default vertical scrollbar in IE 8/9/10/11.
* 2. Improve readability and alignment in all browsers.
*/
.uk-form textarea {
/* 1 */
overflow: auto;
/* 2 */
vertical-align: top;
}
/*
* Removes placeholder transparency in Firefox.
*/
.uk-form ::-moz-placeholder { opacity: 1; }
/*
* Removes `box-shadow` for invalid controls in Firefox.
*/
.uk-form :invalid { box-shadow: none; }
/*
* Vertical alignment
*/
.uk-form input:not([type="radio"]):not([type="checkbox"]),
.uk-form select { vertical-align: middle; }
/* Style
========================================================================== */
/*
* Remove margin from the last-child
*/
.uk-form > :last-child { margin-bottom: 0; }
/*
* Controls
* Except for `range`, `radio`, `checkbox`, `file`, `submit`, `reset`, `button` and `image`
* 1. Must be `height` because `min-height` is not working in OSX
* 2. Responsiveness: Sets a maximum width relative to the parent to scale on narrower viewports
* 3. Vertical `padding` needed for `select` elements in Firefox
* 4. Style
*/
.uk-form select,
.uk-form textarea,
.uk-form input:not([type]),
.uk-form input[type="text"],
.uk-form input[type="password"],
.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="number"],
.uk-form input[type="email"],
.uk-form input[type="url"],
.uk-form input[type="search"],
.uk-form input[type="tel"],
.uk-form input[type="color"] {
/* 1 */
height: $form-height;
/* 2 */
max-width: 100%;
/* 3 */
padding: $form-padding;
/* 4 */
border: $form-border-width solid $form-border;
background: $form-background;
color: $form-color;
-webkit-transition: all 0.2s linear;
-webkit-transition-property: border, background, color, box-shadow, padding;
transition: all 0.2s linear;
transition-property: border, background, color, box-shadow, padding;
@include hook-form();
// Focus state
&:focus {
border-color: $form-focus-border;
outline: 0;
background: $form-focus-background;
color: $form-focus-color;
@include hook-form-focus();
}
// Disabled state
&:disabled {
border-color: $form-disabled-border;
background-color: $form-disabled-background;
color: $form-disabled-color;
@include hook-form-disabled();
}
}
/*
* Placeholder
*/
.uk-form :-ms-input-placeholder { color: $form-placeholder-color !important; }
.uk-form ::-moz-placeholder { color: $form-placeholder-color; }
.uk-form ::-webkit-input-placeholder { color: $form-placeholder-color; }
.uk-form :disabled:-ms-input-placeholder { color: $form-disabled-color !important; }
.uk-form :disabled::-moz-placeholder { color: $form-disabled-color; }
.uk-form :disabled::-webkit-input-placeholder { color: $form-disabled-color; }
/*
* Legend
* 1. Behave like block element
* 2. Correct `color` not being inherited in IE 8/9/10/11.
* 3. Remove padding
* 4. `margin-bottom` is not working in Safari and Opera.
* Using `padding` and :after instead to create the border
* 5. Style
*/
.uk-form legend {
/* 1 */
width: 100%;
/* 2 */
border: 0;
/* 3 */
padding: 0;
/* 4 */
padding-bottom: $form-gutter;
/* 5 */
font-size: $form-legend-font-size;
line-height: $form-legend-line-height;
@include hook-form-legend();
}
/*
* 1. Fixes IE9
*/
.uk-form legend:after {
content: "";
display: block;
border-bottom: $form-legend-border-width solid $form-legend-border;
/* 1 */
width: 100%;
}
/* Size modifiers
* Higher specificity needed to override defaults
========================================================================== */
select.uk-form-small,
textarea.uk-form-small,
input[type].uk-form-small,
input:not([type]).uk-form-small {
height: $form-small-height;
padding: $form-small-padding;
font-size: $form-small-font-size;
}
select.uk-form-large,
textarea.uk-form-large,
input[type].uk-form-large,
input:not([type]).uk-form-large {
height: $form-large-height;
padding: $form-large-padding;
font-size: $form-large-font-size;
}
/* Reset height
* Must be after size modifiers
========================================================================== */
.uk-form textarea,
.uk-form select[multiple],
.uk-form select[size] { height: auto; }
/* Validation states
* Using !important to keep the selector simple
========================================================================== */
/*
* Error state
*/
.uk-form-danger {
border-color: $form-danger-border !important;
background: $form-danger-background !important;
color: $form-danger-color !important;
@include hook-form-danger();
}
/*
* Success state
*/
.uk-form-success {
border-color: $form-success-border !important;
background: $form-success-background !important;
color: $form-success-color !important;
@include hook-form-success();
}
/* Style modifiers
* Using !important to keep the selector simple
========================================================================== */
/*
* Blank form
*/
.uk-form-blank {
border-color: transparent !important;
border-style: $form-blank-border-style !important;
background: none !important;
@include hook-form-blank();
}
.uk-form-blank:focus {
border-color: $form-blank-border !important;
@include hook-form-blank-focus();
}
/* Size sub-modifiers
========================================================================== */
/*
* Fixed widths
* Different widths for mini sized `input` and `select` elements
*/
input.uk-form-width-mini { width: $form-mini-width; }
select.uk-form-width-mini { width: ($form-mini-width + 25px); }
.uk-form-width-small { width: $form-small-width; }
.uk-form-width-medium { width: $form-medium-width; }
.uk-form-width-large { width: $form-large-width; }
/* Sub-objects: `uk-form-row`
* Groups labels and controls in rows
========================================================================== */
/*
* Micro clearfix
* Needed for `uk-form-horizontal` modifier
*/
.uk-form-row:before,
.uk-form-row:after {
content: "";
display: table;
}
.uk-form-row:after { clear: both; }
/*
* Vertical gutter
*/
.uk-form-row + .uk-form-row { margin-top: $form-gutter; }
/* Help text
* Sub-object: `uk-form-help-inline`, `uk-form-help-block`
========================================================================== */
.uk-form-help-inline {
display: inline-block;
margin: 0 0 0 $form-help-inline-margin-left;
}
.uk-form-help-block { margin: $form-help-block-margin-top 0 0 0; }
/* Controls content
* Sub-object: `uk-form-controls`, `uk-form-controls-condensed`
========================================================================== */
/*
* Remove margins
*/
.uk-form-controls > :first-child { margin-top: 0; }
.uk-form-controls > :last-child { margin-bottom: 0; }
/*
* Group controls and text into blocks with a small spacing between blocks
*/
.uk-form-controls-condensed { margin: $form-controls-condensed-margin-vertical 0; }
/* Modifier: `uk-form-stacked`
* Requires sub-object: `uk-form-label`
========================================================================== */
.uk-form-stacked .uk-form-label {
display: block;
margin-bottom: $form-stacked-margin-bottom;
font-weight: $form-stacked-font-weight;
@include hook-form-stacked-label();
}
/* Modifier: `uk-form-horizontal`
* Requires sub-objects: `uk-form-label`, `uk-form-controls`
========================================================================== */
/* Tablet portrait and smaller */
@media (max-width: $breakpoint-medium-max) {
/* Behave like `uk-form-stacked` */
.uk-form-horizontal .uk-form-label {
display: block;
margin-bottom: $form-stacked-margin-bottom;
font-weight: $form-stacked-font-weight;
@include hook-form-stacked-label();
}
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.uk-form-horizontal .uk-form-label {
width: $form-horizontal-label-width;
margin-top: $form-horizontal-label-margin-top;
float: left;
@include hook-form-horizontal-label();
}
.uk-form-horizontal .uk-form-controls { margin-left: $form-horizontal-controls-margin-left; }
/* Better vertical alignment if controls are checkboxes and radio buttons with text */
.uk-form-horizontal .uk-form-controls-text { padding-top: $form-horizontal-controls-text-padding-top; }
}
/* Sub-object: `uk-form-icon`
========================================================================== */
/*
* 1. Container width fits its content
* 2. Create position context
* 3. Prevent `inline-block` consequences
*/
.uk-form-icon {
/* 1 */
display: inline-block;
/* 2 */
position: relative;
/* 3 */
max-width: 100%;
}
/*
* 1. Make form element clickable through icon
*/
.uk-form-icon > [class*='uk-icon-'] {
position: absolute;
top: 50%;
width: $form-icon-width;
margin-top: round($form-icon-font-size / -2);
font-size: $form-icon-font-size;
color: $form-icon-color;
text-align: center;
/* 1 */
pointer-events: none;
}
.uk-form-icon:not(.uk-form-icon-flip) > input { padding-left: $form-icon-width !important; }
/*
* Sub-modifier: `uk-form-icon-flip`
*/
.uk-form-icon-flip > [class*='uk-icon-'] { right: 0; }
.uk-form-icon-flip > input { padding-right: $form-icon-width !important; }
// Hooks
// ========================================================================
@include hook-form-misc();
// @mixin hook-form(){}
// @mixin hook-form-focus(){}
// @mixin hook-form-disabled(){}
// @mixin hook-form-legend(){}
// @mixin hook-form-danger(){}
// @mixin hook-form-success(){}
// @mixin hook-form-blank(){}
// @mixin hook-form-blank-focus(){}
// @mixin hook-form-stacked-label(){}
// @mixin hook-form-horizontal-label(){}
// @mixin hook-form-misc(){}

View File

@@ -0,0 +1,731 @@
// Name: Grid
// Description: Provides a responsive, fluid and nestable grid
//
// Component: `uk-grid`
// `uk-width-*`
// `uk-push-*`
// `uk-pull-*`
//
// Modifiers: `uk-grid-collapse`
// `uk-grid-small`
// `uk-grid-medium`
// `uk-grid-large`
// `uk-grid-divider`
// `uk-grid-margin`
// `uk-grid-match`
// `uk-grid-width-*`
//
// Uses: Panel: `uk-panel`
//
// Used by: Dropdown
//
// Markup:
//
// <!-- uk-grid -->
// <div class="uk-grid">
// <div class="uk-width-1-2"></div>
// <div class="uk-width-1-2"></div>
// </div>
//
// <!-- uk-grid-divider -->
// <div class="uk-grid uk-grid-divider">
// <div class="uk-width-1-2"></div>
// <div class="uk-width-1-2"></div>
// </div>
// <hr class="uk-grid-divider">
// <div class="uk-grid uk-grid-divider">
// <div class="uk-width-1-2"></div>
// <div class="uk-width-1-2"></div>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$grid-gutter-horizontal: 25px !default;
$grid-gutter-vertical: 25px !default;
$grid-gutter-large-horizontal: 35px !default;
$grid-gutter-large-vertical: 35px !default;
$grid-gutter-xlarge-horizontal: 50px !default;
$grid-gutter-xlarge-vertical: 50px !default;
$grid-gutter-small-horizontal: 10px !default;
$grid-gutter-small-vertical: 10px !default;
$grid-divider-border: #ddd !default;
$grid-divider-border-width: 1px !default;
/* ========================================================================
Component: Grid
========================================================================== */
/*
* 1. Makes grid more robust so that it can be used with other block elements like lists
*/
.uk-grid {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
/* 1 */
margin: 0;
padding: 0;
list-style: none;
}
/*
* DEPRECATED
* Micro clearfix
* Can't use `table` because it creates a 1px gap when it becomes a flex item, only in Webkit
*/
.uk-grid:before,
.uk-grid:after {
content: "";
display: block;
overflow: hidden;
}
.uk-grid:after { clear: both; }
/*
* Grid cell
* 1. Space is allocated solely based on content dimensions
* 2. Makes grid more robust so that it can be used with other block elements
* 3. DEPRECATED Using `float` to support IE9
*/
.uk-grid > * {
/* 1 */
-ms-flex: none;
-webkit-flex: none;
flex: none;
/* 2 */
margin: 0;
/* 3 */
float: left;
}
/*
* Remove margin from the last-child
*/
.uk-grid > * > :last-child { margin-bottom: 0; }
/* Grid gutter
========================================================================== */
/*
* Default gutter
*/
/* Horizontal */
.uk-grid { margin-left: -$grid-gutter-horizontal; }
.uk-grid > * { padding-left: $grid-gutter-horizontal; }
/* Vertical */
.uk-grid + .uk-grid,
.uk-grid-margin,
.uk-grid > * > .uk-panel + .uk-panel { margin-top: $grid-gutter-vertical; }
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
/* Horizontal */
.uk-grid { margin-left: -$grid-gutter-large-horizontal; }
.uk-grid > * { padding-left: $grid-gutter-large-horizontal; }
/* Vertical */
.uk-grid + .uk-grid,
.uk-grid-margin,
.uk-grid > * > .uk-panel + .uk-panel { margin-top: $grid-gutter-large-vertical; }
}
/*
* Collapse gutter
*/
/* Horizontal */
.uk-grid-collapse { margin-left: 0; }
.uk-grid-collapse > * { padding-left: 0; }
/* Vertical */
.uk-grid-collapse + .uk-grid-collapse,
.uk-grid-collapse > .uk-grid-margin,
.uk-grid-collapse > * > .uk-panel + .uk-panel { margin-top: 0; }
/*
* Small gutter
*/
/* Horizontal */
.uk-grid-small { margin-left: -$grid-gutter-small-horizontal; }
.uk-grid-small > * { padding-left: $grid-gutter-small-horizontal; }
/* Vertical */
.uk-grid-small + .uk-grid-small,
.uk-grid-small > .uk-grid-margin,
.uk-grid-small > * > .uk-panel + .uk-panel { margin-top: $grid-gutter-small-vertical; }
/*
* Medium gutter
*/
/* Horizontal */
.uk-grid-medium { margin-left: -$grid-gutter-horizontal; }
.uk-grid-medium > * { padding-left: $grid-gutter-horizontal; }
/* Vertical */
.uk-grid-medium + .uk-grid-medium,
.uk-grid-medium > .uk-grid-margin,
.uk-grid-medium > * > .uk-panel + .uk-panel { margin-top: $grid-gutter-vertical; }
/*
* Large gutter
*/
/* Large screen and bigger */
@media (min-width: $breakpoint-large) {
/* Horizontal */
.uk-grid-large { margin-left: -$grid-gutter-large-horizontal; }
.uk-grid-large > * { padding-left: $grid-gutter-large-horizontal; }
/* Vertical */
.uk-grid-large + .uk-grid-large,
.uk-grid-large-margin,
.uk-grid-large > * > .uk-panel + .uk-panel { margin-top: $grid-gutter-large-vertical; }
}
/* Extra Large screens */
@media (min-width: $breakpoint-xlarge) {
/* Horizontal */
.uk-grid-large { margin-left: -$grid-gutter-xlarge-horizontal; }
.uk-grid-large > * { padding-left: $grid-gutter-xlarge-horizontal; }
/* Vertical */
.uk-grid-large + .uk-grid-large,
.uk-grid-large-margin,
.uk-grid-large > * > .uk-panel + .uk-panel { margin-top: $grid-gutter-xlarge-vertical; }
}
/* Modifier: `uk-grid-divider`
========================================================================== */
/*
* Horizontal divider
* Only works with the default gutter. Does not work with gutter collapse, small or large.
* Does not work with `uk-push-*`, `uk-pull-*` and not if the columns float into the next row.
*/
.uk-grid-divider:not(:empty) {
margin-left: -$grid-gutter-horizontal;
margin-right: -$grid-gutter-horizontal;
}
.uk-grid-divider > * {
padding-left: $grid-gutter-horizontal;
padding-right: $grid-gutter-horizontal;
}
.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),
.uk-grid-divider > [class*='uk-width-9-']:nth-child(n+2) { border-left: $grid-divider-border-width solid $grid-divider-border; }
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.uk-grid-divider > [class*='uk-width-medium-']:not(.uk-width-medium-1-1):nth-child(n+2) { border-left: $grid-divider-border-width solid $grid-divider-border; }
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.uk-grid-divider > [class*='uk-width-large-']:not(.uk-width-large-1-1):nth-child(n+2) { border-left: $grid-divider-border-width solid $grid-divider-border; }
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
/*
* Large gutter
*/
.uk-grid-divider:not(:empty) {
margin-left: -$grid-gutter-large-horizontal;
margin-right: -$grid-gutter-large-horizontal;
}
.uk-grid-divider > * {
padding-left: $grid-gutter-large-horizontal;
padding-right: $grid-gutter-large-horizontal;
}
.uk-grid-divider:empty {
margin-top: $grid-gutter-large-vertical;
margin-bottom: $grid-gutter-large-vertical;
}
}
/*
* Vertical divider
*/
.uk-grid-divider:empty {
margin-top: $grid-gutter-vertical;
margin-bottom: $grid-gutter-vertical;
border-top: $grid-divider-border-width solid $grid-divider-border;
}
/* Match panels in grids
========================================================================== */
/*
* 1. Behave like a block element
*/
.uk-grid-match > * {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
/* 1 */
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
}
.uk-grid-match > * > * {
/* 1 */
-ms-flex: none;
-webkit-flex: none;
flex: none;
box-sizing: border-box;
width: 100%;
}
/* Even grid cell widths
========================================================================== */
[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; }
/* Phone landscape and bigger */
@media (min-width: $breakpoint-small) {
.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%; }
}
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.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%; }
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.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%; }
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
.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%; }
}
/* Sub-objects: `uk-width-*`
========================================================================== */
[class*='uk-width'] {
box-sizing: border-box;
width: 100%;
}
/*
* Widths
*/
/* Whole */
.uk-width-1-1 { width: 100%; }
/* Halves */
.uk-width-1-2,
.uk-width-2-4,
.uk-width-3-6,
.uk-width-5-10 { width: 50%; }
/* Thirds */
.uk-width-1-3,
.uk-width-2-6 { width: 33.333%; }
.uk-width-2-3,
.uk-width-4-6 { width: 66.666%; }
/* Quarters */
.uk-width-1-4 { width: 25%; }
.uk-width-3-4 { width: 75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-width-1-6 { width: 16.666%; }
.uk-width-5-6 { width: 83.333%; }
/* Tenths */
.uk-width-1-10 { width: 10%; }
.uk-width-3-10 { width: 30%; }
.uk-width-7-10 { width: 70%; }
.uk-width-9-10 { width: 90%; }
/* Phone landscape and bigger */
@media (min-width: $breakpoint-small) {
/* Whole */
.uk-width-small-1-1 { width: 100%; }
/* Halves */
.uk-width-small-1-2,
.uk-width-small-2-4,
.uk-width-small-3-6,
.uk-width-small-5-10 { width: 50%; }
/* Thirds */
.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%; }
/* Quarters */
.uk-width-small-1-4 { width: 25%; }
.uk-width-small-3-4 { width: 75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-width-small-1-6 { width: 16.666%; }
.uk-width-small-5-6 { width: 83.333%; }
/* Tenths */
.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%; }
}
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
/* Whole */
.uk-width-medium-1-1 { width: 100%; }
/* Halves */
.uk-width-medium-1-2,
.uk-width-medium-2-4,
.uk-width-medium-3-6,
.uk-width-medium-5-10 { width: 50%; }
/* Thirds */
.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%; }
/* Quarters */
.uk-width-medium-1-4 { width: 25%; }
.uk-width-medium-3-4 { width: 75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-width-medium-1-6 { width: 16.666%; }
.uk-width-medium-5-6 { width: 83.333%; }
/* Tenths */
.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%; }
}
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
/* Whole */
.uk-width-large-1-1 { width: 100%; }
/* Halves */
.uk-width-large-1-2,
.uk-width-large-2-4,
.uk-width-large-3-6,
.uk-width-large-5-10 { width: 50%; }
/* Thirds */
.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%; }
/* Quarters */
.uk-width-large-1-4 { width: 25%; }
.uk-width-large-3-4 { width: 75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-width-large-1-6 { width: 16.666%; }
.uk-width-large-5-6 { width: 83.333%; }
/* Tenths */
.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%; }
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
/* Whole */
.uk-width-xlarge-1-1 { width: 100%; }
/* Halves */
.uk-width-xlarge-1-2,
.uk-width-xlarge-2-4,
.uk-width-xlarge-3-6,
.uk-width-xlarge-5-10 { width: 50%; }
/* Thirds */
.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%; }
/* Quarters */
.uk-width-xlarge-1-4 { width: 25%; }
.uk-width-xlarge-3-4 { width: 75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-width-xlarge-1-6 { width: 16.666%; }
.uk-width-xlarge-5-6 { width: 83.333%; }
/* Tenths */
.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%; }
}
/* Sub-object: `uk-push-*` and `uk-pull-*`
========================================================================== */
/*
* Source ordering
* Works only with `uk-width-medium-*`
*/
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
[class*='uk-push-'],
[class*='uk-pull-'] { position: relative; }
/*
* Push
*/
/* Halves */
.uk-push-1-2,
.uk-push-2-4,
.uk-push-3-6,
.uk-push-5-10 { left: 50%; }
/* Thirds */
.uk-push-1-3,
.uk-push-2-6 { left: 33.333%; }
.uk-push-2-3,
.uk-push-4-6 { left: 66.666%; }
/* Quarters */
.uk-push-1-4 { left: 25%; }
.uk-push-3-4 { left: 75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-push-1-6 { left: 16.666%; }
.uk-push-5-6 { left: 83.333%; }
/* Tenths */
.uk-push-1-10 { left: 10%; }
.uk-push-3-10 { left: 30%; }
.uk-push-7-10 { left: 70%; }
.uk-push-9-10 { left: 90%; }
/*
* Pull
*/
/* Halves */
.uk-pull-1-2,
.uk-pull-2-4,
.uk-pull-3-6,
.uk-pull-5-10 { left: -50%; }
/* Thirds */
.uk-pull-1-3,
.uk-pull-2-6 { left: -33.333%; }
.uk-pull-2-3,
.uk-pull-4-6 { left: -66.666%; }
/* Quarters */
.uk-pull-1-4 { left: -25%; }
.uk-pull-3-4 { left: -75%; }
/* Fifths */
.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%; }
/* Sixths */
.uk-pull-1-6 { left: -16.666%; }
.uk-pull-5-6 { left: -83.333%; }
/* Tenths */
.uk-pull-1-10 { left: -10%; }
.uk-pull-3-10 { left: -30%; }
.uk-pull-7-10 { left: -70%; }
.uk-pull-9-10 { left: -90%; }
}
// Hooks
// ========================================================================
@include hook-grid-misc();
// @mixin hook-grid-misc(){}

View File

@@ -0,0 +1,989 @@
// Name: Icon
// Description: Defines styles for icons
//
// Adapted from http://fortawesome.github.com/Font-Awesome (Version 4.6.0)
//
// Component: `uk-icon-*`
//
// Sub-objects: `uk-icon-hover`
// `uk-icon-button`
//
// Modifiers: `uk-icon-small`
// `uk-icon-medium`
// `uk-icon-large`
// `uk-icon-justify`
// `uk-icon-spin`
//
// Uses: Animation
//
// ========================================================================
// Variables
// ========================================================================
$icon-font-path: "../fonts" !default;
$icon-small-font-size: 150% !default;
$icon-medium-font-size: 200% !default;
$icon-large-font-size: 250% !default;
$icon-small-vertical-align: -10% !default;
$icon-medium-vertical-align: -16% !default;
$icon-large-vertical-align: -22% !default;
$icon-hover-color: #999 !default;
$icon-hover-hover-color: #444 !default;
$icon-button-width: 35px !default;
$icon-button-height: $icon-button-width !default;
$icon-button-border-radius: 100% !default;
$icon-button-background: #eee !default;
$icon-button-font-size: round(($icon-button-width * 0.5)) !default;
$icon-button-color: #444 !default;
$icon-button-hover-background: #f5f5f5 !default;
$icon-button-hover-color: #444 !default;
$icon-button-active-background: #ddd !default;
$icon-button-active-color: #444 !default;
/* ========================================================================
Component: Icon
========================================================================== */
@font-face {
font-family: 'FontAwesome';
src: url("#{$icon-font-path}/fontawesome-webfont.woff2") format('woff2'),
url("#{$icon-font-path}/fontawesome-webfont.woff") format("woff"),
url("#{$icon-font-path}/fontawesome-webfont.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
/*
* 1. Allow margin
* 2. Prevent inherit font style
* 4. Correct line-height
* 5. Better font rendering
* 6. Remove `text-decoration` for anchors
*/
[class*='uk-icon-'] {
font-family: FontAwesome;
/* 1 */
display: inline-block;
/* 2 */
font-weight: normal;
font-style: normal;
/* 4 */
line-height: 1;
/* 5 */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* 6 */
[class*='uk-icon-'],
[class*='uk-icon-']:hover,
[class*='uk-icon-']:focus { text-decoration: none; }
/* Size modifiers
========================================================================== */
.uk-icon-small {
font-size: $icon-small-font-size;
vertical-align: $icon-small-vertical-align;
}
.uk-icon-medium {
font-size: $icon-medium-font-size;
vertical-align: $icon-medium-vertical-align;
}
.uk-icon-large {
font-size: $icon-large-font-size;
vertical-align: $icon-large-vertical-align;
}
/* Modifier: `uk-icon-justify`
========================================================================== */
.uk-icon-justify {
width: 1em;
text-align: center;
}
/* Modifier: `uk-icon-spin`
========================================================================== */
.uk-icon-spin {
display: inline-block;
-webkit-animation: uk-rotate 2s infinite linear;
animation: uk-rotate 2s infinite linear;
}
/* Modifier: `uk-icon-hover`
========================================================================== */
.uk-icon-hover {
color: $icon-hover-color;
@include hook-icon-hover();
}
/*
* Hover
*/
.uk-icon-hover:hover {
color: $icon-hover-hover-color;
@include hook-icon-hover-hover();
}
/* Modifier: `uk-icon-button`
========================================================================== */
.uk-icon-button {
box-sizing: border-box;
display: inline-block;
width: $icon-button-width;
height: $icon-button-height;
border-radius: $icon-button-border-radius;
background: $icon-button-background;
line-height: $icon-button-height;
color: $icon-button-color;
font-size: $icon-button-font-size;
text-align: center;
@include hook-icon-button();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-icon-button:hover,
.uk-icon-button:focus { // 1
background-color: $icon-button-hover-background;
color: $icon-button-hover-color;
/* 2 */
outline: none;
@include hook-icon-button-hover();
}
/* Active */
.uk-icon-button:active {
background-color: $icon-button-active-background;
color: $icon-button-active-color;
@include hook-icon-button-active();
}
/* Icon mapping
========================================================================== */
.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-remove:before,
.uk-icon-close: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-gear:before,
.uk-icon-cog: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-rotate-right:before,
.uk-icon-repeat: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-photo:before,
.uk-icon-image: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-warning:before,
.uk-icon-exclamation-triangle: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-gears:before,
.uk-icon-cogs: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-save:before,
.uk-icon-floppy-o:before { content: "\f0c7"; }
.uk-icon-square:before { content: "\f0c8"; }
.uk-icon-navicon:before,
.uk-icon-reorder:before,
.uk-icon-bars: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-unsorted:before,
.uk-icon-sort:before { content: "\f0dc"; }
.uk-icon-sort-down:before,
.uk-icon-sort-desc:before { content: "\f0dd"; }
.uk-icon-sort-up:before,
.uk-icon-sort-asc: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-legal:before,
.uk-icon-gavel: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-flash:before,
.uk-icon-bolt:before { content: "\f0e7"; }
.uk-icon-sitemap:before { content: "\f0e8"; }
.uk-icon-umbrella:before { content: "\f0e9"; }
.uk-icon-paste:before,
.uk-icon-clipboard: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-unlink:before,
.uk-icon-chain-broken: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-toggle-down:before,
.uk-icon-caret-square-o-down:before { content: "\f150"; }
.uk-icon-toggle-up:before,
.uk-icon-caret-square-o-up:before { content: "\f151"; }
.uk-icon-toggle-right:before,
.uk-icon-caret-square-o-right:before { content: "\f152"; }
.uk-icon-euro:before,
.uk-icon-eur:before { content: "\f153"; }
.uk-icon-gbp:before { content: "\f154"; }
.uk-icon-dollar:before,
.uk-icon-usd:before { content: "\f155"; }
.uk-icon-rupee:before,
.uk-icon-inr:before { content: "\f156"; }
.uk-icon-cny:before,
.uk-icon-rmb:before,
.uk-icon-yen:before,
.uk-icon-jpy:before { content: "\f157"; }
.uk-icon-ruble:before,
.uk-icon-rouble:before,
.uk-icon-rub:before { content: "\f158"; }
.uk-icon-won:before,
.uk-icon-krw: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-toggle-left:before,
.uk-icon-caret-square-o-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-turkish-lira:before,
.uk-icon-try: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-institution:before,
.uk-icon-bank:before,
.uk-icon-university:before { content: "\f19c"; }
.uk-icon-mortar-board:before,
.uk-icon-graduation-cap: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-photo-o:before,
.uk-icon-file-picture-o:before,
.uk-icon-file-image-o:before { content: "\f1c5"; }
.uk-icon-file-zip-o:before,
.uk-icon-file-archive-o:before { content: "\f1c6"; }
.uk-icon-file-sound-o:before,
.uk-icon-file-audio-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-saver:before,
.uk-icon-support:before,
.uk-icon-life-ring:before { content: "\f1cd"; }
.uk-icon-circle-o-notch:before { content: "\f1ce"; }
.uk-icon-ra:before,
.uk-icon-rebel:before { content: "\f1d0"; }
.uk-icon-ge:before,
.uk-icon-empire: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-send:before,
.uk-icon-paper-plane:before { content: "\f1d8"; }
.uk-icon-send-o:before,
.uk-icon-paper-plane-o:before { content: "\f1d9"; }
.uk-icon-history:before { content: "\f1da"; }
.uk-icon-genderless:before,
.uk-icon-circle-thin: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-soccer-ball-o:before,
.uk-icon-futbol-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-shekel:before,
.uk-icon-sheqel:before,
.uk-icon-ils: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-hotel:before,
.uk-icon-bed: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-empty:before,
.uk-icon-battery-0:before { content: "\f244"; }
.uk-icon-battery-quarter:before,
.uk-icon-battery-1:before { content: "\f243"; }
.uk-icon-battery-half:before,
.uk-icon-battery-2:before { content: "\f242"; }
.uk-icon-battery-three-quarters:before,
.uk-icon-battery-3:before { content: "\f241"; }
.uk-icon-battery-full:before,
.uk-icon-battery-4: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-stop-o:before,
.uk-icon-hand-paper-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-tv:before,
.uk-icon-television: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-yc:before,
.uk-icon-y-combinator:before { content: "\f23b"; }
.uk-icon-yc-square:before,
.uk-icon-y-combinator-square:before { content: "\f1d4"; }
// added fa 4.5
.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"; }
// added fa 4.6
.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,
.uk-icon-deafness:before { content: "\f2a4"; }
.uk-icon-envira:before { content: "\f299"; }
.uk-icon-font-awesome:before,
.uk-icon-fa:before { content: "\f2b4"; }
.uk-icon-first-order:before { content: "\f2b0"; }
.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-themeisle:before { content: "\f2b2"; }
.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-icon-yoast:before { content: "\f2b1"; }
// added 4.7.0
.uk-icon-adress-book:before { content: "\f2b9"; }
.uk-icon-adress-book-o:before { content: "\f2ba"; }
.uk-icon-adress-card:before { content: "\f2bb"; }
.uk-icon-adress-card-o:before { content: "\f2bc"; }
.uk-icon-bandcamp:before { content: "\f2d5"; }
.uk-icon-bath:before { content: "\f2cd"; }
.uk-icon-bathub:before { content: "\f2cd"; }
.uk-icon-drivers-license:before { content: "\f2c2"; }
.uk-icon-drivers-license-o:before { content: "\f2c3"; }
.uk-icon-eercast:before { content: "\f2da"; }
.uk-icon-envelope-open:before { content: "\f2b6"; }
.uk-icon-envelope-open-o:before { content: "\f2b7"; }
.uk-icon-etsy:before { content: "\f2d7"; }
.uk-icon-free-code-camp:before { content: "\f2c5"; }
.uk-icon-grav:before { content: "\f2d6"; }
.uk-icon-handshake-o:before { content: "\f2b5"; }
.uk-icon-id-badge:before { content: "\f2c1"; }
.uk-icon-id-card:before { content: "\f2c2"; }
.uk-icon-id-card-o:before { content: "\f2c3"; }
.uk-icon-imdb:before { content: "\f2d8"; }
.uk-icon-linode:before { content: "\f2b8"; }
.uk-icon-meetup:before { content: "\f2e0"; }
.uk-icon-microchip:before { content: "\f2db"; }
.uk-icon-podcast:before { content: "\f2ce"; }
.uk-icon-quora:before { content: "\f2c4"; }
.uk-icon-ravelry:before { content: "\f2d9"; }
.uk-icon-s15:before { content: "\f2cd"; }
.uk-icon-shower:before { content: "\f2cc"; }
.uk-icon-snowflake-o:before { content: "\f2dc"; }
.uk-icon-superpowers:before { content: "\f2dd"; }
.uk-icon-telegram:before { content: "\f2c6"; }
.uk-icon-thermometer:before { content: "\f2c7"; }
.uk-icon-thermometer-0:before { content: "\f2cb"; }
.uk-icon-thermometer-1:before { content: "\f2ca"; }
.uk-icon-thermometer-2:before { content: "\f2c9"; }
.uk-icon-thermometer-3:before { content: "\f2c8"; }
.uk-icon-thermometer-4:before { content: "\f2c7"; }
.uk-icon-thermometer-empty:before { content: "\f2cb"; }
.uk-icon-thermometer-full:before { content: "\f2c7"; }
.uk-icon-thermometer-half:before { content: "\f2c9"; }
.uk-icon-thermometer-quarter:before { content: "\f2ca"; }
.uk-icon-thermometer-three-quarters:before { content: "\f2c8"; }
.uk-icon-times-rectangle:before { content: "\f2d3"; }
.uk-icon-times-rectangle-o:before { content: "\f2d4"; }
.uk-icon-user-circle:before { content: "\f2bd"; }
.uk-icon-user-circle-o:before { content: "\f2be"; }
.uk-icon-user-o:before { content: "\f2c0"; }
.uk-icon-vcard:before { content: "\f2bb"; }
.uk-icon-vcard-o:before { content: "\f2bc"; }
.uk-icon-widow-close:before { content: "\f2d3"; }
.uk-icon-widow-close-o:before { content: "\f2d4"; }
.uk-icon-window-maximize:before { content: "\f2d0"; }
.uk-icon-window-minimize:before { content: "\f2d1"; }
.uk-icon-window-restore:before { content: "\f2d2"; }
.uk-icon-wpexplorer:before { content: "\f2de"; }
// Hooks
// ========================================================================
@include hook-icon-misc();
// @mixin hook-icon-hover(){}
// @mixin hook-icon-hover-hover(){}
// @mixin hook-icon-button(){}
// @mixin hook-icon-button-hover(){}
// @mixin hook-icon-button-active(){}
// @mixin hook-icon-misc(){}

View File

@@ -0,0 +1,102 @@
// Name: List
// Description: Defines styles for ordered and unordered lists
//
// Component: `uk-list`
//
// Modifiers: `uk-list-line`
// `uk-list-striped`
// `uk-list-space`
//
// ========================================================================
// Variables
// ========================================================================
$list-nested-padding-left: 20px !default;
$list-line-margin-top: 5px !default;
$list-line-border: #ddd !default;
$list-line-border-width: 1px !default;
$list-striped-padding-vertical: 5px !default;
$list-striped-padding-horizontal: 5px !default;
$list-striped-background: #f5f5f5 !default;
$list-space-margin-top: 10px !default;
/* ========================================================================
Component: List
========================================================================== */
.uk-list {
padding: 0;
list-style: none;
}
/*
* Micro clearfix to make list more robust
*/
.uk-list > li:before,
.uk-list > li:after {
content: "";
display: table;
}
.uk-list > li:after { clear: both; }
/*
* Remove margin from the last-child
*/
.uk-list > li > :last-child { margin-bottom: 0; }
/*
* Nested lists
*/
.uk-list ul {
margin: 0;
padding-left: $list-nested-padding-left;
list-style: none;
}
/* Modifier: `uk-list-line`
========================================================================== */
.uk-list-line > li:nth-child(n+2) {
margin-top: $list-line-margin-top;
padding-top: $list-line-margin-top;
border-top: $list-line-border-width solid $list-line-border;
@include hook-list-line();
}
/* Modifier: `uk-list-striped`
========================================================================== */
.uk-list-striped > li {
padding: $list-striped-padding-vertical $list-striped-padding-horizontal;
@include hook-list-striped();
}
.uk-list-striped > li:nth-of-type(odd) { background: $list-striped-background; }
/* Modifier: `uk-list-space`
========================================================================== */
.uk-list-space > li:nth-child(n+2) { margin-top: $list-space-margin-top; }
// Hooks
// ========================================================================
@include hook-list-misc();
// @mixin hook-list-line(){}
// @mixin hook-list-striped(){}
// @mixin hook-list-misc(){}

View File

@@ -0,0 +1,343 @@
// Name: Modal
// Description: Defines styles for modal dialogs
//
// Component: `uk-modal`
//
// Sub-objects: `uk-modal-dialog`
// `uk-modal-close`
// `uk-modal-header`
// `uk-modal-footer`
// `uk-modal-caption`
// `uk-modal-spinner`
//
// Modifiers: `uk-modal-dialog-lightbox`
// `uk-modal-dialog-blank`
// `uk-modal-dialog-large`
//
// States: `uk-open`
//
// Uses: Close: `uk-close`
//
// Markup:
//
// <!-- uk-modal -->
// <a href="#modal" data-uk-modal=""></a>
// <div id="modal" class="uk-modal">
// <div class="uk-modal-dialog">
// <a href="" class="uk-modal-close uk-close"></a>
// <p></p>
// </div>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$modal-z-index: 1010 !default;
$modal-background: rgba(0,0,0,0.6) !default;
$modal-dialog-margin-vertical: 50px !default;
$modal-dialog-padding: 20px !default;
$modal-dialog-width: 600px !default;
$modal-dialog-background: #fff !default;
$modal-dialog-large-width: 930px !default;
$modal-dialog-large-width-large: 1130px !default;
$modal-header-margin-bottom: 15px !default;
$modal-footer-margin-top: 15px !default;
$modal-caption-margin-bottom: -10px !default;
$modal-caption-color: #fff !default;
/* ========================================================================
Component: Modal
========================================================================== */
/*
* This is the modal overlay and modal dialog container
* 1. Hide by default
* 2. Set fixed position
* 3. Allow scrolling for the modal dialog
* 4. Mask the background page
* 5. Fade-in transition
* 6. Deactivate browser history navigation in IE11
* 7. force hardware acceleration to prevent browser rendering hiccups
*/
.uk-modal {
/* 1 */
display: none;
/* 2 */
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: $modal-z-index;
/* 3 */
overflow-y: auto;
-webkit-overflow-scrolling: touch;
/* 4 */
background: $modal-background;
/* 5 */
opacity: 0;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
/* 6 */
touch-action: cross-slide-y pinch-zoom double-tap-zoom;
/* 7 */
-webkit-transform: translateZ(0);
transform: translateZ(0);
@include hook-modal();
}
/*
* Open state
*/
.uk-modal.uk-open { opacity: 1; }
/*
* Prevents duplicated scrollbar caused by 4.
*/
.uk-modal-page,
.uk-modal-page body { overflow: hidden; }
/* Sub-object: `uk-modal-dialog`
========================================================================== */
/*
* 1. Create position context for caption, spinner and close button
* 2. Set box sizing
* 3. Set style
* 4. Slide-in transition
*/
.uk-modal-dialog {
/* 1 */
position: relative;
/* 2 */
box-sizing: border-box;
margin: $modal-dialog-margin-vertical auto;
padding: $modal-dialog-padding;
width: $modal-dialog-width;
max-width: 100%;
max-width: unquote("calc(100% - 20px)");
/* 3 */
background: $modal-dialog-background;
/* 4 */
opacity: 0;
-webkit-transform: translateY(-100px);
transform: translateY(-100px);
-webkit-transition: opacity 0.3s linear, -webkit-transform 0.3s ease-out;
transition: opacity 0.3s linear, transform 0.3s ease-out;
@include hook-modal-dialog();
}
/* Phone landscape and smaller */
@media (max-width: $breakpoint-small-max) {
/*
* Fit in small screen
*/
.uk-modal-dialog {
width: auto;
margin: 10px auto;
}
}
/*
* Open state
*/
.uk-open .uk-modal-dialog {
/* 4 */
opacity: 1;
-webkit-transform: translateY(0);
transform: translateY(0);
}
/*
* Remove margin from the last-child
*/
.uk-modal-dialog > :not([class*='uk-modal-']):last-child { margin-bottom: 0; }
/* Close in modal
========================================================================== */
.uk-modal-dialog > .uk-close:first-child {
margin: -10px -10px 0 0;
float: right;
}
/*
* Remove margin from adjacent element
*/
.uk-modal-dialog > .uk-close:first-child + :not([class*='uk-modal-']) { margin-top: 0; }
/* Modifier: `uk-modal-dialog-lightbox`
========================================================================== */
.uk-modal-dialog-lightbox {
margin: 15px auto;
padding: 0;
max-width: 95%;
max-width: unquote("calc(100% - 30px)");
min-height: 50px;
@include hook-modal-dialog-lightbox();
}
/*
* Close button
*/
.uk-modal-dialog-lightbox > .uk-close:first-child {
position: absolute;
top: -12px;
right: -12px;
margin: 0;
float: none;
}
/* Phone landscape and smaller */
@media (max-width: $breakpoint-small-max) {
.uk-modal-dialog-lightbox > .uk-close:first-child {
top: -7px;
right: -7px;
}
}
/* Modifier: `uk-modal-dialog-blank`
========================================================================== */
.uk-modal-dialog-blank {
margin: 0;
padding: 0;
width: 100%;
max-width: 100%;
-webkit-transition: opacity 0.3s linear;
transition: opacity 0.3s linear;
}
/*
* Close button
*/
.uk-modal-dialog-blank > .uk-close:first-child {
position: absolute;
top: 20px;
right: 20px;
z-index: 1;
margin: 0;
float: none;
}
/* Modifier: `uk-modal-dialog-large`
========================================================================== */
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.uk-modal-dialog-large { width: $modal-dialog-large-width; }
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
.uk-modal-dialog-large { width: $modal-dialog-large-width-large; }
}
/* Sub-Object: `uk-modal-header` and `uk-modal-footer`
========================================================================== */
.uk-modal-header {
margin-bottom: $modal-header-margin-bottom;
@include hook-modal-header();
}
.uk-modal-footer {
margin-top: $modal-footer-margin-top;
@include hook-modal-footer();
}
/*
* Remove margin from the last-child
*/
.uk-modal-header > :last-child,
.uk-modal-footer > :last-child { margin-bottom: 0; }
/* Sub-Object: `uk-modal-caption`
========================================================================== */
.uk-modal-caption {
position: absolute;
left: 0;
right: 0;
bottom: (-$modal-dialog-padding);
margin-bottom: $modal-caption-margin-bottom;
color: $modal-caption-color;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@include hook-modal-caption();
}
/* Sub-Object: `uk-modal-spinner`
========================================================================== */
.uk-modal-spinner {
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
font-size: 25px;
color: #ddd;
@include hook-modal-spinner();
}
.uk-modal-spinner:after {
content: "\f110";
display: block;
font-family: FontAwesome;
-webkit-animation: uk-rotate 2s infinite linear;
animation: uk-rotate 2s infinite linear;
}
// Hooks
// ========================================================================
@include hook-modal-misc();
// @mixin hook-modal(){}
// @mixin hook-modal-dialog(){}
// @mixin hook-modal-dialog-lightbox(){}
// @mixin hook-modal-header(){}
// @mixin hook-modal-footer(){}
// @mixin hook-modal-caption(){}
// @mixin hook-modal-spinner(){}
// @mixin hook-modal-misc(){}

View File

@@ -0,0 +1,468 @@
// Name: Nav
// Description: Defines styles for list navigations
//
// Component: `uk-nav`
//
// Sub-objects: `uk-nav-header`
// `uk-nav-divider`
// `uk-nav-sub`
//
// Modifiers: `uk-nav-parent-icon`
// `uk-nav-side`
// `uk-nav-dropdown`
// `uk-nav-navbar`
// `uk-nav-offcanvas`
//
// States: `uk-active`
// `uk-parent`
// `uk-open`
// `uk-touch`
//
// Uses: Icon: FontAwesome
//
// Used by: Panel
// Dropdown
//
// Markup:
//
// <!-- uk-nav -->
// <ul class="uk-nav">
// <li class="uk-active"><a href=""></a></li>
// <li><a href=""></a></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$nav-padding-vertical: 5px !default;
$nav-padding-horizontal: 15px !default;
$nav-header-padding-vertical: $nav-padding-vertical !default;
$nav-header-padding-horizontal: $nav-padding-horizontal !default;
$nav-header-font-size: 12px !default;
$nav-header-font-weight: bold !default;
$nav-header-text-transform: uppercase !default;
$nav-header-margin-top: 15px !default;
$nav-divider-margin-vertical: 9px !default;
$nav-divider-margin-horizontal: $nav-padding-horizontal !default;
$nav-subtitle-font-size: 12px !default;
$nav-subtitle-line-height: 18px !default;
$nav-nested-padding-left: 15px !default;
$nav-nested-padding-vertical: 2px !default;
$nav-nested-padding-horizontal: 0 !default;
$nav-sub-padding-vertical: 5px !default;
$nav-sub-padding-left: $nav-padding-horizontal !default;
$nav-parent-icon: "\f104" !default;
$nav-parent-open-icon: "\f107" !default;
$nav-parent-icon-width: 20px !default;
$nav-parent-icon-margin-right: -10px !default;
$nav-side-color: #444 !default;
$nav-side-hover-background: rgba(0,0,0,0.05) !default;
$nav-side-hover-color: #444 !default;
$nav-side-active-background: #00a8e6 !default;
$nav-side-active-color: #fff !default;
$nav-side-header-color: #444 !default;
$nav-side-divider-border: #ddd !default;
$nav-side-divider-border-width: 1px !default;
$nav-side-nested-color: #07D !default;
$nav-side-nested-hover-color: #059 !default;
$nav-dropdown-color: #444 !default;
$nav-dropdown-hover-background: #00a8e6 !default;
$nav-dropdown-hover-color: #fff !default;
$nav-dropdown-header-color: #999 !default;
$nav-dropdown-divider-border: #ddd !default;
$nav-dropdown-divider-border-width: 1px !default;
$nav-dropdown-nested-color: #07D !default;
$nav-dropdown-nested-hover-color: #059 !default;
$nav-navbar-color: #444 !default;
$nav-navbar-hover-background: #00a8e6 !default;
$nav-navbar-hover-color: #fff !default;
$nav-navbar-header-color: #999 !default;
$nav-navbar-divider-border: #ddd !default;
$nav-navbar-divider-border-width: 1px !default;
$nav-navbar-nested-color: #07D !default;
$nav-navbar-nested-hover-color: #059 !default;
$nav-offcanvas-padding-vertical: 10px !default;
$nav-offcanvas-padding-horizontal: 15px !default;
$nav-offcanvas-color: #ccc !default;
$nav-offcanvas-hover-background: #404040 !default;
$nav-offcanvas-hover-color: #fff !default;
$nav-offcanvas-active-background: #1a1a1a !default;
$nav-offcanvas-active-color: #fff !default;
$nav-offcanvas-header-color: #777 !default;
$nav-offcanvas-divider-border: #1a1a1a !default;
$nav-offcanvas-divider-border-width: 1px !default;
$nav-offcanvas-nested-color: #ccc !default;
$nav-offcanvas-nested-hover-color: #fff !default;
/* ========================================================================
Component: Nav
========================================================================== */
.uk-nav,
.uk-nav ul {
margin: 0;
padding: 0;
list-style: none;
}
/*
* Items
*/
.uk-nav li > a {
display: block;
text-decoration: none;
}
.uk-nav > li > a { padding: $nav-padding-vertical $nav-padding-horizontal; }
/*
* Nested items
*/
.uk-nav ul { padding-left: $nav-nested-padding-left; }
.uk-nav ul a { padding: $nav-nested-padding-vertical $nav-nested-padding-horizontal; }
/*
* Item subtitle
*/
.uk-nav li > a > div {
font-size: $nav-subtitle-font-size;
line-height: $nav-subtitle-line-height;
}
/* Sub-object: `uk-nav-header`
========================================================================== */
.uk-nav-header {
padding: $nav-header-padding-vertical $nav-header-padding-horizontal;
text-transform: $nav-header-text-transform;
font-weight: $nav-header-font-weight;
font-size: $nav-header-font-size;
@include hook-nav-header();
}
.uk-nav-header:not(:first-child) { margin-top: $nav-header-margin-top; }
/* Sub-object: `uk-nav-divider`
========================================================================== */
.uk-nav-divider {
margin: $nav-divider-margin-vertical $nav-divider-margin-horizontal;
@include hook-nav-divider();
}
/* Sub-object: `uk-nav-sub`
========================================================================== */
/*
* `ul` needed for higher specificity to override padding
*/
ul.uk-nav-sub {
padding: $nav-sub-padding-vertical 0 $nav-sub-padding-vertical $nav-sub-padding-left;
@include hook-nav-sub();
}
/* Modifier: `uk-nav-parent-icon`
========================================================================== */
.uk-nav-parent-icon > .uk-parent > a:after {
content: $nav-parent-icon;
width: $nav-parent-icon-width;
margin-right: $nav-parent-icon-margin-right;
float: right;
font-family: FontAwesome;
text-align: center;
@include hook-nav-parent-icon();
}
.uk-nav-parent-icon > .uk-parent.uk-open > a:after { content: $nav-parent-open-icon; }
/* Modifier `uk-nav-side`
========================================================================== */
/*
* Items
*/
.uk-nav-side > li > a {
color: $nav-side-color;
@include hook-nav-side();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-nav-side > li > a:hover,
.uk-nav-side > li > a:focus { // 1
background: $nav-side-hover-background;
color: $nav-side-hover-color;
/* 2 */
outline: none;
@include hook-nav-side-hover();
}
/* Active */
.uk-nav-side > li.uk-active > a {
background: $nav-side-active-background;
color: $nav-side-active-color;
@include hook-nav-side-active();
}
/*
* Sub-object: `uk-nav-header`
*/
.uk-nav-side .uk-nav-header {
color: $nav-side-header-color;
@include hook-nav-side-header();
}
/*
* Sub-object: `uk-nav-divider`
*/
.uk-nav-side .uk-nav-divider {
border-top: $nav-side-divider-border-width solid $nav-side-divider-border;
@include hook-nav-side-divider();
}
/*
* Nested items
*/
.uk-nav-side ul a { color: $nav-side-nested-color; }
.uk-nav-side ul a:hover { color: $nav-side-nested-hover-color; }
/* Modifier `uk-nav-dropdown`
========================================================================== */
/*
* Items
*/
.uk-nav-dropdown > li > a {
color: $nav-dropdown-color;
@include hook-nav-dropdown();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-nav-dropdown > li > a:hover,
.uk-nav-dropdown > li > a:focus { // 1
background: $nav-dropdown-hover-background;
color: $nav-dropdown-hover-color;
/* 2 */
outline: none;
@include hook-nav-dropdown-hover();
}
/*
* Sub-object: `uk-nav-header`
*/
.uk-nav-dropdown .uk-nav-header {
color: $nav-dropdown-header-color;
@include hook-nav-dropdown-header();
}
/*
* Sub-object: `uk-nav-divider`
*/
.uk-nav-dropdown .uk-nav-divider {
border-top: $nav-dropdown-divider-border-width solid $nav-dropdown-divider-border;
@include hook-nav-dropdown-divider();
}
/*
* Nested items
*/
.uk-nav-dropdown ul a { color: $nav-dropdown-nested-color; }
.uk-nav-dropdown ul a:hover { color: $nav-dropdown-nested-hover-color; }
/* Modifier `uk-nav-navbar`
========================================================================== */
/*
* Items
*/
.uk-nav-navbar > li > a {
color: $nav-navbar-color;
@include hook-nav-navbar();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-nav-navbar > li > a:hover,
.uk-nav-navbar > li > a:focus { // 1
background: $nav-navbar-hover-background;
color: $nav-navbar-hover-color;
/* 2 */
outline: none;
@include hook-nav-navbar-hover();
}
/*
* Sub-object: `uk-nav-header`
*/
.uk-nav-navbar .uk-nav-header {
color: $nav-navbar-header-color;
@include hook-nav-navbar-header();
}
/*
* Sub-object: `uk-nav-divider`
*/
.uk-nav-navbar .uk-nav-divider {
border-top: $nav-navbar-divider-border-width solid $nav-navbar-divider-border;
@include hook-nav-navbar-divider();
}
/*
* Nested items
*/
.uk-nav-navbar ul a { color: $nav-navbar-nested-color; }
.uk-nav-navbar ul a:hover { color: $nav-navbar-nested-hover-color; }
/* Modifier `uk-nav-offcanvas`
========================================================================== */
/*
* Items
*/
.uk-nav-offcanvas > li > a {
color: $nav-offcanvas-color;
padding: $nav-offcanvas-padding-vertical $nav-offcanvas-padding-horizontal;
@include hook-nav-offcanvas();
}
/*
* Hover
* No hover on touch devices because it behaves buggy in fixed offcanvas
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-nav-offcanvas > .uk-open > a,
html:not(.uk-touch) .uk-nav-offcanvas > li > a:hover,
html:not(.uk-touch) .uk-nav-offcanvas > li > a:focus { // 1
background: $nav-offcanvas-hover-background;
color: $nav-offcanvas-hover-color;
/* 2 */
outline: none;
@include hook-nav-offcanvas-hover();
}
/*
* Active
* `html .uk-nav` needed for higher specificity to override hover
*/
html .uk-nav.uk-nav-offcanvas > li.uk-active > a {
background: $nav-offcanvas-active-background;
color: $nav-offcanvas-active-color;
@include hook-nav-offcanvas-active();
}
/*
* Sub-object: `uk-nav-header`
*/
.uk-nav-offcanvas .uk-nav-header {
color: $nav-offcanvas-header-color;
@include hook-nav-offcanvas-header();
}
/*
* Sub-object: `uk-nav-divider`
*/
.uk-nav-offcanvas .uk-nav-divider {
border-top: $nav-offcanvas-divider-border-width solid $nav-offcanvas-divider-border;
@include hook-nav-offcanvas-divider();
}
/*
* Nested items
* No hover on touch devices because it behaves buggy in fixed offcanvas
*/
.uk-nav-offcanvas ul a { color: $nav-offcanvas-nested-color; }
html:not(.uk-touch) .uk-nav-offcanvas ul a:hover { color: $nav-offcanvas-nested-hover-color; }
// Hooks
// ========================================================================
@include hook-nav-misc();
// @mixin hook-nav-header(){}
// @mixin hook-nav-divider(){}
// @mixin hook-nav-sub(){}
// @mixin hook-nav-parent-icon(){}
// @mixin hook-nav-side(){}
// @mixin hook-nav-side-hover(){}
// @mixin hook-nav-side-active(){}
// @mixin hook-nav-side-header(){}
// @mixin hook-nav-side-divider(){}
// @mixin hook-nav-dropdown(){}
// @mixin hook-nav-dropdown-hover(){}
// @mixin hook-nav-dropdown-header(){}
// @mixin hook-nav-dropdown-divider(){}
// @mixin hook-nav-navbar(){}
// @mixin hook-nav-navbar-hover(){}
// @mixin hook-nav-navbar-header(){}
// @mixin hook-nav-navbar-divider(){}
// @mixin hook-nav-offcanvas(){}
// @mixin hook-nav-offcanvas-hover(){}
// @mixin hook-nav-offcanvas-active(){}
// @mixin hook-nav-offcanvas-header(){}
// @mixin hook-nav-offcanvas-divider(){}
// @mixin hook-nav-misc(){}

View File

@@ -0,0 +1,325 @@
// Name: Navbar
// Description: Defines styles for the navigation bar
//
// Component: `uk-navbar`
//
// Sub-objects: `uk-navbar-nav`
// `uk-navbar-nav-subtitle`
// `uk-navbar-content`
// `uk-navbar-brand`
// `uk-navbar-toggle`
// `uk-navbar-toggle-alt`
// `uk-navbar-center`
// `uk-navbar-flip`
//
// Modifiers: `uk-navbar-attached`
//
// States: `uk-active`
// `uk-parent`
// `uk-open`
//
// Used by: Dropdown
//
// Markup:
//
// <!-- uk-navbar -->
// <nav class="uk-navbar">
// <ul class="uk-navbar-nav">
// <li class="uk-active"><a href=""></a></li>
// <li><a href=""></a></li>
// </ul>
// </nav>
//
// ========================================================================
// Variables
// ========================================================================
$navbar-background: #eee !default;
$navbar-color: #444 !default;
$navbar-link-color: #07D !default;
$navbar-link-hover-color: #059 !default;
$navbar-nav-height: 40px !default;
$navbar-nav-line-height: $navbar-nav-height !default;
$navbar-nav-padding-horizontal: 15px !default;
$navbar-nav-color: #444 !default;
$navbar-nav-font-size: 14px !default;
$navbar-nav-font-weight: normal !default;
$navbar-nav-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$navbar-nav-hover-background: #f5f5f5 !default;
$navbar-nav-hover-color: #444 !default;
$navbar-nav-onclick-background: #ddd !default;
$navbar-nav-onclick-color: #444 !default;
$navbar-nav-active-background: #f5f5f5 !default;
$navbar-nav-active-color: #444 !default;
$navbar-nav-subtitle-font-size: 10px !default;
$navbar-nav-subtitle-offset: 2px !default;
$navbar-brand-font-size: 18px !default;
$navbar-brand-color: #444 !default;
$navbar-brand-hover-color: #444 !default;
$navbar-toggle-font-size: 18px !default;
$navbar-toggle-color: #444 !default;
$navbar-toggle-hover-color: #444 !default;
$navbar-toggle-icon: "\f0c9" !default;
$navbar-toggle-icon-alt: "\f002" !default;
/* ========================================================================
Component: Navbar
========================================================================== */
.uk-navbar {
background: $navbar-background;
color: $navbar-color;
@include hook-navbar();
}
/*
* Micro clearfix
*/
.uk-navbar:before,
.uk-navbar:after {
content: "";
display: table;
}
.uk-navbar:after { clear: both; }
/* Sub-object: `uk-navbar-nav`
========================================================================== */
.uk-navbar-nav {
margin: 0;
padding: 0;
list-style: none;
float: left;
}
/*
* 1. Create position context for dropdowns
*/
.uk-navbar-nav > li {
float: left;
/* 1 */
position: relative;
}
/*
* 1. Dimensions
* 2. Style
*/
.uk-navbar-nav > li > a {
display: block;
box-sizing: border-box;
text-decoration: none;
/* 1 */
height: $navbar-nav-height;
padding: 0 $navbar-nav-padding-horizontal;
line-height: $navbar-nav-line-height;
/* 2 */
color: $navbar-nav-color;
font-size: $navbar-nav-font-size;
font-family: $navbar-nav-font-family;
font-weight: $navbar-nav-font-weight;
@include hook-navbar-nav();
}
/* Appear not as link */
.uk-navbar-nav > li > a[href='#'] { cursor: text; }
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Also apply if dropdown is opened
* 3. Remove default focus style
*/
.uk-navbar-nav > li:hover > a,
.uk-navbar-nav > li > a:focus, // 1
.uk-navbar-nav > li.uk-open > a { // 2
background-color: $navbar-nav-hover-background;
color: $navbar-nav-hover-color;
/* 3 */
outline: none;
@include hook-navbar-nav-hover();
}
/* OnClick */
.uk-navbar-nav > li > a:active {
background-color: $navbar-nav-onclick-background;
color: $navbar-nav-onclick-color;
@include hook-navbar-nav-onclick();
}
/* Active */
.uk-navbar-nav > li.uk-active > a {
background-color: $navbar-nav-active-background;
color: $navbar-nav-active-color;
@include hook-navbar-nav-active();
}
/* Sub-objects: `uk-navbar-nav-subtitle`
========================================================================== */
.uk-navbar-nav .uk-navbar-nav-subtitle { line-height: $navbar-nav-line-height - $navbar-nav-subtitle-font-size - $navbar-nav-subtitle-offset; }
.uk-navbar-nav-subtitle > div {
margin-top: (($navbar-nav-line-height - $navbar-nav-subtitle-font-size - $navbar-nav-font-size) / -2) + $navbar-nav-subtitle-offset;
font-size: $navbar-nav-subtitle-font-size;
line-height: $navbar-nav-subtitle-font-size + $navbar-nav-subtitle-offset;
}
/* Sub-objects: `uk-navbar-content`, `uk-navbar-brand`, `uk-navbar-toggle`
========================================================================== */
/*
* Imitate navbar items
*/
.uk-navbar-content,
.uk-navbar-brand,
.uk-navbar-toggle {
box-sizing: border-box;
display: block;
height: $navbar-nav-height;
padding: 0 $navbar-nav-padding-horizontal;
float: left;
@include hook-navbar-content();
}
/*
* Helper to center all child elements vertically
*/
.uk-navbar-content:before,
.uk-navbar-brand:before,
.uk-navbar-toggle:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
/* Sub-objects: `uk-navbar-content`
========================================================================== */
/*
* Better sibling spacing
*/
.uk-navbar-content + .uk-navbar-content:not(.uk-navbar-center) { padding-left: 0; }
/*
* Link colors
*/
.uk-navbar-content > a:not([class]) { color: $navbar-link-color; }
.uk-navbar-content > a:not([class]):hover { color: $navbar-link-hover-color; }
/* Sub-objects: `uk-navbar-brand`
========================================================================== */
.uk-navbar-brand {
font-size: $navbar-brand-font-size;
color: $navbar-brand-color;
text-decoration: none;
}
/*
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-navbar-brand:hover,
.uk-navbar-brand:focus { // 1
color: $navbar-brand-hover-color;
text-decoration: none;
/* 2 */
outline: none;
}
/* Sub-object: `uk-navbar-toggle`
========================================================================== */
.uk-navbar-toggle {
font-size: $navbar-toggle-font-size;
color: $navbar-toggle-color;
text-decoration: none;
}
/*
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-navbar-toggle:hover,
.uk-navbar-toggle:focus { // 1
color: $navbar-toggle-hover-color;
text-decoration: none;
/* 2 */
outline: none;
}
/*
* 1. Center icon vertically
*/
.uk-navbar-toggle:after {
content: $navbar-toggle-icon;
font-family: FontAwesome;
/* 1 */
vertical-align: middle;
}
.uk-navbar-toggle-alt:after { content: $navbar-toggle-icon-alt; }
/* Sub-object: `uk-navbar-center`
========================================================================== */
/*
* The element with this class needs to be last child in the navbar
* 1. This hack is needed because other float elements shift centered text
*/
.uk-navbar-center {
float: none;
text-align: center;
/* 1 */
max-width: 50%;
margin-left: auto;
margin-right: auto;
}
/* Sub-object: `uk-navbar-flip`
========================================================================== */
.uk-navbar-flip { float: right; }
// Hooks
// ========================================================================
@include hook-navbar-misc();
// @mixin hook-navbar(){}
// @mixin hook-navbar-nav(){}
// @mixin hook-navbar-nav-hover(){}
// @mixin hook-navbar-nav-onclick(){}
// @mixin hook-navbar-nav-active(){}
// @mixin hook-navbar-content(){}
// @mixin hook-navbar-misc(){}

View File

@@ -0,0 +1,203 @@
// Name: Off-canvas
// Description: Defines styles for an off-canvas sidebar that slides in and out of the page
//
// Component: `uk-offcanvas`
//
// Sub-objects: `uk-offcanvas-page`
// `uk-offcanvas-bar`
// `uk-offcanvas-close`
//
// Modifiers: `uk-offcanvas-bar-flip`
//
// States: `uk-active`
//
// Uses: Panel: `uk-panel`
//
// Markup:
//
// <!-- uk-offcanvas -->
// <a href="#offcanvas" data-uk-offcanvas>Open</a>
// <div id="offcanvas" class="uk-offcanvas">
// <div class="uk-offcanvas-bar"></div>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$offcanvas-z-index: 1000 !default;
$offcanvas-background: rgba(0,0,0,0.1) !default;
$offcanvas-bar-width: 270px !default;
$offcanvas-bar-background: #333 !default;
$offcanvas-panel-margin: 20px 15px !default;
$offcanvas-panel-color: #777 !default;
$offcanvas-panel-link-color: #ccc !default;
$offcanvas-panel-link-hover-color: #fff !default;
$offcanvas-panel-title-color: $offcanvas-panel-link-color !default;
/* ========================================================================
Component: Off-canvas
========================================================================== */
/*
* This is the offcanvas overlay and bar container
* 1. Hide by default
* 2. Set fixed position
* 3. Deactivate browser touch actions in IE11
* 4. Mask the background page
*/
.uk-offcanvas {
/* 1 */
display: none;
/* 2 */
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: $offcanvas-z-index;
/* 3 */
touch-action: none;
/* 4 */
background: $offcanvas-background;
@include hook-offcanvas();
}
.uk-offcanvas.uk-active { display: block; }
/* Sub-object `uk-offcanvas-page`
========================================================================== */
/*
* Prepares the whole HTML page to slide-out
* 1. Fix the main page and disallow scrolling
* 2. Side-out transition
* 3. Needed for the transition to work instead of just letting it pop to the side
*/
.uk-offcanvas-page {
/* 1 */
position: fixed;
/* 2 */
-webkit-transition: margin-left 0.3s ease-in-out;
transition: margin-left 0.3s ease-in-out;
/* 3 */
margin-left: 0;
}
/* Sub-object `uk-offcanvas-bar`
========================================================================== */
/*
* This is the offcanvas bar
* 1. Set fixed position
* 2. Size and style
* 3. Allow scrolling
* 4. Side-out transition
* 5. Deactivate scroll chaining in IE11
*/
.uk-offcanvas-bar {
/* 1 */
position: fixed;
top: 0;
bottom: 0;
left: 0;
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
z-index: $offcanvas-z-index + 1;
/* 2 */
width: $offcanvas-bar-width;
max-width: 100%;
background: $offcanvas-bar-background;
/* 3 */
overflow-y: auto;
-webkit-overflow-scrolling: touch;
/* 4 */
-webkit-transition: -webkit-transform 0.3s ease-in-out;
transition: transform 0.3s ease-in-out;
/* 5 */
-ms-scroll-chaining: none;
@include hook-offcanvas-bar();
}
.uk-offcanvas.uk-active .uk-offcanvas-bar.uk-offcanvas-bar-show {
-webkit-transform: translateX(0%);
transform: translateX(0%);
}
/* Modifier `uk-offcanvas-bar-flip`
========================================================================== */
.uk-offcanvas-bar-flip {
left: auto;
right: 0;
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
/* Offcanvase modes
========================================================================== */
.uk-offcanvas-bar[mode='none'] {
-webkit-transition: none;
transition: none;
}
.uk-offcanvas-bar[mode='reveal']{
-webkit-transform: translateX(0%);
transform: translateX(0%);
clip: rect(0, 0, 100vh, 0);
-webkit-transition: -webkit-transform 0.3s ease-in-out, clip 0.3s ease-in-out;
transition: transform 0.3s ease-in-out, clip 0.3s ease-in-out;
}
.uk-offcanvas-bar-flip[mode='reveal']{
clip: none;
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
.uk-offcanvas-bar-flip[mode='reveal'] > * {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
-webkit-transition: -webkit-transform 0.3s ease-in-out;
transition: transform 0.3s ease-in-out;
}
.uk-offcanvas.uk-active .uk-offcanvas-bar-flip[mode='reveal'].uk-offcanvas-bar-show > * {
-webkit-transform: translateX(0%);
transform: translateX(0%);
}
/* Panel in offcanvas
========================================================================== */
.uk-offcanvas .uk-panel {
margin: $offcanvas-panel-margin;
color: $offcanvas-panel-color;
@include hook-offcanvas-panel();
}
.uk-offcanvas .uk-panel-title { color: $offcanvas-panel-title-color; }
.uk-offcanvas .uk-panel a:not([class]) { color: $offcanvas-panel-link-color; }
.uk-offcanvas .uk-panel a:not([class]):hover { color: $offcanvas-panel-link-hover-color; }
// Hooks
// ========================================================================
@include hook-offcanvas-misc();
// @mixin hook-offcanvas(){}
// @mixin hook-offcanvas-bar(){}
// @mixin hook-offcanvas-panel(){}
// @mixin hook-offcanvas-misc(){}

View File

@@ -0,0 +1,534 @@
// Name: Overlay
// Description: Defines styles for image overlays
//
// Component: `uk-overlay`
//
// Sub-objects: `uk-overlay-panel`
// `uk-overlay-hover`
// `uk-overlay-active`
// `uk-overlay-icon`
//
// Modifier: `uk-overlay-background`
// `uk-overlay-image`
// `uk-overlay-top`
// `uk-overlay-bottom`
// `uk-overlay-left`
// `uk-overlay-right`
// `uk-overlay-fade`
// `uk-overlay-scale`
// `uk-overlay-spin`
// `uk-overlay-grayscale`
// `uk-overlay-slide-top`
// `uk-overlay-slide-bottom`
// `uk-overlay-slide-left`
// `uk-overlay-slide-right`
//
// DEPRECATED: `uk-overlay-area`
// `uk-overlay-area-content`
// `uk-overlay-caption`
// `uk-overlay-toggle`
//
// States: `uk-hover`
// `uk-active`
// `uk-ignore`
//
// Uses: Icon: `[class*='uk-icon-']`
// `uk-border-circle`
//
// Markup:
//
// <!-- uk-overlay -->
// <figure class="uk-overlay" href="">
// <img src="" alt="">
// <figcaption class="uk-overlay-panel"></figcaption>
// </figure>
//
// ========================================================================
// Variables
// ========================================================================
$overlay-panel-padding: 20px !default;
$overlay-panel-color: #fff !default;
$overlay-panel-background: rgba(0,0,0,0.5) !default;
$overlay-icon: "\f002" !default;
$overlay-icon-size: 50px !default;
$overlay-icon-color: #fff !default;
$overlay-fade-in-opacity: 1 !default;
$overlay-fade-out-opacity: 0.7 !default;
$overlay-scale-in-scale: 1.1 !default;
$overlay-scale-out-scale: 1 !default;
$overlay-spin-in-scale: 1.1 !default;
$overlay-spin-out-scale: 1 !default;
$overlay-spin-in-rotate: 3deg !default;
$overlay-spin-out-rotate: 0deg !default;
$overlay-panel-link-color: inherit !default;
$overlay-panel-link-text-decoration: underline !default;
// DEPRECATED
$overlay-area-background: rgba(0,0,0,0.3) !default;
$overlay-area-icon: "\f002" !default;
$overlay-area-icon-size: 50px !default;
$overlay-area-icon-color: #fff !default;
$overlay-area-content-font-size: 1rem !default;
$overlay-area-content-padding-horizontal: 15px !default;
$overlay-area-content-color: #fff !default;
$overlay-area-content-link-color: inherit !default;
$overlay-caption-background: rgba(0,0,0,0.5) !default;
$overlay-caption-padding: 15px !default;
$overlay-caption-color: #fff !default;
/* ========================================================================
Component: Overlay
========================================================================== */
/*
* 1. Container width fits its content
* 2. Create position context
* 3. Set max-width for responsive images to prevent `inline-block` consequences
* 4. Remove the gap between the container and its child element
* 5. Needed for transitions and to fixed wrong scaling calculation for images in Chrome
* 6. Fixed `overflow: hidden` to be ignored with border-radius and CSS transforms in Webkit
* 7. Reset margin
*/
.uk-overlay {
/* 1 */
display: inline-block;
/* 2 */
position: relative;
/* 3 */
max-width: 100%;
/* 4 */
vertical-align: middle;
/* 5 */
overflow: hidden;
/* 6 */
-webkit-transform: translateZ(0);
/* 7 */
margin: 0;
}
/* 6 for Safari */
.uk-overlay.uk-border-circle { -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%); }
/*
* Remove margin from content
*/
.uk-overlay > :first-child { margin-bottom: 0; }
/* Sub-object `uk-overlay-panel`
========================================================================== */
/*
* 1. Position cover
* 2. Style
*/
.uk-overlay-panel {
/* 1 */
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
/* 2 */
padding: $overlay-panel-padding;
color: $overlay-panel-color;
@include hook-overlay-panel();
}
/*
* Remove margin from the last-child
*/
.uk-overlay-panel > :last-child,
.uk-overlay-panel.uk-flex > * > :last-child { margin-bottom: 0; }
/*
* Keep color for headings if the default heading color is changed
*/
.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: $overlay-panel-link-color;
text-decoration: $overlay-panel-link-text-decoration;
}
.uk-overlay-panel a[class*='uk-icon-']:not(.uk-icon-button) { color: $overlay-panel-link-color; }
/* Sub-object `uk-overlay-hover` and `uk-overlay-active`
========================================================================== */
.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; }
/* Modifier `uk-overlay-background`
========================================================================== */
.uk-overlay-background {
background: $overlay-panel-background;
@include hook-overlay-background();
}
/* Modifier `uk-overlay-image`
========================================================================== */
/*
* Reset panel
*/
.uk-overlay-image {
padding: 0;
@include hook-overlay-image();
}
/* Position modifiers
========================================================================== */
.uk-overlay-top { bottom: auto; }
.uk-overlay-bottom { top: auto; }
.uk-overlay-left { right: auto; }
.uk-overlay-right { left: auto; }
/* Sub-object `uk-overlay-icon`
========================================================================== */
.uk-overlay-icon:before {
content: $overlay-icon;
position: absolute;
top: 50%;
left: 50%;
width: $overlay-icon-size;
height: $overlay-icon-size;
margin-top: -($overlay-icon-size / 2);
margin-left: -($overlay-icon-size / 2);
font-size: $overlay-icon-size;
line-height: 1;
font-family: FontAwesome;
text-align: center;
color: $overlay-icon-color;
@include hook-overlay-icon();
}
/* Transitions
========================================================================== */
.uk-overlay-fade,
.uk-overlay-scale,
.uk-overlay-spin,
.uk-overlay-grayscale,
.uk-overlay-blur,
[class*='uk-overlay-slide'] {
transition-duration: 0.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: 0.8s; }
/*
* Fade
*/
.uk-overlay-fade { opacity: $overlay-fade-out-opacity; }
.uk-overlay-hover:hover .uk-overlay-fade,
.uk-overlay-hover.uk-hover .uk-overlay-fade,
.uk-overlay-active .uk-active > .uk-overlay-fade { opacity: $overlay-fade-in-opacity; }
/*
* Scale
*/
.uk-overlay-scale {
-webkit-transform: scale($overlay-scale-out-scale);
transform: scale($overlay-scale-out-scale);
}
.uk-overlay-hover:hover .uk-overlay-scale,
.uk-overlay-hover.uk-hover .uk-overlay-scale,
.uk-overlay-active .uk-active > .uk-overlay-scale {
-webkit-transform: scale($overlay-scale-in-scale);
transform: scale($overlay-scale-in-scale);
}
/*
* Spin
*/
.uk-overlay-spin {
-webkit-transform: scale($overlay-spin-out-scale) rotate($overlay-spin-out-rotate);
transform: scale($overlay-spin-out-scale) rotate($overlay-spin-out-rotate);
}
.uk-overlay-hover:hover .uk-overlay-spin,
.uk-overlay-hover.uk-hover .uk-overlay-spin,
.uk-overlay-active .uk-active > .uk-overlay-spin {
-webkit-transform: scale($overlay-spin-in-scale) rotate($overlay-spin-in-rotate);
transform: scale($overlay-spin-in-scale) rotate($overlay-spin-in-rotate);
}
/*
* Grayscale
*/
.uk-overlay-grayscale {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
.uk-overlay-hover:hover .uk-overlay-grayscale,
.uk-overlay-hover.uk-hover .uk-overlay-grayscale,
.uk-overlay-active .uk-active > .uk-overlay-grayscale {
-webkit-filter: grayscale(0%);
filter: grayscale(0%);
}
/*
* Slide
*/
[class*='uk-overlay-slide'] { opacity: 0; }
/* Top */
.uk-overlay-slide-top {
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
/* Bottom */
.uk-overlay-slide-bottom {
-webkit-transform: translateY(100%);
transform: translateY(100%);
}
/* Left */
.uk-overlay-slide-left {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
/* Right */
.uk-overlay-slide-right {
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
/* Hover */
.uk-overlay-hover:hover [class*='uk-overlay-slide'],
.uk-overlay-hover.uk-hover [class*='uk-overlay-slide'],
.uk-overlay-active .uk-active > [class*='uk-overlay-slide'] {
opacity: 1;
-webkit-transform: translateX(0) translateY(0);
transform: translateX(0) translateY(0);
}
/* DEPRECATED
* Sub-object `uk-overlay-area`
========================================================================== */
/*
* 1. Set position
* 2. Set style
* 3. Fade-in transition
*/
.uk-overlay-area {
/* 1 */
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
/* 2 */
background: $overlay-area-background;
/* 3 */
opacity: 0;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
-webkit-transform: translate3d(0,0,0);
@include hook-overlay-area();
}
/*
* Hover
* 1. `uk-hover` to support touch devices
* 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier
*/
.uk-overlay:hover .uk-overlay-area,
.uk-overlay.uk-hover .uk-overlay-area, // 1
.uk-overlay-toggle:hover .uk-overlay-area, // 2
.uk-overlay-toggle.uk-hover .uk-overlay-area { opacity: 1; }
/*
* Icon
*/
.uk-overlay-area:empty:before {
content: $overlay-area-icon;
position: absolute;
top: 50%;
left: 50%;
width: $overlay-area-icon-size;
height: $overlay-area-icon-size;
margin-top: -($overlay-area-icon-size / 2);
margin-left: -($overlay-area-icon-size / 2);
font-size: $overlay-area-icon-size;
line-height: 1;
font-family: FontAwesome;
text-align: center;
color: $overlay-area-icon-color;
@include hook-overlay-area-icon();
}
/* DEPRECATED
* Sub-object `uk-overlay-area-content`
========================================================================== */
/*
* Remove whitespace between child elements when using `inline-block`
* Needed for Firefox
*/
.uk-overlay-area:not(:empty) { font-size: 0.001px; }
/*
* 1. Needed for vertical alignment
*/
.uk-overlay-area:not(:empty):before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
/*
* 1. Set vertical alignment
* 2. Reset whitespace hack
* 3. Set horizontal alignment
* 4. Set style
*/
.uk-overlay-area-content {
/* 1 */
display: inline-block;
box-sizing: border-box;
width: 100%;
vertical-align: middle;
/* 2 */
font-size: $overlay-area-content-font-size;
/* 3 */
text-align: center;
/* 4 */
padding: 0 $overlay-area-content-padding-horizontal;
color: $overlay-area-content-color;
@include hook-overlay-area-content();
}
/*
* Remove margin from the last-child
*/
.uk-overlay-area-content > :last-child { margin-bottom: 0; }
/*
* Links in overlay area
*/
.uk-overlay-area-content a:not([class]),
.uk-overlay-area-content a:not([class]):hover { color: $overlay-area-content-link-color; }
/* DEPRECATED
* Sub-object `uk-overlay-caption`
========================================================================== */
/*
* 1. Set position
* 2. Set style
* 3. Fade-in transition
*/
.uk-overlay-caption {
/* 1 */
position: absolute;
bottom: 0;
left: 0;
right: 0;
/* 2 */
padding: $overlay-caption-padding;
background: $overlay-caption-background;
color: $overlay-caption-color;
/* 3 */
opacity: 0;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
-webkit-transform: translate3d(0,0,0);
@include hook-overlay-caption();
}
/*
* Hover
* 1. `uk-hover` to support touch devices
* 2. Use optional `uk-overlay-toggle` to trigger the overlay earlier
*/
.uk-overlay:hover .uk-overlay-caption,
.uk-overlay.uk-hover .uk-overlay-caption, // 1
.uk-overlay-toggle:hover .uk-overlay-caption, // 2
.uk-overlay-toggle.uk-hover .uk-overlay-caption { opacity: 1; }
// Hooks
// ========================================================================
@include hook-overlay-misc();
// @mixin hook-overlay-panel(){}
// @mixin hook-overlay-background(){}
// @mixin hook-overlay-image(){}
// @mixin hook-overlay-icon(){}
// @mixin hook-overlay-misc(){}
// DEPRECATED
// @mixin hook-overlay-area(){}
// @mixin hook-overlay-area-icon(){}
// @mixin hook-overlay-area-content(){}
// @mixin hook-overlay-caption(){}

View File

@@ -0,0 +1,197 @@
// Name: Pagination
// Description: Defines styles for a navigation between pages
//
// Component: `uk-pagination`
//
// Sub-objects: `uk-pagination-previous`
// `uk-pagination-next`
//
// Modifiers: `uk-pagination-left`
// `uk-pagination-right`
//
// States: `uk-active`
// `uk-disabled`
//
// Markup:
//
// <!-- uk-pagination -->
// <ul class="uk-pagination">
// <li class="uk-active"><span></span></li>
// <li><a href=""></a></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$pagination-font-size: 1rem !default;
$pagination-margin-left: 5px !default;
$pagination-padding-vertical: 3px !default;
$pagination-padding-horizontal: 5px !default;
$pagination-line-height: 20px !default;
$pagination-background: #eee !default;
$pagination-color: #444 !default;
$pagination-hover-background: #f5f5f5 !default;
$pagination-hover-color: #444 !default;
$pagination-onclick-background: #ddd !default;
$pagination-onclick-color: #444 !default;
$pagination-active-background: #00a8e6 !default;
$pagination-active-color: #fff !default;
$pagination-disabled-background: #f5f5f5 !default;
$pagination-disabled-color: #999 !default;
/* ========================================================================
Component: Pagination
========================================================================== */
/*
* 1. Remove default list style
* 2. Center pagination by default
* 3. Remove whitespace between child elements when using `inline-block`
*/
.uk-pagination {
/* 1 */
padding: 0;
list-style: none;
/* 2 */
text-align: center;
/* 3 */
font-size: 0.001px;
}
/*
* Micro clearfix
* Needed if `uk-pagination-previous` or `uk-pagination-next` sub-objects are used
*/
.uk-pagination:before,
.uk-pagination:after {
content: "";
display: table;
}
.uk-pagination:after { clear: both; }
/* Items
========================================================================== */
/*
* 1. Reset whitespace hack
* 2. Remove the gap at the bottom of it container
*/
.uk-pagination > li {
display: inline-block;
/* 1 */
font-size: $pagination-font-size;
/* 2 */
vertical-align: top;
}
.uk-pagination > li:nth-child(n+2) { margin-left: $pagination-margin-left; }
/*
* 1. Makes pagination more robust against different box-sizing use
* 2. Reset text-align to center if alignment modifier is used
*/
.uk-pagination > li > a,
.uk-pagination > li > span {
display: inline-block;
min-width: $pagination-line-height + (2 * $pagination-padding-vertical) - (2 * $pagination-padding-horizontal);
padding: $pagination-padding-vertical $pagination-padding-horizontal;
line-height: $pagination-line-height;
text-decoration: none;
/* 1 */
box-sizing: content-box;
/* 2 */
text-align: center;
@include hook-pagination-item();
}
/*
* Links
*/
.uk-pagination > li > a {
background: $pagination-background;
color: $pagination-color;
@include hook-pagination-link();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-pagination > li > a:hover,
.uk-pagination > li > a:focus { // 1
background-color: $pagination-hover-background;
color: $pagination-hover-color;
/* 2 */
outline: none;
@include hook-pagination-link-hover();
}
/* OnClick */
.uk-pagination > li > a:active {
background-color: $pagination-onclick-background;
color: $pagination-onclick-color;
@include hook-pagination-link-active();
}
/*
* Active
*/
.uk-pagination > .uk-active > span {
background: $pagination-active-background;
color: $pagination-active-color;
@include hook-pagination-active();
}
/*
* Disabled
*/
.uk-pagination > .uk-disabled > span {
background-color: $pagination-disabled-background;
color: $pagination-disabled-color;
@include hook-pagination-disabled();
}
/* Previous and next navigation
========================================================================== */
.uk-pagination-previous { float: left; }
.uk-pagination-next { float: right; }
/* Alignment modifiers
========================================================================== */
.uk-pagination-left { text-align: left; }
.uk-pagination-right { text-align: right; }
// Hooks
// ========================================================================
@include hook-pagination-misc();
// @mixin hook-pagination-item(){}
// @mixin hook-pagination-link(){}
// @mixin hook-pagination-link-hover(){}
// @mixin hook-pagination-link-active(){}
// @mixin hook-pagination-active(){}
// @mixin hook-pagination-disabled(){}
// @mixin hook-pagination-misc(){}

View File

@@ -0,0 +1,332 @@
// Name: Panel
// Description: Defines styles for reusable content areas
//
// Component: `uk-panel`
//
// Sub-objects: `uk-panel-title`
// `uk-panel-badge`
// `uk-panel-teaser`
// `uk-panel-body`
//
// Modifiers: `uk-panel-box`
// `uk-panel-box-hover`
// `uk-panel-box-primary`
// `uk-panel-box-primary-hover`
// `uk-panel-box-secondary`
// `uk-panel-box-secondary-hover`
// `uk-panel-hover`
// `uk-panel-header`
// `uk-panel-space`
// `uk-panel-divider`
//
// Uses: Nav: `uk-nav-side`
//
// Used by: Dropdown
// Off-canvas
// Grid
//
// Markup:
//
// <!-- uk-panel -->
// <div class="uk-panel">
// <div class="uk-panel-badge uk-badge"></div>
// <h3 class="uk-panel-title"></h3>
// <p></p>
// </div>
//
// ========================================================================
// Variables
// ========================================================================
$panel-title-margin-bottom: 15px !default;
$panel-title-font-size: 18px !default;
$panel-title-line-height: 24px !default;
$panel-title-font-weight: normal !default;
$panel-title-color: #444 !default;
$panel-title-text-transform: none !default;
$panel-teaser-margin-bottom: $panel-title-margin-bottom !default;
$panel-box-padding: 15px !default;
$panel-box-background: #f5f5f5 !default;
$panel-box-color: #444 !default;
$panel-box-hover-color: $panel-box-color !default;
$panel-box-title-color: #444 !default;
$panel-box-badge-top: 10px !default;
$panel-box-badge-right: $panel-box-badge-top !default;
$panel-box-teaser-margin: -$panel-box-padding !default;
$panel-box-primary-background: #ebf7fd !default;
$panel-box-primary-color: #2d7091 !default;
$panel-box-primary-hover-color: $panel-box-primary-color !default;
$panel-box-primary-title-color: #2d7091 !default;
$panel-box-secondary-background: #eee !default;
$panel-box-secondary-color: #444 !default;
$panel-box-secondary-hover-color: $panel-box-secondary-color !default;
$panel-box-secondary-title-color: #444 !default;
$panel-hover-padding: 15px !default;
$panel-hover-color: #444 !default;
$panel-hover-hover-background: #f5f5f5 !default;
$panel-hover-hover-color: #444 !default;
$panel-hover-badge-top: 10px !default;
$panel-hover-badge-right: $panel-hover-badge-top !default;
$panel-hover-teaser-margin: -$panel-hover-padding !default;
$panel-header-title-padding: 10px !default;
$panel-header-title-border: #ddd !default;
$panel-header-title-border-width: 1px !default;
$panel-header-title-color: #444 !default;
$panel-space-padding: 30px !default;
$panel-divider-gutter: 25px !default;
$panel-divider-gutter-large: 35px !default;
$panel-divider-border: #ddd !default;
$panel-divider-border-width: 1px !default;
$panel-body-padding: $panel-box-padding !default;
/* ========================================================================
Component: Panel
========================================================================== */
/*
* 1. Needed for `a` elements
* 2. Create position context for badges
*/
.uk-panel {
/* 1 */
display: block;
/* 2 */
position: relative;
}
/*
* Allow panels to be anchors
*/
.uk-panel,
.uk-panel:hover { text-decoration: none; }
/*
* Micro clearfix to make panels more robust
*/
.uk-panel:before,
.uk-panel:after {
content: "";
display: table;
}
.uk-panel:after { clear: both; }
/*
* Remove margin from the last-child if not `uk-widget-title`
*/
.uk-panel > :not(.uk-panel-title):last-child { margin-bottom: 0; }
/* Sub-object: `uk-panel-title`
========================================================================== */
.uk-panel-title {
margin-top: 0;
margin-bottom: $panel-title-margin-bottom;
font-size: $panel-title-font-size;
line-height: $panel-title-line-height;
font-weight: $panel-title-font-weight;
text-transform: $panel-title-text-transform;
color: $panel-title-color;
@include hook-panel-title();
}
/* Sub-object: `uk-panel-badge`
========================================================================== */
.uk-panel-badge {
position: absolute;
top: 0;
right: 0;
z-index: 1;
@include hook-panel-badge();
}
/* Sub-object: `uk-panel-teaser`
========================================================================== */
.uk-panel-teaser { margin-bottom: $panel-teaser-margin-bottom; }
/* Sub-object: `uk-panel-body`
========================================================================== */
.uk-panel-body { padding: $panel-body-padding; }
/* Modifier: `uk-panel-box`
========================================================================== */
.uk-panel-box {
padding: $panel-box-padding;
background: $panel-box-background;
color: $panel-box-color;
@include hook-panel-box();
}
.uk-panel-box-hover:hover {
color: $panel-box-hover-color;
@include hook-panel-box-hover();
}
.uk-panel-box .uk-panel-title { color: $panel-box-title-color; }
.uk-panel-box .uk-panel-badge {
top: $panel-box-badge-top;
right: $panel-box-badge-right;
}
.uk-panel-box > .uk-panel-teaser {
margin-top: $panel-box-teaser-margin;
margin-left: $panel-box-teaser-margin;
margin-right: $panel-box-teaser-margin;
}
/*
* Nav in panel
*/
.uk-panel-box > .uk-nav-side { margin: 0 (-$panel-box-padding); }
/*
* Sub-modifier: `uk-panel-box-primary`
*/
.uk-panel-box-primary {
background-color: $panel-box-primary-background;
color: $panel-box-primary-color;
@include hook-panel-box-primary();
}
.uk-panel-box-primary-hover:hover {
color: $panel-box-primary-hover-color;
@include hook-panel-box-primary-hover();
}
.uk-panel-box-primary .uk-panel-title { color: $panel-box-primary-title-color; }
/*
* Sub-modifier: `uk-panel-box-secondary`
*/
.uk-panel-box-secondary {
background-color: $panel-box-secondary-background;
color: $panel-box-secondary-color;
@include hook-panel-box-secondary();
}
.uk-panel-box-secondary-hover:hover {
color: $panel-box-secondary-hover-color;
@include hook-panel-box-secondary-hover();
}
.uk-panel-box-secondary .uk-panel-title { color: $panel-box-secondary-title-color; }
/* Modifier: `uk-panel-hover`
========================================================================== */
.uk-panel-hover {
padding: $panel-hover-padding;
color: $panel-hover-color;
@include hook-panel-hover();
}
.uk-panel-hover:hover {
background: $panel-hover-hover-background;
color: $panel-hover-hover-color;
@include hook-panel-hover-hover();
}
.uk-panel-hover .uk-panel-badge {
top: $panel-hover-badge-top;
right: $panel-hover-badge-right;
}
.uk-panel-hover > .uk-panel-teaser {
margin-top: $panel-hover-teaser-margin;
margin-left: $panel-hover-teaser-margin;
margin-right: $panel-hover-teaser-margin;
}
/* Modifier: `uk-panel-header`
========================================================================== */
.uk-panel-header .uk-panel-title {
padding-bottom: $panel-header-title-padding;
border-bottom: $panel-header-title-border-width solid $panel-header-title-border;
color: $panel-header-title-color;
@include hook-panel-header();
}
/* Modifier: `uk-panel-space`
========================================================================== */
.uk-panel-space { padding: $panel-space-padding; }
.uk-panel-space .uk-panel-badge {
top: $panel-space-padding;
right: $panel-space-padding;
}
/* Modifier: `uk-panel-divider`
========================================================================== */
.uk-panel + .uk-panel-divider { margin-top: ($panel-divider-gutter * 2) !important; }
.uk-panel + .uk-panel-divider:before {
content: "";
display: block;
position: absolute;
top: -($panel-divider-gutter);
left: 0;
right: 0;
border-top: $panel-divider-border-width solid $panel-divider-border;
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
.uk-panel + .uk-panel-divider { margin-top: ($panel-divider-gutter-large * 2) !important; }
.uk-panel + .uk-panel-divider:before { top: -($panel-divider-gutter-large); }
}
// Hooks
// ========================================================================
@include hook-panel-misc();
// @mixin hook-panel-title(){}
// @mixin hook-panel-badge(){}
// @mixin hook-panel-box(){}
// @mixin hook-panel-box-hover(){}
// @mixin hook-panel-box-primary(){}
// @mixin hook-panel-box-primary-hover(){}
// @mixin hook-panel-box-secondary(){}
// @mixin hook-panel-box-secondary-hover(){}
// @mixin hook-panel-hover(){}
// @mixin hook-panel-hover-hover(){}
// @mixin hook-panel-header(){}
// @mixin hook-panel-misc(){}

View File

@@ -0,0 +1,61 @@
// Name: Print
// Description: Optimize page for printing
//
// Adapted from http://github.com/h5bp/html5-boilerplate
//
// Modifications: Removed link `href` and `title` related rules
//
// ========================================================================
/* ========================================================================
Component: Print
========================================================================== */
@media print {
*,
*:before,
*:after {
background: transparent !important;
color: black !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited { text-decoration: underline; }
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead { display: table-header-group; }
tr,
img { page-break-inside: avoid; }
img { max-width: 100% !important; }
@page { margin: 0.5cm; }
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 { page-break-after: avoid; }
@include hook-print();
}
// Hooks
// ========================================================================
// @mixin hook-print(){}

View File

@@ -0,0 +1,213 @@
// Name: Subnav
// Description: Defines styles for the sub navigation
//
// Component: `uk-subnav`
//
// Modifiers: `uk-subnav-line`
// `uk-subnav-pill`
//
// States: `uk-active`
//
// Markup:
//
// <!-- uk-subnav -->
// <ul class="uk-subnav">
// <li><a href=""></a></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$subnav-margin-horizontal: 10px !default;
$subnav-margin-vertical: $subnav-margin-horizontal !default;
$subnav-color: #444 !default;
$subnav-hover-color: #07D !default;
$subnav-hover-text-decoration: none !default;
$subnav-active-color: #07D !default;
$subnav-line-border-height: 10px !default;
$subnav-line-border: #ddd !default;
$subnav-line-border-width: 1px !default;
$subnav-pill-padding-vertical: 3px !default;
$subnav-pill-padding-horizontal: 9px !default;
$subnav-pill-hover-background: #eee !default;
$subnav-pill-hover-color: #444 !default;
$subnav-pill-active-background: #00a8e6 !default;
$subnav-pill-active-color: #fff !default;
$subnav-disabled-color: #999 !default;
/* ========================================================================
Component: Subnav
========================================================================== */
/*
* 1. Gutter
* 2. Remove default list style
*/
.uk-subnav {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
/* 1 */
margin-left: -$subnav-margin-horizontal;
margin-top: -$subnav-margin-vertical;
/* 2 */
padding: 0;
list-style: none;
}
/*
* 1. Space is allocated solely based on content dimensions
* 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied
* 3. Create position context for dropdowns
*/
.uk-subnav > * {
/* 1 */
-ms-flex: none;
-webkit-flex: none;
flex: none;
/* 2 */
padding-left: $subnav-margin-horizontal;
margin-top: $subnav-margin-vertical;
/* 3 */
position: relative;
}
/*
* DEPRECATED IE9 Support
*/
.uk-subnav:before,
.uk-subnav:after {
content: "";
display: block;
overflow: hidden;
}
.uk-subnav:after { clear: both; }
.uk-subnav > * { float: left; }
/* Items
========================================================================== */
.uk-subnav > * > * {
display: inline-block;
color: $subnav-color;
@include hook-subnav();
}
/*
* Hover
* 1. Apply hover style also to focus state
*/
.uk-subnav > * > :hover,
.uk-subnav > * > :focus { // 1
color: $subnav-hover-color;
text-decoration: $subnav-hover-text-decoration;
@include hook-subnav-hover();
}
/*
* Active
*/
.uk-subnav > .uk-active > * {
color: $subnav-active-color;
@include hook-subnav-active();
}
/* Modifier: 'subnav-line'
========================================================================== */
.uk-subnav-line > :before {
content: "";
display: inline-block;
height: $subnav-line-border-height;
vertical-align: middle;
}
.uk-subnav-line > :nth-child(n+2):before {
margin-right: $subnav-margin-horizontal;
border-left: $subnav-line-border-width solid $subnav-line-border;
@include hook-subnav-line-divider();
}
/* Modifier: 'subnav-pill'
========================================================================== */
.uk-subnav-pill > * > * {
padding: $subnav-pill-padding-vertical $subnav-pill-padding-horizontal;
@include hook-subnav-pill();
}
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Remove default focus style
*/
.uk-subnav-pill > * > :hover,
.uk-subnav-pill > * > :focus { // 1
background: $subnav-pill-hover-background;
color: $subnav-pill-hover-color;
text-decoration: none;
/* 2 */
outline: none;
@include hook-subnav-pill-hover();
}
/*
* Active
* `li` needed for higher specificity to override hover
*/
.uk-subnav-pill > .uk-active > * {
background: $subnav-pill-active-background;
color: $subnav-pill-active-color;
@include hook-subnav-pill-active();
}
/* Disabled state
========================================================================== */
.uk-subnav > .uk-disabled > * {
background: none;
color: $subnav-disabled-color;
text-decoration: none;
cursor: text;
@include hook-subnav-disabled();
}
// Hooks
// ========================================================================
@include hook-subnav-misc();
// @mixin hook-subnav(){}
// @mixin hook-subnav-hover(){}
// @mixin hook-subnav-active(){}
// @mixin hook-subnav-line-divider(){}
// @mixin hook-subnav-pill(){}
// @mixin hook-subnav-pill-hover(){}
// @mixin hook-subnav-pill-active(){}
// @mixin hook-subnav-disabled(){}
// @mixin hook-subnav-misc(){}

View File

@@ -0,0 +1,38 @@
// Name: Switcher
// Description: Defines styles for the switcher
//
// Component: `uk-switcher`
//
// States: `uk-active`
//
// ========================================================================
/* ========================================================================
Component: Switcher
========================================================================== */
/*
* 1. Deactivate browser history navigation in IE11
*/
.uk-switcher {
margin: 0;
padding: 0;
list-style: none;
/* 1 */
touch-action: cross-slide-y pinch-zoom double-tap-zoom;
}
/*
* Items
*/
.uk-switcher > :not(.uk-active) { display: none; }
// Hooks
// ========================================================================
@include hook-switcher-misc();
// @mixin hook-switcher-misc(){}

View File

@@ -0,0 +1,368 @@
// Name: Tab
// Description: Defines styles for a tabbed navigation
//
// Component: `uk-tab`
//
// Modifiers: `uk-tab-flip`
// `uk-tab-center`
// `uk-tab-grid`
// `uk-tab-bottom`
// `uk-tab-left`
// `uk-tab-right`
// `uk-tab-responsive`
//
// States: `uk-active`
// `uk-disabled`
//
// Markup:
//
// <!-- uk-tab -->
// <ul class="uk-tab" data-uk-tab>
// <li class="uk-active"><a href=""></a></li>
// <li><a href=""></a></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$tab-border: #ddd !default;
$tab-border-width: 1px !default;
$tab-padding-horizontal: 12px !default;
$tab-padding-vertical: 8px !default;
$tab-padding-top: $tab-padding-vertical !default;
$tab-padding-bottom: $tab-padding-vertical !default;
$tab-margin-horizontal: 5px !default;
$tab-margin-vertical: 5px !default;
$tab-color: #07D !default;
$tab-hover-border: #f5f5f5 !default;
$tab-hover-background: #f5f5f5 !default;
$tab-hover-color: #059 !default;
$tab-active-border: #ddd !default;
$tab-active-background: #fff !default;
$tab-active-color: #444 !default;
$tab-disabled-color: #999 !default;
/* ========================================================================
Component: Tab
========================================================================== */
.uk-tab {
margin: 0;
padding: 0;
list-style: none;
border-bottom: $tab-border-width solid $tab-border;
}
/*
* Micro clearfix on the deepest container
*/
.uk-tab:before,
.uk-tab:after {
content: "";
display: table;
}
.uk-tab:after { clear: both; }
/*
* Items
* 1. Create position context for dropdowns
*/
.uk-tab > li {
margin-bottom: -$tab-border-width;
float: left;
/* 1 */
position: relative;
}
.uk-tab > li > a {
display: block;
padding: $tab-padding-top $tab-padding-horizontal $tab-padding-bottom $tab-padding-horizontal;
border: $tab-border-width solid transparent;
border-bottom-width: 0;
color: $tab-color;
text-decoration: none;
@include hook-tab();
}
.uk-tab > li:nth-child(n+2) > a { margin-left: $tab-margin-horizontal; }
/*
* Hover
* 1. Apply hover style also to focus state
* 2. Also apply if dropdown is opened
* 3. Remove default focus style
*/
.uk-tab > li > a:hover,
.uk-tab > li > a:focus, // 1
.uk-tab > li.uk-open > a { // 2
border-color: $tab-hover-border;
background: $tab-hover-background;
color: $tab-hover-color;
/* 2 */
outline: none;
@include hook-tab-hover();
}
.uk-tab > li:not(.uk-active) > a:hover,
.uk-tab > li:not(.uk-active) > a:focus,
.uk-tab > li.uk-open:not(.uk-active) > a {
margin-bottom: $tab-border-width;
padding-bottom: $tab-padding-bottom - $tab-border-width;
}
/* Active */
.uk-tab > li.uk-active > a {
border-color: $tab-active-border;
border-bottom-color: transparent;
background: $tab-active-background;
color: $tab-active-color;
@include hook-tab-active();
}
/* Disabled */
.uk-tab > li.uk-disabled > a {
color: $tab-disabled-color;
cursor: text;
@include hook-tab-disabled();
}
.uk-tab > li.uk-disabled > a:hover,
.uk-tab > li.uk-disabled > a:focus,
.uk-tab > li.uk-disabled.uk-active > a {
background: none;
border-color: transparent;
}
/* Modifier: 'tab-flip'
========================================================================== */
.uk-tab-flip > li { float: right; }
.uk-tab-flip > li:nth-child(n+2) > a {
margin-left: 0;
margin-right: $tab-margin-horizontal;
}
/* Modifier: 'tab-responsive'
========================================================================== */
.uk-tab > li.uk-tab-responsive > a {
margin-left: 0;
margin-right: 0;
}
/*
* Icon
*/
.uk-tab-responsive > a:before {
content: "\f0c9\00a0";
font-family: FontAwesome;
}
/* Modifier: 'tab-center'
========================================================================== */
.uk-tab-center { border-bottom: $tab-border-width solid $tab-border; }
.uk-tab-center-bottom {
border-bottom: none;
border-top: $tab-border-width solid $tab-border;
}
.uk-tab-center:before,
.uk-tab-center:after {
content: "";
display: table;
}
.uk-tab-center:after { clear: both; }
/*
* 1. Using `right` to prevent vertical scrollbar caused by centering if to many tabs
*/
.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; }
/* Modifier: 'tab-bottom'
========================================================================== */
.uk-tab-bottom {
border-top: $tab-border-width solid $tab-border;
border-bottom: none;
}
.uk-tab-bottom > li {
margin-top: -$tab-border-width;
margin-bottom: 0;
}
.uk-tab-bottom > li > a {
padding-top: $tab-padding-bottom;
padding-bottom: $tab-padding-top;
border-bottom-width: $tab-border-width;
border-top-width: 0;
}
.uk-tab-bottom > li:not(.uk-active) > a:hover,
.uk-tab-bottom > li:not(.uk-active) > a:focus,
.uk-tab-bottom > li.uk-open:not(.uk-active) > a {
margin-bottom: 0;
margin-top: $tab-border-width;
padding-bottom: $tab-padding-top;
padding-top: $tab-padding-bottom - $tab-border-width;
}
.uk-tab-bottom > li.uk-active > a {
border-top-color: transparent;
border-bottom-color: $tab-active-border;
}
/* Modifier: 'tab-grid'
========================================================================== */
/*
* 1. Create position context to prevent hidden border because of negative `z-index`
*/
.uk-tab-grid {
margin-left: -$tab-margin-horizontal;
border-bottom: none;
/* 1 */
position: relative;
z-index: 0;
}
.uk-tab-grid:before {
display: block;
position: absolute;
left: $tab-margin-horizontal;
right: 0;
bottom: -$tab-border-width;
border-top: $tab-border-width solid $tab-border;
/* 1 */
z-index: -1;
}
.uk-tab-grid > li:first-child > a { margin-left: $tab-margin-horizontal; }
.uk-tab-grid > li > a { text-align: center; }
/*
* If `uk-tab-bottom`
*/
.uk-tab-grid.uk-tab-bottom { border-top: none; }
.uk-tab-grid.uk-tab-bottom:before {
top: -$tab-border-width;
bottom: auto;
}
/* Modifier: 'tab-left', 'tab-right'
========================================================================== */
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.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: $tab-padding-vertical;
padding-bottom: $tab-padding-vertical;
}
.uk-tab-left > li:nth-child(n+2) > a,
.uk-tab-right > li:nth-child(n+2) > a {
margin-left: 0;
margin-top: $tab-margin-vertical;
}
.uk-tab-left > li.uk-active > a,
.uk-tab-right > li.uk-active > a { border-color: $tab-active-border; }
/*
* Modifier: 'tab-left'
*/
.uk-tab-left { border-right: $tab-border-width solid $tab-border; }
.uk-tab-left > li { margin-right: -$tab-border-width; }
.uk-tab-left > li > a {
border-bottom-width: $tab-border-width;
border-right-width: 0;
}
.uk-tab-left > li:not(.uk-active) > a:hover,
.uk-tab-left > li:not(.uk-active) > a:focus {
margin-bottom: 0;
margin-right: $tab-border-width;
padding-bottom: $tab-padding-vertical;
padding-right: $tab-padding-horizontal - $tab-border-width;
}
.uk-tab-left > li.uk-active > a { border-right-color: transparent; }
/*
* Modifier: 'tab-right'
*/
.uk-tab-right { border-left: $tab-border-width solid $tab-border; }
.uk-tab-right > li { margin-left: -$tab-border-width; }
.uk-tab-right > li > a {
border-bottom-width: $tab-border-width;
border-left-width: 0;
}
.uk-tab-right > li:not(.uk-active) > a:hover,
.uk-tab-right > li:not(.uk-active) > a:focus {
margin-bottom: 0;
margin-left: $tab-border-width;
padding-bottom: $tab-padding-vertical;
padding-left: $tab-padding-horizontal - $tab-border-width;
}
.uk-tab-right > li.uk-active > a { border-left-color: transparent; }
}
// Hooks
// ========================================================================
@include hook-tab-misc();
// @mixin hook-tab(){}
// @mixin hook-tab-hover(){}
// @mixin hook-tab-active(){}
// @mixin hook-tab-disabled(){}
// @mixin hook-tab-misc(){}

View File

@@ -0,0 +1,147 @@
// Name: Table
// Description: Defines styles for tables
//
// Component: `uk-table`
//
// Modifiers: `uk-table-middle`
// `uk-table-striped`
// `uk-table-condensed`
// `uk-table-hover`
//
// States: `uk-active`
//
// ========================================================================
// Variables
// ========================================================================
$table-margin-vertical: 15px !default;
$table-padding-vertical: 8px !default;
$table-padding-horizontal: 8px !default;
$table-caption-color: #999 !default;
$table-caption-font-size: 12px !default;
$table-striped-background: #f5f5f5 !default;
$table-condensed-padding-vertical: 4px !default;
$table-condensed-padding-horizontal: 8px !default;
$table-hover-background: #EEE !default;
$table-active-background: $table-hover-background !default;
/* ========================================================================
Component: Table
========================================================================== */
/*
* 1. Remove most spacing between table cells.
* 2. Block element behavior
* 3. Style
*/
.uk-table {
/* 1 */
border-collapse: collapse;
border-spacing: 0;
/* 2 */
width: 100%;
/* 3 */
margin-bottom: $table-margin-vertical;
}
/*
* Add margin if adjacent element
*/
* + .uk-table { margin-top: $table-margin-vertical; }
.uk-table th,
.uk-table td {
padding: $table-padding-vertical $table-padding-horizontal;
@include hook-table();
}
/*
* Set alignment
*/
.uk-table th { text-align: left; }
.uk-table td { vertical-align: top; }
.uk-table thead th { vertical-align: bottom; }
/*
* Caption and footer
*/
.uk-table caption,
.uk-table tfoot {
font-size: $table-caption-font-size;
font-style: italic;
}
.uk-table caption {
text-align: left;
color: $table-caption-color;
}
/*
* Active State
*/
.uk-table tbody tr.uk-active {
background: $table-active-background;
@include hook-table-active();
}
/* Sub-modifier: `uk-table-middle`
========================================================================== */
.uk-table-middle,
.uk-table-middle td { vertical-align: middle !important; }
/* Modifier: `uk-table-striped`
========================================================================== */
.uk-table-striped tbody tr:nth-of-type(odd) {
background: $table-striped-background;
@include hook-table-striped();
}
/* Modifier: `uk-table-condensed`
========================================================================== */
.uk-table-condensed td {
padding: $table-condensed-padding-vertical $table-condensed-padding-horizontal;
@include hook-table-condensed();
}
/* Modifier: `uk-table-hover`
========================================================================== */
.uk-table-hover tbody tr:hover {
background: $table-hover-background;
@include hook-table-hover();
}
// Hooks
// ========================================================================
@include hook-table-misc();
// @mixin hook-table(){}
// @mixin hook-table-active(){}
// @mixin hook-table-striped(){}
// @mixin hook-table-condensed(){}
// @mixin hook-table-hover(){}
// @mixin hook-table-misc(){}

View File

@@ -0,0 +1,136 @@
// Name: Text
// Description: Collection of useful text utility classes to style your content
//
// Component: `uk-text-*`
//
// ========================================================================
// Variables
// ========================================================================
$text-small-font-size: 11px !default;
$text-small-line-height: 16px !default;
$text-large-font-size: 18px !default;
$text-large-line-height: 24px !default;
$text-large-font-weight: normal !default;
$text-muted-color: #999 !default;
$text-primary-color: #2d7091 !default;
$text-success-color: #659f13 !default;
$text-warning-color: #e28327 !default;
$text-danger-color: #d85030 !default;
$text-contrast-color: #fff !default;
/* ========================================================================
Component: Text
========================================================================== */
/* Size modifiers
========================================================================== */
.uk-text-small {
font-size: $text-small-font-size;
line-height: $text-small-line-height;
}
.uk-text-large {
font-size: $text-large-font-size;
line-height: $text-large-line-height;
font-weight: $text-large-font-weight;
}
/* Weight modifiers
========================================================================== */
.uk-text-bold { font-weight: bold; }
/* Color modifiers
========================================================================== */
.uk-text-muted { color: $text-muted-color !important; }
.uk-text-primary { color: $text-primary-color !important; }
.uk-text-success { color: $text-success-color !important; }
.uk-text-warning { color: $text-warning-color !important; }
.uk-text-danger { color: $text-danger-color !important; }
.uk-text-contrast { color: $text-contrast-color !important; }
/* Alignment modifiers
========================================================================== */
.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; }
/* Only tablets portrait and smaller */
@media (max-width: $breakpoint-medium-max) {
.uk-text-center-medium { text-align: center !important; }
.uk-text-left-medium { text-align: left !important; }
}
/* Phone landscape and smaller */
@media (max-width: $breakpoint-small-max) {
.uk-text-center-small { text-align: center !important; }
.uk-text-left-small { text-align: left !important; }
}
/* Wrap modifiers
========================================================================== */
/*
* Prevent text from wrapping onto multiple lines
*/
.uk-text-nowrap { white-space: nowrap; }
/*
* Prevent text from wrapping onto multiple lines, and truncate with an ellipsis
*/
.uk-text-truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/*
* Break strings if their length exceeds the width of their container
*/
.uk-text-break {
word-wrap: break-word;
-webkit-hyphens: auto;
-ms-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}
/* Transform modifiers
========================================================================== */
.uk-text-capitalize { text-transform: capitalize !important; }
.uk-text-lowercase { text-transform: lowercase !important; }
.uk-text-uppercase { text-transform: uppercase !important; }
// Hooks
// ========================================================================
@include hook-text-misc();
// @mixin hook-text-misc(){}

View File

@@ -0,0 +1,122 @@
// Name: Thumbnail
// Description: Defines styles for image thumbnails
//
// Component: `uk-thumbnail`
//
// Sub-objects: `uk-thumbnail-caption`
//
// Modifiers: `uk-thumbnail-mini`
// `uk-thumbnail-small`
// `uk-thumbnail-medium`
// `uk-thumbnail-large`
// `uk-thumbnail-expand`
//
// Markup:
//
// <!-- uk-thumbnail -->
// <figure class="uk-thumbnail">
// <img src="" alt="">
// <figcaption class="uk-thumbnail-caption"></figcaption>
// </figure>
//
// ========================================================================
// Variables
// ========================================================================
$thumbnail-padding: 4px !default;
$thumbnail-border: #ddd !default;
$thumbnail-border-width: 1px !default;
$thumbnail-background: #fff !default;
$thumbnail-hover-border: #aaa !default;
$thumbnail-hover-background: #fff !default;
$thumbnail-caption-padding: $thumbnail-padding !default;
$thumbnail-caption-color: #444 !default;
$thumbnail-mini-width: 150px !default;
$thumbnail-small-width: 200px !default;
$thumbnail-medium-width: 300px !default;
$thumbnail-large-width: 400px !default;
/* ========================================================================
Component: Thumbnail
========================================================================== */
/*
* 1. Container width fits its content
* 2. Responsive behavior
* 3. Corrects `max-width` behavior sed
* 4. Required for `figure` element
* 5. Style
*/
.uk-thumbnail {
/* 1 */
display: inline-block;
/* 2 */
max-width: 100%;
/* 3 */
box-sizing: border-box;
/* 3 */
margin: 0;
/* 4 */
padding: $thumbnail-padding;
border: $thumbnail-border-width solid $thumbnail-border;
background: $thumbnail-background;
@include hook-thumbnail();
}
/*
* Hover state for `a` elements
* 1. Apply hover style also to focus state
* 2. Needed for caption
* 3. Remove default focus style
*/
a.uk-thumbnail:hover,
a.uk-thumbnail:focus { // 1
border-color: $thumbnail-hover-border;
background-color: $thumbnail-hover-background;
/* 2 */
text-decoration: none;
/* 3 */
outline: none;
@include hook-thumbnail-hover();
}
/* Caption
========================================================================== */
.uk-thumbnail-caption {
padding-top: $thumbnail-caption-padding;
text-align: center;
color: $thumbnail-caption-color;
@include hook-thumbnail-caption();
}
/* Sizes
========================================================================== */
.uk-thumbnail-mini { width: $thumbnail-mini-width; }
.uk-thumbnail-small { width: $thumbnail-small-width; }
.uk-thumbnail-medium { width: $thumbnail-medium-width; }
.uk-thumbnail-large { width: $thumbnail-large-width; }
.uk-thumbnail-expand,
.uk-thumbnail-expand > img { width: 100%; }
// Hooks
// ========================================================================
@include hook-thumbnail-misc();
// @mixin hook-thumbnail(){}
// @mixin hook-thumbnail-hover(){}
// @mixin hook-thumbnail-caption(){}
// @mixin hook-thumbnail-misc(){}

View File

@@ -0,0 +1,122 @@
// Name: Thumbnav
// Description: Defines styles for a thumbnail navigation
//
// Component: `uk-thumbnav`
//
// States: `uk-active`
//
// Markup:
//
// <!-- uk-thumbnav -->
// <ul class="uk-thumbnav">
// <li class="uk-active"><a href=""></a></li>
// <li><a href=""></a></li>
// </ul>
//
// ========================================================================
// Variables
// ========================================================================
$thumbnav-margin-horizontal: 10px !default;
$thumbnav-margin-vertical: $thumbnav-margin-horizontal !default;
$thumbnav-background: #fff !default;
$thumbnav-opacity: 0.7 !default;
$thumbnav-hover-opacity: 1 !default;
$thumbnav-active-opacity: 1 !default;
/* ========================================================================
Component: Thumbnav
========================================================================== */
/*
* 1. Gutter
* 2. Remove default list style
*/
.uk-thumbnav {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
/* 1 */
margin-left: -$thumbnav-margin-horizontal;
margin-top: -$thumbnav-margin-vertical;
/* 2 */
padding: 0;
list-style: none;
}
/*
* 1. Space is allocated solely based on content dimensions
* 2. Horizontal gutter is using `padding` so `uk-width-*` classes can be applied
*/
.uk-thumbnav > * {
/* 1 */
-ms-flex: none;
-webkit-flex: none;
flex: none;
/* 2 */
padding-left: $thumbnav-margin-horizontal;
margin-top: $thumbnav-margin-vertical;
}
/*
* DEPRECATED IE9 Support
*/
.uk-thumbnav:before,
.uk-thumbnav:after {
content: "";
display: block;
overflow: hidden;
}
.uk-thumbnav:after { clear: both; }
.uk-thumbnav > * { float: left; }
/* Items
========================================================================== */
.uk-thumbnav > * > * {
display: block;
background: $thumbnav-background;
@include hook-thumbnav();
}
.uk-thumbnav > * > * > img {
opacity: $thumbnav-opacity;
-webkit-transition: opacity 0.15s linear;
transition: opacity 0.15s linear;
}
/*
* Hover
*/
.uk-thumbnav > * > :hover > img,
.uk-thumbnav > * > :focus > img { opacity: $thumbnav-hover-opacity; }
/*
* Active
*/
.uk-thumbnav > .uk-active > * > img { opacity: $thumbnav-active-opacity; }
// Hooks
// ========================================================================
@include hook-thumbnav-misc();
// @mixin hook-thumbnav(){}
// @mixin hook-thumbnav-misc(){}

View File

@@ -0,0 +1,610 @@
// Name: Utility
// Description: Collection of useful utility classes to style your content
//
// Component: `uk-container-*`
// `uk-clearfix`
// `uk-nbfc-*`
// `uk-float-*`
// `uk-align-*`
// `uk-vertical-align-*`
// `uk-height-*`
// `uk-responsive-*`
// `uk-margin-*`
// `uk-padding-*`
// `uk-border-*`
// `uk-heading-*`
// `uk-link-*`
// `uk-scrollable-*`
// `uk-overflow-*`
// `uk-position-*`
// `uk-display-*`
// `uk-visible-*`
// `uk-hidden-*`
// `uk-invisible`
//
// Used by: Overlay
//
// ========================================================================
// Variables
// ========================================================================
$utility-container-max-width: 980px !default;
$utility-container-padding-horizontal: 25px !default;
$utility-container-large-max-width: 1200px !default;
$utility-container-large-padding-horizontal: 35px !default;
$utility-align-horizontal: 15px !default;
$utility-align-vertical: 15px !default;
$utility-height-viewport-min-height: 600px !default;
$utility-margin: 15px !default;
$utility-margin-small: 5px !default;
$utility-margin-large: 50px !default;
$utility-border-rounded: 5px !default;
$utility-heading-large-small-font-size: 36px !default;
$utility-heading-large-small-line-height: 42px !default;
$utility-heading-large-font-size: 52px !default;
$utility-heading-large-line-height: 64px !default;
$utility-link-muted-color: #444 !default;
$utility-link-muted-hover-color: #444 !default;
$utility-scrollable-text-height: 300px !default;
$utility-scrollable-box-height: 170px !default;
$utility-scrollable-box-padding: 10px !default;
$utility-scrollable-box-border: #ddd !default;
$utility-scrollable-box-border-width: 1px !default;
/* ========================================================================
Component: Utility
========================================================================== */
/* Container
========================================================================== */
.uk-container {
box-sizing: border-box;
max-width: $utility-container-max-width;
padding: 0 $utility-container-padding-horizontal;
@include hook-container();
}
/* Large screen and bigger */
@media (min-width: $breakpoint-xlarge) {
.uk-container {
max-width: $utility-container-large-max-width;
padding: 0 $utility-container-large-padding-horizontal;
}
}
/*
* Micro clearfix
*/
.uk-container:before,
.uk-container:after {
content: "";
display: table;
}
.uk-container:after { clear: both; }
/*
* Center container
*/
.uk-container-center {
margin-left: auto;
margin-right: auto;
}
/* Clearing
========================================================================== */
/*
* Micro clearfix
* `table-cell` is used with `:before` because `table` creates a 1px gap when it becomes a flex item, only in Webkit
* `table` is used again with `:after` because `clear` only works with block elements.
* Note: `display: block` with `overflow: hidden` is currently not working in the latest Safari
*/
.uk-clearfix:before {
content: "";
display: table-cell;
}
.uk-clearfix:after {
content: "";
display: table;
clear: both;
}
/*
* Create a new block formatting context
*/
.uk-nbfc { overflow: hidden; }
.uk-nbfc-alt {
display: table-cell;
width: 10000px;
}
/* Alignment of block elements
========================================================================== */
/*
* Float blocks
* 1. Prevent content overflow on small devices
*/
.uk-float-left { float: left; }
.uk-float-right { float: right; }
/* 1 */
[class*='uk-float-'] { max-width: 100%; }
/* Alignment of images and objects
========================================================================== */
/*
* Alignment
*/
[class*='uk-align-'] {
display: block;
margin-bottom: $utility-align-vertical;
}
.uk-align-left {
margin-right: $utility-align-horizontal;
float: left;
}
.uk-align-right {
margin-left: $utility-align-horizontal;
float: right;
}
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.uk-align-medium-left {
margin-right: $utility-align-horizontal;
float: left;
}
.uk-align-medium-right {
margin-left: $utility-align-horizontal;
float: right;
}
}
.uk-align-center {
margin-left: auto;
margin-right: auto;
}
/* Vertical alignment
========================================================================== */
/*
* Remove whitespace between child elements when using `inline-block`
*/
.uk-vertical-align { font-size: 0.001px; }
/*
* The `uk-vertical-align` container needs a specific height
*/
.uk-vertical-align:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
}
/*
* Sub-object which can have any height
* 1. Reset whitespace hack
*/
.uk-vertical-align-middle,
.uk-vertical-align-bottom {
display: inline-block;
max-width: 100%;
/* 1 */
font-size: 1rem;
}
.uk-vertical-align-middle { vertical-align: middle; }
.uk-vertical-align-bottom { vertical-align: bottom; }
/* Height
========================================================================== */
/*
* More robust if padding and border are used
*/
[class*='uk-height'] { box-sizing: border-box; }
/*
* Useful to extend the `html` and `body` element to the full height of the page.
*/
.uk-height-1-1 { height: 100%; }
/*
* Useful to create image teasers
*/
.uk-height-viewport {
height: 100vh;
min-height: $utility-height-viewport-min-height;
}
/* Responsive objects
* Note: Images are already responsive by default, see Base component
========================================================================== */
/*
* 1. Corrects `max-width` and `max-height` behavior if padding and border are used
*/
.uk-responsive-width,
.uk-responsive-height { box-sizing: border-box; }
/*
* Responsiveness: Sets a maximum width relative to the parent and auto scales the height
* `important` needed to override `uk-img-preserve img`
*/
.uk-responsive-width {
max-width: 100% !important;
height: auto;
}
/*
* Responsiveness: Sets a maximum height relative to the parent and auto scales the width
* Only works if the parent element has a fixed height.
*/
.uk-responsive-height {
max-height: 100%;
width: auto;
}
/* Margin
========================================================================== */
/*
* Create a block with the same margin of a paragraph
* Add margin if adjacent element
*/
.uk-margin { margin-bottom: $utility-margin; }
* + .uk-margin { margin-top: $utility-margin; }
.uk-margin-top { margin-top: $utility-margin !important; }
.uk-margin-bottom { margin-bottom: $utility-margin !important; }
.uk-margin-left { margin-left: $utility-margin !important; }
.uk-margin-right { margin-right: $utility-margin !important; }
/*
* Larger margins
*/
.uk-margin-large { margin-bottom: $utility-margin-large; }
* + .uk-margin-large { margin-top: $utility-margin-large; }
.uk-margin-large-top { margin-top: $utility-margin-large !important; }
.uk-margin-large-bottom { margin-bottom: $utility-margin-large !important; }
.uk-margin-large-left { margin-left: $utility-margin-large !important; }
.uk-margin-large-right { margin-right: $utility-margin-large !important; }
/*
* Smaller margins
*/
.uk-margin-small { margin-bottom: $utility-margin-small; }
* + .uk-margin-small { margin-top: $utility-margin-small; }
.uk-margin-small-top { margin-top: $utility-margin-small !important; }
.uk-margin-small-bottom { margin-bottom: $utility-margin-small !important; }
.uk-margin-small-left { margin-left: $utility-margin-small !important; }
.uk-margin-small-right { margin-right: $utility-margin-small !important; }
/*
* Remove margins
*/
.uk-margin-remove { margin: 0 !important; }
.uk-margin-top-remove { margin-top: 0 !important; }
.uk-margin-bottom-remove { margin-bottom: 0 !important; }
/* Padding
========================================================================== */
.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;
}
/* Border
========================================================================== */
.uk-border-circle { border-radius: 50%; }
.uk-border-rounded { border-radius: $utility-border-rounded; }
/* Headings
========================================================================== */
.uk-heading-large {
font-size: $utility-heading-large-small-font-size;
line-height: $utility-heading-large-small-line-height;
}
/* Tablet and bigger */
@media (min-width: $breakpoint-medium) {
.uk-heading-large {
font-size: $utility-heading-large-font-size;
line-height: $utility-heading-large-line-height;
}
}
/* Link
========================================================================== */
/*
* Let links appear in default text color
*/
.uk-link-muted,
.uk-link-muted a { color: $utility-link-muted-color; }
.uk-link-muted:hover,
.uk-link-muted a:hover { color: $utility-link-muted-hover-color; }
/*
* Reset link style
*/
.uk-link-reset,
.uk-link-reset a,
.uk-link-reset:hover,
.uk-link-reset a:hover,
.uk-link-reset:focus,
.uk-link-reset a:focus {
color: inherit;
text-decoration: none;
}
/* Scrollable
========================================================================== */
/*
* Enable scrolling for preformatted text
*/
.uk-scrollable-text {
height: $utility-scrollable-text-height;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
resize: both;
}
/*
* Box with scrolling enabled
*/
.uk-scrollable-box {
box-sizing: border-box;
height: $utility-scrollable-box-height;
padding: $utility-scrollable-box-padding;
border: $utility-scrollable-box-border-width solid $utility-scrollable-box-border;
overflow: auto;
-webkit-overflow-scrolling: touch;
resize: both;
@include hook-scrollable-box();
}
.uk-scrollable-box > :last-child { margin-bottom: 0; }
/* Overflow
========================================================================== */
.uk-overflow-hidden { overflow: hidden; }
/*
* Enable scrollbars if content is clipped
*/
.uk-overflow-container {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
.uk-overflow-container > :last-child { margin-bottom: 0; }
/* Position
========================================================================== */
.uk-position-absolute,
[class*='uk-position-top'],
[class*='uk-position-bottom'] { position: absolute !important; }
/* Don't use `width: 100%` because it is wrong if the parent has padding. */
.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;
}
/*
* Cover
*/
.uk-position-cover {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
/*
* Relative
*/
.uk-position-relative { position: relative !important; }
/*
* Z-index
*/
.uk-position-z-index { z-index: 1; }
/* Display
========================================================================== */
/*
* Display
* 1. Required if child is a responsive image
*/
.uk-display-block { display: block !important; }
.uk-display-inline { display: inline !important; }
.uk-display-inline-block {
display: inline-block !important;
/* 1 */
max-width: 100%;
}
/*
* Visibility
* Avoids setting display to `block` so it works also with `inline-block` and `table`
*/
/* Desktop and bigger */
@media (min-width: $breakpoint-large) {
.uk-visible-small { display: none !important; }
.uk-visible-medium { display: none !important; }
.uk-hidden-large { display: none !important; }
}
/* Tablets portrait */
@media (min-width: $breakpoint-medium) and (max-width: $breakpoint-medium-max) {
.uk-visible-small { display: none !important; }
.uk-visible-large { display: none !important ; }
.uk-hidden-medium { display: none !important; }
}
/* Phone landscape and smaller*/
@media (max-width: $breakpoint-small-max) {
.uk-visible-medium { display: none !important; }
.uk-visible-large { display: none !important; }
.uk-hidden-small { display: none !important; }
}
/* Remove from the flow and screen readers on any device */
.uk-hidden {
display: none !important;
visibility: hidden !important;
}
/* It's hidden, but still affects layout */
.uk-invisible { visibility: hidden !important; }
/* Show on hover */
.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;
}
/* Hide on touch */
.uk-touch .uk-hidden-touch,
.uk-notouch .uk-hidden-notouch { display: none !important; }
// Hooks
// ========================================================================
@include hook-utility-misc();
// @mixin hook-container(){}
// @mixin hook-scrollable-box(){}
// @mixin hook-utility-misc(){}

View File

@@ -0,0 +1,23 @@
//
// Component: Variables
// Description: Defines all color and style related values as variables
// to allow easy customization for the most common cases.
//
// ========================================================================
// Global variables
// ========================================================================
//
// Breakpoints
//
$breakpoint-small: 480px !default;
$breakpoint-medium: 768px !default;
$breakpoint-large: 960px !default;
$breakpoint-xlarge: 1220px !default;
$breakpoint-mini-max: ($breakpoint-small - 1) !default;
$breakpoint-small-max: ($breakpoint-medium - 1) !default;
$breakpoint-medium-max: ($breakpoint-large - 1) !default;
$breakpoint-large-max: ($breakpoint-xlarge - 1) !default;

View File

@@ -0,0 +1,327 @@
@mixin hook-accordion(){}
@mixin hook-accordion-title(){}
@mixin hook-accordion-content(){}
@mixin hook-accordion-misc(){}
@mixin hook-nav-autocomplete(){}
@mixin hook-nav-autocomplete-active(){}
@mixin hook-nav-autocomplete-header(){}
@mixin hook-nav-autocomplete-divider(){}
@mixin hook-autocomplete-misc(){}
@mixin hook-datepicker-nav(){}
@mixin hook-datepicker-nav-item(){}
@mixin hook-datepicker-table-item(){}
@mixin hook-datepicker-table-item-hover(){}
@mixin hook-datepicker-table-item-onclick(){}
@mixin hook-datepicker-table-item-active(){}
@mixin hook-datepicker-misc(){}
@mixin hook-form-advanced(){}
@mixin hook-form-advanced-checked(){}
@mixin hook-form-advanced-radio(){}
@mixin hook-form-advanced-checkbox(){}
@mixin hook-form-advanced-disabled(){}
@mixin hook-form-advanced-misc(){}
@mixin hook-form-file-misc(){}
@mixin hook-form-password-misc(){}
@mixin hook-dotnav-item(){}
@mixin hook-dotnav-item-hover(){}
@mixin hook-dotnav-item-onclick(){}
@mixin hook-dotnav-item-active(){}
@mixin hook-dotnav-contrast-item(){}
@mixin hook-dotnav-contrast-item-hover(){}
@mixin hook-dotnav-contrast-item-onclick(){}
@mixin hook-dotnav-contrast-item-active(){}
@mixin hook-dotnav-misc(){}
@mixin hook-form-select-misc(){}
@mixin hook-htmleditor(){}
@mixin hook-htmleditor-navbar(){}
@mixin hook-htmleditor-navbar-nav(){}
@mixin hook-htmleditor-navbar-nav-hover(){}
@mixin hook-htmleditor-navbar-nav-onclick(){}
@mixin hook-htmleditor-navbar-nav-active(){}
@mixin hook-htmleditor-content(){}
@mixin hook-htmleditor-misc(){}
@mixin hook-nestable(){}
@mixin hook-nestable-item(){}
@mixin hook-nestable-dragged(){}
@mixin hook-nestable-placeholder(){}
@mixin hook-nestable-empty(){}
@mixin hook-nestable-handle(){}
@mixin hook-nestable-toggle(){}
@mixin hook-nestable-panel(){}
@mixin hook-nestable-misc(){}
@mixin hook-notify(){}
@mixin hook-notify-message(){}
@mixin hook-notify-message-primary(){}
@mixin hook-notify-message-success(){}
@mixin hook-notify-message-warning(){}
@mixin hook-notify-message-danger(){}
@mixin hook-notify-misc(){}
@mixin hook-placeholder(){}
@mixin hook-placeholder-large(){}
@mixin hook-placeholder-misc(){}
@mixin hook-progress(){}
@mixin hook-progress-bar(){}
@mixin hook-progress-mini(){}
@mixin hook-progress-small(){}
@mixin hook-progress-bar-success(){}
@mixin hook-progress-bar-warning(){}
@mixin hook-progress-bar-danger(){}
@mixin hook-progress-misc(){}
@mixin hook-search(){}
@mixin hook-search-icon(){}
@mixin hook-search-field(){}
@mixin hook-search-field-focus(){}
@mixin hook-dropdown-search(){}
@mixin hook-nav-search(){}
@mixin hook-nav-search-active(){}
@mixin hook-nav-search-header(){}
@mixin hook-nav-search-divider(){}
@mixin hook-offcanvas-search-field(){}
@mixin hook-search-misc(){}
@mixin hook-slidenav(){}
@mixin hook-slidenav-hover(){}
@mixin hook-slidenav-active(){}
@mixin hook-slidenav-contrast(){}
@mixin hook-slidenav-contrast-hover(){}
@mixin hook-slidenav-contrast-active(){}
@mixin hook-slidenav-misc(){}
@mixin hook-slider-misc(){}
@mixin hook-slideshow-misc(){}
@mixin hook-sortable(){}
@mixin hook-sortable-dragged(){}
@mixin hook-sortable-placeholder(){}
@mixin hook-sortable-empty(){}
@mixin hook-sortable-misc(){}
@mixin hook-sticky-misc(){}
@mixin hook-tooltip(){}
@mixin hook-tooltip-misc(){}
@mixin hook-upload-misc(){}
@mixin hook-alert(){}
@mixin hook-alert-success(){}
@mixin hook-alert-warning(){}
@mixin hook-alert-danger(){}
@mixin hook-alert-misc(){}
@mixin hook-animation-misc(){}
@mixin hook-article-title(){}
@mixin hook-article-meta(){}
@mixin hook-article-lead(){}
@mixin hook-article-divider(){}
@mixin hook-article-misc(){}
@mixin hook-badge(){}
@mixin hook-badge-success(){}
@mixin hook-badge-warning(){}
@mixin hook-badge-danger(){}
@mixin hook-badge-misc(){}
@mixin hook-base-body(){}
@mixin hook-base-link(){}
@mixin hook-base-link-hover(){}
@mixin hook-base-code(){}
@mixin hook-base-h(){}
@mixin hook-base-h1(){}
@mixin hook-base-h2(){}
@mixin hook-base-h3(){}
@mixin hook-base-h4(){}
@mixin hook-base-h5(){}
@mixin hook-base-h6(){}
@mixin hook-base-hr(){}
@mixin hook-base-blockquote(){}
@mixin hook-base-pre(){}
@mixin hook-base-misc(){}
@mixin hook-block(){}
@mixin hook-block-default(){}
@mixin hook-block-muted(){}
@mixin hook-block-secondary(){}
@mixin hook-block-primary(){}
@mixin hook-block-misc(){}
@mixin hook-breadcrumb(){}
@mixin hook-breadcrumb-divider(){}
@mixin hook-breadcrumb-misc(){}
@mixin hook-button(){}
@mixin hook-button-hover(){}
@mixin hook-button-active(){}
@mixin hook-button-primary(){}
@mixin hook-button-primary-hover(){}
@mixin hook-button-primary-active(){}
@mixin hook-button-success(){}
@mixin hook-button-success-hover(){}
@mixin hook-button-success-active(){}
@mixin hook-button-danger(){}
@mixin hook-button-danger-hover(){}
@mixin hook-button-danger-active(){}
@mixin hook-button-disable(){}
@mixin hook-button-link(){}
@mixin hook-button-large(){}
@mixin hook-button-misc(){}
@mixin hook-column(){}
@mixin hook-column-misc(){}
@mixin hook-close(){}
@mixin hook-close-alt(){}
@mixin hook-close-misc(){}
@mixin hook-contrast-base-code(){}
@mixin hook-contrast-nav-side(){}
@mixin hook-contrast-nav-side-hover(){}
@mixin hook-contrast-nav-side-active(){}
@mixin hook-contrast-nav-side-header(){}
@mixin hook-contrast-nav-side-divider(){}
@mixin hook-contrast-subnav(){}
@mixin hook-contrast-subnav-hover(){}
@mixin hook-contrast-subnav-active(){}
@mixin hook-contrast-subnav-line-divider(){}
@mixin hook-contrast-subnav-pill-hover(){}
@mixin hook-contrast-subnav-pill-active(){}
@mixin hook-contrast-tab(){}
@mixin hook-contrast-tab-hover(){}
@mixin hook-contrast-tab-active(){}
@mixin hook-contrast-list-line(){}
@mixin hook-contrast-form(){}
@mixin hook-contrast-form-focus(){}
@mixin hook-contrast-button(){}
@mixin hook-contrast-button-hover(){}
@mixin hook-contrast-button-active(){}
@mixin hook-contrast-button-primary(){}
@mixin hook-contrast-button-primary-hover(){}
@mixin hook-contrast-button-primary-active(){}
@mixin hook-contrast-icon-hover(){}
@mixin hook-contrast-icon-hover-hover(){}
@mixin hook-contrast-icon-button(){}
@mixin hook-contrast-icon-button-hover(){}
@mixin hook-contrast-icon-button-active(){}
@mixin hook-contrast-misc(){}
@mixin hook-comment(){}
@mixin hook-comment-header(){}
@mixin hook-comment-avatar(){}
@mixin hook-comment-title(){}
@mixin hook-comment-meta(){}
@mixin hook-comment-body(){}
@mixin hook-comment-primary(){}
@mixin hook-comment-misc(){}
@mixin hook-cover-misc(){}
@mixin hook-description-list-misc(){}
@mixin hook-dropdown(){}
@mixin hook-dropdown-navbar(){}
@mixin hook-dropdown-overlay(){}
@mixin hook-dropdown-misc(){}
@mixin hook-flex-misc(){}
@mixin hook-form(){}
@mixin hook-form-focus(){}
@mixin hook-form-disabled(){}
@mixin hook-form-legend(){}
@mixin hook-form-danger(){}
@mixin hook-form-success(){}
@mixin hook-form-blank(){}
@mixin hook-form-blank-focus(){}
@mixin hook-form-stacked-label(){}
@mixin hook-form-horizontal-label(){}
@mixin hook-form-misc(){}
@mixin hook-grid-misc(){}
@mixin hook-icon-hover(){}
@mixin hook-icon-hover-hover(){}
@mixin hook-icon-button(){}
@mixin hook-icon-button-hover(){}
@mixin hook-icon-button-active(){}
@mixin hook-icon-misc(){}
@mixin hook-list-line(){}
@mixin hook-list-striped(){}
@mixin hook-list-misc(){}
@mixin hook-modal(){}
@mixin hook-modal-dialog(){}
@mixin hook-modal-dialog-lightbox(){}
@mixin hook-modal-header(){}
@mixin hook-modal-footer(){}
@mixin hook-modal-caption(){}
@mixin hook-modal-spinner(){}
@mixin hook-modal-misc(){}
@mixin hook-nav-header(){}
@mixin hook-nav-divider(){}
@mixin hook-nav-sub(){}
@mixin hook-nav-parent-icon(){}
@mixin hook-nav-side(){}
@mixin hook-nav-side-hover(){}
@mixin hook-nav-side-active(){}
@mixin hook-nav-side-header(){}
@mixin hook-nav-side-divider(){}
@mixin hook-nav-dropdown(){}
@mixin hook-nav-dropdown-hover(){}
@mixin hook-nav-dropdown-header(){}
@mixin hook-nav-dropdown-divider(){}
@mixin hook-nav-navbar(){}
@mixin hook-nav-navbar-hover(){}
@mixin hook-nav-navbar-header(){}
@mixin hook-nav-navbar-divider(){}
@mixin hook-nav-offcanvas(){}
@mixin hook-nav-offcanvas-hover(){}
@mixin hook-nav-offcanvas-active(){}
@mixin hook-nav-offcanvas-header(){}
@mixin hook-nav-offcanvas-divider(){}
@mixin hook-nav-misc(){}
@mixin hook-navbar(){}
@mixin hook-navbar-nav(){}
@mixin hook-navbar-nav-hover(){}
@mixin hook-navbar-nav-onclick(){}
@mixin hook-navbar-nav-active(){}
@mixin hook-navbar-content(){}
@mixin hook-navbar-misc(){}
@mixin hook-offcanvas(){}
@mixin hook-offcanvas-bar(){}
@mixin hook-offcanvas-panel(){}
@mixin hook-offcanvas-misc(){}
@mixin hook-panel-title(){}
@mixin hook-panel-badge(){}
@mixin hook-panel-box(){}
@mixin hook-panel-box-hover(){}
@mixin hook-panel-box-primary(){}
@mixin hook-panel-box-primary-hover(){}
@mixin hook-panel-box-secondary(){}
@mixin hook-panel-box-secondary-hover(){}
@mixin hook-panel-hover(){}
@mixin hook-panel-hover-hover(){}
@mixin hook-panel-header(){}
@mixin hook-panel-misc(){}
@mixin hook-pagination-item(){}
@mixin hook-pagination-link(){}
@mixin hook-pagination-link-hover(){}
@mixin hook-pagination-link-active(){}
@mixin hook-pagination-active(){}
@mixin hook-pagination-disabled(){}
@mixin hook-pagination-misc(){}
@mixin hook-overlay-panel(){}
@mixin hook-overlay-background(){}
@mixin hook-overlay-image(){}
@mixin hook-overlay-icon(){}
@mixin hook-overlay-misc(){}
@mixin hook-overlay-area(){}
@mixin hook-overlay-area-icon(){}
@mixin hook-overlay-area-content(){}
@mixin hook-overlay-caption(){}
@mixin hook-print(){}
@mixin hook-subnav(){}
@mixin hook-subnav-hover(){}
@mixin hook-subnav-active(){}
@mixin hook-subnav-line-divider(){}
@mixin hook-subnav-pill(){}
@mixin hook-subnav-pill-hover(){}
@mixin hook-subnav-pill-active(){}
@mixin hook-subnav-disabled(){}
@mixin hook-subnav-misc(){}
@mixin hook-switcher-misc(){}
@mixin hook-tab(){}
@mixin hook-tab-hover(){}
@mixin hook-tab-active(){}
@mixin hook-tab-disabled(){}
@mixin hook-tab-misc(){}
@mixin hook-table(){}
@mixin hook-table-active(){}
@mixin hook-table-striped(){}
@mixin hook-table-condensed(){}
@mixin hook-table-hover(){}
@mixin hook-table-misc(){}
@mixin hook-text-misc(){}
@mixin hook-thumbnail(){}
@mixin hook-thumbnail-hover(){}
@mixin hook-thumbnail-caption(){}
@mixin hook-thumbnail-misc(){}
@mixin hook-thumbnav(){}
@mixin hook-thumbnav-misc(){}
@mixin hook-container(){}
@mixin hook-scrollable-box(){}
@mixin hook-utility-misc(){}

View File

@@ -0,0 +1,819 @@
$accordion-title-margin-bottom: 15px !default;
$accordion-title-padding-vertical: 5px !default;
$accordion-title-padding-horizontal: 15px !default;
$accordion-title-font-size: 18px !default;
$accordion-title-line-height: 24px !default;
$accordion-title-background: #eee !default;
$accordion-content-padding-horizontal: $accordion-title-padding-horizontal !default;
$accordion-content-padding-bottom: $accordion-title-padding-horizontal !default;
$nav-autocomplete-color: #444 !default;
$nav-autocomplete-active-background: #00a8e6 !default;
$nav-autocomplete-active-color: #fff !default;
$nav-autocomplete-header-color: #999 !default;
$nav-autocomplete-divider-border: #ddd !default;
$nav-autocomplete-divider-border-width: 1px !default;
$datepicker-z-index: 1050 !default;
$datepicker-animation: uk-fade !default;
$datepicker-nav-height: 20px !default;
$datepicker-nav-margin-bottom: 15px !default;
$datepicker-nav-color: #444 !default;
$datepicker-nav-hover-color: #444 !default;
$datepicker-previous-icon: "\f053" !default;
$datepicker-next-icon: "\f054" !default;
$datepicker-table-width: 26px !default;
$datepicker-table-height: 24px !default;
$datepicker-table-color: #444 !default;
$datepicker-table-hover-background: #ddd !default;
$datepicker-table-hover-color: #444 !default;
$datepicker-table-onclick-background: #ccc !default;
$datepicker-table-onclick-color: #444 !default;
$datepicker-table-active-background: #00a8e6 !default;
$datepicker-table-active-color: #fff !default;
$datepicker-table-muted-color: #999 !default;
$dotnav-margin-horizontal: 15px !default;
$dotnav-margin-vertical: $dotnav-margin-horizontal !default;
$dotnav-width: 20px !default;
$dotnav-height: $dotnav-width !default;
$dotnav-background: rgba(50,50,50,0.1) !default;
$dotnav-hover-background: rgba(50,50,50,0.4) !default;
$dotnav-onclick-background: rgba(50,50,50,0.6) !default;
$dotnav-active-background: rgba(50,50,50,0.4) !default;
$dotnav-contrast-background: rgba(255,255,255,0.4) !default;
$dotnav-contrast-hover-background: rgba(255,255,255,0.7) !default;
$dotnav-contrast-onclick-background: rgba(255,255,255,0.9) !default;
$dotnav-contrast-active-background: rgba(255,255,255,0.9) !default;
$form-advanced-size: 14px !default;
$form-advanced-border: #aaa !default;
$form-advanced-border-width: 1px !default;
$form-advanced-margin-top: -4px !default;
$form-advanced-color: transparent !default;
$form-advanced-checked-color: #00a8e6 !default;
$form-advanced-radio-size: 8px !default;
$form-advanced-checkbox-icon: "\f00c" !default;
$form-advanced-checkbox-indeterminate-icon: "\f068" !default;
$form-advanced-checkbox-font-size: 12px !default;
$form-advanced-disabled-border: #ddd !default;
$form-advanced-disabled-color: #aaa !default;
$form-password-font-size: 13px !default;
$form-password-line-height: $form-password-font-size !default;
$form-password-color: #999 !default;
$form-password-hover-color: #999 !default;
$form-password-padding: 50px !default;
$htmleditor-navbar-background: #eee !default;
$htmleditor-navbar-nav-height: 40px !default;
$htmleditor-navbar-nav-padding-horizontal: 15px !default;
$htmleditor-navbar-nav-line-height: $htmleditor-navbar-nav-height !default;
$htmleditor-navbar-nav-color: #444 !default;
$htmleditor-navbar-nav-hover-background: #f5f5f5 !default;
$htmleditor-navbar-nav-hover-color: #444 !default;
$htmleditor-navbar-nav-onclick-background: #ddd !default;
$htmleditor-navbar-nav-onclick-color: #444 !default;
$htmleditor-navbar-nav-active-background: #f5f5f5 !default;
$htmleditor-navbar-nav-active-color: #444 !default;
$htmleditor-content-border: #ddd !default;
$htmleditor-content-background: #fff !default;
$htmleditor-content-padding: 20px !default;
$htmleditor-content-split-border: #eee !default;
$htmleditor-fullscreen-z-index: 990 !default;
$htmleditor-fullscreen-content-top: $htmleditor-navbar-nav-height !default;
$htmleditor-fullscreen-icon-resize: "\f066" !default;
$nestable-padding-left: 40px !default;
$nestable-item-margin: 10px !default;
$nestable-dragged-z-index: 1050 !default;
$nestable-placeholder-border: #ddd !default;
$nestable-empty-height: 30px !default;
$nestable-toggle-icon: "\f147" !default;
$nestable-toggle-collapsed-icon: "\f196" !default;
$nestable-panel-padding: 5px !default;
$nestable-panel-background: #f5f5f5 !default;
$notify-position: 10px !default;
$notify-z-index: 1040 !default;
$notify-width: 350px !default;
$notify-message-margin-bottom: 10px !default;
$notify-message-padding: 15px !default;
$notify-message-background: #444 !default;
$notify-message-color: #fff !default;
$notify-message-font-size: 16px !default;
$notify-message-line-height: 22px !default;
$notify-message-primary-background: #ebf7fd !default;
$notify-message-primary-color: #2d7091 !default;
$notify-message-success-background: #f2fae3 !default;
$notify-message-success-color: #659f13 !default;
$notify-message-warning-background: #fffceb !default;
$notify-message-warning-color: #e28327 !default;
$notify-message-danger-background: #fff1f0 !default;
$notify-message-danger-color: #d85030 !default;
$placeholder-margin-vertical: 15px !default;
$placeholder-padding: 20px !default;
$placeholder-border: #ddd !default;
$placeholder-background: #fafafa !default;
$placeholder-color: #444 !default;
$placeholder-large-padding-vertical: 80px !default;
$progress-height: 20px !default;
$progress-mini-height: 6px !default;
$progress-small-height: 12px !default;
$progress-margin-vertical: 15px !default;
$progress-background: #eee !default;
$progress-bar-background: #00a8e6 !default;
$progress-bar-font-size: 12px !default;
$progress-bar-color: #fff !default;
$progress-bar-success-background: #8cc14c !default;
$progress-bar-warning-background: #faa732 !default;
$progress-bar-danger-background: #da314b !default;
$search-width: 120px !default;
$search-focus-width: 180px !default;
$search-height: 30px !default;
$search-padding: 30px !default;
$search-border: rgba(0,0,0,0) !default;
$search-border-width: 1px !default;
$search-background: rgba(0,0,0,0) !default;
$search-color: #444 !default;
$search-placeholder-color: #999 !default;
$search-icon: "\f002" !default;
$search-icon-size: 14px !default;
$search-icon-color: rgba(0,0,0,0.2) !default;
$dropdown-search-width: 300px !default;
$dropdown-search-margin-top: 0 !default;
$dropdown-search-background: #f5f5f5 !default;
$dropdown-search-color: #444 !default;
$dropdown-search-animation: uk-slide-top-fixed !default;
$dropdown-search-navbar-margin-top: 5px !default;
$dropdown-search-navbar-margin-right: -15px !default;
$nav-search-color: #444 !default;
$nav-search-active-background: #00a8e6 !default;
$nav-search-active-color: #fff !default;
$nav-search-header-color: #999 !default;
$nav-search-divider-border: #ddd !default;
$nav-search-divider-border-width: 1px !default;
$nav-search-nested-color: #07D !default;
$nav-search-nested-hover-color: #059 !default;
$offcanvas-search-margin: 20px 15px !default;
$offcanvas-search-background: #1a1a1a !default;
$offcanvas-search-border: rgba(0,0,0,0) !default;
$offcanvas-search-color: #ccc !default;
$offcanvas-search-placeholder-color: #777 !default;
$offcanvas-search-icon-color: #777 !default;
$slidenav-width: 60px !default;
$slidenav-height: $slidenav-width !default;
$slidenav-color: rgba(50,50,50,0.4) !default;
$slidenav-font-size: 60px !default;
$slidenav-line-height: $slidenav-height !default;
$slidenav-previous-icon: "\f104" !default;
$slidenav-next-icon: "\f105" !default;
$slidenav-hover-color: rgba(50,50,50,0.7) !default;
$slidenav-active-color: rgba(50,50,50,0.9) !default;
$slidenav-position-previous: 20px !default;
$slidenav-position-next: $slidenav-position-previous !default;
$slidenav-contrast-color: rgba(255,255,255,0.5) !default;
$slidenav-contrast-hover-color: rgba(255,255,255,0.7) !default;
$slidenav-contrast-active-color: rgba(255,255,255,0.9) !default;
$sortable-dragged-z-index: 1050 !default;
$sortable-placeholder-opacity: 0 !default;
$sortable-empty-height: 30px !default;
$sticky-z-index: 980 !default;
$sticky-animation-duration: 0.2s !default;
$sticky-reverse-animation-duration: 0.2s !default;
$tooltip-z-index: 1030 !default;
$tooltip-max-width: 200px !default;
$tooltip-padding-vertical: 5px !default;
$tooltip-padding-horizontal: 8px !default;
$tooltip-background: #333 !default;
$tooltip-triangle-size: 5px !default;
$tooltip-color: rgba(255,255,255,0.7) !default;
$tooltip-font-size: 12px !default;
$tooltip-line-height: 18px !default;
$tooltip-offset-horizontal: 10px !default;
$uk-upload-dragover-box-shadow: rgba(100,100,100,0.3) !default;
$uk-upload-dragover-box-shadow-blur: 20px !default;
$alert-margin-vertical: 15px !default;
$alert-padding: 10px !default;
$alert-background: #ebf7fd !default;
$alert-color: #2d7091 !default;
$alert-success-background: #f2fae3 !default;
$alert-success-color: #659f13 !default;
$alert-warning-background: #fffceb !default;
$alert-warning-color: #e28327 !default;
$alert-danger-background: #fff1f0 !default;
$alert-danger-color: #d85030 !default;
$alert-large-padding: 20px !default;
$article-margin-top: 25px !default;
$article-title-font-size: 36px !default;
$article-title-line-height: 42px !default;
$article-title-font-weight: normal !default;
$article-title-text-transform: none !default;
$article-meta-font-size: 12px !default;
$article-meta-line-height: 18px !default;
$article-meta-color: #999 !default;
$article-lead-color: #444 !default;
$article-lead-font-size: 18px !default;
$article-lead-line-height: 24px !default;
$article-lead-font-weight: normal !default;
$article-divider-margin: 25px !default;
$article-divider-border: #ddd !default;
$badge-background: #00a8e6 !default;
$badge-padding-horizontal: 5px !default;
$badge-font-size: 10px !default;
$badge-font-weight: bold !default;
$badge-line-height: 14px !default;
$badge-color: #fff !default;
$badge-text-transform: none !default;
$badge-hover-color: #fff !default;
$badge-notification-font-size: 12px !default;
$badge-notification-line-height: 18px !default;
$badge-success-background: #8cc14c !default;
$badge-warning-background: #faa732 !default;
$badge-danger-background: #da314b !default;
$base-body-background: #fff !default;
$base-body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$base-body-font-weight: normal !default;
$base-body-font-size: 14px !default;
$base-body-line-height: 20px !default;
$base-body-color: #444 !default;
$base-link-color: #07D !default;
$base-link-text-decoration: none !default;
$base-link-hover-color: #059 !default;
$base-link-hover-text-decoration: underline !default;
$base-code-color: #D05 !default;
$base-code-font-size: 12px !default;
$base-code-font-family: Consolas, monospace, serif !default;
$base-em-color: #D05 !default;
$base-ins-background: #ffa !default;
$base-ins-color: #444 !default;
$base-mark-background: #ffa !default;
$base-mark-color: #444 !default;
$base-quote-font-style: italic !default;
$base-margin-vertical: 15px !default;
$base-heading-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$base-heading-font-weight: normal !default;
$base-heading-color: #444 !default;
$base-heading-text-transform: none !default;
$base-heading-margin-top: 25px !default;
$base-h1-font-size: 36px !default;
$base-h1-line-height: 42px !default;
$base-h2-font-size: 24px !default;
$base-h2-line-height: 30px !default;
$base-h3-font-size: 18px !default;
$base-h3-line-height: 24px !default;
$base-h4-font-size: 16px !default;
$base-h4-line-height: 22px !default;
$base-h5-font-size: 14px !default;
$base-h5-line-height: 20px !default;
$base-h6-font-size: 12px !default;
$base-h6-line-height: 18px !default;
$base-list-padding-left: 30px !default;
$base-hr-margin-vertical: $base-margin-vertical !default;
$base-hr-border: #ddd !default;
$base-hr-border-width: 1px !default;
$base-blockquote-padding-left: 15px !default;
$base-blockquote-border: #ddd !default;
$base-blockquote-border-width: 5px !default;
$base-blockquote-font-size: 16px !default;
$base-blockquote-line-height: 22px !default;
$base-blockquote-font-style: italic !default;
$base-pre-padding: 10px !default;
$base-pre-background: #f5f5f5 !default;
$base-pre-color: #444 !default;
$base-pre-font-size: 12px !default;
$base-pre-line-height: 18px !default;
$base-pre-font-family: $base-code-font-family !default;
$base-selection-background: #39f !default;
$base-selection-color: #fff !default;
$block-padding-vertical: 20px !default;
$block-padding-vertical-large: 50px !default;
$block-large-padding-vertical: $block-padding-vertical !default;
$block-large-padding-vertical-medium: $block-padding-vertical-large !default;
$block-large-padding-vertical-large: 100px !default;
$block-default-background: #fff !default;
$block-muted-background: #f9f9f9 !default;
$block-primary-background: #00a8e6 !default;
$block-secondary-background: #222 !default;
$breadcrumb-font-size: 1rem !default;
$breadcrumb-divider: "/" !default;
$breadcrumb-divider-margin: 8px !default;
$breadcrumb-disabled-color: #999 !default;
$button-height: 30px !default;
$button-mini-height: 20px !default;
$button-small-height: 25px !default;
$button-large-height: 40px !default;
$button-line-height: 30px !default;
$button-mini-line-height: 20px !default;
$button-small-line-height: 25px !default;
$button-large-line-height: 40px !default;
$button-mini-font-size: 11px !default;
$button-small-font-size: 12px !default;
$button-large-font-size: 16px !default;
$button-padding-horizontal: 12px !default;
$button-mini-padding-horizontal: 6px !default;
$button-small-padding-horizontal: 10px !default;
$button-large-padding-horizontal: 15px !default;
$button-font-size: 1rem !default;
$button-background: #eee !default;
$button-color: #444 !default;
$button-hover-background: #f5f5f5 !default;
$button-hover-color: #444 !default;
$button-active-background: #ddd !default;
$button-active-color: #444 !default;
$button-primary-background: #00a8e6 !default;
$button-primary-color: #fff !default;
$button-primary-hover-background: #35b3ee !default;
$button-primary-hover-color: #fff !default;
$button-primary-active-background: #0091ca !default;
$button-primary-active-color: #fff !default;
$button-success-background: #8cc14c !default;
$button-success-color: #fff !default;
$button-success-hover-background: #8ec73b !default;
$button-success-hover-color: #fff !default;
$button-success-active-background: #72ae41 !default;
$button-success-active-color: #fff !default;
$button-danger-background: #da314b !default;
$button-danger-color: #fff !default;
$button-danger-hover-background: #e4354f !default;
$button-danger-hover-color: #fff !default;
$button-danger-active-background: #c91032 !default;
$button-danger-active-color: #fff !default;
$button-disabled-background: #f5f5f5 !default;
$button-disabled-color: #999 !default;
$button-link-color: #07D !default;
$button-link-hover-color: #059 !default;
$button-link-hover-text-decoration: underline !default;
$button-link-disabled-color: #999 !default;
$close-size: 20px !default;
$close-alt-padding: 2px !default;
$close-alt-background: #eee !default;
$column-gutter: 25px !default;
$comment-header-margin-bottom: 15px !default;
$comment-avatar-margin-right: 15px !default;
$comment-title-margin-top: 5px !default;
$comment-title-font-size: 16px !default;
$comment-title-line-height: 22px !default;
$comment-meta-margin-top: 2px !default;
$comment-meta-color: #999 !default;
$comment-meta-font-size: 11px !default;
$comment-meta-line-height: 16px !default;
$comment-list-margin-top: 15px !default;
$comment-list-padding-left: 100px !default;
$contrast-color: #fff !default;
$contrast-inverted-color: #444 !default;
$contrast-base-color: $contrast-color !default;
$contrast-base-link-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-base-link-text-decoration: none !default;
$contrast-base-link-hover-color: $contrast-color !default;
$contrast-base-link-hover-text-decoration: underline !default;
$contrast-base-code-color: $contrast-color !default;
$contrast-base-em-color: $contrast-color !default;
$contrast-base-heading-color: $contrast-color !default;
$contrast-base-hr-border: fade-out($contrast-color, 0.8) !default;
$contrast-nav-side-color: $contrast-color !default;
$contrast-nav-side-hover-background: fade-out($contrast-color, 0.9) !default;
$contrast-nav-side-hover-color: $contrast-color !default;
$contrast-nav-side-active-background: $contrast-color !default;
$contrast-nav-side-active-color: $contrast-inverted-color !default;
$contrast-nav-side-header-color: $contrast-color !default;
$contrast-nav-side-divider-border: fade-out($contrast-color, 0.8) !default;
$contrast-nav-side-nested-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-nav-side-nested-hover-color: $contrast-color !default;
$contrast-subnav-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-subnav-hover-color: $contrast-color !default;
$contrast-subnav-hover-text-decoration: none !default;
$contrast-subnav-active-color: $contrast-color !default;
$contrast-subnav-line-border: fade-out($contrast-color, 0.8) !default;
$contrast-subnav-pill-hover-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-subnav-pill-hover-color: $contrast-inverted-color !default;
$contrast-subnav-pill-active-background: $contrast-color !default;
$contrast-subnav-pill-active-color: $contrast-inverted-color !default;
$contrast-tab-border: fade-out($contrast-color, 0.8) !default;
$contrast-tab-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-tab-hover-border: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-tab-hover-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-tab-hover-color: $contrast-inverted-color !default;
$contrast-tab-active-border: fade-out($contrast-color, 0.8) !default;
$contrast-tab-active-background: $contrast-color !default;
$contrast-tab-active-color: $contrast-inverted-color !default;
$contrast-list-line-border: fade-out($contrast-color, 0.8) !default;
$contrast-form-border: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-form-background: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-form-color: $contrast-inverted-color !default;
$contrast-form-focus-border: $contrast-color !default;
$contrast-form-focus-background: $contrast-color !default;
$contrast-form-focus-color: $contrast-inverted-color !default;
$contrast-form-placeholder-color: fade-out($contrast-inverted-color, 0.30000000000000004) !default;
$contrast-button-background: $contrast-color !default;
$contrast-button-color: $contrast-inverted-color !default;
$contrast-button-hover-background: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-button-hover-color: $contrast-inverted-color !default;
$contrast-button-active-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-button-active-color: $contrast-inverted-color !default;
$contrast-button-primary-background: #00a8e6 !default;
$contrast-button-primary-color: $contrast-color !default;
$contrast-button-primary-hover-background: #35b3ee !default;
$contrast-button-primary-hover-color: $contrast-color !default;
$contrast-button-primary-active-background: #0091ca !default;
$contrast-button-primary-active-color: $contrast-color !default;
$contrast-icon-hover-color: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-icon-hover-hover-color: $contrast-color !default;
$contrast-icon-button-background: $contrast-color !default;
$contrast-icon-button-color: $contrast-inverted-color !default;
$contrast-icon-button-hover-background: fade-out($contrast-color, 0.19999999999999996) !default;
$contrast-icon-button-hover-color: $contrast-inverted-color !default;
$contrast-icon-button-active-background: fade-out($contrast-color, 0.30000000000000004) !default;
$contrast-icon-button-active-color: $contrast-inverted-color !default;
$contrast-text-muted-color: fade-out($contrast-color, 0.4) !default;
$contrast-text-primary-color: #2d7091 !default;
$description-list-horizontal-width: 160px !default;
$description-list-horizontal-margin-left: 180px !default;
$description-list-line-margin-top: 5px !default;
$description-list-line-border-width: 1px !default;
$description-list-line-border: #ddd !default;
$description-list-line-color: #999 !default;
$description-list-line-font-weight: normal !default;
$dropdown-z-index: 970 !default;
$dropdown-width: 200px !default;
$dropdown-margin-top: 5px !default;
$dropdown-padding: 15px !default;
$dropdown-background: #f5f5f5 !default;
$dropdown-color: #444 !default;
$dropdown-font-size: 1rem !default;
$dropdown-animation: uk-fade !default;
$dropdown-divider-border-width: 1px !default;
$dropdown-divider-border: #ddd !default;
$dropdown-small-padding: 5px !default;
$dropdown-navbar-margin: 0 !default;
$dropdown-navbar-background: #f5f5f5 !default;
$dropdown-navbar-color: #444 !default;
$dropdown-navbar-animation: uk-slide-top-fixed !default;
$dropdown-scrollable-height: 200px !default;
$form-height: 30px !default;
$form-padding: 4px 6px !default;
$form-border: #ddd !default;
$form-border-width: 1px !default;
$form-background: #fff !default;
$form-color: #444 !default;
$form-focus-border: #99baca !default;
$form-focus-background: #f5fbfe !default;
$form-focus-color: #444 !default;
$form-disabled-border: #ddd !default;
$form-disabled-background: #f5f5f5 !default;
$form-disabled-color: #999 !default;
$form-placeholder-color: #999 !default;
$form-gutter: 15px !default;
$form-legend-border: #ddd !default;
$form-legend-border-width: 1px !default;
$form-legend-font-size: 18px !default;
$form-legend-line-height: 30px !default;
$form-small-height: 25px !default;
$form-large-height: 40px !default;
$form-small-padding: 3px 3px !default;
$form-large-padding: 8px 6px !default;
$form-small-font-size: 12px !default;
$form-large-font-size: 16px !default;
$form-danger-border: #dc8d99 !default;
$form-danger-background: #fff7f8 !default;
$form-danger-color: #d85030 !default;
$form-success-border: #8ec73b !default;
$form-success-background: #fafff2 !default;
$form-success-color: #659f13 !default;
$form-blank-border: #ddd !default;
$form-blank-border-style: dashed !default;
$form-mini-width: 40px !default;
$form-small-width: 130px !default;
$form-medium-width: 200px !default;
$form-large-width: 500px !default;
$form-help-inline-margin-left: 10px !default;
$form-help-block-margin-top: 5px !default;
$form-controls-condensed-margin-vertical: 5px !default;
$form-stacked-margin-bottom: 5px !default;
$form-stacked-font-weight: bold !default;
$form-horizontal-label-width: 200px !default;
$form-horizontal-label-margin-top: 5px !default;
$form-horizontal-controls-margin-left: 215px !default;
$form-horizontal-controls-text-padding-top: 5px !default;
$form-icon-width: 30px !default;
$form-icon-font-size: 14px !default;
$form-icon-color: #999 !default;
$grid-gutter-horizontal: 25px !default;
$grid-gutter-vertical: 25px !default;
$grid-gutter-large-horizontal: 35px !default;
$grid-gutter-large-vertical: 35px !default;
$grid-gutter-xlarge-horizontal: 50px !default;
$grid-gutter-xlarge-vertical: 50px !default;
$grid-gutter-small-horizontal: 10px !default;
$grid-gutter-small-vertical: 10px !default;
$grid-divider-border: #ddd !default;
$grid-divider-border-width: 1px !default;
$icon-font-path: "../fonts" !default;
$icon-small-font-size: 150% !default;
$icon-medium-font-size: 200% !default;
$icon-large-font-size: 250% !default;
$icon-small-vertical-align: -10% !default;
$icon-medium-vertical-align: -16% !default;
$icon-large-vertical-align: -22% !default;
$icon-hover-color: #999 !default;
$icon-hover-hover-color: #444 !default;
$icon-button-width: 35px !default;
$icon-button-height: $icon-button-width !default;
$icon-button-border-radius: 100% !default;
$icon-button-background: #eee !default;
$icon-button-font-size: round(($icon-button-width * 0.5)) !default;
$icon-button-color: #444 !default;
$icon-button-hover-background: #f5f5f5 !default;
$icon-button-hover-color: #444 !default;
$icon-button-active-background: #ddd !default;
$icon-button-active-color: #444 !default;
$list-nested-padding-left: 20px !default;
$list-line-margin-top: 5px !default;
$list-line-border: #ddd !default;
$list-line-border-width: 1px !default;
$list-striped-padding-vertical: 5px !default;
$list-striped-padding-horizontal: 5px !default;
$list-striped-background: #f5f5f5 !default;
$list-space-margin-top: 10px !default;
$modal-z-index: 1010 !default;
$modal-background: rgba(0,0,0,0.6) !default;
$modal-dialog-margin-vertical: 50px !default;
$modal-dialog-padding: 20px !default;
$modal-dialog-width: 600px !default;
$modal-dialog-background: #fff !default;
$modal-dialog-large-width: 930px !default;
$modal-dialog-large-width-large: 1130px !default;
$modal-header-margin-bottom: 15px !default;
$modal-footer-margin-top: 15px !default;
$modal-caption-margin-bottom: -10px !default;
$modal-caption-color: #fff !default;
$nav-padding-vertical: 5px !default;
$nav-padding-horizontal: 15px !default;
$nav-header-padding-vertical: $nav-padding-vertical !default;
$nav-header-padding-horizontal: $nav-padding-horizontal !default;
$nav-header-font-size: 12px !default;
$nav-header-font-weight: bold !default;
$nav-header-text-transform: uppercase !default;
$nav-header-margin-top: 15px !default;
$nav-divider-margin-vertical: 9px !default;
$nav-divider-margin-horizontal: $nav-padding-horizontal !default;
$nav-subtitle-font-size: 12px !default;
$nav-subtitle-line-height: 18px !default;
$nav-nested-padding-left: 15px !default;
$nav-nested-padding-vertical: 2px !default;
$nav-nested-padding-horizontal: 0 !default;
$nav-sub-padding-vertical: 5px !default;
$nav-sub-padding-left: $nav-padding-horizontal !default;
$nav-parent-icon: "\f104" !default;
$nav-parent-open-icon: "\f107" !default;
$nav-parent-icon-width: 20px !default;
$nav-parent-icon-margin-right: -10px !default;
$nav-side-color: #444 !default;
$nav-side-hover-background: rgba(0,0,0,0.05) !default;
$nav-side-hover-color: #444 !default;
$nav-side-active-background: #00a8e6 !default;
$nav-side-active-color: #fff !default;
$nav-side-header-color: #444 !default;
$nav-side-divider-border: #ddd !default;
$nav-side-divider-border-width: 1px !default;
$nav-side-nested-color: #07D !default;
$nav-side-nested-hover-color: #059 !default;
$nav-dropdown-color: #444 !default;
$nav-dropdown-hover-background: #00a8e6 !default;
$nav-dropdown-hover-color: #fff !default;
$nav-dropdown-header-color: #999 !default;
$nav-dropdown-divider-border: #ddd !default;
$nav-dropdown-divider-border-width: 1px !default;
$nav-dropdown-nested-color: #07D !default;
$nav-dropdown-nested-hover-color: #059 !default;
$nav-navbar-color: #444 !default;
$nav-navbar-hover-background: #00a8e6 !default;
$nav-navbar-hover-color: #fff !default;
$nav-navbar-header-color: #999 !default;
$nav-navbar-divider-border: #ddd !default;
$nav-navbar-divider-border-width: 1px !default;
$nav-navbar-nested-color: #07D !default;
$nav-navbar-nested-hover-color: #059 !default;
$nav-offcanvas-padding-vertical: 10px !default;
$nav-offcanvas-padding-horizontal: 15px !default;
$nav-offcanvas-color: #ccc !default;
$nav-offcanvas-hover-background: #404040 !default;
$nav-offcanvas-hover-color: #fff !default;
$nav-offcanvas-active-background: #1a1a1a !default;
$nav-offcanvas-active-color: #fff !default;
$nav-offcanvas-header-color: #777 !default;
$nav-offcanvas-divider-border: #1a1a1a !default;
$nav-offcanvas-divider-border-width: 1px !default;
$nav-offcanvas-nested-color: #ccc !default;
$nav-offcanvas-nested-hover-color: #fff !default;
$navbar-background: #eee !default;
$navbar-color: #444 !default;
$navbar-link-color: #07D !default;
$navbar-link-hover-color: #059 !default;
$navbar-nav-height: 40px !default;
$navbar-nav-line-height: $navbar-nav-height !default;
$navbar-nav-padding-horizontal: 15px !default;
$navbar-nav-color: #444 !default;
$navbar-nav-font-size: 14px !default;
$navbar-nav-font-weight: normal !default;
$navbar-nav-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
$navbar-nav-hover-background: #f5f5f5 !default;
$navbar-nav-hover-color: #444 !default;
$navbar-nav-onclick-background: #ddd !default;
$navbar-nav-onclick-color: #444 !default;
$navbar-nav-active-background: #f5f5f5 !default;
$navbar-nav-active-color: #444 !default;
$navbar-nav-subtitle-font-size: 10px !default;
$navbar-nav-subtitle-offset: 2px !default;
$navbar-brand-font-size: 18px !default;
$navbar-brand-color: #444 !default;
$navbar-brand-hover-color: #444 !default;
$navbar-toggle-font-size: 18px !default;
$navbar-toggle-color: #444 !default;
$navbar-toggle-hover-color: #444 !default;
$navbar-toggle-icon: "\f0c9" !default;
$navbar-toggle-icon-alt: "\f002" !default;
$offcanvas-z-index: 1000 !default;
$offcanvas-background: rgba(0,0,0,0.1) !default;
$offcanvas-bar-width: 270px !default;
$offcanvas-bar-background: #333 !default;
$offcanvas-panel-margin: 20px 15px !default;
$offcanvas-panel-color: #777 !default;
$offcanvas-panel-link-color: #ccc !default;
$offcanvas-panel-link-hover-color: #fff !default;
$offcanvas-panel-title-color: $offcanvas-panel-link-color !default;
$overlay-panel-padding: 20px !default;
$overlay-panel-color: #fff !default;
$overlay-panel-background: rgba(0,0,0,0.5) !default;
$overlay-icon: "\f002" !default;
$overlay-icon-size: 50px !default;
$overlay-icon-color: #fff !default;
$overlay-fade-in-opacity: 1 !default;
$overlay-fade-out-opacity: 0.7 !default;
$overlay-scale-in-scale: 1.1 !default;
$overlay-scale-out-scale: 1 !default;
$overlay-spin-in-scale: 1.1 !default;
$overlay-spin-out-scale: 1 !default;
$overlay-spin-in-rotate: 3deg !default;
$overlay-spin-out-rotate: 0deg !default;
$overlay-panel-link-color: inherit !default;
$overlay-panel-link-text-decoration: underline !default;
$overlay-area-background: rgba(0,0,0,0.3) !default;
$overlay-area-icon: "\f002" !default;
$overlay-area-icon-size: 50px !default;
$overlay-area-icon-color: #fff !default;
$overlay-area-content-font-size: 1rem !default;
$overlay-area-content-padding-horizontal: 15px !default;
$overlay-area-content-color: #fff !default;
$overlay-area-content-link-color: inherit !default;
$overlay-caption-background: rgba(0,0,0,0.5) !default;
$overlay-caption-padding: 15px !default;
$overlay-caption-color: #fff !default;
$pagination-font-size: 1rem !default;
$pagination-margin-left: 5px !default;
$pagination-padding-vertical: 3px !default;
$pagination-padding-horizontal: 5px !default;
$pagination-line-height: 20px !default;
$pagination-background: #eee !default;
$pagination-color: #444 !default;
$pagination-hover-background: #f5f5f5 !default;
$pagination-hover-color: #444 !default;
$pagination-onclick-background: #ddd !default;
$pagination-onclick-color: #444 !default;
$pagination-active-background: #00a8e6 !default;
$pagination-active-color: #fff !default;
$pagination-disabled-background: #f5f5f5 !default;
$pagination-disabled-color: #999 !default;
$panel-title-margin-bottom: 15px !default;
$panel-title-font-size: 18px !default;
$panel-title-line-height: 24px !default;
$panel-title-font-weight: normal !default;
$panel-title-color: #444 !default;
$panel-title-text-transform: none !default;
$panel-teaser-margin-bottom: $panel-title-margin-bottom !default;
$panel-box-padding: 15px !default;
$panel-box-background: #f5f5f5 !default;
$panel-box-color: #444 !default;
$panel-box-hover-color: $panel-box-color !default;
$panel-box-title-color: #444 !default;
$panel-box-badge-top: 10px !default;
$panel-box-badge-right: $panel-box-badge-top !default;
$panel-box-teaser-margin: -$panel-box-padding !default;
$panel-box-primary-background: #ebf7fd !default;
$panel-box-primary-color: #2d7091 !default;
$panel-box-primary-hover-color: $panel-box-primary-color !default;
$panel-box-primary-title-color: #2d7091 !default;
$panel-box-secondary-background: #eee !default;
$panel-box-secondary-color: #444 !default;
$panel-box-secondary-hover-color: $panel-box-secondary-color !default;
$panel-box-secondary-title-color: #444 !default;
$panel-hover-padding: 15px !default;
$panel-hover-color: #444 !default;
$panel-hover-hover-background: #f5f5f5 !default;
$panel-hover-hover-color: #444 !default;
$panel-hover-badge-top: 10px !default;
$panel-hover-badge-right: $panel-hover-badge-top !default;
$panel-hover-teaser-margin: -$panel-hover-padding !default;
$panel-header-title-padding: 10px !default;
$panel-header-title-border: #ddd !default;
$panel-header-title-border-width: 1px !default;
$panel-header-title-color: #444 !default;
$panel-space-padding: 30px !default;
$panel-divider-gutter: 25px !default;
$panel-divider-gutter-large: 35px !default;
$panel-divider-border: #ddd !default;
$panel-divider-border-width: 1px !default;
$panel-body-padding: $panel-box-padding !default;
$subnav-margin-horizontal: 10px !default;
$subnav-margin-vertical: $subnav-margin-horizontal !default;
$subnav-color: #444 !default;
$subnav-hover-color: #07D !default;
$subnav-hover-text-decoration: none !default;
$subnav-active-color: #07D !default;
$subnav-line-border-height: 10px !default;
$subnav-line-border: #ddd !default;
$subnav-line-border-width: 1px !default;
$subnav-pill-padding-vertical: 3px !default;
$subnav-pill-padding-horizontal: 9px !default;
$subnav-pill-hover-background: #eee !default;
$subnav-pill-hover-color: #444 !default;
$subnav-pill-active-background: #00a8e6 !default;
$subnav-pill-active-color: #fff !default;
$subnav-disabled-color: #999 !default;
$tab-border: #ddd !default;
$tab-border-width: 1px !default;
$tab-padding-horizontal: 12px !default;
$tab-padding-vertical: 8px !default;
$tab-padding-top: $tab-padding-vertical !default;
$tab-padding-bottom: $tab-padding-vertical !default;
$tab-margin-horizontal: 5px !default;
$tab-margin-vertical: 5px !default;
$tab-color: #07D !default;
$tab-hover-border: #f5f5f5 !default;
$tab-hover-background: #f5f5f5 !default;
$tab-hover-color: #059 !default;
$tab-active-border: #ddd !default;
$tab-active-background: #fff !default;
$tab-active-color: #444 !default;
$tab-disabled-color: #999 !default;
$table-margin-vertical: 15px !default;
$table-padding-vertical: 8px !default;
$table-padding-horizontal: 8px !default;
$table-caption-color: #999 !default;
$table-caption-font-size: 12px !default;
$table-striped-background: #f5f5f5 !default;
$table-condensed-padding-vertical: 4px !default;
$table-condensed-padding-horizontal: 8px !default;
$table-hover-background: #EEE !default;
$table-active-background: $table-hover-background !default;
$text-small-font-size: 11px !default;
$text-small-line-height: 16px !default;
$text-large-font-size: 18px !default;
$text-large-line-height: 24px !default;
$text-large-font-weight: normal !default;
$text-muted-color: #999 !default;
$text-primary-color: #2d7091 !default;
$text-success-color: #659f13 !default;
$text-warning-color: #e28327 !default;
$text-danger-color: #d85030 !default;
$text-contrast-color: #fff !default;
$thumbnail-padding: 4px !default;
$thumbnail-border: #ddd !default;
$thumbnail-border-width: 1px !default;
$thumbnail-background: #fff !default;
$thumbnail-hover-border: #aaa !default;
$thumbnail-hover-background: #fff !default;
$thumbnail-caption-padding: $thumbnail-padding !default;
$thumbnail-caption-color: #444 !default;
$thumbnail-mini-width: 150px !default;
$thumbnail-small-width: 200px !default;
$thumbnail-medium-width: 300px !default;
$thumbnail-large-width: 400px !default;
$thumbnav-margin-horizontal: 10px !default;
$thumbnav-margin-vertical: $thumbnav-margin-horizontal !default;
$thumbnav-background: #fff !default;
$thumbnav-opacity: 0.7 !default;
$thumbnav-hover-opacity: 1 !default;
$thumbnav-active-opacity: 1 !default;
$utility-container-max-width: 980px !default;
$utility-container-padding-horizontal: 25px !default;
$utility-container-large-max-width: 1200px !default;
$utility-container-large-padding-horizontal: 35px !default;
$utility-align-horizontal: 15px !default;
$utility-align-vertical: 15px !default;
$utility-height-viewport-min-height: 600px !default;
$utility-margin: 15px !default;
$utility-margin-small: 5px !default;
$utility-margin-large: 50px !default;
$utility-border-rounded: 5px !default;
$utility-heading-large-small-font-size: 36px !default;
$utility-heading-large-small-line-height: 42px !default;
$utility-heading-large-font-size: 52px !default;
$utility-heading-large-line-height: 64px !default;
$utility-link-muted-color: #444 !default;
$utility-link-muted-hover-color: #444 !default;
$utility-scrollable-text-height: 300px !default;
$utility-scrollable-box-height: 170px !default;
$utility-scrollable-box-padding: 10px !default;
$utility-scrollable-box-border: #ddd !default;
$utility-scrollable-box-border-width: 1px !default;
$breakpoint-small: 480px !default;
$breakpoint-medium: 768px !default;
$breakpoint-large: 960px !default;
$breakpoint-xlarge: 1220px !default;
$breakpoint-mini-max: ($breakpoint-small - 1) !default;
$breakpoint-small-max: ($breakpoint-medium - 1) !default;
$breakpoint-medium-max: ($breakpoint-large - 1) !default;
$breakpoint-large-max: ($breakpoint-xlarge - 1);

52
bower_components/uikit/scss/uikit.scss vendored Normal file
View File

@@ -0,0 +1,52 @@
// LESS related
@import "core/variables.scss";
// Defaults
@import "core/base.scss";
// Layout
@import "core/grid.scss";
@import "core/panel.scss";
@import "core/block.scss";
@import "core/article.scss";
@import "core/comment.scss";
@import "core/cover.scss";
// Navs
@import "core/nav.scss";
@import "core/navbar.scss";
@import "core/subnav.scss";
@import "core/breadcrumb.scss";
@import "core/pagination.scss";
@import "core/tab.scss";
@import "core/thumbnav.scss";
// Elements
@import "core/list.scss";
@import "core/description-list.scss";
@import "core/table.scss";
@import "core/form.scss";
// Common
@import "core/button.scss";
@import "core/icon.scss";
@import "core/close.scss";
@import "core/badge.scss";
@import "core/alert.scss";
@import "core/thumbnail.scss";
@import "core/overlay.scss";
@import "core/column.scss";
@import "core/animation.scss";
// JavaScript
@import "core/dropdown.scss";
@import "core/modal.scss";
@import "core/offcanvas.scss";
@import "core/switcher.scss";
// Need to be loaded last
@import "core/text.scss";
@import "core/utility.scss";
@import "core/flex.scss";
@import "core/contrast.scss";
@import "core/print.scss";