This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first commit of the base yii framework
- Loading branch information
0 parents
commit 8015d3f
Showing
36 changed files
with
1,548 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 © 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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* ----------------------------------------------------------------------- | ||
Blueprint CSS Framework 1.0.1 | ||
http://blueprintcss.org | ||
* Copyright (c) 2007-Present. See LICENSE for more info. | ||
* See README for instructions on how to use Blueprint. | ||
* For credits and origins, see AUTHORS. | ||
* This is a compressed file. See the sources in the 'src' directory. | ||
----------------------------------------------------------------------- */ | ||
|
||
/* ie.css */ | ||
body {text-align:center;} | ||
.container {text-align:left;} | ||
* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;} | ||
* html legend {margin:0px -8px 16px 0;padding:0;} | ||
sup {vertical-align:text-top;} | ||
sub {vertical-align:text-bottom;} | ||
html>body p code {*white-space:normal;} | ||
hr {margin:-8px auto 11px;} | ||
img {-ms-interpolation-mode:bicubic;} | ||
.clearfix, .container {display:inline-block;} | ||
* html .clearfix, * html .container {height:1%;} | ||
fieldset {padding-top:0;} | ||
legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;} | ||
textarea {overflow:auto;} | ||
label {vertical-align:middle;position:relative;top:-0.25em;} | ||
input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;} | ||
input.text:focus, input.title:focus {border-color:#666;} | ||
input.text, input.title, textarea, select {margin:0.5em 0;} | ||
input.checkbox, input.radio {position:relative;top:.25em;} | ||
form.inline div, form.inline p {vertical-align:middle;} | ||
form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;} | ||
button, input.button {position:relative;top:0.25em;} |
Oops, something went wrong.