Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 83496d8e

Přidáno uživatelem Marek Zábran před asi 4 roky(ů)

Issue #7952 @1.5h
Oprava fontů - funkční přechod na Nunito (skoro stejné jako Avenir, jen kulatější).
Dokončení Loginu a Registrace - errory už všechny odpovídají.
Nesedí přesně velikost špendlíku - nedaří se mi nastavit jeho velikost na zbytek výšky stránky - ale snad to nevadí.

Zobrazit rozdíly:

resources/sass/_custom.scss
5 5

  
6 6
body {
7 7
    background-color: $theme-color-five;
8
    font-family: $font-family-one;
8 9

  
9 10
    .head-title h1 {
10 11
        color: $theme-color-one;
11
        font-family: $font-family-style-one;
12
        font-weight: $font-weight-one;
12 13
        font-size: 60pt;
13
        font-weight: bold;
14
        //font-weight: bold;
14 15
        letter-spacing: 3px;
15 16
    }
16 17

  
......
61 62
            transform: translateY(-50%);
62 63
            background-color:  rgba(239, 218, 179, 0.5);
63 64

  
64
            /*h2 {
65
                font-family: $font-family-style-three;
66
                font-size: 11pt;
67
                letter-spacing: 3pt;
68
                color: $white;
69

  
70
            }*/
71

  
72 65
            p {
73 66
                font-size: 8pt;
74 67
                color: $theme-color-five;
......
79 72
    /////////text types
80 73
    //většina běžných textů
81 74
    .text {
82
        font-family: $font-family-style-one;
75
        font-weight: $font-weight-one;
83 76
        font-size: 8pt;
84 77
        line-height: 9pt;
85 78
    }
86 79

  
87 80
    //text inputu a název artefaktů
88 81
    .text2{
89
        font-family: $font-family-style-two;
82
        font-weight: $font-weight-two;
90 83
        font-size: 8pt;
91 84
    }
92 85

  
......
94 87
    .kaplicky{
95 88
        color: $theme-color-one;
96 89
        font-size: 11pt;
97
        font-family: $font-family-style-three;
90
        font-weight: $font-weight-three;
98 91
        letter-spacing: 3pt;
99 92
    }
100 93

  
101 94
    //autor artefaktu
102 95
    .text-author{
103
        font-family: $font-family-style-one;
96
        font-weight: $font-weight-one;
104 97
        font-size: 7pt;
105 98
        color: $theme-color-four;
106 99
    }
107 100

  
108 101
    //počet lajků
109 102
    .text-number{
110
        font-family: $font-family-style-two;
103
        font-weight: $font-weight-two;
111 104
        font-size: 5pt;
112 105
        color: $theme-color-four;
113 106
    }
114 107

  
115 108
    //notes u metadat, about v about, text levého menu
116 109
    .text-headline{
117
        font-family: $font-family-style-two;
110
        font-weight: $font-weight-two;
118 111
        font-size: 12pt;
119 112
        color: $theme-color-four;
120 113
    }
121 114

  
122 115
    //název metadata, text pravého menu
123 116
    .text-page{
124
        font-family: $font-family-style-two;
117
        font-weight: $font-weight-two;
125 118
        font-size: 7pt;
126 119
    }
127 120

  
......
158 151

  
159 152
    .card-body {
160 153
    	background-color: $theme-color-five;
161
    	font-family: $font-family-style-one;
154
    	font-weight: $font-weight-one;
162 155
    	color: $theme-color-four;
163 156

  
164 157
	}
......
166 159
	.form-control {
167 160
    	background-color: $theme-color-five;
168 161
    	margin-top: -1px;
169
    	//border-bottom: 1px;
170 162
    	border-top-color: $theme-color-five;
171 163
    	border-left-color: $theme-color-five;
172 164
    	border-right-color: $theme-color-five;
173 165
    	border-bottom-color: 0.5pt $theme-color-one;
174 166
    	color: $theme-color-one;
175 167
        box-shadow: none;
176
        //transition: none;
177 168
        font-size: 8pt;
178 169
	}
179 170

  
180 171
    .form-control:focus {
181 172
        background-color: $theme-color-five;
182 173
        margin-top: -1px;
183
        //border-bottom: 1px;
184 174
        border-top-color: $theme-color-five;
185 175
        border-left-color: $theme-color-five;
186 176
        border-right-color: $theme-color-five;
187 177
        border-bottom-color: 0.5pt $theme-color-one;
188 178
        color: $theme-color-one;
189 179
        box-shadow: none;
190
        //transition: none;
191 180
        font-size: 8pt;
192 181
    }
193 182

  
......
199 188
        border-radius: 0;
200 189
        width: 6.5rem;
201 190
        height: 2rem;
202
        font-family: $font-family-style-one;
191
        font-weight: $font-weight-one;
203 192

  
204 193
        &:active, &:focus, &:visited {
205 194
            outline: none;
......
225 214
        border-left: .5pt solid $theme-color-four;
226 215
        display: inline-block;
227 216
        margin: 50px;
228
        height: 200px;
217
        margin-bottom: 0pt;
218
        min-height: 75vh;
219
        height: auto;
229 220
        text-align: left;
230 221
        width: 100%;
222
        .text{
223
            //padding-top: 5rem;//0.35433rem;
224
            //margin-top: 5rem;
225
            //top: 5rem;
226
            margin-left: 0.5rem;
227
        }
228
        p{
229
            margin-top: 0pt;
230
            margin-bottom: 0pt;
231
        }
231 232
    }
232 233

  
233 234
    .button-image {
......
251 252

  
252 253
        h5 {
253 254
            color: $theme-color-two;
254
            font-family: $font-family-style-two;
255
            font-weight: $font-weight-two;
255 256
            line-height: 20pt;
256 257
            font-size: 21pt;
257 258
        }
......
259 260
        h6 {
260 261
            color: $theme-color-two;
261 262
            font-size: 14pt;
262
            font-weight: lighter;
263
            font-family: $font-family-style-one;
263
            //font-weight: lighter;
264
            font-weight: $font-weight-one;
264 265
        }
265 266

  
266 267
        img {
......
369 370
            color:$theme-color-four;
370 371
            outline: none !important;
371 372
            box-shadow: none !important;
372
            font-family: $font-family-style-two;
373
            font-weight: $font-weight-two;
373 374

  
374 375
            &:active
375 376
            {
resources/sass/_variables.scss
10 10
//$font-family-avenir-roman: Avenir Roman;
11 11
//$font-family-avenir-medium: Avenir Medium;
12 12
//$font-family-avenir-black: Avenir Black;
13
$font-family-nunito-roman: Nunito Roman;
14
$font-family-nunito-medium: Nunito Medium;
15
$font-family-nunito-black: Nunito Black;
13
$font-family-nunito: Nunito;
14
$weight-roman:  400;
15
$weight-medium: 600;
16
$weight-black:  900;
16 17

  
17 18
// Theme fonts
18
$font-family-style-one: $font-family-nunito-roman;
19
$font-family-style-two: $font-family-nunito-medium;
20
$font-family-style-three: $font-family-nunito-black;
19
$font-family-one: $font-family-nunito;
20
$font-weight-one: $weight-roman;
21
$font-weight-two: $weight-medium;
22
$font-weight-three: $weight-black;
21 23

  
22 24
// Colors
23 25
$blue: #3490dc;
resources/views/auth/login.blade.php
14 14
            <div class="card">
15 15
                {{--<div class="card-header">{{ __('Login') }}</div>--}}
16 16

  
17
                <div class="card-body">
17
                <div class="card-body" style="padding-bottom: 0px">
18 18
                    <form method="POST" action="{{ route('login') }}">
19 19
                        @csrf
20 20

  
......
24 24
                            <label for="email" class="col-md-4 col-form-label text-md-right">{{ __('e-mail') }}</label>
25 25

  
26 26
                            <div class="col-md-6">
27
                                <input id="email" type="email" class="form-control text2 @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
28

  
29

  
27
                                <input id="email" type="email" class="form-control text2 @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" {{--required autocomplete="email" autofocus--}}>
30 28
                            </div>
31 29
                        </div>
32 30

  
......
34 32
                            <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('password') }}</label>
35 33

  
36 34
                            <div class="col-md-6">
37
                                <input id="password" type="password" class="form-control text2 @error('password') is-invalid @enderror" name="password" required autocomplete="current-password">
38

  
39

  
35
                                <input id="password" type="password" class="form-control text2 @error('password') is-invalid @enderror" name="password" {{--required autocomplete="current-password"--}}>
40 36
                            </div>
41 37
                        </div>
42 38

  
......
56 52
                                <button type="submit" class="btn button-square ">
57 53
                                    {{ __('join') }}
58 54
                                </button>
59

  
60 55
                                {{-- @if (Route::has('password.request'))
61 56
                                    <a class="btn btn-link" href="{{ route('password.request') }}">
62 57
                                        {{ __('Forgot Your Password?') }}
......
64 59
                                @endif --}}
65 60
                            </div>
66 61

  
62
                        @if($errors->any())
67 63
                            <div class="col-md-6 offset-md-2">
68
                             @error('email')
69
                                <span class="text white pin-left" role="alert">
70
                                             <text>{{ $message }}</text>
71
                                </span>
72
                             @enderror
73

  
74
                             @error('password')
75 64
                                <span class="text white pin-left" role="alert">
76
                                            <text>{{ $message }}</text>
65
                                    <p> </p>
66
                                    @error('email')
67
                                             <p class="text">{{ $message }}</p>
68
                                     @enderror
69
                                    @error('password')
70
                                             <p class="text">{{ $message }}</p>
71
                                     @enderror
77 72
                                </span>
78
                             @enderror
79 73
                            </div>
74
                        @endif
80 75
                    </form>
81 76
                </div>
82 77
            </div>
resources/views/auth/register.blade.php
14 14
            <div class="card">
15 15
                {{--<div class="card-header">{{ __('Register') }}</div>--}}
16 16

  
17
                <div class="card-body">
17
                <div class="card-body" style="padding-bottom: 0px">
18 18
                    <form method="POST" action="{{ route('register') }}">
19 19
                        @csrf
20 20

  
......
23 23
                            <label for="name" class="col-md-4 col-form-label text-md-right">{{ __('name') }}</label>
24 24

  
25 25
                            <div class="col-md-6">
26
                                <input id="name" type="text" class="form-control text2 @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" required autocomplete="name" autofocus>
26
                                <input id="name" type="text" class="form-control text2 @error('name') is-invalid @enderror" name="name" value="{{ old('name') }}" {{--required autocomplete="name" autofocus--}}>
27 27

  
28
                                @error('name')
29
                                    <span class="invalid-feedback" role="alert">
30
                                        <strong>{{ $message }}</strong>
31
                                    </span>
32
                                @enderror
33 28
                            </div>
34 29
                        </div>
35 30

  
......
37 32
                            <label for="email" class="col-md-4 col-form-label text-md-right">{{ __('e-mail') }}</label>
38 33

  
39 34
                            <div class="col-md-6">
40
                                <input id="email" type="email" class="form-control text2 @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" required autocomplete="email">
35
                                <input id="email" type="email" class="form-control text2 @error('email') is-invalid @enderror" name="email" value="{{ old('email') }}" {{--required autocomplete="email"--}}>
41 36

  
42
                                @error('email')
43
                                    <span class="invalid-feedback" role="alert">
44
                                        <strong>{{ $message }}</strong>
45
                                    </span>
46
                                @enderror
47 37
                            </div>
48 38
                        </div>
49 39

  
......
51 41
                            <label for="password" class="col-md-4 col-form-label text-md-right">{{ __('password') }}</label>
52 42

  
53 43
                            <div class="col-md-6">
54
                                <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" required autocomplete="new-password">
44
                                <input id="password" type="password" class="form-control @error('password') is-invalid @enderror" name="password" {{--required autocomplete="new-password"--}}>
55 45

  
56
                                @error('password')
57
                                    <span class="invalid-feedback" role="alert">
58
                                        <strong>{{ $message }}</strong>
59
                                    </span>
60
                                @enderror
61 46
                            </div>
62 47
                        </div>
63 48

  
......
65 50
                            <label for="password-confirm" class="col-md-4 col-form-label text-md-right">{{ __('confirm password') }}</label>
66 51

  
67 52
                            <div class="col-md-6">
68
                                <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
53
                                <input id="password-confirm" type="password" class="form-control" name="password_confirmation" {{--required autocomplete="new-password"--}}>
69 54
                            </div>
70 55
                        </div>
71 56

  
72

  
73 57
                            <div class="col-md-12">
74 58
                                <button type="submit" class="btn button-square">
75 59
                                    {{ __('Register') }}
76 60
                                </button>
77 61
                            </div>
78 62

  
63
                        @if($errors->any())
64
                            <div class="col-md-6 offset-md-2">
65
                                <span class="text white pin-left" role="alert">
66
                                    <p> </p>
67
                                    @error('email')
68
                                             <p class="text">{{ $message }}</p>
69
                                     @enderror
70
                                    @error('password')
71
                                             <p class="text">{{ $message }}</p>
72
                                     @enderror
73
                                    @error('name')
74
                                             <p class="text">{{ $message }}</p>
75
                                     @enderror
76
                                </span>
77
                            </div>
78
                        @endif
79

  
79 80
                    </form>
80 81
                </div>
81 82
            </div>

Také k dispozici: Unified diff