Tabs to spaces to be consistent

```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
This commit is contained in:
Carsten Brandt 2014-05-23 16:51:38 +02:00
parent 914a6f76fe
commit fff7565b05
2 changed files with 42 additions and 42 deletions

View File

@ -75,11 +75,11 @@ Edit the file `config/db.php` with real data, for example:
```php ```php
return [ return [
'class' => 'yii\db\Connection', 'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=yii2basic', 'dsn' => 'mysql:host=localhost;dbname=yii2basic',
'username' => 'root', 'username' => 'root',
'password' => '1234', 'password' => '1234',
'charset' => 'utf8', 'charset' => 'utf8',
]; ];
``` ```

View File

@ -1,13 +1,13 @@
html, html,
body { body {
height: 100%; height: 100%;
} }
.wrap { .wrap {
min-height: 100%; min-height: 100%;
height: auto; height: auto;
margin: 0 auto -60px; margin: 0 auto -60px;
padding: 0 0 60px; padding: 0 0 60px;
} }
.wrap > .container { .wrap > .container {
@ -15,61 +15,61 @@ body {
} }
.footer { .footer {
height: 60px; height: 60px;
background-color: #f5f5f5; background-color: #f5f5f5;
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
padding-top: 20px; padding-top: 20px;
} }
.jumbotron { .jumbotron {
text-align: center; text-align: center;
background-color: transparent; background-color: transparent;
} }
.jumbotron .btn { .jumbotron .btn {
font-size: 21px; font-size: 21px;
padding: 14px 24px; padding: 14px 24px;
} }
.not-set { .not-set {
color: #c55; color: #c55;
font-style: italic; font-style: italic;
} }
/* add sorting icons to gridview sort links */ /* add sorting icons to gridview sort links */
a.asc:after, a.desc:after { a.asc:after, a.desc:after {
position: relative; position: relative;
top: 1px; top: 1px;
display: inline-block; display: inline-block;
font-family: 'Glyphicons Halflings'; font-family: 'Glyphicons Halflings';
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
padding-left: 5px; padding-left: 5px;
} }
a.asc:after { a.asc:after {
content: /*"\e113"*/ "\e151"; content: /*"\e113"*/ "\e151";
} }
a.desc:after { a.desc:after {
content: /*"\e114"*/ "\e152"; content: /*"\e114"*/ "\e152";
} }
.sort-numerical a.asc:after { .sort-numerical a.asc:after {
content: "\e153"; content: "\e153";
} }
.sort-numerical a.desc:after { .sort-numerical a.desc:after {
content: "\e154"; content: "\e154";
} }
.sort-ordinal a.asc:after { .sort-ordinal a.asc:after {
content: "\e155"; content: "\e155";
} }
.sort-ordinal a.desc:after { .sort-ordinal a.desc:after {
content: "\e156"; content: "\e156";
} }
.grid-view th { .grid-view th {
@ -77,15 +77,15 @@ a.desc:after {
} }
.hint-block { .hint-block {
display: block; display: block;
margin-top: 5px; margin-top: 5px;
color: #999; color: #999;
} }
.error-summary { .error-summary {
color: #a94442; color: #a94442;
background: #fdf7f7; background: #fdf7f7;
border-left: 3px solid #eed3d7; border-left: 3px solid #eed3d7;
padding: 10px 20px; padding: 10px 20px;
margin: 0 0 15px 0; margin: 0 0 15px 0;
} }