diff --git a/beta/emuos/css/themes/win311/window.css b/beta/emuos/css/themes/win311/window.css
index 1487794a..811aa228 100644
--- a/beta/emuos/css/themes/win311/window.css
+++ b/beta/emuos/css/themes/win311/window.css
@@ -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;
}
diff --git a/beta/emuos/images/themes/win311/window/menu-pressed.png b/beta/emuos/images/themes/win311/window/menu-pressed.png
new file mode 100644
index 00000000..07b4d942
Binary files /dev/null and b/beta/emuos/images/themes/win311/window/menu-pressed.png differ
diff --git a/beta/emuos/images/themes/win311/window/menu.png b/beta/emuos/images/themes/win311/window/menu.png
new file mode 100644
index 00000000..35d29fac
Binary files /dev/null and b/beta/emuos/images/themes/win311/window/menu.png differ
diff --git a/beta/emuos/js/main.js b/beta/emuos/js/main.js
index 601bf809..4f430e86 100644
--- a/beta/emuos/js/main.js
+++ b/beta/emuos/js/main.js
@@ -12,6 +12,9 @@
});
$('.window').window({
+ icons: {
+ main: ''
+ },
group: 'demo'
});
diff --git a/beta/emuos/js/window.js b/beta/emuos/js/window.js
index 9436f7b0..7b5c3e2b 100644
--- a/beta/emuos/js/window.js
+++ b/beta/emuos/js/window.js
@@ -3466,12 +3466,12 @@
this.uiDialogTitlebar.addClass(this.classes.titlebarIcon);
if (!$icon.length) {
- $icon = $("")
+ $icon = $("")
.prependTo(this.uiDialogTitlebar);
}
$icon
- .removeAttr("class")
+ //.removeAttr("class")
.addClass(
this.classes.uiIcon
+ " " + this.classes.icon