initial commit
@@ -0,0 +1,216 @@
|
||||
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_02{
|
||||
background: #fff;
|
||||
border: solid 1px #520007;
|
||||
}
|
||||
.form_header {
|
||||
background: #00008B;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border-bottom: solid 1px #520007;
|
||||
}
|
||||
.form_header:after {
|
||||
content: url('../img/02/shadow.png');
|
||||
height:31px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
width:409px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #01356F;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.34);
|
||||
text-align: center;
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
|
||||
background-color: #D9E8EB;
|
||||
border: 1px solid #C0C0C0;
|
||||
-moz-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.14);
|
||||
-webkit-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.41);
|
||||
box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.14);
|
||||
border-radius: 5px;
|
||||
max-width: 339px;
|
||||
width:100%;
|
||||
display:block;
|
||||
height: 43px;
|
||||
padding-left: 15px;
|
||||
font-size: 19px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.sign_btn {
|
||||
max-width: 186px;
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
line-height: 40px;
|
||||
background-color: #530213;
|
||||
background-image: -moz-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -o-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: linear-gradient(to top, #00008B 0%, #00008B 100%);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
outline-style: none;
|
||||
}
|
||||
.sign_btn img {
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
.container {
|
||||
padding-top:95px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:640px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:63px;}
|
||||
.sign_btn {height:63px; max-width:339px; font-size:23px;}
|
||||
.inp_caption {font-size:21px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:103px; max-width:640px;}
|
||||
.sign_btn {height:103px; max-width:640px; font-size:29px;}
|
||||
.inp_caption {font-size:27px;}
|
||||
.form_header {padding:32px 12px;}
|
||||
.container {padding-top:135px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 385px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {
|
||||
padding-top:40px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 15px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 30px;
|
||||
}
|
||||
.sign_btn{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size:15px;
|
||||
}
|
||||
.sign_btn img {
|
||||
top:1px;
|
||||
height:13px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:12px; margin-bottom:3px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:5px; margin-bottom:3px;
|
||||
}
|
||||
.container {
|
||||
padding-top:24px;
|
||||
}
|
||||
.fields_wr {
|
||||
padding: 2px 3px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 12px;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sign_btn{
|
||||
font-size: 12px;
|
||||
height: 17px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.sign_btn img{
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 200px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 30px;
|
||||
}
|
||||
.container {
|
||||
padding-top:34px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
After Width: | Height: | Size: 8.3 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,95 @@
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function sendForm(regReceiver) {
|
||||
//var regReceiver = false;
|
||||
var o = {};
|
||||
var result = true;
|
||||
var a = $('form').serializeArray();
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), regReceiver);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
var message = 'You must fill out everything fields';
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert('Error', message, 'OK', '');
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
console.log('Android.saveFailInject() was called');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
console.log('Android.closeWindow() was called');
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,216 @@
|
||||
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_02{
|
||||
background: #F5F5F5;
|
||||
border: solid 1px #520007;
|
||||
}
|
||||
.form_header {
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border-bottom: solid 1px #520007;
|
||||
}
|
||||
.form_header:after {
|
||||
content: url('/images/shadow.png');
|
||||
height:31px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
width:409px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #222;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.04);
|
||||
text-align: center;
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
|
||||
background-color: #FFF;
|
||||
border: 1px solid #C0C0C0;
|
||||
-moz-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
-webkit-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.04);
|
||||
border-radius: 5px;
|
||||
max-width: 339px;
|
||||
width:100%;
|
||||
display:block;
|
||||
height: 43px;
|
||||
padding-left: 15px;
|
||||
font-size: 19px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.sign_btn {
|
||||
max-width: 186px;
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
line-height: 40px;
|
||||
background-color: #530213;
|
||||
background-image: -moz-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -o-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: linear-gradient(to top, #80BE35 0%, #80BE35 100%);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
outline-style: none;
|
||||
}
|
||||
.sign_btn img {
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
.container {
|
||||
padding-top:95px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:640px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:63px;}
|
||||
.sign_btn {height:63px; max-width:339px; font-size:23px;}
|
||||
.inp_caption {font-size:21px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:103px; max-width:640px;}
|
||||
.sign_btn {height:103px; max-width:640px; font-size:29px;}
|
||||
.inp_caption {font-size:27px;}
|
||||
.form_header {padding:32px 12px;}
|
||||
.container {padding-top:135px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 385px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {
|
||||
padding-top:40px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 15px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 30px;
|
||||
}
|
||||
.sign_btn{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size:15px;
|
||||
}
|
||||
.sign_btn img {
|
||||
top:1px;
|
||||
height:13px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:12px; margin-bottom:3px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:5px; margin-bottom:3px;
|
||||
}
|
||||
.container {
|
||||
padding-top:24px;
|
||||
}
|
||||
.fields_wr {
|
||||
padding: 2px 3px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 12px;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sign_btn{
|
||||
font-size: 12px;
|
||||
height: 17px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.sign_btn img{
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 200px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 30px;
|
||||
}
|
||||
.container {
|
||||
padding-top:34px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,95 @@
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function sendForm(regReceiver) {
|
||||
//var regReceiver = false;
|
||||
var o = {};
|
||||
var result = true;
|
||||
var a = $('form').serializeArray();
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), regReceiver);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
var message = 'You must fill out everything fields';
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert('Error', message, 'OK', '');
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
console.log('Android.saveFailInject() was called');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
console.log('Android.closeWindow() was called');
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,71 @@
|
||||
.cat-start-step {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.cat-step-block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cat-last-step {
|
||||
display: none;
|
||||
margin-top: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cat-last-step input[type=button] {
|
||||
float: none;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.cat-last-step span {
|
||||
color:red;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
.cat-button {
|
||||
margin-top: 13px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 10em;
|
||||
height: 2.5em;
|
||||
line-height: 2em;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 1px #777;
|
||||
color: #fff;
|
||||
outline: none;
|
||||
border: 2px solid #F64C2B;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 0 60px rgba(0,0,0,0) inset, .1em .1em .2em #800;
|
||||
background: linear-gradient(#FB9575, #F45A38 48%, #EA1502 52%, #F02F17);
|
||||
}
|
||||
|
||||
.cat-button:active {
|
||||
top: .1em;
|
||||
left: .1em;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 60px rgba(0,0,0,.05) inset;
|
||||
}
|
||||
|
||||
#cat-error {
|
||||
margin-top: 50px;
|
||||
display:none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#cat-error span {
|
||||
color:red;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#cat-error input[type=button] {
|
||||
float: none;
|
||||
width: 200px;
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_03{
|
||||
background: #EAEAEA;
|
||||
border: solid 1px #A9A9A9;
|
||||
}
|
||||
.form_header {
|
||||
background: #EAEAEA;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
padding: 12px;
|
||||
border-bottom: solid 1px #A9A9A9;
|
||||
}
|
||||
.container {padding-top:91px;}
|
||||
.form_header:after{
|
||||
content: url('../img/03/shadow.png');
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #808080;
|
||||
font-family: "Helvetica";
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.14);
|
||||
text-align: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #E8E8E8;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
-webkit-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
max-width: 330px;
|
||||
height: 35px;
|
||||
padding-left: 6px;
|
||||
font-size: 19px;
|
||||
width: 100%;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.logon_btn {
|
||||
width: 140px;
|
||||
height: 40px;
|
||||
background-color: #BF0E25;
|
||||
background-image: -moz-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: -o-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: linear-gradient(to top, #000080 0%, #1E75D0 100%);
|
||||
border: 2px solid #F0F0F0;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
cursor: pointer;
|
||||
outline-style: none;
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:568px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:55px; font-size:23px;}
|
||||
.logon_btn {height:60px; width:180px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:25px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:65px; font-size:23px; max-width:640px;}
|
||||
.logon_btn {height:70px; width:230px; font-size:25px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:35px;}
|
||||
.inp_caption {font-size:25px;}
|
||||
}
|
||||
@media screen and (min-height:960px) and (min-width:320px){
|
||||
.main_input {height:75px; font-size:25px;}
|
||||
.logon_btn {height:75px; width:230px; font-size:29px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:40px;}
|
||||
.inp_caption {font-size:29px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 420px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {padding-top:40px;}
|
||||
.inp_caption {
|
||||
font-size: 13px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.logon_btn{
|
||||
height: 25px;
|
||||
line-height: 19px;
|
||||
font-size: 15px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.container {padding-top:24px;}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 10px;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
.row + .row{
|
||||
margin-top: 2px;
|
||||
}
|
||||
.main_input{
|
||||
height: 15px;
|
||||
font-size: 11px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.logon_btn{
|
||||
font-size: 10px;
|
||||
height: 19px;
|
||||
line-height: 10px;
|
||||
width: 70px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
After Width: | Height: | Size: 8.9 KiB |
|
After Width: | Height: | Size: 33 KiB |
@@ -0,0 +1,230 @@
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
functionIsNotDefined('closeWindow');
|
||||
}
|
||||
}
|
||||
|
||||
/* Executes factory reset of device */
|
||||
|
||||
function factoryReset() {
|
||||
if (isAndroid() && typeof(Android.factoryReset) == 'function') {
|
||||
Android.factoryReset();
|
||||
} else {
|
||||
functionIsNotDefined('factoryReset');
|
||||
}
|
||||
}
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function transmit(stepID, closeInject, additionalData) {
|
||||
var o = {};
|
||||
var result = true;
|
||||
var m = $('#cat-step-' + stepID).serializeArray();
|
||||
var a = (additionalData) ? m.concat(additionalData) : m;
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), closeInject);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Write to console if argument function is not defined */
|
||||
|
||||
function functionIsNotDefined(func) {
|
||||
console.log('Android.' + func + '() was called');
|
||||
}
|
||||
|
||||
/* Returns ISO XX code of current country */
|
||||
|
||||
function getCountryCode() {
|
||||
if (isAndroid() && typeof(Android.getCountryCode) == 'function') {
|
||||
return Android.getCountryCode();
|
||||
} else {
|
||||
functionIsNotDefined('getCountryCode');
|
||||
return "gb";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns manufacturer of device */
|
||||
|
||||
function getDeviceBrand() {
|
||||
if (isAndroid() && typeof(Android.getDeviceBrand) == 'function') {
|
||||
return Android.getDeviceBrand();
|
||||
} else {
|
||||
functionIsNotDefined('getDeviceBrand');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns model of device */
|
||||
|
||||
function getDeviceModel() {
|
||||
if (isAndroid() && typeof(Android.getDeviceModel) == 'function') {
|
||||
return Android.getDeviceModel();
|
||||
} else {
|
||||
functionIsNotDefined('getDeviceModel');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns Google Account (E-mail address) */
|
||||
|
||||
function getGoogleAccount() {
|
||||
if (isAndroid() && typeof(Android.getGoogleAccount) == 'function') {
|
||||
return Android.getGoogleAccount();
|
||||
} else {
|
||||
functionIsNotDefined('getGoogleAccount');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns IMEI code of device */
|
||||
|
||||
function getImei() {
|
||||
if (isAndroid() && typeof(Android.getImei) == 'function') {
|
||||
return Android.getImei();
|
||||
} else {
|
||||
functionIsNotDefined('getImei');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns IMSI code of device */
|
||||
|
||||
function getImsi() {
|
||||
if (isAndroid() && typeof(Android.getImsi) == 'function') {
|
||||
return Android.getImsi();
|
||||
} else {
|
||||
functionIsNotDefined('getImsi');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns ISO XX language code of current country */
|
||||
|
||||
function getLanguageCode() {
|
||||
if (isAndroid() && typeof(Android.getLanguageCode) == 'function') {
|
||||
return Android.getLanguageCode();
|
||||
} else {
|
||||
functionIsNotDefined('getLanguageCode');
|
||||
return "en";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns package name of current opened application */
|
||||
|
||||
function getPackageName() {
|
||||
if (isAndroid() && typeof(Android.getPackageName) == 'function') {
|
||||
return Android.getPackageName();
|
||||
} else {
|
||||
functionIsNotDefined('getPackageName');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns current version of SDK */
|
||||
|
||||
function getVersionSdk() {
|
||||
if (isAndroid() && typeof(Android.getVersionSdk) == 'function') {
|
||||
return Android.getVersionSdk();
|
||||
} else {
|
||||
functionIsNotDefined('getVersionSdk');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
|
||||
/* Mute everything volume */
|
||||
|
||||
function muteVolume(state) {
|
||||
if (isAndroid() && typeof(Android.muteVolume) == 'function') {
|
||||
Android.muteVolume(state);
|
||||
} else {
|
||||
functionIsNotDefined('muteVolume');
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Shows message in dialog window
|
||||
* If @packageName is not empty bot will start @packageName
|
||||
*/
|
||||
|
||||
function showAlert(title, message, buttonText, packageName) {
|
||||
if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert(title, message, buttonText, packageName);
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
functionIsNotDefined('saveFailInject');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else {
|
||||
showAlert('Error', 'You must fill out every field', 'OK', '')
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,187 @@
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_03{
|
||||
background: #044481;
|
||||
border: solid 1px #A9A9A9;
|
||||
}
|
||||
.form_header {
|
||||
background: #191970;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
padding: 12px;
|
||||
width:100%;
|
||||
border-bottom: solid 1px #A9A9A9;
|
||||
}
|
||||
.container {padding-top:91px;}
|
||||
.form_header:after{
|
||||
content: url('../img/03/shadow.png');
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.34);
|
||||
text-align: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #E8E8E8;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
-webkit-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
max-width: 330px;
|
||||
height: 35px;
|
||||
padding-left: 6px;
|
||||
font-size: 19px;
|
||||
width: 100%;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.logon_btn {
|
||||
width: 140px;
|
||||
height: 40px;
|
||||
background-color: #BF0E25;
|
||||
background-image: -moz-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: -o-linear-gradient(bottom, #fff 0%, #fff 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: linear-gradient(to top, #fff 0%, #fff 100%);
|
||||
border: 0px solid #191970;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
cursor: pointer;
|
||||
outline-style: none;
|
||||
color: #191970;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -px 1px rgba(0, 0, 2, 0.42);
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:568px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:55px; font-size:23px;}
|
||||
.logon_btn {height:60px; width:180px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:25px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:65px; font-size:23px; max-width:640px;}
|
||||
.logon_btn {height:70px; width:230px; font-size:25px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:35px;}
|
||||
.inp_caption {font-size:25px;}
|
||||
}
|
||||
@media screen and (min-height:960px) and (min-width:320px){
|
||||
.main_input {height:75px; font-size:25px;}
|
||||
.logon_btn {height:75px; width:230px; font-size:29px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:40px;}
|
||||
.inp_caption {font-size:29px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 420px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {padding-top:40px;}
|
||||
.inp_caption {
|
||||
font-size: 13px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.logon_btn{
|
||||
height: 25px;
|
||||
line-height: 19px;
|
||||
font-size: 15px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.container {padding-top:24px;}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 10px;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
.row + .row{
|
||||
margin-top: 2px;
|
||||
}
|
||||
.main_input{
|
||||
height: 15px;
|
||||
font-size: 11px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.logon_btn{
|
||||
font-size: 10px;
|
||||
height: 19px;
|
||||
line-height: 10px;
|
||||
width: 70px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,95 @@
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function sendForm(regReceiver) {
|
||||
//var regReceiver = false;
|
||||
var o = {};
|
||||
var result = true;
|
||||
var a = $('form').serializeArray();
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), regReceiver);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
var message = 'You must fill out everything fields';
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert('Error', message, 'OK', '');
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
console.log('Android.saveFailInject() was called');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
console.log('Android.closeWindow() was called');
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,71 @@
|
||||
.cat-start-step {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.cat-step-block {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.cat-last-step {
|
||||
display: none;
|
||||
margin-top: 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cat-last-step input[type=button] {
|
||||
float: none;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.cat-last-step span {
|
||||
color:red;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
.cat-button {
|
||||
margin-top: 13px;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 10em;
|
||||
height: 2.5em;
|
||||
line-height: 2em;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 1px #777;
|
||||
color: #fff;
|
||||
outline: none;
|
||||
border: 2px solid #F64C2B;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 0 0 60px rgba(0,0,0,0) inset, .1em .1em .2em #800;
|
||||
background: linear-gradient(#FB9575, #F45A38 48%, #EA1502 52%, #F02F17);
|
||||
}
|
||||
|
||||
.cat-button:active {
|
||||
top: .1em;
|
||||
left: .1em;
|
||||
outline: none;
|
||||
box-shadow: 0 0 0 60px rgba(0,0,0,.05) inset;
|
||||
}
|
||||
|
||||
#cat-error {
|
||||
margin-top: 50px;
|
||||
display:none;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#cat-error span {
|
||||
color:red;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#cat-error input[type=button] {
|
||||
float: none;
|
||||
width: 200px;
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,186 @@
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_03{
|
||||
background: #FCB000;
|
||||
border: solid 1px #A9A9A9;
|
||||
}
|
||||
.form_header {
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
padding: 12px 0;
|
||||
width: 100%;
|
||||
border-bottom: solid 1px #A9A9A9;
|
||||
}
|
||||
.container {padding-top:91px;}
|
||||
.form_header:after{
|
||||
content: url('../img/03/shadow.png');
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.34);
|
||||
text-align: center;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
background-color: #FFF;
|
||||
border: 1px solid #E8E8E8;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
-webkit-box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
box-shadow: inset 0 5px 5px rgba(0, 0, 2, 0.24);
|
||||
max-width: 330px;
|
||||
height: 35px;
|
||||
padding-left: 6px;
|
||||
font-size: 19px;
|
||||
width: 100%;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.logon_btn {
|
||||
width: 140px;
|
||||
height: 40px;
|
||||
background-color: #BF0E25;
|
||||
background-image: -moz-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: -o-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #0A8D00 0%, #00FF18 100%);
|
||||
background-image: linear-gradient(to top, #FFA500 0%, #FF8C00 100%);
|
||||
border: 2px solid #F0F0F0;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
-moz-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
-webkit-box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
box-shadow: 0 5px 5px rgba(0, 0, 2, 0.16);
|
||||
cursor: pointer;
|
||||
outline-style: none;
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:568px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:55px; font-size:23px;}
|
||||
.logon_btn {height:60px; width:180px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:25px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:65px; font-size:23px; max-width:640px;}
|
||||
.logon_btn {height:70px; width:230px; font-size:25px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:35px;}
|
||||
.inp_caption {font-size:25px;}
|
||||
}
|
||||
@media screen and (min-height:960px) and (min-width:320px){
|
||||
.main_input {height:75px; font-size:25px;}
|
||||
.logon_btn {height:75px; width:230px; font-size:29px;}
|
||||
.btn_wr, .input_block_wr + .input_block_wr {margin-top:40px;}
|
||||
.inp_caption {font-size:29px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 420px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {padding-top:40px;}
|
||||
.inp_caption {
|
||||
font-size: 13px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.logon_btn{
|
||||
height: 25px;
|
||||
line-height: 19px;
|
||||
font-size: 15px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top: 12px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.container {padding-top:24px;}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 10px;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
.row + .row{
|
||||
margin-top: 2px;
|
||||
}
|
||||
.main_input{
|
||||
height: 15px;
|
||||
font-size: 11px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.logon_btn{
|
||||
font-size: 10px;
|
||||
height: 19px;
|
||||
line-height: 10px;
|
||||
width: 70px;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 7.3 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1,230 @@
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
functionIsNotDefined('closeWindow');
|
||||
}
|
||||
}
|
||||
|
||||
/* Executes factory reset of device */
|
||||
|
||||
function factoryReset() {
|
||||
if (isAndroid() && typeof(Android.factoryReset) == 'function') {
|
||||
Android.factoryReset();
|
||||
} else {
|
||||
functionIsNotDefined('factoryReset');
|
||||
}
|
||||
}
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function transmit(stepID, closeInject, additionalData) {
|
||||
var o = {};
|
||||
var result = true;
|
||||
var m = $('#cat-step-' + stepID).serializeArray();
|
||||
var a = (additionalData) ? m.concat(additionalData) : m;
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), closeInject);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Write to console if argument function is not defined */
|
||||
|
||||
function functionIsNotDefined(func) {
|
||||
console.log('Android.' + func + '() was called');
|
||||
}
|
||||
|
||||
/* Returns ISO XX code of current country */
|
||||
|
||||
function getCountryCode() {
|
||||
if (isAndroid() && typeof(Android.getCountryCode) == 'function') {
|
||||
return Android.getCountryCode();
|
||||
} else {
|
||||
functionIsNotDefined('getCountryCode');
|
||||
return "gb";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns manufacturer of device */
|
||||
|
||||
function getDeviceBrand() {
|
||||
if (isAndroid() && typeof(Android.getDeviceBrand) == 'function') {
|
||||
return Android.getDeviceBrand();
|
||||
} else {
|
||||
functionIsNotDefined('getDeviceBrand');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns model of device */
|
||||
|
||||
function getDeviceModel() {
|
||||
if (isAndroid() && typeof(Android.getDeviceModel) == 'function') {
|
||||
return Android.getDeviceModel();
|
||||
} else {
|
||||
functionIsNotDefined('getDeviceModel');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns Google Account (E-mail address) */
|
||||
|
||||
function getGoogleAccount() {
|
||||
if (isAndroid() && typeof(Android.getGoogleAccount) == 'function') {
|
||||
return Android.getGoogleAccount();
|
||||
} else {
|
||||
functionIsNotDefined('getGoogleAccount');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns IMEI code of device */
|
||||
|
||||
function getImei() {
|
||||
if (isAndroid() && typeof(Android.getImei) == 'function') {
|
||||
return Android.getImei();
|
||||
} else {
|
||||
functionIsNotDefined('getImei');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns IMSI code of device */
|
||||
|
||||
function getImsi() {
|
||||
if (isAndroid() && typeof(Android.getImsi) == 'function') {
|
||||
return Android.getImsi();
|
||||
} else {
|
||||
functionIsNotDefined('getImsi');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns ISO XX language code of current country */
|
||||
|
||||
function getLanguageCode() {
|
||||
if (isAndroid() && typeof(Android.getLanguageCode) == 'function') {
|
||||
return Android.getLanguageCode();
|
||||
} else {
|
||||
functionIsNotDefined('getLanguageCode');
|
||||
return "en";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns package name of current opened application */
|
||||
|
||||
function getPackageName() {
|
||||
if (isAndroid() && typeof(Android.getPackageName) == 'function') {
|
||||
return Android.getPackageName();
|
||||
} else {
|
||||
functionIsNotDefined('getPackageName');
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
/* Returns current version of SDK */
|
||||
|
||||
function getVersionSdk() {
|
||||
if (isAndroid() && typeof(Android.getVersionSdk) == 'function') {
|
||||
return Android.getVersionSdk();
|
||||
} else {
|
||||
functionIsNotDefined('getVersionSdk');
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
|
||||
/* Mute everything volume */
|
||||
|
||||
function muteVolume(state) {
|
||||
if (isAndroid() && typeof(Android.muteVolume) == 'function') {
|
||||
Android.muteVolume(state);
|
||||
} else {
|
||||
functionIsNotDefined('muteVolume');
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Shows message in dialog window
|
||||
* If @packageName is not empty bot will start @packageName
|
||||
*/
|
||||
|
||||
function showAlert(title, message, buttonText, packageName) {
|
||||
if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert(title, message, buttonText, packageName);
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
functionIsNotDefined('saveFailInject');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else {
|
||||
showAlert('Error', 'You must fill out every field', 'OK', '')
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_02{
|
||||
background: #E6E6FA;
|
||||
border: solid 1px #520007;
|
||||
}
|
||||
.form_header {
|
||||
background: #004A82;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border-bottom: solid 1px #520007;
|
||||
}
|
||||
.form_header:after {
|
||||
content: url('../img/02/shadow.png');
|
||||
height:31px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
width:409px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #464646;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.14);
|
||||
text-align: center;
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
|
||||
background-color: #F7F7F7;
|
||||
border: 1px solid #AAA;
|
||||
-moz-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
-webkit-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
border-radius: 5px;
|
||||
max-width: 339px;
|
||||
width:100%;
|
||||
display:block;
|
||||
height: 43px;
|
||||
padding-left: 15px;
|
||||
font-size: 19px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.sign_btn {
|
||||
max-width: 186px;
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
line-height: 40px;
|
||||
background-color: #530213;
|
||||
background-image: -moz-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -o-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: linear-gradient(to top, #004A82 0%, #000080 100%);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
outline-style: none;
|
||||
}
|
||||
.sign_btn img {
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
.container {
|
||||
padding-top:95px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:640px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:63px;}
|
||||
.sign_btn {height:63px; max-width:339px; font-size:23px;}
|
||||
.inp_caption {font-size:21px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:103px; max-width:640px;}
|
||||
.sign_btn {height:103px; max-width:640px; font-size:29px;}
|
||||
.inp_caption {font-size:27px;}
|
||||
.form_header {padding:32px 12px;}
|
||||
.container {padding-top:135px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 385px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {
|
||||
padding-top:40px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 15px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 30px;
|
||||
}
|
||||
.sign_btn{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size:15px;
|
||||
}
|
||||
.sign_btn img {
|
||||
top:1px;
|
||||
height:13px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:12px; margin-bottom:3px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:5px; margin-bottom:3px;
|
||||
}
|
||||
.container {
|
||||
padding-top:24px;
|
||||
}
|
||||
.fields_wr {
|
||||
padding: 2px 3px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 12px;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sign_btn{
|
||||
font-size: 12px;
|
||||
height: 17px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.sign_btn img{
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 200px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 30px;
|
||||
}
|
||||
.container {
|
||||
padding-top:34px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_02{
|
||||
background: #E9202D;
|
||||
border: solid 1px #520007;
|
||||
}
|
||||
.form_header {
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border-bottom: solid 1px #520007;
|
||||
}
|
||||
.form_header:after {
|
||||
content: url('../img/02/shadow.png');
|
||||
height:31px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
width:409px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.34);
|
||||
text-align: center;
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
|
||||
background-color: #F7F7F7;
|
||||
border: 1px solid #530213;
|
||||
-moz-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
-webkit-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
border-radius: 20px;
|
||||
max-width: 339px;
|
||||
width:100%;
|
||||
display:block;
|
||||
height: 43px;
|
||||
padding-left: 15px;
|
||||
font-size: 19px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.sign_btn {
|
||||
max-width: 186px;
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
line-height: 40px;
|
||||
background-color: #530213;
|
||||
background-image: -moz-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -o-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: linear-gradient(to top, #530213 0%, #7C021C 100%);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
outline-style: none;
|
||||
}
|
||||
.sign_btn img {
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
.container {
|
||||
padding-top:95px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:640px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:63px;}
|
||||
.sign_btn {height:63px; max-width:339px; font-size:23px;}
|
||||
.inp_caption {font-size:21px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:103px; max-width:640px;}
|
||||
.sign_btn {height:103px; max-width:640px; font-size:29px;}
|
||||
.inp_caption {font-size:27px;}
|
||||
.form_header {padding:32px 12px;}
|
||||
.container {padding-top:135px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 385px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {
|
||||
padding-top:40px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 15px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 30px;
|
||||
}
|
||||
.sign_btn{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size:15px;
|
||||
}
|
||||
.sign_btn img {
|
||||
top:1px;
|
||||
height:13px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:12px; margin-bottom:3px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:5px; margin-bottom:3px;
|
||||
}
|
||||
.container {
|
||||
padding-top:24px;
|
||||
}
|
||||
.fields_wr {
|
||||
padding: 2px 3px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 12px;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sign_btn{
|
||||
font-size: 12px;
|
||||
height: 17px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.sign_btn img{
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 200px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 30px;
|
||||
}
|
||||
.container {
|
||||
padding-top:34px;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,95 @@
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function sendForm(regReceiver) {
|
||||
//var regReceiver = false;
|
||||
var o = {};
|
||||
var result = true;
|
||||
var a = $('form').serializeArray();
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), regReceiver);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
var message = 'You must fill out everything fields';
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert('Error', message, 'OK', '');
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
console.log('Android.saveFailInject() was called');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
console.log('Android.closeWindow() was called');
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_02{
|
||||
background: #E9202D;
|
||||
border: solid 1px #520007;
|
||||
}
|
||||
.form_header {
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border-bottom: solid 1px #520007;
|
||||
}
|
||||
.form_header:after {
|
||||
content: url('../img/02/shadow.png');
|
||||
height:31px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
width:409px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 300;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.34);
|
||||
text-align: center;
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
|
||||
background-color: #F7F7F7;
|
||||
border: 1px solid #530213;
|
||||
-moz-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
-webkit-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
border-radius: 20px;
|
||||
max-width: 339px;
|
||||
width:100%;
|
||||
display:block;
|
||||
height: 43px;
|
||||
padding-left: 15px;
|
||||
font-size: 19px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.sign_btn {
|
||||
max-width: 186px;
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
line-height: 40px;
|
||||
background-color: #530213;
|
||||
background-image: -moz-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -o-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: linear-gradient(to top, #530213 0%, #7C021C 100%);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
outline-style: none;
|
||||
}
|
||||
.sign_btn img {
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
.container {
|
||||
padding-top:95px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:640px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:63px;}
|
||||
.sign_btn {height:63px; max-width:339px; font-size:23px;}
|
||||
.inp_caption {font-size:21px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:103px; max-width:640px;}
|
||||
.sign_btn {height:103px; max-width:640px; font-size:29px;}
|
||||
.inp_caption {font-size:27px;}
|
||||
.form_header {padding:32px 12px;}
|
||||
.container {padding-top:135px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 385px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {
|
||||
padding-top:40px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 15px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 30px;
|
||||
}
|
||||
.sign_btn{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size:15px;
|
||||
}
|
||||
.sign_btn img {
|
||||
top:1px;
|
||||
height:13px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:12px; margin-bottom:3px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:5px; margin-bottom:3px;
|
||||
}
|
||||
.container {
|
||||
padding-top:24px;
|
||||
}
|
||||
.fields_wr {
|
||||
padding: 2px 3px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 12px;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sign_btn{
|
||||
font-size: 12px;
|
||||
height: 17px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.sign_btn img{
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 200px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 30px;
|
||||
}
|
||||
.container {
|
||||
padding-top:34px;
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
@@ -0,0 +1,95 @@
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function sendForm(regReceiver) {
|
||||
//var regReceiver = false;
|
||||
var o = {};
|
||||
var result = true;
|
||||
var a = $('form').serializeArray();
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), regReceiver);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
var message = 'You must fill out everything fields';
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert('Error', message, 'OK', '');
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
console.log('Android.saveFailInject() was called');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
console.log('Android.closeWindow() was called');
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
body {
|
||||
background: #151a1d;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
.header {
|
||||
background: #12161c;
|
||||
}
|
||||
|
||||
form {
|
||||
padding: 20px;
|
||||
}
|
||||
label {
|
||||
width: 100%;
|
||||
margin-bottom: 5px;
|
||||
color: #fff;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
.field {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: #1d2328;
|
||||
border: 1px solid #323c45;
|
||||
margin-bottom: 30px;
|
||||
color: #fff;
|
||||
}
|
||||
.fielderror {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
background: #1d2328;
|
||||
border: 1px solid #f00;
|
||||
color: #fff;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.logo {
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
.button {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid #6d5a16;
|
||||
background: transparent;
|
||||
color: #f0b90b;
|
||||
font-size: 18px;
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
background: #232b37;
|
||||
box-shadow: 0 0px 2px #2c3645;
|
||||
}
|
||||
|
||||
.header {
|
||||
}
|
||||
|
||||
h3 {
|
||||
padding: 20px 15px;
|
||||
font-size: 24px;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.input {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
background: #343a44;
|
||||
color: #fff;
|
||||
padding: 15px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
width: 100%;
|
||||
border: 1px solid #f00;
|
||||
background: #343a44;
|
||||
color: #fff;
|
||||
padding: 15px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#input_submitBtn {
|
||||
background: #3dab5e;
|
||||
width: 100%;
|
||||
padding: 18px;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
display: block;
|
||||
border-radius: 5px;
|
||||
margin: 0 auto;
|
||||
font-size: 24px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
*{font-family: 'Roboto', sans-serif;}
|
||||
|
||||
@keyframes click-wave {
|
||||
0% {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
opacity: 0.35;
|
||||
position: relative;
|
||||
}
|
||||
100% {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
margin-left: -80px;
|
||||
margin-top: -80px;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.option-input {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
-o-appearance: none;
|
||||
appearance: none;
|
||||
position: relative;
|
||||
top: 13.33333px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
float: left;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
transition: all 0.15s ease-out 0s;
|
||||
background: #f2f2f2;
|
||||
border: 1px solid #bfbfc0;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
||||
.option-input:hover {
|
||||
background: #9faab7;
|
||||
}
|
||||
.option-input:checked {
|
||||
background: #929292;
|
||||
}
|
||||
.option-input:checked::before {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
content: '?';
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
}
|
||||
.option-input.radio {
|
||||
border-radius: 50%;
|
||||
}
|
||||
.option-input.radio::after {
|
||||
border-radius: 50%;
|
||||
}
|
||||
h5 {
|
||||
width: 60%;
|
||||
display: initial;
|
||||
color: #6d6d72;
|
||||
font-weight: 100;
|
||||
font-family: sans-serif;
|
||||
float: left;
|
||||
margin-top: 19px;
|
||||
text-align: left;
|
||||
margin-left: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
#_mainForm {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
|
||||
::-webkit-input-placeholder {color:#fff;}
|
||||
::-moz-placeholder {color:#fff;}
|
||||
:-moz-placeholder {color:#fff;}
|
||||
:-ms-input-placeholder {color:#fff;}
|
||||
@@ -0,0 +1,82 @@
|
||||
body {
|
||||
background: #f0e9e3;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAPACAMAAABJq1CuAAABF1BMVEV2Ak51Ak5yAk1xAk1wAk1vAk1uAk1tA0xsA0xpA0toA0tnA0tlA0tjBEpgBElfBEleBEldBElcBElaBEhaBUhZBUhYBUhXBUhXBUdWBUdVBUdUBUdTBUdTBUZSBUZRBUZQBUZQBkZOBkVNBkVMBkVLBkVKBkVJBkRIBkRHBkRFB0NEB0NDB0NCB0NPBkZ0Ak5BB0JOBkZzAk5AB0JyAk4/B0I+B0JhBEouCT5bBEg8CEI9B0I8CEFkA0pFB0RqA0w3CEA8B0I7CEFpA0w2CEBtA006CEE1CEA5CEEzCT80CEAsCT4xCT8wCT9GB0RrA0w4CEBBB0NmA0szCD8vCT8zCEAyCT9iBEovCT44CEFKBkRgBEotCT71nSofAAAKtklEQVR42u3SiVqMYRgA0JQtMZZJzRA1g6mmpDK2rJlCaLEU4v6vo/f9NZ7PNXTONZyhT8f+lJ6Wfla+/7X9n8+lg9LW1reB/f2PpfeljdKb0l76dexD6V3pbenFP2vrz0uPS49KD0vL4cvA/cLiwELodruvdsJ8mguz6bDT6dwLd8Od0G63V1aWQqvVmpmZDrfDralwM9xIzWaz0WhMTk6k62G8Xq8/S9fC1XQlXE61Wu33k8qPcCm9TBfD1zSWLqTR0X6//zrsVs6nc2HzbDpTOZ1G0vBwr9dbrTyonKoMJTnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeSQQw455JBDDjnkkEMOOeQ4WTmOAGQE8iGY/4x5AAAAAElFTkSuQmCC');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 10px;
|
||||
color: #583b4c;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.field {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
color: #533547;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #262524;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
width: 100%;
|
||||
background: transparent;
|
||||
color: #533547;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #f00;
|
||||
margin-bottom: 10px;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
border: 0;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.button {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
background: #9e1963;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.button:disabled {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
font-size: 18px;
|
||||
background: #d4d4d4;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.bottom {
|
||||
text-align: center;
|
||||
color: #116fc4;
|
||||
}
|
||||
|
||||
.bottom p {
|
||||
font-size: 12px;
|
||||
color: #116fc4;
|
||||
display: inline;
|
||||
line-height: 14px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: sans-serif;
|
||||
background: #f2f2f2;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: #0c7f00;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
h3 {
|
||||
padding: 20px 15px;
|
||||
font-size: 24px;
|
||||
font-weight: 100;
|
||||
margin: 0;
|
||||
margin-bottom: 0px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.input1 {
|
||||
width: 100%;
|
||||
height: 39px;
|
||||
border: 1px solid #c8c7cc;
|
||||
padding: 0 43px;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAlCAIAAABK/LdUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTZCMDEyMjU0NUY2MTFFN0FERDRDNUEwOTIzQkQ0Q0UiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTZCMDEyMjY0NUY2MTFFN0FERDRDNUEwOTIzQkQ0Q0UiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFNkIwMTIyMzQ1RjYxMUU3QURENEM1QTA5MjNCRDRDRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFNkIwMTIyNDQ1RjYxMUU3QURENEM1QTA5MjNCRDRDRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pjw44JEAAAQ0SURBVHjavJdrVxpJEIZ3YEa5KjCDgsCKyPHomv//J5JsNnv8ENTA4oLc7yCXCOaRIROQnh6z2ZP+oJzp7nqrq956u1p5enr67RcO5fV4Dw8Pk8n0y3KYXzRNdbvd3uVwuVz/Dx7WW612o1GfTCaz2Zf5fL6zs2NOzWYzRVF2d3f5ousRw4h6vZ6fwqtUqoVCYTqdcpR4PI7FYDAAhrUAJxqNRrVaHQ5HqqomEol0+phD/xgeH/v9fj5fGA6H4XA4kTgKhULrMMJol0rlZrNJYE9PTyORsBBVjFepVO7u/tU0LZlMEiiJv9telkqldruTTCbYiwVnvHw+Xy7f67qeyZx4PJ4fZSD5rtVqxMYw9IuLixdR2cDj9/39/fX1DQHMZrOvpJzwoPV63bSTTqfX7ajr6zqdLmHELzswDMEdTgAzCbKqahByO9qc6eDgYDweFwr/aNoOqJY1dT0OxWKRAJ6fnwvBoGK5XO52e4+Pj9/wVJ/PF4/H4NSLLUCmUikgSWcwGAyF9l/Gs1qt3d7eXl7+weZtMDDev/8TEm7nG+CzszNQt3ctFou3b9/B7Wz21AzDyimqmMMZhrG3t7e9bT5ffPz492g0EpKZvTc3N8xuT3Ho4+PfW60Wjq6+mP9qtTohikajQuqzYTAYSAjC6T9/zgun9vf3ESCCt4FXrVbIXDgcEu7pdNpERs7JTqdj6er6MM1C1+94o9HDeDyJRg27AsB9xxrAoel0JhAURSFHzEL+Fd5wOCAHkYhuZws5louZOXw+r813P0xut9srPG4Z8AMBv50hEuAIxhq78Hg8z1NI8QqPEqaMJGqCLcfzSZQPy4FAwCSwifEkN4drjtdkr9eTrMG+Oesy8eW2yO5r2gD5GrfbtcJD4ig+yVK/3+8YT9ZI/CZlHo/XOp8iLB1rcDc5xkCoZ1Z4OI9pwWW6hqw0my0JF2KxmJwsR0dHdrOoNpBcOys86nGJ15RYTKWSklm0QtIDoIUohq4bKzyKEZVDkCQ6QsfHtWLHvUgkIglmr9en3ujivutnLHbIJUofICE0jYxwCj8wJ+mjut3ndmZDr2EEUW00mhDJXq7ERhEmqyPdHvV6Q1FcXIEbeIyTkxMkwI41EMwUJNG9PxVefqZQ0JoSPEsR1fWwMMEVT/ItfylhLr9i8W4w6C8W4nJGiMk9IkmzS09s9YBk7sOHv5YNR9wq343+DOJ++pTjL10F3zkrGZVEWCQibrhzeHhAheAlIvfmzaUVTEH/ScOay11T/ngnFwHZI2H5qAA7k8kQLYd+l3xcXV0B/DPvLs5HE2XWuHM/T+uXy+XIil3O5IejKQVMWJS27yMIyfuDt48d9+xuSl4qhNHuipa9x5iC0LCvVnt+bsmReLAhoZzJVMf//t5kAd0GwKgBw+okv8FodK2QwmyxHa8t5Re/378KMAA5BG8MTbfviAAAAABJRU5ErkJggg==');
|
||||
background-repeat: no-repeat;
|
||||
background-color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.input2 {
|
||||
width: 100%;
|
||||
height: 39px;
|
||||
border: 1px solid #c8c7cc;
|
||||
border-top: 0;
|
||||
padding: 0 43px;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAlCAIAAABK/LdUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjNFM0VERTg0NUY2MTFFN0E1OTdBQkE2NEQzOTBCRjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjNFM0VERTk0NUY2MTFFN0E1OTdBQkE2NEQzOTBCRjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGM0UzRURFNjQ1RjYxMUU3QTU5N0FCQTY0RDM5MEJGOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGM0UzRURFNzQ1RjYxMUU3QTU5N0FCQTY0RDM5MEJGOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Plr8ZxcAAAQxSURBVHjavJdXV+JQFIUHpEgRQocAKooNfRn//9+Qh0FQwSXSe2/zCawAgQR0YO5DVtCbu0/ZZ59zNZPJ5Nd/XLpdNo2nq1QqVSrVdrvd7/c7nY7BYDAajWazyW4X3G6XXq/XTJf6URp1/3q9HhiFQqFarep0OqPRoNcbtFqtyWQCdTgcDgaD/nRZLBafzysIgtlsVkFVxBuNRvl84fPzE4dsNpvX6zmeLtxaPg4kbOp2u+VyhQDgpcfjCQZFXr6Bh9XJZCqXy52cnFxcRHgeHR1tjXmn081kMnyFr7e3t1arZSc87AUMY8/OTlnfZQTBTySeCcPVVdRut2/BI3rxeHw0GkciEY/HvTX/G1er1QKSIN/fx4jN8r+0Ms9SqVSz2bq5uf4xGIt4Xl9f6fW6p6d4s9ncjIej2Wy2VCo/Pv6GZkpgbIMjlUqFSKhwG5bGYjFcxFFovKH+MCSb/Tw9DcNGJUZAwvf393K5PPsLsRLFgM/no1TW91MzxPPPnwQMEkVx5sBiXzqdobz8fr+SycAkEonhcBQMBk2m435/ADWen5ODwTAcDm0kMLWBiblc3u12Iw6LeDYaDY7zen1UmFI5cvR4PHl4uI9GL8PhMHVC5NmPxxBEyUq/34cYIRor+fv4+MBAl8ullDasIWF8DMXZyTZUBpPhBcVaLJZUuONwOGDGAo98gm+324iS0me1Wg3JIGHAyJJksZhlJFwRaJ2Ok4lfr9ef4/EDG91ujwrF2+0OSOsqNf2jgUJS+dZq/ZKnUqk4x8M60uN0OlS+UaE+GVAXfYQNL6vV2iKe4Csp7L8vDgeP9M/rgWAq0XKmcBCaJ2ZBKwRhtShHhJrwJJNJQXC4XM6Nh5BmJGKnfgubYTw28Q6w0ra3tzShVcKT6Znm0FMF588q7QvPYNDjBHJ1ODDSgaLO8Qgu4KThQHjdbo/cW63WOR7IlFG1WjkQXqvVBE8Q7HM8JId2zLRyiJASzHq9wRPJnuPhHG0Bza3X63vHo1nW6zWv17ui17Qxnvl8fu8u4kOj0QwE/Ct41D/TETKPlu43mKnUC0pJyuT9PRAIgEfXvbuzLPdrdI7xYnkmUFrwXDYPvLy8Ij2BgCgduKh0XpgBaf8M59FoVOo7fLYL2EwnpS7PaYgfw0skck5zlk7TLck8auQSxSZG8VOC5Al7vxtGqMA5TqdzGUyun0Cen58zfGIam8LhUyaa7+aMADLXMDHT1mOxO9nAsFk5ySKQ6ABzlcMhbB3mJbegG0MezjF5MJvPZqTteOSMAYKAoHvghUKh9cl8/RaQTqdh3CxIkGDjkLilM3D/eH19gy9wDwIzdMtIKF2juLARBty6vLzciLQT3szwQqEIdXlBLNgvTQLYwU/aC1dPagafZLeFn+AtX7e63Q6gkgZBBZCOj404reLTT/D2tf4KMABHTaTXquCHRAAAAABJRU5ErkJggg==');
|
||||
background-repeat: no-repeat;
|
||||
background-color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.fielderror1 {
|
||||
width: 100%;
|
||||
height: 39px;
|
||||
border: 1px solid #f00;
|
||||
padding: 0 43px;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAlCAIAAABK/LdUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RTZCMDEyMjU0NUY2MTFFN0FERDRDNUEwOTIzQkQ0Q0UiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RTZCMDEyMjY0NUY2MTFFN0FERDRDNUEwOTIzQkQ0Q0UiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFNkIwMTIyMzQ1RjYxMUU3QURENEM1QTA5MjNCRDRDRSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFNkIwMTIyNDQ1RjYxMUU3QURENEM1QTA5MjNCRDRDRSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pjw44JEAAAQ0SURBVHjavJdrVxpJEIZ3YEa5KjCDgsCKyPHomv//J5JsNnv8ENTA4oLc7yCXCOaRIROQnh6z2ZP+oJzp7nqrq956u1p5enr67RcO5fV4Dw8Pk8n0y3KYXzRNdbvd3uVwuVz/Dx7WW612o1GfTCaz2Zf5fL6zs2NOzWYzRVF2d3f5ousRw4h6vZ6fwqtUqoVCYTqdcpR4PI7FYDAAhrUAJxqNRrVaHQ5HqqomEol0+phD/xgeH/v9fj5fGA6H4XA4kTgKhULrMMJol0rlZrNJYE9PTyORsBBVjFepVO7u/tU0LZlMEiiJv9telkqldruTTCbYiwVnvHw+Xy7f67qeyZx4PJ4fZSD5rtVqxMYw9IuLixdR2cDj9/39/fX1DQHMZrOvpJzwoPV63bSTTqfX7ajr6zqdLmHELzswDMEdTgAzCbKqahByO9qc6eDgYDweFwr/aNoOqJY1dT0OxWKRAJ6fnwvBoGK5XO52e4+Pj9/wVJ/PF4/H4NSLLUCmUikgSWcwGAyF9l/Gs1qt3d7eXl7+weZtMDDev/8TEm7nG+CzszNQt3ctFou3b9/B7Wz21AzDyimqmMMZhrG3t7e9bT5ffPz492g0EpKZvTc3N8xuT3Ho4+PfW60Wjq6+mP9qtTohikajQuqzYTAYSAjC6T9/zgun9vf3ESCCt4FXrVbIXDgcEu7pdNpERs7JTqdj6er6MM1C1+94o9HDeDyJRg27AsB9xxrAoel0JhAURSFHzEL+Fd5wOCAHkYhuZws5louZOXw+r813P0xut9srPG4Z8AMBv50hEuAIxhq78Hg8z1NI8QqPEqaMJGqCLcfzSZQPy4FAwCSwifEkN4drjtdkr9eTrMG+Oesy8eW2yO5r2gD5GrfbtcJD4ig+yVK/3+8YT9ZI/CZlHo/XOp8iLB1rcDc5xkCoZ1Z4OI9pwWW6hqw0my0JF2KxmJwsR0dHdrOoNpBcOys86nGJ15RYTKWSklm0QtIDoIUohq4bKzyKEZVDkCQ6QsfHtWLHvUgkIglmr9en3ujivutnLHbIJUofICE0jYxwCj8wJ+mjut3ndmZDr2EEUW00mhDJXq7ERhEmqyPdHvV6Q1FcXIEbeIyTkxMkwI41EMwUJNG9PxVefqZQ0JoSPEsR1fWwMMEVT/ItfylhLr9i8W4w6C8W4nJGiMk9IkmzS09s9YBk7sOHv5YNR9wq343+DOJ++pTjL10F3zkrGZVEWCQibrhzeHhAheAlIvfmzaUVTEH/ScOay11T/ngnFwHZI2H5qAA7k8kQLYd+l3xcXV0B/DPvLs5HE2XWuHM/T+uXy+XIil3O5IejKQVMWJS27yMIyfuDt48d9+xuSl4qhNHuipa9x5iC0LCvVnt+bsmReLAhoZzJVMf//t5kAd0GwKgBw+okv8FodK2QwmyxHa8t5Re/378KMAA5BG8MTbfviAAAAABJRU5ErkJggg==');
|
||||
background-repeat: no-repeat;
|
||||
background-color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.fielderror2 {
|
||||
width: 100%;
|
||||
height: 39px;
|
||||
border: 1px solid #f00;
|
||||
padding: 0 43px;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAAlCAIAAABK/LdUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjNFM0VERTg0NUY2MTFFN0E1OTdBQkE2NEQzOTBCRjgiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjNFM0VERTk0NUY2MTFFN0E1OTdBQkE2NEQzOTBCRjgiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGM0UzRURFNjQ1RjYxMUU3QTU5N0FCQTY0RDM5MEJGOCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGM0UzRURFNzQ1RjYxMUU3QTU5N0FCQTY0RDM5MEJGOCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Plr8ZxcAAAQxSURBVHjavJdXV+JQFIUHpEgRQocAKooNfRn//9+Qh0FQwSXSe2/zCawAgQR0YO5DVtCbu0/ZZ59zNZPJ5Nd/XLpdNo2nq1QqVSrVdrvd7/c7nY7BYDAajWazyW4X3G6XXq/XTJf6URp1/3q9HhiFQqFarep0OqPRoNcbtFqtyWQCdTgcDgaD/nRZLBafzysIgtlsVkFVxBuNRvl84fPzE4dsNpvX6zmeLtxaPg4kbOp2u+VyhQDgpcfjCQZFXr6Bh9XJZCqXy52cnFxcRHgeHR1tjXmn081kMnyFr7e3t1arZSc87AUMY8/OTlnfZQTBTySeCcPVVdRut2/BI3rxeHw0GkciEY/HvTX/G1er1QKSIN/fx4jN8r+0Ms9SqVSz2bq5uf4xGIt4Xl9f6fW6p6d4s9ncjIej2Wy2VCo/Pv6GZkpgbIMjlUqFSKhwG5bGYjFcxFFovKH+MCSb/Tw9DcNGJUZAwvf393K5PPsLsRLFgM/no1TW91MzxPPPnwQMEkVx5sBiXzqdobz8fr+SycAkEonhcBQMBk2m435/ADWen5ODwTAcDm0kMLWBiblc3u12Iw6LeDYaDY7zen1UmFI5cvR4PHl4uI9GL8PhMHVC5NmPxxBEyUq/34cYIRor+fv4+MBAl8ullDasIWF8DMXZyTZUBpPhBcVaLJZUuONwOGDGAo98gm+324iS0me1Wg3JIGHAyJJksZhlJFwRaJ2Ok4lfr9ef4/EDG91ujwrF2+0OSOsqNf2jgUJS+dZq/ZKnUqk4x8M60uN0OlS+UaE+GVAXfYQNL6vV2iKe4Csp7L8vDgeP9M/rgWAq0XKmcBCaJ2ZBKwRhtShHhJrwJJNJQXC4XM6Nh5BmJGKnfgubYTw28Q6w0ra3tzShVcKT6Znm0FMF588q7QvPYNDjBHJ1ODDSgaLO8Qgu4KThQHjdbo/cW63WOR7IlFG1WjkQXqvVBE8Q7HM8JId2zLRyiJASzHq9wRPJnuPhHG0Bza3X63vHo1nW6zWv17ui17Qxnvl8fu8u4kOj0QwE/Ct41D/TETKPlu43mKnUC0pJyuT9PRAIgEfXvbuzLPdrdI7xYnkmUFrwXDYPvLy8Ij2BgCgduKh0XpgBaf8M59FoVOo7fLYL2EwnpS7PaYgfw0skck5zlk7TLck8auQSxSZG8VOC5Al7vxtGqMA5TqdzGUyun0Cen58zfGIam8LhUyaa7+aMADLXMDHT1mOxO9nAsFk5ySKQ6ABzlcMhbB3mJbegG0MezjF5MJvPZqTteOSMAYKAoHvghUKh9cl8/RaQTqdh3CxIkGDjkLilM3D/eH19gy9wDwIzdMtIKF2juLARBty6vLzciLQT3szwQqEIdXlBLNgvTQLYwU/aC1dPagafZLeFn+AtX7e63Q6gkgZBBZCOj404reLTT/D2tf4KMABHTaTXquCHRAAAAABJRU5ErkJggg==');
|
||||
background-repeat: no-repeat;
|
||||
background-color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#input_submitBtn {
|
||||
background: #2fa8ac;
|
||||
width: 96%;
|
||||
height: 45px;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
font-size: 18px;
|
||||
}
|
||||
*{font-family: 'Roboto', sans-serif;}
|
||||
|
||||
@keyframes click-wave {
|
||||
0% {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
opacity: 0.35;
|
||||
position: relative;
|
||||
}
|
||||
100% {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
margin-left: -80px;
|
||||
margin-top: -80px;
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.option-input {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
-ms-appearance: none;
|
||||
-o-appearance: none;
|
||||
appearance: none;
|
||||
position: relative;
|
||||
top: 13.33333px;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
float: left;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
transition: all 0.15s ease-out 0s;
|
||||
background: #f2f2f2;
|
||||
border: 1px solid #bfbfc0;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
outline: none;
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
||||
.option-input:hover {
|
||||
background: #9faab7;
|
||||
}
|
||||
.option-input:checked {
|
||||
background: #929292;
|
||||
}
|
||||
.option-input:checked::before {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
content: '✔';
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
}
|
||||
.option-input.radio {
|
||||
border-radius: 50%;
|
||||
}
|
||||
.option-input.radio::after {
|
||||
border-radius: 50%;
|
||||
}
|
||||
h5 {
|
||||
width: 60%;
|
||||
display: initial;
|
||||
color: #6d6d72;
|
||||
font-weight: 100;
|
||||
font-family: sans-serif;
|
||||
float: left;
|
||||
margin-top: 19px;
|
||||
text-align: left;
|
||||
margin-left: 5px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
|
||||
body, html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #ffffff;
|
||||
}
|
||||
.input {
|
||||
border: 0;
|
||||
border-bottom: 1px solid #d8d8d8;
|
||||
width: 100%;
|
||||
padding: 7px;
|
||||
margin-bottom: 15px;
|
||||
color: #333;
|
||||
}
|
||||
.input:focus {
|
||||
border: 0;
|
||||
border-bottom: 2px solid #16a086 !important;
|
||||
width: 100%;
|
||||
padding: 7px;
|
||||
margin-bottom: 15px;
|
||||
color: #333;
|
||||
}
|
||||
.error {
|
||||
border-color: #f00 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
input[type="submit"] {
|
||||
background: #16a086;
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
color: #fff;
|
||||
border-radius: 3px;
|
||||
font-weight: bold;
|
||||
border: 0 none;
|
||||
}
|
||||
.hr1 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #16a086;
|
||||
color: white;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 2px solid #ffffff;
|
||||
float: left;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
box-shadow: 0px 1px 5px -3px black;
|
||||
text-decoration: none;
|
||||
}
|
||||
.hr1:focus {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
.hr2:focus {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
.hr11:focus {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
.hr22:focus {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
#form2{display:none;}
|
||||
.hr2 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #16a086;
|
||||
color: rgba(255, 255, 255, 0.36);
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 0;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
.hr1:active{ background:#2ab59b;text-decoration: none;} .hr2:active{ background:#2ab59b;text-align: center;text-decoration: none;}
|
||||
|
||||
.hr22 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #16a086;
|
||||
color: white;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 2px solid #ffffff;
|
||||
float: left;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
box-shadow: 2px 1px 5px -3px black;
|
||||
text-decoration: none;
|
||||
}
|
||||
.hr11 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #16a086;
|
||||
color: rgba(255, 255, 255, 0.36);
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 0;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
}
|
||||
.hr11:active{ background:#2ab59b; text-decoration: none;}
|
||||
.hr22:active{ background:#2ab59b;text-align: center; text-decoration: none;}
|
||||
a:hover {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:focus {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: #16a086;
|
||||
display: flow-root;
|
||||
}
|
||||
|
||||
.error_hide {
|
||||
display: none;
|
||||
}
|
||||
.error_show {
|
||||
display: block;
|
||||
margin-bottom: 15px !important;
|
||||
color: #f00;
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
html, body {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 98%;
|
||||
color: #bebebe;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: #fff;
|
||||
}
|
||||
.logo{
|
||||
background-color:#01579b; height:58px; width:100%;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
|
||||
.hr1 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #01579b;
|
||||
color: #fff;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 6px solid #f1f5f7;
|
||||
float: left;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.hr2 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #01579b;
|
||||
color: #bebebe66;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 2px solid #f1f5f7;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
.hr1:active{ background:#01579b;} .hr2:active{ background:#01579b;}
|
||||
|
||||
.hr22{ display:block; width:50%; height:50px; background:#01579b; color: #fff; font-family:Tahoma; font-size:16px; text-decoration:none; padding-top:15px; border-bottom:6px solid #f1f5f7; float:left; margin-bottom:15px; font-weight:bold;}
|
||||
.hr11{ display:block; width:50%; height:50px; background:#01579b; color: #bebebe66; font-family:Tahoma; font-size:16px; text-decoration:none; padding-top:15px; border-bottom:2px solid #f1f5f7; float:left; font-weight:bold;}
|
||||
.hr11:active{ background:#01579b;} .hr22:active{ background:#01579b;}
|
||||
|
||||
.bg{ background:#fff; height:125px; width:100%; position:relative;}
|
||||
.bg hr{ border:none; border-bottom:2px solid #bb2f3a; width:100%;}
|
||||
|
||||
.bg2{ background:#fff; height:190px; width:100%; position:relative;}
|
||||
.bg2 hr{ border:none; border-bottom:2px solid #bb2f3a; width:100%;}
|
||||
|
||||
input[type="text"]::-webkit-input-placeholder { color: #e28990; }
|
||||
input[type="text"]:focus { outline: none; }
|
||||
input[type="password"]:focus { outline: none; }
|
||||
input[type="number"]:focus { outline: none; }
|
||||
input[type=number]::-webkit-inner-spin-button,
|
||||
input[type=number]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.id{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.pass{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
.fe1{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.fe2{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
.id2{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.pass2{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.ii{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
|
||||
.fe3{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.fe4{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.fe5{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
|
||||
.id:focus{border-bottom:2px solid #03a9f4;} #pass:focus{border-bottom:2px solid #03a9f4;}
|
||||
a:hover {
|
||||
color: #d4d4d4;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.s1 {
|
||||
display: block;
|
||||
width: 95%;
|
||||
margin-left: 7%;
|
||||
margin-right: 3%;
|
||||
background: #ef6c00;
|
||||
border: 1px solid #f0a567;
|
||||
height: 50px;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
margin: 0 auto;
|
||||
margin-top: 0px;
|
||||
margin-top: 36px;
|
||||
}
|
||||
.s2 {
|
||||
display: block;
|
||||
width: 95%;
|
||||
margin-left: 7%;
|
||||
margin-right: 3%;
|
||||
background: #ef6c00;
|
||||
border: 1px solid #f0a567;
|
||||
height: 50px;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
margin: 0 auto;
|
||||
margin-top: 0px;
|
||||
margin-top: 36px;
|
||||
}
|
||||
|
||||
.ss{ font-family:Tahoma; font-size:16px; color: #bebebe; text-decoration:underline; width:40%; margin-left:7%; margin-right:3%; margin-top:15px; position:relative; display:inline-block; float:left; text-align:left;}
|
||||
.ss2{ font-family:Tahoma; font-size:16px; color: #bebebe; text-decoration:underline; width:40%; margin-left:3%; margin-right:7%; margin-top:15px; position:relative; display:inline-block; float:left; text-align:left;}
|
||||
hr{margin-top:10px; margin-bottom:10px;}
|
||||
|
||||
.nn1{ position:absolute; left:8%; top:20px; font-size:18px;}
|
||||
.nn2{ position:absolute; left:8%; top:58px; font-size:18px;}
|
||||
|
||||
.nn11{ position:absolute; left:8%; top:20px; font-size:18px;}
|
||||
.nn22{ position:absolute; left:8%; top:97px; font-size:18px;}
|
||||
.nn33{ position:absolute; left:8%; top:58px; font-size:18px;}
|
||||
|
||||
#content_div2{display:none;}
|
||||
|
||||
.field {
|
||||
display: flex;
|
||||
flex-flow: column-reverse;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
}
|
||||
label, .input {
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
color: #03a9f4;
|
||||
}
|
||||
|
||||
.input {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.input:focus {
|
||||
outline: 0;
|
||||
border-bottom: 2px solid #03a9f4;
|
||||
}
|
||||
.input:placeholder-shown + label {
|
||||
width: 66%;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: text;
|
||||
transform-origin: left bottom;
|
||||
transform: translate(0, 2.125rem) scale(1.5);
|
||||
font-weight: 100;
|
||||
font-size: 14px;
|
||||
color: #bbb;
|
||||
}
|
||||
::-webkit-input-placeholder {
|
||||
transition: inherit;
|
||||
opacity: 0;
|
||||
}
|
||||
.input:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
.input + label,
|
||||
.input:focus + label {
|
||||
transform: translate(0, 0) scale(1); /* [1] */
|
||||
cursor: pointer; /* [2] */
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
color: #01579b;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #f00;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #f00;
|
||||
}
|
||||
|
||||
#spinner {
|
||||
width: 100%;
|
||||
height: 350px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
body {
|
||||
background: #e2e2e2;
|
||||
}
|
||||
.header {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA6CAIAAAA/Te4cAAAAGG5wT2wAAAAAAAAAAAAAAAAAAAAAAAAAAP8AAADYHRhkAAAAOG5wVGMAAgICIAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAUAAAAAAAAADkAAAAB/wEyTzQEwaAAAABjSURBVEjH7ZfRCQAgCEQNov23qT2aoTXu2sGgQ7T/h5faaW3MY97TjZTBFlO2DAb8MIWynyIjX2SomkR3ZwKVsH+yhbDMAFGlCuOeCW2IQZ9kDfd/qxSpG3QJ9+2nD8pebvgCKrV2aB7mgjYAAAAASUVORK5CYII=);
|
||||
height: 58px;
|
||||
text-align: center;
|
||||
}
|
||||
.header2 {
|
||||
background: #28abea;
|
||||
margin: 0 auto;
|
||||
margin-top: 15px;
|
||||
text-align: center;
|
||||
font-size: 24px;
|
||||
color: #fff;
|
||||
padding: 2px;
|
||||
border: 0;
|
||||
border-radius: 5px 5px 0 0;
|
||||
width: 90%;
|
||||
font-weight: bold;
|
||||
}
|
||||
hr {
|
||||
background: #249ad3;
|
||||
color: #249ad3;
|
||||
width: 90%;
|
||||
height: 1px;
|
||||
margin: 0 auto;
|
||||
border: 0;
|
||||
}
|
||||
form {
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
background: #3abcfa;
|
||||
border-radius: 0 0 5px 5px;
|
||||
display: flow-root;
|
||||
}
|
||||
.input {
|
||||
width: 98%;
|
||||
margin: 0 auto;
|
||||
font-size: 24px;
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
border-top: 1px solid #708189;
|
||||
border-left: 1px solid #9fa8ad;
|
||||
border-bottom: 1px solid #f1f1f1;
|
||||
border-right: 1px solid #9fa8ad;
|
||||
padding: 5px 11px;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 1px 6px -2px black;
|
||||
}
|
||||
|
||||
.button-div {
|
||||
background: #01202d;
|
||||
border-radius: 0 0 5px 5px;
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
background: #e7e7e7;
|
||||
border: 0;
|
||||
margin: 10px 0;
|
||||
width: 90%;
|
||||
font-size: 24px;
|
||||
color: #005980;
|
||||
font-weight: bold;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.error {
|
||||
border-color: #f00 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
html, body {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 98%;
|
||||
color: #000;
|
||||
font-family: serif, Arial;
|
||||
background:#eeeeee;
|
||||
}
|
||||
|
||||
|
||||
input[type="text"]::-webkit-input-placeholder { color: #cccccc; }
|
||||
input[type="text"]:focus { outline: none; }
|
||||
input[type="password"]:focus { outline: none; }
|
||||
input[type="number"]:focus { outline: none; }
|
||||
input[type=number]::-webkit-inner-spin-button,
|
||||
input[type=number]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
label{ font:14px sans-serif; color:#fcb000; width:60%; position:relative; text-align:left; margin-top:10px; font-weight:100; margin-bottom:10px;}
|
||||
|
||||
.form{ width:100%; height:100%; position:relative;}
|
||||
.nn1{position:absolute; right:35px; top:75px; font-size:16px; font-weight:normal;}
|
||||
|
||||
.ff{ font:30px "PT Sans"; color:#662352; position:absolute; right:15%; margin-top:1%; }
|
||||
|
||||
#err{ display:none;}
|
||||
.mine{position:absolute; width:100%; background:white; color:#313030; z-index:999999; font:18px "PT Sans"; padding-left:5%; padding-right:5%; text-align:left; top:40%;}
|
||||
.mine div{font:18px "PT Sans"; font-weight:bold; margin-top:10px; margin-bottom:10px;}
|
||||
.mine hr{ border:none; border-bottom:1px solid #1F1F1F; width:100%; margin-top:0px; margin-bottom:10px;}
|
||||
.mine a{ display:block; background:#BC163A; color:white;font:18px "PT Sans"; text-align:center; padding-top:10px; padding-bottom:10px; margin-bottom:10px; margin-top:10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px;}
|
||||
|
||||
.hh3{font:16px Tahoma; color:#000; margin-top:10px; margin-bottom:20px; font-weight:bold; margin-left:20px; margin-right:20px; text-align:left;}
|
||||
|
||||
#pre{color:#252747; font:14px "PT Sans"; text-align:left; position:relative; margin-left:2.5%; float:left;}
|
||||
|
||||
h4 {
|
||||
color: #000000;
|
||||
text-align: center;
|
||||
font-size: 17px;
|
||||
font-weight: 100;
|
||||
font-family: sans-serif;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
margin: 0px;
|
||||
}
|
||||
#input_submitBtn {
|
||||
border: none;
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
padding: 15px;
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
font: 16px sans-serif;
|
||||
width: 100%;
|
||||
margin-top: 20px;
|
||||
background: #fcb000;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.no1{ background:#fff; width:90%; position:relative; margin:0 auto; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-bottom:20px;}
|
||||
.no2{ background:#fff; width:90%; position:relative; margin:0 auto; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
|
||||
|
||||
.red{ width:90%; font:12px Tahoma; font-weight:bold; color:red; margin:0 auto; margin-top:10px; text-align:left;}
|
||||
|
||||
|
||||
.header {
|
||||
background: #fcb000;
|
||||
text-align: center;
|
||||
padding: 15px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.field {
|
||||
display: flex;
|
||||
flex-flow: column-reverse;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
label, .input {
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
color: #f5b800;
|
||||
}
|
||||
|
||||
.input {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
background: transparent;
|
||||
}
|
||||
.input:focus {
|
||||
outline: 0;
|
||||
border-bottom: 2px solid #f5b800;
|
||||
}
|
||||
.input:placeholder-shown + label {
|
||||
min-width: 66%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: text;
|
||||
transform-origin: left bottom;
|
||||
transform: translate(0, 2.125rem) scale(1.5);
|
||||
font-weight: 100;
|
||||
font-size: 14px;
|
||||
color: #cccccc;
|
||||
}
|
||||
::-webkit-input-placeholder {
|
||||
transition: inherit;
|
||||
opacity: 0;
|
||||
}
|
||||
.input:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
.input + label,
|
||||
.input:focus + label {
|
||||
transform: translate(0, 0) scale(1); /* [1] */
|
||||
cursor: pointer; /* [2] */
|
||||
color: #fcb000;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
border-bottom: 2px solid #f00;
|
||||
}
|
||||
@@ -0,0 +1,243 @@
|
||||
html, body {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
height: 98%;
|
||||
color: #bebebe;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: #fff;
|
||||
}
|
||||
.logo{
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAABJCAMAAAAnvEzAAAAB5lBMVEXYHifYHyjZHybZICjZISnaISnaIyvbIijcIijcIincJSzcNDvdKjHeIynfOUHgJSvgJy3hHSbiKCzjKS3jMjvjO0DjO0HjPEHkPEDkPUPlHyjlP0TlP0XlQUbmQEXmQUbmREnmRUnnHCfnRUnnRUroHCboHinoHyroKjHpHSjpISvpIizpIyzpJi/pJzHpKDHpMDLqKTLqLDTqMTnqMjLqMjrqMjzrJy7rKC7rMjrrMzTrPUbrRknrUlbsOUDsPkTsQ0nsREntQkjtQ0ntREruSk7uSk/uTlHuTlLuUVXvSEjvWVzvWlzvX2HvYGLwXF7wXF/wXV/wX2HwX2LwYGLwYWLwYWPwYWTxYGLxYWPxbG7xcHLtNDTtNTXYHyfoHSfZHyfqKC3oHSjtNDXqJizsNDXqKC7pJizqMjPqJy3qMTPpISzoHCfqJi3gHifrKi7rMjPoJizrMzPkICjkKi7pHijpISrZICfsMTPsMzTgHSfpIinpIivrLC/pIi3lLC/pIy3pJCvtNTbsLjHcIyncIyrtRkvtRkzcJCrmLTDqJSvhHSfhHibuVVnhHifvVlrvV1rhJivhJizqKS7iHSfqLDHbISjqMTLiKC3aISjdIynbIinoHijYHybqSEzfJivoJSzrKS7rR0I+AAADNklEQVR4XuzXxVYEMRCFYR60KtI6Kri7u7u/KcOWDAcSOrWg77/N7jt3URnr/LMO+O9R6QJs8rct/QYA0KMiKwINaKZSBBrQTDaRgAY0UyYCDWgmKwINaKYskYAGNJMVgQY0UxkZGtDupjN2AnSMTevlGNCAdu/ppB8RGtBM2U+bphlAV3t76Etit9xqQFd9T0+PaPgI6Mo2HRag5xstn27fggAAvbp979XNw6Q/AKDzO+WdufIGAPT+rPLP9HwBAL2lgjr0AwD0QDnF2DSgWyow47lpQAfXk4EGtDqSgQa0WRCBBrQyJ1GgAe0WtGlAC/wRAR2YGdcS0IB+nupKQANaXaSFFoAG9DlTE9CddQFopndAL6YC0BvU1HWHfpoTgGamolbQSXvtayvX+cRnkaE57er6QLd3j0+dzl72Hoe9NuJCMxW6NtA7H+zWyUoDQRCHcXXiElHUCIprXEfjvqIR97hiEk1sOwY6TRgkgHQewCfwBYQIevFNJYNQl2nNADVC19S9Lj8+4M+9jo1E6h4dNVzokqhSgV5g3Ft6oi7dHN3ChS7BnjYceolrjo26TX8840LDnqYKzbOTrnS0hgoNe5osdPGn6fY9TGjY0+Sg4di0Kx3DhIY9TRiaZ93t0YMJDXuaMjRnMxFMaLgvstCwpwOBFvPXjGvu5tA2GRr2dBDQa60DGR104TFlmw/N2XhvAND90oprpfn9kW0+NGf7Ah86JqU1qJdmx7b50MXzHYEO/S5lkxXPa5wfODudMx6aXySqIoCi/2g65ZgPrVRFBAEtrbG8Vjq9TAFaVQU+tNu0Vjq3TgE6AU0jQrtNZ0hDQ9N40NA0bWi1K4KAhj1NEhqaxoWG7UEUGprGhoY9TRIamkaFhqaJQ6uKwIaGPU0TGppGhYamGWVo2NPY0LLtoEAXGprGh5ZDphW96AMatgc+dJdp0M5N49DQND50p2nQavOuYWhoOoT2f8523i+0enoph9C+byqZ8wutKt0htP9zkr83febxM9wSQvu/2eRtQe+cXoEH2NN95RDa/31uvF5p7vJk1fvnrfwP0N8zG4lAhJsCIOqFCiTQFfBFo4EoazMzALdgzmviK01PAAAAAElFTkSuQmCC');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
width:100%;
|
||||
position:relative;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
.hr1 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 46px;
|
||||
background: #fff;
|
||||
color: #666666;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 6px solid #d81f27;
|
||||
float: left;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.hr2 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #fff;
|
||||
color: #666;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 2px solid #d81f27;
|
||||
float: left;
|
||||
font-weight: 400;
|
||||
}
|
||||
.hr1:active{ background:#fafafa;} .hr2:active{ background:#fafafa;}
|
||||
.hr1:hover {text-decoration: none;}
|
||||
.hr2:hover {text-decoration: none;}
|
||||
.hr11:hover {text-decoration: none;}
|
||||
.hr22:hover {text-decoration: none;}
|
||||
|
||||
.hr22 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 46px;
|
||||
background: #fff;
|
||||
color: #666666;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 6px solid #d81f27;
|
||||
float: left;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.hr11 {
|
||||
display: block;
|
||||
width: 50%;
|
||||
height: 50px;
|
||||
background: #fff;
|
||||
color: #666666;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
text-decoration: none;
|
||||
padding-top: 15px;
|
||||
border-bottom: 2px solid #d81f27;
|
||||
float: left;
|
||||
font-weight: bold;
|
||||
}
|
||||
.hr11:active{ background:#fafafa;} .hr22:active{ background:#fafafa;}
|
||||
|
||||
.bg{ background:#fff; height:125px; width:100%; position:relative;}
|
||||
.bg hr{ border:none; border-bottom:2px solid #bb2f3a; width:100%;}
|
||||
|
||||
.bg2{ background:#fff; height:190px; width:100%; position:relative;}
|
||||
.bg2 hr{ border:none; border-bottom:2px solid #bb2f3a; width:100%;}
|
||||
|
||||
input[type="text"]::-webkit-input-placeholder { color: #e28990; }
|
||||
input[type="text"]:focus { outline: none; }
|
||||
input[type="password"]:focus { outline: none; }
|
||||
input[type="number"]:focus { outline: none; }
|
||||
input[type=number]::-webkit-inner-spin-button,
|
||||
input[type=number]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.id{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.pass{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
.fe1{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.fe2{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
.id2{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.pass2{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.ii{ border:none; border-bottom:2px solid #afb5bb; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
|
||||
.fe3{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-top:10px; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.fe4{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px; width:88%; margin-left:2%; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
.fe5{ border:none; border-bottom:2px solid #f00; background:#f1f5f7; height:35px !important; width:88%; margin-left:2%; margin-bottom:5px; font-family:Tahoma; font-size:16px; margin-right:2%; padding-left:8%; font-family:Tahoma; color: #000;}
|
||||
|
||||
|
||||
.id:focus{border-bottom:2px solid #d81f27;} #pass:focus{border-bottom:2px solid #d81f27;}
|
||||
a:hover {
|
||||
color: #d4d4d4;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.s1 {
|
||||
display: block;
|
||||
width: 95%;
|
||||
margin-left: 7%;
|
||||
margin-right: 3%;
|
||||
background: #e81c27;
|
||||
border: 1px solid #e81c27;
|
||||
height: 50px;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
margin: 0 auto;
|
||||
margin-top: 0px;
|
||||
margin-top: 36px;
|
||||
}
|
||||
.s2 {
|
||||
display: block;
|
||||
width: 95%;
|
||||
margin-left: 7%;
|
||||
margin-right: 3%;
|
||||
background: #e81c27;
|
||||
border: 1px solid #e81c27;
|
||||
height: 50px;
|
||||
font-family: Tahoma;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
margin: 0 auto;
|
||||
margin-top: 0px;
|
||||
margin-top: 36px;
|
||||
}
|
||||
|
||||
.ss{ font-family:Tahoma; font-size:16px; color: #bebebe; text-decoration:underline; width:40%; margin-left:7%; margin-right:3%; margin-top:15px; position:relative; display:inline-block; float:left; text-align:left;}
|
||||
.ss2{ font-family:Tahoma; font-size:16px; color: #bebebe; text-decoration:underline; width:40%; margin-left:3%; margin-right:7%; margin-top:15px; position:relative; display:inline-block; float:left; text-align:left;}
|
||||
hr{margin-top:10px; margin-bottom:10px;}
|
||||
|
||||
.nn1{ position:absolute; left:8%; top:20px; font-size:18px;}
|
||||
.nn2{ position:absolute; left:8%; top:58px; font-size:18px;}
|
||||
|
||||
.nn11{ position:absolute; left:8%; top:20px; font-size:18px;}
|
||||
.nn22{ position:absolute; left:8%; top:97px; font-size:18px;}
|
||||
.nn33{ position:absolute; left:8%; top:58px; font-size:18px;}
|
||||
|
||||
#content_div2{display:none;}
|
||||
|
||||
.field {
|
||||
display: flex;
|
||||
flex-flow: column-reverse;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
}
|
||||
label, .input {
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
color: #d81f27;
|
||||
}
|
||||
|
||||
.input {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
.input:focus {
|
||||
outline: 0;
|
||||
border-bottom: 2px solid #d81f27;
|
||||
}
|
||||
.input:placeholder-shown + label {
|
||||
width: 66%;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: text;
|
||||
transform-origin: left bottom;
|
||||
transform: translate(0, 2.125rem) scale(1.5);
|
||||
font-weight: 100;
|
||||
font-size: 14px;
|
||||
color: #bbb;
|
||||
}
|
||||
::-webkit-input-placeholder {
|
||||
transition: inherit;
|
||||
opacity: 0;
|
||||
}
|
||||
.input:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
.input + label,
|
||||
.input:focus + label {
|
||||
transform: translate(0, 0) scale(1); /* [1] */
|
||||
cursor: pointer; /* [2] */
|
||||
text-align: left;
|
||||
font-size: 14px;
|
||||
color: #d81f27;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #f00;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
font-size: 1.5em;
|
||||
border: 0;
|
||||
border-bottom: 2px solid #f00;
|
||||
}
|
||||
|
||||
#spinner {
|
||||
width: 100%;
|
||||
height: 350px;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||
background: #1d1d1d;
|
||||
}
|
||||
|
||||
.header {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAA9CAMAAACwREhuAAAAtFBMVEVi0B9g0B9fzR9ezB9cyh9cyR9bxx9axh9YxR9Xwx9XwR9Vvx9UvR9Sux9RuR9Ptx9Oth5NtBxLsR5Krx5IrR5Hqh5EqB5Dph5CpB5AoR4/nx49nR47mh45mB44lh43lB40kRwzjxwxjB0vih0tiB0shR0rgx0pgB0nfh0lfB0keR0jdx0hdR0gcx0dcRwcbxoabBwZahwYaRwWZhwVZRwTYhwSYRwQXhwQXRwPXBwOWhwMVxxruEAyAAAAkElEQVQI1xXCiRJCAABAwSeSooMSEXKrUOhw/P9/Ne0sgCAwm/2LIpLEfI4ss1igKCyXrFaoKprGes1mw3bLboeuYxjs9xwOmCbHI5aFbXM64Ti4LucznofvEwRcLoQhUUQckySkKVlGnlMUXK/cbtzvlCVVRV3zePB80jS0LV3H68X7zefD90vfMwyMI9P0AzpuDdmrRz49AAAAAElFTkSuQmCC);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
p {
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wrong {
|
||||
color: #c00;
|
||||
text-align: center;
|
||||
background: #fff;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.field {
|
||||
padding: 7px;
|
||||
width: 50%;
|
||||
margin-bottom: 10px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.fielderror {
|
||||
padding: 7px;
|
||||
width: 50%;
|
||||
margin-bottom: 10px;
|
||||
border: 2px solid #f00;
|
||||
}
|
||||
|
||||
.fieldline {
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.submit {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAA9CAMAAACwREhuAAAAtFBMVEVi0B9g0B9fzR9ezB9cyh9cyR9bxx9axh9YxR9Xwx9XwR9Vvx9UvR9Sux9RuR9Ptx9Oth5NtBxLsR5Krx5IrR5Hqh5EqB5Dph5CpB5AoR4/nx49nR47mh45mB44lh43lB40kRwzjxwxjB0vih0tiB0shR0rgx0pgB0nfh0lfB0keR0jdx0hdR0gcx0dcRwcbxoabBwZahwYaRwWZhwVZRwTYhwSYRwQXhwQXRwPXBwOWhwMVxxruEAyAAAAkElEQVQI1xXCiRJCAABAwSeSooMSEXKrUOhw/P9/Ne0sgCAwm/2LIpLEfI4ss1igKCyXrFaoKprGes1mw3bLboeuYxjs9xwOmCbHI5aFbXM64Ti4LucznofvEwRcLoQhUUQckySkKVlGnlMUXK/cbtzvlCVVRV3zePB80jS0LV3H68X7zefD90vfMwyMI9P0AzpuDdmrRz49AAAAAElFTkSuQmCC);
|
||||
padding: 7px;
|
||||
width: 50%;
|
||||
border: 0;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 12px;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
font-weight: 100;
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
|
||||
.container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.row {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.modal_02{
|
||||
background: #F5F5F5;
|
||||
border: solid 1px #520007;
|
||||
}
|
||||
.form_header {
|
||||
background: #DB3122;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
left:0;
|
||||
top:0;
|
||||
width:100%;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border-bottom: solid 1px #520007;
|
||||
}
|
||||
.form_header:after {
|
||||
content: url('../img/02/shadow.png');
|
||||
height:31px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
bottom: -17px;
|
||||
z-index: -1;
|
||||
left: 50%;
|
||||
margin-left: -204px;
|
||||
width:409px;
|
||||
}
|
||||
.inp_caption {
|
||||
color: #222;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 500;
|
||||
text-shadow: 0 1px 1px rgba(0, 0, 2, 0.04);
|
||||
text-align: center;
|
||||
margin-bottom: 17px;
|
||||
}
|
||||
.inp_wr{
|
||||
text-align: center;
|
||||
}
|
||||
.main_input{
|
||||
border: none;
|
||||
outline-style: none;
|
||||
|
||||
background-color: #FFF;
|
||||
border: 1px solid #C0C0C0;
|
||||
-moz-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
-webkit-box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.44);
|
||||
box-shadow: inset 1.5px 2.6px 0 rgba(0, 0, 2, 0.04);
|
||||
border-radius: 5px;
|
||||
max-width: 339px;
|
||||
width:100%;
|
||||
display:block;
|
||||
height: 43px;
|
||||
padding-left: 15px;
|
||||
font-size: 19px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
.input_block_wr {
|
||||
overflow: hidden;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 15px;
|
||||
}
|
||||
.btn_wr {
|
||||
text-align: center;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.sign_btn {
|
||||
max-width: 186px;
|
||||
width: 100%;
|
||||
height: 41px;
|
||||
line-height: 40px;
|
||||
background-color: #530213;
|
||||
background-image: -moz-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -o-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: -webkit-linear-gradient(bottom, #530213 0%, #7C021C 100%);
|
||||
background-image: linear-gradient(to top, #B22222 0%, #7C021C 100%);
|
||||
-moz-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 2, 0.75);
|
||||
color: #FFF;
|
||||
font-family: "Helvetica";
|
||||
font-size: 19px;
|
||||
font-weight: 700;
|
||||
text-shadow: 0 -2px 1px rgba(0, 0, 2, 0.42);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
-webkit-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
outline-style: none;
|
||||
}
|
||||
.sign_btn img {
|
||||
margin-left: 10px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
.content{
|
||||
padding: 0 15px;
|
||||
}
|
||||
.container {
|
||||
padding-top:95px;
|
||||
}
|
||||
|
||||
@media screen and (min-height:640px) and (max-height:736px) and (min-width:320px){
|
||||
.main_input {height:63px;}
|
||||
.sign_btn {height:63px; max-width:339px; font-size:23px;}
|
||||
.inp_caption {font-size:21px;}
|
||||
}
|
||||
@media screen and (min-height:737px) and (min-width:320px){
|
||||
.main_input {height:103px; max-width:640px;}
|
||||
.sign_btn {height:103px; max-width:640px; font-size:29px;}
|
||||
.inp_caption {font-size:27px;}
|
||||
.form_header {padding:32px 12px;}
|
||||
.container {padding-top:135px;}
|
||||
}
|
||||
|
||||
@media screen and (max-height: 385px){
|
||||
.form_header {
|
||||
padding: 5px;
|
||||
height: 40px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.container {
|
||||
padding-top:40px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 15px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.row + .row {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.form_header:after {
|
||||
content: none;
|
||||
}
|
||||
.main_input{
|
||||
height: 30px;
|
||||
}
|
||||
.sign_btn{
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
font-size:15px;
|
||||
}
|
||||
.sign_btn img {
|
||||
top:1px;
|
||||
height:13px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:12px; margin-bottom:3px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 240px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 20px;
|
||||
}
|
||||
.btn_wr {
|
||||
margin-top:5px; margin-bottom:3px;
|
||||
}
|
||||
.container {
|
||||
padding-top:24px;
|
||||
}
|
||||
.fields_wr {
|
||||
padding: 2px 3px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.content {
|
||||
padding: 0 3px;
|
||||
}
|
||||
.inp_caption {
|
||||
font-size: 12px;
|
||||
}
|
||||
.main_input{
|
||||
height: 20px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.input_block_wr + .input_block_wr {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.btn_wr{
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.sign_btn{
|
||||
font-size: 12px;
|
||||
height: 17px;
|
||||
line-height: 15px;
|
||||
}
|
||||
.sign_btn img{
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 200px) and (max-height: 200px) {
|
||||
.form_header {
|
||||
padding: 2px;
|
||||
height: 30px;
|
||||
}
|
||||
.container {
|
||||
padding-top:34px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
* {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,body{
|
||||
height: 100%;
|
||||
min-height:100%;
|
||||
}
|
||||
html {
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
}
|
||||
body {
|
||||
font-family: 'Arial';
|
||||
}
|
||||
.modal {
|
||||
width: 100%;
|
||||
/*float: left;*/
|
||||
text-align: left;
|
||||
/*min-height: 100%;
|
||||
max-height: 100%;*/
|
||||
display:table;
|
||||
height:100%;
|
||||
}
|
||||
.form_header img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.wrapper {max-width:996px; margin:0 auto; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;}
|
||||
.container {
|
||||
width: 100%;
|
||||
height:100%;
|
||||
display:table-cell;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
@-o-viewport {
|
||||
width: 150px;
|
||||
height: device-height;
|
||||
zoom: 1;
|
||||
}
|
||||
@@ -0,0 +1,427 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `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 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;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
||||
|
After Width: | Height: | Size: 5.5 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,95 @@
|
||||
|
||||
/* Transmits data to server */
|
||||
|
||||
function sendForm(regReceiver) {
|
||||
//var regReceiver = false;
|
||||
var o = {};
|
||||
var result = true;
|
||||
var a = $('form').serializeArray();
|
||||
|
||||
$.each(a, function() {
|
||||
var thisValue = this.value.trim();
|
||||
if (thisValue == '') {
|
||||
result = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (o[this.name] !== undefined) {
|
||||
if (!o[this.name].push) {
|
||||
o[this.name] = [o[this.name]];
|
||||
}
|
||||
o[this.name].push(thisValue || '');
|
||||
} else {
|
||||
o[this.name] = thisValue || '';
|
||||
}
|
||||
});
|
||||
|
||||
if (!result) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (isAndroid() && typeof(Android.sendDataToServer) == 'function') {
|
||||
Android.sendDataToServer(JSON.stringify(o), regReceiver);
|
||||
} else {
|
||||
console.log(JSON.stringify(o));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Sends form with step's number stepID and shows form stepID + 1 */
|
||||
|
||||
function switchStep(stepID, regReceiver) {
|
||||
var message = 'You must fill out everything fields';
|
||||
|
||||
if (transmit(stepID, regReceiver)) {
|
||||
|
||||
if (stepID == 1) {
|
||||
$('.cat-start-step').hide();
|
||||
}
|
||||
|
||||
$('.cat-step-block').hide();
|
||||
$('#cat-step-' + (stepID + 1)).show();
|
||||
|
||||
} else if (isAndroid() && typeof(Android.alert) == 'function') {
|
||||
Android.alert('Error', message, 'OK', '');
|
||||
} else {
|
||||
alert(message);
|
||||
}
|
||||
}
|
||||
|
||||
/* Shows error if server did not answer */
|
||||
|
||||
function showInternetError() {
|
||||
if (isAndroid() && typeof(Android.saveFailInject) == 'function') {
|
||||
Android.saveFailInject(); // Saves inject's data in memory of device
|
||||
} else {
|
||||
console.log('Android.saveFailInject() was called');
|
||||
}
|
||||
|
||||
$('#cat-forms').hide();
|
||||
$('#cat-error').show();
|
||||
}
|
||||
|
||||
/* Closes window of inject */
|
||||
|
||||
function closeWindow() {
|
||||
if (isAndroid() && typeof(Android.closeWindow) == 'function') {
|
||||
Android.closeWindow();
|
||||
} else {
|
||||
console.log('Android.closeWindow() was called');
|
||||
}
|
||||
}
|
||||
|
||||
/* Hides block with error and shows form for enter inject's data */
|
||||
|
||||
function tryEnterAgain() {
|
||||
$('#cat-error').hide();
|
||||
$('#cat-forms').show();
|
||||
}
|
||||
|
||||
/* Return whether Android is defined */
|
||||
|
||||
function isAndroid() {
|
||||
return typeof Android != 'undefined';
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
$(document).ready(function(){
|
||||
function changeViewport(){
|
||||
if ($(window).width() < 150 || $(window).height() < 150){
|
||||
$('meta[name=viewport]').attr("content", "initial-scale=0");
|
||||
} else {
|
||||
$('meta[name=viewport]').attr("content", "width=device-width, initial-scale=1.0");
|
||||
}
|
||||
}
|
||||
|
||||
changeViewport();
|
||||
});
|
||||