8c7287def2
Release/v5.0.0
246 lines
4.6 KiB
Plaintext
246 lines
4.6 KiB
Plaintext
//#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;
|
|
//}
|
|
|
|
//#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;
|
|
// }
|
|
// }
|
|
//}
|
|
|
|
.toolbar {
|
|
.extra {
|
|
svg.icon {
|
|
fill: #fff;
|
|
}
|
|
|
|
.btn-slot {
|
|
width: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
.extra {
|
|
> section {
|
|
line-height: 20px;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
&.left {
|
|
//min-width: 126px;
|
|
}
|
|
|
|
&.right {
|
|
flex-grow: 1;
|
|
min-width: 100px;
|
|
|
|
.desktop {
|
|
padding: 10px 0;
|
|
text-align: right;
|
|
}
|
|
}
|
|
|
|
.status-label {
|
|
padding: 0 10px;
|
|
}
|
|
|
|
label {
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-users,
|
|
.btn-header {
|
|
&:hover {
|
|
&:not(.disabled) {
|
|
background-color: rgba(255,255,255,0.2);
|
|
}
|
|
}
|
|
|
|
&:active {
|
|
&:not(.disabled) {
|
|
background-color: rgba(0,0,0,0.2);
|
|
}
|
|
}
|
|
}
|
|
|
|
#box-doc-name {
|
|
flex-grow: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
#rib-doc-name {
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
min-width: 50px;
|
|
text-align: center;
|
|
|
|
color: #fff;
|
|
background-color: transparent;
|
|
border: 0 none;
|
|
cursor: default;
|
|
|
|
&:hover:not(:disabled) {
|
|
border: 1px solid @gray-dark;
|
|
background-color: rgba(255,255,255,0.2);
|
|
}
|
|
|
|
&:focus:not(:active) {
|
|
border: 1px solid @gray-dark;
|
|
cursor: text;
|
|
background-color: white;
|
|
color: @gray-deep;
|
|
}
|
|
width: 100%;
|
|
}
|
|
|
|
#rib-save-status {
|
|
white-space: nowrap;
|
|
&.locked {
|
|
text-decoration: none;
|
|
color: @gray-darker;
|
|
cursor: default;
|
|
}
|
|
|
|
&:after {
|
|
display: block;
|
|
content: attr(data-width);
|
|
height: 1px;
|
|
overflow: hidden;
|
|
visibility: hidden;
|
|
}
|
|
}
|
|
|
|
#header-logo {
|
|
max-width: 200px;
|
|
height: 100%;
|
|
//cursor: pointer;
|
|
padding: 7px 24px 7px 12px;
|
|
|
|
i {
|
|
width: 86px;
|
|
height: 20px;
|
|
display: block;
|
|
.background-ximage('@{common-image-path}/header/header-logo.png', '@{common-image-path}/header/header-logo@2x.png', 86px);
|
|
}
|
|
}
|
|
}
|
|
|
|
#tlb-box-users {
|
|
height: @height-tabs;
|
|
}
|
|
|
|
#tlb-change-rights {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.btn-users {
|
|
display: inline-flex;
|
|
cursor: pointer;
|
|
padding: 6px 12px;
|
|
|
|
.icon {
|
|
display: inline-block;
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.caption {
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
.cousers-menu {
|
|
position: fixed;
|
|
top: @height-tabs - 8px;
|
|
left: 100%;
|
|
margin-left: -285px;
|
|
|
|
padding: 14px;
|
|
width: 285px;
|
|
font-size: 12px;
|
|
|
|
> label {
|
|
white-space: normal;
|
|
}
|
|
|
|
label {
|
|
color: @gray-deep;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.hedset {
|
|
font-size: 0;
|
|
}
|
|
|
|
.btn-header {
|
|
border: 0 none;
|
|
height: @height-tabs;
|
|
background-color: transparent;
|
|
padding: 6px 12px;
|
|
|
|
.icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
} |