├── .env.example ├── .gitattributes ├── .gitignore ├── app ├── Console │ └── Kernel.php ├── Exceptions │ └── Handler.php ├── Http │ ├── Controllers │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── LoginController.php │ │ │ ├── RegisterController.php │ │ │ └── ResetPasswordController.php │ │ ├── Controller.php │ │ └── ProjectsController.php │ ├── Kernel.php │ └── Middleware │ │ ├── EncryptCookies.php │ │ ├── RedirectIfAuthenticated.php │ │ └── VerifyCsrfToken.php ├── Project.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── BroadcastServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php └── User.php ├── artisan ├── bootstrap ├── app.php ├── autoload.php └── cache │ └── .gitignore ├── composer.json ├── composer.lock ├── config ├── app.php ├── auth.php ├── broadcasting.php ├── cache.php ├── compile.php ├── database.php ├── filesystems.php ├── mail.php ├── queue.php ├── services.php ├── session.php └── view.php ├── database ├── .gitignore ├── factories │ └── ModelFactory.php ├── migrations │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ └── 2017_01_03_154023_create_projects_table.php └── seeds │ └── DatabaseSeeder.php ├── gulpfile.js ├── package.json ├── phpunit.xml ├── public ├── .htaccess ├── css │ ├── app.css │ └── app.css.map ├── favicon.ico ├── images │ └── screenshot.png ├── index.php ├── js │ └── app.js ├── robots.txt └── web.config ├── readme.md ├── resources ├── assets │ ├── js │ │ ├── app.js │ │ ├── bootstrap.js │ │ └── components │ │ │ └── ValidatedForm.js │ └── sass │ │ └── app.scss ├── lang │ └── en │ │ ├── auth.php │ │ ├── pagination.php │ │ ├── passwords.php │ │ └── validation.php └── views │ └── projects.blade.php ├── routes ├── api.php ├── console.php └── web.php ├── server.php ├── storage ├── app │ ├── .gitignore │ └── public │ │ └── .gitignore ├── framework │ ├── .gitignore │ ├── cache │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ └── views │ │ └── .gitignore └── logs │ └── .gitignore ├── tests ├── ExampleTest.php └── TestCase.php └── yarn.lock /.env.example: -------------------------------------------------------------------------------- 1 | APP_ENV=local 2 | APP_KEY=SomeRandomStringWith32Characters 3 | APP_DEBUG=true 4 | APP_LOG_LEVEL=debug 5 | APP_URL=http://localhost 6 | 7 | DB_CONNECTION=sqlite 8 | 9 | BROADCAST_DRIVER=log 10 | CACHE_DRIVER=file 11 | SESSION_DRIVER=file 12 | QUEUE_DRIVER=sync 13 | 14 | REDIS_HOST=127.0.0.1 15 | REDIS_PASSWORD=null 16 | REDIS_PORT=6379 17 | 18 | MAIL_DRIVER=smtp 19 | MAIL_HOST=mailtrap.io 20 | MAIL_PORT=2525 21 | MAIL_USERNAME=null 22 | MAIL_PASSWORD=null 23 | MAIL_ENCRYPTION=null 24 | 25 | PUSHER_APP_ID= 26 | PUSHER_KEY= 27 | PUSHER_SECRET= 28 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/storage 3 | /storage/*.key 4 | /vendor 5 | /.idea 6 | Homestead.json 7 | Homestead.yaml 8 | .env 9 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire') 28 | // ->hourly(); 29 | } 30 | 31 | /** 32 | * Register the Closure based commands for the application. 33 | * 34 | * @return void 35 | */ 36 | protected function commands() 37 | { 38 | require base_path('routes/console.php'); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 60 | return response()->json(['error' => 'Unauthenticated.'], 401); 61 | } 62 | 63 | return redirect()->guest('login'); 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ForgotPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/LoginController.php: -------------------------------------------------------------------------------- 1 | middleware('guest', ['except' => 'logout']); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/RegisterController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 40 | } 41 | 42 | /** 43 | * Get a validator for an incoming registration request. 44 | * 45 | * @param array $data 46 | * @return \Illuminate\Contracts\Validation\Validator 47 | */ 48 | protected function validator(array $data) 49 | { 50 | return Validator::make($data, [ 51 | 'name' => 'required|max:255', 52 | 'email' => 'required|email|max:255|unique:users', 53 | 'password' => 'required|min:6|confirmed', 54 | ]); 55 | } 56 | 57 | /** 58 | * Create a new user instance after a valid registration. 59 | * 60 | * @param array $data 61 | * @return User 62 | */ 63 | protected function create(array $data) 64 | { 65 | return User::create([ 66 | 'name' => $data['name'], 67 | 'email' => $data['email'], 68 | 'password' => bcrypt($data['password']), 69 | ]); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /app/Http/Controllers/Auth/ResetPasswordController.php: -------------------------------------------------------------------------------- 1 | middleware('guest'); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | with(compact('projects')); 15 | } 16 | 17 | public function store(Request $request) 18 | { 19 | $this->validate($request, [ 20 | 'name' => 'required', 21 | 'description' => 'required' 22 | ]); 23 | 24 | Project::create([ 25 | 'name' => $request->get('name'), 26 | 'description' => $request->get('description') 27 | ]); 28 | 29 | return ['message' => 'Project Created!']; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 27 | \App\Http\Middleware\EncryptCookies::class, 28 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 29 | \Illuminate\Session\Middleware\StartSession::class, 30 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 31 | \App\Http\Middleware\VerifyCsrfToken::class, 32 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 33 | ], 34 | 35 | 'api' => [ 36 | 'throttle:60,1', 37 | 'bindings', 38 | ], 39 | ]; 40 | 41 | /** 42 | * The application's route middleware. 43 | * 44 | * These middleware may be assigned to groups or used individually. 45 | * 46 | * @var array 47 | */ 48 | protected $routeMiddleware = [ 49 | 'auth' => \Illuminate\Auth\Middleware\Authenticate::class, 50 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 51 | 'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class, 52 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 53 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 54 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 55 | ]; 56 | } 57 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | check()) { 21 | return redirect('/home'); 22 | } 23 | 24 | return $next($request); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | id === (int) $userId; 24 | }); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'App\Listeners\EventListener', 18 | ], 19 | ]; 20 | 21 | /** 22 | * Register any events for your application. 23 | * 24 | * @return void 25 | */ 26 | public function boot() 27 | { 28 | parent::boot(); 29 | 30 | // 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | mapApiRoutes(); 39 | 40 | $this->mapWebRoutes(); 41 | 42 | // 43 | } 44 | 45 | /** 46 | * Define the "web" routes for the application. 47 | * 48 | * These routes all receive session state, CSRF protection, etc. 49 | * 50 | * @return void 51 | */ 52 | protected function mapWebRoutes() 53 | { 54 | Route::group([ 55 | 'middleware' => 'web', 56 | 'namespace' => $this->namespace, 57 | ], function ($router) { 58 | require base_path('routes/web.php'); 59 | }); 60 | } 61 | 62 | /** 63 | * Define the "api" routes for the application. 64 | * 65 | * These routes are typically stateless. 66 | * 67 | * @return void 68 | */ 69 | protected function mapApiRoutes() 70 | { 71 | Route::group([ 72 | 'middleware' => 'api', 73 | 'namespace' => $this->namespace, 74 | 'prefix' => 'api', 75 | ], function ($router) { 76 | require base_path('routes/api.php'); 77 | }); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /app/User.php: -------------------------------------------------------------------------------- 1 | make(Illuminate\Contracts\Console\Kernel::class); 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::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 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 | =5.6.4", 9 | "laravel/framework": "5.3.*" 10 | }, 11 | "require-dev": { 12 | "fzaninotto/faker": "~1.4", 13 | "mockery/mockery": "0.9.*", 14 | "phpunit/phpunit": "~5.0", 15 | "symfony/css-selector": "3.1.*", 16 | "symfony/dom-crawler": "3.1.*" 17 | }, 18 | "autoload": { 19 | "classmap": [ 20 | "database" 21 | ], 22 | "psr-4": { 23 | "App\\": "app/" 24 | } 25 | }, 26 | "autoload-dev": { 27 | "classmap": [ 28 | "tests/TestCase.php" 29 | ] 30 | }, 31 | "scripts": { 32 | "post-root-package-install": [ 33 | "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 34 | ], 35 | "post-create-project-cmd": [ 36 | "php artisan key:generate" 37 | ], 38 | "post-install-cmd": [ 39 | "Illuminate\\Foundation\\ComposerScripts::postInstall", 40 | "php artisan optimize" 41 | ], 42 | "post-update-cmd": [ 43 | "Illuminate\\Foundation\\ComposerScripts::postUpdate", 44 | "php artisan optimize" 45 | ] 46 | }, 47 | "config": { 48 | "preferred-install": "dist", 49 | "sort-packages": true 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /config/app.php: -------------------------------------------------------------------------------- 1 | 'Laravel', 16 | 17 | /* 18 | |-------------------------------------------------------------------------- 19 | | Application Environment 20 | |-------------------------------------------------------------------------- 21 | | 22 | | This value determines the "environment" your application is currently 23 | | running in. This may determine how you prefer to configure various 24 | | services your application utilizes. Set this in your ".env" file. 25 | | 26 | */ 27 | 28 | 'env' => env('APP_ENV', 'production'), 29 | 30 | /* 31 | |-------------------------------------------------------------------------- 32 | | Application Debug Mode 33 | |-------------------------------------------------------------------------- 34 | | 35 | | When your application is in debug mode, detailed error messages with 36 | | stack traces will be shown on every error that occurs within your 37 | | application. If disabled, a simple generic error page is shown. 38 | | 39 | */ 40 | 41 | 'debug' => env('APP_DEBUG', false), 42 | 43 | /* 44 | |-------------------------------------------------------------------------- 45 | | Application URL 46 | |-------------------------------------------------------------------------- 47 | | 48 | | This URL is used by the console to properly generate URLs when using 49 | | the Artisan command line tool. You should set this to the root of 50 | | your application so that it is used when running Artisan tasks. 51 | | 52 | */ 53 | 54 | 'url' => env('APP_URL', 'http://localhost'), 55 | 56 | /* 57 | |-------------------------------------------------------------------------- 58 | | Application Timezone 59 | |-------------------------------------------------------------------------- 60 | | 61 | | Here you may specify the default timezone for your application, which 62 | | will be used by the PHP date and date-time functions. We have gone 63 | | ahead and set this to a sensible default for you out of the box. 64 | | 65 | */ 66 | 67 | 'timezone' => 'UTC', 68 | 69 | /* 70 | |-------------------------------------------------------------------------- 71 | | Application Locale Configuration 72 | |-------------------------------------------------------------------------- 73 | | 74 | | The application locale determines the default locale that will be used 75 | | by the translation service provider. You are free to set this value 76 | | to any of the locales which will be supported by the application. 77 | | 78 | */ 79 | 80 | 'locale' => 'en', 81 | 82 | /* 83 | |-------------------------------------------------------------------------- 84 | | Application Fallback Locale 85 | |-------------------------------------------------------------------------- 86 | | 87 | | The fallback locale determines the locale to use when the current one 88 | | is not available. You may change the value to correspond to any of 89 | | the language folders that are provided through your application. 90 | | 91 | */ 92 | 93 | 'fallback_locale' => 'en', 94 | 95 | /* 96 | |-------------------------------------------------------------------------- 97 | | Encryption Key 98 | |-------------------------------------------------------------------------- 99 | | 100 | | This key is used by the Illuminate encrypter service and should be set 101 | | to a random, 32 character string, otherwise these encrypted strings 102 | | will not be safe. Please do this before deploying an application! 103 | | 104 | */ 105 | 106 | 'key' => env('APP_KEY'), 107 | 108 | 'cipher' => 'AES-256-CBC', 109 | 110 | /* 111 | |-------------------------------------------------------------------------- 112 | | Logging Configuration 113 | |-------------------------------------------------------------------------- 114 | | 115 | | Here you may configure the log settings for your application. Out of 116 | | the box, Laravel uses the Monolog PHP logging library. This gives 117 | | you a variety of powerful log handlers / formatters to utilize. 118 | | 119 | | Available Settings: "single", "daily", "syslog", "errorlog" 120 | | 121 | */ 122 | 123 | 'log' => env('APP_LOG', 'single'), 124 | 125 | 'log_level' => env('APP_LOG_LEVEL', 'debug'), 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Autoloaded Service Providers 130 | |-------------------------------------------------------------------------- 131 | | 132 | | The service providers listed here will be automatically loaded on the 133 | | request to your application. Feel free to add your own services to 134 | | this array to grant expanded functionality to your applications. 135 | | 136 | */ 137 | 138 | 'providers' => [ 139 | 140 | /* 141 | * Laravel Framework Service Providers... 142 | */ 143 | Illuminate\Auth\AuthServiceProvider::class, 144 | Illuminate\Broadcasting\BroadcastServiceProvider::class, 145 | Illuminate\Bus\BusServiceProvider::class, 146 | Illuminate\Cache\CacheServiceProvider::class, 147 | Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, 148 | Illuminate\Cookie\CookieServiceProvider::class, 149 | Illuminate\Database\DatabaseServiceProvider::class, 150 | Illuminate\Encryption\EncryptionServiceProvider::class, 151 | Illuminate\Filesystem\FilesystemServiceProvider::class, 152 | Illuminate\Foundation\Providers\FoundationServiceProvider::class, 153 | Illuminate\Hashing\HashServiceProvider::class, 154 | Illuminate\Mail\MailServiceProvider::class, 155 | Illuminate\Notifications\NotificationServiceProvider::class, 156 | Illuminate\Pagination\PaginationServiceProvider::class, 157 | Illuminate\Pipeline\PipelineServiceProvider::class, 158 | Illuminate\Queue\QueueServiceProvider::class, 159 | Illuminate\Redis\RedisServiceProvider::class, 160 | Illuminate\Auth\Passwords\PasswordResetServiceProvider::class, 161 | Illuminate\Session\SessionServiceProvider::class, 162 | Illuminate\Translation\TranslationServiceProvider::class, 163 | Illuminate\Validation\ValidationServiceProvider::class, 164 | Illuminate\View\ViewServiceProvider::class, 165 | 166 | /* 167 | * Package Service Providers... 168 | */ 169 | 170 | // 171 | 172 | /* 173 | * Application Service Providers... 174 | */ 175 | App\Providers\AppServiceProvider::class, 176 | App\Providers\AuthServiceProvider::class, 177 | // App\Providers\BroadcastServiceProvider::class, 178 | App\Providers\EventServiceProvider::class, 179 | App\Providers\RouteServiceProvider::class, 180 | 181 | ], 182 | 183 | /* 184 | |-------------------------------------------------------------------------- 185 | | Class Aliases 186 | |-------------------------------------------------------------------------- 187 | | 188 | | This array of class aliases will be registered when this application 189 | | is started. However, feel free to register as many as you wish as 190 | | the aliases are "lazy" loaded so they don't hinder performance. 191 | | 192 | */ 193 | 194 | 'aliases' => [ 195 | 196 | 'App' => Illuminate\Support\Facades\App::class, 197 | 'Artisan' => Illuminate\Support\Facades\Artisan::class, 198 | 'Auth' => Illuminate\Support\Facades\Auth::class, 199 | 'Blade' => Illuminate\Support\Facades\Blade::class, 200 | 'Bus' => Illuminate\Support\Facades\Bus::class, 201 | 'Cache' => Illuminate\Support\Facades\Cache::class, 202 | 'Config' => Illuminate\Support\Facades\Config::class, 203 | 'Cookie' => Illuminate\Support\Facades\Cookie::class, 204 | 'Crypt' => Illuminate\Support\Facades\Crypt::class, 205 | 'DB' => Illuminate\Support\Facades\DB::class, 206 | 'Eloquent' => Illuminate\Database\Eloquent\Model::class, 207 | 'Event' => Illuminate\Support\Facades\Event::class, 208 | 'File' => Illuminate\Support\Facades\File::class, 209 | 'Gate' => Illuminate\Support\Facades\Gate::class, 210 | 'Hash' => Illuminate\Support\Facades\Hash::class, 211 | 'Lang' => Illuminate\Support\Facades\Lang::class, 212 | 'Log' => Illuminate\Support\Facades\Log::class, 213 | 'Mail' => Illuminate\Support\Facades\Mail::class, 214 | 'Notification' => Illuminate\Support\Facades\Notification::class, 215 | 'Password' => Illuminate\Support\Facades\Password::class, 216 | 'Queue' => Illuminate\Support\Facades\Queue::class, 217 | 'Redirect' => Illuminate\Support\Facades\Redirect::class, 218 | 'Redis' => Illuminate\Support\Facades\Redis::class, 219 | 'Request' => Illuminate\Support\Facades\Request::class, 220 | 'Response' => Illuminate\Support\Facades\Response::class, 221 | 'Route' => Illuminate\Support\Facades\Route::class, 222 | 'Schema' => Illuminate\Support\Facades\Schema::class, 223 | 'Session' => Illuminate\Support\Facades\Session::class, 224 | 'Storage' => Illuminate\Support\Facades\Storage::class, 225 | 'URL' => Illuminate\Support\Facades\URL::class, 226 | 'Validator' => Illuminate\Support\Facades\Validator::class, 227 | 'View' => Illuminate\Support\Facades\View::class, 228 | 229 | ], 230 | 231 | ]; 232 | -------------------------------------------------------------------------------- /config/auth.php: -------------------------------------------------------------------------------- 1 | [ 17 | 'guard' => 'web', 18 | 'passwords' => 'users', 19 | ], 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | Authentication Guards 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Next, you may define every authentication guard for your application. 27 | | Of course, a great default configuration has been defined for you 28 | | here which uses session storage and the Eloquent user provider. 29 | | 30 | | All authentication drivers have a user provider. This defines how the 31 | | users are actually retrieved out of your database or other storage 32 | | mechanisms used by this application to persist your user's data. 33 | | 34 | | Supported: "session", "token" 35 | | 36 | */ 37 | 38 | 'guards' => [ 39 | 'web' => [ 40 | 'driver' => 'session', 41 | 'provider' => 'users', 42 | ], 43 | 44 | 'api' => [ 45 | 'driver' => 'token', 46 | 'provider' => 'users', 47 | ], 48 | ], 49 | 50 | /* 51 | |-------------------------------------------------------------------------- 52 | | User Providers 53 | |-------------------------------------------------------------------------- 54 | | 55 | | All authentication drivers have a user provider. This defines how the 56 | | users are actually retrieved out of your database or other storage 57 | | mechanisms used by this application to persist your user's data. 58 | | 59 | | If you have multiple user tables or models you may configure multiple 60 | | sources which represent each model / table. These sources may then 61 | | be assigned to any extra authentication guards you have defined. 62 | | 63 | | Supported: "database", "eloquent" 64 | | 65 | */ 66 | 67 | 'providers' => [ 68 | 'users' => [ 69 | 'driver' => 'eloquent', 70 | 'model' => App\User::class, 71 | ], 72 | 73 | // 'users' => [ 74 | // 'driver' => 'database', 75 | // 'table' => 'users', 76 | // ], 77 | ], 78 | 79 | /* 80 | |-------------------------------------------------------------------------- 81 | | Resetting Passwords 82 | |-------------------------------------------------------------------------- 83 | | 84 | | You may specify multiple password reset configurations if you have more 85 | | than one user table or model in the application and you want to have 86 | | separate password reset settings based on the specific user types. 87 | | 88 | | The expire time is the number of minutes that the reset token should be 89 | | considered valid. This security feature keeps tokens short-lived so 90 | | they have less time to be guessed. You may change this as needed. 91 | | 92 | */ 93 | 94 | 'passwords' => [ 95 | 'users' => [ 96 | 'provider' => 'users', 97 | 'table' => 'password_resets', 98 | 'expire' => 60, 99 | ], 100 | ], 101 | 102 | ]; 103 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_KEY'), 36 | 'secret' => env('PUSHER_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | // 40 | ], 41 | ], 42 | 43 | 'redis' => [ 44 | 'driver' => 'redis', 45 | 'connection' => 'default', 46 | ], 47 | 48 | 'log' => [ 49 | 'driver' => 'log', 50 | ], 51 | 52 | 'null' => [ 53 | 'driver' => 'null', 54 | ], 55 | 56 | ], 57 | 58 | ]; 59 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('CACHE_DRIVER', 'file'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Cache Stores 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the cache "stores" for your application as 26 | | well as their drivers. You may even define multiple stores for the 27 | | same cache driver to group types of items stored in your caches. 28 | | 29 | */ 30 | 31 | 'stores' => [ 32 | 33 | 'apc' => [ 34 | 'driver' => 'apc', 35 | ], 36 | 37 | 'array' => [ 38 | 'driver' => 'array', 39 | ], 40 | 41 | 'database' => [ 42 | 'driver' => 'database', 43 | 'table' => 'cache', 44 | 'connection' => null, 45 | ], 46 | 47 | 'file' => [ 48 | 'driver' => 'file', 49 | 'path' => storage_path('framework/cache'), 50 | ], 51 | 52 | 'memcached' => [ 53 | 'driver' => 'memcached', 54 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 55 | 'sasl' => [ 56 | env('MEMCACHED_USERNAME'), 57 | env('MEMCACHED_PASSWORD'), 58 | ], 59 | 'options' => [ 60 | // Memcached::OPT_CONNECT_TIMEOUT => 2000, 61 | ], 62 | 'servers' => [ 63 | [ 64 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 65 | 'port' => env('MEMCACHED_PORT', 11211), 66 | 'weight' => 100, 67 | ], 68 | ], 69 | ], 70 | 71 | 'redis' => [ 72 | 'driver' => 'redis', 73 | 'connection' => 'default', 74 | ], 75 | 76 | ], 77 | 78 | /* 79 | |-------------------------------------------------------------------------- 80 | | Cache Key Prefix 81 | |-------------------------------------------------------------------------- 82 | | 83 | | When utilizing a RAM based store such as APC or Memcached, there might 84 | | be other applications utilizing the same cache. So, we'll specify a 85 | | value to get prefixed to all our keys so we can avoid collisions. 86 | | 87 | */ 88 | 89 | 'prefix' => 'laravel', 90 | 91 | ]; 92 | -------------------------------------------------------------------------------- /config/compile.php: -------------------------------------------------------------------------------- 1 | [ 17 | // 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled File Providers 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may list service providers which define a "compiles" function 26 | | that returns additional files that should be compiled, providing an 27 | | easy way to get common files from any packages you are utilizing. 28 | | 29 | */ 30 | 31 | 'providers' => [ 32 | // 33 | ], 34 | 35 | ]; 36 | -------------------------------------------------------------------------------- /config/database.php: -------------------------------------------------------------------------------- 1 | PDO::FETCH_OBJ, 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' => env('DB_CONNECTION', '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' => env('DB_DATABASE', database_path('database.sqlite')), 52 | 'prefix' => '', 53 | ], 54 | 55 | 'mysql' => [ 56 | 'driver' => 'mysql', 57 | 'host' => env('DB_HOST', '127.0.0.1'), 58 | 'port' => env('DB_PORT', '3306'), 59 | 'database' => env('DB_DATABASE', 'forge'), 60 | 'username' => env('DB_USERNAME', 'forge'), 61 | 'password' => env('DB_PASSWORD', ''), 62 | 'charset' => 'utf8', 63 | 'collation' => 'utf8_unicode_ci', 64 | 'prefix' => '', 65 | 'strict' => true, 66 | 'engine' => null, 67 | ], 68 | 69 | 'pgsql' => [ 70 | 'driver' => 'pgsql', 71 | 'host' => env('DB_HOST', '127.0.0.1'), 72 | 'port' => env('DB_PORT', '5432'), 73 | 'database' => env('DB_DATABASE', 'forge'), 74 | 'username' => env('DB_USERNAME', 'forge'), 75 | 'password' => env('DB_PASSWORD', ''), 76 | 'charset' => 'utf8', 77 | 'prefix' => '', 78 | 'schema' => 'public', 79 | 'sslmode' => 'prefer', 80 | ], 81 | 82 | ], 83 | 84 | /* 85 | |-------------------------------------------------------------------------- 86 | | Migration Repository Table 87 | |-------------------------------------------------------------------------- 88 | | 89 | | This table keeps track of all the migrations that have already run for 90 | | your application. Using this information, we can determine which of 91 | | the migrations on disk haven't actually been run in the database. 92 | | 93 | */ 94 | 95 | 'migrations' => 'migrations', 96 | 97 | /* 98 | |-------------------------------------------------------------------------- 99 | | Redis Databases 100 | |-------------------------------------------------------------------------- 101 | | 102 | | Redis is an open source, fast, and advanced key-value store that also 103 | | provides a richer set of commands than a typical key-value systems 104 | | such as APC or Memcached. Laravel makes it easy to dig right in. 105 | | 106 | */ 107 | 108 | 'redis' => [ 109 | 110 | 'cluster' => false, 111 | 112 | 'default' => [ 113 | 'host' => env('REDIS_HOST', '127.0.0.1'), 114 | 'password' => env('REDIS_PASSWORD', null), 115 | 'port' => env('REDIS_PORT', 6379), 116 | 'database' => 0, 117 | ], 118 | 119 | ], 120 | 121 | ]; 122 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | 'local', 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Default Cloud Filesystem Disk 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Many applications store files both locally and in the cloud. For this 24 | | reason, you may specify a default "cloud" driver here. This driver 25 | | will be bound as the Cloud disk implementation in the container. 26 | | 27 | */ 28 | 29 | 'cloud' => 's3', 30 | 31 | /* 32 | |-------------------------------------------------------------------------- 33 | | Filesystem Disks 34 | |-------------------------------------------------------------------------- 35 | | 36 | | Here you may configure as many filesystem "disks" as you wish, and you 37 | | may even configure multiple disks of the same driver. Defaults have 38 | | been setup for each driver as an example of the required options. 39 | | 40 | | Supported Drivers: "local", "ftp", "s3", "rackspace" 41 | | 42 | */ 43 | 44 | 'disks' => [ 45 | 46 | 'local' => [ 47 | 'driver' => 'local', 48 | 'root' => storage_path('app'), 49 | ], 50 | 51 | 'public' => [ 52 | 'driver' => 'local', 53 | 'root' => storage_path('app/public'), 54 | 'visibility' => 'public', 55 | ], 56 | 57 | 's3' => [ 58 | 'driver' => 's3', 59 | 'key' => 'your-key', 60 | 'secret' => 'your-secret', 61 | 'region' => 'your-region', 62 | 'bucket' => 'your-bucket', 63 | ], 64 | 65 | ], 66 | 67 | ]; 68 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | env('MAIL_DRIVER', 'smtp'), 20 | 21 | /* 22 | |-------------------------------------------------------------------------- 23 | | SMTP Host Address 24 | |-------------------------------------------------------------------------- 25 | | 26 | | Here you may provide the host address of the SMTP server used by your 27 | | applications. A default option is provided that is compatible with 28 | | the Mailgun mail service which will provide reliable deliveries. 29 | | 30 | */ 31 | 32 | 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 33 | 34 | /* 35 | |-------------------------------------------------------------------------- 36 | | SMTP Host Port 37 | |-------------------------------------------------------------------------- 38 | | 39 | | This is the SMTP port used by your application to deliver e-mails to 40 | | users of the application. Like the host we have set this value to 41 | | stay compatible with the Mailgun e-mail application by default. 42 | | 43 | */ 44 | 45 | 'port' => env('MAIL_PORT', 587), 46 | 47 | /* 48 | |-------------------------------------------------------------------------- 49 | | Global "From" Address 50 | |-------------------------------------------------------------------------- 51 | | 52 | | You may wish for all e-mails sent by your application to be sent from 53 | | the same address. Here, you may specify a name and address that is 54 | | used globally for all e-mails that are sent by your application. 55 | | 56 | */ 57 | 58 | 'from' => [ 59 | 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 60 | 'name' => env('MAIL_FROM_NAME', 'Example'), 61 | ], 62 | 63 | /* 64 | |-------------------------------------------------------------------------- 65 | | E-Mail Encryption Protocol 66 | |-------------------------------------------------------------------------- 67 | | 68 | | Here you may specify the encryption protocol that should be used when 69 | | the application send e-mail messages. A sensible default using the 70 | | transport layer security protocol should provide great security. 71 | | 72 | */ 73 | 74 | 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 75 | 76 | /* 77 | |-------------------------------------------------------------------------- 78 | | SMTP Server Username 79 | |-------------------------------------------------------------------------- 80 | | 81 | | If your SMTP server requires a username for authentication, you should 82 | | set it here. This will get used to authenticate with your server on 83 | | connection. You may also set the "password" value below this one. 84 | | 85 | */ 86 | 87 | 'username' => env('MAIL_USERNAME'), 88 | 89 | /* 90 | |-------------------------------------------------------------------------- 91 | | SMTP Server Password 92 | |-------------------------------------------------------------------------- 93 | | 94 | | Here you may set the password required by your SMTP server to send out 95 | | messages from your application. This will be given to the server on 96 | | connection so that the application will be able to send messages. 97 | | 98 | */ 99 | 100 | 'password' => env('MAIL_PASSWORD'), 101 | 102 | /* 103 | |-------------------------------------------------------------------------- 104 | | Sendmail System Path 105 | |-------------------------------------------------------------------------- 106 | | 107 | | When using the "sendmail" driver to send e-mails, we will need to know 108 | | the path to where Sendmail lives on this server. A default path has 109 | | been provided here, which will work well on most of your systems. 110 | | 111 | */ 112 | 113 | 'sendmail' => '/usr/sbin/sendmail -bs', 114 | 115 | ]; 116 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_DRIVER', 'sync'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Queue Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may configure the connection information for each server that 26 | | is used by your application. A default configuration has been added 27 | | for each back-end shipped with Laravel. You are free to add more. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | ], 43 | 44 | 'beanstalkd' => [ 45 | 'driver' => 'beanstalkd', 46 | 'host' => 'localhost', 47 | 'queue' => 'default', 48 | 'retry_after' => 90, 49 | ], 50 | 51 | 'sqs' => [ 52 | 'driver' => 'sqs', 53 | 'key' => 'your-public-key', 54 | 'secret' => 'your-secret-key', 55 | 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', 56 | 'queue' => 'your-queue-name', 57 | 'region' => 'us-east-1', 58 | ], 59 | 60 | 'redis' => [ 61 | 'driver' => 'redis', 62 | 'connection' => 'default', 63 | 'queue' => 'default', 64 | 'retry_after' => 90, 65 | ], 66 | 67 | ], 68 | 69 | /* 70 | |-------------------------------------------------------------------------- 71 | | Failed Queue Jobs 72 | |-------------------------------------------------------------------------- 73 | | 74 | | These options configure the behavior of failed queue job logging so you 75 | | can control which database and table are used to store the jobs that 76 | | have failed. You may change them to any database / table you wish. 77 | | 78 | */ 79 | 80 | 'failed' => [ 81 | 'database' => env('DB_CONNECTION', 'mysql'), 82 | 'table' => 'failed_jobs', 83 | ], 84 | 85 | ]; 86 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | ], 21 | 22 | 'ses' => [ 23 | 'key' => env('SES_KEY'), 24 | 'secret' => env('SES_SECRET'), 25 | 'region' => 'us-east-1', 26 | ], 27 | 28 | 'sparkpost' => [ 29 | 'secret' => env('SPARKPOST_SECRET'), 30 | ], 31 | 32 | 'stripe' => [ 33 | 'model' => App\User::class, 34 | 'key' => env('STRIPE_KEY'), 35 | 'secret' => env('STRIPE_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 Cache Store 91 | |-------------------------------------------------------------------------- 92 | | 93 | | When using the "apc" or "memcached" session drivers, you may specify a 94 | | cache store that should be used for these sessions. This value must 95 | | correspond with one of the application's configured cache stores. 96 | | 97 | */ 98 | 99 | 'store' => null, 100 | 101 | /* 102 | |-------------------------------------------------------------------------- 103 | | Session Sweeping Lottery 104 | |-------------------------------------------------------------------------- 105 | | 106 | | Some session drivers must manually sweep their storage location to get 107 | | rid of old sessions from storage. Here are the chances that it will 108 | | happen on a given request. By default, the odds are 2 out of 100. 109 | | 110 | */ 111 | 112 | 'lottery' => [2, 100], 113 | 114 | /* 115 | |-------------------------------------------------------------------------- 116 | | Session Cookie Name 117 | |-------------------------------------------------------------------------- 118 | | 119 | | Here you may change the name of the cookie used to identify a session 120 | | instance by ID. The name specified here will get used every time a 121 | | new session cookie is created by the framework for every driver. 122 | | 123 | */ 124 | 125 | 'cookie' => 'laravel_session', 126 | 127 | /* 128 | |-------------------------------------------------------------------------- 129 | | Session Cookie Path 130 | |-------------------------------------------------------------------------- 131 | | 132 | | The session cookie path determines the path for which the cookie will 133 | | be regarded as available. Typically, this will be the root path of 134 | | your application but you are free to change this when necessary. 135 | | 136 | */ 137 | 138 | 'path' => '/', 139 | 140 | /* 141 | |-------------------------------------------------------------------------- 142 | | Session Cookie Domain 143 | |-------------------------------------------------------------------------- 144 | | 145 | | Here you may change the domain of the cookie used to identify a session 146 | | in your application. This will determine which domains the cookie is 147 | | available to in your application. A sensible default has been set. 148 | | 149 | */ 150 | 151 | 'domain' => env('SESSION_DOMAIN', null), 152 | 153 | /* 154 | |-------------------------------------------------------------------------- 155 | | HTTPS Only Cookies 156 | |-------------------------------------------------------------------------- 157 | | 158 | | By setting this option to true, session cookies will only be sent back 159 | | to the server if the browser has a HTTPS connection. This will keep 160 | | the cookie from being sent to you if it can not be done securely. 161 | | 162 | */ 163 | 164 | 'secure' => env('SESSION_SECURE_COOKIE', false), 165 | 166 | /* 167 | |-------------------------------------------------------------------------- 168 | | HTTP Access Only 169 | |-------------------------------------------------------------------------- 170 | | 171 | | Setting this value to true will prevent JavaScript from accessing the 172 | | value of the cookie and the cookie will only be accessible through 173 | | the HTTP protocol. You are free to modify this option if needed. 174 | | 175 | */ 176 | 177 | 'http_only' => true, 178 | 179 | ]; 180 | -------------------------------------------------------------------------------- /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/factories/ModelFactory.php: -------------------------------------------------------------------------------- 1 | define(App\User::class, function (Faker\Generator $faker) { 16 | static $password; 17 | 18 | return [ 19 | 'name' => $faker->name, 20 | 'email' => $faker->unique()->safeEmail, 21 | 'password' => $password ?: $password = bcrypt('secret'), 22 | 'remember_token' => str_random(10), 23 | ]; 24 | }); 25 | -------------------------------------------------------------------------------- /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'); 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::dropIfExists('users'); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /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')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('password_resets'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2017_01_03_154023_create_projects_table.php: -------------------------------------------------------------------------------- 1 | increments('id'); 18 | $table->string('name'); 19 | $table->text('description'); 20 | $table->timestamps(); 21 | }); 22 | } 23 | 24 | /** 25 | * Reverse the migrations. 26 | * 27 | * @return void 28 | */ 29 | public function down() 30 | { 31 | Schema::dropIfExists('projects'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /database/seeds/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | const elixir = require('laravel-elixir'); 2 | 3 | require('laravel-elixir-vue-2'); 4 | 5 | /* 6 | |-------------------------------------------------------------------------- 7 | | Elixir Asset Management 8 | |-------------------------------------------------------------------------- 9 | | 10 | | Elixir provides a clean, fluent API for defining some basic Gulp tasks 11 | | for your Laravel application. By default, we are compiling the Sass 12 | | file for your application as well as publishing vendor resources. 13 | | 14 | */ 15 | 16 | elixir((mix) => { 17 | mix.sass('app.scss') 18 | .webpack('app.js'); 19 | }); 20 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "prod": "gulp --production", 5 | "dev": "gulp watch" 6 | }, 7 | "devDependencies": { 8 | "bootstrap-sass": "^3.3.7", 9 | "gulp": "^3.9.1", 10 | "jquery": "^3.1.0", 11 | "laravel-elixir": "^6.0.0-14", 12 | "laravel-elixir-vue-2": "^0.2.0", 13 | "laravel-elixir-webpack-official": "^1.0.2", 14 | "lodash": "^4.16.2", 15 | "vue": "^2.0.1" 16 | }, 17 | "dependencies": { 18 | "form-backend-validation": "^0.0.4", 19 | "@spatie/scss": "^1.0.1" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | ./tests 14 | 15 | 16 | 17 | 18 | ./app 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Redirect Trailing Slashes If Not A Folder... 9 | RewriteCond %{REQUEST_FILENAME} !-d 10 | RewriteRule ^(.*)/$ /$1 [L,R=301] 11 | 12 | # Handle Front Controller... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_FILENAME} !-f 15 | RewriteRule ^ index.php [L] 16 | 17 | # Handle Authorization Header 18 | RewriteCond %{HTTP:Authorization} . 19 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 20 | 21 | -------------------------------------------------------------------------------- /public/css/app.css: -------------------------------------------------------------------------------- 1 | /*! normalize.css v2.1.3 | MIT License | git.io/normalize */.label--checkbox,article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}*,sub,sup{position:relative}*,a{color:inherit}.a--link,.a--link:active,.a--link:hover{-webkit-transition:.3s color linear,.3s border-color linear;text-decoration:none}.a--link,.a--link:visited,a{text-decoration:none}body,figure,h1,h2,h3{margin:0}.h-hidden,.h-hidden-invisible{visibility:hidden}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}a{background:0 0}a:focus{outline:dotted thin}a:active,a:hover{outline:0}h1{font-size:2em}dfn{font-style:italic}hr{box-sizing:content-box;height:0}mark{background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}small{font-size:80%}sub,sup{font-size:75%}sup{top:-.5em}sub{bottom:-.25em}img{border:0;max-width:100%;vertical-align:middle}svg:not(:root){overflow:hidden}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}*,.button,.button--danger,.button--primary,.button--secondary,.button--success,.button--warning,button{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}*,.grid__cell,:after,:before{box-sizing:border-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}*{font-weight:inherit;line-height:inherit}b,dt,strong{font-weight:700}.a--link{color:#0080c8;border-bottom:solid .08em rgba(0,128,200,.25);transition:.3s color linear,.3s border-color linear}.a--link:active,.a--link:hover{color:#0069ac;border-bottom:solid .08em rgba(0,105,172,.25);transition:.3s color linear,.3s border-color linear}.a--link:visited{color:#0080c8;border-bottom:solid .08em rgba(0,128,200,.25);-webkit-transition:.3s color linear,.3s border-color linear;transition:.3s color linear,.3s border-color linear}.button,.button--danger,.button--primary,.button--secondary,.button--success,.button--warning,button{font-style:inherit;font-weight:700;line-height:2.5em;display:inline-block;min-height:2.5em;padding:0 1.25em;vertical-align:middle;color:#5e5c58;background-color:#bbb3ac;border:2px solid transparent;border-radius:3px;-webkit-transition:border-color .1s linear;transition:border-color .1s linear}.button--danger:hover,.button--primary:hover,.button--secondary:hover,.button--success:hover,.button--warning:hover,.button:hover,button:hover{background-color:#bab2ab}.button--danger:focus,.button--primary:focus,.button--secondary:focus,.button--success:focus,.button--warning:focus,.button:focus,button:focus{border-color:#2cb0de!important;outline:0}.button--danger:active,.button--primary:active,.button--secondary:active,.button--success:active,.button--warning:active,.button:active,button:active{-webkit-transform:translateY(1px);transform:translateY(1px)}.-rounded.button--danger,.-rounded.button--primary,.-rounded.button--secondary,.-rounded.button--success,.-rounded.button--warning,.button.-rounded,button.-rounded{border-radius:2.5em}.-stretched.button--danger,.-stretched.button--primary,.-stretched.button--secondary,.-stretched.button--success,.-stretched.button--warning,.button.-stretched,button.-stretched{width:100%}.button--primary{color:#fff;background-color:#0080c8}.button--primary:hover{background-color:#007fc6}.button--secondary{color:#fff;background-color:#047ac5}.button--secondary:hover{background-color:#0479c4}.button--success{color:#fff;background-color:#93c01c}.button--success:hover{background-color:#92bf1c}.button--warning{color:#fff;background-color:#ff6700}.button--warning:hover{background-color:#fd6600}.button--danger{color:#fff;background-color:#e83134}.button--danger:hover{background-color:#e83033}h1,h2,h3{line-height:1.1;text-rendering:optimizeLegibility}html{font-size:16px;-webkit-font-smoothing:subpixel-antialiased;line-height:1.5;color:#1a1e25;min-height:100vh}@media (max-width:1400px){html{font-size:14px}}@media (max-width:1000px){html{font-size:12px}}@media (max-width:800px){html{font-size:12px}}.html--stretched{display:-webkit-box;display:flex}.html--stretched body{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;width:100%}.html--stretched .footer,.html--stretched .header{-webkit-box-flex:0;flex-grow:0;flex-shrink:0}.html--stretched .main{-webkit-box-flex:1;flex-grow:1}.input,input,textarea{width:100%;max-width:100%;height:2.5em;padding:0 .75em;color:#1a1e25;background:#fff;border:2px solid #d8ccc6;border-radius:3px;box-shadow:inset 0 2px 2px rgba(0,0,0,.05),0 2px 2px rgba(0,0,0,.05);-webkit-transition:border-color .1s linear;transition:border-color .1s linear}::-webkit-input-placeholder{color:#d8ccc6}:-moz-placeholder{color:#d8ccc6}::-moz-placeholder{color:#d8ccc6}:-ms-input-placeholder{color:#d8ccc6}:focus::-webkit-input-placeholder{color:rgba(255,255,255,0)}:focus:-moz-placeholder{color:rgba(255,255,255,0)}:focus::-moz-placeholder{color:rgba(255,255,255,0)}:focus:-ms-input-placeholder{color:rgba(255,255,255,0)}.input:hover,input:hover,textarea:hover{border-color:#bbb3ac}.input:focus,input:focus,textarea:focus{border-color:#2cb0de;outline:0}.input.-invalid,input.-invalid,textarea.-invalid{border-color:#e83134}.input.-invalid:focus,.input.-invalid:hover,input.-invalid:focus,input.-invalid:hover,textarea.-invalid:focus,textarea.-invalid:hover{border-color:#a32324}.input--checkbox,.input--radio,input[type=checkbox],input[type=radio]{width:1.5em;height:1.5em;margin-right:.75em;vertical-align:middle;border:0;box-shadow:none;-webkit-appearance:none!important;-moz-appearance:#fff}.input--checkbox:hover:after,.input--radio:hover:after,input[type=checkbox]:hover:after,input[type=radio]:hover:after{border-color:#bbb3ac}.input--checkbox:focus,.input--radio:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:0}.input--checkbox:focus:after,.input--radio:focus:after,input[type=checkbox]:focus:after,input[type=radio]:focus:after{border-color:#2cb0de}.input--checkbox:checked:before,.input--radio:checked:before,input[type=checkbox]:checked:before,input[type=radio]:checked:before{-webkit-transform:scale(1);transform:scale(1)}.input--checkbox:after,.input--radio:after,input[type=checkbox]:after,input[type=radio]:after{content:'';position:absolute;top:0;left:0;width:1.5em;height:1.5em;overflow:hidden;background:#fff;border:2px solid #d8ccc6;box-shadow:inset 0 2px 2px rgba(0,0,0,.05),0 2px 2px rgba(0,0,0,.05)}.input--checkbox:before,.input--radio:before,input[type=checkbox]:before,input[type=radio]:before{position:absolute;z-index:2;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform .1s;transition:-webkit-transform .1s;transition:transform .1s;transition:transform .1s,-webkit-transform .1s}.input--checkbox:after,input[type=checkbox]:after{border-radius:3px}.input--checkbox:before,input[type=checkbox]:before{font-family:fontello;font-style:inherit;content:'\e804';font-size:1.35rem;line-height:1.5em;width:100%;color:#0080c8;text-align:center}li,ol,ul{line-height:1.5}.input--radio:after,input[type=radio]:after{border-radius:100%}.input--radio:before,input[type=radio]:before{content:'';top:4px;right:4px;bottom:4px;left:4px;background:#0080c8;border-radius:100%}.label,.label--checkbox,.label--required,label{display:block;margin-bottom:.5rem}.label--checkbox{margin-bottom:1rem}blockquote p,ol,ul{margin:0}.label--required:after{content:'*'}ol,ul{padding-left:0}dd{margin-bottom:.75em;padding-bottom:.75em}p{margin:0 0 1em}blockquote{margin:0 0 1rem;padding:0}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:''}cite,q{font-style:italic}.select{display:inline-block;background:0 0;border-radius:3px;box-shadow:inset 0 2px 2px rgba(0,0,0,.05),0 2px 2px rgba(0,0,0,.05)}.select:before{content:'\25bc';line-height:calc(2.5em - .25em);position:absolute;top:2px;right:2px;bottom:2px;width:1.5em;height:auto;z-index:10;color:#d8ccc6;background:#fff;text-align:center;pointer-events:none}.select:hover:before{color:#bbb3ac}.select select{font-size:1rem;height:2.5em;padding:0 1.5em 0 .75em;background:#fff;border:2px solid #d8ccc6;border-radius:3px;text-overflow:'';-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;appearance:none}.select select::-ms-expand{display:none}address,code,ins,kbd,mark,samp,var{display:inline-block}.select select:-moz-focusring{color:transparent;text-shadow:0 0 0 #2cb0de}.select select:focus{border-color:#2cb0de;outline:0!important}b,strong{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-style:inherit}b em,b i,em,em b,em strong,i,i b,i strong,strong em,strong i{font-style:italic}abbr[title],dfn[title]{border-bottom:1px dotted #9f978f;cursor:help}address{margin-bottom:1.5em;padding:1em}code,kbd,samp,var{font-family:Consolas,"courier new",courier,monospace;font-style:inherit;font-weight:400;padding:.05em .5em;color:#252323;background:#f5eef3;border-radius:3px}del{text-decoration:line-through}ins,mark{padding:0 .25em;color:#422c00;background-color:#fff2e0;border-radius:3px;text-decoration:none}pre{white-space:pre-wrap;padding:1.5em;border-top:1px dotted #252323;border-bottom:1px dotted #252323}.h-text-ellipsis,.h-text-no-break{white-space:nowrap}sub,sup{line-height:0;vertical-align:baseline}sub{top:.5ex}sup{bottom:1ex}textarea{min-height:10em}@media (max-width:410px){.h-above-xs{display:none!important}}@media (max-width:800px){.h-above-s{display:none!important}}@media (max-width:1000px){.h-above-m{display:none!important}}@media (max-width:1400px){.h-above-l{display:none!important}}@media (min-width:410px){.h-below-xs{display:none!important}}@media (min-width:800px){.h-below-s{display:none!important}}@media (min-width:1000px){.h-below-m{display:none!important}}@media (min-width:1400px){.h-below-l{display:none!important}}.h-align-left{text-align:left}.h-align-right{text-align:right}.alerts--docked,.grid.-center,.h-align-center{text-align:center}.h-block-reset{display:block!important;width:100%!important;float:none!important;margin-right:0!important;margin-left:0!important;-webkit-transform:none!important;transform:none!important}.h-list-clean,.h-list-horizontal{margin:0;padding-left:0;list-style:none}.h-block-cover{display:block;position:absolute;top:0;left:0;bottom:0;right:0}.h-block-clearfix{zoom:1}.h-block-clearfix:after,.h-block-clearfix:before{content:'';display:table}.h-block-clearfix:after{clear:both}.h-block{display:block}.h-block-inline{display:inline-block}.h-center{position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.h-center-horizontal{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.h-center-vertical{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.h-float-right{float:right;z-index:10}.h-float-left{float:left;z-index:10}.h-float-none{float:none}.h-hidden{display:none!important}.h-hidden-transparent{opacity:0;pointer-events:none}.h-interaction-clickable{cursor:pointer}.h-interaction-unselectable{-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.h-list-horizontal li{display:inline-block}.alert--danger:empty,.alert--error:empty,.alert--info:empty,.alert--success:empty,.alert--warning:empty,.alert:empty,.alerts:empty{display:none}.h-margin{margin:1rem!important}.h-margin-none{margin:0!important}.h-margin-small{margin:.75rem!important}.h-margin-medium{margin:2rem!important}.h-margin-large{margin:4rem!important}.h-margin-left{margin-left:1rem!important}.h-margin-left-none{margin-left:0!important}.h-margin-left-small{margin-left:.75rem!important}.h-margin-left-medium{margin-left:2rem!important}.h-margin-left-large{margin-left:4rem!important}.h-margin-right{margin-right:1rem!important}.h-margin-right-none{margin-right:0!important}.h-margin-right-small{margin-right:.75rem!important}.h-margin-right-medium{margin-right:2rem!important}.h-margin-right-large{margin-right:4rem!important}.h-margin-horizontal{margin-right:1rem!important;margin-left:1rem!important}.h-margin-horizontal-none{margin-right:0!important;margin-left:0!important}.h-margin-horizontal-small{margin-right:.75rem!important;margin-left:.75rem!important}.h-margin-horizontal-medium{margin-right:2rem!important;margin-left:2rem!important}.h-margin-horizontal-large{margin-right:4rem!important;margin-left:4rem!important}.h-margin-top{margin-top:1rem!important}.h-margin-top-none{margin-top:0!important}.h-margin-top-small{margin-top:.75rem!important}.h-margin-top-medium{margin-top:2rem!important}.h-margin-top-large{margin-top:4rem!important}.h-margin-bottom{margin-bottom:1rem!important}.h-margin-bottom-none{margin-bottom:0!important}.h-margin-bottom-small{margin-bottom:.75rem!important}.h-margin-bottom-medium{margin-bottom:2rem!important}.h-margin-bottom-large{margin-bottom:4rem!important}.h-margin-vertical{margin-top:1rem!important;margin-bottom:1rem!important}.h-margin-vertical-none{margin-top:0!important;margin-bottom:0!important}.h-margin-vertical-small{margin-top:.75rem!important;margin-bottom:.75rem!important}.h-margin-vertical-medium{margin-top:2rem!important;margin-bottom:2rem!important}.h-margin-vertical-large{margin-top:4rem!important;margin-bottom:4rem!important}.h-padding{padding:1rem!important}.h-padding-none{padding:0!important}.h-padding-small{padding:.75rem!important}.h-padding-medium{padding:2rem!important}.h-padding-large{padding:4rem!important}.h-padding-left{padding-left:1rem!important}.h-padding-left-none{padding-left:0!important}.h-padding-left-small{padding-left:.75rem!important}.h-padding-left-medium{padding-left:2rem!important}.h-padding-left-large{padding-left:4rem!important}.h-padding-right{padding-right:1rem!important}.h-padding-right-none{padding-right:0!important}.h-padding-right-small{padding-right:.75rem!important}.h-padding-right-medium{padding-right:2rem!important}.h-padding-right-large{padding-right:4rem!important}.h-padding-horizontal{padding-right:1rem!important;padding-left:1rem!important}.h-padding-horizontal-none{padding-right:0!important;padding-left:0!important}.h-padding-horizontal-small{padding-right:.75rem!important;padding-left:.75rem!important}.h-padding-horizontal-medium{padding-right:2rem!important;padding-left:2rem!important}.h-padding-horizontal-large{padding-right:4rem!important;padding-left:4rem!important}.h-padding-top{padding-top:1rem!important}.h-padding-top-none{padding-top:0!important}.h-padding-top-small{padding-top:.75rem!important}.h-padding-top-medium{padding-top:2rem!important}.h-padding-top-large{padding-top:4rem!important}.h-padding-bottom{padding-bottom:1rem!important}.h-padding-bottom-none{padding-bottom:0!important}.h-padding-bottom-small{padding-bottom:.75rem!important}.h-padding-bottom-medium{padding-bottom:2rem!important}.h-padding-bottom-large{padding-bottom:4rem!important}.h-padding-vertical{padding-top:1rem!important;padding-bottom:1rem!important}.h-padding-vertical-none{padding-top:0!important;padding-bottom:0!important}.h-padding-vertical-small{padding-top:.75rem!important;padding-bottom:.75rem!important}.h-padding-vertical-medium{padding-top:2rem!important;padding-bottom:2rem!important}.h-padding-vertical-large{padding-top:4rem!important;padding-bottom:4rem!important}.h-text-small{font-size:.85rem}.h-text-large{font-size:1.8rem}.h-text-uppercase{text-transform:uppercase}.h-text-super{font-size:.65rem;top:-.35em}.h-text-sub{font-size:.65rem;top:.35em}.h-text-clean{border:0;text-decoration:none;text-transform:none}.h-text-ellipsis{overflow:hidden;text-overflow:ellipsis}.h-text-hyphens{hypens:auto}.h-text-no-hyphens{hypens:none}.alerts{margin:1rem}.alerts--docked{position:fixed;top:0;left:0;width:100%;margin:0;z-index:5000}.alerts--docked .alert,.alerts--docked .alert--danger,.alerts--docked .alert--error,.alerts--docked .alert--info,.alerts--docked .alert--success,.alerts--docked .alert--warning{margin:0}.alerts__close{position:absolute;top:1rem;right:1rem;color:inherit}.alert,.alert--danger,.alert--error,.alert--info,.alert--success,.alert--warning{padding:1rem}.alert+.alert,.alert+.alert--danger,.alert+.alert--error,.alert+.alert--info,.alert+.alert--success,.alert+.alert--warning,.alert--danger+.alert,.alert--danger+.alert--danger,.alert--danger+.alert--error,.alert--danger+.alert--info,.alert--danger+.alert--success,.alert--danger+.alert--warning,.alert--error+.alert,.alert--error+.alert--danger,.alert--error+.alert--error,.alert--error+.alert--info,.alert--error+.alert--success,.alert--error+.alert--warning,.alert--info+.alert,.alert--info+.alert--danger,.alert--info+.alert--error,.alert--info+.alert--info,.alert--info+.alert--success,.alert--info+.alert--warning,.alert--success+.alert,.alert--success+.alert--danger,.alert--success+.alert--error,.alert--success+.alert--info,.alert--success+.alert--success,.alert--success+.alert--warning,.alert--warning+.alert,.alert--warning+.alert--danger,.alert--warning+.alert--error,.alert--warning+.alert--info,.alert--warning+.alert--success,.alert--warning+.alert--warning{margin-top:1rem}.-small.alert--danger,.-small.alert--error,.-small.alert--info,.-small.alert--success,.-small.alert--warning,.alert.-small{font-size:.85rem;padding:.75rem}.-medium.alert--danger,.-medium.alert--error,.-medium.alert--info,.-medium.alert--success,.-medium.alert--warning,.alert.-medium{font-size:1.35rem;padding:.75rem}.-large.alert--danger,.-large.alert--error,.-large.alert--info,.-large.alert--success,.-large.alert--warning,.alert.-large{font-size:1.8rem;padding:.75rem}.alert--info{color:#047ac5;background:#e6f5ff}.alert--success{color:#79a01c;background:#d7e8aa}.alert--warning{color:#fff;background:#ffbb05}.alert--danger,.alert--error{color:#e83134;background:#fcebec}/*! Avalanche | MIT License | @colourgarden */.grid{display:block;list-style:none;padding:0;margin:0 0 0 -2rem;font-size:0}.grid__cell{display:inline-block;width:100%;padding:0 0 0 2rem;margin:0;vertical-align:top;font-size:1rem}.grid.-center>.grid__cell{text-align:left}.grid__cell.-center{display:block;margin:0 auto}.grid.-right{text-align:right}.grid.-right>.grid__cell{text-align:left}.grid.-middle>.grid__cell{vertical-align:middle}.grid.-bottom>.grid__cell{vertical-align:bottom}.grid.-flush{margin-left:0}.grid.-flush>.grid__cell{padding-left:0}.grid.-auto>.grid__cell{width:auto}.grid.-rev{direction:rtl}.grid.-rev>.grid__cell{direction:ltr}.-width-1\/2,.-width-2\/4,.-width-3\/6{width:50%}.-width-1\/3,.-width-2\/6{width:33.3333333333%}.-width-2\/3,.-width-4\/6{width:66.6666666667%}.-width-1\/4{width:25%}.-width-3\/4{width:75%}.-width-1\/5{width:20%}.-width-2\/5{width:40%}.-width-3\/5{width:60%}.-width-4\/5{width:80%}.-width-1\/6{width:16.6666666667%}.-width-5\/6{width:83.3333333333%}@media (min-width:800px){.-width-1\/2--s,.-width-2\/4--s,.-width-3\/6--s{width:50%}.-width-1\/3--s,.-width-2\/6--s{width:33.3333333333%}.-width-2\/3--s,.-width-4\/6--s{width:66.6666666667%}.-width-1\/4--s{width:25%}.-width-3\/4--s{width:75%}.-width-1\/5--s{width:20%}.-width-2\/5--s{width:40%}.-width-3\/5--s{width:60%}.-width-4\/5--s{width:80%}.-width-1\/6--s{width:16.6666666667%}.-width-5\/6--s{width:83.3333333333%}}@media (min-width:1000px){.-width-1\/2--m,.-width-2\/4--m,.-width-3\/6--m{width:50%}.-width-1\/3--m,.-width-2\/6--m{width:33.3333333333%}.-width-2\/3--m,.-width-4\/6--m{width:66.6666666667%}.-width-1\/4--m{width:25%}.-width-3\/4--m{width:75%}.-width-1\/5--m{width:20%}.-width-2\/5--m{width:40%}.-width-3\/5--m{width:60%}.-width-4\/5--m{width:80%}.-width-1\/6--m{width:16.6666666667%}.-width-5\/6--m{width:83.3333333333%}}@media (min-width:1400px){.-width-1\/2--l,.-width-2\/4--l,.-width-3\/6--l{width:50%}.-width-1\/3--l,.-width-2\/6--l{width:33.3333333333%}.-width-2\/3--l,.-width-4\/6--l{width:66.6666666667%}.-width-1\/4--l{width:25%}.-width-3\/4--l{width:75%}.-width-1\/5--l{width:20%}.-width-2\/5--l{width:40%}.-width-3\/5--l{width:60%}.-width-4\/5--l{width:80%}.-width-1\/6--l{width:16.6666666667%}.-width-5\/6--l{width:83.3333333333%}}.layout{max-width:75rem;margin:0 auto;padding:2rem}.layout.-left{margin-left:0}.layout.-right{margin-right:0}.-for-field.alert--danger,.-for-field.alert--error,.-for-field.alert--info,.-for-field.alert--success,.-for-field.alert--warning,.alert.-for-field{position:absolute;right:0;top:0;padding:0!important;background:0 0!important} -------------------------------------------------------------------------------- /public/css/app.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../../../node_modules/normalize-css/normalize.css","app.css","../../../node_modules/spatie-scss/src/base/*.scss","../../../node_modules/spatie-scss/src/settings/typography.scss","../../../node_modules/spatie-scss/src/base/a.scss","../../../node_modules/spatie-scss/src/utility/mixins/text.scss","../../../node_modules/spatie-scss/src/settings/color.scss","../../../node_modules/spatie-scss/src/base/button.scss","../../../node_modules/spatie-scss/src/utility/mixins/font.scss","../../../node_modules/spatie-scss/src/settings/form.scss","../../../node_modules/spatie-scss/src/settings/border.scss","../../../node_modules/spatie-scss/src/base/h.scss","../../../node_modules/spatie-scss/src/base/html.scss","../../../node_modules/spatie-scss/src/utility/mixins/mq.scss","../../../node_modules/spatie-scss/src/base/img.scss","../../../node_modules/spatie-scss/src/base/input.scss","../../../node_modules/spatie-scss/src/utility/mixins/form.scss","../../../node_modules/spatie-scss/src/base/input-check-radio.scss","../../../node_modules/spatie-scss/src/base/label.scss","../../../node_modules/spatie-scss/src/settings/layout.scss","../../../node_modules/spatie-scss/src/base/list.scss","../../../node_modules/spatie-scss/src/base/p.scss","../../../node_modules/spatie-scss/src/base/quote.scss","../../../node_modules/spatie-scss/src/base/select.scss","../../../node_modules/spatie-scss/src/base/text-tag.scss","../../../node_modules/spatie-scss/src/utility/mixins/block.scss","../../../node_modules/spatie-scss/src/base/textarea.scss","../../../node_modules/spatie-scss/src/helpers/above-below.scss","../../../node_modules/spatie-scss/src/helpers/align.scss","../../../node_modules/spatie-scss/src/helpers/block.scss","../../../node_modules/spatie-scss/src/helpers/center.scss","../../../node_modules/spatie-scss/src/utility/mixins/center.scss","../../../node_modules/spatie-scss/src/helpers/float.scss","../../../node_modules/spatie-scss/src/helpers/hidden.scss","../../../node_modules/spatie-scss/src/helpers/interaction.scss","../../../node_modules/spatie-scss/src/helpers/list.scss","../../../node_modules/spatie-scss/src/utility/mixins/list.scss","../../../node_modules/spatie-scss/src/helpers/margin.scss","../../../node_modules/spatie-scss/src/helpers/padding.scss","../../../node_modules/spatie-scss/src/helpers/text.scss","../../../node_modules/spatie-scss/src/components/alert.scss","../../../node_modules/avalanche-css/_avalanche.scss","../../../node_modules/spatie-scss/src/patterns/layout.scss","app.scss"],"names":[],"mappings":"AAAA,4DAA4D;AAE5D;;gFAEgF;AAEhF;;GAEG;AAEH;;;;;;;;;;;;EAYI,eAAe;CAClB;;AAED;;GAEG;AAEH;;;EAGI,sBAAsB;CACzB;;AAED;;;GAGG;AAEH;EACI,cAAc;EACd,UAAU;CACb;;AAED;;;GAGG;ACJH;;EDQI,cAAc;CACjB;;AAED;;gFAEgF;AAEhF;;;;GAIG;AAEH;EACI,wBAAwB;EAAE,OAAO;EACjC,2BAA2B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AED;EACI,2BAA2B;CAC9B;;AAED;EACI,iCAAkC;CACrC;;AAED;EACI,8BAAkC;CACrC;;AAED;EACI,8BAAkC;CACrC;;AAED;EACI,8BAAwC;EACxC,6BAAuC;CAC1C;;AAED;EACI,2BAA2B;EAC3B,0BAA0B;CAC7B;;AAED;EACI,iCAAkC;EAClC,gCAAiC;CACpC;;AAED;EACI,8BAAkC;EAClC,6BAAiC;CACpC;;AAED;EACI,8BAAkC;EAClC,6BAAiC;CACpC;;AAED;EACI,4BAAsC;CACzC;;AAED;EACI,yBAAyB;CAC5B;;AAED;EACI,+BAAgC;CACnC;;AAED;EACI,4BAAgC;CACnC;;AAED;EACI,4BAAgC;CACnC;;AAED;EACI,+BAAyC;CAC5C;;AAED;EACI,4BAA4B;CAC/B;;AAED;EACI,kCAAmC;CACtC;;AAED;EACI,+BAAmC;CACtC;;AAED;EACI,+BAAmC;CACtC;;AAED;EACI,4BAAsC;EACtC,+BAAyC;CAC5C;;AAED;EACI,yBAAyB;EACzB,4BAA4B;CAC/B;;AAED;EACI,+BAAgC;EAChC,kCAAmC;CACtC;;AAED;EACI,4BAAgC;EAChC,+BAAmC;CACtC;;AAED;EACI,4BAAgC;EAChC,+BAAmC;CACtC;;ACpJD;EACI,yBAAmC;CACtC;;AAED;EACI,sBAAsB;CACzB;;AAED;EACI,4BAA6B;CAChC;;AAED;EACI,yBAA6B;CAChC;;AAED;EACI,yBAA6B;CAChC;;AAED;EACI,8BAAwC;CAC3C;;AAED;EACI,2BAA2B;CAC9B;;AAED;EACI,iCAAkC;CACrC;;AAED;EACI,8BAAkC;CACrC;;AAED;EACI,8BAAkC;CACrC;;AAED;EACI,+BAAyC;CAC5C;;AAED;EACI,4BAA4B;CAC/B;;AAED;EACI,kCAAmC;CACtC;;AAED;EACI,+BAAmC;CACtC;;AAED;EACI,+BAAmC;CACtC;;AAED;EACI,+BAAyC;EACzC,8BAAwC;CAC3C;;AAED;EACI,4BAA4B;EAC5B,2BAA2B;CAC9B;;AA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n\n/* ==========================================================================\n HTML5 display definitions\n ========================================================================== */\n\n/**\n * Correct `block` display not defined in IE 8/9.\n */\n\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n/**\n * Correct `inline-block` display not defined in IE 8/9.\n */\n\naudio,\ncanvas,\nvideo {\n display: inline-block;\n}\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\n\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n/**\n * Address `[hidden]` styling not present in IE 8/9.\n * Hide the `template` element in IE, Safari, and Firefox < 22.\n */\n\n[hidden],\ntemplate {\n display: none;\n}\n\n/* ==========================================================================\n Base\n ========================================================================== */\n\n/**\n * 1. Set default font family to sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n * user zoom.\n */\n\nhtml {\n font-family: sans-serif; /* 1 */\n -ms-text-size-adjust: 100%; /* 2 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/**\n * Remove default margin.\n */\n\nbody {\n margin: 0;\n}\n\n/* ==========================================================================\n Links\n ========================================================================== */\n\n/**\n * Remove the gray background color from active links in IE 10.\n */\n\na {\n background: transparent;\n}\n\n/**\n * Address `outline` inconsistency between Chrome and other browsers.\n */\n\na:focus {\n outline: thin dotted;\n}\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\n\na:active,\na:hover {\n outline: 0;\n}\n\n/* ==========================================================================\n Typography\n ========================================================================== */\n\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari 5, and Chrome.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/**\n * Address styling not present in IE 8/9, Safari 5, and Chrome.\n */\n\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.\n */\n\nb,\nstrong {\n font-weight: bold;\n}\n\n/**\n * Address styling not present in Safari 5 and Chrome.\n */\n\ndfn {\n font-style: italic;\n}\n\n/**\n * Address differences between Firefox and other browsers.\n */\n\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n/**\n * Address styling not present in IE 8/9.\n */\n\nmark {\n background: #ff0;\n color: #000;\n}\n\n/**\n * Correct font family set oddly in Safari 5 and Chrome.\n */\n\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, serif;\n font-size: 1em;\n}\n\n/**\n * Improve readability of pre-formatted text in all browsers.\n */\n\npre {\n white-space: pre-wrap;\n}\n\n/**\n * Set consistent quote types.\n */\n\nq {\n quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n}\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/* ==========================================================================\n Embedded content\n ========================================================================== */\n\n/**\n * Remove border when inside `a` element in IE 8/9.\n */\n\nimg {\n border: 0;\n}\n\n/**\n * Correct overflow displayed oddly in IE 9.\n */\n\nsvg:not(:root) {\n overflow: hidden;\n}\n\n/* ==========================================================================\n Figures\n ========================================================================== */\n\n/**\n * Address margin not present in IE 8/9 and Safari 5.\n */\n\nfigure {\n margin: 0;\n}\n\n/* ==========================================================================\n Forms\n ========================================================================== */\n\n/**\n * Define consistent border, margin, and padding.\n */\n\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\n\nlegend {\n border: 0; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * 1. Correct font family not being inherited in all browsers.\n * 2. Correct font size not being inherited in all browsers.\n * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.\n */\n\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 2 */\n margin: 0; /* 3 */\n}\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\n\nbutton,\ninput {\n line-height: normal;\n}\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.\n * Correct `select` style inheritance in Firefox 4+ and Opera.\n */\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n * and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n * `input` and others.\n */\n\nbutton,\nhtml input[type=\"button\"], /* 1 */\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button; /* 2 */\n cursor: pointer; /* 3 */\n}\n\n/**\n * Re-set default cursor for disabled elements.\n */\n\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\n\n/**\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\n\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome\n * (include `-moz` to future-proof).\n */\n\ninput[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box; /* 2 */\n box-sizing: content-box;\n}\n\n/**\n * Remove inner padding and search cancel button in Safari 5 and Chrome\n * on OS X.\n */\n\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\n\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n/**\n * 1. Remove default vertical scrollbar in IE 8/9.\n * 2. Improve readability and alignment in all browsers.\n */\n\ntextarea {\n overflow: auto; /* 1 */\n vertical-align: top; /* 2 */\n}\n\n/* ==========================================================================\n Tables\n ========================================================================== */\n\n/**\n * Remove most spacing between table cells.\n */\n\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n","/*! normalize.css v2.1.3 | MIT License | git.io/normalize */\n/* ==========================================================================\n HTML5 display definitions\n ========================================================================== */\n/**\n * Correct `block` display not defined in IE 8/9.\n */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection,\nsummary {\n display: block;\n}\n\n/**\n * Correct `inline-block` display not defined in IE 8/9.\n */\naudio,\ncanvas,\nvideo {\n display: inline-block;\n}\n\n/**\n * Prevent modern browsers from displaying `audio` without controls.\n * Remove excess height in iOS 5 devices.\n */\naudio:not([controls]) {\n display: none;\n height: 0;\n}\n\n/**\n * Address `[hidden]` styling not present in IE 8/9.\n * Hide the `template` element in IE, Safari, and Firefox < 22.\n */\n[hidden],\ntemplate {\n display: none;\n}\n\n/* ==========================================================================\n Base\n ========================================================================== */\n/**\n * 1. Set default font family to sans-serif.\n * 2. Prevent iOS text size adjust after orientation change, without disabling\n * user zoom.\n */\nhtml {\n font-family: sans-serif;\n /* 1 */\n -ms-text-size-adjust: 100%;\n /* 2 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n}\n\n/**\n * Remove default margin.\n */\nbody {\n margin: 0;\n}\n\n/* ==========================================================================\n Links\n ========================================================================== */\n/**\n * Remove the gray background color from active links in IE 10.\n */\na {\n background: transparent;\n}\n\n/**\n * Address `outline` inconsistency between Chrome and other browsers.\n */\na:focus {\n outline: thin dotted;\n}\n\n/**\n * Improve readability when focused and also mouse hovered in all browsers.\n */\na:active,\na:hover {\n outline: 0;\n}\n\n/* ==========================================================================\n Typography\n ========================================================================== */\n/**\n * Address variable `h1` font-size and margin within `section` and `article`\n * contexts in Firefox 4+, Safari 5, and Chrome.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/**\n * Address styling not present in IE 8/9, Safari 5, and Chrome.\n */\nabbr[title] {\n border-bottom: 1px dotted;\n}\n\n/**\n * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.\n */\nb,\nstrong {\n font-weight: bold;\n}\n\n/**\n * Address styling not present in Safari 5 and Chrome.\n */\ndfn {\n font-style: italic;\n}\n\n/**\n * Address differences between Firefox and other browsers.\n */\nhr {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n height: 0;\n}\n\n/**\n * Address styling not present in IE 8/9.\n */\nmark {\n background: #ff0;\n color: #000;\n}\n\n/**\n * Correct font family set oddly in Safari 5 and Chrome.\n */\ncode,\nkbd,\npre,\nsamp {\n font-family: monospace, serif;\n font-size: 1em;\n}\n\n/**\n * Improve readability of pre-formatted text in all browsers.\n */\npre {\n white-space: pre-wrap;\n}\n\n/**\n * Set consistent quote types.\n */\nq {\n quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n}\n\n/**\n * Address inconsistent and variable font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` affecting `line-height` in all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsup {\n top: -0.5em;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/* ==========================================================================\n Embedded content\n ========================================================================== */\n/**\n * Remove border when inside `a` element in IE 8/9.\n */\nimg {\n border: 0;\n}\n\n/**\n * Correct overflow displayed oddly in IE 9.\n */\nsvg:not(:root) {\n overflow: hidden;\n}\n\n/* ==========================================================================\n Figures\n ========================================================================== */\n/**\n * Address margin not present in IE 8/9 and Safari 5.\n */\nfigure {\n margin: 0;\n}\n\n/* ==========================================================================\n Forms\n ========================================================================== */\n/**\n * Define consistent border, margin, and padding.\n */\nfieldset {\n border: 1px solid #c0c0c0;\n margin: 0 2px;\n padding: 0.35em 0.625em 0.75em;\n}\n\n/**\n * 1. Correct `color` not being inherited in IE 8/9.\n * 2. Remove padding so people aren't caught out if they zero out fieldsets.\n */\nlegend {\n border: 0;\n /* 1 */\n padding: 0;\n /* 2 */\n}\n\n/**\n * 1. Correct font family not being inherited in all browsers.\n * 2. Correct font size not being inherited in all browsers.\n * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.\n */\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 2 */\n margin: 0;\n /* 3 */\n}\n\n/**\n * Address Firefox 4+ setting `line-height` on `input` using `!important` in\n * the UA stylesheet.\n */\nbutton,\ninput {\n line-height: normal;\n}\n\n/**\n * Address inconsistent `text-transform` inheritance for `button` and `select`.\n * All other form control elements do not inherit `text-transform` values.\n * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.\n * Correct `select` style inheritance in Firefox 4+ and Opera.\n */\nbutton,\nselect {\n text-transform: none;\n}\n\n/**\n * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`\n * and `video` controls.\n * 2. Correct inability to style clickable `input` types in iOS.\n * 3. Improve usability and consistency of cursor style between image-type\n * `input` and others.\n */\nbutton,\nhtml input[type=\"button\"],\ninput[type=\"reset\"],\ninput[type=\"submit\"] {\n -webkit-appearance: button;\n /* 2 */\n cursor: pointer;\n /* 3 */\n}\n\n/**\n * Re-set default cursor for disabled elements.\n */\nbutton[disabled],\nhtml input[disabled] {\n cursor: default;\n}\n\n/**\n * 1. Address box sizing set to `content-box` in IE 8/9/10.\n * 2. Remove excess padding in IE 8/9/10.\n */\ninput[type=\"checkbox\"],\ninput[type=\"radio\"] {\n box-sizing: border-box;\n /* 1 */\n padding: 0;\n /* 2 */\n}\n\n/**\n * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.\n * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome\n * (include `-moz` to future-proof).\n */\ninput[type=\"search\"] {\n -webkit-appearance: textfield;\n /* 1 */\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n /* 2 */\n box-sizing: content-box;\n}\n\n/**\n * Remove inner padding and search cancel button in Safari 5 and Chrome\n * on OS X.\n */\ninput[type=\"search\"]::-webkit-search-cancel-button,\ninput[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * Remove inner padding and border in Firefox 4+.\n */\nbutton::-moz-focus-inner,\ninput::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\n\n/**\n * 1. Remove default vertical scrollbar in IE 8/9.\n * 2. Improve readability and alignment in all browsers.\n */\ntextarea {\n overflow: auto;\n /* 1 */\n vertical-align: top;\n /* 2 */\n}\n\n/* ==========================================================================\n Tables\n ========================================================================== */\n/**\n * Remove most spacing between table cells.\n */\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n\n* {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-weight: inherit;\n line-height: inherit;\n box-sizing: border-box;\n position: relative;\n color: inherit;\n}\n\n*:after, *:before {\n box-sizing: border-box;\n}\n\na {\n color: inherit;\n text-decoration: none;\n}\n\n.a--link {\n color: #0080c8;\n border-bottom: solid 0.08em rgba(0, 128, 200, 0.25);\n text-decoration: none;\n transition: .3s color linear, .3s border-color linear;\n}\n\n.a--link:hover {\n color: #0069ac;\n border-bottom: solid 0.08em rgba(0, 105, 172, 0.25);\n text-decoration: none;\n transition: .3s color linear, .3s border-color linear;\n}\n\n.a--link:active {\n color: #0069ac;\n border-bottom: solid 0.08em rgba(0, 105, 172, 0.25);\n text-decoration: none;\n transition: .3s color linear, .3s border-color linear;\n}\n\n.a--link:visited {\n color: #0080c8;\n border-bottom: solid 0.08em rgba(0, 128, 200, 0.25);\n text-decoration: none;\n transition: .3s color linear, .3s border-color linear;\n}\n\nbutton,\n.button,\n.button--primary,\n.button--secondary,\n.button--success,\n.button--warning,\n.button--danger {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-style: inherit;\n font-weight: 700;\n line-height: 2.5em;\n display: inline-block;\n min-height: 2.5em;\n padding: 0 1.25em;\n vertical-align: middle;\n color: #5e5c58;\n background-color: #bbb3ac;\n border: transparent 2px solid;\n border-radius: 3px;\n transition: border-color .1s linear;\n}\n\nbutton:hover,\n.button:hover,\n.button--primary:hover,\n.button--secondary:hover,\n.button--success:hover,\n.button--warning:hover,\n.button--danger:hover {\n background-color: #bab2ab;\n}\n\nbutton:focus,\n.button:focus,\n.button--primary:focus,\n.button--secondary:focus,\n.button--success:focus,\n.button--warning:focus,\n.button--danger:focus {\n border-color: #2cb0de !important;\n outline: 0;\n}\n\nbutton:active,\n.button:active,\n.button--primary:active,\n.button--secondary:active,\n.button--success:active,\n.button--warning:active,\n.button--danger:active {\n transform: translateY(1px);\n}\n\nbutton.-rounded,\n.button.-rounded,\n.-rounded.button--primary,\n.-rounded.button--secondary,\n.-rounded.button--success,\n.-rounded.button--warning,\n.-rounded.button--danger {\n border-radius: 2.5em;\n}\n\nbutton.-stretched,\n.button.-stretched,\n.-stretched.button--primary,\n.-stretched.button--secondary,\n.-stretched.button--success,\n.-stretched.button--warning,\n.-stretched.button--danger {\n width: 100%;\n}\n\n.button--primary {\n color: white;\n background-color: #0080c8;\n}\n\n.button--primary:hover {\n background-color: #007fc6;\n}\n\n.button--secondary {\n color: white;\n background-color: #047ac5;\n}\n\n.button--secondary:hover {\n background-color: #0479c4;\n}\n\n.button--success {\n color: white;\n background-color: #93c01c;\n}\n\n.button--success:hover {\n background-color: #92bf1c;\n}\n\n.button--warning {\n color: white;\n background-color: #ff6700;\n}\n\n.button--warning:hover {\n background-color: #fd6600;\n}\n\n.button--danger {\n color: white;\n background-color: #e83134;\n}\n\n.button--danger:hover {\n background-color: #e83033;\n}\n\nh1,\nh2,\nh3 {\n line-height: 1.1;\n margin: 0;\n text-rendering: optimizeLegibility;\n}\n\nhtml {\n font-size: 16px;\n -webkit-font-smoothing: subpixel-antialiased;\n line-height: 1.5;\n color: #1a1e25;\n min-height: 100vh;\n}\n\n@media (max-width: 1400px) {\n html {\n font-size: 14px;\n }\n}\n\n@media (max-width: 1000px) {\n html {\n font-size: 12px;\n }\n}\n\n@media (max-width: 800px) {\n html {\n font-size: 12px;\n }\n}\n\n.html--stretched {\n display: flex;\n}\n\n.html--stretched body {\n display: flex;\n flex-direction: column;\n width: 100%;\n}\n\n.html--stretched .header,\n.html--stretched .footer {\n flex-grow: 0;\n flex-shrink: 0;\n}\n\n.html--stretched .main {\n flex-grow: 1;\n}\n\nimg {\n max-width: 100%;\n vertical-align: middle;\n}\n\ninput,\n.input,\ntextarea {\n width: 100%;\n max-width: 100%;\n height: 2.5em;\n padding: 0 0.75em;\n color: #1a1e25;\n background: white;\n border: 2px #d8ccc6 solid;\n border-radius: 3px;\n box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.05);\n transition: border-color .1s linear;\n}\n\n::-webkit-input-placeholder {\n color: #d8ccc6;\n}\n\n:-moz-placeholder {\n color: #d8ccc6;\n}\n\n::-moz-placeholder {\n color: #d8ccc6;\n}\n\n:-ms-input-placeholder {\n color: #d8ccc6;\n}\n\n:focus::-webkit-input-placeholder {\n color: rgba(255, 255, 255, 0);\n}\n\n:focus:-moz-placeholder {\n color: rgba(255, 255, 255, 0);\n}\n\n:focus::-moz-placeholder {\n color: rgba(255, 255, 255, 0);\n}\n\n:focus:-ms-input-placeholder {\n color: rgba(255, 255, 255, 0);\n}\n\ninput:hover,\n.input:hover,\ntextarea:hover {\n border-color: #bbb3ac;\n}\n\ninput:focus,\n.input:focus,\ntextarea:focus {\n border-color: #2cb0de;\n outline: 0;\n}\n\ninput.-invalid,\n.input.-invalid,\ntextarea.-invalid {\n border-color: #e83134;\n}\n\ninput.-invalid:hover, input.-invalid:focus,\n.input.-invalid:hover,\ntextarea.-invalid:hover,\n.input.-invalid:focus,\ntextarea.-invalid:focus {\n border-color: #a32324;\n}\n\ninput[type=checkbox],\ninput[type=radio],\n.input--checkbox,\n.input--radio {\n width: 1.5em;\n height: 1.5em;\n margin-right: 0.75em;\n vertical-align: middle;\n border: 0;\n box-shadow: none;\n -webkit-appearance: none !important;\n -moz-appearance: white;\n}\n\ninput[type=checkbox]:hover:after,\ninput[type=radio]:hover:after,\n.input--checkbox:hover:after,\n.input--radio:hover:after {\n border-color: #bbb3ac;\n}\n\ninput[type=checkbox]:focus,\ninput[type=radio]:focus,\n.input--checkbox:focus,\n.input--radio:focus {\n outline: none;\n}\n\ninput[type=checkbox]:focus:after,\ninput[type=radio]:focus:after,\n.input--checkbox:focus:after,\n.input--radio:focus:after {\n border-color: #2cb0de;\n}\n\ninput[type=checkbox]:checked:before,\ninput[type=radio]:checked:before,\n.input--checkbox:checked:before,\n.input--radio:checked:before {\n transform: scale(1);\n}\n\ninput[type=checkbox]:after,\ninput[type=radio]:after,\n.input--checkbox:after,\n.input--radio:after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 1.5em;\n height: 1.5em;\n overflow: hidden;\n background: white;\n border: 2px #d8ccc6 solid;\n box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.05);\n}\n\ninput[type=checkbox]:before,\ninput[type=radio]:before,\n.input--checkbox:before,\n.input--radio:before {\n position: absolute;\n z-index: 2;\n transform: scale(0);\n transition: transform .1s;\n}\n\ninput[type=checkbox]:after,\n.input--checkbox:after {\n border-radius: 3px;\n}\n\ninput[type=checkbox]:before,\n.input--checkbox:before {\n font-family: fontello;\n font-style: inherit;\n content: '\\e804';\n font-size: 1.35rem;\n line-height: 1.5em;\n width: 100%;\n color: #0080c8;\n text-align: center;\n}\n\ninput[type=radio]:after,\n.input--radio:after {\n border-radius: 100%;\n}\n\ninput[type=radio]:before,\n.input--radio:before {\n content: '';\n top: 4px;\n right: 4px;\n bottom: 4px;\n left: 4px;\n background: #0080c8;\n border-radius: 100%;\n}\n\nlabel,\n.label,\n.label--checkbox,\n.label--required {\n display: block;\n margin-bottom: 0.5rem;\n}\n\n.label--checkbox {\n display: block;\n margin-bottom: 1rem;\n}\n\n.label--required:after {\n content: '*';\n}\n\nol,\nul {\n line-height: 1.5;\n margin: 0;\n padding-left: 0;\n}\n\nli {\n line-height: 1.5;\n}\n\ndt {\n font-weight: bold;\n}\n\ndd {\n margin-bottom: .75em;\n padding-bottom: .75em;\n}\n\np {\n margin: 0 0 1em;\n}\n\nblockquote {\n display: block;\n margin: 0 0 1rem;\n padding: 0;\n}\n\nblockquote p {\n margin: 0;\n}\n\nblockquote,\nq {\n quotes: none;\n}\n\nblockquote:before, blockquote:after,\nq:before,\nq:after {\n content: '';\n}\n\nq,\ncite {\n font-style: italic;\n}\n\n.select {\n display: inline-block;\n background: transparent;\n border-radius: 3px;\n box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.05);\n}\n\n.select:before {\n content: '\\25bc';\n line-height: calc( 2.5em - .25em);\n position: absolute;\n top: 2px;\n right: 2px;\n bottom: 2px;\n width: 1.5em;\n height: auto;\n z-index: 10;\n color: #d8ccc6;\n background: white;\n text-align: center;\n pointer-events: none;\n}\n\n.select:hover:before {\n color: #bbb3ac;\n}\n\n.select select {\n font-size: 1rem;\n height: 2.5em;\n padding: 0 1.5em 0 0.75em;\n background: white;\n border: #d8ccc6 2px solid;\n border-radius: 3px;\n text-overflow: '';\n -webkit-appearance: none;\n -moz-appearance: none;\n -ms-appearance: none;\n appearance: none;\n}\n\n.select select::-ms-expand {\n display: none;\n}\n\n.select select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #2cb0de;\n}\n\n.select select:focus {\n border-color: #2cb0de;\n outline: none !important;\n}\n\nstrong,\nb {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-style: inherit;\n font-weight: 700;\n}\n\nstrong em,\nstrong i,\ni strong,\nem strong,\nb em,\nb i,\ni\nb,\nem\nb {\n font-style: italic;\n}\n\nem,\ni {\n font-style: italic;\n}\n\nabbr[title],\ndfn[title] {\n border-bottom: 1px dotted #9f978f;\n cursor: help;\n}\n\naddress {\n display: inline-block;\n margin-bottom: 1.5em;\n padding: 1em;\n}\n\ncode,\nkbd,\nsamp,\nvar {\n font-family: Consolas, \"courier new\", courier, monospace;\n font-style: inherit;\n font-weight: 400;\n display: inline-block;\n padding: .05em .5em;\n color: #252323;\n background: #f5eef3;\n border-radius: 3px;\n}\n\ndel {\n text-decoration: line-through;\n}\n\nins,\nmark {\n display: inline-block;\n padding: 0 .25em;\n color: #422c00;\n background-color: #fff2e0;\n border-radius: 3px;\n text-decoration: none;\n}\n\npre {\n padding: 1.5em;\n border-top: 1px dotted #252323;\n border-bottom: 1px dotted #252323;\n}\n\nsub,\nsup {\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n top: .5ex;\n}\n\nsup {\n bottom: 1ex;\n}\n\ntextarea {\n min-height: 10em;\n}\n\n@media (max-width: 410px) {\n .h-above-xs {\n display: none !important;\n }\n}\n\n@media (max-width: 800px) {\n .h-above-s {\n display: none !important;\n }\n}\n\n@media (max-width: 1000px) {\n .h-above-m {\n display: none !important;\n }\n}\n\n@media (max-width: 1400px) {\n .h-above-l {\n display: none !important;\n }\n}\n\n@media (min-width: 410px) {\n .h-below-xs {\n display: none !important;\n }\n}\n\n@media (min-width: 800px) {\n .h-below-s {\n display: none !important;\n }\n}\n\n@media (min-width: 1000px) {\n .h-below-m {\n display: none !important;\n }\n}\n\n@media (min-width: 1400px) {\n .h-below-l {\n display: none !important;\n }\n}\n\n.h-align-left {\n text-align: left;\n}\n\n.h-align-right {\n text-align: right;\n}\n\n.h-align-center {\n text-align: center;\n}\n\n.h-block-reset {\n display: block !important;\n width: 100% !important;\n float: none !important;\n margin-right: 0 !important;\n margin-left: 0 !important;\n transform: none !important;\n}\n\n.h-block-cover {\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n}\n\n.h-block-clearfix {\n zoom: 1;\n}\n\n.h-block-clearfix:before, .h-block-clearfix:after {\n content: '';\n display: table;\n}\n\n.h-block-clearfix:after {\n clear: both;\n}\n\n.h-block {\n display: block;\n}\n\n.h-block-inline {\n display: inline-block;\n}\n\n.h-center {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n}\n\n.h-center-horizontal {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.h-center-vertical {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.h-float-right {\n float: right;\n z-index: 10;\n}\n\n.h-float-left {\n float: left;\n z-index: 10;\n}\n\n.h-float-none {\n float: none;\n}\n\n.h-hidden {\n display: none !important;\n visibility: hidden;\n}\n\n.h-hidden-invisible {\n visibility: hidden;\n}\n\n.h-hidden-transparent {\n opacity: 0;\n pointer-events: none;\n}\n\n.h-interaction-clickable {\n cursor: pointer;\n}\n\n.h-interaction-unselectable {\n -webkit-user-select: none;\n -moz-user-select: -moz-none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.h-list-horizontal {\n margin: 0;\n padding-left: 0;\n list-style: none;\n}\n\n.h-list-horizontal li {\n display: inline-block;\n}\n\n.h-list-clean {\n margin: 0;\n padding-left: 0;\n list-style: none;\n}\n\n.h-margin {\n margin: 1rem !important;\n}\n\n.h-margin-none {\n margin: 0 !important;\n}\n\n.h-margin-small {\n margin: 0.75rem !important;\n}\n\n.h-margin-medium {\n margin: 2rem !important;\n}\n\n.h-margin-large {\n margin: 4rem !important;\n}\n\n.h-margin-left {\n margin-left: 1rem !important;\n}\n\n.h-margin-left-none {\n margin-left: 0 !important;\n}\n\n.h-margin-left-small {\n margin-left: 0.75rem !important;\n}\n\n.h-margin-left-medium {\n margin-left: 2rem !important;\n}\n\n.h-margin-left-large {\n margin-left: 4rem !important;\n}\n\n.h-margin-right {\n margin-right: 1rem !important;\n}\n\n.h-margin-right-none {\n margin-right: 0 !important;\n}\n\n.h-margin-right-small {\n margin-right: 0.75rem !important;\n}\n\n.h-margin-right-medium {\n margin-right: 2rem !important;\n}\n\n.h-margin-right-large {\n margin-right: 4rem !important;\n}\n\n.h-margin-horizontal {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n}\n\n.h-margin-horizontal-none {\n margin-right: 0 !important;\n margin-left: 0 !important;\n}\n\n.h-margin-horizontal-small {\n margin-right: 0.75rem !important;\n margin-left: 0.75rem !important;\n}\n\n.h-margin-horizontal-medium {\n margin-right: 2rem !important;\n margin-left: 2rem !important;\n}\n\n.h-margin-horizontal-large {\n margin-right: 4rem !important;\n margin-left: 4rem !important;\n}\n\n.h-margin-top {\n margin-top: 1rem !important;\n}\n\n.h-margin-top-none {\n margin-top: 0 !important;\n}\n\n.h-margin-top-small {\n margin-top: 0.75rem !important;\n}\n\n.h-margin-top-medium {\n margin-top: 2rem !important;\n}\n\n.h-margin-top-large {\n margin-top: 4rem !important;\n}\n\n.h-margin-bottom {\n margin-bottom: 1rem !important;\n}\n\n.h-margin-bottom-none {\n margin-bottom: 0 !important;\n}\n\n.h-margin-bottom-small {\n margin-bottom: 0.75rem !important;\n}\n\n.h-margin-bottom-medium {\n margin-bottom: 2rem !important;\n}\n\n.h-margin-bottom-large {\n margin-bottom: 4rem !important;\n}\n\n.h-margin-vertical {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n}\n\n.h-margin-vertical-none {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n}\n\n.h-margin-vertical-small {\n margin-top: 0.75rem !important;\n margin-bottom: 0.75rem !important;\n}\n\n.h-margin-vertical-medium {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n}\n\n.h-margin-vertical-large {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n}\n\n.h-padding {\n padding: 1rem !important;\n}\n\n.h-padding-none {\n padding: 0 !important;\n}\n\n.h-padding-small {\n padding: 0.75rem !important;\n}\n\n.h-padding-medium {\n padding: 2rem !important;\n}\n\n.h-padding-large {\n padding: 4rem !important;\n}\n\n.h-padding-left {\n padding-left: 1rem !important;\n}\n\n.h-padding-left-none {\n padding-left: 0 !important;\n}\n\n.h-padding-left-small {\n padding-left: 0.75rem !important;\n}\n\n.h-padding-left-medium {\n padding-left: 2rem !important;\n}\n\n.h-padding-left-large {\n padding-left: 4rem !important;\n}\n\n.h-padding-right {\n padding-right: 1rem !important;\n}\n\n.h-padding-right-none {\n padding-right: 0 !important;\n}\n\n.h-padding-right-small {\n padding-right: 0.75rem !important;\n}\n\n.h-padding-right-medium {\n padding-right: 2rem !important;\n}\n\n.h-padding-right-large {\n padding-right: 4rem !important;\n}\n\n.h-padding-horizontal {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n}\n\n.h-padding-horizontal-none {\n padding-right: 0 !important;\n padding-left: 0 !important;\n}\n\n.h-padding-horizontal-small {\n padding-right: 0.75rem !important;\n padding-left: 0.75rem !important;\n}\n\n.h-padding-horizontal-medium {\n padding-right: 2rem !important;\n padding-left: 2rem !important;\n}\n\n.h-padding-horizontal-large {\n padding-right: 4rem !important;\n padding-left: 4rem !important;\n}\n\n.h-padding-top {\n padding-top: 1rem !important;\n}\n\n.h-padding-top-none {\n padding-top: 0 !important;\n}\n\n.h-padding-top-small {\n padding-top: 0.75rem !important;\n}\n\n.h-padding-top-medium {\n padding-top: 2rem !important;\n}\n\n.h-padding-top-large {\n padding-top: 4rem !important;\n}\n\n.h-padding-bottom {\n padding-bottom: 1rem !important;\n}\n\n.h-padding-bottom-none {\n padding-bottom: 0 !important;\n}\n\n.h-padding-bottom-small {\n padding-bottom: 0.75rem !important;\n}\n\n.h-padding-bottom-medium {\n padding-bottom: 2rem !important;\n}\n\n.h-padding-bottom-large {\n padding-bottom: 4rem !important;\n}\n\n.h-padding-vertical {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n}\n\n.h-padding-vertical-none {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n\n.h-padding-vertical-small {\n padding-top: 0.75rem !important;\n padding-bottom: 0.75rem !important;\n}\n\n.h-padding-vertical-medium {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n}\n\n.h-padding-vertical-large {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n}\n\n.h-text-small {\n font-size: 0.85rem;\n}\n\n.h-text-large {\n font-size: 1.8rem;\n}\n\n.h-text-uppercase {\n text-transform: uppercase;\n}\n\n.h-text-super {\n font-size: 0.65rem;\n top: -.35em;\n}\n\n.h-text-sub {\n font-size: 0.65rem;\n top: .35em;\n}\n\n.h-text-clean {\n border: 0;\n text-decoration: none;\n text-transform: none;\n}\n\n.h-text-ellipsis {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.h-text-hyphens {\n hypens: auto;\n}\n\n.h-text-no-hyphens {\n hypens: none;\n}\n\n.h-text-no-break {\n white-space: nowrap;\n}\n\n.alerts {\n margin: 1rem;\n}\n\n.alerts:empty {\n display: none;\n}\n\n.alerts--docked {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n margin: 0;\n z-index: 5000;\n text-align: center;\n}\n\n.alerts--docked .alert, .alerts--docked .alert--info, .alerts--docked .alert--success, .alerts--docked .alert--warning, .alerts--docked .alert--error, .alerts--docked\n.alert--danger {\n margin: 0;\n}\n\n.alerts__close {\n position: absolute;\n top: 1rem;\n right: 1rem;\n color: inherit;\n}\n\n.alert, .alert--info, .alert--success, .alert--warning, .alert--error,\n.alert--danger {\n padding: 1rem;\n}\n\n.alert + .alert, .alert--info + .alert, .alert--success + .alert, .alert--warning + .alert, .alert--error + .alert,\n.alert--danger + .alert, .alert + .alert--info, .alert--info + .alert--info, .alert--success + .alert--info, .alert--warning + .alert--info, .alert--error + .alert--info,\n.alert--danger + .alert--info, .alert + .alert--success, .alert--info + .alert--success, .alert--success + .alert--success, .alert--warning + .alert--success, .alert--error + .alert--success,\n.alert--danger + .alert--success, .alert + .alert--warning, .alert--info + .alert--warning, .alert--success + .alert--warning, .alert--warning + .alert--warning, .alert--error + .alert--warning,\n.alert--danger + .alert--warning, .alert + .alert--error, .alert--info + .alert--error, .alert--success + .alert--error, .alert--warning + .alert--error, .alert--error + .alert--error,\n.alert--danger + .alert--error, .alert +\n.alert--danger, .alert--info +\n.alert--danger, .alert--success +\n.alert--danger, .alert--warning +\n.alert--danger, .alert--error +\n.alert--danger,\n.alert--danger +\n.alert--danger {\n margin-top: 1rem;\n}\n\n.alert:empty, .alert--info:empty, .alert--success:empty, .alert--warning:empty, .alert--error:empty,\n.alert--danger:empty {\n display: none;\n}\n\n.alert.-small, .-small.alert--info, .-small.alert--success, .-small.alert--warning, .-small.alert--error,\n.-small.alert--danger {\n font-size: 0.85rem;\n padding: 0.75rem;\n}\n\n.alert.-medium, .-medium.alert--info, .-medium.alert--success, .-medium.alert--warning, .-medium.alert--error,\n.-medium.alert--danger {\n font-size: 1.35rem;\n padding: 0.75rem;\n}\n\n.alert.-large, .-large.alert--info, .-large.alert--success, .-large.alert--warning, .-large.alert--error,\n.-large.alert--danger {\n font-size: 1.8rem;\n padding: 0.75rem;\n}\n\n.alert--info {\n color: #047ac5;\n background: #e6f5ff;\n}\n\n.alert--success {\n color: #79a01c;\n background: #d7e8aa;\n}\n\n.alert--warning {\n color: white;\n background: #ffbb05;\n}\n\n.alert--error,\n.alert--danger {\n color: #e83134;\n background: #fcebec;\n}\n\n/*! Avalanche | MIT License | @colourgarden */\n/*------------------------------------* SETTINGS\n\\*------------------------------------*/\n/*------------------------------------* LOGIC aka THE MAGIC\n\\*------------------------------------*/\n/*------------------------------------* GRID LAYOUT\n\\*------------------------------------*/\n.grid {\n display: block;\n list-style: none;\n padding: 0;\n margin: 0;\n margin-left: -2rem;\n font-size: 0rem;\n}\n\n.grid__cell {\n box-sizing: border-box;\n display: inline-block;\n width: 100%;\n padding: 0;\n padding-left: 2rem;\n margin: 0;\n vertical-align: top;\n font-size: 1rem;\n}\n\n.grid.-center {\n text-align: center;\n}\n\n.grid.-center > .grid__cell {\n text-align: left;\n}\n\n.grid__cell.-center {\n display: block;\n margin: 0 auto;\n}\n\n.grid.-right {\n text-align: right;\n}\n\n.grid.-right > .grid__cell {\n text-align: left;\n}\n\n.grid.-middle > .grid__cell {\n vertical-align: middle;\n}\n\n.grid.-bottom > .grid__cell {\n vertical-align: bottom;\n}\n\n.grid.-flush {\n margin-left: 0;\n}\n\n.grid.-flush > .grid__cell {\n padding-left: 0;\n}\n\n.grid.-auto > .grid__cell {\n width: auto;\n}\n\n.grid.-rev {\n direction: rtl;\n}\n\n.grid.-rev > .grid__cell {\n direction: ltr;\n}\n\n/*------------------------------------* GRID WIDTHS\n\\*------------------------------------*/\n.-width-1\\/2, .-width-2\\/4, .-width-3\\/6 {\n width: 50%;\n}\n\n.-width-1\\/3, .-width-2\\/6 {\n width: 33.3333333333%;\n}\n\n.-width-2\\/3, .-width-4\\/6 {\n width: 66.6666666667%;\n}\n\n.-width-1\\/4 {\n width: 25%;\n}\n\n.-width-3\\/4 {\n width: 75%;\n}\n\n.-width-1\\/5 {\n width: 20%;\n}\n\n.-width-2\\/5 {\n width: 40%;\n}\n\n.-width-3\\/5 {\n width: 60%;\n}\n\n.-width-4\\/5 {\n width: 80%;\n}\n\n.-width-1\\/6 {\n width: 16.6666666667%;\n}\n\n.-width-5\\/6 {\n width: 83.3333333333%;\n}\n\n@media (min-width: 800px) {\n .-width-1\\/2--s, .-width-2\\/4--s, .-width-3\\/6--s {\n width: 50%;\n }\n .-width-1\\/3--s, .-width-2\\/6--s {\n width: 33.3333333333%;\n }\n .-width-2\\/3--s, .-width-4\\/6--s {\n width: 66.6666666667%;\n }\n .-width-1\\/4--s {\n width: 25%;\n }\n .-width-3\\/4--s {\n width: 75%;\n }\n .-width-1\\/5--s {\n width: 20%;\n }\n .-width-2\\/5--s {\n width: 40%;\n }\n .-width-3\\/5--s {\n width: 60%;\n }\n .-width-4\\/5--s {\n width: 80%;\n }\n .-width-1\\/6--s {\n width: 16.6666666667%;\n }\n .-width-5\\/6--s {\n width: 83.3333333333%;\n }\n}\n\n@media (min-width: 1000px) {\n .-width-1\\/2--m, .-width-2\\/4--m, .-width-3\\/6--m {\n width: 50%;\n }\n .-width-1\\/3--m, .-width-2\\/6--m {\n width: 33.3333333333%;\n }\n .-width-2\\/3--m, .-width-4\\/6--m {\n width: 66.6666666667%;\n }\n .-width-1\\/4--m {\n width: 25%;\n }\n .-width-3\\/4--m {\n width: 75%;\n }\n .-width-1\\/5--m {\n width: 20%;\n }\n .-width-2\\/5--m {\n width: 40%;\n }\n .-width-3\\/5--m {\n width: 60%;\n }\n .-width-4\\/5--m {\n width: 80%;\n }\n .-width-1\\/6--m {\n width: 16.6666666667%;\n }\n .-width-5\\/6--m {\n width: 83.3333333333%;\n }\n}\n\n@media (min-width: 1400px) {\n .-width-1\\/2--l, .-width-2\\/4--l, .-width-3\\/6--l {\n width: 50%;\n }\n .-width-1\\/3--l, .-width-2\\/6--l {\n width: 33.3333333333%;\n }\n .-width-2\\/3--l, .-width-4\\/6--l {\n width: 66.6666666667%;\n }\n .-width-1\\/4--l {\n width: 25%;\n }\n .-width-3\\/4--l {\n width: 75%;\n }\n .-width-1\\/5--l {\n width: 20%;\n }\n .-width-2\\/5--l {\n width: 40%;\n }\n .-width-3\\/5--l {\n width: 60%;\n }\n .-width-4\\/5--l {\n width: 80%;\n }\n .-width-1\\/6--l {\n width: 16.6666666667%;\n }\n .-width-5\\/6--l {\n width: 83.3333333333%;\n }\n}\n\n.layout {\n max-width: 75rem;\n margin: 0 auto;\n padding: 2rem;\n}\n\n.layout.-left {\n margin-left: 0;\n}\n\n.layout.-right {\n margin-right: 0;\n}\n\n.alert.-for-field, .-for-field.alert--info, .-for-field.alert--success, .-for-field.alert--warning, .-for-field.alert--error,\n.-for-field.alert--danger {\n position: absolute;\n right: 0;\n top: 0;\n padding: 0 !important;\n background: none !important;\n}\n","* {\n font-family: font-family(default);\n font-weight: inherit;\n line-height: inherit;\n\n box-sizing: border-box;\n position: relative;\n\n color: inherit;\n\n &:after,\n &:before {\n box-sizing: border-box;\n }\n}\n","$font-family: (\n icons: fontello,\n default: (-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif),\n secondary: (serif),\n fixed: (Consolas, 'courier new', courier, monospace),\n) !default;\n$font-size: (\n px: (\n xs: 12px,\n s: 14px,\n default: 16px,\n m: 21px,\n l: 28px,\n xl: 42px,\n ),\n rem: (\n xs: .65rem,\n s: .85rem,\n default: 1rem,\n m: 1.35rem,\n l: 1.8rem,\n xl: 2.4rem\n ),\n) !default;\n$font-weight: (\n default: (\n thin: 100,\n light: 300,\n normal: 400,\n medium: 600,\n bold: 700,\n black: 900,\n ),\n secondary: (\n normal: 400,\n bold: 700,\n ),\n fixed: (\n normal: 400,\n bold: 700,\n ),\n) !default;\n$line-height: (\n xs: 1.1,\n s: 1.25,\n default: 1.5,\n m: 1.75,\n l: 2.5,\n xl: 3,\n) !default;\n$font-anti-aliasing: subpixel !default;\n","a {\n color: inherit;\n\n text-decoration: none;\n}\n\n.a--link {\n @include text-underline(link-color());\n\n &:hover {\n @include text-underline(link-color(hover));\n }\n\n &:active {\n @include text-underline(link-color(active));\n }\n\n &:visited {\n @include text-underline(link-color(visited));\n }\n}\n","@mixin text-underline($color, $border-color: rgba($color, .25), $border-width: .08em) {\n color: $color;\n border-bottom: solid $border-width $border-color;\n\n text-decoration: none;\n\n transition: .3s color linear, .3s border-color linear;\n}\n\n@mixin text-underline-hover($color, $border-color: rgba($color, .75), $border-width: .08em) {\n &:hover {\n color: $color;\n border-bottom: solid $border-width $border-color;\n }\n}\n\n@mixin text-ellipsis {\n overflow: hidden;\n\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n@mixin text-antialiasing($value: subpixel) {\n @if $value == subpixel {\n -webkit-font-smoothing: subpixel-antialiased;\n }\n @if $value == pixel {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n}\n","$color: (\n black: #000,\n white: #fff,\n text: #1a1e25\n) !default;\n$red: (\n lightest: #fcebec,\n lighter: #e69a9c,\n light: #f16a73,\n default: #e83134,\n dark: #a32324,\n darker: #63010e,\n darkest: #3d0109,\n) !default;\n$orange: (\n lightest: #ffe5ca,\n lighter: #f5b180,\n light: #e77636,\n default: #ff6700,\n dark: #c83f08,\n darker: #581902,\n darkest: #391102,\n) !default;\n$yellow: (\n lightest: #fff2e0,\n lighter: #f7e5a1,\n light: #ffc853,\n default: #ffbb05,\n dark: #d98e00,\n darker: #734d00,\n darkest: #422c00,\n) !default;\n$blue: (\n lightest: #e6f5ff,\n lighter: #8bcdff,\n light: #2cb0de,\n default: #0080c8,\n dark: #047ac5,\n darker: #024271,\n darkest: #00284f,\n) !default;\n$green: (\n lightest: #d7e8aa,\n lighter: #c8dd7f,\n light: #afd835,\n default: #93c01c,\n dark: #79a01c,\n darker: #236510,\n darkest: #0c3c05,\n) !default;\n$gray: (\n lightest: #f5eef3,\n lighter: #d8ccc6,\n light: #bbb3ac,\n default: #9f978f,\n dark: #5e5c58,\n darker: #464542,\n darkest: #252323,\n) !default;\n$link-color: (\n default: #0080c8,\n hover: #0069ac,\n active: #0069ac,\n visited: #0080c8\n) !default;\n$social-color: (\n twitter: #55acee,\n facebook: #3b5999,\n youtube: #cd201f,\n pinterest: #c92228,\n flickr: #ff0084\n) !default;\n","button,\n.button {\n @include font-bold;\n\n line-height: input(height);\n\n display: inline-block;\n min-height: input(height);\n padding: 0 button(padding);\n vertical-align: middle;\n\n color: button(neutral-color);\n background-color: button(neutral-background);\n border: transparent input(border-width) solid;\n border-radius: input(border-radius);\n\n transition: border-color .1s linear;\n\n &:hover {\n background-color: darken(button(neutral-background), .3);\n }\n\n &:focus {\n border-color: input(border-color-focus) !important;\n outline: 0;\n }\n\n &:active {\n transform: translateY(1px);\n }\n\n &.-rounded {\n border-radius: input(height);\n }\n\n &.-stretched {\n width: 100%;\n }\n}\n\n.button--primary {\n @extend .button;\n\n color: button(primary-color);\n background-color: button(primary-background);\n\n &:hover {\n background-color: darken(button(primary-background), .3);\n }\n}\n\n.button--secondary {\n @extend .button;\n\n color: button(secondary-color);\n background-color: button(secondary-background);\n\n &:hover {\n background-color: darken(button(secondary-background), .3);\n }\n}\n\n.button--success {\n @extend .button;\n\n color: button(success-color);\n background-color: button(success-background);\n\n &:hover {\n background-color: darken(button(success-background), .3);\n }\n}\n\n.button--warning {\n @extend .button;\n\n color: button(warning-color);\n background-color: button(warning-background);\n\n &:hover {\n background-color: darken(button(warning-background), .3);\n }\n}\n\n.button--danger {\n @extend .button;\n\n color: button(danger-color);\n background-color: button(danger-background);\n\n &:hover {\n background-color: darken(button(danger-background), .3);\n }\n}\n","// Generic\n@mixin font-size($font-size: default, $type: rem) {\n font-size: font-size($font-size, $type);\n}\n\n@mixin font($family: default, $weight: normal, $style: inherit) {\n font-family: font-family($family);\n font-style: $style;\n @if $family != 'icons' {\n font-weight: font-weight($weight, $family);\n }\n}\n\n// Shortcuts\n@mixin font-icons {\n @include font(icons);\n}\n\n@mixin font-thin {\n @include font(default, thin);\n}\n\n@mixin font-light {\n @include font(default, light);\n}\n\n@mixin font-medium {\n @include font(default, medium);\n}\n\n@mixin font-bold {\n @include font(default, bold);\n}\n\n@mixin font-black {\n @include font(default, black);\n}\n\n@mixin font-secondary {\n @include font(secondary);\n}\n\n@mixin font-secondary-bold {\n @include font(secondary, bold);\n}\n\n@mixin font-fixed {\n @include font(fixed);\n}\n\n@mixin font-fixed-bold {\n @include font(fixed, bold);\n}\n","$button: (\n neutral-background: gray(light),\n neutral-color: gray(dark),\n primary-background: blue(default),\n primary-color: white(),\n secondary-background: blue(dark),\n secondary-color: white(),\n success-background: green(default),\n success-color: white(),\n warning-background: orange(),\n warning-color: white(),\n danger-background: red(),\n danger-color: white(),\n padding: 1.25em,\n) !default;\n$input: (\n height: 2.5em,\n height-small: 1.5em,\n height-textarea: 10em,\n border-width: 2px,\n border-color: gray(lighter),\n border-color-hover: gray(light),\n border-color-focus: blue(light),\n border-radius: border-radius(s),\n box-shadow: (inset 0 2px 2px rgba(0, 0, 0, .05), 0 2px 2px rgba(0, 0, 0, .05)),\n color: text-color(),\n mark-color: blue(),\n placeholder-color: gray(lighter),\n padding: .75em,\n) !default;\n","$border-radius: (\n xs: 1px,\n s: 3px,\n default: 5px,\n m: 7px,\n l: 11px,\n xl: 21px,\n) !default;\n","h1,\nh2,\nh3 {\n line-height: 1.1;\n\n margin: 0;\n\n text-rendering: optimizeLegibility;\n}\n","html {\n @include font-size(default, px);\n @include text-antialiasing($font-anti-aliasing);\n\n line-height: line-height();\n\n color: text-color();\n min-height: 100vh;\n\n @include mq-smaller(l) {\n @include font-size(s, px);\n }\n @include mq-smaller(m) {\n @include font-size(xs, px);\n }\n @include mq-smaller(s) {\n @include font-size(xs, px);\n }\n}\n\n.html--stretched {\n display: flex;\n\n body {\n display: flex;\n flex-direction: column;\n width: 100%;\n }\n\n .header,\n .footer {\n flex-grow: 0;\n flex-shrink: 0;\n }\n\n .main {\n flex-grow: 1;\n }\n}\n","@mixin mq($breakpoint, $query: min-width) {\n @media (#{$query}: #{$breakpoint} ) {\n @content;\n }\n}\n\n@mixin mq-smaller($breakpoint: s) {\n @include mq(breakpoint($breakpoint), max-width) {\n @content;\n }\n}\n\n@mixin mq-wider($breakpoint: s) {\n @include mq(breakpoint($breakpoint), min-width) {\n @content;\n }\n}\n\n@mixin mq-shorter($breakpoint: s) {\n @include mq(breakpoint($breakpoint, vertical), max-height) {\n @content;\n }\n}\n\n@mixin mq-taller($breakpoint: s) {\n @include mq(breakpoint($breakpoint, vertical), min-height) {\n @content;\n }\n}\n","img {\n max-width: 100%;\n vertical-align: middle;\n}\n","input,\n.input {\n width: 100%;\n max-width: 100%;\n height: input(height);\n padding: 0 input(padding);\n\n color: input(color);\n background: white();\n border: input(border-width) input(border-color) solid;\n border-radius: input(border-radius);\n box-shadow: input(box-shadow);\n\n transition: border-color .1s linear;\n\n @include form-placeholder() {\n color: input(placeholder-color);\n }\n @include form-placeholder(':focus') {\n color: white(0);\n }\n\n &:hover {\n border-color: input(border-color-hover);\n }\n\n &:focus {\n border-color: input(border-color-focus);\n outline: 0;\n }\n\n &.-invalid {\n border-color: red();\n\n &:hover,\n &:focus {\n border-color: red(dark);\n }\n }\n}\n","@mixin form-placeholder($pseudo: '') {\n @at-root #{$pseudo}::-webkit-input-placeholder {\n @content;\n }\n\n @at-root #{$pseudo}:-moz-placeholder {\n @content;\n }\n\n @at-root #{$pseudo}::-moz-placeholder {\n @content;\n }\n\n @at-root #{$pseudo}:-ms-input-placeholder {\n @content;\n }\n}\n","input[type=checkbox],\ninput[type=radio],\n.input--checkbox,\n.input--radio {\n width: input(height-small);\n height: input(height-small);\n margin-right: input(height-small)/2;\n vertical-align: middle;\n\n border: 0;\n box-shadow: none;\n\n -webkit-appearance: none !important;\n -moz-appearance: white();\n\n &:hover {\n &:after {\n border-color: input(border-color-hover);\n }\n }\n\n &:focus {\n outline: none;\n\n &:after {\n border-color: input(border-color-focus);\n }\n }\n\n &:checked {\n &:before {\n transform: scale(1);\n }\n }\n\n &:after {\n content: '';\n\n position: absolute;\n top: 0;\n left: 0;\n width: input(height-small);\n height: input(height-small);\n overflow: hidden;\n\n background: white();\n border: input(border-width) input(border-color) solid;\n box-shadow: input(box-shadow);\n }\n\n &:before {\n position: absolute;\n z-index: 2;\n\n transform: scale(0);\n transition: transform .1s;\n }\n}\n\ninput[type=checkbox],\n.input--checkbox {\n &:after {\n border-radius: input(border-radius);\n }\n\n &:before {\n @include font-icons;\n\n content: '\\e804'; // Check\n\n font-size: font-size(m);\n line-height: input(height-small);\n\n width: 100%;\n\n color: input(mark-color);\n\n text-align: center;\n }\n}\n\ninput[type=radio],\n.input--radio {\n &:after {\n border-radius: 100%;\n }\n\n &:before {\n content: '';\n\n top: 4px;\n right: 4px;\n bottom: 4px;\n left: 4px;\n\n background: input(mark-color);\n border-radius: 100%;\n }\n}\n","label,\n.label {\n display: block;\n margin-bottom: gutter(xs);\n}\n\n.label--checkbox {\n @extend .label;\n\n display: block;\n margin-bottom: gutter();\n}\n\n.label--required {\n @extend .label;\n\n &:after {\n content: '*';\n }\n}\n","$grid: (\n spacing: 2rem,\n widths: (\n 2,\n 3,\n 4,\n 5,\n 6,\n )\n) !default;\n$gutter: (\n xs: .5rem,\n s: .75rem,\n default: 1rem,\n m: 2rem,\n l: 4rem,\n xl: 8rem,\n) !default;\n$layout: (\n max-width: 75rem,\n padding: 2rem,\n) !default;\n$z-index: (\n 'modal': 5000,\n 'toolbar': 2000,\n 'fixed': 500,\n 'above': 10,\n 'default': 1,\n 'below': -1,\n) !default;\n","ol,\nul {\n line-height: line-height();\n\n margin: 0;\n padding-left: 0;\n}\n\nli {\n line-height: line-height();\n}\n\ndt {\n font-weight: bold;\n}\n\ndd {\n margin-bottom: .75em;\n padding-bottom: .75em;\n}\n","p {\n margin: 0 0 1em;\n}\n","blockquote {\n display: block;\n margin: 0 0 gutter();\n padding: 0;\n\n p {\n margin: 0;\n }\n}\n\nblockquote,\nq {\n quotes: none;\n\n &:before,\n &:after {\n content: '';\n }\n}\n\nq,\ncite {\n font-style: italic;\n}\n","// Apply to wrapper!\n.select {\n display: inline-block;\n\n background: transparent;\n border-radius: input(border-radius);\n box-shadow: input(box-shadow);\n\n &:before {\n content: '\\25bc'; // Arrow down\n\n line-height: calc( #{input(height)} - .25em); // Visual correction\n\n position: absolute;\n top: input(border-width);\n right: input(border-width);\n bottom: input(border-width);\n width: input(height-small);\n height: auto;\n z-index: z-index(above);\n\n color: input(border-color);\n background: white();\n\n text-align: center;\n\n pointer-events: none;\n }\n\n &:hover {\n &:before {\n color: input(border-color-hover);\n }\n }\n\n select {\n font-size: font-size();\n\n height: input(height);\n padding: 0 input(height-small) 0 input(padding);\n\n background: white();\n border: input(border-color) input(border-width) solid;\n border-radius: input(border-radius);\n\n text-overflow: '';\n\n -webkit-appearance: none;\n -moz-appearance: none;\n -ms-appearance: none;\n appearance: none;\n\n &::-ms-expand {\n display: none;\n }\n\n &:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 input(border-color-focus);\n }\n\n &:focus {\n border-color: input(border-color-focus);\n outline: none !important;\n }\n }\n}\n","strong,\nb {\n @include font-bold;\n\n em,\n i,\n i &,\n em & {\n font-style: italic;\n }\n}\n\n\nem,\ni {\n font-style: italic;\n}\n\n// Less used\n\nabbr,\ndfn {\n &[title] {\n border-bottom: 1px dotted gray();\n\n cursor: help;\n }\n}\n\naddress {\n display: inline-block;\n margin-bottom: 1.5em;\n padding: 1em;\n}\n\ncode,\nkbd,\nsamp,\nvar {\n @include font-fixed;\n\n display: inline-block;\n padding: .05em .5em;\n\n color: gray(darkest);\n background: gray(lightest);\n border-radius: border-radius(s);\n}\n\ndel {\n text-decoration: line-through;\n}\n\nins,\nmark {\n @include block-tag(yellow(darkest) , yellow(lightest));\n\n text-decoration: none;\n}\n\npre {\n padding: 1.5em;\n\n border-top: 1px dotted gray(darkest);\n border-bottom: 1px dotted gray(darkest);\n}\n\nsub,\nsup {\n line-height: 0;\n\n vertical-align: baseline;\n}\n\nsub {\n top: .5ex;\n}\n\nsup {\n bottom: 1ex;\n}\n","@mixin block-reset {\n display: block !important;\n width: 100% !important;\n float: none !important;\n margin-right: 0 !important;\n margin-left: 0 !important;\n\n transform: none !important;\n}\n\n@mixin block-cover($position: absolute) {\n display: block;\n position: $position;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n}\n\n@mixin block-tag($color, $background-color) {\n display: inline-block;\n padding: 0 .25em;\n\n color: $color;\n background-color: $background-color;\n border-radius: border-radius(s);\n}\n\n@mixin block-clearfix {\n zoom: 1;\n\n &:before,\n &:after {\n content: '';\n\n display: table;\n }\n\n &:after {\n clear: both;\n }\n}\n","textarea {\n @extend .input;\n\n min-height: input(height-textarea);\n}\n","&.h-above-xs {\n @include mq-smaller(xs) {\n display: none !important;\n }\n}\n\n&.h-above-s {\n @include mq-smaller(s) {\n display: none !important;\n }\n}\n\n&.h-above-m {\n @include mq-smaller(m) {\n display: none !important;\n }\n}\n\n&.h-above-l {\n @include mq-smaller(l) {\n display: none !important;\n }\n}\n\n&.h-below-xs {\n @include mq-wider(xs) {\n display: none !important;\n }\n}\n\n&.h-below-s {\n @include mq-wider(s) {\n display: none !important;\n }\n}\n\n&.h-below-m {\n @include mq-wider(m) {\n display: none !important;\n }\n}\n\n&.h-below-l {\n @include mq-wider(l) {\n display: none !important;\n }\n}\n",".h-align-left {\n text-align: left;\n}\n\n.h-align-right {\n text-align: right;\n}\n\n.h-align-center {\n text-align: center;\n}\n",".h-block-reset {\n @include block-reset;\n}\n\n.h-block-cover {\n @include block-cover;\n}\n\n.h-block-clearfix {\n @include block-clearfix;\n}\n\n.h-block {\n display: block;\n}\n\n.h-block-inline {\n display: inline-block;\n}\n",".h-center {\n @include center;\n}\n\n.h-center-horizontal {\n @include center-horizontal;\n}\n\n.h-center-vertical {\n @include center-vertical;\n}\n","@mixin center($position: absolute) {\n position: $position;\n top: 50%;\n left: 50%;\n\n transform: translateX(-50%) translateY(-50%);\n}\n\n@mixin center-horizontal($position: absolute) {\n position: $position;\n left: 50%;\n\n transform: translateX(-50%);\n}\n\n@mixin center-vertical($position: absolute) {\n position: $position;\n top: 50%;\n\n transform: translateY(-50%);\n}\n",".h-float-right {\n float: right;\n z-index: z-index(above);\n}\n\n.h-float-left {\n float: left;\n z-index: z-index(above);\n}\n\n.h-float-none {\n float: none;\n}\n",".h-hidden {\n display: none !important;\n visibility: hidden;\n}\n\n.h-hidden-invisible {\n visibility: hidden;\n}\n\n.h-hidden-transparent {\n opacity: 0;\n\n pointer-events: none;\n}\n",".h-interaction-clickable {\n cursor: pointer;\n}\n\n.h-interaction-unselectable {\n -webkit-user-select: none;\n -moz-user-select: -moz-none;\n -ms-user-select: none;\n user-select: none;\n}\n",".h-list-horizontal {\n @include list-horizontal;\n}\n\n.h-list-clean {\n @include list-clean;\n}\n","@mixin list-horizontal {\n margin: 0;\n padding-left: 0;\n\n list-style: none;\n\n li {\n display: inline-block;\n }\n}\n\n@mixin list-clean {\n margin: 0;\n padding-left: 0;\n\n list-style: none;\n}\n",".h-margin {\n margin: gutter(default) !important;\n}\n\n.h-margin-none {\n margin: 0 !important;\n}\n\n.h-margin-small {\n margin: gutter(s) !important;\n}\n\n.h-margin-medium {\n margin: gutter(m) !important;\n}\n\n.h-margin-large {\n margin: gutter(l) !important;\n}\n\n.h-margin-left {\n margin-left: gutter(default) !important;\n}\n\n.h-margin-left-none {\n margin-left: 0 !important;\n}\n\n.h-margin-left-small {\n margin-left: gutter(s) !important;\n}\n\n.h-margin-left-medium {\n margin-left: gutter(m) !important;\n}\n\n.h-margin-left-large {\n margin-left: gutter(l) !important;\n}\n\n.h-margin-right {\n margin-right: gutter(default) !important;\n}\n\n.h-margin-right-none {\n margin-right: 0 !important;\n}\n\n.h-margin-right-small {\n margin-right: gutter(s) !important;\n}\n\n.h-margin-right-medium {\n margin-right: gutter(m) !important;\n}\n\n.h-margin-right-large {\n margin-right: gutter(l) !important;\n}\n\n.h-margin-horizontal {\n margin-right: gutter(default) !important;\n margin-left: gutter(default) !important;\n}\n\n.h-margin-horizontal-none {\n margin-right: 0 !important;\n margin-left: 0 !important;\n}\n\n.h-margin-horizontal-small {\n margin-right: gutter(s) !important;\n margin-left: gutter(s) !important;\n}\n\n.h-margin-horizontal-medium {\n margin-right: gutter(m) !important;\n margin-left: gutter(m) !important;\n}\n\n.h-margin-horizontal-large {\n margin-right: gutter(l) !important;\n margin-left: gutter(l) !important;\n}\n\n.h-margin-top {\n margin-top: gutter(default) !important;\n}\n\n.h-margin-top-none {\n margin-top: 0 !important;\n}\n\n.h-margin-top-small {\n margin-top: gutter(s) !important;\n}\n\n.h-margin-top-medium {\n margin-top: gutter(m) !important;\n}\n\n.h-margin-top-large {\n margin-top: gutter(l) !important;\n}\n\n.h-margin-bottom {\n margin-bottom: gutter(default) !important;\n}\n\n.h-margin-bottom-none {\n margin-bottom: 0 !important;\n}\n\n.h-margin-bottom-small {\n margin-bottom: gutter(s) !important;\n}\n\n.h-margin-bottom-medium {\n margin-bottom: gutter(m) !important;\n}\n\n.h-margin-bottom-large {\n margin-bottom: gutter(l) !important;\n}\n\n.h-margin-vertical {\n margin-top: gutter(default) !important;\n margin-bottom: gutter(default) !important;\n}\n\n.h-margin-vertical-none {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n}\n\n.h-margin-vertical-small {\n margin-top: gutter(s) !important;\n margin-bottom: gutter(s) !important;\n}\n\n.h-margin-vertical-medium {\n margin-top: gutter(m) !important;\n margin-bottom: gutter(m) !important;\n}\n\n.h-margin-vertical-large {\n margin-top: gutter(l) !important;\n margin-bottom: gutter(l) !important;\n}\n",".h-padding {\n padding: gutter(default) !important;\n}\n\n.h-padding-none {\n padding: 0 !important;\n}\n\n.h-padding-small {\n padding: gutter(s) !important;\n}\n\n.h-padding-medium {\n padding: gutter(m) !important;\n}\n\n.h-padding-large {\n padding: gutter(l) !important;\n}\n\n.h-padding-left {\n padding-left: gutter(default) !important;\n}\n\n.h-padding-left-none {\n padding-left: 0 !important;\n}\n\n.h-padding-left-small {\n padding-left: gutter(s) !important;\n}\n\n.h-padding-left-medium {\n padding-left: gutter(m) !important;\n}\n\n.h-padding-left-large {\n padding-left: gutter(l) !important;\n}\n\n.h-padding-right {\n padding-right: gutter(default) !important;\n}\n\n.h-padding-right-none {\n padding-right: 0 !important;\n}\n\n.h-padding-right-small {\n padding-right: gutter(s) !important;\n}\n\n.h-padding-right-medium {\n padding-right: gutter(m) !important;\n}\n\n.h-padding-right-large {\n padding-right: gutter(l) !important;\n}\n\n.h-padding-horizontal {\n padding-right: gutter(default) !important;\n padding-left: gutter(default) !important;\n}\n\n.h-padding-horizontal-none {\n padding-right: 0 !important;\n padding-left: 0 !important;\n}\n\n.h-padding-horizontal-small {\n padding-right: gutter(s) !important;\n padding-left: gutter(s) !important;\n}\n\n.h-padding-horizontal-medium {\n padding-right: gutter(m) !important;\n padding-left: gutter(m) !important;\n}\n\n.h-padding-horizontal-large {\n padding-right: gutter(l) !important;\n padding-left: gutter(l) !important;\n}\n\n.h-padding-top {\n padding-top: gutter(default) !important;\n}\n\n.h-padding-top-none {\n padding-top: 0 !important;\n}\n\n.h-padding-top-small {\n padding-top: gutter(s) !important;\n}\n\n.h-padding-top-medium {\n padding-top: gutter(m) !important;\n}\n\n.h-padding-top-large {\n padding-top: gutter(l) !important;\n}\n\n.h-padding-bottom {\n padding-bottom: gutter(default) !important;\n}\n\n.h-padding-bottom-none {\n padding-bottom: 0 !important;\n}\n\n.h-padding-bottom-small {\n padding-bottom: gutter(s) !important;\n}\n\n.h-padding-bottom-medium {\n padding-bottom: gutter(m) !important;\n}\n\n.h-padding-bottom-large {\n padding-bottom: gutter(l) !important;\n}\n\n.h-padding-vertical {\n padding-top: gutter(default) !important;\n padding-bottom: gutter(default) !important;\n}\n\n.h-padding-vertical-none {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n\n.h-padding-vertical-small {\n padding-top: gutter(s) !important;\n padding-bottom: gutter(s) !important;\n}\n\n.h-padding-vertical-medium {\n padding-top: gutter(m) !important;\n padding-bottom: gutter(m) !important;\n}\n\n.h-padding-vertical-large {\n padding-top: gutter(l) !important;\n padding-bottom: gutter(l) !important;\n}\n",".h-text-small {\n font-size: font-size(s);\n}\n\n.h-text-large {\n font-size: font-size(l);\n}\n\n.h-text-uppercase {\n text-transform: uppercase;\n}\n\n.h-text-super {\n font-size: font-size(xs);\n\n top: -.35em;\n}\n\n.h-text-sub {\n font-size: font-size(xs);\n\n top: .35em;\n}\n\n.h-text-clean {\n border: 0;\n\n text-decoration: none;\n text-transform: none;\n}\n\n.h-text-ellipsis {\n @include text-ellipsis;\n}\n\n.h-text-hyphens {\n hypens: auto;\n}\n\n.h-text-no-hyphens {\n hypens: none;\n}\n\n.h-text-no-break {\n white-space: nowrap;\n}\n",".alerts {\n margin: gutter();\n\n &:empty {\n display: none;\n }\n}\n\n.alerts--docked {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n margin: 0;\n z-index: z-index(modal);\n\n text-align: center;\n\n .alert {\n margin: 0;\n }\n}\n\n.alerts__close {\n position: absolute;\n top: gutter();\n right: gutter();\n\n color: inherit;\n}\n\n.alert {\n padding: gutter();\n\n & + & {\n margin-top: gutter();\n }\n\n &:empty {\n display: none;\n }\n\n &.-small {\n font-size: font-size(s);\n\n padding: gutter(s);\n }\n\n &.-medium {\n font-size: font-size(m);\n\n padding: gutter(s);\n }\n\n &.-large {\n font-size: font-size(l);\n\n padding: gutter(s);\n }\n}\n\n\n.alert--info {\n @extend .alert;\n\n color: blue(dark);\n background: blue(lightest);\n}\n\n.alert--success {\n @extend .alert;\n\n color: green(dark);\n background: green(lightest);\n}\n\n.alert--warning {\n @extend .alert;\n\n color: white();\n background: yellow();\n}\n\n.alert--error,\n.alert--danger {\n @extend .alert;\n\n color: red();\n background: red(lightest);\n}\n","/*! Avalanche | MIT License | @colourgarden */\n\n/*------------------------------------*\\\n SETTINGS\n\\*------------------------------------*/\n\n$av-namespace: 'grid' !default; // Prefix namespace for grid layout and cells\n$av-element-name: 'cell' !default; // Element/cell name\n$av-element-class-chain: '__' !default; // Chain characters between block and element\n$av-modifier-class-chain: '--' !default; // Chain characters between block and modifier\n$av-breakpoint-class-chain: '--' !default; // Chain characters between width and breakpoint\n\n$av-gutter: 20px !default; // Gutter between grid cells\n\n$av-width-class-namespace: '' !default; // Prefix namespace for width classes. For example; 'col-'\n$av-width-class-style: 'fraction' !default; // Width class naming style. Can be 'fraction', 'percentage' or 'fragment'\n$av-widths: (\n 2,\n 3,\n 4\n) !default; // Width denominator values. 2 = 1/2, 3 = 1/3 etc. Add/remove as appropriate\n\n$av-enable-responsive: true !default;\n$av-breakpoints: (\n \"thumb\": \"screen and (max-width: 499px)\",\n \"handheld\": \"screen and (min-width: 500px) and (max-width: 800px)\",\n \"handheld-and-up\": \"screen and (min-width: 500px)\",\n \"pocket\": \"screen and (max-width: 800px)\",\n \"lap\": \"screen and (min-width: 801px) and (max-width: 1024px)\",\n \"lap-and-up\": \"screen and (min-width: 801px)\",\n \"portable\": \"screen and (max-width: 1024px)\",\n \"desk\": \"screen and (min-width: 1025px)\",\n \"widescreen\": \"screen and (min-width: 1160px)\",\n \"retina\": \"screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx)\"\n) !default; // Responsive breakpoints. Add/remove as appropriate\n\n// Enable/disable grid layouts\n$av-enable-grid-center: false !default;\n$av-enable-grid-cell-center: false !default;\n$av-enable-grid-right: false !default;\n$av-enable-grid-middle: false !default;\n$av-enable-grid-bottom: false !default;\n$av-enable-grid-flush: false !default;\n$av-enable-grid-tiny: false !default;\n$av-enable-grid-small: false !default;\n$av-enable-grid-large: false !default;\n$av-enable-grid-huge: false !default;\n$av-enable-grid-auto: false !default;\n$av-enable-grid-rev: false !default;\n\n\n\n\n\n/*------------------------------------*\\\n LOGIC aka THE MAGIC\n\\*------------------------------------*/\n\n@function escapeNumerator($numerator, $namespace: ''){\n @if($namespace == ''){\n $numerator-as-string: inspect($numerator);\n $escaped-numerator: '';\n\n // Loop through all digits in the numerator and escape individually\n @for $i from 1 through str-length($numerator-as-string){\n $digit: str-slice($numerator-as-string, $i, $i);\n $escaped-numerator: $escaped-numerator+\\3+$digit;\n }\n\n @return $escaped-numerator;\n } @else {\n @return $numerator;\n }\n}\n\n@function avCreateWidthClassName($style, $numerator, $denominator, $breakpoint-alias){\n\n $class-name: null;\n\n @if $style == 'fraction' or $style == 'fragment'{\n // Set delimiter as slash or text\n $delimiter: if($style == 'fraction', \\/, -of-);\n $class-name: #{$av-width-class-namespace}#{escapeNumerator($numerator, $av-width-class-namespace)}#{$delimiter}#{$denominator}#{$breakpoint-alias};\n } @else{\n @if $av-width-class-namespace == ''{\n @error \"Percentage value class names require a namespace to be set (see $av-width-class-namespace). Selective escaping (e.g. the 5 of 50) cannot be done.\";\n }\n $class-width: floor(($numerator / $denominator) * 100);\n $class-name: #{$av-width-class-namespace}#{$class-width}#{$breakpoint-alias};\n }\n\n @return $class-name;\n}\n\n@function avCreateBlockClassName($modifier: ''){\n @if $modifier == '' {\n @return #{$av-namespace};\n }\n\n @return #{$av-namespace}#{$av-modifier-class-chain}#{$modifier};\n}\n\n@function avCreateElementClassName($modifier: ''){\n @if $modifier == '' {\n @return #{$av-namespace}#{$av-element-class-chain}#{$av-element-name};\n }\n\n @return #{$av-namespace}#{$av-element-class-chain}#{$av-element-name}#{$av-modifier-class-chain}#{$modifier};\n\n}\n\n@mixin av-create-widths($widths, $breakpoint-alias: null){\n\n // Initialise an empty utility map that will eventually contain all our classes\n $pseudo-class-map: ();\n\n // Loop widths\n @each $denominator in $widths{\n\n // If 1=1, 2=2, 3=3; @for will skip over so create 1/1 class manually\n @if ($denominator == 1) {\n\n // Create 1/1 class\n $class-name: avCreateWidthClassName($av-width-class-style, 1, 1, $breakpoint-alias);\n .#{$class-name}{\n width: 100%;\n }\n\n } @else {\n\n // Loop widths as fractions\n @for $numerator from 1 to $denominator{\n\n // Create class name and set width value\n $class-name: avCreateWidthClassName($av-width-class-style, $numerator,$denominator, $breakpoint-alias);\n $width-value: percentage($numerator / $denominator);\n\n // Is this width already in our utility map?\n $duplicate: map-get($pseudo-class-map, $width-value);\n\n // Create width class\n .#{$class-name}{\n\n // If this width is in utility map, @extend the duplicate, else create a new one\n @if $duplicate{\n @extend .#{$duplicate};\n } @else{\n width: $width-value;\n }\n }\n\n // Add this class to utility map\n $add-class: ($width-value: $class-name);\n $pseudo-class-map: map-merge($pseudo-class-map, $add-class);\n }\n }\n }\n}\n\n@mixin av-mq($alias){\n\n // Search breakpoint map for alias\n $query: map-get($av-breakpoints, $alias);\n\n // If alias exists, print out media query\n @if $query{\n @media #{$query}{\n @content;\n }\n } @else{\n @error \"No breakpoint found for #{$alias}\";\n }\n}\n\n\n\n\n\n/*------------------------------------*\\\n GRID LAYOUT\n\\*------------------------------------*/\n\n.#{avCreateBlockClassName()}{\n display: block;\n list-style: none;\n padding: 0;\n margin: 0;\n margin-left: -($av-gutter);\n font-size: 0rem;\n}\n\n.#{avCreateElementClassName()}{\n box-sizing: border-box;\n display: inline-block;\n width: 100%;\n padding: 0;\n padding-left: $av-gutter;\n margin: 0;\n vertical-align: top;\n font-size: 1rem;\n}\n\n@if $av-enable-grid-center{\n\n .#{avCreateBlockClassName('center')}{\n text-align: center;\n\n > .#{avCreateElementClassName()}{\n text-align: left;\n }\n }\n}\n\n@if $av-enable-grid-cell-center{\n\n .#{avCreateElementClassName('center')}{\n display: block;\n margin: 0 auto;\n }\n}\n\n@if $av-enable-grid-right{\n\n .#{avCreateBlockClassName('right')}{\n text-align: right;\n\n > .#{avCreateElementClassName()}{\n text-align: left;\n }\n }\n}\n\n@if $av-enable-grid-middle{\n\n .#{avCreateBlockClassName('middle')}{\n\n > .#{avCreateElementClassName()}{\n vertical-align: middle;\n }\n }\n}\n\n@if $av-enable-grid-bottom{\n\n .#{avCreateBlockClassName('bottom')}{\n\n > .#{avCreateElementClassName()}{\n vertical-align: bottom;\n }\n }\n}\n\n@if $av-enable-grid-flush{\n\n .#{avCreateBlockClassName('flush')}{\n margin-left: 0;\n\n > .#{avCreateElementClassName()}{\n padding-left: 0;\n }\n }\n}\n\n@if $av-enable-grid-tiny{\n\n .#{avCreateBlockClassName('tiny')}{\n margin-left: -($av-gutter / 4);\n\n > .#{avCreateElementClassName()}{\n padding-left: ($av-gutter / 4);\n }\n }\n}\n\n@if $av-enable-grid-small{\n\n .#{avCreateBlockClassName('small')}{\n margin-left: -($av-gutter / 2);\n\n > .#{avCreateElementClassName()}{\n padding-left: ($av-gutter / 2);\n }\n }\n}\n\n@if $av-enable-grid-large{\n\n .#{avCreateBlockClassName('large')}{\n margin-left: -($av-gutter * 2);\n\n > .#{avCreateElementClassName()}{\n padding-left: ($av-gutter * 2);\n }\n }\n}\n\n@if $av-enable-grid-huge{\n\n .#{avCreateBlockClassName('huge')}{\n margin-left: -($av-gutter * 4);\n\n > .#{avCreateElementClassName()}{\n padding-left: ($av-gutter * 4);\n }\n }\n}\n\n@if $av-enable-grid-auto{\n\n .#{avCreateBlockClassName('auto')}{\n\n > .#{avCreateElementClassName()}{\n width: auto;\n }\n }\n}\n\n@if $av-enable-grid-rev{\n\n .#{avCreateBlockClassName('rev')}{\n direction: rtl;\n\n > .#{avCreateElementClassName()}{\n direction: ltr;\n }\n }\n}\n\n\n\n\n\n/*------------------------------------*\\\n GRID WIDTHS\n\\*------------------------------------*/\n\n// Loop default widths\n@include av-create-widths($av-widths);\n\n// If responsive flag enabled, loop breakpoint widths\n@if $av-enable-responsive{\n\n @each $alias, $query in $av-breakpoints{\n\n // Create each media query\n @media #{$query}{\n @include av-create-widths($av-widths, #{$av-breakpoint-class-chain}#{$alias});\n }\n }\n}",".layout {\n max-width: layout(max-width);\n margin: 0 auto;\n padding: layout(padding);\n\n &.-left {\n margin-left: 0;\n }\n\n &.-right {\n margin-right: 0;\n }\n}\n","@import 'node_modules/spatie-scss/spatie';\n\n.alert.-for-field {\n position: absolute;\n right: 0;\n top: 0;\n padding: 0 !important;\n background: none !important;\n}\n"]} -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/form-backend-validation-example-app/52941a6ddd167a1101c79c230f613fc265a9a2b7/public/favicon.ico -------------------------------------------------------------------------------- /public/images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spatie/form-backend-validation-example-app/52941a6ddd167a1101c79c230f613fc265a9a2b7/public/images/screenshot.png -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | /* 11 | |-------------------------------------------------------------------------- 12 | | Register The Auto Loader 13 | |-------------------------------------------------------------------------- 14 | | 15 | | Composer provides a convenient, automatically generated class loader for 16 | | our application. We just need to utilize it! We'll simply require it 17 | | into the script here so that we don't have to worry about manual 18 | | loading any of our classes later on. It feels nice to relax. 19 | | 20 | */ 21 | 22 | require __DIR__.'/../bootstrap/autoload.php'; 23 | 24 | /* 25 | |-------------------------------------------------------------------------- 26 | | Turn On The Lights 27 | |-------------------------------------------------------------------------- 28 | | 29 | | We need to illuminate PHP development, so let us turn on the lights. 30 | | This bootstraps the framework and gets it ready for use, then it 31 | | will load up this application so that we can run it and send 32 | | the responses back to the browser and delight our users. 33 | | 34 | */ 35 | 36 | $app = require_once __DIR__.'/../bootstrap/app.php'; 37 | 38 | /* 39 | |-------------------------------------------------------------------------- 40 | | Run The Application 41 | |-------------------------------------------------------------------------- 42 | | 43 | | Once we have the application, we can handle the incoming request 44 | | through the kernel, and send the associated response back to 45 | | the client's browser allowing them to enjoy the creative 46 | | and wonderful application we have prepared for them. 47 | | 48 | */ 49 | 50 | $kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); 51 | 52 | $response = $kernel->handle( 53 | $request = Illuminate\Http\Request::capture() 54 | ); 55 | 56 | $response->send(); 57 | 58 | $kernel->terminate($request, $response); 59 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /public/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | 2 | [](https://supportukrainenow.org) 3 | 4 | 5 | # An example implementation of spatie/form-backend-validation 6 | 7 | This repo contains an example implementation of [spatie/form-backend-validation](https://github.com/spatie/form-backend-validation). 8 | 9 | ![Screenshot](https://raw.githubusercontent.com/spatie/form-backend-validation-example-app/master/public/images/screenshot.png) 10 | 11 | ## Support us 12 | 13 | [](https://spatie.be/github-ad-click/form-backend-validation-example-app) 14 | 15 | We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us). 16 | 17 | We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards). 18 | 19 | ## Installation 20 | 21 | Clone it and standing in the base directory of the app perform these commands: 22 | 23 | 1. `cp .env.example .env` 24 | 2. `touch database/database.sqlite` 25 | 3. `composer install` 26 | 4. `php artisan migrate` 27 | 5. `yarn` (or `npm install`) 28 | 6. `gulp` 29 | 7. `php artisan serve` 30 | 31 | On the `/` of the site there is a form which is powered by [spatie/form-backend-validation](https://github.com/spatie/form-backend-validation) for you to toy around with. 32 | 33 | ## Credits 34 | 35 | - [Freek Van der Herten](https://github.com/freekmurze) 36 | - [Willem Van Bockstal](https://github.com/willemvb) 37 | - [All Contributors](../../contributors) 38 | 39 | The example used in this package was copied from [Jeffrey Way](https://twitter.com/jeffrey_way)'s [Vue-Forms repo](https://github.com/laracasts/Vue-Forms/) 40 | 41 | ## About Spatie 42 | Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource). 43 | 44 | ## License 45 | 46 | This project and the Laravel framework are open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). 47 | -------------------------------------------------------------------------------- /resources/assets/js/app.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * First we will load all of this project's JavaScript dependencies which 4 | * include Vue and Vue Resource. This gives a great starting point for 5 | * building robust, powerful web applications using Vue and Laravel. 6 | */ 7 | 8 | import './bootstrap'; 9 | 10 | /** 11 | * Next, we will create a fresh Vue application instance and attach it to 12 | * the page. Then, you may begin adding components to this application 13 | * or customize the JavaScript scaffolding to fit your unique needs. 14 | */ 15 | 16 | import ValidatedForm from './components/ValidatedForm'; 17 | 18 | Vue.component('validated-form', ValidatedForm); 19 | 20 | const app = new Vue({ 21 | el: '#app' 22 | }); 23 | -------------------------------------------------------------------------------- /resources/assets/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | 2 | // window._ = require('lodash'); 3 | 4 | /** 5 | * We'll load jQuery and the Bootstrap jQuery plugin which provides support 6 | * for JavaScript based Bootstrap features such as modals and tabs. This 7 | * code may be modified to fit the specific needs of your application. 8 | */ 9 | 10 | // window.$ = window.jQuery = require('jquery'); 11 | // require('bootstrap-sass'); 12 | 13 | /** 14 | * Vue is a modern JavaScript library for building interactive web interfaces 15 | * using reactive data binding and reusable components. Vue's API is clean 16 | * and simple, leaving you to focus on building your next great project. 17 | */ 18 | 19 | window.Vue = require('vue'); 20 | 21 | /** 22 | * Echo exposes an expressive API for subscribing to channels and listening 23 | * for events that are broadcast by Laravel. Echo and event broadcasting 24 | * allows your team to easily build robust real-time web applications. 25 | */ 26 | 27 | // import Echo from "laravel-echo" 28 | 29 | // window.Echo = new Echo({ 30 | // broadcaster: 'pusher', 31 | // key: 'your-pusher-key' 32 | // }); 33 | -------------------------------------------------------------------------------- /resources/assets/js/components/ValidatedForm.js: -------------------------------------------------------------------------------- 1 | import Form from 'form-backend-validation'; 2 | 3 | export default { 4 | data() { 5 | return { 6 | form: new Form({ 7 | name: '', 8 | description: '', 9 | }), 10 | message: '', 11 | messageClass: '', 12 | } 13 | }, 14 | 15 | props: ['method', 'action'], 16 | 17 | methods: { 18 | onSubmit() { 19 | this.form[this.method](this.action) 20 | .then(response => this.displaySuccessMessage('Your project was created')) 21 | .catch(response => this.displayErrorMessage('Your project was not created')); 22 | }, 23 | 24 | displaySuccessMessage(message) { 25 | this.messageClass = 'alert--success'; 26 | this.message = message; 27 | }, 28 | 29 | displayErrorMessage(message) { 30 | this.messageClass = 'alert--error'; 31 | this.message = message; 32 | }, 33 | 34 | clearMessage() { 35 | this.message = ''; 36 | }, 37 | } 38 | }; 39 | -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | @import 'node_modules/@spatie/scss/settings'; 2 | @import 'node_modules/@spatie/scss/styles'; 3 | 4 | .alert.-for-field { 5 | position: absolute; 6 | right: 0; 7 | top: 0; 8 | padding: 0 !important; 9 | background: none !important; 10 | } 11 | -------------------------------------------------------------------------------- /resources/lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /resources/lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Passwords must be at least six characters and match the confirmation.', 17 | 'reset' => 'Your password has been reset!', 18 | 'sent' => 'We have e-mailed your password reset link!', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that e-mail address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /resources/lang/en/validation.php: -------------------------------------------------------------------------------- 1 | 'The :attribute must be accepted.', 17 | 'active_url' => 'The :attribute is not a valid URL.', 18 | 'after' => 'The :attribute must be a date after :date.', 19 | 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', 20 | 'alpha' => 'The :attribute may only contain letters.', 21 | 'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.', 22 | 'alpha_num' => 'The :attribute may only contain letters and numbers.', 23 | 'array' => 'The :attribute must be an array.', 24 | 'before' => 'The :attribute must be a date before :date.', 25 | 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', 26 | 'between' => [ 27 | 'numeric' => 'The :attribute must be between :min and :max.', 28 | 'file' => 'The :attribute must be between :min and :max kilobytes.', 29 | 'string' => 'The :attribute must be between :min and :max characters.', 30 | 'array' => 'The :attribute must have between :min and :max items.', 31 | ], 32 | 'boolean' => 'The :attribute field must be true or false.', 33 | 'confirmed' => 'The :attribute confirmation does not match.', 34 | 'date' => 'The :attribute is not a valid date.', 35 | 'date_format' => 'The :attribute does not match the format :format.', 36 | 'different' => 'The :attribute and :other must be different.', 37 | 'digits' => 'The :attribute must be :digits digits.', 38 | 'digits_between' => 'The :attribute must be between :min and :max digits.', 39 | 'dimensions' => 'The :attribute has invalid image dimensions.', 40 | 'distinct' => 'The :attribute field has a duplicate value.', 41 | 'email' => 'The :attribute must be a valid email address.', 42 | 'exists' => 'The selected :attribute is invalid.', 43 | 'file' => 'The :attribute must be a file.', 44 | 'filled' => 'The :attribute field is required.', 45 | 'image' => 'The :attribute must be an image.', 46 | 'in' => 'The selected :attribute is invalid.', 47 | 'in_array' => 'The :attribute field does not exist in :other.', 48 | 'integer' => 'The :attribute must be an integer.', 49 | 'ip' => 'The :attribute must be a valid IP address.', 50 | 'json' => 'The :attribute must be a valid JSON string.', 51 | 'max' => [ 52 | 'numeric' => 'The :attribute may not be greater than :max.', 53 | 'file' => 'The :attribute may not be greater than :max kilobytes.', 54 | 'string' => 'The :attribute may not be greater than :max characters.', 55 | 'array' => 'The :attribute may not have more than :max items.', 56 | ], 57 | 'mimes' => 'The :attribute must be a file of type: :values.', 58 | 'mimetypes' => 'The :attribute must be a file of type: :values.', 59 | 'min' => [ 60 | 'numeric' => 'The :attribute must be at least :min.', 61 | 'file' => 'The :attribute must be at least :min kilobytes.', 62 | 'string' => 'The :attribute must be at least :min characters.', 63 | 'array' => 'The :attribute must have at least :min items.', 64 | ], 65 | 'not_in' => 'The selected :attribute is invalid.', 66 | 'numeric' => 'The :attribute must be a number.', 67 | 'present' => 'The :attribute field must be present.', 68 | 'regex' => 'The :attribute format is invalid.', 69 | 'required' => 'The :attribute field is required.', 70 | 'required_if' => 'The :attribute field is required when :other is :value.', 71 | 'required_unless' => 'The :attribute field is required unless :other is in :values.', 72 | 'required_with' => 'The :attribute field is required when :values is present.', 73 | 'required_with_all' => 'The :attribute field is required when :values is present.', 74 | 'required_without' => 'The :attribute field is required when :values is not present.', 75 | 'required_without_all' => 'The :attribute field is required when none of :values are present.', 76 | 'same' => 'The :attribute and :other must match.', 77 | 'size' => [ 78 | 'numeric' => 'The :attribute must be :size.', 79 | 'file' => 'The :attribute must be :size kilobytes.', 80 | 'string' => 'The :attribute must be :size characters.', 81 | 'array' => 'The :attribute must contain :size items.', 82 | ], 83 | 'string' => 'The :attribute must be a string.', 84 | 'timezone' => 'The :attribute must be a valid zone.', 85 | 'unique' => 'The :attribute has already been taken.', 86 | 'uploaded' => 'The :attribute failed to upload.', 87 | 'url' => 'The :attribute format is invalid.', 88 | 89 | /* 90 | |-------------------------------------------------------------------------- 91 | | Custom Validation Language Lines 92 | |-------------------------------------------------------------------------- 93 | | 94 | | Here you may specify custom validation messages for attributes using the 95 | | convention "attribute.rule" to name the lines. This makes it quick to 96 | | specify a specific custom language line for a given attribute rule. 97 | | 98 | */ 99 | 100 | 'custom' => [ 101 | 'attribute-name' => [ 102 | 'rule-name' => 'custom-message', 103 | ], 104 | ], 105 | 106 | /* 107 | |-------------------------------------------------------------------------- 108 | | Custom Validation Attributes 109 | |-------------------------------------------------------------------------- 110 | | 111 | | The following language lines are used to swap attribute place-holders 112 | | with something more reader friendly such as E-Mail Address instead 113 | | of "email". This simply helps us make messages a little cleaner. 114 | | 115 | */ 116 | 117 | 'attributes' => [], 118 | 119 | ]; 120 | -------------------------------------------------------------------------------- /resources/views/projects.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | form-backend-validation example app 6 | 7 | 8 | 9 |
10 |

Create a project

11 |
12 |
13 |
14 |
15 | 16 |
17 |
18 |
@{{ message }}
20 |
21 |
23 |
24 | 27 | 30 |
33 |
34 | 35 |
36 | 37 | 40 |
43 |
44 | 45 |
46 | 48 |
49 |
50 |
51 |
52 |
53 |
54 | 55 |
56 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | user(); 18 | })->middleware('auth:api'); 19 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 18 | })->describe('Display an inspiring quote'); 19 | -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | config.php 2 | routes.php 3 | schedule-* 4 | compiled.php 5 | services.json 6 | events.scanned.php 7 | routes.scanned.php 8 | down 9 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /tests/ExampleTest.php: -------------------------------------------------------------------------------- 1 | visit('/') 17 | ->see('Laravel'); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | make(Illuminate\Contracts\Console\Kernel::class)->bootstrap(); 22 | 23 | return $app; 24 | } 25 | } 26 | --------------------------------------------------------------------------------