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
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
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" "dist/js/all.js": "dist/js/all-c220680259.js"
} }
+11
View File
@@ -351,9 +351,20 @@ body.status-page {
} }
} }
.list-inline > li {
padding-right: 0;
}
@media (min-width: 768px) { @media (min-width: 768px) {
text-align: left; text-align: left;
.list-inline {
text-align: right;
> li {
padding-right: 0;
}
}
.icons { .icons {
margin-top: 0; margin-top: 0;
text-align: right; text-align: right;
+6 -6
View File
@@ -6,27 +6,27 @@
<p>{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}</p> <p>{!! trans('cachet.powered_by', ['app' => Setting::get('app_name')]) !!}</p>
@endif @endif
</div> </div>
<div class="col-sm-7 text-right"> <div class="col-sm-7">
<ul class="list-inline"> <ul class="list-inline">
@if($current_user || Setting::get('dashboard_login_link')) @if($current_user || Setting::get('dashboard_login_link'))
<li> <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> </li>
@endif @endif
@if($current_user) @if($current_user)
<li> <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> </li>
@endif @endif
<li> <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>
<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> </li>
@if($subscribers_enabled) @if($subscribers_enabled)
<li> <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> </li>
@endif @endif
</ul> </ul>
@@ -63,6 +63,17 @@ body.status-page {
.btn.btn-success.links { .btn.btn-success.links {
color: {{ color_darken($theme_greens, -0.3) }}; 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 { .btn.btn-info {
background-color: {{ $theme_blues }}; background-color: {{ $theme_blues }};
border-color: {{ color_darken($theme_blues, -0.1) }}; border-color: {{ color_darken($theme_blues, -0.1) }};