2015-01-19 20:19:40 +03:00
|
|
|
.header {
|
2015-06-04 23:44:58 +03:00
|
|
|
min-height: 40px;
|
2015-01-19 20:19:40 +03:00
|
|
|
-webkit-app-region: drag;
|
|
|
|
-webkit-user-select: none;
|
2015-05-19 21:13:47 +03:00
|
|
|
|
2015-05-21 06:09:14 +03:00
|
|
|
&.bordered {
|
2015-06-04 23:44:58 +03:00
|
|
|
border-bottom: 1px solid @color-divider;
|
2015-05-21 06:09:14 +03:00
|
|
|
}
|
2015-05-19 21:13:47 +03:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.no-drag {
|
2015-01-19 20:19:40 +03:00
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
}
|
2015-06-04 23:44:58 +03:00
|
|
|
|
|
|
|
.left-header {
|
|
|
|
display: flex;
|
2015-06-05 01:08:44 +03:00
|
|
|
min-width: @sidebar-width + 1px;
|
2015-06-04 23:44:58 +03:00
|
|
|
}
|
|
|
|
|
2015-05-19 21:13:47 +03:00
|
|
|
.updates {
|
|
|
|
flex: 1 auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-right: 20px;
|
|
|
|
}
|
|
|
|
|
2015-06-05 20:06:49 +03:00
|
|
|
.logo {
|
|
|
|
position: absolute;
|
|
|
|
right: 1rem;
|
|
|
|
top: 0.8rem;
|
|
|
|
}
|
|
|
|
|
2015-06-04 23:44:58 +03:00
|
|
|
.login-wrapper {
|
|
|
|
flex: 1 auto;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
2015-05-19 21:13:47 +03:00
|
|
|
.login {
|
|
|
|
flex: 0 auto;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2015-06-04 23:44:58 +03:00
|
|
|
border-left: 1px solid @color-divider;
|
|
|
|
border-right: 1px solid @color-divider;
|
2015-06-06 03:44:49 +03:00
|
|
|
padding: 0 1rem 0 1rem;
|
2015-06-05 20:06:49 +03:00
|
|
|
.box-button();
|
2015-05-19 21:13:47 +03:00
|
|
|
|
|
|
|
&:active {
|
|
|
|
img, span {
|
2015-06-05 20:06:49 +03:00
|
|
|
-webkit-filter: brightness(0.9);
|
2015-05-19 21:13:47 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin: 0 5px;
|
|
|
|
}
|
2015-02-06 09:07:26 +03:00
|
|
|
}
|
2015-05-19 21:13:47 +03:00
|
|
|
|
2015-01-19 20:19:40 +03:00
|
|
|
.buttons {
|
2015-05-19 21:13:47 +03:00
|
|
|
display: flex;
|
2015-06-04 23:44:58 +03:00
|
|
|
margin: 0 1.5rem;
|
2015-05-19 21:13:47 +03:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2015-01-19 20:19:40 +03:00
|
|
|
&:hover {
|
|
|
|
.button-minimize.enabled {
|
|
|
|
.at2x('minimize.png', 10px, 10px);
|
|
|
|
}
|
|
|
|
.button-close.enabled {
|
|
|
|
.at2x('close.png', 10px, 10px);
|
|
|
|
}
|
|
|
|
.button-fullscreen.enabled {
|
|
|
|
.at2x('fullscreen.png', 10px, 10px);
|
|
|
|
}
|
|
|
|
.button-fullscreenclose.enabled {
|
|
|
|
.at2x('fullscreenclose.png', 10px, 10px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button {
|
2015-05-19 21:13:47 +03:00
|
|
|
flex: 0 auto;
|
2015-02-20 02:34:47 +03:00
|
|
|
.traffic-light();
|
|
|
|
&.button-close {
|
|
|
|
background-color: @traffic-light-red;
|
|
|
|
border-color: @traffic-light-red-border;
|
2015-01-30 23:11:41 +03:00
|
|
|
}
|
2015-02-20 02:34:47 +03:00
|
|
|
&.button-minimize {
|
|
|
|
background-color: @traffic-light-yellow;
|
|
|
|
border-color: @traffic-light-yellow-border;
|
2015-01-30 23:11:41 +03:00
|
|
|
}
|
2015-02-20 02:34:47 +03:00
|
|
|
&.button-fullscreen {
|
|
|
|
background-color: @traffic-light-green;
|
|
|
|
border-color: @traffic-light-green-border;
|
2015-01-30 23:11:41 +03:00
|
|
|
}
|
2015-02-27 20:46:12 +03:00
|
|
|
&.button-fullscreenclose {
|
|
|
|
background-color: @traffic-light-green;
|
|
|
|
border-color: @traffic-light-green-border;
|
|
|
|
}
|
2015-01-19 20:19:40 +03:00
|
|
|
&.disabled {
|
2015-02-20 02:34:47 +03:00
|
|
|
background-color: @traffic-light-gray;
|
|
|
|
border-color: @traffic-light-gray-border;
|
2015-01-19 20:19:40 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|