プライマリカラーを変更

This commit is contained in:
eai04191 2019-03-11 21:26:34 +09:00
parent 16005931fc
commit 4f559cd1d4
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
// Bootstrap Variable Overlide
$primary: #e53fb1;
// Bootstrap // Bootstrap
@import "~bootstrap/scss/bootstrap"; @import "~bootstrap/scss/bootstrap";
@import "bootstrap-custom"; @import "bootstrap-custom";

View File

@ -89,7 +89,7 @@
</div> </div>
</form> </form>
<form class="form-inline mr-2"> <form class="form-inline mr-2">
<a href="{{ route('checkin') }}" class="btn btn-outline-success">チェックイン</a> <a href="{{ route('checkin') }}" class="btn btn-outline-primary">チェックイン</a>
</form> </form>
<ul class="navbar-nav"> <ul class="navbar-nav">
<li class="nav-item dropdown"> <li class="nav-item dropdown">
@ -114,18 +114,18 @@
<div class="d-lg-none"> <div class="d-lg-none">
<div class="row mt-2"> <div class="row mt-2">
<div class="col"> <div class="col">
<a class="btn btn-outline-{{ stripos(Route::currentRouteName(), 'home') === 0 ? 'primary' : 'secondary'}}" href="{{ route('home') }}" role="button">ホーム</a> <a class="btn btn-{{ stripos(Route::currentRouteName(), 'home') === 0 ? 'primary' : 'outline-secondary'}}" href="{{ route('home') }}" role="button">ホーム</a>
</div> </div>
<div class="col"> <div class="col">
<a class="btn btn-outline-{{ stripos(Route::currentRouteName(), 'user.profile') === 0 ? 'primary' : 'secondary'}}" href="{{ route('user.profile', ['name' => Auth::user()->name]) }}" role="button">タイムライン</a> <a class="btn btn-{{ stripos(Route::currentRouteName(), 'user.profile') === 0 ? 'primary' : 'outline-secondary'}}" href="{{ route('user.profile', ['name' => Auth::user()->name]) }}" role="button">タイムライン</a>
</div> </div>
</div> </div>
<div class="row mt-2"> <div class="row mt-2">
<div class="col"> <div class="col">
<a class="btn btn-outline-{{ stripos(Route::currentRouteName(), 'user.stats') === 0 ? 'primary' : 'secondary'}}" href="{{ route('user.stats', ['name' => Auth::user()->name]) }}" role="button">グラフ</a> <a class="btn btn-{{ stripos(Route::currentRouteName(), 'user.stats') === 0 ? 'primary' : 'outline-secondary'}}" href="{{ route('user.stats', ['name' => Auth::user()->name]) }}" role="button">グラフ</a>
</div> </div>
<div class="col"> <div class="col">
<a class="btn btn-outline-{{ stripos(Route::currentRouteName(), 'user.okazu') === 0 ? 'primary' : 'secondary'}}" href="{{ route('user.okazu', ['name' => Auth::user()->name]) }}" role="button">オカズ</a> <a class="btn btn-{{ stripos(Route::currentRouteName(), 'user.okazu') === 0 ? 'primary' : 'outline-secondary'}}" href="{{ route('user.okazu', ['name' => Auth::user()->name]) }}" role="button">オカズ</a>
</div> </div>
</div> </div>
{{-- <div class="row mt-2"> {{-- <div class="row mt-2">
@ -145,7 +145,7 @@
</div> </div>
<div class="row mt-2"> <div class="row mt-2">
<form class="form-inline col"> <form class="form-inline col">
<a class="btn btn-outline-success" href="{{ route('checkin') }}">チェックイン</a> <a class="btn btn-outline-primary" href="{{ route('checkin') }}">チェックイン</a>
</form> </form>
</div> </div>
</div> </div>