mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-22 11:52:30 +00:00
parent
4bf77f67dd
commit
b792108bc1
6 changed files with 19 additions and 26 deletions
resources
assets/sass
views
|
@ -4,39 +4,32 @@ header {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
html, body {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
background-color: #FFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content {
|
.page-content {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-fill {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.flex.sidebar + .flex.content {
|
|
||||||
border-left: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.print-hidden {
|
.print-hidden {
|
||||||
display: none;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.print-full-width {
|
.tri-layout-container {
|
||||||
width: 100%;
|
grid-template-columns: 1fr;
|
||||||
float: none;
|
grid-template-areas: "b";
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: 0;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
.card {
|
||||||
font-size: 2em;
|
box-shadow: none;
|
||||||
line-height: 1;
|
|
||||||
margin-top: 0.6em;
|
|
||||||
margin-bottom: 0.3em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comments-container {
|
.content-wrap.card {
|
||||||
display: none;
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
}
|
}
|
|
@ -34,7 +34,7 @@
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div back-to-top class="primary-background">
|
<div back-to-top class="primary-background print-hidden">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
|
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
@section('body')
|
@section('body')
|
||||||
|
|
||||||
<div class="mb-m">
|
<div class="mb-m print-hidden">
|
||||||
@include('partials.breadcrumbs', ['crumbs' => [
|
@include('partials.breadcrumbs', ['crumbs' => [
|
||||||
$chapter->book,
|
$chapter->book,
|
||||||
$chapter,
|
$chapter,
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
@section('body')
|
@section('body')
|
||||||
|
|
||||||
<div class="mb-m">
|
<div class="mb-m print-hidden">
|
||||||
@include('partials.breadcrumbs', ['crumbs' => [
|
@include('partials.breadcrumbs', ['crumbs' => [
|
||||||
$page->$book,
|
$page->$book,
|
||||||
$page->chapter,
|
$page->chapter,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
@section('body')
|
@section('body')
|
||||||
|
|
||||||
<div class="mb-m">
|
<div class="mb-m print-hidden">
|
||||||
@include('partials.breadcrumbs', ['crumbs' => [
|
@include('partials.breadcrumbs', ['crumbs' => [
|
||||||
$page->book,
|
$page->book,
|
||||||
$page->hasChapter() ? $page->chapter : null,
|
$page->hasChapter() ? $page->chapter : null,
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if ($commentsEnabled)
|
@if ($commentsEnabled)
|
||||||
<div class="container small p-none comments-container mb-l">
|
<div class="container small p-none comments-container mb-l print-hidden">
|
||||||
@include('comments.comments', ['page' => $page])
|
@include('comments.comments', ['page' => $page])
|
||||||
<div class="clearfix"></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
<div class="tri-layout-mobile-tabs text-primary" >
|
<div class="tri-layout-mobile-tabs text-primary print-hidden">
|
||||||
<div class="grid half no-break no-gap">
|
<div class="grid half no-break no-gap">
|
||||||
<div class="tri-layout-mobile-tab px-m py-s" tri-layout-mobile-tab="info">
|
<div class="tri-layout-mobile-tab px-m py-s" tri-layout-mobile-tab="info">
|
||||||
{{ trans('common.tab_info') }}
|
{{ trans('common.tab_info') }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue