web-apps/apps/documenteditor/main/resources/less/statusbar.less
Maxim Kadushkin 5821be5388 [DE] debug
2017-04-20 13:32:55 +03:00

289 lines
8.5 KiB
Plaintext

.statusbar {
display: table;
padding: 2px;
height: 25px;
background-color: @gray-light;
.box-inner-shadow(0 1px 0 @gray-dark);
.status-label {
font-weight: bold;
color: @gray-deep;
white-space: nowrap;
position: relative;
top: 1px;
}
#label-pages, #label-zoom {
cursor: pointer;
}
#label-pages, #label-action {
margin-top: 2px;
}
#users-icon,#status-users-count {
display: inline-block;
cursor: pointer;
}
#users-icon {
background-position: -14px -197px;
width: 20px;
height: 20px;
vertical-align: middle;
}
#label-zoom {
text-align: center;
}
#btn-doc-lang {
margin-right: 9px;
}
#btn-doc-spell {
margin-right: 5px;
}
#btn-zoom-topage {
margin-right: 9px;
margin-left: 6px;
}
#btn-zoom-towidth {
margin-right: 9px;
}
.status-group {
display: table-cell;
white-space: nowrap;
padding-top: 3px;
vertical-align: top;
&.dropup {
position: static;
}
}
.separator {
margin: 0px 3px 0 4px;
&.short {
height: 25px;
margin-top: -2px;
}
}
.cnt-lang {
display: inline-block;
cursor: pointer;
color: #000;
margin-left: 6px;
.dropdown-toggle > .icon.lang-flag {
position: relative;
top: 3px;
margin-left: 3px;
margin-right: 2px;
display: inline-block;
}
.caret.up {
background-position: @arrow-up-small-offset-x @arrow-up-small-offset-y;
border: none;
width: 7px;
height: 7px;
}
label {
cursor: pointer;
}
.dropdown-menu {
> li .icon {
display: inline-block;
vertical-align: text-bottom;
margin: 1px 5px 0 2px;
}
}
&.disabled {
cursor: default;
label, .icon.lang-flag {
cursor: default;
opacity: 0.4;
}
}
}
.cnt-zoom {
display: inline-block;
.dropdown-menu {
min-width: 80px;
margin-left: -4px;
li {
text-align: center;
> a {
padding-left: 15px;
padding-right: 15px;
}
}
}
}
.dropdown-menu {
margin-bottom: 6px;
li {
text-align: left;
}
}
#status-goto-box {
padding: 10px;
margin-left: 40px;
margin-bottom: 2px;
min-width: 130px;
> label {
display: inline-block;
margin-right: 10px;
}
> input[type=text] {
width: 50px;
display: inline-block;
}
}
#status-users-menu {
padding: 14px 0 14px 14px;
margin-left: 137px;
margin-bottom: 2px;
width: 285px;
font-size: 12px;
> label {
white-space: normal;
}
#status-users-list {
margin-top: 15px;
ul {
margin: 0;
padding: 0;
overflow: hidden;
max-height: 190px;
position: relative;
li {
list-style: none;
padding: 2px 0;
margin-right: 15px;
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;
}
}
}
}
.combo-langs {
.dropdown-menu {
li .lang.item-icon {
margin-top: 1px;
}
}
.input-icon {
position: absolute;
left: 5px;
top: 5px;
}
input {
padding-left: 25px !important;
}
}
.lang-flag {
&:not(.dasble) {
background-position: -16px -108px;
}
&.ca, &.ca-ES {background-position: 0 0;}
&.cs, &.cs-CZ {background-position: -16px 0;}
&.da, &.da-DK {background-position: -32px 0;}
&.de, &.de-DE {background-position: 0 -12px;}
&.el, &.el-GR {background-position: -16px -12px;}
&.en, &.en-US {background-position: -32px -12px;}
&.fr, &.fr-FR {background-position: 0 -24px;}
&.hu, &.hu-HU {background-position: -16px -24px;}
&.it, &.it-IT {background-position: -32px -24px;}
&.ko, &.ko-KR {background-position: 0 -36px;}
&.nl, &.nl-NL {background-position: -16px -36px;}
&.nb, &.nb-NO {background-position: -32px -36px;}
&.pl, &.pl-PL {background-position: 0 -48px;}
&.pt, &.pt-BR {background-position: -16px -48px;}
&.ro, &.ro-RO {background-position: -32px -48px;}
&.ru, &.ru-RU {background-position: 0 -60px;}
&.sv, &.sv-SE {background-position: -32px -60px;}
&.tr, &.tr-TR {background-position: 0 -72px;}
&.uk, &.uk-UA {background-position: -16px -72px;}
&.lv, &.lv-LV {background-position: -32px -72px;}
&.lt, &.lt-LT {background-position: 0 -84px;}
&.vi, &.vi-VN {background-position: -16px -84px;}
&.de-CH {background-position: -32px -84px;}
&.nn, &.nn-NO {background-position: 0 -96px;}
&.pt-PT {background-position: -16px -96px;}
&.de-AT {background-position: -32px -96px;}
&.es, &.es-ES {background-position: 0 -108px;}
&.en-GB {background-position: -32px -108px;}
&.en-AU {background-position: 0 -120px;}
&.az-Latn-AZ {background-position: -16px -120px;}
&.bg, &.bg-BG {background-position: 0 -132px;}
&.ca-ES-valencia {background-position: -16px -132px;}
&.en-CA {background-position: -32px -132px;}
&.en-ZA {background-position: 0 -144px;}
&.eu, &.eu-ES {background-position: -16px -144px;}
&.gl, &.gl-ES {background-position: -32px -144px;}
&.hr, &.hr-HR {background-position: 0 -156px;}
&.lb, &.lb-LU {background-position: -16px -156px;}
&.mn, &.mn-MN {background-position: -32px -156px;}
&.sl, &.sl-SI {background-position: 0 -168px;}
&.sr, &.sr-Cyrl-RS, &.sr-Latn-RS {background-position: -16px -168px;}
&.sk, &.sk-SK {background-position: -32px -168px;}
}
.button-normal-icon(btn-ic-zoomtowidth, 55, @toolbar-icon-size);
.button-normal-icon(btn-ic-zoomtopage, 56, @toolbar-icon-size);
.button-normal-icon(btn-ic-review, 61, @toolbar-icon-size);
.button-normal-icon(btn-ic-doclang, 67, @toolbar-icon-size);
.button-normal-icon(btn-ic-docspell, 69, @toolbar-icon-size);
.button-normal-icon(btn-ic-changes, 68, @toolbar-icon-size);