فهرست منبع

Lower scrim opacity

Yuin Chien 6 سال پیش
والد
کامیت
16c0f73878
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      docs/index.html
  2. 1 1
      examples/index.html
  3. 1 1
      files/main.css

+ 1 - 1
docs/index.html

@@ -149,7 +149,7 @@
 					if ( event.button !== 0 || event.ctrlKey || event.altKey || event.metaKey ) return;
 					if ( event.button !== 0 || event.ctrlKey || event.altKey || event.metaKey ) return;
 
 
 					window.location.hash = pageURL;
 					window.location.hash = pageURL;
-					panel.classList.add( 'collapsed' );
+					panel.classList.remove( 'open' );
 
 
 
 
 					content.querySelectorAll('a').forEach((item) => {
 					content.querySelectorAll('a').forEach((item) => {

+ 1 - 1
examples/index.html

@@ -173,7 +173,7 @@
 			window.location.hash = file;
 			window.location.hash = file;
 			viewer.focus();
 			viewer.focus();
 
 
-			panel.classList.add( 'collapsed' );
+			panel.classList.remove( 'open' );
 
 
 			selected = file;
 			selected = file;
 
 

+ 1 - 1
files/main.css

@@ -248,7 +248,7 @@ iframe {
 	}
 	}
 	#panel.open #panelScrim {
 	#panel.open #panelScrim {
 		pointer-events: auto;
 		pointer-events: auto;
-		background-color: rgba(0,0,0,0.6);
+		background-color: rgba(0,0,0,0.4);
 	}
 	}
 
 
 	#contentWrapper {
 	#contentWrapper {