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-10-29 00:28:43 +00:00
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 0px;
|
2019-10-24 06:37:33 +00:00
|
|
|
// align-items: center;
|
|
|
|
// justify-content: center;
|
|
|
|
// flex-direction: row-reverse;
|
|
|
|
cursor: pointer;
|
|
|
|
background: white;
|
|
|
|
height: 30px;
|
2019-10-29 00:06:19 +00:00
|
|
|
border-bottom: 1px solid #d5dadb;
|
|
|
|
|
|
|
|
.app-layout-native-title-bar-logo {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-layout-native-title-bar-title {
|
|
|
|
padding-left: 8px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2019-10-24 06:37:33 +00:00
|
|
|
|
|
|
|
.app-layout-native-title-bar-spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.app-layout-native-title-bar-actions {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
|
|
|
border: none;
|
|
|
|
height: 100%;
|
|
|
|
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;
|
|
|
|
|
|
|
|
.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-10-29 10:06:25 +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 {
|
|
|
|
color: black;
|
|
|
|
font-weight: lighter;
|
|
|
|
}
|
|
|
|
|
|
|
|
// &.app-layout-native-title-bar-minimize .mat-icon {
|
|
|
|
// transform: translateY(-43%);
|
|
|
|
// }
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
&.app-layout-native-title-bar-close {
|
|
|
|
background: #e81123;
|
|
|
|
color: darken(white, 20%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.app-layout-native-title-bar-minimize {
|
2019-10-29 10:06:25 +00:00
|
|
|
background: darken(#000000, 10%);
|
2019-10-24 06:37:33 +00:00
|
|
|
color: darken(white, 20%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.app-layout-native-title-bar-maximize {
|
2019-10-29 10:06:25 +00:00
|
|
|
background: darken(#000000, 10%);
|
2019-10-24 06:37:33 +00:00
|
|
|
color: darken(white, 20%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|