More work

This commit is contained in:
Emupedia
2018-09-16 08:02:31 +03:00
parent 8621db88bf
commit 30fbb9edd8
5 changed files with 77 additions and 7 deletions

View File

@@ -3,34 +3,101 @@
.theme-win311 .emuos-window {
border-radius: 0;
border: 1px solid #000;
padding: 0;
background-color: #c0c0c0;
outline: 1px solid #000;
outline-offset: -4px;
padding: 3px;
}
/*noinspection CssOptimizeSimilarProperties*/
.theme-win311 .emuos-window .emuos-window-icon {
/*position: absolute;*/
/*display: block;*/
top: 0;
left: 0;
width: 19px;
height: 18px;
border: none;
border-right: 1px solid #000;
border-radius: 0;
padding: 0;
margin: 0;
background-color: #c0c0c0;
background-image: url(../../../images/themes/win311/window/menu.png);
background-repeat: no-repeat;
background-position: center;
}
/*noinspection CssOptimizeSimilarProperties*/
.theme-win311 .emuos-window .emuos-window-icon:active,
.theme-win311 .emuos-window .emuos-window-icon:focus {
background-color: #3f3f3f;
background-image: url(../../../images/themes/win311/window/menu-pressed.png);
background-repeat: no-repeat;
background-position: center;
}
/*noinspection CssOptimizeSimilarProperties*/
/*.theme-win311 .emuos-window .emuos-window-icon {
display: block;
width: 5px;
height: 1px;
background-color: #fff;
margin-left: 6px;
margin-right: 6px;
margin-top: 7px;
margin-bottom: 8px;
border: 1px solid #000;
box-shadow: 1px 1px #808080;
}
.theme-win311 .emuos-window .emuos-window-icon:active,
.theme-win311 .emuos-window .emuos-window-icon:focus {
background-color: #000;
border: 1px solid #fff;
box-shadow: 1px 1px #c0c0c0;
}*/
.theme-win311 .emuos-window.emuos-window-top {
/*background-color: #000080;*/
}
/*noinspection CssOptimizeSimilarProperties*/
.theme-win311 .emuos-window .ui-dialog-titlebar {
background-color: #c0c0c0;
border-radius: 0;
font-family: Arial, sans-serif;
font-size: 13px;
font-weight: bold;
line-height: 18px;
text-align: center;
border: none;
border-bottom: 1px solid #000;
padding: 0;
padding-left: 19px;
height: 18px;
}
.theme-win311 .emuos-window .ui-dialog-titlebar .ui-dialog-title {
line-height: 21px;
margin: -2px 0 0;
}
.theme-win311 .emuos-window .ui-dialog-titlebar.ui-state-active {
background-color: #000080;
border: 1px solid #000080;
border: none;
border-bottom: 1px solid #000;
}
.theme-win311 .emuos-window .ui-dialog-content {
.theme-win311 .emuos-window .emuos-window-content {
padding: 0;
font-family: Arial, sans-serif;
font-size: 13px;
line-height: 16px;
height: calc(100% - 19px) !important;
background-color: #fff;
}
.theme-win311 .emuos-window .ui-dialog-content p {
.theme-win311 .emuos-window .emuos-window-content p {
margin: 0;
padding: 0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

View File

@@ -12,6 +12,9 @@
});
$('.window').window({
icons: {
main: ''
},
group: 'demo'
});

View File

@@ -3466,12 +3466,12 @@
this.uiDialogTitlebar.addClass(this.classes.titlebarIcon);
if (!$icon.length) {
$icon = $("<span></span>")
$icon = $("<button class=\"ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only\" type=\"button\" role=\"button\" title=\"Menu\"></button>")
.prependTo(this.uiDialogTitlebar);
}
$icon
.removeAttr("class")
//.removeAttr("class")
.addClass(
this.classes.uiIcon
+ " " + this.classes.icon