| Current Path : /home/jlgagfroyt/www/AAOLD/templates/yoo_organic/less/uikit/ |
| Current File : /home/jlgagfroyt/www/AAOLD/templates/yoo_organic/less/uikit/button.less |
// Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */
//
// Component: Button
//
// ========================================================================
// Variables
// ========================================================================
@button-height: @global-height;
@button-mini-height: @global-height-mini;
@button-small-height: @global-height-small;
@button-large-height: @global-height-large;
@button-line-height: @global-height;
@button-mini-line-height: @global-height-mini;
@button-small-line-height: @global-height-small;
@button-large-line-height: @global-height-large;
@button-mini-font-size: round((@global-font-size * 0.8)); // 11px / 12px
@button-small-font-size: round((@global-font-size * 0.85)); // 12px / 14px
@button-background: darken(@global-light-background, 1%);
@button-color: @global-dark-color;
@button-hover-background: darken(@button-background, 3%);
@button-hover-color: @global-dark-color;
@button-active-background: darken(@button-hover-background, 3%);
@button-active-color: @global-dark-color;
@button-primary-background: @global-primary-background;
@button-primary-color: @global-contrast-color;
@button-primary-hover-background: lighten(@button-primary-background, 5%);
@button-primary-hover-color: @global-contrast-color;
@button-primary-active-background: darken(@button-primary-background, 5%);
@button-primary-active-color: @global-contrast-color;
@button-success-background: @global-success-background;
@button-success-color: @global-contrast-color;
@button-success-hover-background: lighten(@button-success-background, 5%);
@button-success-hover-color: @global-contrast-color;
@button-success-active-background: darken(@button-success-background, 5%);
@button-success-active-color: @global-contrast-color;
@button-danger-background: @global-danger-background;
@button-danger-color: @global-contrast-color;
@button-danger-hover-background: lighten(@button-danger-background, 5%);
@button-danger-hover-color: @global-contrast-color;
@button-danger-active-background: darken(@button-danger-background, 5%);
@button-danger-active-color: @global-contrast-color;
@button-disabled-background: @global-light-background;
@button-disabled-color: @global-muted-color;
@button-link-color: @global-link-color;
@button-link-hover-color: @global-link-hover-color;
@button-link-disabled-color: @global-muted-color;
// New
@button-text-transform: @global-text-transform;
// Component
// ========================================================================
.hook-button() {
text-transform: @button-text-transform;
}
.hook-button-hover() {}
.hook-button-active() {}
// Color modifiers
// ========================================================================
//
// Modifier: `uk-button-primary`
//
.hook-button-primary() {}
.hook-button-primary-hover() {}
.hook-button-primary-active() {}
//
// Modifier: `uk-button-success`
//
.hook-button-success() {}
.hook-button-success-hover() {}
.hook-button-success-active() {}
//
// Modifier: `uk-button-danger`
//
.hook-button-danger() {}
.hook-button-danger-hover() {}
.hook-button-danger-active() {}
// Disabled state
// ========================================================================
.hook-button-disable() {}
// Modifier: `uk-button-link`
// ========================================================================
.hook-button-link() {}
// Size modifiers
// ========================================================================
.hook-button-large() {}
// Miscellaneous
// ========================================================================
.hook-button-misc() {}