فهرست منبع

Updated top bar padding

Toby Chui 2 سال پیش
والد
کامیت
0c7dec3af2
5فایلهای تغییر یافته به همراه14 افزوده شده و 15 حذف شده
  1. 1 1
      file_system.go
  2. 1 1
      web/Music/embedded.html
  3. 1 1
      web/Music/init.agi
  4. 1 1
      web/Video/init.agi
  5. 10 11
      web/script/ao.css

+ 1 - 1
file_system.go

@@ -123,7 +123,7 @@ func FileSystemInit() {
 		Version:     "1.0",
 		StartDir:    "SystemAO/file_system/file_explorer.html",
 		SupportFW:   true,
-		InitFWSize:  []int{1075, 600},
+		InitFWSize:  []int{1075, 610},
 		LaunchFWDir: "SystemAO/file_system/file_explorer.html",
 		SupportEmb:  false,
 	})

+ 1 - 1
web/Music/embedded.html

@@ -409,7 +409,7 @@
 		function showRelatedFileList(){
 			if (ao_module_virtualDesktop){
 				if (listShown){
-					ao_module_setWindowSize(360,260);
+					ao_module_setWindowSize(360,254);
 					listShown = false;
 				}else{
 					ao_module_setWindowSize(360,540);

+ 1 - 1
web/Music/init.agi

@@ -15,7 +15,7 @@ var moduleLaunchInfo = {
 	SupportEmb: true,
 	LaunchEmb: "Music/embedded.html",
 	InitFWSize: [475, 720],
-	InitEmbSize: [360, 260],
+	InitEmbSize: [360, 254],
 	SupportedExt: [".mp3",".flac",".wav",".ogg",".aac",".webm",".mp4"]
 }
 

+ 1 - 1
web/Video/init.agi

@@ -15,7 +15,7 @@ var moduleLaunchInfo = {
 	SupportEmb: true,
 	LaunchEmb: "Video/embedded.html",
 	InitFWSize: [585, 840],
-	InitEmbSize: [700, 430],
+	InitEmbSize: [700, 424],
 	SupportedExt: [".webm",".mp4",".ogg"]
 }
 

+ 10 - 11
web/script/ao.css

@@ -44,8 +44,8 @@ body.darkTheme{
     color:white;
     display: inline-block;
     position:absolute;
-    left:44.5px;
-    top:8px;
+    left:40.5px;
+    top:5px;
     max-width: calc(100% - 140px);
     white-space: nowrap;
     overflow: hidden;
@@ -53,9 +53,9 @@ body.darkTheme{
 }
 
 .floatWindow .controls .moduleicon{
-    height:20px;
-    width:20px;
-    margin-top:8px;
+    height:18px;
+    width:18px;
+    margin-top:6px;
     margin-left:12.5px;
     display: inline-block;
 }
@@ -65,7 +65,7 @@ body.darkTheme{
     top:0px;
     left:0px;
     width: 100%;
-    height:36px;
+    height:30px;
     padding-bottom:2px;
     user-select: none;
     border-radius: 6px 6px 0px 0px;
@@ -73,9 +73,9 @@ body.darkTheme{
 
 .floatWindow .iframewrapper{
     position:absolute;
-    top: 36px;
+    top: 30px;
     width:100%;
-    height: calc(100% - 36px);
+    height: calc(100% - 30px);
     border-left: 3px solid #37393e;
     border-right: 3px solid #37393e;
     border-bottom: 3px solid #37393e;
@@ -116,7 +116,6 @@ body.darkTheme{
 
 
 @supports (backdrop-filter: none) {
-
     .floatWindow{
         box-shadow: rgb(61, 61, 61) 1px 1px 4px;
     }
@@ -188,12 +187,12 @@ body.darkTheme{
 
 .floatWindow .fwcontrol .buttons{
     vertical-align: top;
-    padding-top:8px;
+    padding-top:5px;
     padding-bottom:2px;
     padding-left:10px;
     padding-right:10px;
     display: inline-block;
-    height:36px !important;
+    height:30px !important;
     
     color:white;
     cursor: pointer;