3.0 source code
This commit is contained in:
236
OfficeWeb/apps/documenteditor/main/resources/less/rightmenu.less
Normal file
236
OfficeWeb/apps/documenteditor/main/resources/less/rightmenu.less
Normal file
@@ -0,0 +1,236 @@
|
||||
|
||||
.tool-menu.right {
|
||||
.tool-menu-btns {
|
||||
position: absolute;
|
||||
border-left: 1px solid @gray-dark;
|
||||
background-color: @gray-light;
|
||||
right: 0;
|
||||
|
||||
/*menuText*/
|
||||
.toolbar-btn-icon(btn-menu-text, 37, @toolbar-icon-size);
|
||||
|
||||
/*menuImage*/
|
||||
.toolbar-btn-icon(btn-menu-image, 17, @toolbar-icon-size);
|
||||
|
||||
/*menuTable*/
|
||||
.toolbar-btn-icon(btn-menu-table, 18, @toolbar-icon-size);
|
||||
|
||||
/*menuChart*/
|
||||
.toolbar-btn-icon(btn-menu-chart, 45, @toolbar-icon-size);
|
||||
|
||||
/*menuHeader*/
|
||||
.toolbar-btn-icon(btn-menu-header, 39, @toolbar-icon-size);
|
||||
|
||||
/*menuShape*/
|
||||
.toolbar-btn-icon(btn-menu-shape, 43, @toolbar-icon-size);
|
||||
}
|
||||
}
|
||||
|
||||
.right-panel {
|
||||
width: 220px;
|
||||
height: 100%;
|
||||
display: none;
|
||||
padding: 0 10px 0 15px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
border-left: 1px solid @gray-dark;
|
||||
}
|
||||
|
||||
.settings-panel {
|
||||
display: none;
|
||||
overflow: visible;
|
||||
margin-top: 7px;
|
||||
|
||||
& > table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.padding-small {
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.padding-large {
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.finish-cell {
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
label {
|
||||
.font-size-normal();
|
||||
font-weight: normal;
|
||||
|
||||
&.input-label{
|
||||
margin-bottom: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&.header {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.separator { width: 100%;}
|
||||
|
||||
.settings-hidden {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.icon-right-panel {
|
||||
.background-ximage('@{app-image-path}/right-panels/RightPanelBigBtns.png', '@{app-image-path}/right-panels/RightPanelBigBtns@2x.png', 148px);
|
||||
}
|
||||
|
||||
.options-btn-icon(btn-colontitul-tl, 3, @huge-icon-size);
|
||||
.options-btn-icon(btn-colontitul-tc, 4, @huge-icon-size);
|
||||
.options-btn-icon(btn-colontitul-tr, 5, @huge-icon-size);
|
||||
.options-btn-icon(btn-colontitul-bl, 6, @huge-icon-size);
|
||||
.options-btn-icon(btn-colontitul-bc, 7, @huge-icon-size);
|
||||
.options-btn-icon(btn-colontitul-br, 8, @huge-icon-size);
|
||||
|
||||
.options-btn-icon(btn-wrap-none, 9, @huge-icon-size);
|
||||
.options-btn-icon(btn-wrap-parallel, 10, @huge-icon-size);
|
||||
|
||||
.options-btn-icon(btn-table-align-left, 0, @huge-icon-size);
|
||||
.options-btn-icon(btn-table-align-center, 1, @huge-icon-size);
|
||||
.options-btn-icon(btn-table-align-right, 2, @huge-icon-size);
|
||||
|
||||
.options-btn-icon(btn-frame-inline, 9, @huge-icon-size);
|
||||
.options-btn-icon(btn-frame-flow, 10, @huge-icon-size);
|
||||
.options-btn-icon(btn-frame-none, 11, @huge-icon-size);
|
||||
|
||||
.item-wrap {
|
||||
.background-ximage('@{app-image-path}/right-panels/right_panel_wrap_icons.png', '@{app-image-path}/right-panels/right_panel_wrap_icons@2x.png', 350px);
|
||||
width:50px;
|
||||
height:50px;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.wrap-inline {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
.wrap-square {
|
||||
background-position: -50px 0;
|
||||
}
|
||||
|
||||
.wrap-tight {
|
||||
background-position: -100px 0;
|
||||
}
|
||||
|
||||
.wrap-through {
|
||||
background-position: -150px 0;
|
||||
}
|
||||
|
||||
.wrap-topAndBottom {
|
||||
background-position: -200px 0;
|
||||
}
|
||||
|
||||
.wrap-behind {
|
||||
background-position: -300px 0;
|
||||
}
|
||||
|
||||
.wrap-inFront {
|
||||
background-position: -250px 0;
|
||||
}
|
||||
|
||||
.btn-toolbar .btn-icon.btn-borders-small {
|
||||
.background-ximage('@{app-image-path}/right-panels/SmallBorders.png', '@{app-image-path}/right-panels/SmallBorders@2x.png', 84px);
|
||||
}
|
||||
|
||||
.options-btn-icon(btn-position-all, 0, 21px);
|
||||
.options-btn-icon(btn-position-inner, 1, 21px);
|
||||
.options-btn-icon(btn-position-bottom, 2, 21px);
|
||||
.options-btn-icon(btn-position-inner-hor, 3, 21px);
|
||||
.options-btn-icon(btn-position-top, 4, 21px);
|
||||
.options-btn-icon(btn-position-none, 5, 21px);
|
||||
.options-btn-icon(btn-position-outer, 6, 21px);
|
||||
.options-btn-icon(btn-position-left, 7, 21px);
|
||||
.options-btn-icon(btn-position-inner-vert, 8, 21px);
|
||||
.options-btn-icon(btn-position-right, 9, 21px);
|
||||
|
||||
.btn-edit-table,
|
||||
.btn-change-shape {
|
||||
.background-ximage('@{app-image-path}/right-panels/rowscols_icon.png', '@{app-image-path}/right-panels/rowscols_icon@2x.png', 84px);
|
||||
margin-right: 2px !important;
|
||||
margin-bottom: 1px !important;
|
||||
}
|
||||
|
||||
.btn-edit-table {background-position: 0 0;}
|
||||
button.over .btn-edit-table {background-position: -28px 0;}
|
||||
.btn-group.open .btn-edit-table,
|
||||
button.active .btn-edit-table,
|
||||
button:active .btn-edit-table {background-position: -56px 0;}
|
||||
|
||||
.btn-change-shape {background-position: 0 -16px;}
|
||||
button.over .btn-change-shape {background-position: -28px -16px;}
|
||||
.btn-group.open .btn-change-shape,
|
||||
button.active .btn-change-shape,
|
||||
button:active .btn-change-shape {background-position: -56px -16px;}
|
||||
|
||||
.combo-pattern-item {
|
||||
.background-ximage('@{app-image-path}/right-panels/patterns.png', '@{app-image-path}/right-panels/patterns@2x.png', 112px);
|
||||
}
|
||||
|
||||
.combo-dataview-menu {
|
||||
.form-control {
|
||||
cursor: pointer;
|
||||
background-color: white;
|
||||
|
||||
&.text {
|
||||
background: white;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.item-gradient {
|
||||
.background-ximage('@{app-image-path}/right-panels/gradients.png', '@{app-image-path}/right-panels/gradients@2x.png', 150px);
|
||||
width:50px;
|
||||
height:50px;
|
||||
}
|
||||
|
||||
.item-gradient-separator {
|
||||
margin-right: 62px !important;
|
||||
}
|
||||
|
||||
.gradient-left-top {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
.gradient-top {
|
||||
background-position: -50px 0;
|
||||
}
|
||||
|
||||
.gradient-right-top {
|
||||
background-position: -100px 0;
|
||||
}
|
||||
|
||||
.gradient-left {
|
||||
background-position: 0 -50px;
|
||||
}
|
||||
|
||||
.gradient-right {
|
||||
background-position: -100px -50px;
|
||||
}
|
||||
|
||||
.gradient-left-bottom {
|
||||
background-position: 0 -100px;
|
||||
}
|
||||
|
||||
.gradient-bottom {
|
||||
background-position: -50px -100px;
|
||||
}
|
||||
|
||||
.gradient-right-bottom {
|
||||
background-position: -100px -100px;
|
||||
}
|
||||
|
||||
.gradient-radial-center {
|
||||
background-position: -100px -150px;
|
||||
}
|
||||
Reference in New Issue
Block a user