Remove footer icons, make button outline, fix responsive

This commit is contained in:
Joseph Cohen
2015-10-26 12:09:41 -06:00
parent 69bab99855
commit 36f0f9f2cb
6 changed files with 48 additions and 26 deletions

19
public/build/dist/css/all-10f8f4cb7c.css vendored Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,4 @@
{
"dist/css/all.css": "dist/css/all-b1c32e87ef.css",
"dist/css/all.css": "dist/css/all-10f8f4cb7c.css",
"dist/js/all.js": "dist/js/all-c220680259.js"
}

View File

@@ -351,9 +351,20 @@ body.status-page {
}
}
.list-inline > li {
padding-right: 0;
}
@media (min-width: 768px) {
text-align: left;
.list-inline {
text-align: right;
> li {
padding-right: 0;
}
}
.icons {
margin-top: 0;
text-align: right;

View File

@@ -6,27 +6,27 @@
<p>{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}</p>
@endif
</div>
<div class="col-sm-7 text-right">
<div class="col-sm-7">
<ul class="list-inline">
@if($current_user || Setting::get('dashboard_login_link'))
<li>
<a class="btn btn-link" href="/dashboard"><i class="ion-levels"></i> {{ trans('dashboard.dashboard') }}</a>
<a class="btn btn-link" href="/dashboard">{{ trans('dashboard.dashboard') }}</a>
</li>
@endif
@if($current_user)
<li>
<a class="btn btn-link" href="/auth/logout"><i class="ion-android-exit"></i> {{ trans('dashboard.logout') }}</a>
<a class="btn btn-link" href="/auth/logout">{{ trans('dashboard.logout') }}</a>
</li>
@endif
<li>
<a class="btn btn-link" href="{{ route('feed.rss') }}"><i class="ion-social-rss"></i> {{ trans('cachet.rss-feed') }}</a>
<a class="btn btn-link" href="{{ route('feed.rss') }}">{{ trans('cachet.rss-feed') }}</a>
</li>
<li>
<a class="btn btn-link" href="{{ route('feed.atom') }}"><i class="ion-social-rss"></i> {{ trans('cachet.atom-feed') }}</a>
<a class="btn btn-link" href="{{ route('feed.atom') }}">{{ trans('cachet.atom-feed') }}</a>
</li>
@if($subscribers_enabled)
<li>
<a class="btn btn-success" href="{{ route('subscribe.subscribe') }}"><i class="ion-email"></i> {{ trans('cachet.subscriber.button') }}</a>
<a class="btn btn-success btn-outline" href="{{ route('subscribe.subscribe') }}">{{ trans('cachet.subscriber.button') }}</a>
</li>
@endif
</ul>

View File

@@ -63,6 +63,17 @@ body.status-page {
.btn.btn-success.links {
color: {{ color_darken($theme_greens, -0.3) }};
}
.btn.btn-success.btn-outline {
background-color: transparent;
border-color: {{ $theme_greens }};
color: {{ $theme_greens }};
font-weight: bold;
}
.btn.btn-success.btn-outline:hover {
background-color: {{ $theme_greens }};
border-color: {{ color_darken($theme_greens, -0.1) }};
color: {{ color_contrast($theme_greens) }};
}
.btn.btn-info {
background-color: {{ $theme_blues }};
border-color: {{ color_darken($theme_blues, -0.1) }};