2019-10-24 06:37:33 +00:00
|
|
|
:host {
|
|
|
|
.app-layout-native-title-bar {
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-app-region: drag;
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
display: flex;
|
2019-11-07 23:58:22 +00:00
|
|
|
padding: 0 10px;
|
2019-10-24 06:37:33 +00:00
|
|
|
cursor: pointer;
|
2019-11-22 05:48:02 +00:00
|
|
|
height: 50px;
|
|
|
|
color: #ffffff;
|
2019-11-07 23:58:22 +00:00
|
|
|
//background: rgba(37, 27, 30, 0.9);
|
|
|
|
//border-bottom: 1px solid #d5dadb;
|
2019-10-29 00:06:19 +00:00
|
|
|
|
|
|
|
.app-layout-native-title-bar-logo {
|
2019-11-25 07:48:06 +00:00
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
2019-10-29 00:06:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.app-layout-native-title-bar-title {
|
|
|
|
padding-left: 8px;
|
2019-12-23 08:48:28 +00:00
|
|
|
font-size: 13px;
|
2019-10-29 00:06:19 +00:00
|
|
|
}
|
2019-10-24 06:37:33 +00:00
|
|
|
|
|
|
|
.app-layout-native-title-bar-spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
2019-11-22 05:48:02 +00:00
|
|
|
.app-layout-native-title-bar-link {
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.stroke-bar {
|
|
|
|
width: 1px;
|
|
|
|
height: 20px;
|
|
|
|
background-color: rgba(256, 256, 256, 0.3);
|
|
|
|
margin: 0 10px 0 20px;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
.button {
|
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
height: 28px;
|
|
|
|
min-width: 28px;
|
|
|
|
max-width: 28px;
|
|
|
|
padding: 5px;
|
|
|
|
line-height: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
background: transparent;
|
|
|
|
transition: background 0.2s linear, color 0.2s linear;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 10px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-left: 10px;
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
|
|
|
&.app-layout-native-title-bar-logout,
|
|
|
|
&.app-layout-native-title-bar-setting {
|
|
|
|
background-color: #efefef;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-10-24 06:37:33 +00:00
|
|
|
.app-layout-native-title-bar-actions {
|
2019-11-22 05:48:02 +00:00
|
|
|
align-items: center;
|
2019-10-24 06:37:33 +00:00
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
2019-11-07 23:58:22 +00:00
|
|
|
height: 30px;
|
2019-10-24 06:37:33 +00:00
|
|
|
min-width: 30px;
|
|
|
|
max-width: 30px;
|
|
|
|
padding: 5px;
|
|
|
|
line-height: 10px;
|
|
|
|
border-radius: 0;
|
|
|
|
background: transparent;
|
|
|
|
transition: background 0.2s linear, color 0.2s linear;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 10px;
|
2019-11-07 23:58:22 +00:00
|
|
|
vertical-align: middle;
|
2019-11-22 05:48:02 +00:00
|
|
|
margin-left: 6px;
|
2019-11-07 23:58:22 +00:00
|
|
|
transform: translateY(-2px);
|
2019-10-24 06:37:33 +00:00
|
|
|
.mat-icon {
|
2019-10-29 10:06:25 +00:00
|
|
|
//transform: translateY(-2px);
|
2019-10-24 06:37:33 +00:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2019-11-22 05:48:02 +00:00
|
|
|
min-height: 16px;
|
|
|
|
min-width: 16px;
|
2019-10-24 06:37:33 +00:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.app-layout-native-title-bar-close,
|
|
|
|
&.app-layout-native-title-bar-maximize,
|
|
|
|
&.app-layout-native-title-bar-minimize {
|
2019-11-07 23:58:22 +00:00
|
|
|
color: darken(white, 20%);
|
2019-10-24 06:37:33 +00:00
|
|
|
font-weight: lighter;
|
|
|
|
}
|
|
|
|
|
|
|
|
// &.app-layout-native-title-bar-minimize .mat-icon {
|
|
|
|
// transform: translateY(-43%);
|
|
|
|
// }
|
|
|
|
|
|
|
|
&:hover {
|
2019-11-22 05:48:02 +00:00
|
|
|
border-radius: 4px;
|
2019-10-24 06:37:33 +00:00
|
|
|
&.app-layout-native-title-bar-close {
|
2019-11-07 23:58:22 +00:00
|
|
|
background: darken(#000000, 10%);
|
|
|
|
color: darken(white, 0);
|
2019-10-24 06:37:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.app-layout-native-title-bar-minimize {
|
2019-10-29 10:06:25 +00:00
|
|
|
background: darken(#000000, 10%);
|
2019-11-22 05:48:02 +00:00
|
|
|
color: darken(white, 0);
|
2019-10-24 06:37:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.app-layout-native-title-bar-maximize {
|
2019-10-29 10:06:25 +00:00
|
|
|
background: darken(#000000, 10%);
|
2019-11-07 23:58:22 +00:00
|
|
|
color: darken(white, 0);
|
2019-10-24 06:37:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|