This commit is contained in:
muzi_ys 2019-01-15 22:58:57 +08:00
parent e0662f143a
commit 1485d38f37
2 changed files with 10 additions and 7 deletions

View File

@ -64,6 +64,8 @@ body {
#win10 .desktop { #win10 .desktop {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: fixed;
top: 0;
} }
#win10_task_bar { #win10_task_bar {
@ -322,7 +324,7 @@ body {
} }
#win10 #win10-shortcuts { #win10 #win10-shortcuts {
height: calc(100% - 30px); height: 100%;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
@ -910,10 +912,10 @@ body {
/*桌面舞台样式*/ /*桌面舞台样式*/
#win10-desktop-scene{ #win10-desktop-scene{
width: 100%; width: 100%;
height: calc(100% - 30px); height: 100%;
position: absolute; position: absolute;
left: 0; left: 0;
top: 30px; top: 0;
z-index: 0; z-index: 0;
background-color: transparent; background-color: transparent;
} }
@ -921,9 +923,10 @@ body {
#footer{ #footer{
height: 60px; height: 60px;
width: 100%; width: 100%;
position: absolute; position: fixed;
bottom: 0px; bottom: 0px;
text-align: center; text-align: center;
z-index: 100;
} }
#footer .dock{ #footer .dock{
@ -938,6 +941,7 @@ body {
box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.8); box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.8);
-webkit-border-top-left-radius: 5px 5px 0 0; -webkit-border-top-left-radius: 5px 5px 0 0;
-webkit-border-top-right-radius: 5px 5px 0 0; -webkit-border-top-right-radius: 5px 5px 0 0;
z-index: 100;
} }
@media \0screen\,screen\9 {/* 只支持IE6、7、8 */ @media \0screen\,screen\9 {/* 只支持IE6、7、8 */
#footer .dock{ #footer .dock{
@ -1012,7 +1016,7 @@ body {
height: calc(100% - 31px); height: calc(100% - 31px);
} }
#win10-menu.hidden{ #win10-menu.hidden{
top: -100% ; top: calc(-100% + 31px);
} }
#win10_command_center{ #win10_command_center{
width: 100%; width: 100%;

View File

@ -563,9 +563,8 @@ window.Win10 = {
top: 30, top: 30,
'z-index': 100, 'z-index': 100,
}); });
$("#win10 .desktop").append("<div id='win10-desktop-scene' style='width: 100%;height:100%;position: absolute;left: 0;top:0; z-index: 0;background-color: transparent;'></div>") $("#win10 .desktop").append("<div id='win10-desktop-scene' style='width: 100%;height: 100%;position: absolute;left: 0;top: 0; z-index: 0;background-color: transparent;'></div>")
} }
//属性绑定 //属性绑定
Win10._bind_open_windows(); Win10._bind_open_windows();
}, },