This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ( $, root, undefined ) { | |
'use strict'; | |
var defaultHintTmpl = | |
'<div class="au-hint au-hint_default" style="display: none;">\ | |
<div class="au-block-arrow"></div>\ | |
<div class="au-hint__body"></div>\ | |
</div>'; | |
var spoilerHintTmpl = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( function ( $, root, undefined ) { | |
"use strict"; | |
var defaultHintTmpl = | |
'<div class="au-hint au-hint_default" style="display: none;">\ | |
<div class="au-block-arrow"></div>\ | |
<div class="au-hint__body"></div>\ | |
</div>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global AM:true */ | |
(function( $, window, undefined ) { | |
'use strict'; | |
var AuthForm = function( $el ) { | |
this.init( $el ); | |
}; | |
AuthForm.prototype = { | |
init: function( $el ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getHeadersTmpl: function( types, data ) { | |
var tmpl = [], group, type, rows, tag, el, isNone, rowData, rowTmpl, rowElement; | |
for ( var t = 0; t < types.length; t++ ) { | |
type = types[ t ]; | |
rows = data[ 0 ][ type ].rows; | |
tag = data[ 0 ][ type ].tag; | |
group = { html: '', cell: {} }; | |
/* row titles */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ============================================================== | |
* au-compare-shadow | |
* ============================================================== | |
*/ | |
.au-compare-shadow | |
position absolute | |
overflow hidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global AM:true */ | |
(function( $, root, undefined ) { | |
'use strict'; | |
var request = root.request || {}; | |
var prefix = 'b-compare__'; | |
var showHead = function (text) { | |
return '<div class="' + prefix + 'head">' + text + '</div><div class="' + prefix + 'headfix"><div class="' + prefix + 'headfix-content">' + text + '</div></div>'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global AM:true */ | |
(function( $, window, undefined, document ) { | |
'use strict'; | |
var WidgetName = function( $el, options ) { | |
this.init( $el, options ); | |
}; | |
var bind = function( context, callback ) { | |
return function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stack = (function() { | |
var arr = []; | |
function shift() { | |
arr.splice( 0, 1 ); | |
arr.length ? arr[ 0 ]() : null; | |
} | |
function create( func, funcParams ) { | |
funcParams.push( shift ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function callBack() { | |
var from = $( ".b-call-time__from" ), | |
to = $( ".b-call-time__to" ), | |
fromField = from.find( ".b-form__field" ), | |
toField = to.find( ".b-form__field" ); | |
bindEvents( from, checkFrom, fromField ); | |
bindEvents( to, checkTo, toField ); | |
function bindEvents( el, checkFunc, field ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ----------------------------- * | |
* --- Заявка на подключение --- * | |
-------------------------------- */ | |
.b-ctn__wrapper { font-family: Arial, sans-serif; color: #5A5A5A; } | |
.b-ctn__section-name { line-height: 50px; background: #F1F1F1; font-size: 16px; font-weight: bold; margin-bottom: 30px; } | |
.b-ctn__section-name span { display: block; width: 940px; margin: 0 auto; text-transform: uppercase; } | |
.b-ctn {} |
NewerOlder