Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c0265e9e

Přidáno uživatelem Marek Zábran před téměř 5 roky(ů)

Issue #7953 @0.75h
Drobné revize v layoutu a SASSu.

Zobrazit rozdíly:

resources/sass/_custom.scss
59 59
            bottom: auto;
60 60
            transform: translateY(-50%);
61 61
            background-color:  rgba(239, 218, 179, 0.5);
62

  
63
            p {
64
                font-size: 8pt;
65
                color: $theme-color-five;
66
            }
67 62
        }
68 63
    }
69 64

  
......
138 133

  
139 134
        .col-form-label{
140 135
            text-align: left;
141
            padding-top: 0px;
142
            padding-bottom: 0px;
136
            padding-top: 0;
137
            padding-bottom: 0;
143 138
        }
144 139
        .form-control{
145
            padding: 0px;
140
            padding: 0;
146 141
            height: 17pt;
147
            border-radius: 0%;
142
            border-radius: 0;
148 143
        }
149 144
    }
150 145

  
......
152 147
    	background-color: $theme-color-five;
153 148
    	font-weight: $font-weight-one;
154 149
    	color: $theme-color-four;
155

  
156 150
	}
157 151

  
158 152
	.form-control {
......
188 182
        }
189 183
    }
190 184

  
191
    /*.form-control:focus {
192
        background-color: $theme-color-five;
193
        margin-top: -1px;
194
        border-top-color: $theme-color-five;
195
        border-left-color: $theme-color-five;
196
        border-right-color: $theme-color-five;
197
        border-bottom-color: 0.5pt $theme-color-one;
198
        color: $theme-color-one;
199
        box-shadow: none;
200
        font-size: 8pt;
201
    }*/
202

  
203 185
    .button-square {
204 186
        font-size: 8pt;
205 187
        background-color: $theme-color-five;
......
227 209
        display: inline-block;
228 210
        top: -0.35433rem;
229 211
        left: -0.2rem;
230

  
231 212
    }
232 213

  
233 214
    .pin-left {
234 215
        border-left: .5pt solid $theme-color-four;
235 216
        display: inline-block;
236
        //margin: 50px;
237
        //margin-bottom: 0pt;
238 217
        margin: 10rem 50px 0px -5rem;
239
        //min-height: 75vh;
240
        //height: auto;
241 218
        position: fixed;
242 219
        top: 0;
243 220
        bottom: 0;
244 221
        text-align: left;
245 222
        width: 100%;
246 223
        .text{
247
            //padding-top: 5rem;//0.35433rem;
248
            //margin-top: 5rem;
249
            //top: 5rem;
250 224
            margin-left: 0.5rem;
251 225
        }
252 226
        p{
253
            margin-top: 0pt;
254
            margin-bottom: 0pt;
227
            margin-top: 0;
228
            margin-bottom: 0;
255 229
        }
256 230
    }
257 231

  
......
259 233
        list-style-type: none;
260 234
    }
261 235

  
262
    /*footer {
263
        background: $theme-color-four;
264
        color: $theme-color-five;
265
        display: block;
266
        height: 50px;
267
        position: fixed;
268
        left: 0;
269
        bottom: 0;
270
        width: 100%;
271
    }*/
272

  
273 236
    .button-image {
274 237
        background-color: transparent;
275 238
        border-color: transparent;
......
364 327
        }
365 328
    }
366 329

  
367
    .content {
330
    /*.content {
368 331
        position: relative;
369 332

  
370 333
        //Circle style button
......
393 356
                color:$theme-color-five;
394 357
            }
395 358
        }
396
    }
359
    }*/
397 360

  
398 361
    //CATEGORIES - TILES
399 362
    .btn.btn-dark.cat-tile
......
436 399
        right: 40%;
437 400
        display: none;
438 401
    }
439

  
440 402
}
441 403

  
442 404
.arrow{
......
466 428

  
467 429
.sidenav {
468 430
    height: 100%;
469
    width: 0;
431
    //width: 0;
470 432
    width: 250px;
471 433
    position: fixed;
472 434
    z-index: 1;
......
490 452
}
491 453

  
492 454
@media screen and (max-height: 450px) {
493
    //.sidenav {padding-top: 15px;}
494 455
    .sidenav a {font-size: 18px;}
495 456
}
496 457

  
497
@media (max-width: 990px) {
498
    body {
499
        /*.pin-left {
500
            margin-left: -15rem;
501
            margin-top: 11rem;
502
        }*/
503
    }
504
}
458
@media (max-width: 990px) {}//Ponecháno pro případ, že se bude měnit login
505 459

  
506 460
@media (max-width: 770px) {
507 461
    body {
......
527 481

  
528 482
    }
529 483

  
530
    .btn-circle.rounded-circle.btn-sm
484
    /*.btn-circle.rounded-circle.btn-sm
531 485
    {
532 486
        width: 90px;
533 487
        height: 90px;
......
543 497
    {
544 498
        width: 180px;
545 499
        height: 180px;
546
    }
500
    }*/
547 501

  
548 502
    body{
549 503
        .carousel {
resources/views/inc/sidebar.blade.php
1
<div id="mySidenav" class="sidenav">
1
<div id="sidebar" class="sidenav">
2 2
    <a href="javascript:void(0)" class="arrow arrow-left" s onclick="closeNav()"></a>
3 3
    <li class="nav-item"> &#160;</li>
4 4
    <li class="nav-item"> &#160;</li>
......
15 15
        @endif
16 16
        @else
17 17
        <li class="nav-item dropdown">
18
           {{-- <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
19
                {{ Auth::user()->name }} <span class="caret"></span>
20
            </a>
21

  
22
            <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">--}}
23 18
            <a class="dropdown-item text-headline" href="{{ url('/') }}">home</a>
24 19

  
25 20
            <a class="dropdown-item text-headline" href="{{ url('/categories') }}">topics</a>
......
34 29

  
35 30
            <a class="dropdown-item text-headline" href="{{ url('/charts') }}">charts</a>
36 31

  
32

  
33

  
37 34
                <a class="dropdown-item text-headline" href="{{ route('logout') }}"
38 35
                   onclick="event.preventDefault();
39 36
                                                     document.getElementById('logout-form').submit();">
......
43 40
                <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
44 41
                    @csrf
45 42
                </form>
46
            {{-- </div>--}}
47 43
        </li>
48 44
        @endguest
49 45

  
50 46
</div>
51 47

  
52 48
<span class="arrow arrow-right" onclick="openNav()"></span>
49
{{--<label for="logo" class="col-md-4 kaplicky">{{ __('kaplicky') }}</label>--}}
50
{{--<a class="navbar-brand kaplicky" href="{{ url('/') }}">
51
    {{  __('kaplicky') }}
52
</a>--}}
53 53

  
54 54
<script>
55 55
    function openNav() {
56 56
        var x = window.matchMedia("(max-width: 540px)")
57 57
        if(x.matches){
58
            document.getElementById("mySidenav").style.width = "50vw";
58
            document.getElementById("sidebar").style.width = "50vw";
59 59
        }
60 60
        else{
61
            document.getElementById("mySidenav").style.width = "250px";
61
            document.getElementById("sidebar").style.width = "250px";
62 62
        }
63 63

  
64 64
    }
65 65

  
66 66
    function closeNav() {
67
        document.getElementById("mySidenav").style.width = "0";
67
        document.getElementById("sidebar").style.width = "0";
68 68
    }
69 69
</script>
resources/views/layouts/app.blade.php
13 13
    <script src="{{ asset('js/app.js') }}" defer></script>
14 14

  
15 15
    <!-- Fonts -->
16
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
17
    <link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@900&display=swap" rel="stylesheet">
18 16

  
19 17
    <!-- Styles -->
20 18
    <link href="{{ asset('css/app.css') }}" rel="stylesheet">
19
    
21 20
</head>
22 21
<body>
23
    <div id="app">
22

  
24 23
        @if(!Request::is('/'))
25 24
            @include('inc/sidebar')
26 25
        @endif
27 26

  
28
        <main class="py">
29
            <div class="custom-container">
30
                <div class="content-area">
27

  
31 28
                    @yield('content')
32
                </div>
33
            </div>
34
        </main>
35
    </div>
29

  
36 30
</body>
37 31
</html>
resources/views/pages/index.blade.php
39 39
        </div>
40 40
        <div class="carousel-caption d-md-block">
41 41
            <h2 class="text-center kaplicky">kaplicky</h2>
42
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer turpis purus, volutpat quis libero aliquet, pulvinar accumsan erat.
42
            <p class="text black">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer turpis purus, volutpat quis libero aliquet, pulvinar accumsan erat.
43 43
                Praesent porttitor eleifend hendrerit. Vestibulum dictum nunc et leo finibus condimentum.
44 44
                Proin id tempor enim, eu ornare nisi. Phasellus ornare metus ut mi dapibus, varius elementum leo malesuada.
45 45
            </p>

Také k dispozici: Unified diff