Revize 79e22cad
Přidáno uživatelem Marek Zábran před téměř 5 roky(ů)
resources/sass/_custom.scss | ||
---|---|---|
116 | 116 |
color: $theme-color-four; |
117 | 117 |
} |
118 | 118 |
|
119 |
//notes u metadat, about v about, text levého menu |
|
120 |
.text-headline-desktop { |
|
121 |
font-weight: $font-weight-two; |
|
122 |
font-size: 24pt; |
|
123 |
color: $theme-color-four; |
|
124 |
} |
|
125 |
|
|
119 | 126 |
//název metadata, text pravého menu |
120 | 127 |
.text-page { |
121 | 128 |
font-weight: $font-weight-two; |
... | ... | |
689 | 696 |
} |
690 | 697 |
} |
691 | 698 |
|
692 |
.arrow { |
|
693 |
position: absolute; |
|
694 |
width: 0; |
|
695 |
height: 0; |
|
696 |
margin: 2rem; |
|
697 |
cursor: pointer; |
|
698 |
border: 0.59055rem solid transparent; |
|
699 |
} |
|
700 |
|
|
701 | 699 |
.top-bar { |
702 | 700 |
background-color: $theme-color-five; |
703 | 701 |
height: 5rem; |
... | ... | |
710 | 708 |
} |
711 | 709 |
} |
712 | 710 |
|
713 |
.arrow-left { |
|
714 |
margin-left: 80%; |
|
715 |
|
|
716 |
border-right: 0.59055rem solid $theme-color-five; |
|
717 |
background-color: $theme-color-four !important; |
|
718 |
} |
|
719 |
|
|
720 |
.arrow-right { |
|
721 |
border-left: 0.59055rem solid $theme-color-four; |
|
722 |
|
|
723 |
position: fixed; |
|
724 |
z-index: 3; |
|
725 |
top: 0; |
|
726 |
left: 0; |
|
727 |
} |
|
728 |
|
|
729 | 711 |
.separator { |
730 | 712 |
position: relative; |
731 | 713 |
z-index : 5; |
... | ... | |
742 | 724 |
|
743 | 725 |
.sidenav { |
744 | 726 |
height: 100%; |
745 |
//width: 0;
|
|
746 |
width: 250px; |
|
727 |
width: 0; |
|
728 |
//width: 250px;
|
|
747 | 729 |
position: fixed; |
748 | 730 |
z-index: 4; |
749 | 731 |
top: 0; |
... | ... | |
770 | 752 |
} |
771 | 753 |
} |
772 | 754 |
|
755 |
.bar-desktop{ |
|
756 |
display: flex; |
|
757 |
align-items: center; |
|
758 |
min-width: 84vw; |
|
759 |
margin-left: 8vw; |
|
760 |
margin-right: 8vw; |
|
761 |
} |
|
762 |
|
|
773 | 763 |
.down { |
774 | 764 |
position: absolute; |
775 | 765 |
z-index: 5; |
... | ... | |
783 | 773 |
padding: 0.25rem 1.5rem; |
784 | 774 |
width: 100%; |
785 | 775 |
border: 0; |
786 |
} |
|
787 |
|
|
788 |
.menu-item.active, .menu-item:active { |
|
789 |
color: $theme-color-five; |
|
790 |
background-color: $theme-color-one; |
|
776 |
&:active, &.active, &:focus{ |
|
777 |
color: $theme-color-one; |
|
778 |
background-color: $theme-color-five; |
|
779 |
border: none; |
|
780 |
outline: none; |
|
781 |
box-shadow: none; |
|
782 |
} |
|
791 | 783 |
} |
792 | 784 |
|
793 | 785 |
.logo-kaplicky { |
794 |
display: block; |
|
795 | 786 |
text-align: center; |
796 |
width: 100%; |
|
787 |
display: none; |
|
788 |
&:active, &.active, &:focus{ |
|
789 |
outline: none; |
|
790 |
box-shadow: none; |
|
791 |
} |
|
797 | 792 |
} |
798 | 793 |
|
799 | 794 |
.vertical-center { |
... | ... | |
839 | 834 |
font-size: 23pt; |
840 | 835 |
padding-top: 50pt; |
841 | 836 |
white-space: nowrap; |
837 |
} |
|
838 |
.logo-kaplicky{ |
|
839 |
width: 100%; |
|
840 |
display: block; |
|
841 |
} |
|
842 |
.arrow { |
|
843 |
position: absolute; |
|
844 |
width: 0; |
|
845 |
height: 0; |
|
846 |
margin: 2rem; |
|
847 |
cursor: pointer; |
|
848 |
border: 0.59055rem solid transparent; |
|
849 |
&:active, &.active, &:focus{ |
|
850 |
outline: none; |
|
851 |
box-shadow: none; |
|
852 |
} |
|
853 |
} |
|
854 |
.arrow-left { |
|
855 |
margin-left: 80%; |
|
842 | 856 |
|
857 |
border-right: 0.59055rem solid $theme-color-five; |
|
858 |
background-color: $theme-color-four !important; |
|
843 | 859 |
} |
860 |
.arrow-right { |
|
861 |
border-left: 0.59055rem solid $theme-color-four; |
|
862 |
|
|
863 |
position: fixed; |
|
864 |
z-index: 3; |
|
865 |
top: 0; |
|
866 |
left: 0; |
|
867 |
} |
|
868 |
.bar-desktop{ |
|
869 |
display: none; |
|
870 |
} |
|
871 |
.menu-item:active, .menu-item.active{ |
|
872 |
color: $theme-color-five; |
|
873 |
background-color: $theme-color-one; |
|
874 |
} |
|
875 |
|
|
844 | 876 |
|
845 | 877 |
/*.btn-circle.rounded-circle.btn-sm |
846 | 878 |
{ |
resources/views/inc/sidebar.blade.php | ||
---|---|---|
46 | 46 |
{{ __('general.charts') }} |
47 | 47 |
</a> |
48 | 48 |
|
49 |
</li> |
|
50 |
<li class="nav-item"> |
|
51 |
|
|
52 | 49 |
</li> |
53 | 50 |
<li class="nav-item down"> |
54 | 51 |
<a class="menu-item text-headline" href="{{ url('/czech') }}"> |
... | ... | |
75 | 72 |
{{ __('general.kaplicky') }} |
76 | 73 |
</a> |
77 | 74 |
@endif |
75 |
<div class="bar-desktop"> |
|
76 |
<a class="menu-item text-headline-desktop" href="{{ url('/') }}"> |
|
77 |
{{ __('general.home') }} |
|
78 |
</a> |
|
79 |
|
|
80 |
<a class="menu-item text-headline-desktop" href="{{ url('/categories') }}"> |
|
81 |
{{ __('general.topics') }} |
|
82 |
</a> |
|
83 |
|
|
84 |
<a class="menu-item text-headline-desktop" href="{{ url('/artefact') }}"> |
|
85 |
{{ __('general.artefacts') }} |
|
86 |
</a> |
|
87 |
|
|
88 |
<a class="menu-item text-headline-desktop" href="{{ url('/favartefacts') }}"> |
|
89 |
{{ __('general.favourite_artefacts') }} |
|
90 |
</a> |
|
91 |
|
|
92 |
<a class="menu-item text-headline-desktop" href="{{ url('/favmetadata') }}"> |
|
93 |
{{ __('general.favourite_metadata') }} |
|
94 |
</a> |
|
95 |
|
|
96 |
<a class="menu-item text-headline-desktop" href="{{ url('/charts') }}"> |
|
97 |
{{ __('general.charts') }} |
|
98 |
</a> |
|
99 |
|
|
100 |
<a class="menu-item text-headline-desktop" href="{{ url('/czech') }}"> |
|
101 |
{{ __('general.cs') }} |
|
102 |
</a> |
|
103 |
<a class="menu-item text-headline-desktop" href="{{ route('logout') }}" onclick=" |
|
104 |
event.preventDefault(); |
|
105 |
document.getElementById('logout-form').submit();"> |
|
106 |
{{ __('logout') }} |
|
107 |
</a> |
|
108 |
|
|
109 |
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"> |
|
110 |
@csrf |
|
111 |
</form> |
|
112 |
</div> |
|
78 | 113 |
</nav> |
79 | 114 |
{{--<label for="logo" class="col-md-12 kaplicky" style="display: inline-block; text-align: center; padding: 1.25rem; padding-bottom: 0">{{ __('kaplicky') }}</label> |
80 | 115 |
{{--<label for="logo" class="col-md-4 kaplicky">{{ __('kaplicky') }}</label>--}} |
Také k dispozici: Unified diff
Issue #8011 @1.5h
[+] Přidáno horní menu pro desktop. Má oproti návrhu basic hover a bílá písmena na active.
[/] Zrušen outline pro logo-kaplicky a šipky při focus(kliknutí). Vypadalo to divně.