bhikkhu-kosalla-china 4 лет назад
Родитель
Сommit
55568a0c94
4 измененных файлов с 13 добавлено и 6 удалено
  1. 6 3
      app/article/style.css
  2. 4 2
      app/dict/css/style.css
  3. 1 1
      app/dict/index.php
  4. 2 0
      app/pcdl/css/style.css

+ 6 - 3
app/article/style.css

@@ -43,6 +43,7 @@
 	/*max-width: 1280px;*/
 	/*margin-left: 270px;*/
 	margin-right: auto;
+	transition: all 0.5s ease;
 }
 
 #left_pannal_inner {
@@ -52,8 +53,8 @@
     padding-top: 90px;
     height: 100%;
 	/*width:300px;*/
-	overflow-x: hidden;
-	overflow-x: scroll;
+	/*overflow-x: hidden;*/
+	overflow: scroll;
 }
 
 #toc_content{
@@ -62,7 +63,8 @@
 	max-width:calc(20vw - 24px);
 	background-color: var(--bg-color);
     border-bottom: 1px solid var(--border-line-color);
-	overflow-y: scroll;
+	overflow-y: unset;
+	transition: all 0.5s ease;
 }
 
 .fun_frame {
@@ -70,6 +72,7 @@
 	margin-right: 10px;
 	margin-bottom: 10px;
 	width: calc(30% - 1em)
+	transition: all 0.5s ease;
 }
 .fun_frame .title {
 	padding: 6px;

+ 4 - 2
app/dict/css/style.css

@@ -11,7 +11,7 @@ body {
 	padding: 0.6em 1em 0.1em 1em;
 	background-color: var(--tool-bg-color1);
 	border-bottom: none;
-	position: fixed;
+	/*position: fixed;*/
     width: 100%;
 }
 
@@ -207,9 +207,11 @@ input[type="submit"] {
 }
 
 #pre_search_result {
-	background-color: var(--bg-color);
+	background-color: var(--tool-bg-color1);
 	z-index: 50;
 	display: none;
+	max-width: 1024px;
+	position: fixed;
 }
 
 #dt_title {

+ 1 - 1
app/dict/index.php

@@ -125,7 +125,7 @@ guide.grammar_tag:hover {
 		</button>
 	</div>
 
-	<div style="margin-top:calc(39px + 0.6em);">
+	<div style="position: fixed;max-height: calc(100vh - 89px - 3.6em);width:100vw;overflow: scroll;">
 		<div id="main_view" class='section_inner' >
 			<div id='dict_list_shell' style="display:none" onclick='setNaviVisibility()'>
 				<div id='dict_list' class='dict_list_off'></div>

+ 2 - 0
app/pcdl/css/style.css

@@ -3089,6 +3089,8 @@ th {
 	color: #b5b5b5;
 	position: absolute;
 	width: 100%;
+	height: 5em;
+	bottom: -2em;
 }
 
 #search_div {