Projekt

Obecné

Profil

« Předchozí | Další » 

Revize be36debe

Přidáno uživatelem Adam Mištera před asi 4 roky(ů)

  • ID be36debe6277b4ff4ae8c00e66c66e1e2c949a2b
  • Rodič d2b83462

Issue #8139 @0.5h

[/] Úprava pozice šipek u komponenty artefaktu.

Zobrazit rozdíly:

resources/sass/_custom.scss
976 976

  
977 977
            .book-arrow-left {
978 978
                &:after {
979
                    left: 25%;
979
                    left: 1.5625rem;
980 980
                    border-right: 1.25rem solid $theme-color-two;
981 981
                }
982 982
            }
983 983

  
984 984
            .book-arrow-right {
985 985
                &:after {
986
                    right: 25%;
987 986
                    border-left: 1.25rem solid $theme-color-two;
988 987
                }
989 988
            }
......
1001 1000
                        height: 5rem;
1002 1001
                        width: 5rem;
1003 1002
                    }
1003

  
1004
                    &:hover, &:focus, &:active {
1005
                        background-color: transparent !important;
1006
                        border-color: transparent !important;
1007
                        outline: none !important;
1008
                        box-shadow: none !important;
1009
                    }
1010
                }
1011

  
1012
                .inter_like {
1013
                    &:before{
1014
                        background-image: url(../images/interface/Heart_Empty.svg);
1015
                    }
1016
                }
1017

  
1018
                .inter_like_filled {
1019
                    &:before{
1020
                        background-image: url(../images/interface/Heart_Filled.svg);
1021
                    }
1004 1022
                }
1005 1023

  
1006 1024
                .artefact-likes {
1025
                    color: $theme-color-two;
1007 1026
                    font-size: 12pt;
1008 1027
                    padding: 0;
1009 1028
                }
resources/views/components/books.blade.php
9 9
                        <a href="#imageModal" data-toggle="modal">
10 10
                            <img class="card-img-top" src="{{asset('images/artefacts/book_cover_01.jpg')}}" width="100%" height=auto alt="book_cover">
11 11
                        </a>
12
                        <div class="card-cus-bottom">
13
                            <a class="book-arrow book-arrow-left artefact-link previous-artefact {{$artefacts->onFirstPage() ? "invisible" : "visible"}}" href="{{$artefacts->previousPageUrl()}}"></a>
14
                            <div class="likes">
15
                                @if ($artefact->favourite)
16
                                    <a href="{{  action('ArtefactController@unlike', ['id' => $artefact->id]) }}">
17
                                        <button id="like_butt_{{$artefact->id}}" type="button" class="btn btn-primary button-image inter_like_filled"></button>
18
                                    </a>
19
                                @else
20
                                    <a href="{{  action('ArtefactController@like', ['id' => $artefact->id]) }}">
21
                                        <button id="like_butt_{{$artefact->id}}" type="button" class="btn btn-primary button-image inter_like"></button>
22
                                    </a>
23
                                @endif
24
                                <h6 class="artefact-likes">{{$artefact->likes}}</h6>
25
                            </div>
26
                            <a class="book-arrow book-arrow-right artefact-link next-artefact {{$artefacts->hasMorePages() ? "visible" : "invisible"}}" href="{{$artefacts->nextPageUrl()}}"></a>
27
                        </div>
28 12
                    </div>
29 13
                </div>
30 14
            @endif
......
45 29
                    Morbi sit amet dictum metus, sit amet sollicitudin nibh. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mattis leo convallis aliquam scelerisque.
46 30
                    Praesent vulputate porttitor quam at egestas. Proin eget orci ligula. Aenean malesuada, eros vitae convallis sagittis, neque leo ullamcorper ante, eu ultricies justo justo in lacus.
47 31
                </p>
48

  
49

  
50 32
            </div>
51 33

  
52 34
            <div class="artefact-notes">
......
88 70
                @endif
89 71
            </div>
90 72
        </div>
73

  
74
        <div class="book-area col-md-12">
75
            <div class="card-cus-bottom">
76
                <a class="book-arrow book-arrow-left artefact-link previous-artefact {{$artefacts->onFirstPage() ? "invisible" : "visible"}}" href="{{$artefacts->previousPageUrl()}}"></a>
77
                <div class="likes offset-7">
78
                    @if ($artefact->favourite)
79
                        <a href="{{  action('ArtefactController@unlike', ['id' => $artefact->id]) }}">
80
                            <button id="like_butt_{{$artefact->id}}" type="button" class="btn btn-primary button-image inter_like_filled"></button>
81
                        </a>
82
                    @else
83
                        <a href="{{  action('ArtefactController@like', ['id' => $artefact->id]) }}">
84
                            <button id="like_butt_{{$artefact->id}}" type="button" class="btn btn-primary button-image inter_like"></button>
85
                        </a>
86
                    @endif
87
                    <h6 class="artefact-likes">{{$artefact->likes}}</h6>
88
                </div>
89
                <a class="book-arrow book-arrow-right artefact-link next-artefact {{$artefacts->hasMorePages() ? "visible" : "invisible"}}" href="{{$artefacts->nextPageUrl()}}"></a>
90
            </div>
91
        </div>
91 92
    </div>
92 93
</div>
93 94
@endforeach

Také k dispozici: Unified diff