mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -705,12 +705,16 @@
|
||||
.kit-button * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.kit-button:hover,
|
||||
.kit-button:focus {
|
||||
.kit-button:hover {
|
||||
--kit-color-button-text: var(--kit-color-button-text-hover);
|
||||
--kit-color-button-content: var(--kit-color-button-content-hover);
|
||||
--kit-color-button-material: var(--kit-color-button-material-hover);
|
||||
}
|
||||
.kit-button:focus {
|
||||
--kit-color-button-text: var(--kit-color-button-text-active);
|
||||
--kit-color-button-content: var(--kit-color-button-content-active);
|
||||
--kit-color-button-material: var(--kit-color-button-material-active);
|
||||
}
|
||||
.kit-button:active {
|
||||
--kit-color-button-text: var(--kit-color-button-text-active);
|
||||
--kit-color-button-content: var(--kit-color-button-content-active);
|
||||
@@ -727,7 +731,7 @@
|
||||
box-shadow: inset 0 -2px 0 var(--kit-color-button-material);
|
||||
}
|
||||
.kit-button.kit-button--material:hover {
|
||||
box-shadow: inset 0 -3px 0 var(--kit-color-button-material);
|
||||
box-shadow: inset 0 -2px 0 var(--kit-color-button-material);
|
||||
}
|
||||
.kit-button__icon {
|
||||
display: inline-block;
|
||||
@@ -750,7 +754,10 @@
|
||||
.kit-button:disabled,
|
||||
.kit-button[disabled],
|
||||
.kit-button.disabled,
|
||||
.kit-button.inactive-button {
|
||||
.kit-button.inactive-button,
|
||||
.kit-button[loading],
|
||||
.kit-button.loading {
|
||||
opacity: 0.7;
|
||||
--kit-color-button-content: var(--kit-color-button-content-disabled);
|
||||
--kit-color-button-text:var(--kit-color-button-text-disabled);
|
||||
--kit-color-button-material: var(--kit-color-button-material-disabled);
|
||||
|
||||
@@ -1,35 +1,10 @@
|
||||
import assign from "../../../../../_utils/cookie/src/assign";
|
||||
import defaultConverter from "../../../../../_utils/cookie/src/converter";
|
||||
|
||||
kit.PluginManager.register('toolkit',function(module, exports, require) {
|
||||
kit.PluginManager.register('toolkit', function(module, exports, require, global) {
|
||||
|
||||
var $ = require('jquery');
|
||||
|
||||
|
||||
|
||||
var __Config = function () {
|
||||
|
||||
function Config() {
|
||||
this.mask =
|
||||
{
|
||||
tel: '+375 (99) 999-99-99'
|
||||
}
|
||||
}
|
||||
|
||||
Config.prototype.test = function test() {
|
||||
|
||||
};
|
||||
|
||||
return Config;
|
||||
}();
|
||||
var Config = new __Config();
|
||||
|
||||
|
||||
var __Helper = function () {
|
||||
|
||||
function Helper() {
|
||||
|
||||
}
|
||||
function Helper() {}
|
||||
|
||||
/**
|
||||
* @description Вызывает событие
|
||||
@@ -859,7 +834,7 @@ kit.PluginManager.register('toolkit',function(module, exports, require) {
|
||||
Inputs.prototype.setTelMask = function () {
|
||||
var _this3 = this;
|
||||
|
||||
$('[type=tel]').mask(Config.mask.tel, {
|
||||
$('[type=tel]').mask(global.config.defaultPhoneMask, {
|
||||
placeholder: '_', completed: function completed() {
|
||||
_this3.fieldNormalize(this);
|
||||
}
|
||||
@@ -953,12 +928,11 @@ kit.PluginManager.register('toolkit',function(module, exports, require) {
|
||||
|
||||
|
||||
/**
|
||||
* @class kit.toolkit
|
||||
* @class kitToolkit
|
||||
*/
|
||||
var toolkit = {
|
||||
Helper: Helper,
|
||||
Select: Select(),
|
||||
Config: Config,
|
||||
Message: Message,
|
||||
Inputs: Inputs,
|
||||
device: device,
|
||||
|
||||
Reference in New Issue
Block a user