Compare commits
	
		
			2 Commits
		
	
	
		
			57afcbdffb
			...
			3f69ff8f0d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3f69ff8f0d | |||
| 5f4b72f9be | 
@@ -13,14 +13,14 @@
 | 
				
			|||||||
	&--error{
 | 
						&--error{
 | 
				
			||||||
		.LP-Message__Icon{
 | 
							.LP-Message__Icon{
 | 
				
			||||||
			background-color: invert(#fd6861);
 | 
								background-color: invert(#fd6861);
 | 
				
			||||||
			background-image: url('/icons/error.png');
 | 
								background-image: url('icons/error.png');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	&--warning{
 | 
						&--warning{
 | 
				
			||||||
		.LP-Message__Icon{
 | 
							.LP-Message__Icon{
 | 
				
			||||||
			background-color:invert(#ffb818);
 | 
								background-color:invert(#ffb818);
 | 
				
			||||||
			background-image: url('/icons/error.png');
 | 
								background-image: url('icons/error.png');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -28,21 +28,21 @@
 | 
				
			|||||||
	&--info{
 | 
						&--info{
 | 
				
			||||||
		.LP-Message__Icon{
 | 
							.LP-Message__Icon{
 | 
				
			||||||
			background-color: invert(lightblue);
 | 
								background-color: invert(lightblue);
 | 
				
			||||||
			background-image: url('/icons/information.svg');
 | 
								background-image: url('icons/information.svg');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	&--success{
 | 
						&--success{
 | 
				
			||||||
		.LP-Message__Icon{
 | 
							.LP-Message__Icon{
 | 
				
			||||||
			background-color: invert(#96c800);
 | 
								background-color: invert(#96c800);
 | 
				
			||||||
			background-image: url('/icons/success.svg');
 | 
								background-image: url('icons/success.svg');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	&--debug{
 | 
						&--debug{
 | 
				
			||||||
		.LP-Message__Icon{
 | 
							.LP-Message__Icon{
 | 
				
			||||||
			background-color: invert(#fb95d0);
 | 
								background-color: invert(#fb95d0);
 | 
				
			||||||
			background-image: url('/icons/debug.png');
 | 
								background-image: url('icons/debug.png');
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,6 +4,18 @@
 | 
				
			|||||||
        <meta charset="UTF-8">
 | 
					        <meta charset="UTF-8">
 | 
				
			||||||
        <link rel="stylesheet" href="{{ path '/main.css' }}">
 | 
					        <link rel="stylesheet" href="{{ path '/main.css' }}">
 | 
				
			||||||
        <title>Preview</title>
 | 
					        <title>Preview</title>
 | 
				
			||||||
 | 
							<script>
 | 
				
			||||||
 | 
								document.addEventListener("DOMContentLoaded", function(){
 | 
				
			||||||
 | 
										Array.from(document.getElementsByClassName('LP-Main__Sidebar')).forEach(function(element){
 | 
				
			||||||
 | 
												element.classList.add('LP-Main__Sidebar--hidden')
 | 
				
			||||||
 | 
										})
 | 
				
			||||||
 | 
										setTimeout(function(){
 | 
				
			||||||
 | 
											Array.from(document.getElementsByClassName('LP-Main__Sidebar')).forEach(function(element){
 | 
				
			||||||
 | 
												element.classList.remove('LP-Main__Sidebar--hidden')
 | 
				
			||||||
 | 
										})
 | 
				
			||||||
 | 
									}, 500)
 | 
				
			||||||
 | 
								})
 | 
				
			||||||
 | 
							</script>
 | 
				
			||||||
    </head>
 | 
					    </head>
 | 
				
			||||||
    <body>
 | 
					    <body>
 | 
				
			||||||
        {{{ yield }}}
 | 
					        {{{ yield }}}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -95,20 +95,20 @@ body{
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media(max-width: $-viewport-toggle-sidebar){
 | 
					@media(max-width: $-viewport-toggle-sidebar){
 | 
				
			||||||
	.LP-Wrapper__Site{
 | 
					 | 
				
			||||||
		grid-template-columns: 0 1fr;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	@keyframes slide_out_siedebar{
 | 
						@keyframes slide_out_siedebar{
 | 
				
			||||||
		from{left: -1 * $-sidebar-width;}
 | 
							from{left: -1 * $-sidebar-width;}
 | 
				
			||||||
		to{left: 0;}
 | 
							to{left: 0;}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
						
 | 
				
			||||||
	@keyframes slide_in_siedebar{
 | 
						@keyframes slide_in_siedebar{
 | 
				
			||||||
		from{left: 0;}
 | 
							from{left: 0;}
 | 
				
			||||||
		to{left: -1 * $-sidebar-width;}
 | 
							to{left: -1 * $-sidebar-width;}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						.LP-Wrapper__Site{
 | 
				
			||||||
 | 
							grid-template-columns: 0 1fr;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	.LP-Main__Sidebar{
 | 
						.LP-Main__Sidebar{
 | 
				
			||||||
		grid-area:unset;
 | 
							grid-area:unset;
 | 
				
			||||||
		width: $-sidebar-width;
 | 
							width: $-sidebar-width;
 | 
				
			||||||
@@ -118,6 +118,10 @@ body{
 | 
				
			|||||||
		height: 100vh;
 | 
							height: 100vh;
 | 
				
			||||||
		top: 60px;
 | 
							top: 60px;
 | 
				
			||||||
		border-right: 1px solid $-light-brown;
 | 
							border-right: 1px solid $-light-brown;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							&--hidden{
 | 
				
			||||||
 | 
								visibility: hidden;
 | 
				
			||||||
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	#toggle_sidebar:checked ~ .LP-Main__Sidebar{
 | 
						#toggle_sidebar:checked ~ .LP-Main__Sidebar{
 | 
				
			||||||
@@ -139,7 +143,7 @@ body{
 | 
				
			|||||||
		z-index: 20;
 | 
							z-index: 20;
 | 
				
			||||||
		height: 60px;
 | 
							height: 60px;
 | 
				
			||||||
		width: 60px;	
 | 
							width: 60px;	
 | 
				
			||||||
		background-image: url('/icons/hamburger_menu.svg');
 | 
							background-image: url('icons/hamburger_menu.svg');
 | 
				
			||||||
		background-repeat: no-repeat;
 | 
							background-repeat: no-repeat;
 | 
				
			||||||
		background-clip: content-box;
 | 
							background-clip: content-box;
 | 
				
			||||||
		background-position: center;
 | 
							background-position: center;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,8 +53,6 @@ body {
 | 
				
			|||||||
      margin: 0; } }
 | 
					      margin: 0; } }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media (max-width: 650px) {
 | 
					@media (max-width: 650px) {
 | 
				
			||||||
  .LP-Wrapper__Site {
 | 
					 | 
				
			||||||
    grid-template-columns: 0 1fr; }
 | 
					 | 
				
			||||||
  @keyframes slide_out_siedebar {
 | 
					  @keyframes slide_out_siedebar {
 | 
				
			||||||
    from {
 | 
					    from {
 | 
				
			||||||
      left: -250px; }
 | 
					      left: -250px; }
 | 
				
			||||||
@@ -65,6 +63,8 @@ body {
 | 
				
			|||||||
      left: 0; }
 | 
					      left: 0; }
 | 
				
			||||||
    to {
 | 
					    to {
 | 
				
			||||||
      left: -250px; } }
 | 
					      left: -250px; } }
 | 
				
			||||||
 | 
					  .LP-Wrapper__Site {
 | 
				
			||||||
 | 
					    grid-template-columns: 0 1fr; }
 | 
				
			||||||
  .LP-Main__Sidebar {
 | 
					  .LP-Main__Sidebar {
 | 
				
			||||||
    grid-area: unset;
 | 
					    grid-area: unset;
 | 
				
			||||||
    width: 250px;
 | 
					    width: 250px;
 | 
				
			||||||
@@ -74,6 +74,8 @@ body {
 | 
				
			|||||||
    height: 100vh;
 | 
					    height: 100vh;
 | 
				
			||||||
    top: 60px;
 | 
					    top: 60px;
 | 
				
			||||||
    border-right: 1px solid #C09F80; }
 | 
					    border-right: 1px solid #C09F80; }
 | 
				
			||||||
 | 
					    .LP-Main__Sidebar--hidden {
 | 
				
			||||||
 | 
					      visibility: hidden; }
 | 
				
			||||||
  #toggle_sidebar:checked ~ .LP-Main__Sidebar {
 | 
					  #toggle_sidebar:checked ~ .LP-Main__Sidebar {
 | 
				
			||||||
    animation-name: slide_out_siedebar;
 | 
					    animation-name: slide_out_siedebar;
 | 
				
			||||||
    animation-duration: .3s;
 | 
					    animation-duration: .3s;
 | 
				
			||||||
@@ -87,7 +89,7 @@ body {
 | 
				
			|||||||
    z-index: 20;
 | 
					    z-index: 20;
 | 
				
			||||||
    height: 60px;
 | 
					    height: 60px;
 | 
				
			||||||
    width: 60px;
 | 
					    width: 60px;
 | 
				
			||||||
    background-image: url("/icons/hamburger_menu.svg");
 | 
					    background-image: url("icons/hamburger_menu.svg");
 | 
				
			||||||
    background-repeat: no-repeat;
 | 
					    background-repeat: no-repeat;
 | 
				
			||||||
    background-clip: content-box;
 | 
					    background-clip: content-box;
 | 
				
			||||||
    background-position: center;
 | 
					    background-position: center;
 | 
				
			||||||
@@ -271,19 +273,19 @@ body {
 | 
				
			|||||||
  overflow: hidden; }
 | 
					  overflow: hidden; }
 | 
				
			||||||
  .LP-Message--error .LP-Message__Icon {
 | 
					  .LP-Message--error .LP-Message__Icon {
 | 
				
			||||||
    background-color: #02979e;
 | 
					    background-color: #02979e;
 | 
				
			||||||
    background-image: url("/icons/error.png"); }
 | 
					    background-image: url("icons/error.png"); }
 | 
				
			||||||
  .LP-Message--warning .LP-Message__Icon {
 | 
					  .LP-Message--warning .LP-Message__Icon {
 | 
				
			||||||
    background-color: #0047e7;
 | 
					    background-color: #0047e7;
 | 
				
			||||||
    background-image: url("/icons/error.png"); }
 | 
					    background-image: url("icons/error.png"); }
 | 
				
			||||||
  .LP-Message--info .LP-Message__Icon {
 | 
					  .LP-Message--info .LP-Message__Icon {
 | 
				
			||||||
    background-color: #522719;
 | 
					    background-color: #522719;
 | 
				
			||||||
    background-image: url("/icons/information.svg"); }
 | 
					    background-image: url("icons/information.svg"); }
 | 
				
			||||||
  .LP-Message--success .LP-Message__Icon {
 | 
					  .LP-Message--success .LP-Message__Icon {
 | 
				
			||||||
    background-color: #6937ff;
 | 
					    background-color: #6937ff;
 | 
				
			||||||
    background-image: url("/icons/success.svg"); }
 | 
					    background-image: url("icons/success.svg"); }
 | 
				
			||||||
  .LP-Message--debug .LP-Message__Icon {
 | 
					  .LP-Message--debug .LP-Message__Icon {
 | 
				
			||||||
    background-color: #046a2f;
 | 
					    background-color: #046a2f;
 | 
				
			||||||
    background-image: url("/icons/debug.png"); }
 | 
					    background-image: url("icons/debug.png"); }
 | 
				
			||||||
  .LP-Message .LP-Message__Icon {
 | 
					  .LP-Message .LP-Message__Icon {
 | 
				
			||||||
    background-size: 40px 40px;
 | 
					    background-size: 40px 40px;
 | 
				
			||||||
    background-repeat: no-repeat;
 | 
					    background-repeat: no-repeat;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user