From 3c7bd297ea9718a4185beebe68bcb8a93f5b2740 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 12 Jul 2015 21:31:15 +0100 Subject: [PATCH] Added page editing --- .gitignore | 3 +- app/Book.php | 5 ++ app/Http/Controllers/BookController.php | 8 +- app/Http/Controllers/PageController.php | 82 +++++++++++++++---- app/Http/routes.php | 6 ++ app/Page.php | 12 ++- app/Repos/BookRepo.php | 10 ++- app/Repos/PageRepo.php | 52 ++++++++++++ .../2015_07_12_190027_create_pages_table.php | 7 ++ public/css/app.css | 5 ++ public/css/app.css.map | 2 +- resources/assets/sass/styles.scss | 6 ++ resources/views/base.blade.php | 2 + resources/views/books/show.blade.php | 10 +++ resources/views/form/text.blade.php | 1 + resources/views/pages/create.blade.php | 19 +++++ resources/views/pages/edit.blade.php | 20 +++++ resources/views/pages/form.blade.php | 13 +++ resources/views/pages/show.blade.php | 12 +++ 19 files changed, 252 insertions(+), 23 deletions(-) create mode 100644 app/Repos/PageRepo.php create mode 100644 resources/views/pages/create.blade.php create mode 100644 resources/views/pages/edit.blade.php create mode 100644 resources/views/pages/form.blade.php create mode 100644 resources/views/pages/show.blade.php diff --git a/.gitignore b/.gitignore index 6da35a901..54f915bb3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ Homestead.yaml .env /public/dist -.idea \ No newline at end of file +.idea +/public/plugins \ No newline at end of file diff --git a/app/Book.php b/app/Book.php index 28c47c166..cdd512c97 100644 --- a/app/Book.php +++ b/app/Book.php @@ -19,4 +19,9 @@ class Book extends Model return $this->getUrl() . '/edit'; } + public function pages() + { + return $this->hasMany('Oxbow\Page'); + } + } diff --git a/app/Http/Controllers/BookController.php b/app/Http/Controllers/BookController.php index a6fdae049..41d8bed26 100644 --- a/app/Http/Controllers/BookController.php +++ b/app/Http/Controllers/BookController.php @@ -7,19 +7,23 @@ use Illuminate\Http\Request; use Illuminate\Support\Str; use Oxbow\Http\Requests; use Oxbow\Repos\BookRepo; +use Oxbow\Repos\PageRepo; class BookController extends Controller { protected $bookRepo; + protected $pageRepo; /** * BookController constructor. * @param BookRepo $bookRepo + * @param PageRepo $pageRepo */ - public function __construct(BookRepo $bookRepo) + public function __construct(BookRepo $bookRepo, PageRepo $pageRepo) { $this->bookRepo = $bookRepo; + $this->pageRepo = $pageRepo; } /** @@ -58,7 +62,7 @@ class BookController extends Controller $book = $this->bookRepo->newFromInput($request->all()); $slug = Str::slug($book->name); while($this->bookRepo->countBySlug($slug) > 0) { - $slug += '1'; + $slug .= '1'; } $book->slug = $slug; $book->save(); diff --git a/app/Http/Controllers/PageController.php b/app/Http/Controllers/PageController.php index 8bc030f7a..b22c73949 100644 --- a/app/Http/Controllers/PageController.php +++ b/app/Http/Controllers/PageController.php @@ -4,11 +4,29 @@ namespace Oxbow\Http\Controllers; use Illuminate\Http\Request; +use Illuminate\Support\Str; use Oxbow\Http\Requests; -use Oxbow\Http\Controllers\Controller; +use Oxbow\Repos\BookRepo; +use Oxbow\Repos\PageRepo; class PageController extends Controller { + + protected $pageRepo; + protected $bookRepo; + + /** + * PageController constructor. + * @param $pageRepo + * @param $bookRepo + */ + public function __construct(PageRepo $pageRepo, BookRepo $bookRepo) + { + $this->pageRepo = $pageRepo; + $this->bookRepo = $bookRepo; + } + + /** * Display a listing of the resource. * @@ -22,56 +40,88 @@ class PageController extends Controller /** * Show the form for creating a new resource. * + * @param $bookSlug * @return Response */ - public function create() + public function create($bookSlug) { - // + $book = $this->bookRepo->getBySlug($bookSlug); + return view('pages/create', ['book' => $book]); } /** * Store a newly created resource in storage. * - * @param Request $request + * @param Request $request + * @param $bookSlug * @return Response */ - public function store(Request $request) + public function store(Request $request, $bookSlug) { - // + $this->validate($request, [ + 'name' => 'required|string|max:255', + 'html' => 'required|string', + 'priority' => 'integer' + ]); + $book = $this->bookRepo->getBySlug($bookSlug); + $page = $this->pageRepo->newFromInput($request->all()); + $slug = Str::slug($page->name); + while($this->pageRepo->countBySlug($slug, $book->id) > 0) { + $slug .= '1'; + } + $page->slug =$slug; + $page->book_id = $book->id; + $page->text = strip_tags($page->html); + $page->save(); + return redirect($page->getUrl()); } /** * Display the specified resource. * - * @param int $id + * @param $bookSlug + * @param $pageSlug * @return Response */ - public function show($id) + public function show($bookSlug, $pageSlug) { - // + $page = $this->pageRepo->getBySlug($pageSlug); + return view('pages/show', ['page' => $page]); } /** * Show the form for editing the specified resource. * - * @param int $id + * @param $bookSlug + * @param $pageSlug * @return Response */ - public function edit($id) + public function edit($bookSlug, $pageSlug) { - // + $page = $this->pageRepo->getBySlug($pageSlug); + return view('pages/edit', ['page' => $page]); } /** * Update the specified resource in storage. * - * @param Request $request - * @param int $id + * @param Request $request + * @param $bookSlug + * @param $pageSlug * @return Response */ - public function update(Request $request, $id) + public function update(Request $request, $bookSlug, $pageSlug) { - // + $page = $this->pageRepo->getBySlug($pageSlug); + $book = $this->bookRepo->getBySlug($bookSlug); + $page->fill($request->all()); + $slug = Str::slug($page->name); + while($this->pageRepo->countBySlug($slug, $book->id) > 0 && $slug != $pageSlug) { + $slug .= '1'; + } + $page->text = strip_tags($page->html); + $page->save(); + return redirect($page->getUrl()); } /** diff --git a/app/Http/routes.php b/app/Http/routes.php index b89e734a4..ec9cb7c6f 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -21,6 +21,12 @@ Route::group(['prefix' => 'books'], function() { Route::put('/{slug}', 'BookController@update'); Route::delete('/{id}/destroy', 'BookController@destroy'); Route::get('/{slug}', 'BookController@show'); + + Route::get('/{bookSlug}/page/create', 'PageController@create'); + Route::post('/{bookSlug}/page', 'PageController@store'); + Route::get('/{bookSlug}/{pageSlug}', 'PageController@show'); + Route::get('/{bookSlug}/{pageSlug}/edit', 'PageController@edit'); + Route::put('/{bookSlug}/{pageSlug}', 'PageController@update'); }); Route::get('/', function () { diff --git a/app/Page.php b/app/Page.php index 291ec5613..d14f71520 100644 --- a/app/Page.php +++ b/app/Page.php @@ -6,5 +6,15 @@ use Illuminate\Database\Eloquent\Model; class Page extends Model { - // + protected $fillable = ['name', 'html', 'priority']; + + public function book() + { + return $this->belongsTo('Oxbow\Book'); + } + + public function getUrl() + { + return '/books/' . $this->book->slug . '/' . $this->slug; + } } diff --git a/app/Repos/BookRepo.php b/app/Repos/BookRepo.php index 619f8fac1..f48fa9944 100644 --- a/app/Repos/BookRepo.php +++ b/app/Repos/BookRepo.php @@ -6,14 +6,17 @@ class BookRepo { protected $book; + protected $pageRepo; /** * BookRepo constructor. - * @param $book + * @param Book $book + * @param PageRepo $pageRepo */ - public function __construct(Book $book) + public function __construct(Book $book, PageRepo $pageRepo) { $this->book = $book; + $this->pageRepo = $pageRepo; } public function getById($id) @@ -44,6 +47,9 @@ class BookRepo public function destroyById($id) { $book = $this->getById($id); + foreach($book->pages as $page) { + $this->pageRepo->destroyById($page->id); + } $book->delete(); } diff --git a/app/Repos/PageRepo.php b/app/Repos/PageRepo.php new file mode 100644 index 000000000..209e2816b --- /dev/null +++ b/app/Repos/PageRepo.php @@ -0,0 +1,52 @@ +page = $page; + } + + public function getById($id) + { + return $this->page->findOrFail($id); + } + + public function getAll() + { + return $this->page->all(); + } + + public function getBySlug($slug) + { + return $this->page->where('slug', '=', $slug)->first(); + } + + public function newFromInput($input) + { + $page = $this->page->fill($input); + return $page; + } + + public function countBySlug($slug, $bookId) + { + return $this->page->where('slug', '=', $slug)->where('book_id', '=', $bookId)->count(); + } + + public function destroyById($id) + { + $page = $this->getById($id); + $page->delete(); + } + +} \ No newline at end of file diff --git a/database/migrations/2015_07_12_190027_create_pages_table.php b/database/migrations/2015_07_12_190027_create_pages_table.php index b8a40bdff..d42166db3 100644 --- a/database/migrations/2015_07_12_190027_create_pages_table.php +++ b/database/migrations/2015_07_12_190027_create_pages_table.php @@ -14,6 +14,13 @@ class CreatePagesTable extends Migration { Schema::create('pages', function (Blueprint $table) { $table->increments('id'); + $table->integer('book_id'); + $table->integer('page_id'); + $table->string('name'); + $table->string('slug')->indexed(); + $table->longText('html'); + $table->longText('text'); + $table->integer('priority'); $table->timestamps(); }); } diff --git a/public/css/app.css b/public/css/app.css index 7d6f1b810..1b838ce3c 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -941,4 +941,9 @@ header .menu { display: inline-block; margin-left: 16px; } +.page-title input { + display: block; + width: 100%; + font-size: 1.4em; } + /*# sourceMappingURL=app.css.map */ \ No newline at end of file diff --git a/public/css/app.css.map b/public/css/app.css.map index 67237fc55..2a0417a67 100644 --- a/public/css/app.css.map +++ b/public/css/app.css.map @@ -1 +1 @@ -{"version":3,"sources":["_reset.scss","_html.scss","_variables.scss","_text.scss","_grid.scss","_blocks.scss","_buttons.scss","_mixins.scss","_forms.scss","styles.scss"],"names":[],"mappings":"AAAA;;;GAGE;AAEme;EACne,WAAU;EACV,YAAW;EACX,WAAU;EACV,iBAAgB;EAChB,eAAc;EACd,0BAAyB,EANid;;AAQ5e,kDAAiD;AAE+B;EAC9E,gBAAe,EADwE;;AAGzF;EACE,gBAAe,EADX;;AAGF;EACF,kBAAiB,EADX;;AAGI;EACV,cAAa,EADA;;AAIF;EACT,aAAY;EACZ,eAAc,EAFG;;AAKR;EACT,aAAY;EACZ,eAAc,EAFG;;AAIrB;EACE,2BAA0B;EAC1B,mBAAkB,EAFb;;ACrCP;EACC,wBAAuB,EADrB;;AAGH;EACC,wBAAuB,EADlB;;AAGN;EACC,qDCoB4C;EDnB5C,iBCoBU;EDnBV,oBAAmB;EACnB,aAAY;EACZ,qCAAoC,EAL/B;;AENN;;GAEE;AAEF;EACE,oBAAmB;EACnB,2BAA0B;EAC1B,0BAAyB;EACzB,6BAA4B,EAJ1B;;AAMJ;EACE,qBAAoB;EACpB,4BAA2B;EAC3B,yBAAwB;EACxB,6BAA4B,EAJ1B;;AAMJ;EACE,mBAAkB;EAClB,4BAA2B;EAC3B,0BAAyB;EACzB,6BAA4B,EAJ1B;;AAMJ;EACE,gBAAe;EACf,sBAAqB;EACrB,qBAAoB;EACpB,wBAAuB,EAJrB;;AAQF;EACE,gBAAe;EACf,k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MR;IACC,2BAAwB,EADhB;;ACFT;EACC,gBAAe;EACf,aAAY;EACZ,cAAa;EACb,aAAY;EACZ,oBAAmB,EALZ;;ADyCoB;EAC3B,qBAAqB;EACrB,aAAY;EACZ,kBAAiB,EAHa;EAI7B;IACC,4BAtCoB,EAqCP;EAGd;IACC,4BAA8D,EADlD;;AEvDlB;EACE,wBAAuB;EACvB,oBAAmB;EACnB,wBAAuB;EACvB,4BAA2B;EAC3B,uBAAsB;EACtB,iBNsBS;EMrBT,qDNmB2C;EMlB3C,cNaO;EMZP,aAAY;EACZ,cAAa;EACb,iBAAgB;EAChB,0BAAwB,EAZb;EAaH;IACN,2BNoBc,EMrBE;EAGV;IACN,2BNgBc,EMjBA;EAGM;IACpB,yLAAe,EADQ;;AAK3B;EACE,gBAAe;EACf,oBAAmB;EACnB,kBAAiB;EACjB,kBAAiB;EACjB,aAAY,EALP;;AAQW;EAChB,kBAAiB,EADU;EAEe;IACxC,mBNdK,EMasC;;AAS/C;EACE,qBNxBO,EMuBI;;AClCN;EACL,eAAc,EADL;;AAIJ;EACL,kBAAiB;EACjB,kBAAiB,EAFL;EAGZ;IACE,uBAAsB;IACtB,mBPCK,EOHH","file":"app.css","sourcesContent":["/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline; }\n\n/* HTML5 display-role reset for older browsers */\n\narticle, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {\n display: block; }\n\nbody {\n line-height: 1; }\n\nol, ul {\n list-style: none; }\n\nblockquote, q {\n quotes: none; }\n\nblockquote {\n &:before, &:after {\n content: '';\n content: none; } }\n\nq {\n &:before, &:after {\n content: '';\n content: none; } }\n\ntable {\n border-collapse: collapse;\n border-spacing: 0; }\n","* {\n\tbox-sizing: border-box;\n}\nhtml {\n\tbackground-color: #FFF;\n}\nbody {\n\tfont-family: $text;\n\tfont-size: $fs-m;\n\tline-height: 1.4em;\n\tcolor: #444;\n\t-webkit-font-smoothing: antialiased;\n}\n","// Variables\n///////////////\n\n// Sizes\n$max-width: 1100px;\n\n// Screen breakpoints\n$xl: 1100px;\n$ipad-width: 1028px; // Is actually 1024 but we go over to ensure functionality.\n$l: 1000px;\n$m: 800px;\n$s: 600px;\n$xs: 400px;\n$xxs: 360px;\n\n// Spacing (Margins+Padding)\n$-xxxl: 64px;\n$-xxl: 48px;\n$-xl: 32px;\n$-l: 24px;\n$-m: 16px;\n$-s: 12px;\n$-xs: 6px;\n$-xxs: 3px;\n\n// Fonts\n$heading: 'Roboto', Helvetica, Arial, sans-serif;\n$text: 'Roboto', Helvetica, Arial, sans-serif;\n$fs-m: 16px;\n$fs-s: 14px;\n\n// Colours\n$primary: #1c77c1;\n$secondary: #e27b41;\n$positive: #409945;\n$negative: #D35252;\n\n// Text colours\n$text-dark: #444;\n$text-light: #EEE;\n\n// Shadows\n$bs-light: 0 0 4px 1px #CCC;\n$bs-med: 0 1px 3px 1px rgba(76, 76, 76, 0.26);\n$bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);\n","/*\n* Header Styles\n*/\n\nh1 {\n font-size: 5.625em;\n line-height: 1.22222222em;\n margin-top: 0.48888889em;\n margin-bottom: 0.24444444em;\n}\nh2 {\n font-size: 3.1875em;\n line-height: 1.294117647em;\n margin-top: 0.8627451em;\n margin-bottom: 0.43137255em;\n}\nh3 {\n font-size: 1.75em;\n line-height: 1.571428572em;\n margin-top: 0.78571429em;\n margin-bottom: 0.43137255em;\n}\nh4 {\n font-size: 1em;\n line-height: 1.375em;\n margin-top: 1.375em;\n margin-bottom: 1.375em;\n}\n\nh1, h2, h3, h4 {\n .subheader {\n display: block;\n font-size: 0.5em;\n line-height: 1em;\n color: lighten($text-dark, 16%);\n }\n}\n\n/*\n* Link styling\n*/\na {\n color: $primary;\n cursor: pointer;\n text-decoration: none;\n transition: color ease-in-out 80ms;\n &:hover {\n text-decoration: underline;\n color: darken($primary, 20%);\n }\n}\n\n/*\n* Other HTML Text Elements\n*/\np, ul, ol, pre, table, blockquote {\n margin-top: 0.3em;\n margin-bottom: 1.375em;\n}\n\nhr {\n border: 0;\n height: 1px;\n border: 0;\n background: #e3e0e0;\n margin-bottom: $-l;\n &.faded {\n background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF);\n }\n &.margin-top {\n margin-top: $-l;\n }\n}\n\nstrong, b, .bold, .strong {\n font-weight: bold;\n > strong, > b, > .bold, > .strong {\n font-weight: bolder;\n }\n}\n\nem, i, .italic {\n font-style: italic;\n}\n\nsmall, p.small, span.small, .text-small {\n font-size: 0.8em;\n color: lighten($text-dark, 20%);\n}\n\nsup, .superscript {\n vertical-align: super;\n font-size: 0.8em;\n}\n\npre {\n font-family: monospace;\n white-space:pre;\n}\n\nblockquote {\n display: block;\n position: relative;\n border-left: 4px solid $primary;\n background-color: #F8F8F8;\n padding: $-s $-m $-s $-xl;\n &:before {\n content: \"\\201C\";\n font-size: 2em;\n font-weight: bold;\n position: absolute;\n top: $-s;\n left: $-s;\n color: lighten($text-dark, 20%);\n }\n}\n\n.code-base {\n background-color: #F8F8F8;\n font-family: monospace;\n font-size: 0.88em;\n border: 1px solid #DDD;\n border-radius: 3px;\n}\n\ncode {\n @extend .code-base;\n display: block;\n white-space:pre;\n line-height: 1.2em;\n margin-bottom: 1.2em;\n}\n\nspan.code {\n @extend .code-base;\n padding: 1px $-xs;\n}\n/*\n* Text colors\n*/\np.pos, p .pos, span.pos, .text-pos {\n\tcolor: $positive;\n}\n\np.neg, p .neg, span.neg, .text-neg {\n\tcolor: $negative;\n}\n\np.muted, p .muted, span.muted, .text-muted {\n\tcolor: lighten($text-dark, 26%);\n}\n\np.primary, p .primary, span.primary, .text-primary {\n\tcolor: $primary;\n}\n\np.secondary, p .secondary, span.secondary, .text-secondary {\n\tcolor: $secondary;\n}\n\n/*\n* Generic text styling classes\n*/\n.underlined {\n text-decoration: underline;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-left {\n text-align: left;\n}\n\n.text-right {\n text-align: right;\n}\n","\n/** Rules for all columns */\ndiv[class^=\"col-\"] img {\n max-width: 100%;\n}\n\n.container {\n max-width: $max-width;\n margin-left: auto;\n margin-right: auto;\n padding-left: $-m;\n padding-right: $-m;\n &.fluid {\n max-width: 100%;\n }\n}\n\n.row {\n margin-left: -$-m;\n margin-right: -$-m;\n}\n\n.float {\n float: left;\n &.right {\n float: right;\n }\n}\n\n.block {\n display: block;\n}\n\n.inline {\n display: inline;\n}\n\n.block.inline {\n display: inline-block;\n}\n\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-left: $-m;\n padding-right: $-m;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0%;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0%;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after {\n content: \" \";\n display: table;\n}\n.clearfix:after,\n.container:after,\n.container-fluid:after,\n.row:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n","\n/*\n* This file container all block styling including background shading,\n* margins, paddings & borders.\n*/\n\n\n/*\n* Background Shading\n*/\n.shaded {\n background-color: #f1f1f1;\n &.pos {\n background-color: lighten($positive, 40%);\n }\n &.neg {\n background-color: lighten($negative, 20%);\n }\n &.primary {\n background-color: lighten($primary, 40%);\n }\n &.secondary {\n background-color: lighten($secondary, 30%);\n }\n}\n\n/*\n* Bordering\n*/\n.bordered {\n border: 1px solid #BBB;\n &.pos {\n border-color: $positive;\n }\n &.neg {\n border-color: $negative;\n }\n &.primary {\n border-color: $primary;\n }\n &.secondary {\n border-color: $secondary;\n }\n &.thick {\n border-width: 2px;\n }\n}\n.rounded {\n border-radius: 3px;\n}\n\n/*\n* Padding\n*/\n.nopadding {\n padding: 0;\n}\n.padded {\n padding: $-l;\n &.large {\n padding: $-xl;\n }\n}\n.padded-vertical, .padded-top {\n padding-top: $-m;\n &.large {\n padding-top: $-xl;\n }\n}\n.padded-vertical, .padded-bottom {\n padding-bottom: $-m;\n &.large {\n padding-bottom: $-xl;\n }\n}\n.padded-horizontal, .padded-left {\n padding-left: $-m;\n &.large {\n padding-left: $-xl;\n }\n}\n.padded-horizontal, .padded-right {\n padding-right: $-m;\n &.large {\n padding-right: $-xl;\n }\n}\n\n/*\n* Margins\n*/\n.margins {\n margin: $-l;\n &.large {\n margin: $-xl;\n }\n}\n.margins-vertical, .margin-top {\n margin-top: $-m;\n &.large {\n margin-top: $-xl;\n }\n}\n.margins-vertical, .margin-bottom {\n margin-bottom: $-m;\n &.large {\n margin-bottom: $-xl;\n }\n}\n.margins-horizontal, .margin-left {\n margin-left: $-m;\n &.large {\n margin-left: $-xl;\n }\n}\n.margins-horizontal, .margin-right {\n margin-right: $-m;\n &.large {\n margin-right: $-xl;\n }\n}\n","\n@mixin generate-button-colors($textColor, $backgroundColor) {\n background-color: $backgroundColor;\n color: $textColor;\n &:hover {\n background-color: lighten($backgroundColor, 8%);\n box-shadow: $bs-med;\n text-decoration: none;\n color: $textColor;\n }\n &:active {\n background-color: darken($backgroundColor, 8%);\n }\n}\n\n// Button Specific Variables\n$button-border-radius: 3px;\n\n.button-base {\n text-decoration: none;\n font-size: $fs-m;\n line-height: 1.4em;\n padding: $-xs $-m;\n margin: $-xs $-xs $-xs 0;\n display: inline-block;\n border: none;\n outline: 0;\n border-radius: $button-border-radius;\n cursor: pointer;\n transition: all ease-in-out 80ms;\n box-shadow: 0 0 0 0 #000;\n @include generate-button-colors(#EEE, $primary);\n}\n\n.button, button[type=\"button\"], input[type=\"button\"], input[type=\"submit\"] {\n @extend .button-base;\n &.pos {\n @include generate-button-colors(#EEE, $positive);\n }\n &.neg {\n @include generate-button-colors(#EEE, $negative);\n }\n &.secondary {\n @include generate-button-colors(#EEE, $secondary);\n }\n}\n\n.button-group {\n @include clearfix;\n .button, button[type=\"button\"] {\n margin: $-xs 0 $-xs 0;\n float: left;\n border-radius: 0;\n &:first-child {\n border-radius: $button-border-radius 0 0 $button-border-radius;\n }\n &:last-child {\n border-radius: 0 $button-border-radius $button-border-radius 0;\n }\n }\n}\n","// Responsive breakpoint control\n@mixin smaller-than($size) {\n @media screen and (max-width: $size) { @content; }\n}\n@mixin larger-than($size) {\n @media screen and (min-width: $size) { @content; }\n}\n@mixin clearfix() {\n &:after {\n display: block;\n content: '';\n font-size: 0;\n clear: both;\n position: relative;\n }\n}\n","\n.input-base {\n background-color: #FFF;\n border-radius: 2px;\n border: 1px solid #BBB;\n border-top: 1px solid #AAA;\n display: inline-block;\n font-size: $fs-s;\n font-family: $text;\n padding: $-xs;\n color: #222;\n width: 250px;\n max-width: 100%;\n -webkit-appearance:none;\n &.neg, &.invalid {\n border: 1px solid $negative;\n }\n &.pos, &.valid {\n border: 1px solid $positive;\n }\n &.disabled, &[disabled] {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==);\n }\n}\n\nlabel {\n display: block;\n line-height: 1.4em;\n font-size: 0.9em;\n font-weight: 500;\n color: #333;\n}\n\nlabel.radio, label.checkbox {\n font-weight: 400;\n input[type=\"radio\"], input[type=\"checkbox\"] {\n margin-right: $-xs;\n }\n}\n\ninput[type=\"text\"], input[type=\"number\"], input[type=\"email\"], input[type=\"search\"], input[type=\"url\"], input[type=\"password\"], select, textarea {\n @extend .input-base;\n}\n\n.form-group {\n margin-bottom: $-s;\n}\n","@import \"reset\";\n@import \"variables\";\n@import \"mixins\";\n@import \"html\";\n@import \"text\";\n@import \"grid\";\n@import \"blocks\";\n@import \"buttons\";\n@import \"forms\";\n\nheader hr {\n margin-top: 0;\n}\n\nheader .menu {\n margin-bottom: 0;\n list-style: none;\n li {\n display: inline-block;\n margin-left: $-m;\n }\n}"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["_reset.scss","_html.scss","_variables.scss","_text.scss","_grid.scss","_blocks.scss","_buttons.scss","_mixins.scss","_forms.scss","styles.scss"],"names":[],"mappings":"AAAA;;;GAGE;AAEme;EACne,WAAU;EACV,YAAW;EACX,WAAU;EACV,iBAAgB;EAChB,eAAc;EACd,0BAAyB,EANid;;AAQ5e,kDAAiD;AAE+B;EAC9E,gBAAe,EADwE;;AAGzF;EACE,gBAAe,EADX;;AAGF;EACF,kBAAiB,EADX;;AAGI;EACV,cAAa,EADA;;AAIF;EACT,aAAY;EACZ,eAAc,EAFG;;AAKR;EACT,aAAY;EACZ,eAAc,EAFG;;AAIrB;EACE,2BAA0B;EAC1B,mBAAkB,EAFb;;ACrCP;EACC,wBAAuB,EADrB;;AAGH;EACC,wBAAuB,EADlB;;AAGN;EACC,qDCoB4C;EDnB5C,iBCoBU;EDnBV,oBAAmB;EACnB,aAAY;EACZ,qCAAoC,EAL/B;;AENN;;GAEE;AAEF;EACE,oBAAmB;EACnB,2BAA0B;EAC1B,0BAAyB;EACzB,6BAA4B,EAJ1B;;AAMJ;EACE,qBAAoB;EACpB,4BAA2B;EAC3B,yBAAwB;EACxB,6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,uBAAsB;IACtB,aAgCoC,EApC7B;EAMR;IACC,2BAAwB,EADhB;;AAgCT;EAxCD,2BJ+BiB;EI9BjB,aAwCsC,EADzB;EAtCZ;IACC,2BAAyB;IACzB,kDJqCuB;IIpCvB,uBAAsB;IACtB,aAmCoC,EAvC7B;EAMR;IACC,2BAAwB,EADhB;;ACFT;EACC,gBAAe;EACf,aAAY;EACZ,cAAa;EACb,aAAY;EACZ,oBAAmB,EALZ;;ADyCoB;EAC3B,qBAAqB;EACrB,aAAY;EACZ,kBAAiB,EAHa;EAI7B;IACC,4BAtCoB,EAqCP;EAGd;IACC,4BAA8D,EADlD;;AEvDlB;EACE,wBAAuB;EACvB,oBAAmB;EACnB,wBAAuB;EACvB,4BAA2B;EAC3B,uBAAsB;EACtB,iBNsBS;EMrBT,qDNmB2C;EMlB3C,cNaO;EMZP,aAAY;EACZ,cAAa;EACb,iBAAgB;EAChB,0BAAwB,EAZb;EAaH;IACN,2BNoBc,EMrBE;EAGV;IACN,2BNgBc,EMjBA;EAGM;IACpB,yLAAe,EADQ;;AAK3B;EACE,gBAAe;EACf,oBAAmB;EACnB,kBAAiB;EACjB,kBAAiB;EACjB,aAAY,EALP;;AAQW;EAChB,kBAAiB,EADU;EAEe;IACxC,mBNdK,EMasC;;AAS/C;EACE,qBNxBO,EMuBI;;AClCN;EACL,eAAc,EADL;;AAIJ;EACL,kBAAiB;EACjB,kBAAiB,EAFL;EAGZ;IACE,uBAAsB;IACtB,mBPCK,EOHH;;AAMM;EACV,gBAAe;EACf,aAAY;EACZ,kBAAiB,EAHA","file":"app.css","sourcesContent":["/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline; }\n\n/* HTML5 display-role reset for older browsers */\n\narticle, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {\n display: block; }\n\nbody {\n line-height: 1; }\n\nol, ul {\n list-style: none; }\n\nblockquote, q {\n quotes: none; }\n\nblockquote {\n &:before, &:after {\n content: '';\n content: none; } }\n\nq {\n &:before, &:after {\n content: '';\n content: none; } }\n\ntable {\n border-collapse: collapse;\n border-spacing: 0; }\n","* {\n\tbox-sizing: border-box;\n}\nhtml {\n\tbackground-color: #FFF;\n}\nbody {\n\tfont-family: $text;\n\tfont-size: $fs-m;\n\tline-height: 1.4em;\n\tcolor: #444;\n\t-webkit-font-smoothing: antialiased;\n}\n","// Variables\n///////////////\n\n// Sizes\n$max-width: 1100px;\n\n// Screen breakpoints\n$xl: 1100px;\n$ipad-width: 1028px; // Is actually 1024 but we go over to ensure functionality.\n$l: 1000px;\n$m: 800px;\n$s: 600px;\n$xs: 400px;\n$xxs: 360px;\n\n// Spacing (Margins+Padding)\n$-xxxl: 64px;\n$-xxl: 48px;\n$-xl: 32px;\n$-l: 24px;\n$-m: 16px;\n$-s: 12px;\n$-xs: 6px;\n$-xxs: 3px;\n\n// Fonts\n$heading: 'Roboto', Helvetica, Arial, sans-serif;\n$text: 'Roboto', Helvetica, Arial, sans-serif;\n$fs-m: 16px;\n$fs-s: 14px;\n\n// Colours\n$primary: #1c77c1;\n$secondary: #e27b41;\n$positive: #409945;\n$negative: #D35252;\n\n// Text colours\n$text-dark: #444;\n$text-light: #EEE;\n\n// Shadows\n$bs-light: 0 0 4px 1px #CCC;\n$bs-med: 0 1px 3px 1px rgba(76, 76, 76, 0.26);\n$bs-hover: 0 2px 2px 1px rgba(0,0,0,.13);\n","/*\n* Header Styles\n*/\n\nh1 {\n font-size: 5.625em;\n line-height: 1.22222222em;\n margin-top: 0.48888889em;\n margin-bottom: 0.24444444em;\n}\nh2 {\n font-size: 3.1875em;\n line-height: 1.294117647em;\n margin-top: 0.8627451em;\n margin-bottom: 0.43137255em;\n}\nh3 {\n font-size: 1.75em;\n line-height: 1.571428572em;\n margin-top: 0.78571429em;\n margin-bottom: 0.43137255em;\n}\nh4 {\n font-size: 1em;\n line-height: 1.375em;\n margin-top: 1.375em;\n margin-bottom: 1.375em;\n}\n\nh1, h2, h3, h4 {\n .subheader {\n display: block;\n font-size: 0.5em;\n line-height: 1em;\n color: lighten($text-dark, 16%);\n }\n}\n\n/*\n* Link styling\n*/\na {\n color: $primary;\n cursor: pointer;\n text-decoration: none;\n transition: color ease-in-out 80ms;\n &:hover {\n text-decoration: underline;\n color: darken($primary, 20%);\n }\n}\n\n/*\n* Other HTML Text Elements\n*/\np, ul, ol, pre, table, blockquote {\n margin-top: 0.3em;\n margin-bottom: 1.375em;\n}\n\nhr {\n border: 0;\n height: 1px;\n border: 0;\n background: #e3e0e0;\n margin-bottom: $-l;\n &.faded {\n background-image: linear-gradient(to right, #FFF, #e3e0e0 20%, #e3e0e0 80%, #FFF);\n }\n &.margin-top {\n margin-top: $-l;\n }\n}\n\nstrong, b, .bold, .strong {\n font-weight: bold;\n > strong, > b, > .bold, > .strong {\n font-weight: bolder;\n }\n}\n\nem, i, .italic {\n font-style: italic;\n}\n\nsmall, p.small, span.small, .text-small {\n font-size: 0.8em;\n color: lighten($text-dark, 20%);\n}\n\nsup, .superscript {\n vertical-align: super;\n font-size: 0.8em;\n}\n\npre {\n font-family: monospace;\n white-space:pre;\n}\n\nblockquote {\n display: block;\n position: relative;\n border-left: 4px solid $primary;\n background-color: #F8F8F8;\n padding: $-s $-m $-s $-xl;\n &:before {\n content: \"\\201C\";\n font-size: 2em;\n font-weight: bold;\n position: absolute;\n top: $-s;\n left: $-s;\n color: lighten($text-dark, 20%);\n }\n}\n\n.code-base {\n background-color: #F8F8F8;\n font-family: monospace;\n font-size: 0.88em;\n border: 1px solid #DDD;\n border-radius: 3px;\n}\n\ncode {\n @extend .code-base;\n display: block;\n white-space:pre;\n line-height: 1.2em;\n margin-bottom: 1.2em;\n}\n\nspan.code {\n @extend .code-base;\n padding: 1px $-xs;\n}\n/*\n* Text colors\n*/\np.pos, p .pos, span.pos, .text-pos {\n\tcolor: $positive;\n}\n\np.neg, p .neg, span.neg, .text-neg {\n\tcolor: $negative;\n}\n\np.muted, p .muted, span.muted, .text-muted {\n\tcolor: lighten($text-dark, 26%);\n}\n\np.primary, p .primary, span.primary, .text-primary {\n\tcolor: $primary;\n}\n\np.secondary, p .secondary, span.secondary, .text-secondary {\n\tcolor: $secondary;\n}\n\n/*\n* Generic text styling classes\n*/\n.underlined {\n text-decoration: underline;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-left {\n text-align: left;\n}\n\n.text-right {\n text-align: right;\n}\n","\n/** Rules for all columns */\ndiv[class^=\"col-\"] img {\n max-width: 100%;\n}\n\n.container {\n max-width: $max-width;\n margin-left: auto;\n margin-right: auto;\n padding-left: $-m;\n padding-right: $-m;\n &.fluid {\n max-width: 100%;\n }\n}\n\n.row {\n margin-left: -$-m;\n margin-right: -$-m;\n}\n\n.float {\n float: left;\n &.right {\n float: right;\n }\n}\n\n.block {\n display: block;\n}\n\n.inline {\n display: inline;\n}\n\n.block.inline {\n display: inline-block;\n}\n\n.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {\n position: relative;\n min-height: 1px;\n padding-left: $-m;\n padding-right: $-m;\n}\n.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 {\n float: left;\n}\n.col-xs-12 {\n width: 100%;\n}\n.col-xs-11 {\n width: 91.66666667%;\n}\n.col-xs-10 {\n width: 83.33333333%;\n}\n.col-xs-9 {\n width: 75%;\n}\n.col-xs-8 {\n width: 66.66666667%;\n}\n.col-xs-7 {\n width: 58.33333333%;\n}\n.col-xs-6 {\n width: 50%;\n}\n.col-xs-5 {\n width: 41.66666667%;\n}\n.col-xs-4 {\n width: 33.33333333%;\n}\n.col-xs-3 {\n width: 25%;\n}\n.col-xs-2 {\n width: 16.66666667%;\n}\n.col-xs-1 {\n width: 8.33333333%;\n}\n.col-xs-pull-12 {\n right: 100%;\n}\n.col-xs-pull-11 {\n right: 91.66666667%;\n}\n.col-xs-pull-10 {\n right: 83.33333333%;\n}\n.col-xs-pull-9 {\n right: 75%;\n}\n.col-xs-pull-8 {\n right: 66.66666667%;\n}\n.col-xs-pull-7 {\n right: 58.33333333%;\n}\n.col-xs-pull-6 {\n right: 50%;\n}\n.col-xs-pull-5 {\n right: 41.66666667%;\n}\n.col-xs-pull-4 {\n right: 33.33333333%;\n}\n.col-xs-pull-3 {\n right: 25%;\n}\n.col-xs-pull-2 {\n right: 16.66666667%;\n}\n.col-xs-pull-1 {\n right: 8.33333333%;\n}\n.col-xs-pull-0 {\n right: auto;\n}\n.col-xs-push-12 {\n left: 100%;\n}\n.col-xs-push-11 {\n left: 91.66666667%;\n}\n.col-xs-push-10 {\n left: 83.33333333%;\n}\n.col-xs-push-9 {\n left: 75%;\n}\n.col-xs-push-8 {\n left: 66.66666667%;\n}\n.col-xs-push-7 {\n left: 58.33333333%;\n}\n.col-xs-push-6 {\n left: 50%;\n}\n.col-xs-push-5 {\n left: 41.66666667%;\n}\n.col-xs-push-4 {\n left: 33.33333333%;\n}\n.col-xs-push-3 {\n left: 25%;\n}\n.col-xs-push-2 {\n left: 16.66666667%;\n}\n.col-xs-push-1 {\n left: 8.33333333%;\n}\n.col-xs-push-0 {\n left: auto;\n}\n.col-xs-offset-12 {\n margin-left: 100%;\n}\n.col-xs-offset-11 {\n margin-left: 91.66666667%;\n}\n.col-xs-offset-10 {\n margin-left: 83.33333333%;\n}\n.col-xs-offset-9 {\n margin-left: 75%;\n}\n.col-xs-offset-8 {\n margin-left: 66.66666667%;\n}\n.col-xs-offset-7 {\n margin-left: 58.33333333%;\n}\n.col-xs-offset-6 {\n margin-left: 50%;\n}\n.col-xs-offset-5 {\n margin-left: 41.66666667%;\n}\n.col-xs-offset-4 {\n margin-left: 33.33333333%;\n}\n.col-xs-offset-3 {\n margin-left: 25%;\n}\n.col-xs-offset-2 {\n margin-left: 16.66666667%;\n}\n.col-xs-offset-1 {\n margin-left: 8.33333333%;\n}\n.col-xs-offset-0 {\n margin-left: 0%;\n}\n@media (min-width: 768px) {\n .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {\n float: left;\n }\n .col-sm-12 {\n width: 100%;\n }\n .col-sm-11 {\n width: 91.66666667%;\n }\n .col-sm-10 {\n width: 83.33333333%;\n }\n .col-sm-9 {\n width: 75%;\n }\n .col-sm-8 {\n width: 66.66666667%;\n }\n .col-sm-7 {\n width: 58.33333333%;\n }\n .col-sm-6 {\n width: 50%;\n }\n .col-sm-5 {\n width: 41.66666667%;\n }\n .col-sm-4 {\n width: 33.33333333%;\n }\n .col-sm-3 {\n width: 25%;\n }\n .col-sm-2 {\n width: 16.66666667%;\n }\n .col-sm-1 {\n width: 8.33333333%;\n }\n .col-sm-pull-12 {\n right: 100%;\n }\n .col-sm-pull-11 {\n right: 91.66666667%;\n }\n .col-sm-pull-10 {\n right: 83.33333333%;\n }\n .col-sm-pull-9 {\n right: 75%;\n }\n .col-sm-pull-8 {\n right: 66.66666667%;\n }\n .col-sm-pull-7 {\n right: 58.33333333%;\n }\n .col-sm-pull-6 {\n right: 50%;\n }\n .col-sm-pull-5 {\n right: 41.66666667%;\n }\n .col-sm-pull-4 {\n right: 33.33333333%;\n }\n .col-sm-pull-3 {\n right: 25%;\n }\n .col-sm-pull-2 {\n right: 16.66666667%;\n }\n .col-sm-pull-1 {\n right: 8.33333333%;\n }\n .col-sm-pull-0 {\n right: auto;\n }\n .col-sm-push-12 {\n left: 100%;\n }\n .col-sm-push-11 {\n left: 91.66666667%;\n }\n .col-sm-push-10 {\n left: 83.33333333%;\n }\n .col-sm-push-9 {\n left: 75%;\n }\n .col-sm-push-8 {\n left: 66.66666667%;\n }\n .col-sm-push-7 {\n left: 58.33333333%;\n }\n .col-sm-push-6 {\n left: 50%;\n }\n .col-sm-push-5 {\n left: 41.66666667%;\n }\n .col-sm-push-4 {\n left: 33.33333333%;\n }\n .col-sm-push-3 {\n left: 25%;\n }\n .col-sm-push-2 {\n left: 16.66666667%;\n }\n .col-sm-push-1 {\n left: 8.33333333%;\n }\n .col-sm-push-0 {\n left: auto;\n }\n .col-sm-offset-12 {\n margin-left: 100%;\n }\n .col-sm-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-sm-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-sm-offset-9 {\n margin-left: 75%;\n }\n .col-sm-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-sm-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-sm-offset-6 {\n margin-left: 50%;\n }\n .col-sm-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-sm-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-sm-offset-3 {\n margin-left: 25%;\n }\n .col-sm-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-sm-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-sm-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 992px) {\n .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {\n float: left;\n }\n .col-md-12 {\n width: 100%;\n }\n .col-md-11 {\n width: 91.66666667%;\n }\n .col-md-10 {\n width: 83.33333333%;\n }\n .col-md-9 {\n width: 75%;\n }\n .col-md-8 {\n width: 66.66666667%;\n }\n .col-md-7 {\n width: 58.33333333%;\n }\n .col-md-6 {\n width: 50%;\n }\n .col-md-5 {\n width: 41.66666667%;\n }\n .col-md-4 {\n width: 33.33333333%;\n }\n .col-md-3 {\n width: 25%;\n }\n .col-md-2 {\n width: 16.66666667%;\n }\n .col-md-1 {\n width: 8.33333333%;\n }\n .col-md-pull-12 {\n right: 100%;\n }\n .col-md-pull-11 {\n right: 91.66666667%;\n }\n .col-md-pull-10 {\n right: 83.33333333%;\n }\n .col-md-pull-9 {\n right: 75%;\n }\n .col-md-pull-8 {\n right: 66.66666667%;\n }\n .col-md-pull-7 {\n right: 58.33333333%;\n }\n .col-md-pull-6 {\n right: 50%;\n }\n .col-md-pull-5 {\n right: 41.66666667%;\n }\n .col-md-pull-4 {\n right: 33.33333333%;\n }\n .col-md-pull-3 {\n right: 25%;\n }\n .col-md-pull-2 {\n right: 16.66666667%;\n }\n .col-md-pull-1 {\n right: 8.33333333%;\n }\n .col-md-pull-0 {\n right: auto;\n }\n .col-md-push-12 {\n left: 100%;\n }\n .col-md-push-11 {\n left: 91.66666667%;\n }\n .col-md-push-10 {\n left: 83.33333333%;\n }\n .col-md-push-9 {\n left: 75%;\n }\n .col-md-push-8 {\n left: 66.66666667%;\n }\n .col-md-push-7 {\n left: 58.33333333%;\n }\n .col-md-push-6 {\n left: 50%;\n }\n .col-md-push-5 {\n left: 41.66666667%;\n }\n .col-md-push-4 {\n left: 33.33333333%;\n }\n .col-md-push-3 {\n left: 25%;\n }\n .col-md-push-2 {\n left: 16.66666667%;\n }\n .col-md-push-1 {\n left: 8.33333333%;\n }\n .col-md-push-0 {\n left: auto;\n }\n .col-md-offset-12 {\n margin-left: 100%;\n }\n .col-md-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-md-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-md-offset-9 {\n margin-left: 75%;\n }\n .col-md-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-md-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-md-offset-6 {\n margin-left: 50%;\n }\n .col-md-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-md-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-md-offset-3 {\n margin-left: 25%;\n }\n .col-md-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-md-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-md-offset-0 {\n margin-left: 0%;\n }\n}\n@media (min-width: 1200px) {\n .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {\n float: left;\n }\n .col-lg-12 {\n width: 100%;\n }\n .col-lg-11 {\n width: 91.66666667%;\n }\n .col-lg-10 {\n width: 83.33333333%;\n }\n .col-lg-9 {\n width: 75%;\n }\n .col-lg-8 {\n width: 66.66666667%;\n }\n .col-lg-7 {\n width: 58.33333333%;\n }\n .col-lg-6 {\n width: 50%;\n }\n .col-lg-5 {\n width: 41.66666667%;\n }\n .col-lg-4 {\n width: 33.33333333%;\n }\n .col-lg-3 {\n width: 25%;\n }\n .col-lg-2 {\n width: 16.66666667%;\n }\n .col-lg-1 {\n width: 8.33333333%;\n }\n .col-lg-pull-12 {\n right: 100%;\n }\n .col-lg-pull-11 {\n right: 91.66666667%;\n }\n .col-lg-pull-10 {\n right: 83.33333333%;\n }\n .col-lg-pull-9 {\n right: 75%;\n }\n .col-lg-pull-8 {\n right: 66.66666667%;\n }\n .col-lg-pull-7 {\n right: 58.33333333%;\n }\n .col-lg-pull-6 {\n right: 50%;\n }\n .col-lg-pull-5 {\n right: 41.66666667%;\n }\n .col-lg-pull-4 {\n right: 33.33333333%;\n }\n .col-lg-pull-3 {\n right: 25%;\n }\n .col-lg-pull-2 {\n right: 16.66666667%;\n }\n .col-lg-pull-1 {\n right: 8.33333333%;\n }\n .col-lg-pull-0 {\n right: auto;\n }\n .col-lg-push-12 {\n left: 100%;\n }\n .col-lg-push-11 {\n left: 91.66666667%;\n }\n .col-lg-push-10 {\n left: 83.33333333%;\n }\n .col-lg-push-9 {\n left: 75%;\n }\n .col-lg-push-8 {\n left: 66.66666667%;\n }\n .col-lg-push-7 {\n left: 58.33333333%;\n }\n .col-lg-push-6 {\n left: 50%;\n }\n .col-lg-push-5 {\n left: 41.66666667%;\n }\n .col-lg-push-4 {\n left: 33.33333333%;\n }\n .col-lg-push-3 {\n left: 25%;\n }\n .col-lg-push-2 {\n left: 16.66666667%;\n }\n .col-lg-push-1 {\n left: 8.33333333%;\n }\n .col-lg-push-0 {\n left: auto;\n }\n .col-lg-offset-12 {\n margin-left: 100%;\n }\n .col-lg-offset-11 {\n margin-left: 91.66666667%;\n }\n .col-lg-offset-10 {\n margin-left: 83.33333333%;\n }\n .col-lg-offset-9 {\n margin-left: 75%;\n }\n .col-lg-offset-8 {\n margin-left: 66.66666667%;\n }\n .col-lg-offset-7 {\n margin-left: 58.33333333%;\n }\n .col-lg-offset-6 {\n margin-left: 50%;\n }\n .col-lg-offset-5 {\n margin-left: 41.66666667%;\n }\n .col-lg-offset-4 {\n margin-left: 33.33333333%;\n }\n .col-lg-offset-3 {\n margin-left: 25%;\n }\n .col-lg-offset-2 {\n margin-left: 16.66666667%;\n }\n .col-lg-offset-1 {\n margin-left: 8.33333333%;\n }\n .col-lg-offset-0 {\n margin-left: 0%;\n }\n}\n.clearfix:before,\n.clearfix:after,\n.container:before,\n.container:after,\n.container-fluid:before,\n.container-fluid:after,\n.row:before,\n.row:after {\n content: \" \";\n display: table;\n}\n.clearfix:after,\n.container:after,\n.container-fluid:after,\n.row:after {\n clear: both;\n}\n.center-block {\n display: block;\n margin-left: auto;\n margin-right: auto;\n}\n","\n/*\n* This file container all block styling including background shading,\n* margins, paddings & borders.\n*/\n\n\n/*\n* Background Shading\n*/\n.shaded {\n background-color: #f1f1f1;\n &.pos {\n background-color: lighten($positive, 40%);\n }\n &.neg {\n background-color: lighten($negative, 20%);\n }\n &.primary {\n background-color: lighten($primary, 40%);\n }\n &.secondary {\n background-color: lighten($secondary, 30%);\n }\n}\n\n/*\n* Bordering\n*/\n.bordered {\n border: 1px solid #BBB;\n &.pos {\n border-color: $positive;\n }\n &.neg {\n border-color: $negative;\n }\n &.primary {\n border-color: $primary;\n }\n &.secondary {\n border-color: $secondary;\n }\n &.thick {\n border-width: 2px;\n }\n}\n.rounded {\n border-radius: 3px;\n}\n\n/*\n* Padding\n*/\n.nopadding {\n padding: 0;\n}\n.padded {\n padding: $-l;\n &.large {\n padding: $-xl;\n }\n}\n.padded-vertical, .padded-top {\n padding-top: $-m;\n &.large {\n padding-top: $-xl;\n }\n}\n.padded-vertical, .padded-bottom {\n padding-bottom: $-m;\n &.large {\n padding-bottom: $-xl;\n }\n}\n.padded-horizontal, .padded-left {\n padding-left: $-m;\n &.large {\n padding-left: $-xl;\n }\n}\n.padded-horizontal, .padded-right {\n padding-right: $-m;\n &.large {\n padding-right: $-xl;\n }\n}\n\n/*\n* Margins\n*/\n.margins {\n margin: $-l;\n &.large {\n margin: $-xl;\n }\n}\n.margins-vertical, .margin-top {\n margin-top: $-m;\n &.large {\n margin-top: $-xl;\n }\n}\n.margins-vertical, .margin-bottom {\n margin-bottom: $-m;\n &.large {\n margin-bottom: $-xl;\n }\n}\n.margins-horizontal, .margin-left {\n margin-left: $-m;\n &.large {\n margin-left: $-xl;\n }\n}\n.margins-horizontal, .margin-right {\n margin-right: $-m;\n &.large {\n margin-right: $-xl;\n }\n}\n","\n@mixin generate-button-colors($textColor, $backgroundColor) {\n background-color: $backgroundColor;\n color: $textColor;\n &:hover {\n background-color: lighten($backgroundColor, 8%);\n box-shadow: $bs-med;\n text-decoration: none;\n color: $textColor;\n }\n &:active {\n background-color: darken($backgroundColor, 8%);\n }\n}\n\n// Button Specific Variables\n$button-border-radius: 3px;\n\n.button-base {\n text-decoration: none;\n font-size: $fs-m;\n line-height: 1.4em;\n padding: $-xs $-m;\n margin: $-xs $-xs $-xs 0;\n display: inline-block;\n border: none;\n outline: 0;\n border-radius: $button-border-radius;\n cursor: pointer;\n transition: all ease-in-out 80ms;\n box-shadow: 0 0 0 0 #000;\n @include generate-button-colors(#EEE, $primary);\n}\n\n.button, button[type=\"button\"], input[type=\"button\"], input[type=\"submit\"] {\n @extend .button-base;\n &.pos {\n @include generate-button-colors(#EEE, $positive);\n }\n &.neg {\n @include generate-button-colors(#EEE, $negative);\n }\n &.secondary {\n @include generate-button-colors(#EEE, $secondary);\n }\n}\n\n.button-group {\n @include clearfix;\n .button, button[type=\"button\"] {\n margin: $-xs 0 $-xs 0;\n float: left;\n border-radius: 0;\n &:first-child {\n border-radius: $button-border-radius 0 0 $button-border-radius;\n }\n &:last-child {\n border-radius: 0 $button-border-radius $button-border-radius 0;\n }\n }\n}\n","// Responsive breakpoint control\n@mixin smaller-than($size) {\n @media screen and (max-width: $size) { @content; }\n}\n@mixin larger-than($size) {\n @media screen and (min-width: $size) { @content; }\n}\n@mixin clearfix() {\n &:after {\n display: block;\n content: '';\n font-size: 0;\n clear: both;\n position: relative;\n }\n}\n","\n.input-base {\n background-color: #FFF;\n border-radius: 2px;\n border: 1px solid #BBB;\n border-top: 1px solid #AAA;\n display: inline-block;\n font-size: $fs-s;\n font-family: $text;\n padding: $-xs;\n color: #222;\n width: 250px;\n max-width: 100%;\n -webkit-appearance:none;\n &.neg, &.invalid {\n border: 1px solid $negative;\n }\n &.pos, &.valid {\n border: 1px solid $positive;\n }\n &.disabled, &[disabled] {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==);\n }\n}\n\nlabel {\n display: block;\n line-height: 1.4em;\n font-size: 0.9em;\n font-weight: 500;\n color: #333;\n}\n\nlabel.radio, label.checkbox {\n font-weight: 400;\n input[type=\"radio\"], input[type=\"checkbox\"] {\n margin-right: $-xs;\n }\n}\n\ninput[type=\"text\"], input[type=\"number\"], input[type=\"email\"], input[type=\"search\"], input[type=\"url\"], input[type=\"password\"], select, textarea {\n @extend .input-base;\n}\n\n.form-group {\n margin-bottom: $-s;\n}\n","@import \"reset\";\n@import \"variables\";\n@import \"mixins\";\n@import \"html\";\n@import \"text\";\n@import \"grid\";\n@import \"blocks\";\n@import \"buttons\";\n@import \"forms\";\n\nheader hr {\n margin-top: 0;\n}\n\nheader .menu {\n margin-bottom: 0;\n list-style: none;\n li {\n display: inline-block;\n margin-left: $-m;\n }\n}\n\n.page-title input {\n display: block;\n width: 100%;\n font-size: 1.4em;\n}"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/resources/assets/sass/styles.scss b/resources/assets/sass/styles.scss index 3cda72b5b..22d043de9 100644 --- a/resources/assets/sass/styles.scss +++ b/resources/assets/sass/styles.scss @@ -19,4 +19,10 @@ header .menu { display: inline-block; margin-left: $-m; } +} + +.page-title input { + display: block; + width: 100%; + font-size: 1.4em; } \ No newline at end of file diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index ca84687e3..ba386d6c3 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -5,7 +5,9 @@ + + @yield('head') diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index eb26b193e..809f6d2a4 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -4,4 +4,14 @@

{{$book->name}}

{{$book->description}}

+ + New Page + +

Pages:

+ @if(count($book->pages) > 0) + @foreach($book->pages as $page) + {{$page->name}}
+ @endforeach + @else +

This book has no pages

+ @endif @stop \ No newline at end of file diff --git a/resources/views/form/text.blade.php b/resources/views/form/text.blade.php index 063eb3b0f..400d4fea4 100644 --- a/resources/views/form/text.blade.php +++ b/resources/views/form/text.blade.php @@ -1,5 +1,6 @@ has($name)) class="neg" @endif + @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif @if(isset($model) || old($name)) value="{{ old($name) ? old($name) : $model->$name}}" @endif> @if($errors->has($name))
{{ $errors->first($name) }}
diff --git a/resources/views/pages/create.blade.php b/resources/views/pages/create.blade.php new file mode 100644 index 000000000..df8e8a4c9 --- /dev/null +++ b/resources/views/pages/create.blade.php @@ -0,0 +1,19 @@ +@extends('base') + +@section('head') + + + +@stop + +@section('content') +
+ @include('pages/form') +
+ + +@stop \ No newline at end of file diff --git a/resources/views/pages/edit.blade.php b/resources/views/pages/edit.blade.php new file mode 100644 index 000000000..021b43aae --- /dev/null +++ b/resources/views/pages/edit.blade.php @@ -0,0 +1,20 @@ +@extends('base') + +@section('head') + + + +@stop + +@section('content') +
+ + @include('pages/form', ['model' => $page]) +
+ + +@stop \ No newline at end of file diff --git a/resources/views/pages/form.blade.php b/resources/views/pages/form.blade.php new file mode 100644 index 000000000..8ed8dd434 --- /dev/null +++ b/resources/views/pages/form.blade.php @@ -0,0 +1,13 @@ +{{ csrf_field() }} +
+
+ @include('form/text', ['name' => 'name', 'placeholder' => 'Enter Page Title']) +
+
+ +
+
+
+ @include('form/textarea', ['name' => 'html']) +
+ diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php new file mode 100644 index 000000000..fb27d1e8e --- /dev/null +++ b/resources/views/pages/show.blade.php @@ -0,0 +1,12 @@ +@extends('base') + +@section('content') + + Edit Page + +

{{$page->name}}

+ +
+ {!! $page->html !!} +
+@stop