├── .env.example
├── .gitattributes
├── .gitignore
├── app
├── Cidade.php
├── Commands
│ └── Command.php
├── Console
│ ├── Commands
│ │ └── Inspire.php
│ └── Kernel.php
├── Estado.php
├── Events
│ └── Event.php
├── Exceptions
│ └── Handler.php
├── Handlers
│ ├── Commands
│ │ └── .gitkeep
│ └── Events
│ │ └── .gitkeep
├── Http
│ ├── Controllers
│ │ ├── Auth
│ │ │ ├── AuthController.php
│ │ │ └── PasswordController.php
│ │ ├── CidadeController.php
│ │ ├── Controller.php
│ │ ├── HomeController.php
│ │ └── WelcomeController.php
│ ├── Kernel.php
│ ├── Middleware
│ │ ├── Authenticate.php
│ │ ├── RedirectIfAuthenticated.php
│ │ └── VerifyCsrfToken.php
│ ├── Requests
│ │ └── Request.php
│ └── routes.php
├── Providers
│ ├── AppServiceProvider.php
│ ├── BusServiceProvider.php
│ ├── ConfigServiceProvider.php
│ ├── EventServiceProvider.php
│ └── RouteServiceProvider.php
├── Services
│ └── Registrar.php
└── User.php
├── artisan
├── bootstrap
├── app.php
└── autoload.php
├── composer.json
├── composer.lock
├── config
├── app.php
├── auth.php
├── cache.php
├── compile.php
├── database.php
├── filesystems.php
├── mail.php
├── queue.php
├── services.php
├── session.php
└── view.php
├── database
├── .gitignore
├── migrations
│ ├── .gitkeep
│ ├── 2014_10_12_000000_create_users_table.php
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2015_06_01_014232_create_estados_table.php
│ └── 2015_06_01_014241_create_cidades_table.php
└── seeds
│ ├── .gitkeep
│ ├── DatabaseSeeder.php
│ ├── Estados
│ ├── CidadesAcreSeeder.php
│ ├── CidadesAlagoasSeeder.php
│ ├── CidadesAmapaSeeder.php
│ ├── CidadesAmazonasSeeder.php
│ ├── CidadesBahiaSeeder.php
│ ├── CidadesCearaSeeder.php
│ ├── CidadesDistritoFederalSeeder.php
│ ├── CidadesEspiritoSantoSeeder.php
│ ├── CidadesGoiasSeeder.php
│ ├── CidadesMaranhaoSeeder.php
│ ├── CidadesMatoGrossoDoSulSeeder.php
│ ├── CidadesMatoGrossoSeeder.php
│ ├── CidadesMinasGeraisSeeder.php
│ ├── CidadesParaSeeder.php
│ ├── CidadesParaibaSeeder.php
│ ├── CidadesParanaSeeder.php
│ ├── CidadesPernambucoSeeder.php
│ ├── CidadesPiauiSeeder.php
│ ├── CidadesRioDeJaneiroSeeder.php
│ ├── CidadesRioGrandeDoNorteSeeder.php
│ ├── CidadesRioGrandeDoSulSeeder.php
│ ├── CidadesRondoniaSeeder.php
│ ├── CidadesRoraimaSeeder.php
│ ├── CidadesSantaCatarinaSeeder.php
│ ├── CidadesSaoPauloSeeder.php
│ ├── CidadesSergipeSeeder.php
│ └── CidadesTocantinsSeeder.php
│ └── EstadosTableSeeder.php
├── gulpfile.js
├── package.json
├── phpspec.yml
├── phpunit.xml
├── public
├── .htaccess
├── css
│ └── app.css
├── favicon.ico
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── index.php
└── robots.txt
├── readme.md
├── resources
├── assets
│ └── less
│ │ ├── app.less
│ │ └── bootstrap
│ │ ├── alerts.less
│ │ ├── badges.less
│ │ ├── bootstrap.less
│ │ ├── breadcrumbs.less
│ │ ├── button-groups.less
│ │ ├── buttons.less
│ │ ├── carousel.less
│ │ ├── close.less
│ │ ├── code.less
│ │ ├── component-animations.less
│ │ ├── dropdowns.less
│ │ ├── forms.less
│ │ ├── glyphicons.less
│ │ ├── grid.less
│ │ ├── input-groups.less
│ │ ├── jumbotron.less
│ │ ├── labels.less
│ │ ├── list-group.less
│ │ ├── media.less
│ │ ├── mixins.less
│ │ ├── mixins
│ │ ├── alerts.less
│ │ ├── background-variant.less
│ │ ├── border-radius.less
│ │ ├── buttons.less
│ │ ├── center-block.less
│ │ ├── clearfix.less
│ │ ├── forms.less
│ │ ├── gradients.less
│ │ ├── grid-framework.less
│ │ ├── grid.less
│ │ ├── hide-text.less
│ │ ├── image.less
│ │ ├── labels.less
│ │ ├── list-group.less
│ │ ├── nav-divider.less
│ │ ├── nav-vertical-align.less
│ │ ├── opacity.less
│ │ ├── pagination.less
│ │ ├── panels.less
│ │ ├── progress-bar.less
│ │ ├── reset-filter.less
│ │ ├── resize.less
│ │ ├── responsive-visibility.less
│ │ ├── size.less
│ │ ├── tab-focus.less
│ │ ├── table-row.less
│ │ ├── text-emphasis.less
│ │ ├── text-overflow.less
│ │ └── vendor-prefixes.less
│ │ ├── modals.less
│ │ ├── navbar.less
│ │ ├── navs.less
│ │ ├── normalize.less
│ │ ├── pager.less
│ │ ├── pagination.less
│ │ ├── panels.less
│ │ ├── popovers.less
│ │ ├── print.less
│ │ ├── progress-bars.less
│ │ ├── responsive-embed.less
│ │ ├── responsive-utilities.less
│ │ ├── scaffolding.less
│ │ ├── tables.less
│ │ ├── theme.less
│ │ ├── thumbnails.less
│ │ ├── tooltip.less
│ │ ├── type.less
│ │ ├── utilities.less
│ │ ├── variables.less
│ │ └── wells.less
├── lang
│ └── en
│ │ ├── pagination.php
│ │ ├── passwords.php
│ │ └── validation.php
└── views
│ ├── app.blade.php
│ ├── auth
│ ├── login.blade.php
│ ├── password.blade.php
│ ├── register.blade.php
│ └── reset.blade.php
│ ├── cidade.blade.php
│ ├── emails
│ └── password.blade.php
│ ├── errors
│ └── 503.blade.php
│ ├── home.blade.php
│ ├── vendor
│ └── .gitkeep
│ └── welcome.blade.php
├── server.php
├── storage
├── app
│ └── .gitignore
├── database.sqlite
├── framework
│ ├── .gitignore
│ ├── cache
│ │ └── .gitignore
│ ├── sessions
│ │ └── .gitignore
│ └── views
│ │ └── .gitignore
└── logs
│ └── .gitignore
└── tests
├── ExampleTest.php
└── TestCase.php
/.env.example:
--------------------------------------------------------------------------------
1 | APP_ENV=local
2 | APP_DEBUG=true
3 | APP_KEY=SomeRandomString
4 |
5 | DB_HOST=localhost
6 | DB_DATABASE=homestead
7 | DB_USERNAME=homestead
8 | DB_PASSWORD=secret
9 |
10 | CACHE_DRIVER=file
11 | SESSION_DRIVER=file
12 | QUEUE_DRIVER=sync
13 |
14 | MAIL_DRIVER=smtp
15 | MAIL_HOST=mailtrap.io
16 | MAIL_PORT=2525
17 | MAIL_USERNAME=null
18 | MAIL_PASSWORD=null
19 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | * text=auto
2 | *.css linguist-vendored
3 | *.less linguist-vendored
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | /vendor
2 | /node_modules
3 | .env
4 | .idea
--------------------------------------------------------------------------------
/app/Cidade.php:
--------------------------------------------------------------------------------
1 | belongsTo('App\Estado');
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/app/Commands/Command.php:
--------------------------------------------------------------------------------
1 | comment(PHP_EOL.Inspiring::quote().PHP_EOL);
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/app/Console/Kernel.php:
--------------------------------------------------------------------------------
1 | command('inspire')
26 | ->hourly();
27 | }
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/app/Estado.php:
--------------------------------------------------------------------------------
1 | hasMany('App\Cidade');
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/app/Events/Event.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
33 | $this->registrar = $registrar;
34 |
35 | $this->middleware('guest', ['except' => 'getLogout']);
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Auth/PasswordController.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
33 | $this->passwords = $passwords;
34 |
35 | $this->middleware('guest');
36 | }
37 |
38 | }
39 |
--------------------------------------------------------------------------------
/app/Http/Controllers/CidadeController.php:
--------------------------------------------------------------------------------
1 | estadoModel = $estado;
16 | }
17 |
18 | public function index()
19 | {
20 | $estados = $this->estadoModel->lists('estado', 'id');
21 |
22 | return view('cidade', compact('estados'));
23 | }
24 |
25 | public function getCidades($idEstado)
26 | {
27 | $estado = $this->estadoModel->find($idEstado);
28 | $cidades = $estado->cidades()->getQuery()->get(['id', 'cidade']);
29 | return Response::json($cidades);
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Controllers/Controller.php:
--------------------------------------------------------------------------------
1 | middleware('auth');
24 | }
25 |
26 | /**
27 | * Show the application dashboard to the user.
28 | *
29 | * @return Response
30 | */
31 | public function index()
32 | {
33 | return view('home');
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/app/Http/Controllers/WelcomeController.php:
--------------------------------------------------------------------------------
1 | middleware('guest');
24 | }
25 |
26 | /**
27 | * Show the application welcome screen to the user.
28 | *
29 | * @return Response
30 | */
31 | public function index()
32 | {
33 | return view('welcome');
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/app/Http/Kernel.php:
--------------------------------------------------------------------------------
1 | 'App\Http\Middleware\Authenticate',
28 | 'auth.basic' => 'Illuminate\Auth\Middleware\AuthenticateWithBasicAuth',
29 | 'guest' => 'App\Http\Middleware\RedirectIfAuthenticated',
30 | ];
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/app/Http/Middleware/Authenticate.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
24 | }
25 |
26 | /**
27 | * Handle an incoming request.
28 | *
29 | * @param \Illuminate\Http\Request $request
30 | * @param \Closure $next
31 | * @return mixed
32 | */
33 | public function handle($request, Closure $next)
34 | {
35 | if ($this->auth->guest())
36 | {
37 | if ($request->ajax())
38 | {
39 | return response('Unauthorized.', 401);
40 | }
41 | else
42 | {
43 | return redirect()->guest('auth/login');
44 | }
45 | }
46 |
47 | return $next($request);
48 | }
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/app/Http/Middleware/RedirectIfAuthenticated.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
25 | }
26 |
27 | /**
28 | * Handle an incoming request.
29 | *
30 | * @param \Illuminate\Http\Request $request
31 | * @param \Closure $next
32 | * @return mixed
33 | */
34 | public function handle($request, Closure $next)
35 | {
36 | if ($this->auth->check())
37 | {
38 | return new RedirectResponse(url('/home'));
39 | }
40 |
41 | return $next($request);
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/app/Http/Middleware/VerifyCsrfToken.php:
--------------------------------------------------------------------------------
1 | 'Auth\AuthController',
20 | 'password' => 'Auth\PasswordController',
21 | ]);
22 |
23 | Route::get('home-cidade', ['as' => 'home', 'uses' => 'CidadeController@index'] );
24 |
25 | Route::get('get-cidades/{idEstado}', 'CidadeController@getCidades');
--------------------------------------------------------------------------------
/app/Providers/AppServiceProvider.php:
--------------------------------------------------------------------------------
1 | app->bind(
29 | 'Illuminate\Contracts\Auth\Registrar',
30 | 'App\Services\Registrar'
31 | );
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/app/Providers/BusServiceProvider.php:
--------------------------------------------------------------------------------
1 | mapUsing(function($command)
17 | {
18 | return Dispatcher::simpleMapping(
19 | $command, 'App\Commands', 'App\Handlers\Commands'
20 | );
21 | });
22 | }
23 |
24 | /**
25 | * Register any application services.
26 | *
27 | * @return void
28 | */
29 | public function register()
30 | {
31 | //
32 | }
33 |
34 | }
35 |
--------------------------------------------------------------------------------
/app/Providers/ConfigServiceProvider.php:
--------------------------------------------------------------------------------
1 | [
15 | 'EventListener',
16 | ],
17 | ];
18 |
19 | /**
20 | * Register any other events for your application.
21 | *
22 | * @param \Illuminate\Contracts\Events\Dispatcher $events
23 | * @return void
24 | */
25 | public function boot(DispatcherContract $events)
26 | {
27 | parent::boot($events);
28 |
29 | //
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/app/Providers/RouteServiceProvider.php:
--------------------------------------------------------------------------------
1 | group(['namespace' => $this->namespace], function($router)
39 | {
40 | require app_path('Http/routes.php');
41 | });
42 | }
43 |
44 | }
45 |
--------------------------------------------------------------------------------
/app/Services/Registrar.php:
--------------------------------------------------------------------------------
1 | 'required|max:255',
19 | 'email' => 'required|email|max:255|unique:users',
20 | 'password' => 'required|confirmed|min:6',
21 | ]);
22 | }
23 |
24 | /**
25 | * Create a new user instance after a valid registration.
26 | *
27 | * @param array $data
28 | * @return User
29 | */
30 | public function create(array $data)
31 | {
32 | return User::create([
33 | 'name' => $data['name'],
34 | 'email' => $data['email'],
35 | 'password' => bcrypt($data['password']),
36 | ]);
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/app/User.php:
--------------------------------------------------------------------------------
1 | make('Illuminate\Contracts\Console\Kernel');
32 |
33 | $status = $kernel->handle(
34 | $input = new Symfony\Component\Console\Input\ArgvInput,
35 | new Symfony\Component\Console\Output\ConsoleOutput
36 | );
37 |
38 | /*
39 | |--------------------------------------------------------------------------
40 | | Shutdown The Application
41 | |--------------------------------------------------------------------------
42 | |
43 | | Once Artisan has finished running. We will fire off the shutdown events
44 | | so that any final work may be done by the application before we shut
45 | | down the process. This is the last thing to happen to the request.
46 | |
47 | */
48 |
49 | $kernel->terminate($input, $status);
50 |
51 | exit($status);
52 |
--------------------------------------------------------------------------------
/bootstrap/app.php:
--------------------------------------------------------------------------------
1 | singleton(
30 | 'Illuminate\Contracts\Http\Kernel',
31 | 'App\Http\Kernel'
32 | );
33 |
34 | $app->singleton(
35 | 'Illuminate\Contracts\Console\Kernel',
36 | 'App\Console\Kernel'
37 | );
38 |
39 | $app->singleton(
40 | 'Illuminate\Contracts\Debug\ExceptionHandler',
41 | 'App\Exceptions\Handler'
42 | );
43 |
44 | /*
45 | |--------------------------------------------------------------------------
46 | | Return The Application
47 | |--------------------------------------------------------------------------
48 | |
49 | | This script returns the application instance. The instance is given to
50 | | the calling script so we can separate the building of the instances
51 | | from the actual running of the application and sending responses.
52 | |
53 | */
54 |
55 | return $app;
56 |
--------------------------------------------------------------------------------
/bootstrap/autoload.php:
--------------------------------------------------------------------------------
1 | 'eloquent',
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Authentication Model
23 | |--------------------------------------------------------------------------
24 | |
25 | | When using the "Eloquent" authentication driver, we need to know which
26 | | Eloquent model should be used to retrieve your users. Of course, it
27 | | is often just the "User" model but you may use whatever you like.
28 | |
29 | */
30 |
31 | 'model' => 'App\User',
32 |
33 | /*
34 | |--------------------------------------------------------------------------
35 | | Authentication Table
36 | |--------------------------------------------------------------------------
37 | |
38 | | When using the "Database" authentication driver, we need to know which
39 | | table should be used to retrieve your users. We have chosen a basic
40 | | default value but you may easily change it to any table you like.
41 | |
42 | */
43 |
44 | 'table' => 'users',
45 |
46 | /*
47 | |--------------------------------------------------------------------------
48 | | Password Reset Settings
49 | |--------------------------------------------------------------------------
50 | |
51 | | Here you may set the options for resetting passwords including the view
52 | | that is your password reset e-mail. You can also set the name of the
53 | | table that maintains all of the reset tokens for your application.
54 | |
55 | | The expire time is the number of minutes that the reset token should be
56 | | considered valid. This security feature keeps tokens short-lived so
57 | | they have less time to be guessed. You may change this as needed.
58 | |
59 | */
60 |
61 | 'password' => [
62 | 'email' => 'emails.password',
63 | 'table' => 'password_resets',
64 | 'expire' => 60,
65 | ],
66 |
67 | ];
68 |
--------------------------------------------------------------------------------
/config/cache.php:
--------------------------------------------------------------------------------
1 | env('CACHE_DRIVER', 'file'),
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Cache Stores
21 | |--------------------------------------------------------------------------
22 | |
23 | | Here you may define all of the cache "stores" for your application as
24 | | well as their drivers. You may even define multiple stores for the
25 | | same cache driver to group types of items stored in your caches.
26 | |
27 | */
28 |
29 | 'stores' => [
30 |
31 | 'apc' => [
32 | 'driver' => 'apc'
33 | ],
34 |
35 | 'array' => [
36 | 'driver' => 'array'
37 | ],
38 |
39 | 'database' => [
40 | 'driver' => 'database',
41 | 'table' => 'cache',
42 | 'connection' => null,
43 | ],
44 |
45 | 'file' => [
46 | 'driver' => 'file',
47 | 'path' => storage_path().'/framework/cache',
48 | ],
49 |
50 | 'memcached' => [
51 | 'driver' => 'memcached',
52 | 'servers' => [
53 | [
54 | 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 100
55 | ],
56 | ],
57 | ],
58 |
59 | 'redis' => [
60 | 'driver' => 'redis',
61 | 'connection' => 'default',
62 | ],
63 |
64 | ],
65 |
66 | /*
67 | |--------------------------------------------------------------------------
68 | | Cache Key Prefix
69 | |--------------------------------------------------------------------------
70 | |
71 | | When utilizing a RAM based store such as APC or Memcached, there might
72 | | be other applications utilizing the same cache. So, we'll specify a
73 | | value to get prefixed to all our keys so we can avoid collisions.
74 | |
75 | */
76 |
77 | 'prefix' => 'laravel',
78 |
79 | ];
80 |
--------------------------------------------------------------------------------
/config/compile.php:
--------------------------------------------------------------------------------
1 | [
17 |
18 | realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'),
19 | realpath(__DIR__.'/../app/Providers/BusServiceProvider.php'),
20 | realpath(__DIR__.'/../app/Providers/ConfigServiceProvider.php'),
21 | realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'),
22 | realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'),
23 |
24 | ],
25 |
26 | /*
27 | |--------------------------------------------------------------------------
28 | | Compiled File Providers
29 | |--------------------------------------------------------------------------
30 | |
31 | | Here you may list service providers which define a "compiles" function
32 | | that returns additional files that should be compiled, providing an
33 | | easy way to get common files from any packages you are utilizing.
34 | |
35 | */
36 |
37 | 'providers' => [
38 | //
39 | ],
40 |
41 | ];
42 |
--------------------------------------------------------------------------------
/config/database.php:
--------------------------------------------------------------------------------
1 | PDO::FETCH_CLASS,
17 |
18 | /*
19 | |--------------------------------------------------------------------------
20 | | Default Database Connection Name
21 | |--------------------------------------------------------------------------
22 | |
23 | | Here you may specify which of the database connections below you wish
24 | | to use as your default connection for all database work. Of course
25 | | you may use many connections at once using the Database library.
26 | |
27 | */
28 |
29 | 'default' => 'sqlite',
30 |
31 | /*
32 | |--------------------------------------------------------------------------
33 | | Database Connections
34 | |--------------------------------------------------------------------------
35 | |
36 | | Here are each of the database connections setup for your application.
37 | | Of course, examples of configuring each database platform that is
38 | | supported by Laravel is shown below to make development simple.
39 | |
40 | |
41 | | All database work in Laravel is done through the PHP PDO facilities
42 | | so make sure you have the driver for your particular database of
43 | | choice installed on your machine before you begin development.
44 | |
45 | */
46 |
47 | 'connections' => [
48 |
49 | 'sqlite' => [
50 | 'driver' => 'sqlite',
51 | 'database' => storage_path().'/database.sqlite',
52 | 'prefix' => '',
53 | ],
54 |
55 | 'mysql' => [
56 | 'driver' => 'mysql',
57 | 'host' => env('DB_HOST', 'localhost'),
58 | 'database' => env('DB_DATABASE', 'forge'),
59 | 'username' => env('DB_USERNAME', 'forge'),
60 | 'password' => env('DB_PASSWORD', ''),
61 | 'charset' => 'utf8',
62 | 'collation' => 'utf8_unicode_ci',
63 | 'prefix' => '',
64 | 'strict' => false,
65 | ],
66 |
67 | 'pgsql' => [
68 | 'driver' => 'pgsql',
69 | 'host' => env('DB_HOST', 'localhost'),
70 | 'database' => env('DB_DATABASE', 'forge'),
71 | 'username' => env('DB_USERNAME', 'forge'),
72 | 'password' => env('DB_PASSWORD', ''),
73 | 'charset' => 'utf8',
74 | 'prefix' => '',
75 | 'schema' => 'public',
76 | ],
77 |
78 | 'sqlsrv' => [
79 | 'driver' => 'sqlsrv',
80 | 'host' => env('DB_HOST', 'localhost'),
81 | 'database' => env('DB_DATABASE', 'forge'),
82 | 'username' => env('DB_USERNAME', 'forge'),
83 | 'password' => env('DB_PASSWORD', ''),
84 | 'prefix' => '',
85 | ],
86 |
87 | ],
88 |
89 | /*
90 | |--------------------------------------------------------------------------
91 | | Migration Repository Table
92 | |--------------------------------------------------------------------------
93 | |
94 | | This table keeps track of all the migrations that have already run for
95 | | your application. Using this information, we can determine which of
96 | | the migrations on disk haven't actually been run in the database.
97 | |
98 | */
99 |
100 | 'migrations' => 'migrations',
101 |
102 | /*
103 | |--------------------------------------------------------------------------
104 | | Redis Databases
105 | |--------------------------------------------------------------------------
106 | |
107 | | Redis is an open source, fast, and advanced key-value store that also
108 | | provides a richer set of commands than a typical key-value systems
109 | | such as APC or Memcached. Laravel makes it easy to dig right in.
110 | |
111 | */
112 |
113 | 'redis' => [
114 |
115 | 'cluster' => false,
116 |
117 | 'default' => [
118 | 'host' => '127.0.0.1',
119 | 'port' => 6379,
120 | 'database' => 0,
121 | ],
122 |
123 | ],
124 |
125 | ];
126 |
--------------------------------------------------------------------------------
/config/filesystems.php:
--------------------------------------------------------------------------------
1 | 'local',
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Default Cloud Filesystem Disk
23 | |--------------------------------------------------------------------------
24 | |
25 | | Many applications store files both locally and in the cloud. For this
26 | | reason, you may specify a default "cloud" driver here. This driver
27 | | will be bound as the Cloud disk implementation in the container.
28 | |
29 | */
30 |
31 | 'cloud' => 's3',
32 |
33 | /*
34 | |--------------------------------------------------------------------------
35 | | Filesystem Disks
36 | |--------------------------------------------------------------------------
37 | |
38 | | Here you may configure as many filesystem "disks" as you wish, and you
39 | | may even configure multiple disks of the same driver. Defaults have
40 | | been setup for each driver as an example of the required options.
41 | |
42 | */
43 |
44 | 'disks' => [
45 |
46 | 'local' => [
47 | 'driver' => 'local',
48 | 'root' => storage_path().'/app',
49 | ],
50 |
51 | 's3' => [
52 | 'driver' => 's3',
53 | 'key' => 'your-key',
54 | 'secret' => 'your-secret',
55 | 'region' => 'your-region',
56 | 'bucket' => 'your-bucket',
57 | ],
58 |
59 | 'rackspace' => [
60 | 'driver' => 'rackspace',
61 | 'username' => 'your-username',
62 | 'key' => 'your-key',
63 | 'container' => 'your-container',
64 | 'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
65 | 'region' => 'IAD',
66 | 'url_type' => 'publicURL'
67 | ],
68 |
69 | ],
70 |
71 | ];
72 |
--------------------------------------------------------------------------------
/config/mail.php:
--------------------------------------------------------------------------------
1 | env('MAIL_DRIVER', 'smtp'),
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | SMTP Host Address
23 | |--------------------------------------------------------------------------
24 | |
25 | | Here you may provide the host address of the SMTP server used by your
26 | | applications. A default option is provided that is compatible with
27 | | the Mailgun mail service which will provide reliable deliveries.
28 | |
29 | */
30 |
31 | 'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
32 |
33 | /*
34 | |--------------------------------------------------------------------------
35 | | SMTP Host Port
36 | |--------------------------------------------------------------------------
37 | |
38 | | This is the SMTP port used by your application to deliver e-mails to
39 | | users of the application. Like the host we have set this value to
40 | | stay compatible with the Mailgun e-mail application by default.
41 | |
42 | */
43 |
44 | 'port' => env('MAIL_PORT', 587),
45 |
46 | /*
47 | |--------------------------------------------------------------------------
48 | | Global "From" Address
49 | |--------------------------------------------------------------------------
50 | |
51 | | You may wish for all e-mails sent by your application to be sent from
52 | | the same address. Here, you may specify a name and address that is
53 | | used globally for all e-mails that are sent by your application.
54 | |
55 | */
56 |
57 | 'from' => ['address' => null, 'name' => null],
58 |
59 | /*
60 | |--------------------------------------------------------------------------
61 | | E-Mail Encryption Protocol
62 | |--------------------------------------------------------------------------
63 | |
64 | | Here you may specify the encryption protocol that should be used when
65 | | the application send e-mail messages. A sensible default using the
66 | | transport layer security protocol should provide great security.
67 | |
68 | */
69 |
70 | 'encryption' => 'tls',
71 |
72 | /*
73 | |--------------------------------------------------------------------------
74 | | SMTP Server Username
75 | |--------------------------------------------------------------------------
76 | |
77 | | If your SMTP server requires a username for authentication, you should
78 | | set it here. This will get used to authenticate with your server on
79 | | connection. You may also set the "password" value below this one.
80 | |
81 | */
82 |
83 | 'username' => env('MAIL_USERNAME'),
84 |
85 | /*
86 | |--------------------------------------------------------------------------
87 | | SMTP Server Password
88 | |--------------------------------------------------------------------------
89 | |
90 | | Here you may set the password required by your SMTP server to send out
91 | | messages from your application. This will be given to the server on
92 | | connection so that the application will be able to send messages.
93 | |
94 | */
95 |
96 | 'password' => env('MAIL_PASSWORD'),
97 |
98 | /*
99 | |--------------------------------------------------------------------------
100 | | Sendmail System Path
101 | |--------------------------------------------------------------------------
102 | |
103 | | When using the "sendmail" driver to send e-mails, we will need to know
104 | | the path to where Sendmail lives on this server. A default path has
105 | | been provided here, which will work well on most of your systems.
106 | |
107 | */
108 |
109 | 'sendmail' => '/usr/sbin/sendmail -bs',
110 |
111 | /*
112 | |--------------------------------------------------------------------------
113 | | Mail "Pretend"
114 | |--------------------------------------------------------------------------
115 | |
116 | | When this option is enabled, e-mail will not actually be sent over the
117 | | web and will instead be written to your application's logs files so
118 | | you may inspect the message. This is great for local development.
119 | |
120 | */
121 |
122 | 'pretend' => false,
123 |
124 | ];
125 |
--------------------------------------------------------------------------------
/config/queue.php:
--------------------------------------------------------------------------------
1 | env('QUEUE_DRIVER', 'sync'),
20 |
21 | /*
22 | |--------------------------------------------------------------------------
23 | | Queue Connections
24 | |--------------------------------------------------------------------------
25 | |
26 | | Here you may configure the connection information for each server that
27 | | is used by your application. A default configuration has been added
28 | | for each back-end shipped with Laravel. You are free to add more.
29 | |
30 | */
31 |
32 | 'connections' => [
33 |
34 | 'sync' => [
35 | 'driver' => 'sync',
36 | ],
37 |
38 | 'database' => [
39 | 'driver' => 'database',
40 | 'table' => 'jobs',
41 | 'queue' => 'default',
42 | 'expire' => 60,
43 | ],
44 |
45 | 'beanstalkd' => [
46 | 'driver' => 'beanstalkd',
47 | 'host' => 'localhost',
48 | 'queue' => 'default',
49 | 'ttr' => 60,
50 | ],
51 |
52 | 'sqs' => [
53 | 'driver' => 'sqs',
54 | 'key' => 'your-public-key',
55 | 'secret' => 'your-secret-key',
56 | 'queue' => 'your-queue-url',
57 | 'region' => 'us-east-1',
58 | ],
59 |
60 | 'iron' => [
61 | 'driver' => 'iron',
62 | 'host' => 'mq-aws-us-east-1.iron.io',
63 | 'token' => 'your-token',
64 | 'project' => 'your-project-id',
65 | 'queue' => 'your-queue-name',
66 | 'encrypt' => true,
67 | ],
68 |
69 | 'redis' => [
70 | 'driver' => 'redis',
71 | 'queue' => 'default',
72 | 'expire' => 60,
73 | ],
74 |
75 | ],
76 |
77 | /*
78 | |--------------------------------------------------------------------------
79 | | Failed Queue Jobs
80 | |--------------------------------------------------------------------------
81 | |
82 | | These options configure the behavior of failed queue job logging so you
83 | | can control which database and table are used to store the jobs that
84 | | have failed. You may change them to any database / table you wish.
85 | |
86 | */
87 |
88 | 'failed' => [
89 | 'database' => 'mysql', 'table' => 'failed_jobs',
90 | ],
91 |
92 | ];
93 |
--------------------------------------------------------------------------------
/config/services.php:
--------------------------------------------------------------------------------
1 | [
18 | 'domain' => '',
19 | 'secret' => '',
20 | ],
21 |
22 | 'mandrill' => [
23 | 'secret' => '',
24 | ],
25 |
26 | 'ses' => [
27 | 'key' => '',
28 | 'secret' => '',
29 | 'region' => 'us-east-1',
30 | ],
31 |
32 | 'stripe' => [
33 | 'model' => 'App\User',
34 | 'key' => '',
35 | 'secret' => '',
36 | ],
37 |
38 | ];
39 |
--------------------------------------------------------------------------------
/config/session.php:
--------------------------------------------------------------------------------
1 | env('SESSION_DRIVER', 'file'),
20 |
21 | /*
22 | |--------------------------------------------------------------------------
23 | | Session Lifetime
24 | |--------------------------------------------------------------------------
25 | |
26 | | Here you may specify the number of minutes that you wish the session
27 | | to be allowed to remain idle before it expires. If you want them
28 | | to immediately expire on the browser closing, set that option.
29 | |
30 | */
31 |
32 | 'lifetime' => 120,
33 |
34 | 'expire_on_close' => false,
35 |
36 | /*
37 | |--------------------------------------------------------------------------
38 | | Session Encryption
39 | |--------------------------------------------------------------------------
40 | |
41 | | This option allows you to easily specify that all of your session data
42 | | should be encrypted before it is stored. All encryption will be run
43 | | automatically by Laravel and you can use the Session like normal.
44 | |
45 | */
46 |
47 | 'encrypt' => false,
48 |
49 | /*
50 | |--------------------------------------------------------------------------
51 | | Session File Location
52 | |--------------------------------------------------------------------------
53 | |
54 | | When using the native session driver, we need a location where session
55 | | files may be stored. A default has been set for you but a different
56 | | location may be specified. This is only needed for file sessions.
57 | |
58 | */
59 |
60 | 'files' => storage_path().'/framework/sessions',
61 |
62 | /*
63 | |--------------------------------------------------------------------------
64 | | Session Database Connection
65 | |--------------------------------------------------------------------------
66 | |
67 | | When using the "database" or "redis" session drivers, you may specify a
68 | | connection that should be used to manage these sessions. This should
69 | | correspond to a connection in your database configuration options.
70 | |
71 | */
72 |
73 | 'connection' => null,
74 |
75 | /*
76 | |--------------------------------------------------------------------------
77 | | Session Database Table
78 | |--------------------------------------------------------------------------
79 | |
80 | | When using the "database" session driver, you may specify the table we
81 | | should use to manage the sessions. Of course, a sensible default is
82 | | provided for you; however, you are free to change this as needed.
83 | |
84 | */
85 |
86 | 'table' => 'sessions',
87 |
88 | /*
89 | |--------------------------------------------------------------------------
90 | | Session Sweeping Lottery
91 | |--------------------------------------------------------------------------
92 | |
93 | | Some session drivers must manually sweep their storage location to get
94 | | rid of old sessions from storage. Here are the chances that it will
95 | | happen on a given request. By default, the odds are 2 out of 100.
96 | |
97 | */
98 |
99 | 'lottery' => [2, 100],
100 |
101 | /*
102 | |--------------------------------------------------------------------------
103 | | Session Cookie Name
104 | |--------------------------------------------------------------------------
105 | |
106 | | Here you may change the name of the cookie used to identify a session
107 | | instance by ID. The name specified here will get used every time a
108 | | new session cookie is created by the framework for every driver.
109 | |
110 | */
111 |
112 | 'cookie' => 'laravel_session',
113 |
114 | /*
115 | |--------------------------------------------------------------------------
116 | | Session Cookie Path
117 | |--------------------------------------------------------------------------
118 | |
119 | | The session cookie path determines the path for which the cookie will
120 | | be regarded as available. Typically, this will be the root path of
121 | | your application but you are free to change this when necessary.
122 | |
123 | */
124 |
125 | 'path' => '/',
126 |
127 | /*
128 | |--------------------------------------------------------------------------
129 | | Session Cookie Domain
130 | |--------------------------------------------------------------------------
131 | |
132 | | Here you may change the domain of the cookie used to identify a session
133 | | in your application. This will determine which domains the cookie is
134 | | available to in your application. A sensible default has been set.
135 | |
136 | */
137 |
138 | 'domain' => null,
139 |
140 | /*
141 | |--------------------------------------------------------------------------
142 | | HTTPS Only Cookies
143 | |--------------------------------------------------------------------------
144 | |
145 | | By setting this option to true, session cookies will only be sent back
146 | | to the server if the browser has a HTTPS connection. This will keep
147 | | the cookie from being sent to you if it can not be done securely.
148 | |
149 | */
150 |
151 | 'secure' => false,
152 |
153 | ];
154 |
--------------------------------------------------------------------------------
/config/view.php:
--------------------------------------------------------------------------------
1 | [
17 | realpath(base_path('resources/views'))
18 | ],
19 |
20 | /*
21 | |--------------------------------------------------------------------------
22 | | Compiled View Path
23 | |--------------------------------------------------------------------------
24 | |
25 | | This option determines where all the compiled Blade templates will be
26 | | stored for your application. Typically, this is within the storage
27 | | directory. However, as usual, you are free to change this value.
28 | |
29 | */
30 |
31 | 'compiled' => realpath(storage_path().'/framework/views'),
32 |
33 | ];
34 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/database/migrations/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/database/migrations/.gitkeep
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_000000_create_users_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
18 | $table->string('name');
19 | $table->string('email')->unique();
20 | $table->string('password', 60);
21 | $table->rememberToken();
22 | $table->timestamps();
23 | });
24 | }
25 |
26 | /**
27 | * Reverse the migrations.
28 | *
29 | * @return void
30 | */
31 | public function down()
32 | {
33 | Schema::drop('users');
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/database/migrations/2014_10_12_100000_create_password_resets_table.php:
--------------------------------------------------------------------------------
1 | string('email')->index();
18 | $table->string('token')->index();
19 | $table->timestamp('created_at');
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::drop('password_resets');
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/database/migrations/2015_06_01_014232_create_estados_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('estado');
18 | $table->string('sigla');
19 | });
20 | }
21 |
22 | /**
23 | * Reverse the migrations.
24 | *
25 | * @return void
26 | */
27 | public function down()
28 | {
29 | Schema::drop('estados');
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/database/migrations/2015_06_01_014241_create_cidades_table.php:
--------------------------------------------------------------------------------
1 | increments('id');
17 | $table->string('cidade');
18 | $table->integer('estado_id')->unsigned()->default(0);
19 | $table->foreign('estado_id')->references('id')->on('estados');
20 | });
21 | }
22 |
23 | /**
24 | * Reverse the migrations.
25 | *
26 | * @return void
27 | */
28 | public function down()
29 | {
30 | Schema::drop('cidades');
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/database/seeds/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/database/seeds/.gitkeep
--------------------------------------------------------------------------------
/database/seeds/DatabaseSeeder.php:
--------------------------------------------------------------------------------
1 | call('EstadosTableSeeder');
19 |
20 | // Cidades
21 | $this->call('CidadesAcreSeeder');
22 | $this->call('CidadesAlagoasSeeder');
23 | $this->call('CidadesAmapaSeeder');
24 | $this->call('CidadesAmazonasSeeder');
25 | $this->call('CidadesBahiaSeeder');
26 | $this->call('CidadesCearaSeeder');
27 | $this->call('CidadesDistritoFederalSeeder');
28 | $this->call('CidadesEspiritoSantoSeeder');
29 | $this->call('CidadesGoiasSeeder');
30 | $this->call('CidadesMaranhaoSeeder');
31 | $this->call('CidadesMatoGrossoSeeder');
32 | $this->call('CidadesMatoGrossoDoSulSeeder');
33 | $this->call('CidadesMinasGeraisSeeder');
34 | $this->call('CidadesParaSeeder');
35 | $this->call('CidadesParaibaSeeder');
36 | $this->call('CidadesParanaSeeder');
37 | $this->call('CidadesPernambucoSeeder');
38 | $this->call('CidadesPiauiSeeder');
39 | $this->call('CidadesRioDeJaneiroSeeder');
40 | $this->call('CidadesRioGrandeDoNorteSeeder');
41 | $this->call('CidadesRioGrandeDoSulSeeder');
42 | $this->call('CidadesRondoniaSeeder');
43 | $this->call('CidadesRoraimaSeeder');
44 | $this->call('CidadesSantaCatarinaSeeder');
45 | $this->call('CidadesSaoPauloSeeder');
46 | $this->call('CidadesSergipeSeeder');
47 | $this->call('CidadesTocantinsSeeder');
48 | }
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesAcreSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Acrelândia', 'estado_id' => 1],
17 | ['cidade' => 'Assis Brasil', 'estado_id' => 1],
18 | ['cidade' => 'Brasiléia', 'estado_id' => 1],
19 | ['cidade' => 'Bujari', 'estado_id' => 1],
20 | ['cidade' => 'Capixaba', 'estado_id' => 1],
21 | ['cidade' => 'Cruzeiro do Sul', 'estado_id' => 1],
22 | ['cidade' => 'Epitaciolândia', 'estado_id' => 1],
23 | ['cidade' => 'Feijó', 'estado_id' => 1],
24 | ['cidade' => 'Jordão', 'estado_id' => 1],
25 | ['cidade' => 'Mâncio Lima', 'estado_id' => 1],
26 | ['cidade' => 'Manoel Urbano', 'estado_id' => 1],
27 | ['cidade' => 'Marechal Thaumaturgo', 'estado_id' => 1],
28 | ['cidade' => 'Plácido de Castro', 'estado_id' => 1],
29 | ['cidade' => 'Porto Acre', 'estado_id' => 1],
30 | ['cidade' => 'Porto Walter', 'estado_id' => 1],
31 | ['cidade' => 'Rio Branco', 'estado_id' => 1],
32 | ['cidade' => 'Rodrigues Alves', 'estado_id' => 1],
33 | ['cidade' => 'Santa Rosa do Purus', 'estado_id' => 1],
34 | ['cidade' => 'Sena Madureira', 'estado_id' => 1],
35 | ['cidade' => 'Senador Guiomard', 'estado_id' => 1],
36 | ['cidade' => 'Tarauacá', 'estado_id' => 1],
37 | ['cidade' => 'Xapuri', 'estado_id' => 1]
38 | ]);
39 |
40 | $this->command->info('Cidades do Acre importadas com sucesso!');
41 | }
42 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesAmapaSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Amapá', 'estado_id' => 3],
17 | ['cidade' => 'Calçoene', 'estado_id' => 3],
18 | ['cidade' => 'Cutias', 'estado_id' => 3],
19 | ['cidade' => 'Ferreira Gomes', 'estado_id' => 3],
20 | ['cidade' => 'Itaubal', 'estado_id' => 3],
21 | ['cidade' => 'Laranjal do Jari', 'estado_id' => 3],
22 | ['cidade' => 'Macapá', 'estado_id' => 3],
23 | ['cidade' => 'Mazagão', 'estado_id' => 3],
24 | ['cidade' => 'Oiapoque', 'estado_id' => 3],
25 | ['cidade' => 'Pedra Branca do Amaparí', 'estado_id' => 3],
26 | ['cidade' => 'Porto Grande', 'estado_id' => 3],
27 | ['cidade' => 'Pracuúba', 'estado_id' => 3],
28 | ['cidade' => 'Santana', 'estado_id' => 3],
29 | ['cidade' => 'Serra do Navio', 'estado_id' => 3],
30 | ['cidade' => 'Tartarugalzinho', 'estado_id' => 3],
31 | ['cidade' => 'Vitória do Jari', 'estado_id' => 3]
32 | ]);
33 |
34 | $this->command->info('Cidades do Amapá importadas com sucesso!');
35 | }
36 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesAmazonasSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Alvarães', 'estado_id' => 4],
17 | ['cidade' => 'Amaturá', 'estado_id' => 4],
18 | ['cidade' => 'Anamã', 'estado_id' => 4],
19 | ['cidade' => 'Anori', 'estado_id' => 4],
20 | ['cidade' => 'Apuí', 'estado_id' => 4],
21 | ['cidade' => 'Atalaia do Norte', 'estado_id' => 4],
22 | ['cidade' => 'Autazes', 'estado_id' => 4],
23 | ['cidade' => 'Barcelos', 'estado_id' => 4],
24 | ['cidade' => 'Barreirinha', 'estado_id' => 4],
25 | ['cidade' => 'Benjamin Constant', 'estado_id' => 4],
26 | ['cidade' => 'Beruri', 'estado_id' => 4],
27 | ['cidade' => 'Boa Vista do Ramos', 'estado_id' => 4],
28 | ['cidade' => 'Boca do Acre', 'estado_id' => 4],
29 | ['cidade' => 'Borba', 'estado_id' => 4],
30 | ['cidade' => 'Caapiranga', 'estado_id' => 4],
31 | ['cidade' => 'Canutama', 'estado_id' => 4],
32 | ['cidade' => 'Carauari', 'estado_id' => 4],
33 | ['cidade' => 'Careiro', 'estado_id' => 4],
34 | ['cidade' => 'Careiro da Várzea', 'estado_id' => 4],
35 | ['cidade' => 'Coari', 'estado_id' => 4],
36 | ['cidade' => 'Codajás', 'estado_id' => 4],
37 | ['cidade' => 'Eirunepé', 'estado_id' => 4],
38 | ['cidade' => 'Envira', 'estado_id' => 4],
39 | ['cidade' => 'Fonte Boa', 'estado_id' => 4],
40 | ['cidade' => 'Guajará', 'estado_id' => 4],
41 | ['cidade' => 'Humaitá', 'estado_id' => 4],
42 | ['cidade' => 'Ipixuna', 'estado_id' => 4],
43 | ['cidade' => 'Iranduba', 'estado_id' => 4],
44 | ['cidade' => 'Itacoatiara', 'estado_id' => 4],
45 | ['cidade' => 'Itamarati', 'estado_id' => 4],
46 | ['cidade' => 'Itapiranga', 'estado_id' => 4],
47 | ['cidade' => 'Japurá', 'estado_id' => 4],
48 | ['cidade' => 'Juruá', 'estado_id' => 4],
49 | ['cidade' => 'Jutaí', 'estado_id' => 4],
50 | ['cidade' => 'Lábrea', 'estado_id' => 4],
51 | ['cidade' => 'Manacapuru', 'estado_id' => 4],
52 | ['cidade' => 'Manaquiri', 'estado_id' => 4],
53 | ['cidade' => 'Manaus', 'estado_id' => 4],
54 | ['cidade' => 'Manicoré', 'estado_id' => 4],
55 | ['cidade' => 'Maraã', 'estado_id' => 4],
56 | ['cidade' => 'Maués', 'estado_id' => 4],
57 | ['cidade' => 'Nhamundá', 'estado_id' => 4],
58 | ['cidade' => 'Nova Olinda do Norte', 'estado_id' => 4],
59 | ['cidade' => 'Novo Airão', 'estado_id' => 4],
60 | ['cidade' => 'Novo Aripuanã', 'estado_id' => 4],
61 | ['cidade' => 'Parintins', 'estado_id' => 4],
62 | ['cidade' => 'Pauini', 'estado_id' => 4],
63 | ['cidade' => 'Presidente Figueiredo', 'estado_id' => 4],
64 | ['cidade' => 'Rio Preto da Eva', 'estado_id' => 4],
65 | ['cidade' => 'Santa Isabel do Rio Negro', 'estado_id' => 4],
66 | ['cidade' => 'Santo Antônio do Içá', 'estado_id' => 4],
67 | ['cidade' => 'São Gabriel da Cachoeira', 'estado_id' => 4],
68 | ['cidade' => 'São Paulo de Olivença', 'estado_id' => 4],
69 | ['cidade' => 'São Sebastião do Uatumã', 'estado_id' => 4],
70 | ['cidade' => 'Silves', 'estado_id' => 4],
71 | ['cidade' => 'Tabatinga', 'estado_id' => 4],
72 | ['cidade' => 'Tapauá', 'estado_id' => 4],
73 | ['cidade' => 'Tefé', 'estado_id' => 4],
74 | ['cidade' => 'Tonantins', 'estado_id' => 4],
75 | ['cidade' => 'Uarini', 'estado_id' => 4],
76 | ['cidade' => 'Urucará', 'estado_id' => 4],
77 | ['cidade' => 'Urucurituba', 'estado_id' => 4]
78 | ]);
79 |
80 | $this->command->info('Cidades do Amazonas importadas com sucesso!');
81 | }
82 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesDistritoFederalSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Brasília', 'estado_id' => 7]
17 | ]);
18 |
19 | $this->command->info('Cidades do Distrito Federal importadas com sucesso!');
20 | }
21 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesEspiritoSantoSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Afonso Cláudio', 'estado_id' => 8],
17 | ['cidade' => 'Água Doce do Norte', 'estado_id' => 8],
18 | ['cidade' => 'Águia Branca', 'estado_id' => 8],
19 | ['cidade' => 'Alegre', 'estado_id' => 8],
20 | ['cidade' => 'Alfredo Chaves', 'estado_id' => 8],
21 | ['cidade' => 'Alto Rio Novo', 'estado_id' => 8],
22 | ['cidade' => 'Anchieta', 'estado_id' => 8],
23 | ['cidade' => 'Apiacá', 'estado_id' => 8],
24 | ['cidade' => 'Aracruz', 'estado_id' => 8],
25 | ['cidade' => 'Atilio Vivacqua', 'estado_id' => 8],
26 | ['cidade' => 'Baixo Guandu', 'estado_id' => 8],
27 | ['cidade' => 'Barra de São Francisco', 'estado_id' => 8],
28 | ['cidade' => 'Boa Esperança', 'estado_id' => 8],
29 | ['cidade' => 'Bom Jesus do Norte', 'estado_id' => 8],
30 | ['cidade' => 'Brejetuba', 'estado_id' => 8],
31 | ['cidade' => 'Cachoeiro de Itapemirim', 'estado_id' => 8],
32 | ['cidade' => 'Cariacica', 'estado_id' => 8],
33 | ['cidade' => 'Castelo', 'estado_id' => 8],
34 | ['cidade' => 'Colatina', 'estado_id' => 8],
35 | ['cidade' => 'Conceição da Barra', 'estado_id' => 8],
36 | ['cidade' => 'Conceição do Castelo', 'estado_id' => 8],
37 | ['cidade' => 'Divino de São Lourenço', 'estado_id' => 8],
38 | ['cidade' => 'Domingos Martins', 'estado_id' => 8],
39 | ['cidade' => 'Dores do Rio Preto', 'estado_id' => 8],
40 | ['cidade' => 'Ecoporanga', 'estado_id' => 8],
41 | ['cidade' => 'Fundão', 'estado_id' => 8],
42 | ['cidade' => 'Governador Lindenberg', 'estado_id' => 8],
43 | ['cidade' => 'Guaçuí', 'estado_id' => 8],
44 | ['cidade' => 'Guarapari', 'estado_id' => 8],
45 | ['cidade' => 'Ibatiba', 'estado_id' => 8],
46 | ['cidade' => 'Ibiraçu', 'estado_id' => 8],
47 | ['cidade' => 'Ibitirama', 'estado_id' => 8],
48 | ['cidade' => 'Iconha', 'estado_id' => 8],
49 | ['cidade' => 'Irupi', 'estado_id' => 8],
50 | ['cidade' => 'Itaguaçu', 'estado_id' => 8],
51 | ['cidade' => 'Itapemirim', 'estado_id' => 8],
52 | ['cidade' => 'Itarana', 'estado_id' => 8],
53 | ['cidade' => 'Iúna', 'estado_id' => 8],
54 | ['cidade' => 'Jaguaré', 'estado_id' => 8],
55 | ['cidade' => 'Jerônimo Monteiro', 'estado_id' => 8],
56 | ['cidade' => 'João Neiva', 'estado_id' => 8],
57 | ['cidade' => 'Laranja da Terra', 'estado_id' => 8],
58 | ['cidade' => 'Linhares', 'estado_id' => 8],
59 | ['cidade' => 'Mantenópolis', 'estado_id' => 8],
60 | ['cidade' => 'Marataízes', 'estado_id' => 8],
61 | ['cidade' => 'Marechal Floriano', 'estado_id' => 8],
62 | ['cidade' => 'Marilândia', 'estado_id' => 8],
63 | ['cidade' => 'Mimoso do Sul', 'estado_id' => 8],
64 | ['cidade' => 'Montanha', 'estado_id' => 8],
65 | ['cidade' => 'Mucurici', 'estado_id' => 8],
66 | ['cidade' => 'Muniz Freire', 'estado_id' => 8],
67 | ['cidade' => 'Muqui', 'estado_id' => 8],
68 | ['cidade' => 'Nova Venécia', 'estado_id' => 8],
69 | ['cidade' => 'Pancas', 'estado_id' => 8],
70 | ['cidade' => 'Pedro Canário', 'estado_id' => 8],
71 | ['cidade' => 'Pinheiros', 'estado_id' => 8],
72 | ['cidade' => 'Piúma', 'estado_id' => 8],
73 | ['cidade' => 'Ponto Belo', 'estado_id' => 8],
74 | ['cidade' => 'Presidente Kennedy', 'estado_id' => 8],
75 | ['cidade' => 'Rio Bananal', 'estado_id' => 8],
76 | ['cidade' => 'Rio Novo do Sul', 'estado_id' => 8],
77 | ['cidade' => 'Santa Leopoldina', 'estado_id' => 8],
78 | ['cidade' => 'Santa Maria de Jetibá', 'estado_id' => 8],
79 | ['cidade' => 'Santa Teresa', 'estado_id' => 8],
80 | ['cidade' => 'São Domingos do Norte', 'estado_id' => 8],
81 | ['cidade' => 'São Gabriel da Palha', 'estado_id' => 8],
82 | ['cidade' => 'São José do Calçado', 'estado_id' => 8],
83 | ['cidade' => 'São Mateus', 'estado_id' => 8],
84 | ['cidade' => 'São Roque do Canaã', 'estado_id' => 8],
85 | ['cidade' => 'Serra', 'estado_id' => 8],
86 | ['cidade' => 'Sooretama', 'estado_id' => 8],
87 | ['cidade' => 'Vargem Alta', 'estado_id' => 8],
88 | ['cidade' => 'Venda Nova do Imigrante', 'estado_id' => 8],
89 | ['cidade' => 'Viana', 'estado_id' => 8],
90 | ['cidade' => 'Vila Pavão', 'estado_id' => 8],
91 | ['cidade' => 'Vila Valério', 'estado_id' => 8],
92 | ['cidade' => 'Vila Velha', 'estado_id' => 8],
93 | ['cidade' => 'Vitória', 'estado_id' => 8]
94 | ]);
95 |
96 | $this->command->info('Cidades do Espírito Santo importadas com sucesso!');
97 | }
98 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesMatoGrossoDoSulSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Água Clara', 'estado_id' => 12],
17 | ['cidade' => 'Alcinópolis', 'estado_id' => 12],
18 | ['cidade' => 'Amambaí', 'estado_id' => 12],
19 | ['cidade' => 'Anastácio', 'estado_id' => 12],
20 | ['cidade' => 'Anaurilândia', 'estado_id' => 12],
21 | ['cidade' => 'Angélica', 'estado_id' => 12],
22 | ['cidade' => 'Antônio João', 'estado_id' => 12],
23 | ['cidade' => 'Aparecida do Taboado', 'estado_id' => 12],
24 | ['cidade' => 'Aquidauana', 'estado_id' => 12],
25 | ['cidade' => 'Aral Moreira', 'estado_id' => 12],
26 | ['cidade' => 'Bandeirantes', 'estado_id' => 12],
27 | ['cidade' => 'Bataguassu', 'estado_id' => 12],
28 | ['cidade' => 'Bataiporã', 'estado_id' => 12],
29 | ['cidade' => 'Bela Vista', 'estado_id' => 12],
30 | ['cidade' => 'Bodoquena', 'estado_id' => 12],
31 | ['cidade' => 'Bonito', 'estado_id' => 12],
32 | ['cidade' => 'Brasilândia', 'estado_id' => 12],
33 | ['cidade' => 'Caarapó', 'estado_id' => 12],
34 | ['cidade' => 'Camapuã', 'estado_id' => 12],
35 | ['cidade' => 'Campo Grande', 'estado_id' => 12],
36 | ['cidade' => 'Caracol', 'estado_id' => 12],
37 | ['cidade' => 'Cassilândia', 'estado_id' => 12],
38 | ['cidade' => 'Chapadão do Sul', 'estado_id' => 12],
39 | ['cidade' => 'Corguinho', 'estado_id' => 12],
40 | ['cidade' => 'Coronel Sapucaia', 'estado_id' => 12],
41 | ['cidade' => 'Corumbá', 'estado_id' => 12],
42 | ['cidade' => 'Costa Rica', 'estado_id' => 12],
43 | ['cidade' => 'Coxim', 'estado_id' => 12],
44 | ['cidade' => 'Deodápolis', 'estado_id' => 12],
45 | ['cidade' => 'Dois Irmãos do Buriti', 'estado_id' => 12],
46 | ['cidade' => 'Douradina', 'estado_id' => 12],
47 | ['cidade' => 'Dourados', 'estado_id' => 12],
48 | ['cidade' => 'Eldorado', 'estado_id' => 12],
49 | ['cidade' => 'Fátima do Sul', 'estado_id' => 12],
50 | ['cidade' => 'Figueirão', 'estado_id' => 12],
51 | ['cidade' => 'Glória de Dourados', 'estado_id' => 12],
52 | ['cidade' => 'Guia Lopes da Laguna', 'estado_id' => 12],
53 | ['cidade' => 'Iguatemi', 'estado_id' => 12],
54 | ['cidade' => 'Inocência', 'estado_id' => 12],
55 | ['cidade' => 'Itaporã', 'estado_id' => 12],
56 | ['cidade' => 'Itaquiraí', 'estado_id' => 12],
57 | ['cidade' => 'Ivinhema', 'estado_id' => 12],
58 | ['cidade' => 'Japorã', 'estado_id' => 12],
59 | ['cidade' => 'Jaraguari', 'estado_id' => 12],
60 | ['cidade' => 'Jardim', 'estado_id' => 12],
61 | ['cidade' => 'Jateí', 'estado_id' => 12],
62 | ['cidade' => 'Juti', 'estado_id' => 12],
63 | ['cidade' => 'Ladário', 'estado_id' => 12],
64 | ['cidade' => 'Laguna Carapã', 'estado_id' => 12],
65 | ['cidade' => 'Maracaju', 'estado_id' => 12],
66 | ['cidade' => 'Miranda', 'estado_id' => 12],
67 | ['cidade' => 'Mundo Novo', 'estado_id' => 12],
68 | ['cidade' => 'Naviraí', 'estado_id' => 12],
69 | ['cidade' => 'Nioaque', 'estado_id' => 12],
70 | ['cidade' => 'Nova Alvorada do Sul', 'estado_id' => 12],
71 | ['cidade' => 'Nova Andradina', 'estado_id' => 12],
72 | ['cidade' => 'Novo Horizonte do Sul', 'estado_id' => 12],
73 | ['cidade' => 'Paranaíba', 'estado_id' => 12],
74 | ['cidade' => 'Paranhos', 'estado_id' => 12],
75 | ['cidade' => 'Pedro Gomes', 'estado_id' => 12],
76 | ['cidade' => 'Ponta Porã', 'estado_id' => 12],
77 | ['cidade' => 'Porto Murtinho', 'estado_id' => 12],
78 | ['cidade' => 'Ribas do Rio Pardo', 'estado_id' => 12],
79 | ['cidade' => 'Rio Brilhante', 'estado_id' => 12],
80 | ['cidade' => 'Rio Negro', 'estado_id' => 12],
81 | ['cidade' => 'Rio Verde de Mato Grosso', 'estado_id' => 12],
82 | ['cidade' => 'Rochedo', 'estado_id' => 12],
83 | ['cidade' => 'Santa Rita do Pardo', 'estado_id' => 12],
84 | ['cidade' => 'São Gabriel do Oeste', 'estado_id' => 12],
85 | ['cidade' => 'Selvíria', 'estado_id' => 12],
86 | ['cidade' => 'Sete Quedas', 'estado_id' => 12],
87 | ['cidade' => 'Sidrolândia', 'estado_id' => 12],
88 | ['cidade' => 'Sonora', 'estado_id' => 12],
89 | ['cidade' => 'Tacuru', 'estado_id' => 12],
90 | ['cidade' => 'Taquarussu', 'estado_id' => 12],
91 | ['cidade' => 'Terenos', 'estado_id' => 12],
92 | ['cidade' => 'Três Lagoas', 'estado_id' => 12],
93 | ['cidade' => 'Vicentina', 'estado_id' => 12]
94 | ]);
95 |
96 | $this->command->info('Cidades do Mato Grosso do Sul importadas com sucesso!');
97 | }
98 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesRondoniaSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Alta Floresta d`Oeste', 'estado_id' => 22],
17 | ['cidade' => 'Alto Alegre dos Parecis', 'estado_id' => 22],
18 | ['cidade' => 'Alto Paraíso', 'estado_id' => 22],
19 | ['cidade' => 'Alvorada d`Oeste', 'estado_id' => 22],
20 | ['cidade' => 'Ariquemes', 'estado_id' => 22],
21 | ['cidade' => 'Buritis', 'estado_id' => 22],
22 | ['cidade' => 'Cabixi', 'estado_id' => 22],
23 | ['cidade' => 'Cacaulândia', 'estado_id' => 22],
24 | ['cidade' => 'Cacoal', 'estado_id' => 22],
25 | ['cidade' => 'Campo Novo de Rondônia', 'estado_id' => 22],
26 | ['cidade' => 'Candeias do Jamari', 'estado_id' => 22],
27 | ['cidade' => 'Castanheiras', 'estado_id' => 22],
28 | ['cidade' => 'Cerejeiras', 'estado_id' => 22],
29 | ['cidade' => 'Chupinguaia', 'estado_id' => 22],
30 | ['cidade' => 'Colorado do Oeste', 'estado_id' => 22],
31 | ['cidade' => 'Corumbiara', 'estado_id' => 22],
32 | ['cidade' => 'Costa Marques', 'estado_id' => 22],
33 | ['cidade' => 'Cujubim', 'estado_id' => 22],
34 | ['cidade' => 'Espigão d`Oeste', 'estado_id' => 22],
35 | ['cidade' => 'Governador Jorge Teixeira', 'estado_id' => 22],
36 | ['cidade' => 'Guajará-Mirim', 'estado_id' => 22],
37 | ['cidade' => 'Itapuã do Oeste', 'estado_id' => 22],
38 | ['cidade' => 'Jaru', 'estado_id' => 22],
39 | ['cidade' => 'Ji-Paraná', 'estado_id' => 22],
40 | ['cidade' => 'Machadinho d`Oeste', 'estado_id' => 22],
41 | ['cidade' => 'Ministro Andreazza', 'estado_id' => 22],
42 | ['cidade' => 'Mirante da Serra', 'estado_id' => 22],
43 | ['cidade' => 'Monte Negro', 'estado_id' => 22],
44 | ['cidade' => 'Nova Brasilândia d`Oeste', 'estado_id' => 22],
45 | ['cidade' => 'Nova Mamoré', 'estado_id' => 22],
46 | ['cidade' => 'Nova União', 'estado_id' => 22],
47 | ['cidade' => 'Novo Horizonte do Oeste', 'estado_id' => 22],
48 | ['cidade' => 'Ouro Preto do Oeste', 'estado_id' => 22],
49 | ['cidade' => 'Parecis', 'estado_id' => 22],
50 | ['cidade' => 'Pimenta Bueno', 'estado_id' => 22],
51 | ['cidade' => 'Pimenteiras do Oeste', 'estado_id' => 22],
52 | ['cidade' => 'Porto Velho', 'estado_id' => 22],
53 | ['cidade' => 'Presidente Médici', 'estado_id' => 22],
54 | ['cidade' => 'Primavera de Rondônia', 'estado_id' => 22],
55 | ['cidade' => 'Rio Crespo', 'estado_id' => 22],
56 | ['cidade' => 'Rolim de Moura', 'estado_id' => 22],
57 | ['cidade' => 'Santa Luzia d`Oeste', 'estado_id' => 22],
58 | ['cidade' => 'São Felipe d`Oeste', 'estado_id' => 22],
59 | ['cidade' => 'São Francisco do Guaporé', 'estado_id' => 22],
60 | ['cidade' => 'São Miguel do Guaporé', 'estado_id' => 22],
61 | ['cidade' => 'Seringueiras', 'estado_id' => 22],
62 | ['cidade' => 'Teixeirópolis', 'estado_id' => 22],
63 | ['cidade' => 'Theobroma', 'estado_id' => 22],
64 | ['cidade' => 'Urupá', 'estado_id' => 22],
65 | ['cidade' => 'Vale do Anari', 'estado_id' => 22],
66 | ['cidade' => 'Vale do Paraíso', 'estado_id' => 22],
67 | ['cidade' => 'Vilhena', 'estado_id' => 22]
68 | ]);
69 |
70 | $this->command->info('Cidades de Rondônia importadas com sucesso!');
71 | }
72 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesRoraimaSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Alto Alegre', 'estado_id' => 23],
17 | ['cidade' => 'Amajari', 'estado_id' => 23],
18 | ['cidade' => 'Boa Vista', 'estado_id' => 23],
19 | ['cidade' => 'Bonfim', 'estado_id' => 23],
20 | ['cidade' => 'Cantá', 'estado_id' => 23],
21 | ['cidade' => 'Caracaraí', 'estado_id' => 23],
22 | ['cidade' => 'Caroebe', 'estado_id' => 23],
23 | ['cidade' => 'Iracema', 'estado_id' => 23],
24 | ['cidade' => 'Mucajaí', 'estado_id' => 23],
25 | ['cidade' => 'Normandia', 'estado_id' => 23],
26 | ['cidade' => 'Pacaraima', 'estado_id' => 23],
27 | ['cidade' => 'Rorainópolis', 'estado_id' => 23],
28 | ['cidade' => 'São João da Baliza', 'estado_id' => 23],
29 | ['cidade' => 'São Luiz', 'estado_id' => 23],
30 | ['cidade' => 'Uiramutã', 'estado_id' => 23]
31 | ]);
32 |
33 | $this->command->info('Cidades de Roraima importadas com sucesso!');
34 | }
35 | }
--------------------------------------------------------------------------------
/database/seeds/Estados/CidadesSergipeSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
16 | ['cidade' => 'Amparo de São Francisco', 'estado_id' => 26],
17 | ['cidade' => 'Aquidabã', 'estado_id' => 26],
18 | ['cidade' => 'Aracaju', 'estado_id' => 26],
19 | ['cidade' => 'Arauá', 'estado_id' => 26],
20 | ['cidade' => 'Areia Branca', 'estado_id' => 26],
21 | ['cidade' => 'Barra dos Coqueiros', 'estado_id' => 26],
22 | ['cidade' => 'Boquim', 'estado_id' => 26],
23 | ['cidade' => 'Brejo Grande', 'estado_id' => 26],
24 | ['cidade' => 'Campo do Brito', 'estado_id' => 26],
25 | ['cidade' => 'Canhoba', 'estado_id' => 26],
26 | ['cidade' => 'Canindé de São Francisco', 'estado_id' => 26],
27 | ['cidade' => 'Capela', 'estado_id' => 26],
28 | ['cidade' => 'Carira', 'estado_id' => 26],
29 | ['cidade' => 'Carmópolis', 'estado_id' => 26],
30 | ['cidade' => 'Cedro de São João', 'estado_id' => 26],
31 | ['cidade' => 'Cristinápolis', 'estado_id' => 26],
32 | ['cidade' => 'Cumbe', 'estado_id' => 26],
33 | ['cidade' => 'Divina Pastora', 'estado_id' => 26],
34 | ['cidade' => 'Estância', 'estado_id' => 26],
35 | ['cidade' => 'Feira Nova', 'estado_id' => 26],
36 | ['cidade' => 'Frei Paulo', 'estado_id' => 26],
37 | ['cidade' => 'Gararu', 'estado_id' => 26],
38 | ['cidade' => 'General Maynard', 'estado_id' => 26],
39 | ['cidade' => 'Gracho Cardoso', 'estado_id' => 26],
40 | ['cidade' => 'Ilha das Flores', 'estado_id' => 26],
41 | ['cidade' => 'Indiaroba', 'estado_id' => 26],
42 | ['cidade' => 'Itabaiana', 'estado_id' => 26],
43 | ['cidade' => 'Itabaianinha', 'estado_id' => 26],
44 | ['cidade' => 'Itabi', 'estado_id' => 26],
45 | ['cidade' => 'Itaporanga d`Ajuda', 'estado_id' => 26],
46 | ['cidade' => 'Japaratuba', 'estado_id' => 26],
47 | ['cidade' => 'Japoatã', 'estado_id' => 26],
48 | ['cidade' => 'Lagarto', 'estado_id' => 26],
49 | ['cidade' => 'Laranjeiras', 'estado_id' => 26],
50 | ['cidade' => 'Macambira', 'estado_id' => 26],
51 | ['cidade' => 'Malhada dos Bois', 'estado_id' => 26],
52 | ['cidade' => 'Malhador', 'estado_id' => 26],
53 | ['cidade' => 'Maruim', 'estado_id' => 26],
54 | ['cidade' => 'Moita Bonita', 'estado_id' => 26],
55 | ['cidade' => 'Monte Alegre de Sergipe', 'estado_id' => 26],
56 | ['cidade' => 'Muribeca', 'estado_id' => 26],
57 | ['cidade' => 'Neópolis', 'estado_id' => 26],
58 | ['cidade' => 'Nossa Senhora Aparecida', 'estado_id' => 26],
59 | ['cidade' => 'Nossa Senhora da Glória', 'estado_id' => 26],
60 | ['cidade' => 'Nossa Senhora das Dores', 'estado_id' => 26],
61 | ['cidade' => 'Nossa Senhora de Lourdes', 'estado_id' => 26],
62 | ['cidade' => 'Nossa Senhora do Socorro', 'estado_id' => 26],
63 | ['cidade' => 'Pacatuba', 'estado_id' => 26],
64 | ['cidade' => 'Pedra Mole', 'estado_id' => 26],
65 | ['cidade' => 'Pedrinhas', 'estado_id' => 26],
66 | ['cidade' => 'Pinhão', 'estado_id' => 26],
67 | ['cidade' => 'Pirambu', 'estado_id' => 26],
68 | ['cidade' => 'Poço Redondo', 'estado_id' => 26],
69 | ['cidade' => 'Poço Verde', 'estado_id' => 26],
70 | ['cidade' => 'Porto da Folha', 'estado_id' => 26],
71 | ['cidade' => 'Propriá', 'estado_id' => 26],
72 | ['cidade' => 'Riachão do Dantas', 'estado_id' => 26],
73 | ['cidade' => 'Riachuelo', 'estado_id' => 26],
74 | ['cidade' => 'Ribeirópolis', 'estado_id' => 26],
75 | ['cidade' => 'Rosário do Catete', 'estado_id' => 26],
76 | ['cidade' => 'Salgado', 'estado_id' => 26],
77 | ['cidade' => 'Santa Luzia do Itanhy', 'estado_id' => 26],
78 | ['cidade' => 'Santa Rosa de Lima', 'estado_id' => 26],
79 | ['cidade' => 'Santana do São Francisco', 'estado_id' => 26],
80 | ['cidade' => 'Santo Amaro das Brotas', 'estado_id' => 26],
81 | ['cidade' => 'São Cristóvão', 'estado_id' => 26],
82 | ['cidade' => 'São Domingos', 'estado_id' => 26],
83 | ['cidade' => 'São Francisco', 'estado_id' => 26],
84 | ['cidade' => 'São Miguel do Aleixo', 'estado_id' => 26],
85 | ['cidade' => 'Simão Dias', 'estado_id' => 26],
86 | ['cidade' => 'Siriri', 'estado_id' => 26],
87 | ['cidade' => 'Telha', 'estado_id' => 26],
88 | ['cidade' => 'Tobias Barreto', 'estado_id' => 26],
89 | ['cidade' => 'Tomar do Geru', 'estado_id' => 26],
90 | ['cidade' => 'Umbaúba', 'estado_id' => 26]
91 | ]);
92 |
93 | $this->command->info('Cidades de Sergipe importadas com sucesso!');
94 | }
95 | }
--------------------------------------------------------------------------------
/database/seeds/EstadosTableSeeder.php:
--------------------------------------------------------------------------------
1 | insert([
11 | ['estado' => 'Acre', 'sigla' => 'AC'],
12 | ['estado' => 'Alagoas', 'sigla' => 'AL'],
13 | ['estado' => 'Amapá', 'sigla' => 'AP'],
14 | ['estado' => 'Amazonas', 'sigla' => 'AM'],
15 | ['estado' => 'Bahia', 'sigla' => 'BA'],
16 | ['estado' => 'Ceará', 'sigla' => 'CE'],
17 | ['estado' => 'Distrito Federal', 'sigla' => 'DF'],
18 | ['estado' => 'Espírito Santo', 'sigla' => 'ES'],
19 | ['estado' => 'Goiás', 'sigla' => 'GO'],
20 | ['estado' => 'Maranhão', 'sigla' => 'MA'],
21 | ['estado' => 'Mato Grosso', 'sigla' => 'MT'],
22 | ['estado' => 'Mato Grosso do Sul', 'sigla' => 'MS'],
23 | ['estado' => 'Minas Gerais', 'sigla' => 'MG'],
24 | ['estado' => 'Pará', 'sigla' => 'PA'],
25 | ['estado' => 'Paraíba', 'sigla' => 'PB'],
26 | ['estado' => 'Paraná', 'sigla' => 'PR'],
27 | ['estado' => 'Pernambuco', 'sigla' => 'PE'],
28 | ['estado' => 'Piauí', 'sigla' => 'PI'],
29 | ['estado' => 'Rio de Janeiro', 'sigla' => 'RJ'],
30 | ['estado' => 'Rio Grande do Norte', 'sigla' => 'RN'],
31 | ['estado' => 'Rio Grande do Sul', 'sigla' => 'RS'],
32 | ['estado' => 'Rondônia', 'sigla' => 'RO'],
33 | ['estado' => 'Roraima', 'sigla' => 'RR'],
34 | ['estado' => 'Santa Catarina', 'sigla' => 'SC'],
35 | ['estado' => 'São Paulo', 'sigla' => 'SP'],
36 | ['estado' => 'Sergipe', 'sigla' => 'SE'],
37 | ['estado' => 'Tocantins', 'sigla' => 'TO']
38 | ]);
39 |
40 | $this->command->info('Estados Brasileiros importados com sucesso!');
41 | }
42 | }
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | var elixir = require('laravel-elixir');
2 |
3 | /*
4 | |--------------------------------------------------------------------------
5 | | Elixir Asset Management
6 | |--------------------------------------------------------------------------
7 | |
8 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks
9 | | for your Laravel application. By default, we are compiling the Less
10 | | file for our application, as well as publishing vendor resources.
11 | |
12 | */
13 |
14 | elixir(function(mix) {
15 | mix.less('app.less');
16 | });
17 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "devDependencies": {
4 | "gulp": "^3.8.8",
5 | "laravel-elixir": "^1.0.0"
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/phpspec.yml:
--------------------------------------------------------------------------------
1 | suites:
2 | main:
3 | namespace: App
4 | psr4_prefix: App
5 | src_path: app
--------------------------------------------------------------------------------
/phpunit.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 | ./tests/
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/public/.htaccess:
--------------------------------------------------------------------------------
1 |
2 |
3 | Options -MultiViews
4 |
5 |
6 | RewriteEngine On
7 |
8 | # Redirect Trailing Slashes...
9 | RewriteRule ^(.*)/$ /$1 [L,R=301]
10 |
11 | # Handle Front Controller...
12 | RewriteCond %{REQUEST_FILENAME} !-d
13 | RewriteCond %{REQUEST_FILENAME} !-f
14 | RewriteRule ^ index.php [L]
15 |
16 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/public/favicon.ico
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/public/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/public/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/public/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/public/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codeedu/laravel-estados-cidades/45c7fd0d5356b527250d35be2692c0970ad49d08/public/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/public/index.php:
--------------------------------------------------------------------------------
1 |
7 | */
8 |
9 | /*
10 | |--------------------------------------------------------------------------
11 | | Register The Auto Loader
12 | |--------------------------------------------------------------------------
13 | |
14 | | Composer provides a convenient, automatically generated class loader for
15 | | our application. We just need to utilize it! We'll simply require it
16 | | into the script here so that we don't have to worry about manual
17 | | loading any of our classes later on. It feels nice to relax.
18 | |
19 | */
20 |
21 | require __DIR__.'/../bootstrap/autoload.php';
22 |
23 | /*
24 | |--------------------------------------------------------------------------
25 | | Turn On The Lights
26 | |--------------------------------------------------------------------------
27 | |
28 | | We need to illuminate PHP development, so let us turn on the lights.
29 | | This bootstraps the framework and gets it ready for use, then it
30 | | will load up this application so that we can run it and send
31 | | the responses back to the browser and delight our users.
32 | |
33 | */
34 |
35 | $app = require_once __DIR__.'/../bootstrap/app.php';
36 |
37 | /*
38 | |--------------------------------------------------------------------------
39 | | Run The Application
40 | |--------------------------------------------------------------------------
41 | |
42 | | Once we have the application, we can handle the incoming request
43 | | through the kernel, and send the associated response back to
44 | | the client's browser allowing them to enjoy the creative
45 | | and wonderful application we have prepared for them.
46 | |
47 | */
48 |
49 | $kernel = $app->make('Illuminate\Contracts\Http\Kernel');
50 |
51 | $response = $kernel->handle(
52 | $request = Illuminate\Http\Request::capture()
53 | );
54 |
55 | $response->send();
56 |
57 | $kernel->terminate($request, $response);
58 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | ## Laravel PHP Framework
2 |
3 | [](https://travis-ci.org/laravel/framework)
4 | [](https://packagist.org/packages/laravel/framework)
5 | [](https://packagist.org/packages/laravel/framework)
6 | [](https://packagist.org/packages/laravel/framework)
7 | [](https://packagist.org/packages/laravel/framework)
8 |
9 | Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
10 |
11 | Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
12 |
13 | ## Official Documentation
14 |
15 | Documentation for the framework can be found on the [Laravel website](http://laravel.com/docs).
16 |
17 | ## Contributing
18 |
19 | Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions).
20 |
21 | ## Security Vulnerabilities
22 |
23 | If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.
24 |
25 | ### License
26 |
27 | The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)
28 |
--------------------------------------------------------------------------------
/resources/assets/less/app.less:
--------------------------------------------------------------------------------
1 | @import "bootstrap/bootstrap";
2 |
3 | @btn-font-weight: 300;
4 | @font-family-sans-serif: "Roboto", Helvetica, Arial, sans-serif;
5 |
6 | body, label, .checkbox label {
7 | font-weight: 300;
8 | }
9 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/alerts.less:
--------------------------------------------------------------------------------
1 | //
2 | // Alerts
3 | // --------------------------------------------------
4 |
5 |
6 | // Base styles
7 | // -------------------------
8 |
9 | .alert {
10 | padding: @alert-padding;
11 | margin-bottom: @line-height-computed;
12 | border: 1px solid transparent;
13 | border-radius: @alert-border-radius;
14 |
15 | // Headings for larger alerts
16 | h4 {
17 | margin-top: 0;
18 | // Specified for the h4 to prevent conflicts of changing @headings-color
19 | color: inherit;
20 | }
21 | // Provide class for links that match alerts
22 | .alert-link {
23 | font-weight: @alert-link-font-weight;
24 | }
25 |
26 | // Improve alignment and spacing of inner content
27 | > p,
28 | > ul {
29 | margin-bottom: 0;
30 | }
31 | > p + p {
32 | margin-top: 5px;
33 | }
34 | }
35 |
36 | // Dismissible alerts
37 | //
38 | // Expand the right padding and account for the close button's positioning.
39 |
40 | .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
41 | .alert-dismissible {
42 | padding-right: (@alert-padding + 20);
43 |
44 | // Adjust close link position
45 | .close {
46 | position: relative;
47 | top: -2px;
48 | right: -21px;
49 | color: inherit;
50 | }
51 | }
52 |
53 | // Alternate styles
54 | //
55 | // Generate contextual modifier classes for colorizing the alert.
56 |
57 | .alert-success {
58 | .alert-variant(@alert-success-bg; @alert-success-border; @alert-success-text);
59 | }
60 | .alert-info {
61 | .alert-variant(@alert-info-bg; @alert-info-border; @alert-info-text);
62 | }
63 | .alert-warning {
64 | .alert-variant(@alert-warning-bg; @alert-warning-border; @alert-warning-text);
65 | }
66 | .alert-danger {
67 | .alert-variant(@alert-danger-bg; @alert-danger-border; @alert-danger-text);
68 | }
69 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/badges.less:
--------------------------------------------------------------------------------
1 | //
2 | // Badges
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | .badge {
8 | display: inline-block;
9 | min-width: 10px;
10 | padding: 3px 7px;
11 | font-size: @font-size-small;
12 | font-weight: @badge-font-weight;
13 | color: @badge-color;
14 | line-height: @badge-line-height;
15 | vertical-align: baseline;
16 | white-space: nowrap;
17 | text-align: center;
18 | background-color: @badge-bg;
19 | border-radius: @badge-border-radius;
20 |
21 | // Empty badges collapse automatically (not available in IE8)
22 | &:empty {
23 | display: none;
24 | }
25 |
26 | // Quick fix for badges in buttons
27 | .btn & {
28 | position: relative;
29 | top: -1px;
30 | }
31 | .btn-xs & {
32 | top: 0;
33 | padding: 1px 5px;
34 | }
35 |
36 | // Hover state, but only for links
37 | a& {
38 | &:hover,
39 | &:focus {
40 | color: @badge-link-hover-color;
41 | text-decoration: none;
42 | cursor: pointer;
43 | }
44 | }
45 |
46 | // Account for badges in navs
47 | .list-group-item.active > &,
48 | .nav-pills > .active > a > & {
49 | color: @badge-active-color;
50 | background-color: @badge-active-bg;
51 | }
52 | .list-group-item > & {
53 | float: right;
54 | }
55 | .list-group-item > & + & {
56 | margin-right: 5px;
57 | }
58 | .nav-pills > li > a > & {
59 | margin-left: 3px;
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/bootstrap.less:
--------------------------------------------------------------------------------
1 | // Core variables and mixins
2 | @import "variables.less";
3 | @import "mixins.less";
4 |
5 | // Reset and dependencies
6 | @import "normalize.less";
7 | @import "print.less";
8 | @import "glyphicons.less";
9 |
10 | // Core CSS
11 | @import "scaffolding.less";
12 | @import "type.less";
13 | @import "code.less";
14 | @import "grid.less";
15 | @import "tables.less";
16 | @import "forms.less";
17 | @import "buttons.less";
18 |
19 | // Components
20 | @import "component-animations.less";
21 | @import "dropdowns.less";
22 | @import "button-groups.less";
23 | @import "input-groups.less";
24 | @import "navs.less";
25 | @import "navbar.less";
26 | @import "breadcrumbs.less";
27 | @import "pagination.less";
28 | @import "pager.less";
29 | @import "labels.less";
30 | @import "badges.less";
31 | @import "jumbotron.less";
32 | @import "thumbnails.less";
33 | @import "alerts.less";
34 | @import "progress-bars.less";
35 | @import "media.less";
36 | @import "list-group.less";
37 | @import "panels.less";
38 | @import "responsive-embed.less";
39 | @import "wells.less";
40 | @import "close.less";
41 |
42 | // Components w/ JavaScript
43 | @import "modals.less";
44 | @import "tooltip.less";
45 | @import "popovers.less";
46 | @import "carousel.less";
47 |
48 | // Utility classes
49 | @import "utilities.less";
50 | @import "responsive-utilities.less";
51 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/breadcrumbs.less:
--------------------------------------------------------------------------------
1 | //
2 | // Breadcrumbs
3 | // --------------------------------------------------
4 |
5 |
6 | .breadcrumb {
7 | padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
8 | margin-bottom: @line-height-computed;
9 | list-style: none;
10 | background-color: @breadcrumb-bg;
11 | border-radius: @border-radius-base;
12 |
13 | > li {
14 | display: inline-block;
15 |
16 | + li:before {
17 | content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space
18 | padding: 0 5px;
19 | color: @breadcrumb-color;
20 | }
21 | }
22 |
23 | > .active {
24 | color: @breadcrumb-active-color;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/buttons.less:
--------------------------------------------------------------------------------
1 | //
2 | // Buttons
3 | // --------------------------------------------------
4 |
5 |
6 | // Base styles
7 | // --------------------------------------------------
8 |
9 | .btn {
10 | display: inline-block;
11 | margin-bottom: 0; // For input.btn
12 | font-weight: @btn-font-weight;
13 | text-align: center;
14 | vertical-align: middle;
15 | touch-action: manipulation;
16 | cursor: pointer;
17 | background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
18 | border: 1px solid transparent;
19 | white-space: nowrap;
20 | .button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
21 | .user-select(none);
22 |
23 | &,
24 | &:active,
25 | &.active {
26 | &:focus,
27 | &.focus {
28 | .tab-focus();
29 | }
30 | }
31 |
32 | &:hover,
33 | &:focus,
34 | &.focus {
35 | color: @btn-default-color;
36 | text-decoration: none;
37 | }
38 |
39 | &:active,
40 | &.active {
41 | outline: 0;
42 | background-image: none;
43 | .box-shadow(inset 0 3px 5px rgba(0,0,0,.125));
44 | }
45 |
46 | &.disabled,
47 | &[disabled],
48 | fieldset[disabled] & {
49 | cursor: @cursor-disabled;
50 | pointer-events: none; // Future-proof disabling of clicks
51 | .opacity(.65);
52 | .box-shadow(none);
53 | }
54 | }
55 |
56 |
57 | // Alternate buttons
58 | // --------------------------------------------------
59 |
60 | .btn-default {
61 | .button-variant(@btn-default-color; @btn-default-bg; @btn-default-border);
62 | }
63 | .btn-primary {
64 | .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-border);
65 | }
66 | // Success appears as green
67 | .btn-success {
68 | .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
69 | }
70 | // Info appears as blue-green
71 | .btn-info {
72 | .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
73 | }
74 | // Warning appears as orange
75 | .btn-warning {
76 | .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
77 | }
78 | // Danger and error appear as red
79 | .btn-danger {
80 | .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
81 | }
82 |
83 |
84 | // Link buttons
85 | // -------------------------
86 |
87 | // Make a button look and behave like a link
88 | .btn-link {
89 | color: @link-color;
90 | font-weight: normal;
91 | border-radius: 0;
92 |
93 | &,
94 | &:active,
95 | &.active,
96 | &[disabled],
97 | fieldset[disabled] & {
98 | background-color: transparent;
99 | .box-shadow(none);
100 | }
101 | &,
102 | &:hover,
103 | &:focus,
104 | &:active {
105 | border-color: transparent;
106 | }
107 | &:hover,
108 | &:focus {
109 | color: @link-hover-color;
110 | text-decoration: underline;
111 | background-color: transparent;
112 | }
113 | &[disabled],
114 | fieldset[disabled] & {
115 | &:hover,
116 | &:focus {
117 | color: @btn-link-disabled-color;
118 | text-decoration: none;
119 | }
120 | }
121 | }
122 |
123 |
124 | // Button Sizes
125 | // --------------------------------------------------
126 |
127 | .btn-lg {
128 | // line-height: ensure even-numbered height of button next to large input
129 | .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large);
130 | }
131 | .btn-sm {
132 | // line-height: ensure proper height of button next to small input
133 | .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small);
134 | }
135 | .btn-xs {
136 | .button-size(@padding-xs-vertical; @padding-xs-horizontal; @font-size-small; @line-height-small; @border-radius-small);
137 | }
138 |
139 |
140 | // Block button
141 | // --------------------------------------------------
142 |
143 | .btn-block {
144 | display: block;
145 | width: 100%;
146 | }
147 |
148 | // Vertically space out multiple block buttons
149 | .btn-block + .btn-block {
150 | margin-top: 5px;
151 | }
152 |
153 | // Specificity overrides
154 | input[type="submit"],
155 | input[type="reset"],
156 | input[type="button"] {
157 | &.btn-block {
158 | width: 100%;
159 | }
160 | }
161 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/close.less:
--------------------------------------------------------------------------------
1 | //
2 | // Close icons
3 | // --------------------------------------------------
4 |
5 |
6 | .close {
7 | float: right;
8 | font-size: (@font-size-base * 1.5);
9 | font-weight: @close-font-weight;
10 | line-height: 1;
11 | color: @close-color;
12 | text-shadow: @close-text-shadow;
13 | .opacity(.2);
14 |
15 | &:hover,
16 | &:focus {
17 | color: @close-color;
18 | text-decoration: none;
19 | cursor: pointer;
20 | .opacity(.5);
21 | }
22 |
23 | // Additional properties for button version
24 | // iOS requires the button element instead of an anchor tag.
25 | // If you want the anchor version, it requires `href="#"`.
26 | button& {
27 | padding: 0;
28 | cursor: pointer;
29 | background: transparent;
30 | border: 0;
31 | -webkit-appearance: none;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/code.less:
--------------------------------------------------------------------------------
1 | //
2 | // Code (inline and block)
3 | // --------------------------------------------------
4 |
5 |
6 | // Inline and block code styles
7 | code,
8 | kbd,
9 | pre,
10 | samp {
11 | font-family: @font-family-monospace;
12 | }
13 |
14 | // Inline code
15 | code {
16 | padding: 2px 4px;
17 | font-size: 90%;
18 | color: @code-color;
19 | background-color: @code-bg;
20 | border-radius: @border-radius-base;
21 | }
22 |
23 | // User input typically entered via keyboard
24 | kbd {
25 | padding: 2px 4px;
26 | font-size: 90%;
27 | color: @kbd-color;
28 | background-color: @kbd-bg;
29 | border-radius: @border-radius-small;
30 | box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
31 |
32 | kbd {
33 | padding: 0;
34 | font-size: 100%;
35 | font-weight: bold;
36 | box-shadow: none;
37 | }
38 | }
39 |
40 | // Blocks of code
41 | pre {
42 | display: block;
43 | padding: ((@line-height-computed - 1) / 2);
44 | margin: 0 0 (@line-height-computed / 2);
45 | font-size: (@font-size-base - 1); // 14px to 13px
46 | line-height: @line-height-base;
47 | word-break: break-all;
48 | word-wrap: break-word;
49 | color: @pre-color;
50 | background-color: @pre-bg;
51 | border: 1px solid @pre-border-color;
52 | border-radius: @border-radius-base;
53 |
54 | // Account for some code outputs that place code tags in pre tags
55 | code {
56 | padding: 0;
57 | font-size: inherit;
58 | color: inherit;
59 | white-space: pre-wrap;
60 | background-color: transparent;
61 | border-radius: 0;
62 | }
63 | }
64 |
65 | // Enable scrollable blocks of code
66 | .pre-scrollable {
67 | max-height: @pre-scrollable-max-height;
68 | overflow-y: scroll;
69 | }
70 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/component-animations.less:
--------------------------------------------------------------------------------
1 | //
2 | // Component animations
3 | // --------------------------------------------------
4 |
5 | // Heads up!
6 | //
7 | // We don't use the `.opacity()` mixin here since it causes a bug with text
8 | // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
9 |
10 | .fade {
11 | opacity: 0;
12 | .transition(opacity .15s linear);
13 | &.in {
14 | opacity: 1;
15 | }
16 | }
17 |
18 | .collapse {
19 | display: none;
20 | visibility: hidden;
21 |
22 | &.in { display: block; visibility: visible; }
23 | tr&.in { display: table-row; }
24 | tbody&.in { display: table-row-group; }
25 | }
26 |
27 | .collapsing {
28 | position: relative;
29 | height: 0;
30 | overflow: hidden;
31 | .transition-property(~"height, visibility");
32 | .transition-duration(.35s);
33 | .transition-timing-function(ease);
34 | }
35 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/grid.less:
--------------------------------------------------------------------------------
1 | //
2 | // Grid system
3 | // --------------------------------------------------
4 |
5 |
6 | // Container widths
7 | //
8 | // Set the container width, and override it for fixed navbars in media queries.
9 |
10 | .container {
11 | .container-fixed();
12 |
13 | @media (min-width: @screen-sm-min) {
14 | width: @container-sm;
15 | }
16 | @media (min-width: @screen-md-min) {
17 | width: @container-md;
18 | }
19 | @media (min-width: @screen-lg-min) {
20 | width: @container-lg;
21 | }
22 | }
23 |
24 |
25 | // Fluid container
26 | //
27 | // Utilizes the mixin meant for fixed width containers, but without any defined
28 | // width for fluid, full width layouts.
29 |
30 | .container-fluid {
31 | .container-fixed();
32 | }
33 |
34 |
35 | // Row
36 | //
37 | // Rows contain and clear the floats of your columns.
38 |
39 | .row {
40 | .make-row();
41 | }
42 |
43 |
44 | // Columns
45 | //
46 | // Common styles for small and large grid columns
47 |
48 | .make-grid-columns();
49 |
50 |
51 | // Extra small grid
52 | //
53 | // Columns, offsets, pushes, and pulls for extra small devices like
54 | // smartphones.
55 |
56 | .make-grid(xs);
57 |
58 |
59 | // Small grid
60 | //
61 | // Columns, offsets, pushes, and pulls for the small device range, from phones
62 | // to tablets.
63 |
64 | @media (min-width: @screen-sm-min) {
65 | .make-grid(sm);
66 | }
67 |
68 |
69 | // Medium grid
70 | //
71 | // Columns, offsets, pushes, and pulls for the desktop device range.
72 |
73 | @media (min-width: @screen-md-min) {
74 | .make-grid(md);
75 | }
76 |
77 |
78 | // Large grid
79 | //
80 | // Columns, offsets, pushes, and pulls for the large desktop device range.
81 |
82 | @media (min-width: @screen-lg-min) {
83 | .make-grid(lg);
84 | }
85 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/input-groups.less:
--------------------------------------------------------------------------------
1 | //
2 | // Input groups
3 | // --------------------------------------------------
4 |
5 | // Base styles
6 | // -------------------------
7 | .input-group {
8 | position: relative; // For dropdowns
9 | display: table;
10 | border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
11 |
12 | // Undo padding and float of grid classes
13 | &[class*="col-"] {
14 | float: none;
15 | padding-left: 0;
16 | padding-right: 0;
17 | }
18 |
19 | .form-control {
20 | // Ensure that the input is always above the *appended* addon button for
21 | // proper border colors.
22 | position: relative;
23 | z-index: 2;
24 |
25 | // IE9 fubars the placeholder attribute in text inputs and the arrows on
26 | // select elements in input groups. To fix it, we float the input. Details:
27 | // https://github.com/twbs/bootstrap/issues/11561#issuecomment-28936855
28 | float: left;
29 |
30 | width: 100%;
31 | margin-bottom: 0;
32 | }
33 | }
34 |
35 | // Sizing options
36 | //
37 | // Remix the default form control sizing classes into new ones for easier
38 | // manipulation.
39 |
40 | .input-group-lg > .form-control,
41 | .input-group-lg > .input-group-addon,
42 | .input-group-lg > .input-group-btn > .btn {
43 | .input-lg();
44 | }
45 | .input-group-sm > .form-control,
46 | .input-group-sm > .input-group-addon,
47 | .input-group-sm > .input-group-btn > .btn {
48 | .input-sm();
49 | }
50 |
51 |
52 | // Display as table-cell
53 | // -------------------------
54 | .input-group-addon,
55 | .input-group-btn,
56 | .input-group .form-control {
57 | display: table-cell;
58 |
59 | &:not(:first-child):not(:last-child) {
60 | border-radius: 0;
61 | }
62 | }
63 | // Addon and addon wrapper for buttons
64 | .input-group-addon,
65 | .input-group-btn {
66 | width: 1%;
67 | white-space: nowrap;
68 | vertical-align: middle; // Match the inputs
69 | }
70 |
71 | // Text input groups
72 | // -------------------------
73 | .input-group-addon {
74 | padding: @padding-base-vertical @padding-base-horizontal;
75 | font-size: @font-size-base;
76 | font-weight: normal;
77 | line-height: 1;
78 | color: @input-color;
79 | text-align: center;
80 | background-color: @input-group-addon-bg;
81 | border: 1px solid @input-group-addon-border-color;
82 | border-radius: @border-radius-base;
83 |
84 | // Sizing
85 | &.input-sm {
86 | padding: @padding-small-vertical @padding-small-horizontal;
87 | font-size: @font-size-small;
88 | border-radius: @border-radius-small;
89 | }
90 | &.input-lg {
91 | padding: @padding-large-vertical @padding-large-horizontal;
92 | font-size: @font-size-large;
93 | border-radius: @border-radius-large;
94 | }
95 |
96 | // Nuke default margins from checkboxes and radios to vertically center within.
97 | input[type="radio"],
98 | input[type="checkbox"] {
99 | margin-top: 0;
100 | }
101 | }
102 |
103 | // Reset rounded corners
104 | .input-group .form-control:first-child,
105 | .input-group-addon:first-child,
106 | .input-group-btn:first-child > .btn,
107 | .input-group-btn:first-child > .btn-group > .btn,
108 | .input-group-btn:first-child > .dropdown-toggle,
109 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
110 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
111 | .border-right-radius(0);
112 | }
113 | .input-group-addon:first-child {
114 | border-right: 0;
115 | }
116 | .input-group .form-control:last-child,
117 | .input-group-addon:last-child,
118 | .input-group-btn:last-child > .btn,
119 | .input-group-btn:last-child > .btn-group > .btn,
120 | .input-group-btn:last-child > .dropdown-toggle,
121 | .input-group-btn:first-child > .btn:not(:first-child),
122 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
123 | .border-left-radius(0);
124 | }
125 | .input-group-addon:last-child {
126 | border-left: 0;
127 | }
128 |
129 | // Button input groups
130 | // -------------------------
131 | .input-group-btn {
132 | position: relative;
133 | // Jankily prevent input button groups from wrapping with `white-space` and
134 | // `font-size` in combination with `inline-block` on buttons.
135 | font-size: 0;
136 | white-space: nowrap;
137 |
138 | // Negative margin for spacing, position for bringing hovered/focused/actived
139 | // element above the siblings.
140 | > .btn {
141 | position: relative;
142 | + .btn {
143 | margin-left: -1px;
144 | }
145 | // Bring the "active" button to the front
146 | &:hover,
147 | &:focus,
148 | &:active {
149 | z-index: 2;
150 | }
151 | }
152 |
153 | // Negative margin to only have a 1px border between the two
154 | &:first-child {
155 | > .btn,
156 | > .btn-group {
157 | margin-right: -1px;
158 | }
159 | }
160 | &:last-child {
161 | > .btn,
162 | > .btn-group {
163 | margin-left: -1px;
164 | }
165 | }
166 | }
167 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/jumbotron.less:
--------------------------------------------------------------------------------
1 | //
2 | // Jumbotron
3 | // --------------------------------------------------
4 |
5 |
6 | .jumbotron {
7 | padding: @jumbotron-padding (@jumbotron-padding / 2);
8 | margin-bottom: @jumbotron-padding;
9 | color: @jumbotron-color;
10 | background-color: @jumbotron-bg;
11 |
12 | h1,
13 | .h1 {
14 | color: @jumbotron-heading-color;
15 | }
16 | p {
17 | margin-bottom: (@jumbotron-padding / 2);
18 | font-size: @jumbotron-font-size;
19 | font-weight: 200;
20 | }
21 |
22 | > hr {
23 | border-top-color: darken(@jumbotron-bg, 10%);
24 | }
25 |
26 | .container &,
27 | .container-fluid & {
28 | border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
29 | }
30 |
31 | .container {
32 | max-width: 100%;
33 | }
34 |
35 | @media screen and (min-width: @screen-sm-min) {
36 | padding: (@jumbotron-padding * 1.6) 0;
37 |
38 | .container &,
39 | .container-fluid & {
40 | padding-left: (@jumbotron-padding * 2);
41 | padding-right: (@jumbotron-padding * 2);
42 | }
43 |
44 | h1,
45 | .h1 {
46 | font-size: (@font-size-base * 4.5);
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/labels.less:
--------------------------------------------------------------------------------
1 | //
2 | // Labels
3 | // --------------------------------------------------
4 |
5 | .label {
6 | display: inline;
7 | padding: .2em .6em .3em;
8 | font-size: 75%;
9 | font-weight: bold;
10 | line-height: 1;
11 | color: @label-color;
12 | text-align: center;
13 | white-space: nowrap;
14 | vertical-align: baseline;
15 | border-radius: .25em;
16 |
17 | // Add hover effects, but only for links
18 | a& {
19 | &:hover,
20 | &:focus {
21 | color: @label-link-hover-color;
22 | text-decoration: none;
23 | cursor: pointer;
24 | }
25 | }
26 |
27 | // Empty labels collapse automatically (not available in IE8)
28 | &:empty {
29 | display: none;
30 | }
31 |
32 | // Quick fix for labels in buttons
33 | .btn & {
34 | position: relative;
35 | top: -1px;
36 | }
37 | }
38 |
39 | // Colors
40 | // Contextual variations (linked labels get darker on :hover)
41 |
42 | .label-default {
43 | .label-variant(@label-default-bg);
44 | }
45 |
46 | .label-primary {
47 | .label-variant(@label-primary-bg);
48 | }
49 |
50 | .label-success {
51 | .label-variant(@label-success-bg);
52 | }
53 |
54 | .label-info {
55 | .label-variant(@label-info-bg);
56 | }
57 |
58 | .label-warning {
59 | .label-variant(@label-warning-bg);
60 | }
61 |
62 | .label-danger {
63 | .label-variant(@label-danger-bg);
64 | }
65 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/list-group.less:
--------------------------------------------------------------------------------
1 | //
2 | // List groups
3 | // --------------------------------------------------
4 |
5 |
6 | // Base class
7 | //
8 | // Easily usable on
, , or .
9 |
10 | .list-group {
11 | // No need to set list-style: none; since .list-group-item is block level
12 | margin-bottom: 20px;
13 | padding-left: 0; // reset padding because ul and ol
14 | }
15 |
16 |
17 | // Individual list items
18 | //
19 | // Use on `li`s or `div`s within the `.list-group` parent.
20 |
21 | .list-group-item {
22 | position: relative;
23 | display: block;
24 | padding: 10px 15px;
25 | // Place the border on the list items and negative margin up for better styling
26 | margin-bottom: -1px;
27 | background-color: @list-group-bg;
28 | border: 1px solid @list-group-border;
29 |
30 | // Round the first and last items
31 | &:first-child {
32 | .border-top-radius(@list-group-border-radius);
33 | }
34 | &:last-child {
35 | margin-bottom: 0;
36 | .border-bottom-radius(@list-group-border-radius);
37 | }
38 | }
39 |
40 |
41 | // Linked list items
42 | //
43 | // Use anchor elements instead of `li`s or `div`s to create linked list items.
44 | // Includes an extra `.active` modifier class for showing selected items.
45 |
46 | a.list-group-item {
47 | color: @list-group-link-color;
48 |
49 | .list-group-item-heading {
50 | color: @list-group-link-heading-color;
51 | }
52 |
53 | // Hover state
54 | &:hover,
55 | &:focus {
56 | text-decoration: none;
57 | color: @list-group-link-hover-color;
58 | background-color: @list-group-hover-bg;
59 | }
60 | }
61 |
62 | .list-group-item {
63 | // Disabled state
64 | &.disabled,
65 | &.disabled:hover,
66 | &.disabled:focus {
67 | background-color: @list-group-disabled-bg;
68 | color: @list-group-disabled-color;
69 | cursor: @cursor-disabled;
70 |
71 | // Force color to inherit for custom content
72 | .list-group-item-heading {
73 | color: inherit;
74 | }
75 | .list-group-item-text {
76 | color: @list-group-disabled-text-color;
77 | }
78 | }
79 |
80 | // Active class on item itself, not parent
81 | &.active,
82 | &.active:hover,
83 | &.active:focus {
84 | z-index: 2; // Place active items above their siblings for proper border styling
85 | color: @list-group-active-color;
86 | background-color: @list-group-active-bg;
87 | border-color: @list-group-active-border;
88 |
89 | // Force color to inherit for custom content
90 | .list-group-item-heading,
91 | .list-group-item-heading > small,
92 | .list-group-item-heading > .small {
93 | color: inherit;
94 | }
95 | .list-group-item-text {
96 | color: @list-group-active-text-color;
97 | }
98 | }
99 | }
100 |
101 |
102 | // Contextual variants
103 | //
104 | // Add modifier classes to change text and background color on individual items.
105 | // Organizationally, this must come after the `:hover` states.
106 |
107 | .list-group-item-variant(success; @state-success-bg; @state-success-text);
108 | .list-group-item-variant(info; @state-info-bg; @state-info-text);
109 | .list-group-item-variant(warning; @state-warning-bg; @state-warning-text);
110 | .list-group-item-variant(danger; @state-danger-bg; @state-danger-text);
111 |
112 |
113 | // Custom content options
114 | //
115 | // Extra classes for creating well-formatted content within `.list-group-item`s.
116 |
117 | .list-group-item-heading {
118 | margin-top: 0;
119 | margin-bottom: 5px;
120 | }
121 | .list-group-item-text {
122 | margin-bottom: 0;
123 | line-height: 1.3;
124 | }
125 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/media.less:
--------------------------------------------------------------------------------
1 | .media {
2 | // Proper spacing between instances of .media
3 | margin-top: 15px;
4 |
5 | &:first-child {
6 | margin-top: 0;
7 | }
8 | }
9 |
10 | .media-right,
11 | .media > .pull-right {
12 | padding-left: 10px;
13 | }
14 |
15 | .media-left,
16 | .media > .pull-left {
17 | padding-right: 10px;
18 | }
19 |
20 | .media-left,
21 | .media-right,
22 | .media-body {
23 | display: table-cell;
24 | vertical-align: top;
25 | }
26 |
27 | .media-middle {
28 | vertical-align: middle;
29 | }
30 |
31 | .media-bottom {
32 | vertical-align: bottom;
33 | }
34 |
35 | // Reset margins on headings for tighter default spacing
36 | .media-heading {
37 | margin-top: 0;
38 | margin-bottom: 5px;
39 | }
40 |
41 | // Media list variation
42 | //
43 | // Undo default ul/ol styles
44 | .media-list {
45 | padding-left: 0;
46 | list-style: none;
47 | }
48 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins.less:
--------------------------------------------------------------------------------
1 | // Mixins
2 | // --------------------------------------------------
3 |
4 | // Utilities
5 | @import "mixins/hide-text.less";
6 | @import "mixins/opacity.less";
7 | @import "mixins/image.less";
8 | @import "mixins/labels.less";
9 | @import "mixins/reset-filter.less";
10 | @import "mixins/resize.less";
11 | @import "mixins/responsive-visibility.less";
12 | @import "mixins/size.less";
13 | @import "mixins/tab-focus.less";
14 | @import "mixins/text-emphasis.less";
15 | @import "mixins/text-overflow.less";
16 | @import "mixins/vendor-prefixes.less";
17 |
18 | // Components
19 | @import "mixins/alerts.less";
20 | @import "mixins/buttons.less";
21 | @import "mixins/panels.less";
22 | @import "mixins/pagination.less";
23 | @import "mixins/list-group.less";
24 | @import "mixins/nav-divider.less";
25 | @import "mixins/forms.less";
26 | @import "mixins/progress-bar.less";
27 | @import "mixins/table-row.less";
28 |
29 | // Skins
30 | @import "mixins/background-variant.less";
31 | @import "mixins/border-radius.less";
32 | @import "mixins/gradients.less";
33 |
34 | // Layout
35 | @import "mixins/clearfix.less";
36 | @import "mixins/center-block.less";
37 | @import "mixins/nav-vertical-align.less";
38 | @import "mixins/grid-framework.less";
39 | @import "mixins/grid.less";
40 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/alerts.less:
--------------------------------------------------------------------------------
1 | // Alerts
2 |
3 | .alert-variant(@background; @border; @text-color) {
4 | background-color: @background;
5 | border-color: @border;
6 | color: @text-color;
7 |
8 | hr {
9 | border-top-color: darken(@border, 5%);
10 | }
11 | .alert-link {
12 | color: darken(@text-color, 10%);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/background-variant.less:
--------------------------------------------------------------------------------
1 | // Contextual backgrounds
2 |
3 | .bg-variant(@color) {
4 | background-color: @color;
5 | a&:hover {
6 | background-color: darken(@color, 10%);
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/border-radius.less:
--------------------------------------------------------------------------------
1 | // Single side border-radius
2 |
3 | .border-top-radius(@radius) {
4 | border-top-right-radius: @radius;
5 | border-top-left-radius: @radius;
6 | }
7 | .border-right-radius(@radius) {
8 | border-bottom-right-radius: @radius;
9 | border-top-right-radius: @radius;
10 | }
11 | .border-bottom-radius(@radius) {
12 | border-bottom-right-radius: @radius;
13 | border-bottom-left-radius: @radius;
14 | }
15 | .border-left-radius(@radius) {
16 | border-bottom-left-radius: @radius;
17 | border-top-left-radius: @radius;
18 | }
19 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/buttons.less:
--------------------------------------------------------------------------------
1 | // Button variants
2 | //
3 | // Easily pump out default styles, as well as :hover, :focus, :active,
4 | // and disabled options for all buttons
5 |
6 | .button-variant(@color; @background; @border) {
7 | color: @color;
8 | background-color: @background;
9 | border-color: @border;
10 |
11 | &:hover,
12 | &:focus,
13 | &.focus,
14 | &:active,
15 | &.active,
16 | .open > .dropdown-toggle& {
17 | color: @color;
18 | background-color: darken(@background, 10%);
19 | border-color: darken(@border, 12%);
20 | }
21 | &:active,
22 | &.active,
23 | .open > .dropdown-toggle& {
24 | background-image: none;
25 | }
26 | &.disabled,
27 | &[disabled],
28 | fieldset[disabled] & {
29 | &,
30 | &:hover,
31 | &:focus,
32 | &.focus,
33 | &:active,
34 | &.active {
35 | background-color: @background;
36 | border-color: @border;
37 | }
38 | }
39 |
40 | .badge {
41 | color: @background;
42 | background-color: @color;
43 | }
44 | }
45 |
46 | // Button sizes
47 | .button-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
48 | padding: @padding-vertical @padding-horizontal;
49 | font-size: @font-size;
50 | line-height: @line-height;
51 | border-radius: @border-radius;
52 | }
53 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/center-block.less:
--------------------------------------------------------------------------------
1 | // Center-align a block level element
2 |
3 | .center-block() {
4 | display: block;
5 | margin-left: auto;
6 | margin-right: auto;
7 | }
8 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/clearfix.less:
--------------------------------------------------------------------------------
1 | // Clearfix
2 | //
3 | // For modern browsers
4 | // 1. The space content is one way to avoid an Opera bug when the
5 | // contenteditable attribute is included anywhere else in the document.
6 | // Otherwise it causes space to appear at the top and bottom of elements
7 | // that are clearfixed.
8 | // 2. The use of `table` rather than `block` is only necessary if using
9 | // `:before` to contain the top-margins of child elements.
10 | //
11 | // Source: http://nicolasgallagher.com/micro-clearfix-hack/
12 |
13 | .clearfix() {
14 | &:before,
15 | &:after {
16 | content: " "; // 1
17 | display: table; // 2
18 | }
19 | &:after {
20 | clear: both;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/resources/assets/less/bootstrap/mixins/forms.less:
--------------------------------------------------------------------------------
1 | // Form validation states
2 | //
3 | // Used in forms.less to generate the form validation CSS for warnings, errors,
4 | // and successes.
5 |
6 | .form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
7 | // Color the label and help text
8 | .help-block,
9 | .control-label,
10 | .radio,
11 | .checkbox,
12 | .radio-inline,
13 | .checkbox-inline,
14 | &.radio label,
15 | &.checkbox label,
16 | &.radio-inline label,
17 | &.checkbox-inline label {
18 | color: @text-color;
19 | }
20 | // Set the border and box shadow on specific inputs to match
21 | .form-control {
22 | border-color: @border-color;
23 | .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
24 | &:focus {
25 | border-color: darken(@border-color, 10%);
26 | @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
27 | .box-shadow(@shadow);
28 | }
29 | }
30 | // Set validation states also for addons
31 | .input-group-addon {
32 | color: @text-color;
33 | border-color: @border-color;
34 | background-color: @background-color;
35 | }
36 | // Optional feedback icon
37 | .form-control-feedback {
38 | color: @text-color;
39 | }
40 | }
41 |
42 |
43 | // Form control focus state
44 | //
45 | // Generate a customized focus state and for any input with the specified color,
46 | // which defaults to the `@input-border-focus` variable.
47 | //
48 | // We highly encourage you to not customize the default value, but instead use
49 | // this to tweak colors on an as-needed basis. This aesthetic change is based on
50 | // WebKit's default styles, but applicable to a wider range of browsers. Its
51 | // usability and accessibility should be taken into account with any change.
52 | //
53 | // Example usage: change the default blue border and shadow to white for better
54 | // contrast against a dark gray background.
55 | .form-control-focus(@color: @input-border-focus) {
56 | @color-rgba: rgba(red(@color), green(@color), blue(@color), .6);
57 | &:focus {
58 | border-color: @color;
59 | outline: 0;
60 | .box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px @{color-rgba}");
61 | }
62 | }
63 |
64 | // Form control sizing
65 | //
66 | // Relative text size, padding, and border-radii changes for form controls. For
67 | // horizontal sizing, wrap controls in the predefined grid classes. `