Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fezeev committed Jan 15, 2012
0 parents commit c06a5de
Show file tree
Hide file tree
Showing 850 changed files with 134,419 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/upload/*
/assets/*
*.zip
10 changes: 10 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Options +FollowSymLinks
IndexIgnore */*
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php
Empty file added README
Empty file.
59 changes: 59 additions & 0 deletions css/add_form.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
div#ymapcontainer { width: 745px; height: 400px; }
.rCol .f #bx_address_search_control_map_yandex_COORDINATES_COORDINATES input { display: block }
.rCol p, .rCol #bx_map_hint_novalue_map_yandex_COORDINATES_COORDINATES, .rCol #bx_address_search_control_map_yandex_COORDINATES_COORDINATES { color: #4c4c4c }
#bx_address_search_control_map_yandex_COORDINATES_COORDINATES { padding-top: 1.38em }

div.error { padding: 10px; font-size: 15px; border: 1px solid red; color: red; }
div.inpphoto span { cursor: pointer; color: #46a; font-style: italic; border-bottom: 1px dotted #46a;}

span.command { border-bottom: 1px dashed #333; color: #333; cursor: pointer; }
span.command:hover { color: #555; }
div.rCol div.picts { display: none; }
div.rCol div.picts img { max-width: 400px; }
div.rCol div.picts label { display: inline; }

.hidden { display: none; }
.f { padding-bottom: 16px; color: #222; position: relative; }
.rCol .f { padding-bottom: 80px; }

.f .textInput { border-width: 1px; background-color: white; font: normal 1em "Trebuchet MS", sans-serif; }
.f select { border-width: 1px; background-color: white; font: normal 1em "Trebuchet MS", sans-serif; }
.f texarea { border-width: 1px; font: normal 1em "Trebuchet MS", sans-serif; }
.lCol .f input, .lCol .f select, .lCol .f textarea {width: 100%;}
.rCol .f textarea {width: 100%; height: 100px; }
div.lCol .f textarea { height: 200px; border-width: 1px; font-size: normal; }
div.rCol .button { float: right; margin-top: 15px; }
.bx-yandex-search-form .textInput {width: 350px;}
.bx-yandex-search-form p {margin-bottom: 0.34em}
.bx-yandex-search-results {margin-bottom: 2em}
.f label { display: block; margin-bottom: 4px; }
.f .tip { float: right; width: 240px;}
hr { margin-left: -230px; border-left: none; border-bottom-color: white; }
span.required { color: red; }
#recognized_address_str { font-weight: bold; }
#other_address_str { color: #505050; }

.addSubmit {
border-top: 1px solid #cacaca;
clear: both;
padding-bottom: 70px;
}

.addSubmit .container {
border-top: 1px solid #fff;
padding: 2em 0 0 245px;
width: auto;
}

.addSubmit p {
float: left;
width: 510px;
}

.addSubmit .btn {
float: right;
font-size: 1.85em;
}

div#overshadow { position: relative; z-index: 2; }
span.comment { font-size: 75%; color: #666; }
Binary file added css/bg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
160 changes: 160 additions & 0 deletions css/form.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
/**
* CSS styles for forms generated by yiic.
*
* The styles can be applied to the following form structure:
*
* <div class="form">
* <div class="row">
* <label for="inputid">xyz</label>
* <input name="inputid" id="inputid" type="text" />
* <p class="hint">hint text</p>
* </div>
* <div class="row">
* <label for="inputid">xyz</label>
* <input name="inputid" id="inputid" type="text" />
* <p class="hint">hint text</p>
* </div>
* <div class="row buttons">
* <label for="inputid">xyz</label>
* <input name="inputid" id="inputid" type="text" />
* <p class="hint">hint text</p>
* </div>
* </div>
*
* The above code will render the labels and input fields in separate lines.
* In order to render them in the same line, please use the "wide" form as follows,
*
* <div class="wide form">
* ......
* </div>
*
* @author Qiang Xue <[email protected]>
* @link http://www.yiiframework.com/
* @copyright Copyright &copy; 2008-2010 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/

div.form
{
}

div.form input,
div.form textarea,
div.form select
{
margin: 0.2em 0 0.5em 0;
}

div.form fieldset
{
border: 1px solid #DDD;
padding: 10px;
margin: 0 0 10px 0;
-moz-border-radius:7px;
}

div.form label
{
font-weight: bold;
font-size: 0.9em;
display: block;
}

div.form .row
{
margin: 5px 0;
}

div.form .hint
{
margin: 0;
padding: 0;
color: #999;
}

div.form .note
{
font-style: italic;
}

div.form span.required
{
color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error
{
color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
background: #FEE;
border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
background: #E6EFC2;
border-color: #C6D880;
}


div.form .errorSummary
{
border: 2px solid #C00;
padding: 7px 7px 12px 7px;
margin: 0 0 20px 0;
background: #FEE;
font-size: 0.9em;
}

div.form .errorMessage
{
color: red;
font-size: 0.9em;
}

div.form .errorSummary p
{
margin: 0;
padding: 5px;
}

div.form .errorSummary ul
{
margin: 0;
padding: 0 0 0 20px;
}

div.wide.form label
{
float: left;
margin-right: 10px;
position: relative;
text-align: right;
width: 100px;
}

div.wide.form .row
{
clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
clear: left;
padding-left: 110px;
}
Loading

0 comments on commit c06a5de

Please sign in to comment.