diff --git a/project/static/css/style.css b/project/static/css/style.css index ce21555..977c7a3 100644 --- a/project/static/css/style.css +++ b/project/static/css/style.css @@ -225,6 +225,24 @@ h1, h2, h3 { line-height: normal; } h1 {font-family:"Arial Narrow", Arial, sans-serif;font-size:30px;font-weight:normal;font-stretch:condensed;} h2 {font-weight: normal;font-size:24px;} + +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { + border-radius:none!important; +} +.ui-widget-content { + background:#fff; +} +.ui-dialog .ui-dialog-content { + background:#fff; +} +.ui-dialog .ui-dialog-buttonpane { + border:0; + position:absolute; + bottom:0; + right:100px; + padding:15px 0; +} + ul.messagelist { padding: 0 0 5px 0; margin: 0; } ul.messagelist li { font-size: 12px; @@ -238,6 +256,13 @@ ul.messagelist li { ul.messagelist li.warning { background-image: url(../img/icon-alert.gif); } ul.messagelist li.error { background-image: url(../img/icon-error.gif); } +.ui-dialog .save_btn {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-size:22px;text-transform:uppercase;font-weight:bold;border:none;width:215px;height:72px;background:#fed13e;border-radius:0;} +.ui-dialog .save_btn span {width:215px;display:table-cell;vertical-align:middle;text-align:right;text-transform:uppercase;text-decoration:none;font-size:22px;color:#4e5661;background:url(../img/save.png) no-repeat 20px top;} +.ui-dialog .cancel_btn {display:inline;font-family:"Arial Narrow", Arial, sans-serif;font-weight:bold;border:none;width:120px;height:72px;background:none;border-radius:0;} +.ui-dialog .cancel_btn span {width:215px;display:table-cell;vertical-align:middle;text-align:center;text-decoration:underline;font-size:14px;color:#498dd0;font-weight:normal;} + +.reqs_btns .yellow-btn {color:#4e5661;} + .hidden {display:none; } .errorlist { font-size: 8pt; overflow: hidden; } @@ -247,6 +272,8 @@ ul.messagelist li.error { background-image: url(../img/icon-error.gif); } form { font-size: small; padding: 0; margin: 0; } form label {font-style:italic;font-size:16px;} +.label {width:120px;text-align:right;font-size:14px;color:#646669;line-height:30px;} +.form-field: {width:210px;} input, select, textarea { font-family: Arial,Helvetica,sans-serif; font-size: 46px;line-height:46px; background:#f8f8f8;background:#f8f8f8;} @@ -258,21 +285,28 @@ fieldset { } textarea { width: 99%; } -input[type=text], input[type=password], select, textarea { border: 1px solid #777; } -input[type=text], input[type=password], textarea, option { padding-left: 2px; margin-left: 2px; } +input[type=text], input[type=email], input[type=password], select, textarea { border: 1px inset #8c8c8c; } +input[type=text], input[type=email], input[type=password], textarea, option { padding-left: 2px; margin-left: 2px; } .long-input input { width: 350px; } .block { margin: 10px 0; } .client-form .col1 { float: left; width: 350px; } -.client-form .col2 { float: left; width: 290px; } -.client-form input[type=text], .client-form input[type=password], .client-form textarea, .client-form option { +.client-form .col2 { float: left; width: 370px; } +.client-form .field {margin-top: 5px;} +.client-form input[type=text], .client-form input[type=password], .client-form input[type=email] { + height:28px; +} +.client-form input[type=text], .client-form input[type=password], .client-form input[type=email], .client-form textarea, .client-form option { padding-left: 2px; + padding-right: 2px; margin-left: 2px; width: 200px; + font-size: 20px; + line-height:20px; } - +.client-form .bank-header {color:#646669;font-weight:bold;text-align:center;margin:15px 0;} /*.client-form .buttons { padding: 10px 0 6px 33px; }*/ .profile-table {width:100%;overflow:hidden;border-collapse: separate; display:table;border-spacing:15px;background:url(../img/darker-bg.png);padding-bottom:85px;} diff --git a/project/static/img/save.png b/project/static/img/save.png new file mode 100644 index 0000000..6929725 Binary files /dev/null and b/project/static/img/save.png differ diff --git a/project/static/js/client.commons.js b/project/static/js/client.commons.js index 6956b7d..0610e0b 100644 --- a/project/static/js/client.commons.js +++ b/project/static/js/client.commons.js @@ -3,19 +3,21 @@ function setup_client_edit_form(form) { form.dialog({ modal: true, autoOpen: false, - minWidth: 670, + minWidth: 830, buttons: [ { text: btn1_caption, click: function(){ form.submit() }, + class: "save_btn" }, { text:"Отмена", click: function(){ $(this).dialog("close"); }, + class: "cancel_btn" } ] }); diff --git a/project/templates/customer/clients/form.html b/project/templates/customer/clients/form.html index 072e0ab..9edecfa 100644 --- a/project/templates/customer/clients/form.html +++ b/project/templates/customer/clients/form.html @@ -15,13 +15,12 @@ {% if is_ajax %}
{% endif %}