2017-06-08 15:14:36 +00:00
|
|
|
@height-tabs: 32px;
|
2017-04-20 08:45:33 +00:00
|
|
|
@height-controls: 67px;
|
|
|
|
|
2017-06-02 14:26:43 +00:00
|
|
|
//@tabs-bg-color: #fff;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
.toolbar {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:not(.folded) {
|
|
|
|
height: @height-tabs + @height-controls;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.folded {
|
2017-06-16 09:19:44 +00:00
|
|
|
height: @height-tabs;
|
|
|
|
transition: height .2s;
|
|
|
|
overflow: hidden;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
&.expanded {
|
|
|
|
height: @height-tabs + @height-controls;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
&:not(.expanded):not(.cover){
|
|
|
|
.ribtab.active {
|
|
|
|
> a {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-tabs {
|
2017-06-16 09:19:44 +00:00
|
|
|
height: @height-tabs;
|
2017-06-26 12:50:30 +00:00
|
|
|
font-size: 12px;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
.extra {
|
|
|
|
background-color: @tabs-bg-color;
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-08 15:14:36 +00:00
|
|
|
//&::after {
|
|
|
|
// content: '';
|
|
|
|
// position: absolute;
|
|
|
|
// width: 100%;
|
|
|
|
// border-top: 1px solid @gray-dark;
|
|
|
|
// top: @height-tabs - 1;
|
|
|
|
// left: 0;
|
|
|
|
// z-index: 1;
|
|
|
|
//}
|
2017-06-16 09:19:44 +00:00
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
.tabs {
|
2017-07-13 09:26:44 +00:00
|
|
|
//flex-grow: 1;
|
2017-06-08 15:14:36 +00:00
|
|
|
background-color: @tabs-bg-color;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
> ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
list-style: none;
|
|
|
|
font-size: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
height: 100%;
|
|
|
|
//background-color: #a6c995;
|
|
|
|
|
2017-06-08 15:14:36 +00:00
|
|
|
position: relative;
|
|
|
|
.tab-bg {
|
|
|
|
position: absolute;
|
2017-06-15 17:19:29 +00:00
|
|
|
height: 28px;
|
2017-06-08 15:14:36 +00:00
|
|
|
width: 100%;
|
2017-06-15 17:19:29 +00:00
|
|
|
top: 4px;
|
2017-06-14 09:58:04 +00:00
|
|
|
background-color: @tabs-bg-color;
|
2017-06-08 15:14:36 +00:00
|
|
|
}
|
|
|
|
|
2017-06-14 09:58:04 +00:00
|
|
|
&:hover {
|
2017-06-08 15:14:36 +00:00
|
|
|
.tab-bg {
|
2017-06-14 09:58:04 +00:00
|
|
|
background-color: rgba(255,255,255,0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
.tab-bg {
|
|
|
|
background-color: @gray-light;
|
2017-06-08 15:14:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-04-20 08:45:33 +00:00
|
|
|
> a {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: @height-tabs;
|
|
|
|
height: 100%;
|
2017-06-15 17:19:29 +00:00
|
|
|
padding: 1px 12px;
|
2017-04-20 08:45:33 +00:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: default;
|
2017-06-26 12:50:30 +00:00
|
|
|
font-size: 12px;
|
2017-04-20 08:45:33 +00:00
|
|
|
text-align: center;
|
2017-06-08 15:26:03 +00:00
|
|
|
color: #fff;
|
2017-06-08 15:14:36 +00:00
|
|
|
|
|
|
|
position: relative;
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
> a {
|
2017-06-14 09:58:04 +00:00
|
|
|
color: #444;
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.short) {
|
|
|
|
.scroll {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroll {
|
|
|
|
line-height: @height-tabs;
|
|
|
|
min-width: 20px;
|
|
|
|
text-align: center;
|
|
|
|
z-index: 1;
|
2017-04-28 10:44:03 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
&.left{
|
2017-04-28 10:44:03 +00:00
|
|
|
box-shadow: 5px 0 20px 5px rgba(255, 255, 255, .8)
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
&.right{
|
2017-04-28 10:44:03 +00:00
|
|
|
box-shadow: -5px 0 20px 5px rgba(255, 255, 255, .8)
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.box-controls {
|
2017-06-16 09:19:44 +00:00
|
|
|
height: @height-controls;
|
|
|
|
padding: 10px 0;
|
|
|
|
display: flex;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
//background-color: #F2CBBF;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
.panel {
|
|
|
|
display: table;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
//width: 100%;
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.box-panels {
|
2017-06-30 14:47:07 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
|
2017-04-20 08:45:33 +00:00
|
|
|
.panel:not(.active) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
background-color: @gray-light;
|
|
|
|
.box-inner-shadow(0 -1px 0 @gray-dark);
|
|
|
|
|
|
|
|
.group {
|
|
|
|
display: table-cell;
|
2017-06-15 13:18:40 +00:00
|
|
|
vertical-align: middle;
|
2017-04-20 08:45:33 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
padding-left: 12px;
|
2017-07-11 08:26:42 +00:00
|
|
|
font-size: 0;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.elset {
|
2017-06-16 09:19:44 +00:00
|
|
|
height: 20px;
|
|
|
|
font-size: 0;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
2017-06-16 09:19:44 +00:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 6px;
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.separator {
|
|
|
|
margin-left: 12px;
|
|
|
|
|
2017-04-21 13:36:06 +00:00
|
|
|
&.close {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2017-04-20 08:45:33 +00:00
|
|
|
&.long {
|
|
|
|
height: 46px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.short {
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-slot {
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
2017-06-30 14:53:29 +00:00
|
|
|
height: auto;
|
2017-04-20 08:45:33 +00:00
|
|
|
|
|
|
|
&.split {
|
2017-07-03 15:27:50 +00:00
|
|
|
width: 31px;
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.text {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.border {
|
|
|
|
border: 1px solid @gray;
|
|
|
|
.border-radius(1px);
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
2017-07-04 14:24:15 +00:00
|
|
|
|
|
|
|
&.adding {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar-fullview-panel {
|
|
|
|
position: absolute;
|
|
|
|
top: @height-tabs;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
2017-05-01 11:30:44 +00:00
|
|
|
z-index: 1041;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toolbar {
|
|
|
|
&.cover {
|
|
|
|
ul {
|
|
|
|
z-index: 1042;
|
|
|
|
}
|
|
|
|
}
|
2017-04-20 08:45:33 +00:00
|
|
|
}
|
2017-04-20 13:36:15 +00:00
|
|
|
|
|
|
|
.btn-toolbar {
|
|
|
|
&:active {
|
|
|
|
svg.icon {
|
|
|
|
fill: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg.icon {
|
|
|
|
background-image: none;
|
|
|
|
|
|
|
|
fill: @gray-deep;
|
|
|
|
}
|
|
|
|
}
|
2017-04-25 16:55:19 +00:00
|
|
|
|
|
|
|
.button-otherstates-icon2(btn-toolbar, @toolbar-icon-size);
|
2017-06-28 11:16:09 +00:00
|
|
|
|
|
|
|
@toolbar-big-icon-size: 26px;
|
|
|
|
.button-normal-icon(btn-inserttable, 0, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-insertimage, 1, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-insertchart, 2, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-text, 3, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-insertshape, 4, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-ic-doclang, 5, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-textart, 6, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-insertequation, 7, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-notes, 8, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-inserthyperlink, 9, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(~'x-huge .btn-menu-comments', 10, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-addslide, 11, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(~'x-huge .btn-ic-docspell', 12, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(~'x-huge .btn-ic-review', 13, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(review-save, 14, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(review-deny, 15, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(review-next, 16, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(review-prev, 17, @toolbar-big-icon-size);
|
2017-06-30 14:35:48 +00:00
|
|
|
.button-normal-icon(btn-dropcap, 18, @toolbar-big-icon-size);
|
2017-07-11 08:27:56 +00:00
|
|
|
.button-normal-icon(~'x-huge .btn-pagebreak', 19, @toolbar-big-icon-size);
|
|
|
|
|
|
|
|
.button-normal-icon(btn-pageorient, 21, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-pagemargins, 22, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-pagesize, 23, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-columns, 24, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-img-align, 25, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-img-group, 26, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-img-bkwd, 27, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-img-frwd, 28, @toolbar-big-icon-size);
|
|
|
|
.button-normal-icon(btn-img-wrap, 29, @toolbar-big-icon-size);
|