web-apps/apps/common/main/resources/less/header.less

186 lines
3.7 KiB
Plaintext
Raw Normal View History

2017-03-01 13:33:12 +00:00
//#header-logo {
// background-color: @app-header-bg-color-dark;
// min-width: 15px + 90px + 5px;
// .background-ximage('@{common-image-path}/header/header-logo.png', '@{common-image-path}/header/header-logo@2x.png', 86px);
// background-repeat: no-repeat;
// background-position: 15px center;
// cursor: pointer;
//}
2016-03-11 00:48:53 +00:00
2017-03-01 13:33:12 +00:00
//#header-documentcaption {
// width: 100%;
// max-width: 100px;
// overflow: hidden;
// text-overflow: ellipsis;
// background-color: @app-header-bg-color;
// padding: 0 7px + @app-header-height / 3;
// cursor: default;
//
// div {
// display: inline-block;
// padding: 2px 8px;
//
// &.renamed:hover {
// background-color: @app-header-bg-color-dark;
// }
// }
//}
2016-03-11 00:48:53 +00:00
2017-03-01 13:33:12 +00:00
.toolbar {
.extra {
.elset:not(:first-child) {
margin-top: 0;
2016-09-19 14:04:56 +00:00
}
}
}
2017-03-01 13:33:12 +00:00
.extra {
> section {
line-height: 20px;
height: 100%;
display: flex;
align-items: center;
2016-03-11 00:48:53 +00:00
}
2017-03-01 13:33:12 +00:00
&.left {
2017-04-25 16:52:51 +00:00
//min-width: 126px;
}
&.right {
min-width: 150px;
padding-right: 12px;
2017-03-01 13:33:12 +00:00
}
#rib-doc-name {
2017-03-01 13:33:12 +00:00
flex-grow: 1;
2017-04-28 10:44:03 +00:00
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
min-width: 50px;
}
2016-03-11 00:48:53 +00:00
#rib-save-status {
2017-04-28 10:44:03 +00:00
white-space: nowrap;
&.locked {
text-decoration: none;
2017-04-06 09:42:10 +00:00
color: @gray-darker;
cursor: default;
}
&:after {
display: block;
content: attr(data-width);
height: 1px;
overflow: hidden;
visibility: hidden;
}
}
2017-03-01 13:33:12 +00:00
#header-logo {
2017-04-25 16:52:51 +00:00
max-width: 200px;
2017-03-01 13:33:12 +00:00
height: 100%;
2016-03-11 00:48:53 +00:00
cursor: pointer;
2017-04-25 16:52:51 +00:00
padding: 10px 16px 10px 12px;
2016-03-11 00:48:53 +00:00
2017-04-25 16:52:51 +00:00
i {
width: 100px;
height: 20px;
display: block;
.background-ximage('@{common-image-path}/header/header-logo.png', '@{common-image-path}/header/header-logo@2x.png', 100px);
2017-04-22 14:51:12 +00:00
}
2016-03-11 00:48:53 +00:00
}
.status-label {
padding: 0 10px;
}
}
#tlb-box-users {
display: inline-block;
margin-right: 10px;
}
#tlb-change-rights {
margin-top: 15px;
}
#slot-btn-back {
float: right;
}
.btn-users {
display: inline-flex;
cursor: pointer;
padding: 0 7px;
.icon {
display: inline-block;
background-position: -14px -197px;
width: 20px;
height: 20px;
}
.caption {
cursor: pointer;
font-size: 14px;
}
}
//.icusers {background-position: -14px -197px;}
//button.active > .icusers,
//button:active > .icusers {background-position: -14px -197px !important;}
.cousers-menu {
position: fixed;
top: @height-tabs - 8px;
left: 100%;
margin-left: -285px;
padding: 14px;
width: 285px;
font-size: 12px;
> label {
white-space: normal;
}
.cousers-list {
margin-top: 15px;
ul {
margin: 0;
padding: 0;
overflow: hidden;
max-height: 190px;
position: relative;
li {
list-style: none;
padding: 2px 0;
overflow: hidden;
&.offline, &.viewmode {
display: none;
}
}
}
.color {
width: 12px;
height: 12px;
display: inline-block;
vertical-align: middle;
border: 1px solid @gray-dark;
}
.name {
display: block;
padding-left: 16px;
margin-top: -3px;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
}
}
}