diff --git a/resources/assets/icons/star.svg b/resources/assets/icons/star.svg new file mode 100644 index 000000000..c7686389d --- /dev/null +++ b/resources/assets/icons/star.svg @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/resources/assets/sass/_blocks.scss b/resources/assets/sass/_blocks.scss index f876ff281..76d4d5e0c 100644 --- a/resources/assets/sass/_blocks.scss +++ b/resources/assets/sass/_blocks.scss @@ -208,6 +208,12 @@ } } +.sidebar .card { + h3, .body, .empty-text { + padding: $-s $-m; + } +} + .card.drag-card { border: 1px solid #DDD; border-radius: 4px; diff --git a/resources/assets/sass/_lists.scss b/resources/assets/sass/_lists.scss index f4883384a..2b6fa9cb0 100644 --- a/resources/assets/sass/_lists.scss +++ b/resources/assets/sass/_lists.scss @@ -446,3 +446,12 @@ ul.pagination { margin: 0; } } + +.card.entity-details { + .active-restriction { + margin-top: $-xs; + } + .active-restriction + .active-restriction { + margin-top: 0; + } +} \ No newline at end of file diff --git a/resources/assets/sass/_text.scss b/resources/assets/sass/_text.scss index d894a00e7..da11846d8 100644 --- a/resources/assets/sass/_text.scss +++ b/resources/assets/sass/_text.scss @@ -101,6 +101,13 @@ a, .link { } } +.blended-links a { + color: inherit; + svg { + fill: currentColor; + } +} + /* * Other HTML Text Elements */ diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 9e1edbbbc..e97d9bb69 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -53,21 +53,6 @@ - @if($book->restricted) -
- @if(userCan('restrictions-manage', $book)) - @icon('lock'){{ trans('entities.books_permissions_active') }} - @else - @icon('lock'){{ trans('entities.books_permissions_active') }} - @endif -
-- @if(userCan('restrictions-manage', $book)) - @icon('lock'){{ trans('entities.books_permissions_active') }} - @else - @icon('lock'){{ trans('entities.books_permissions_active') }} - @endif -
- @endif - - @if($chapter->restricted) -- @if(userCan('restrictions-manage', $chapter)) - @icon('lock'){{ trans('entities.chapters_permissions_active') }} - @else - @icon('lock'){{ trans('entities.chapters_permissions_active') }} - @endif -
- @endif -+
\ No newline at end of file