Skip to content

Commit

Permalink
Merge pull request #56 from christophrumpel/bugfix/updateBootstrap
Browse files Browse the repository at this point in the history
Bugfix/update bootstrap
  • Loading branch information
Christoph Rumpel authored May 7, 2018
2 parents ab2d9a7 + 53ddffc commit e61ea65
Show file tree
Hide file tree
Showing 8 changed files with 60,733 additions and 69 deletions.
2 changes: 1 addition & 1 deletion config/botman/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| the cache.
|
*/
'conversation_cache_time' => 30,
'conversation_cache_time' => 40,

/*
|--------------------------------------------------------------------------
Expand Down
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,21 @@
"scripts": {
"dev": "npm run development",
"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"watch": "npm run development -- --watch",
"watch-poll": "npm run watch -- --watch-poll",
"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
"prod": "npm run production",
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"axios": "^0.15.3",
"bootstrap-sass": "^3.3.7",
"cross-env": "^3.2.3",
"jquery": "^3.1.1",
"laravel-mix": "0.*",
"axios": "^0.18",
"bootstrap": "^4.0.0",
"popper.js": "^1.12",
"cross-env": "^5.1",
"jquery": "^3.2",
"laravel-mix": "^2.0",
"lodash": "^4.17.4",
"vue": "^2.1.10"
"vue": "^2.5.7"
},
"dependencies": {
"botman-tinker": "^0.0.1"
Expand Down
10,422 changes: 10,418 additions & 4 deletions public/css/app.css

Large diffs are not rendered by default.

50,306 changes: 50,290 additions & 16 deletions public/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ Vue.component('botman-tinker', TinkerComponent);

const app = new Vue({
el: '#app'
});
});
10 changes: 6 additions & 4 deletions resources/assets/js/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

window._ = require('lodash');
window.Popper = require('popper.js').default;

/**
* We'll load jQuery and the Bootstrap jQuery plugin which provides support
Expand All @@ -10,7 +10,7 @@ window._ = require('lodash');
try {
window.$ = window.jQuery = require('jquery');

require('bootstrap-sass');
require('bootstrap');
} catch (e) {}

/**
Expand Down Expand Up @@ -49,5 +49,7 @@ if (token) {

// window.Echo = new Echo({
// broadcaster: 'pusher',
// key: 'your-pusher-key'
// });
// key: process.env.MIX_PUSHER_APP_KEY,
// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
// encrypted: true
// });
35 changes: 2 additions & 33 deletions resources/assets/sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,38 +1,7 @@

// Body
$body-bg: #f5f8fa;

// Borders
$laravel-border-color: darken($body-bg, 10%);
$list-group-border: $laravel-border-color;
$navbar-default-border: $laravel-border-color;
$panel-default-border: $laravel-border-color;
$panel-inner-border: $laravel-border-color;

// Brands
$brand-primary: #3097D1;
$brand-info: #8eb4cb;
$brand-success: #2ab27b;
$brand-warning: #cbb956;
$brand-danger: #bf5329;

// Typography
$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/";
$font-family-sans-serif: "Raleway", sans-serif;
$font-size-base: 14px;
$line-height-base: 1.6;
$text-color: #636b6f;

// Navbar
$navbar-default-bg: #fff;

// Buttons
$btn-default-color: $text-color;

// Inputs
$input-border: lighten($text-color, 40%);
$input-border-focus: lighten($brand-primary, 25%);
$input-color-placeholder: lighten($text-color, 30%);

// Panels
$panel-default-heading-bg: #fff;
$font-size-base: 0.9rem;
$line-height-base: 1.6;
8 changes: 6 additions & 2 deletions resources/assets/sass/app.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@

// Fonts
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");

// Variables
@import "variables";

// Bootstrap
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
@import '~bootstrap/scss/bootstrap';

.navbar-laravel {
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

0 comments on commit e61ea65

Please sign in to comment.